Yang Jun
d165f43492
feat: improve return types for render methods
...
- Change render methods from returning any to string
- Change internal generator methods from any to unknown
- Change evalValue methods from any to unknown
- Add suppressImplicitAnyIndexErrors to rollup config
This improves TypeScript support for users who depend on render method return types.
Fixes #832
2026-01-11 18:37:32 +08:00
Yang Jun
b9d02811a9
chore: update to Node.js LTS
2026-01-11 18:20:46 +08:00
Omri Rosner and GitHub
86fc135d9e
feat(filters): Add base64_encode and base64_decode filters for Shopify compatibility ( #828 )
...
* feat(filters): add base64 encode and decode
* fix: use Object.defineProperty for cross-platform btoa/atob mocking
* docs(filters): update docs
* docs(filters): update version
2025-10-27 22:40:31 +08:00
Yang Jun
ce84cd6f43
fix: ESM bundle for Node.js, #739
2024-08-28 00:31:59 +08:00
Yang Jun
4548c11406
fix: support for NodeJS 15, fixes #732
2024-08-16 23:40:48 +08:00
Jun Yang and GitHub
c6a6ef1a1f
chore: check node@14 on pipeline, #728 ( #731 )
2024-08-16 00:55:14 +08:00
fupeng1 and Jun Yang
3632623456
chore: adjust typings dir
2024-01-14 20:55:59 +08:00
Harttle and Jun Yang
c6cde9cd10
chore: migrate test cases from Chai to Jest
2023-03-20 00:41:06 +08:00
Jun Yang
92992689cd
refactor: Tag class support in registerTag()
2022-11-27 14:04:01 +08:00
Jun Yang
1f6ce7c822
perf: target Node.js 14 for cjs bundle (main entry)
...
BREAKING CHANGE: main entry need Node.js>=14 to run, you can build LiquidJS by your own by using ESM entry.
2022-11-27 14:04:01 +08:00
Jun Yang
bb58d3e549
refactor: delay creation of operatorsTrie and hide this implementation
...
BREAKING CHANGE: use `operators` instead of `operatorsTrie` as Tokenizer constructor argument, #500
2022-11-27 14:04:01 +08:00
Harttle and Harttle
905a6dd149
fix: target ES6 for ESM bundles, fixes #526
2022-08-15 02:34:23 +08:00