semantic-release-bot
090c88eb92
chore(release): 9.17.0 [skip ci]
...
# [9.17.0](https://github.com/harttle/liquidjs/compare/v9.16.1...v9.17.0 ) (2020-12-07)
### Bug Fixes
* elsif is not supported for unless, fixes [#268 ](https://github.com/harttle/liquidjs/issues/268 ) ([2bbf501 ](https://github.com/harttle/liquidjs/commit/2bbf501 ))
* enforce string-type pattern in `replace`, fixes [#243 ](https://github.com/harttle/liquidjs/issues/243 ) ([c8afa39 ](https://github.com/harttle/liquidjs/commit/c8afa39 ))
* raw block not ignoring {% characters, fixes [#263 ](https://github.com/harttle/liquidjs/issues/263 ) ([a492d8e ](https://github.com/harttle/liquidjs/commit/a492d8e ))
### Features
* passing liquid to FilterImpl, closes [#277 ](https://github.com/harttle/liquidjs/issues/277 ) ([f9f595f ](https://github.com/harttle/liquidjs/commit/f9f595f ))
v9.17.0
2020-12-07 16:34:49 +00:00
harttle
e15803fae4
test: fix e2e test
2020-12-08 00:30:32 +08:00
harttle
117673a725
style: make eslint check .ts files
2020-12-08 00:24:07 +08:00
harttle
ef43120d6e
test: fix test cases after rebase
2020-12-08 00:20:43 +08:00
harttle
f9f595f0f4
feat: passing liquid to FilterImpl, closes #277
2020-12-08 00:17:27 +08:00
harttle
2bbf50171b
fix: elsif is not supported for unless, fixes #268
2020-12-08 00:16:36 +08:00
harttle
a492d8e23d
fix: raw block not ignoring {% characters, fixes #263
2020-12-08 00:12:20 +08:00
harttle
c8afa39a01
fix: enforce string-type pattern in replace, fixes #243
2020-12-08 00:08:31 +08:00
sschuldenzucker and Jun 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
sschuldenzucker and Jun Yang
ca18a579a1
Expression: minor type change & simplification
...
pre-fetching postfix simplifies code for 'lenient'
2020-12-06 22:58:08 +08:00
sschuldenzucker and Jun Yang
6f2b24f7ca
implement lenientIf for the unless tag, too
2020-12-06 22:58:08 +08:00
sschuldenzucker and Jun Yang
87d7dd0d37
docs for the lenientIf option
2020-12-06 22:58:08 +08:00
sschuldenzucker and Jun Yang
768fb79e32
Implement lenientIf option ( resolve #265 ; default off)
...
See description of the option in liquid-options.ts.
2020-12-06 22:58:08 +08:00
sschuldenzucker and Jun Yang
c920ebb282
fix test: don't pass {} for Context
2020-12-06 22:58:08 +08:00
Jun Yang and GitHub
9706e8b411
docs: add a security policy, see #254
2020-11-29 20:59:00 +08:00
dependabot[bot] and Jun Yang
75698eefec
chore(deps): bump highlight.js from 9.18.1 to 9.18.5 in /docs
...
Bumps [highlight.js](https://github.com/highlightjs/highlight.js ) from 9.18.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases )
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md )
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...9.18.5 )
Signed-off-by: dependabot[bot] <[email protected] >
2020-11-25 21:56:22 +08:00
dependabot[bot] and Jun Yang
dfd358c0a2
chore(deps): bump highlight.js from 9.15.9 to 9.18.5
...
Bumps [highlight.js](https://github.com/highlightjs/highlight.js ) from 9.15.9 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases )
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md )
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.15.9...9.18.5 )
Signed-off-by: dependabot[bot] <[email protected] >
2020-11-25 21:55:58 +08:00
dependabot[bot] and Jun Yang
4c70946fa1
chore(deps-dev): bump semantic-release from 15.13.19 to 17.2.3
...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release ) from 15.13.19 to 17.2.3.
- [Release notes](https://github.com/semantic-release/semantic-release/releases )
- [Commits](https://github.com/semantic-release/semantic-release/compare/v15.13.19...v17.2.3 )
Signed-off-by: dependabot[bot] <[email protected] >
2020-11-20 22:11:04 +08:00
Jun Yang and GitHub
9d9c0c1ca7
docs: update the UMD url and jsFiddle demo, see #264
2020-11-08 12:18:37 +08:00
semantic-release-bot
a9d3a5a402
chore(release): 9.16.1 [skip ci]
...
## [9.16.1](https://github.com/harttle/liquidjs/compare/v9.16.0...v9.16.1 ) (2020-10-09)
### Bug Fixes
* braced property access ([18a807e ](https://github.com/harttle/liquidjs/commit/18a807e ))
v9.16.1
2020-10-09 13:22:06 +00:00
wyozi and Jun Yang
30dffb675e
Test for broken quoted property access
2020-10-09 21:18:40 +08:00
wyozi and Jun Yang
e67c3c6924
Make end brace peek stricter and fix the test
2020-10-09 21:18:40 +08:00
wyozi and Jun Yang
e2e410f334
Add incomplete quoted property access test
2020-10-09 21:18:40 +08:00
wyozi and Jun Yang
27ce44238e
Test getVariableAsText
2020-10-09 21:18:40 +08:00
wyozi and Jun Yang
abfaf8a042
Test quoted property access tokenizing
2020-10-09 21:18:40 +08:00
wyozi and Jun Yang
18a807ea2e
fix: braced property access
2020-10-09 21:18:40 +08:00
harttle
a6126c3bea
docs: add amit777 as contributor for code
2020-10-08 16:57:59 +08:00
harttle
a96d772963
docs: format
2020-10-08 14:40:58 +08:00
semantic-release-bot
732ef2605e
chore(release): 9.16.0 [skip ci]
...
# [9.16.0](https://github.com/harttle/liquidjs/compare/v9.15.1...v9.16.0 ) (2020-10-08)
### Features
* support jsTruthy, [#255 ](https://github.com/harttle/liquidjs/issues/255 ) [#257 ](https://github.com/harttle/liquidjs/issues/257 ) ([72ee7b4 ](https://github.com/harttle/liquidjs/commit/72ee7b4 ))
v9.16.0
2020-10-08 05:15:00 +00:00
harttle
72ee7b4c1e
feat: support jsTruthy, #255 #257
2020-10-08 13:11:02 +08:00
Amit Gupta and Jun Yang
f807383f2a
resolved issues raised by hhartle
2020-10-08 12:43:37 +08:00
Amit Gupta and Jun Yang
02bfed1c57
Added jsTruthy flag to constuctor in order to enable JS style truthiness evaluation
2020-10-08 12:43:37 +08:00
harttle
b11df79b91
test: make it pass regardless timezone, #257
2020-10-08 09:38:10 +08:00
semantic-release-bot
8ee9bd7ba8
chore(release): 9.15.1 [skip ci]
...
## [9.15.1](https://github.com/harttle/liquidjs/compare/v9.15.0...v9.15.1 ) (2020-10-03)
### Bug Fixes
* allow quoted variable name in capture, fixes [#252 ](https://github.com/harttle/liquidjs/issues/252 ) ([5b3f419 ](https://github.com/harttle/liquidjs/commit/5b3f419 ))
v9.15.1
2020-10-03 14:06:41 +00:00
harttle
5b3f4195f0
fix: allow quoted variable name in capture, fixes #252
2020-10-03 22:03:17 +08:00
dependabot[bot] and Jun Yang
236d971705
chore(deps): bump node-fetch from 2.6.0 to 2.6.1
...
Bumps [node-fetch](https://github.com/bitinn/node-fetch ) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases )
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1 )
Signed-off-by: dependabot[bot] <[email protected] >
2020-10-03 20:36:06 +08:00
Jun Yang and GitHub
0cd4d87d46
docs: update the demo on index page, fixes #247
2020-09-11 22:30:21 +08:00
harttle
1fdfd4a68a
docs: show social share on small screens
2020-08-12 20:37:07 +08:00
dependabot[bot] and Jun Yang
c1f73a9f03
chore(deps): bump prismjs from 1.19.0 to 1.21.0 in /docs
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.19.0 to 1.21.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.19.0...v1.21.0 )
Signed-off-by: dependabot[bot] <[email protected] >
2020-08-08 22:14:03 +08:00
semantic-release-bot
d8f550e447
chore(release): 9.15.0 [skip ci]
...
# [9.15.0](https://github.com/harttle/liquidjs/compare/v9.14.1...v9.15.0 ) (2020-08-04)
### Features
* export toPromise and toValue, see [#158 ](https://github.com/harttle/liquidjs/issues/158 ) ([2e5ab98 ](https://github.com/harttle/liquidjs/commit/2e5ab98 ))
v9.15.0
2020-08-04 16:58:57 +00:00
harttle
2e5ab98bfc
feat: export toPromise and toValue, see #158
2020-08-05 00:46:01 +08:00
harttle
0dbb7792d7
docs: fix button style
2020-08-01 22:00:12 +08:00
dependabot[bot] and Jun Yang
e10ce657dd
chore(deps): bump elliptic from 6.5.0 to 6.5.3
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.0 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.0...v6.5.3 )
Signed-off-by: dependabot[bot] <[email protected] >
2020-07-30 22:42:19 +08:00
harttle
3713fa08b2
docs: credit Peter deHaan as contributor
2020-07-25 23:31:48 +08:00
harttle
c5002d8cad
docs: location.hash for source code
2020-07-25 01:23:47 +08:00
dependabot[bot] and Jun Yang
00b0a5708c
chore(deps): bump lodash from 4.17.15 to 4.17.19 in /docs
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <[email protected] >
2020-07-20 21:14:42 +08:00
semantic-release-bot
f82ee8a18c
chore(release): 9.14.1 [skip ci]
...
## [9.14.1](https://github.com/harttle/liquidjs/compare/v9.14.0...v9.14.1 ) (2020-07-08)
### Bug Fixes
* enumerate Promises (e.g. in for & tablerow) ([#237 ](https://github.com/harttle/liquidjs/issues/237 )) ([941dd66 ](https://github.com/harttle/liquidjs/commit/941dd66 ))
v9.14.1
2020-07-08 17:40:43 +00:00
dependabot[bot] and Jun Yang
632bb6b077
chore(deps): bump npm from 6.13.4 to 6.14.6
...
Bumps [npm](https://github.com/npm/cli ) from 6.13.4 to 6.14.6.
- [Release notes](https://github.com/npm/cli/releases )
- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md )
- [Commits](https://github.com/npm/cli/compare/v6.13.4...v6.14.6 )
Signed-off-by: dependabot[bot] <[email protected] >
2020-07-09 01:36:21 +08:00
0b6ee9bca1
docs: add tejasmanohar as a contributor ( #238 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-06-28 09:57:45 +08:00
Tejas Manohar and GitHub
941dd668fe
fix: enumerate Promises (e.g. in for & tablerow) ( #237 )
...
* fix: enumerate Promise<array> (e.g. in {% for ... %})
Previously, a Promise of an array was not being enumerated in
{% for %}, for example. This is misleading since the library
handles promises elsewhere (e.g. if you {% assign x = promiseArray %}
and then {% for v in x %}, it worked just fine.
This PR makes Promises of arrays handled by changing toEnumerable
to handle then-ables. This affects other iterators, too, e.g. tablerow,
so I put in a test for that as well.
2020-06-28 09:55:56 +08:00