mirror of
https://github.com/harttle/liquidjs.git
synced 2026-10-03 00:55:13 -07:00
# [10.30.0](https://github.com/harttle/liquidjs/compare/v10.29.0...v10.30.0) (2026-10-01) ### Bug Fixes * **base64_encode:** encode large input in browser builds ([#969](https://github.com/harttle/liquidjs/issues/969)) ([8aace78](https://github.com/harttle/liquidjs/commit/8aace78beb4c6b67ec1cc10cf519c82d5ffa6f3f)), closes [#967](https://github.com/harttle/liquidjs/issues/967) * **date:** compute %C and %y from the numeric year ([#961](https://github.com/harttle/liquidjs/issues/961)) ([e68514f](https://github.com/harttle/liquidjs/commit/e68514f0667c958b578d580d11482ae881d7b803)) * **date:** compute %U and %W week numbers like strftime ([#958](https://github.com/harttle/liquidjs/issues/958)) ([0587ca8](https://github.com/harttle/liquidjs/commit/0587ca803fe8ce7c8cbf2769e8904ffbc67a0e58)) * trim custom characters by Unicode code point ([#955](https://github.com/harttle/liquidjs/issues/955)) ([3fe244f](https://github.com/harttle/liquidjs/commit/3fe244f0610af74305d1c5b928ccf0fceed0b027)) * **truncatewords:** ignore leading whitespace when counting words ([#954](https://github.com/harttle/liquidjs/issues/954)) ([65e200e](https://github.com/harttle/liquidjs/commit/65e200e22debb080073ea8adb17829789df72b4b)) * **url_decode:** keep %2B as a literal plus when decoding ([#939](https://github.com/harttle/liquidjs/issues/939)) ([9af92f5](https://github.com/harttle/liquidjs/commit/9af92f5d8cb318fd16739fb0afd1997356f4da83)) ### Features * await promises returned by Drop.valueOf() ([#948](https://github.com/harttle/liquidjs/issues/948)) ([#953](https://github.com/harttle/liquidjs/issues/953)) ([#959](https://github.com/harttle/liquidjs/issues/959)) ([7dfa76b](https://github.com/harttle/liquidjs/commit/7dfa76b7b2559f46b71e993e002e3f434ca30814))
172 lines
5.3 KiB
JSON
172 lines
5.3 KiB
JSON
{
|
|
"name": "liquidjs",
|
|
"version": "10.30.0",
|
|
"sideEffects": false,
|
|
"description": "A simple, expressive, extensible Liquid template engine for JavaScript — Shopify, Jekyll and GitHub Pages compatible, for Node.js, browsers, and the CLI, with TypeScript support.",
|
|
"main": "dist/liquid.node.js",
|
|
"module": "dist/liquid.node.mjs",
|
|
"es2015": "dist/liquid.browser.mjs",
|
|
"browser": {
|
|
"./dist/liquid.node.js": "./dist/liquid.browser.umd.js",
|
|
"./dist/liquid.node.mjs": "./dist/liquid.browser.mjs"
|
|
},
|
|
"types": "dist/index.d.ts",
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint \"**/*.mjs\" \"**/*.ts\" .",
|
|
"check": "npm run build && npm run build:docs && npm test && npm run lint && npm run perf:diff",
|
|
"test": "jest",
|
|
"test:coverage": "jest --coverage src test/integration",
|
|
"test:e2e": "jest test/e2e",
|
|
"test:demo": "./test/demo/test.sh",
|
|
"perf:diff": "node bin/perf-diff.js",
|
|
"perf:engines": "cd benchmark && npm run engines",
|
|
"version": "npm run build && npm test",
|
|
"build": "rollup -c rollup.config.mjs",
|
|
"build:cjs": "BUNDLES=cjs rollup -c rollup.config.mjs",
|
|
"build:min": "BUNDLES=min rollup -c rollup.config.mjs",
|
|
"build:umd": "BUNDLES=umd rollup -c rollup.config.mjs",
|
|
"build:charmap": "./bin/character-gen.js > src/util/character.ts",
|
|
"prepare:docs": "run-s build:docs-liquid build:contributors build:apidoc build:changelog",
|
|
"build:docs": "run-s prepare:docs build:docs-hexo",
|
|
"build:docs-liquid": "cross-env BUNDLES=min rollup -c rollup.config.mjs && shx cp dist/liquid.browser.min.js docs/themes/navy/source/js/",
|
|
"build:contributors": "node bin/build-contributors.js",
|
|
"build:apidoc": "shx rm -rf docs/source/api && typedoc --plugin typedoc-plugin-missing-exports ./src --gitRevision master --out docs/source/api",
|
|
"build:changelog": "node bin/build-changelog.js",
|
|
"build:docs-hexo": "cd docs && npm ci && npm run build && shx cp CNAME .nojekyll public/",
|
|
"serve:docs": "cd docs && npm run start",
|
|
"dev:docs": "run-s prepare:docs serve:docs"
|
|
},
|
|
"bin": {
|
|
"liquidjs": "./bin/liquid.js",
|
|
"liquid": "./bin/liquid.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/harttle/liquidjs.git"
|
|
},
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/liquidjs"
|
|
},
|
|
"files": [
|
|
"bin/liquid.js",
|
|
"dist",
|
|
"LICENSE",
|
|
"README.md"
|
|
],
|
|
"keywords": [
|
|
"liquid",
|
|
"template engine",
|
|
"express",
|
|
"jinja",
|
|
"shopify"
|
|
],
|
|
"author": "Harttle",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/harttle/liquidjs/issues"
|
|
},
|
|
"homepage": "https://github.com/harttle/liquidjs#readme",
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^12.1.4",
|
|
"@commitlint/config-conventional": "^8.2.0",
|
|
"@semantic-release/changelog": "^6.0.2",
|
|
"@semantic-release/commit-analyzer": "^9.0.2",
|
|
"@semantic-release/git": "^10.0.1",
|
|
"@semantic-release/npm": "^13.1.5",
|
|
"@semantic-release/release-notes-generator": "^10.0.3",
|
|
"@types/benchmark": "^1.0.31",
|
|
"@types/express": "^4.17.2",
|
|
"@types/jest": "^29.4.0",
|
|
"@types/jsdom": "^12.2.2",
|
|
"@types/node": "^22.3.0",
|
|
"@types/sinon": "^10.0.13",
|
|
"@types/supertest": "^2.0.7",
|
|
"@typescript-eslint/eslint-plugin": "^5.6.0",
|
|
"@typescript-eslint/parser": "^5.6.0",
|
|
"all-contributors-cli": "^6.24.0",
|
|
"benchmark": "^2.1.4",
|
|
"coveralls": "^3.0.2",
|
|
"cross-env": "^5.2.0",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-standard": "^12.0.0",
|
|
"eslint-plugin-deprecation": "^1.3.2",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"eslint-plugin-mocha": "^5.3.0",
|
|
"eslint-plugin-node": "^8.0.1",
|
|
"eslint-plugin-promise": "^4.0.1",
|
|
"eslint-plugin-standard": "^4.0.0",
|
|
"express": "^4.16.4",
|
|
"jest": "^29.5.0",
|
|
"jsdom": "^16.5.0",
|
|
"npm-run-all2": "^8.0.4",
|
|
"rollup": "^1.26.3",
|
|
"rollup-plugin-replace": "^2.1.0",
|
|
"rollup-plugin-typescript2": "^0.31.1",
|
|
"rollup-plugin-uglify": "^6.0.4",
|
|
"rollup-plugin-version-injector": "^1.3.3",
|
|
"semantic-release": "^25.0.3",
|
|
"shx": "^0.4.0",
|
|
"sinon": "^15.0.2",
|
|
"supertest": "^3.4.2",
|
|
"ts-jest": "^29.0.5",
|
|
"tslib": "^2.3.1",
|
|
"typedoc": "^0.26.5",
|
|
"typedoc-plugin-missing-exports": "^3.0.0",
|
|
"typescript": "^4.5.3"
|
|
},
|
|
"dependencies": {
|
|
"commander": "^10.0.0"
|
|
},
|
|
"release": {
|
|
"branch": "master",
|
|
"plugins": [
|
|
"@semantic-release/commit-analyzer",
|
|
"@semantic-release/release-notes-generator",
|
|
"@semantic-release/changelog",
|
|
"@semantic-release/npm",
|
|
[
|
|
"@semantic-release/git",
|
|
{
|
|
"assets": [
|
|
"package.json",
|
|
"package-lock.json",
|
|
"CHANGELOG.md"
|
|
],
|
|
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/github",
|
|
{
|
|
"assets": [
|
|
{
|
|
"path": "dist/*.umd.js",
|
|
"label": "liquid.js"
|
|
},
|
|
{
|
|
"path": "dist/*.min.js",
|
|
"label": "liquid.min.js"
|
|
},
|
|
{
|
|
"path": "dist/*.min.js.map",
|
|
"label": "liquid.min.js.map"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"publishConfig": {
|
|
"provenance": true
|
|
},
|
|
"nyc": {
|
|
"extension": [
|
|
".ts"
|
|
]
|
|
}
|
|
}
|