Harttle
|
4289b4e804
|
refactor: rename toValue to toValueSync
|
2022-07-10 00:24:00 +08:00 |
|
Harttle
|
c3e51caa70
|
fix: for tag not respecting Drop#valueOf(), fixes #515
|
2022-07-09 22:21:51 +08:00 |
|
 James PriorandJun Yang
|
a19feea7c4
|
feat: iteration protocols
|
2022-07-09 18:21:54 +08:00 |
|
Harttle
|
3dc4290b56
|
fix: stack overflow on large number of templates, #513
|
2022-07-08 01:46:51 +08:00 |
|
Harttle
|
f88490cd3c
|
feat: automatic output escaping, closes #500
|
2022-04-22 02:19:36 +08:00 |
|
Harttle
|
c503cb23df
|
feat: allow strip filter with specified char, closes #390
|
2022-03-06 00:20:51 +08:00 |
|
Harttle
|
7dfb620d30
|
fix: some filters throw on nil input, see #481
|
2022-02-27 02:07:59 +08:00 |
|
Harttle
|
ab5e245fba
|
fix: array output now join with "" instead of ","
|
2022-02-20 13:03:40 +08:00 |
|
 HarttleandHarttle
|
95fc705b5d
|
chore: upgrade typescript
|
2021-12-11 20:23:09 +08:00 |
|
 HarttleandHarttle
|
69286c6909
|
test: coverage to 100%
|
2021-12-07 23:34:53 +08:00 |
|
 HarttleandHarttle
|
e2ef236f68
|
fix: throws when using preserveTimezones on Node.js, fixes #431
|
2021-12-07 22:43:47 +08:00 |
|
 Harttleandharttle
|
b5b2a98d5e
|
chore: fix types
|
2021-10-16 22:36:46 +08:00 |
|
 Harttleandharttle
|
8894cbfe6e
|
fix: cache ongoing parseFile() calls, fixes #416
|
2021-10-16 21:07:48 +08:00 |
|
 Harttleandharttle
|
9cfa43b8ae
|
fix: hardcoded '/' in normalized options.fs, fixes #412, #408
Changes including:
- will not call fs.resolve when normalizing `fs`
- removed hardcoded `/`
- mandatory `fs.dirname` for relative reference
- mandatory `fs.sep`, defaults to '/'
|
2021-10-16 12:10:55 +08:00 |
|
Harttle
|
fd5ef474c3
|
fix: support timezoneOffset for date from scope, #401
|
2021-10-06 15:45:41 +08:00 |
|
harttle
|
8273c17dab
|
perf: parse filenames in parse() insteadof render()
|
2021-09-30 22:15:09 +08:00 |
|
 Harttleandharttle
|
6b9f872bcc
|
feat: timezoneOffset option to specify output timezone, see #375
|
2021-09-27 01:54:31 +08:00 |
|
Jun Yang
|
3e3d84a5ed
|
fix: operator boundary not correctly recognized, fixes #342
|
2021-05-04 18:13:02 +08:00 |
|
 Laurin QuastandJun Yang
|
1fd76acf28
|
fix: make LiquidError context property public
|
2021-05-01 20:00:02 +08:00 |
|
 Laurin QuastandJun Yang
|
9c7cb5752b
|
feat: add context as a property on the LiquidError error
|
2021-05-01 19:07:40 +08:00 |
|
 Laurin QuastandJun Yang
|
4e394b9072
|
feat: export errors for better error handling in user-land
|
2021-05-01 19:06:33 +08:00 |
|
Jun Yang
|
99d14e76d7
|
fix: comparison for empty/nil, fixes #321
|
2021-03-13 17:14:08 +08:00 |
|
harttle
|
2e66e8b02e
|
fix: lenientIf not working for the umd bundle, closes #313
|
2021-02-19 23:10:15 +08:00 |
|
 Jason EtcovitchandJun Yang
|
befc33c4eb
|
feat: create trie programmatically in options
|
2021-02-04 09:11:28 +08:00 |
|
 JoonasandJun Yang
|
de32259bb9
|
fix: lint
|
2020-12-18 22:03:58 +08:00 |
|
 JoonasandJun Yang
|
26b217542b
|
fix: move offset adding complexity inside TimezoneDate
|
2020-12-18 22:03:58 +08:00 |
|
 JoonasandJun Yang
|
e3ecfe3adc
|
fix: simpler timezone regex and non-null offset
|
2020-12-18 22:03:58 +08:00 |
|
 wyoziandJun Yang
|
c16c787861
|
feat: parse and handle date timezone offsets
|
2020-12-18 22:03:58 +08:00 |
|
harttle
|
a492d8e23d
|
fix: raw block not ignoring {% characters, fixes #263
|
2020-12-08 00:12:20 +08:00 |
|
 sschuldenzuckerandJun Yang
|
d8f9091a12
|
add and use error classes for undefined variables
cleans up funky message-matching code in expression.ts for lenient.
|
2020-12-06 22:58:08 +08:00 |
|
harttle
|
2e5ab98bfc
|
feat: export toPromise and toValue, see #158
|
2020-08-05 00:46:01 +08:00 |
|
harttle
|
673b015435
|
fix: properly treat unicode blanks, fixes #221
|
2020-04-28 20:55:30 +08:00 |
|
harttle
|
c923598b40
|
fix: coerce to Array in map and where filter
|
2020-04-01 02:22:44 +08:00 |
|
harttle
|
479c63350a
|
fix: throws on invalid arguments for prepend/append, fixes #208
|
2020-03-24 23:57:26 +08:00 |
|
harttle
|
1673e84e27
|
perf: remove instanceof DelimitedToken
|
2020-03-15 02:51:25 +08:00 |
|
harttle
|
d2d6a38235
|
perf: introduce AST to avoid reparse
|
2020-03-15 02:51:25 +08:00 |
|
harttle
|
f57156bccd
|
fix: stable sort for undefined keys, fixes #191
|
2020-03-05 02:04:58 +08:00 |
|
harttle
|
6ea6881f08
|
feat: with & for in render tag, closes #195
|
2020-03-04 07:08:54 +08:00 |
|
harttle
|
df8a919f71
|
feat: move filters/tags to instances, fixes #188
|
2020-03-03 00:02:29 +08:00 |
|
harttle
|
ba5ff3f41c
|
feat: full syntax for strftime, close #177
- strftime syntax: <flags><width><modifier><conversion>
- new conversions: %n, %t
- fixed conversions: %N
- flags: _ ^ - 0 # :
- modifiers: E, O (ignored)
|
2019-12-15 02:28:33 +00:00 |
|
Jun Yang
|
d5e7b047bb
|
feat: Support for the "render" tag #163
|
2019-10-27 00:06:16 +08:00 |
|
harttle
|
b82fa9ed2b
|
pref: remove await/async from internal async calls
|
2019-10-26 08:57:33 -05:00 |
|
harttle
|
0426d08fd0
|
style: fix linting
|
2019-08-26 10:15:43 -05:00 |
|
harttle
|
7fb01ad69a
|
feat: renderSync, parseAndRenderSync and renderFileSync, see #48
|
2019-08-26 10:15:43 -05:00 |
|
harttle
|
ae45c4622e
|
fix: break/continue omitting output before them, #123
BREAKING CHANGE: remove default export, now should be used like import
{Liquid} from 'liquidjs'
|
2019-08-26 10:15:43 -05:00 |
|
harttle
|
6e6ea0ae58
|
fix: some filters on undefined variable throws, #140
|
2019-07-22 16:48:48 +08:00 |
|
harttle
|
88c89fe3b3
|
style: introduce @typescript-eslint/recommended
|
2019-07-06 14:33:34 +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
|
82d7673554
|
perf: use polymophism instead duck test
|
2019-03-25 20:11:23 +08:00 |
|