harttle
34d5af25a4
chore: trying to fix TS4053
2019-07-06 14:49:39 +08:00
harttle
88c89fe3b3
style: introduce @typescript-eslint/recommended
2019-07-06 14:33:34 +08:00
harttle
e6f5f1cd85
feat: at_least, at_most, sort_naturual for #132
2019-07-05 12:09:00 +08:00
Jun Yang
3f5e23c42b
feat: fs option implemented by #138
2019-06-27 09:42:29 +08:00
Jun Yang
96c061bee0
style: remove semi
2019-06-27 09:32:51 +08:00
harttle
2ae8c37a4f
chore: add @semantic-release/github for notify
2019-06-17 17:24:07 +08:00
Jun Yang
b14430a161
style: test/integration/builtin/filters/array.ts
2019-05-19 14:05:28 +08:00
Jun Yang
505c408a85
fix: reverse filter not pure, see #126
2019-05-19 13:58:11 +08:00
Jun Yang
224679a7d7
chore: speedup unit test on windows
2019-05-19 13:00:51 +08:00
harttle
c940e6c997
chore: try to make unit test locale independent
2019-05-12 22:58:29 +08:00
harttle
d8ba009773
chore: fix building
2019-05-12 21:29:58 +08:00
harttle
fdf0043b9c
fix: date from integer, #125
2019-05-12 21:03:35 +08:00
harttle
bef290923c
fix: pass drops directly to filters/tags
2019-05-12 20:03:32 +08:00
harttle
6075c0a54f
fix: default filter is not working with an empty string, #122
2019-04-27 00:26:17 +08:00
harttle
6c5dc336e7
chore: fix linting, working on #120
2019-04-17 10:45:02 +08:00
harttle
00bc1efe6a
feat: pass context to filters
2019-04-17 10:24:55 +08:00
harttle
6fb4796202
chore: set outDir to dist, see #119
2019-04-16 11:23:29 +08:00
harttle
7762dd9612
chore: fix linting
2019-04-02 12:10:35 +08:00
harttle
eadb6f3711
fix: slice filter on negative begin, #117
2019-04-01 10:57:08 +08:00
harttle
82d7673554
perf: use polymophism instead duck test
2019-03-25 20:11:23 +08:00
harttle
64dd057552
refactor: Context#propertyAccessSeq => parseProp
2019-03-25 10:36:23 +08:00
harttle
45e3c2bb8e
refactor: switch Context <-> Scope concepts
2019-03-25 10:36:23 +08:00
harttle
defbb58e66
fix: incorrect scope when using assign with for, fixes #115
...
* remove AssignScope, CaptureScope, IncrementScope, DecrementScope concepts
* introduce Scope.environments for decrement/increment
* assign to scopes[0] for assign/capture
2019-03-22 20:38:54 +08:00
harttle
ad0930f152
test: cover parseFilters in template/value.ts
2019-03-06 01:46:35 +08:00
harttle
998832c772
refactor: mv custom filter test
2019-03-06 01:40:31 +08:00
harttle
5ffc904f80
fix: named params for filters, working on #113
2019-03-06 01:30:47 +08:00
harttle
b4acdb463a
fix: math filters now return number, resolves #110
...
* fix linting
* numbers are no longer fixed:
i.e. {{0.3 | minus 0.1}} now renders as 0.19999
Stick to JavaScript number behavior, see: 8.0.0
2019-02-28 13:02:51 +08:00
harttle
21d674e22b
chore: fix benchmark npm script
2019-02-28 00:05:37 +08:00
harttle
7bee9fc92d
feat: exported Drop interface for #107
...
Deprecate snake_cased options and APIs, sed #109
2019-02-28 00:05:08 +08:00
harttle
b69c3a3203
refactor: IDrop interface => abstract method
2019-02-28 00:05:08 +08:00
harttle
d5b9916b2f
refactor: Drop.prototype.value => valueOf
2019-02-28 00:05:08 +08:00
harttle
31bc71d472
chore: fix linting
2019-02-26 00:56:12 +08:00
harttle
53a835ab54
fix( #108 ): remove absolute path in emitted d.ts
2019-02-26 00:43:30 +08:00
harttle
75b3e15ca9
chore: fix rollup.config.ts types
2019-02-25 00:12:31 +08:00
harttle
f34573ee21
chore: stick with es6 for testing
2019-02-24 23:42:44 +08:00
harttle
875f71d5f2
chore: a simple liquid_method_missing case for #97
2019-02-24 23:08:53 +08:00
harttle
407ac6d0a4
refactor: remove /dist from repo
2019-02-24 23:03:12 +08:00
harttle
88c9e96392
feat: nil/null/empty/blank literals, resolves #102
2019-02-24 21:50:01 +08:00
harttle
542968e133
refactor: remove unused lexical regexps
2019-02-24 06:26:33 +08:00
harttle
3b7351d9a0
chore: fix linting
2019-02-24 05:03:59 +08:00
harttle
e977669118
fix: filters break when argument contains [()|, fixes #89
2019-02-24 04:48:42 +08:00
harttle
279458c670
test: add benchmark
2019-02-23 21:57:02 +08:00
harttle
3cf01603e8
chore: fix linting
2019-02-23 03:50:45 +08:00
harttle
56c7992b76
fix: default length for truncate and truncatewords
2019-02-23 03:11:07 +08:00
harttle
5b6100d12b
refactor: strictly typed
2019-02-23 00:49:54 +08:00
Jun Yang and GitHub
51f7e66f60
Update CHANGELOG.md
2019-02-21 01:19:25 +08:00
Jun Yang and GitHub
952ab6e73b
Update CHANGELOG.md
2019-02-21 01:16:32 +08:00
harttle
d20a043fbb
feat: override output/tag delimiter, fixes #54
2019-02-21 01:07:32 +08:00
harttle
3dbab238ae
BREAKING CHANGE: trim_value_* -> trim_output_*
2019-02-21 01:07:32 +08:00
harttle
c33d8f6828
feat: throw an Error if delimiter not matched
2019-02-20 22:40:09 +08:00
harttle
c13a16fdd6
7.0.2
2019-02-20 10:02:10 +08:00
harttle
4bd35de867
chore: use white list to publish npm
2019-02-20 10:01:09 +08:00
harttle
29f53304bc
7.0.1
2019-02-19 23:55:38 +08:00
harttle
cbebb00ef1
fix: unit test on Node.js 6
2019-02-19 23:25:08 +08:00
harttle
64a9eb79c5
style: fix unused vars in unit test
2019-02-19 23:01:59 +08:00
harttle
852c6ad453
refactor: remove mock-fs from dev dependency
2019-02-19 22:28:27 +08:00
harttle
f432aade6a
chore(TypeScript): remove mock-fs
2019-02-17 21:37:13 +08:00
harttle
aa49b4f117
chore(TypeScript): fix unit tests and coverage
2019-02-17 20:46:33 +08:00
harttle
fc9ebdb90f
chore(TypeScript): fix linting and generate .d.ts
2019-02-17 18:20:04 +08:00
harttle
7ee87008c7
chore(TypeScript): demo for typescript
2019-02-17 14:22:13 +08:00
harttle
677e8511e6
chore(TypeScript): refactor objects into classes
...
fix: `Nil`(null, undefined) now renders as empty string
change: `parser.parseValue()` renamed to `parser.parseOutput`
change: registered tags/filters become static and shared across different liquid instances
2019-02-17 04:55:30 +08:00
harttle
1cc7249a71
chore(TypeScript): ship Liquid to class
...
BREAKING CHANGE: calling `Liquid()` without `new` now becomes invalid
2019-02-14 23:53:40 +08:00
harttle
a626de632c
chore(CI): remove node_js 4
2019-02-14 23:15:29 +08:00
harttle
83a8e2d310
chore(CI): skip unit test on node_js 4
2019-02-14 23:11:13 +08:00
harttle
c37b330751
chore(typescript): ship to TypeScript
2019-02-14 22:33:45 +08:00
harttle
2015f683b8
fix: better index.d.ts and a demo
...
The demo is located at demo/typescript/index.ts , working on #98
2019-02-13 20:07:13 +08:00
harttle
81e6861b73
chore(Changelog): add semantic release plugins
2019-01-28 20:33:33 +08:00
harttle
9038d56ce7
chore(Changelog): add @semantic-release/changelog as dev dependency
2019-01-28 20:26:50 +08:00
harttle
bad72005fe
chore(CI): add @semantic-release/changelog plugin
...
working on #100
2019-01-28 20:21:16 +08:00
harttle
4dffb27e95
feat(Drop): liquid_method_missing and to_s
...
close #97
2019-01-28 19:53:04 +08:00
harttle
f38ea63c14
chore(CI): mv lint and covereage to test phase
2019-01-28 18:57:25 +08:00
harttle
57bdf17dea
chore(CI): downgrade rollup-plugin-babel
2019-01-28 18:46:41 +08:00
harttle
0040485188
chore(CI): skip_cleanup for node_modules
2019-01-28 18:22:20 +08:00
harttle
42d799055a
chore(CI): use nodejs_8 for linting
2019-01-28 18:11:25 +08:00
harttle
8a881ac69a
style: align to [email protected]
2019-01-28 18:06:47 +08:00
harttle
7a2e036c79
chore(package): update package-lock.json
2019-01-28 17:30:34 +08:00
harttle
a31e0c6275
chore(CI): test use build matrix
2019-01-28 17:27:00 +08:00
harttle
7df4d5d62c
chore(CI): adjust build matrix
2019-01-28 16:29:59 +08:00
harttle
22b7e55fc9
chore(CI): assign node_js for each script
2019-01-28 15:40:32 +08:00
harttle
0238cf2c44
fix(CI): scirpt for the first stage not defined
2019-01-28 15:26:40 +08:00
harttle
601f2e48fc
chore(CI): enable semantic release
2019-01-28 15:18:21 +08:00
harttle
8cb0137362
6.3.0
2019-01-21 15:25:11 +08:00
harttle
dee4303fad
feature: plugin API, working on #86
2019-01-21 15:24:13 +08:00
harttle
9ba352ef04
6.2.1
2019-01-21 14:54:07 +08:00
harttle
4793a83bd6
fix #101 : Slice filter does not work on arrays
2019-01-21 14:52:08 +08:00
harttle
af4fe1b330
6.2.0
2019-01-10 13:30:05 +08:00
harttle
5f5c62a51e
fix banner link
2019-01-10 13:29:39 +08:00
harttle
d65ea14b9f
6.1.0
2018-10-14 00:53:43 +08:00
harttle
6af631b77b
feature: url_decode, working on #94
2018-10-08 10:37:24 +08:00
harttle
5412c5a39f
fixes #88
2018-09-29 16:45:11 +08:00
harttle
b7445f26d6
6.0.0
2018-08-28 00:37:00 +08:00
harttle
3213c6d23a
fix: ci
2018-08-28 00:27:44 +08:00
harttle
829afc24a7
fix: ci
2018-08-28 00:17:26 +08:00
harttle
0049a56864
fix: ci
2018-08-28 00:05:50 +08:00
harttle
f8e0587542
fix: ci
2018-08-27 23:54:43 +08:00
harttle
c3c57a560b
fix: travis
2018-08-27 23:49:11 +08:00
harttle
5378f2709b
test: cover all
2018-08-27 23:27:42 +08:00
harttle
d6876bd9ec
refactor: bundle template.js respectively
2018-08-27 21:37:39 +08:00
harttle
31c39561c9
feature: get nyc, babel and coveralls working
2018-08-26 21:54:35 +08:00
harttle
d828c4021e
fix: unit test on node6.x
2018-08-21 01:21:30 +08:00