@nocobase/plugin-flow-engine 2.3.0-beta.15 → 2.3.0-beta.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/dist/externalVersion.js +9 -9
  2. package/dist/node_modules/@ant-design/icons-svg/package.json +1 -1
  3. package/dist/node_modules/acorn/package.json +1 -1
  4. package/dist/node_modules/acorn-jsx/package.json +1 -1
  5. package/dist/node_modules/acorn-walk/package.json +1 -1
  6. package/dist/node_modules/liquidjs/LICENSE +21 -0
  7. package/dist/node_modules/liquidjs/bin/liquid.js +139 -0
  8. package/dist/node_modules/liquidjs/dist/build/fs-impl-browser.d.ts +7 -0
  9. package/dist/node_modules/liquidjs/dist/build/fs-impl-browser.spec.d.ts +1 -0
  10. package/dist/node_modules/liquidjs/dist/build/streamed-emitter-browser.d.ts +10 -0
  11. package/dist/node_modules/liquidjs/dist/build/streamed-emitter-browser.spec.d.ts +1 -0
  12. package/dist/node_modules/liquidjs/dist/cache/cache.d.ts +7 -0
  13. package/dist/node_modules/liquidjs/dist/cache/index.d.ts +2 -0
  14. package/dist/node_modules/liquidjs/dist/cache/lru.d.ts +14 -0
  15. package/dist/node_modules/liquidjs/dist/cache/lru.spec.d.ts +1 -0
  16. package/dist/node_modules/liquidjs/dist/context/block-mode.d.ts +4 -0
  17. package/dist/node_modules/liquidjs/dist/context/context.d.ts +64 -0
  18. package/dist/node_modules/liquidjs/dist/context/context.spec.d.ts +1 -0
  19. package/dist/node_modules/liquidjs/dist/context/index.d.ts +3 -0
  20. package/dist/node_modules/liquidjs/dist/context/scope.d.ts +6 -0
  21. package/dist/node_modules/liquidjs/dist/drop/blank-drop.d.ts +5 -0
  22. package/dist/node_modules/liquidjs/dist/drop/block-drop.d.ts +11 -0
  23. package/dist/node_modules/liquidjs/dist/drop/comparable.d.ts +8 -0
  24. package/dist/node_modules/liquidjs/dist/drop/drop.d.ts +4 -0
  25. package/dist/node_modules/liquidjs/dist/drop/empty-drop.d.ts +11 -0
  26. package/dist/node_modules/liquidjs/dist/drop/forloop-drop.d.ts +15 -0
  27. package/dist/node_modules/liquidjs/dist/drop/index.d.ts +7 -0
  28. package/dist/node_modules/liquidjs/dist/drop/null-drop.d.ts +10 -0
  29. package/dist/node_modules/liquidjs/dist/drop/tablerowloop-drop.d.ts +10 -0
  30. package/dist/node_modules/liquidjs/dist/emitters/emitter.d.ts +11 -0
  31. package/dist/node_modules/liquidjs/dist/emitters/index.d.ts +4 -0
  32. package/dist/node_modules/liquidjs/dist/emitters/keeping-type-emitter.d.ts +5 -0
  33. package/dist/node_modules/liquidjs/dist/emitters/simple-emitter.d.ts +5 -0
  34. package/dist/node_modules/liquidjs/dist/emitters/streamed-emitter.d.ts +9 -0
  35. package/dist/node_modules/liquidjs/dist/filters/array.d.ts +32 -0
  36. package/dist/node_modules/liquidjs/dist/filters/date.d.ts +6 -0
  37. package/dist/node_modules/liquidjs/dist/filters/html.d.ts +6 -0
  38. package/dist/node_modules/liquidjs/dist/filters/index.d.ts +2 -0
  39. package/dist/node_modules/liquidjs/dist/filters/math.d.ts +11 -0
  40. package/dist/node_modules/liquidjs/dist/filters/misc.d.ts +18 -0
  41. package/dist/node_modules/liquidjs/dist/filters/string.d.ts +27 -0
  42. package/dist/node_modules/liquidjs/dist/filters/url.d.ts +14 -0
  43. package/dist/node_modules/liquidjs/dist/fs/fs-impl.d.ts +9 -0
  44. package/dist/node_modules/liquidjs/dist/fs/fs-impl.spec.d.ts +1 -0
  45. package/dist/node_modules/liquidjs/dist/fs/fs.d.ts +20 -0
  46. package/dist/node_modules/liquidjs/dist/fs/index.d.ts +2 -0
  47. package/dist/node_modules/liquidjs/dist/fs/loader.d.ts +24 -0
  48. package/dist/node_modules/liquidjs/dist/fs/loader.spec.d.ts +1 -0
  49. package/dist/node_modules/liquidjs/dist/fs/map-fs.d.ts +13 -0
  50. package/dist/node_modules/liquidjs/dist/fs/map-fs.spec.d.ts +1 -0
  51. package/dist/node_modules/liquidjs/dist/fs/node-require.d.ts +1 -0
  52. package/dist/node_modules/liquidjs/dist/index.d.ts +16 -0
  53. package/dist/node_modules/liquidjs/dist/liquid-options.d.ts +159 -0
  54. package/dist/node_modules/liquidjs/dist/liquid-options.spec.d.ts +1 -0
  55. package/dist/node_modules/liquidjs/dist/liquid.browser.min.js +2 -0
  56. package/dist/node_modules/liquidjs/dist/liquid.browser.umd.js +7265 -0
  57. package/dist/node_modules/liquidjs/dist/liquid.d.ts +70 -0
  58. package/dist/node_modules/liquidjs/dist/liquid.node.js +1 -0
  59. package/dist/node_modules/liquidjs/dist/parser/filter-arg.d.ts +5 -0
  60. package/dist/node_modules/liquidjs/dist/parser/index.d.ts +4 -0
  61. package/dist/node_modules/liquidjs/dist/parser/parse-stream.d.ts +15 -0
  62. package/dist/node_modules/liquidjs/dist/parser/parse-stream.spec.d.ts +1 -0
  63. package/dist/node_modules/liquidjs/dist/parser/parser.d.ts +20 -0
  64. package/dist/node_modules/liquidjs/dist/parser/parser.spec.d.ts +1 -0
  65. package/dist/node_modules/liquidjs/dist/parser/token-kind.d.ts +16 -0
  66. package/dist/node_modules/liquidjs/dist/parser/tokenizer.d.ts +63 -0
  67. package/dist/node_modules/liquidjs/dist/parser/tokenizer.spec.d.ts +1 -0
  68. package/dist/node_modules/liquidjs/dist/parser/whitespace-ctrl.d.ts +3 -0
  69. package/dist/node_modules/liquidjs/dist/render/boolean.d.ts +3 -0
  70. package/dist/node_modules/liquidjs/dist/render/boolean.spec.d.ts +1 -0
  71. package/dist/node_modules/liquidjs/dist/render/expression.d.ts +10 -0
  72. package/dist/node_modules/liquidjs/dist/render/expression.spec.d.ts +1 -0
  73. package/dist/node_modules/liquidjs/dist/render/index.d.ts +4 -0
  74. package/dist/node_modules/liquidjs/dist/render/operator.d.ts +8 -0
  75. package/dist/node_modules/liquidjs/dist/render/render.d.ts +8 -0
  76. package/dist/node_modules/liquidjs/dist/render/render.spec.d.ts +1 -0
  77. package/dist/node_modules/liquidjs/dist/render/string.d.ts +1 -0
  78. package/dist/node_modules/liquidjs/dist/render/string.spec.d.ts +1 -0
  79. package/dist/node_modules/liquidjs/dist/tags/assign.d.ts +12 -0
  80. package/dist/node_modules/liquidjs/dist/tags/block.d.ts +11 -0
  81. package/dist/node_modules/liquidjs/dist/tags/break.d.ts +4 -0
  82. package/dist/node_modules/liquidjs/dist/tags/capture.d.ts +13 -0
  83. package/dist/node_modules/liquidjs/dist/tags/case.d.ts +15 -0
  84. package/dist/node_modules/liquidjs/dist/tags/comment.d.ts +5 -0
  85. package/dist/node_modules/liquidjs/dist/tags/continue.d.ts +4 -0
  86. package/dist/node_modules/liquidjs/dist/tags/cycle.d.ts +9 -0
  87. package/dist/node_modules/liquidjs/dist/tags/decrement.d.ts +9 -0
  88. package/dist/node_modules/liquidjs/dist/tags/echo.d.ts +8 -0
  89. package/dist/node_modules/liquidjs/dist/tags/for.d.ts +15 -0
  90. package/dist/node_modules/liquidjs/dist/tags/if.d.ts +14 -0
  91. package/dist/node_modules/liquidjs/dist/tags/include.d.ts +12 -0
  92. package/dist/node_modules/liquidjs/dist/tags/increment.d.ts +9 -0
  93. package/dist/node_modules/liquidjs/dist/tags/index.d.ts +24 -0
  94. package/dist/node_modules/liquidjs/dist/tags/inline-comment.d.ts +5 -0
  95. package/dist/node_modules/liquidjs/dist/tags/layout.d.ts +14 -0
  96. package/dist/node_modules/liquidjs/dist/tags/liquid.d.ts +8 -0
  97. package/dist/node_modules/liquidjs/dist/tags/raw.d.ts +6 -0
  98. package/dist/node_modules/liquidjs/dist/tags/render.d.ts +22 -0
  99. package/dist/node_modules/liquidjs/dist/tags/tablerow.d.ts +14 -0
  100. package/dist/node_modules/liquidjs/dist/tags/unless.d.ts +15 -0
  101. package/dist/node_modules/liquidjs/dist/template/analysis.d.ts +85 -0
  102. package/dist/node_modules/liquidjs/dist/template/analysis.spec.d.ts +1 -0
  103. package/dist/node_modules/liquidjs/dist/template/filter-impl-options.d.ts +14 -0
  104. package/dist/node_modules/liquidjs/dist/template/filter.d.ts +15 -0
  105. package/dist/node_modules/liquidjs/dist/template/filter.spec.d.ts +1 -0
  106. package/dist/node_modules/liquidjs/dist/template/hash.d.ts +18 -0
  107. package/dist/node_modules/liquidjs/dist/template/hash.spec.d.ts +1 -0
  108. package/dist/node_modules/liquidjs/dist/template/html.d.ts +9 -0
  109. package/dist/node_modules/liquidjs/dist/template/index.d.ts +11 -0
  110. package/dist/node_modules/liquidjs/dist/template/output.d.ts +12 -0
  111. package/dist/node_modules/liquidjs/dist/template/output.spec.d.ts +1 -0
  112. package/dist/node_modules/liquidjs/dist/template/tag-options-adapter.d.ts +10 -0
  113. package/dist/node_modules/liquidjs/dist/template/tag.d.ts +18 -0
  114. package/dist/node_modules/liquidjs/dist/template/template-impl.d.ts +4 -0
  115. package/dist/node_modules/liquidjs/dist/template/template.d.ts +36 -0
  116. package/dist/node_modules/liquidjs/dist/template/value.d.ts +15 -0
  117. package/dist/node_modules/liquidjs/dist/template/value.spec.d.ts +1 -0
  118. package/dist/node_modules/liquidjs/dist/tokens/delimited-token.d.ts +9 -0
  119. package/dist/node_modules/liquidjs/dist/tokens/filter-token.d.ts +7 -0
  120. package/dist/node_modules/liquidjs/dist/tokens/filtered-value-token.d.ts +17 -0
  121. package/dist/node_modules/liquidjs/dist/tokens/hash-token.d.ts +12 -0
  122. package/dist/node_modules/liquidjs/dist/tokens/html-token.d.ts +11 -0
  123. package/dist/node_modules/liquidjs/dist/tokens/identifier-token.d.ts +9 -0
  124. package/dist/node_modules/liquidjs/dist/tokens/index.d.ts +18 -0
  125. package/dist/node_modules/liquidjs/dist/tokens/liquid-tag-token.d.ts +12 -0
  126. package/dist/node_modules/liquidjs/dist/tokens/literal-token.d.ts +11 -0
  127. package/dist/node_modules/liquidjs/dist/tokens/number-token.d.ts +9 -0
  128. package/dist/node_modules/liquidjs/dist/tokens/operator-token.d.ts +38 -0
  129. package/dist/node_modules/liquidjs/dist/tokens/output-token.d.ts +5 -0
  130. package/dist/node_modules/liquidjs/dist/tokens/property-access-token.d.ts +12 -0
  131. package/dist/node_modules/liquidjs/dist/tokens/quoted-token.d.ts +9 -0
  132. package/dist/node_modules/liquidjs/dist/tokens/range-token.d.ts +11 -0
  133. package/dist/node_modules/liquidjs/dist/tokens/tag-token.d.ts +9 -0
  134. package/dist/node_modules/liquidjs/dist/tokens/token.d.ts +12 -0
  135. package/dist/node_modules/liquidjs/dist/tokens/top-level-token.d.ts +4 -0
  136. package/dist/node_modules/liquidjs/dist/tokens/value-token.d.ts +6 -0
  137. package/dist/node_modules/liquidjs/dist/util/assert.d.ts +2 -0
  138. package/dist/node_modules/liquidjs/dist/util/assert.spec.d.ts +1 -0
  139. package/dist/node_modules/liquidjs/dist/util/async.d.ts +2 -0
  140. package/dist/node_modules/liquidjs/dist/util/async.spec.d.ts +1 -0
  141. package/dist/node_modules/liquidjs/dist/util/character.d.ts +10 -0
  142. package/dist/node_modules/liquidjs/dist/util/error.d.ts +35 -0
  143. package/dist/node_modules/liquidjs/dist/util/error.spec.d.ts +1 -0
  144. package/dist/node_modules/liquidjs/dist/util/index.d.ts +12 -0
  145. package/dist/node_modules/liquidjs/dist/util/intl.d.ts +6 -0
  146. package/dist/node_modules/liquidjs/dist/util/limiter.d.ts +8 -0
  147. package/dist/node_modules/liquidjs/dist/util/liquid-date.d.ts +52 -0
  148. package/dist/node_modules/liquidjs/dist/util/liquid-date.spec.d.ts +1 -0
  149. package/dist/node_modules/liquidjs/dist/util/literal.d.ts +11 -0
  150. package/dist/node_modules/liquidjs/dist/util/operator-trie.d.ts +14 -0
  151. package/dist/node_modules/liquidjs/dist/util/performance.d.ts +5 -0
  152. package/dist/node_modules/liquidjs/dist/util/performance.spec.d.ts +1 -0
  153. package/dist/node_modules/liquidjs/dist/util/strftime.d.ts +2 -0
  154. package/dist/node_modules/liquidjs/dist/util/strftime.spec.d.ts +1 -0
  155. package/dist/node_modules/liquidjs/dist/util/type-guards.d.ts +13 -0
  156. package/dist/node_modules/liquidjs/dist/util/type-guards.spec.d.ts +1 -0
  157. package/dist/node_modules/liquidjs/dist/util/underscore.d.ts +40 -0
  158. package/dist/node_modules/liquidjs/dist/util/underscore.spec.d.ts +1 -0
  159. package/dist/node_modules/liquidjs/node_modules/commander/index.js +27 -0
  160. package/dist/node_modules/liquidjs/node_modules/commander/lib/argument.js +147 -0
  161. package/dist/node_modules/liquidjs/node_modules/commander/lib/command.js +2179 -0
  162. package/dist/node_modules/liquidjs/node_modules/commander/lib/error.js +45 -0
  163. package/dist/node_modules/liquidjs/node_modules/commander/lib/help.js +464 -0
  164. package/dist/node_modules/liquidjs/node_modules/commander/lib/option.js +331 -0
  165. package/dist/node_modules/liquidjs/node_modules/commander/lib/suggestSimilar.js +100 -0
  166. package/dist/node_modules/liquidjs/node_modules/commander/package-support.json +16 -0
  167. package/dist/node_modules/liquidjs/node_modules/commander/package.json +80 -0
  168. package/dist/node_modules/liquidjs/node_modules/commander/typings/index.d.ts +889 -0
  169. package/dist/node_modules/liquidjs/package.json +1 -0
  170. package/dist/node_modules/ses/package.json +1 -1
  171. package/dist/node_modules/zod/package.json +1 -1
  172. package/dist/server/variables/runjs-variable-dependencies.js +21 -1
  173. package/package.json +3 -2
@@ -8,16 +8,16 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "2.3.0-beta.15",
11
+ "@nocobase/client": "2.3.0-beta.16",
12
12
  "lodash": "4.18.1",
13
- "@nocobase/database": "2.3.0-beta.15",
14
- "@nocobase/data-source-manager": "2.3.0-beta.15",
15
- "@nocobase/resourcer": "2.3.0-beta.15",
16
- "@nocobase/server": "2.3.0-beta.15",
17
- "@nocobase/utils": "2.3.0-beta.15",
18
- "@nocobase/cache": "2.3.0-beta.15",
19
- "@nocobase/actions": "2.3.0-beta.15",
13
+ "@nocobase/database": "2.3.0-beta.16",
14
+ "@nocobase/data-source-manager": "2.3.0-beta.16",
15
+ "@nocobase/resourcer": "2.3.0-beta.16",
16
+ "@nocobase/server": "2.3.0-beta.16",
17
+ "@nocobase/utils": "2.3.0-beta.16",
18
+ "@nocobase/cache": "2.3.0-beta.16",
19
+ "@nocobase/actions": "2.3.0-beta.16",
20
20
  "sequelize": "6.35.2",
21
21
  "@formily/json-schema": "2.3.7",
22
- "@nocobase/ai": "2.3.0-beta.15"
22
+ "@nocobase/ai": "2.3.0-beta.16"
23
23
  };
@@ -1 +1 @@
1
- {"name":"@ant-design/icons-svg","version":"4.3.1","sideEffects":false,"description":"Abstract nodes for ant design icons.","contributors":["HeskeyBaozi <hezhiyu233@foxmail.com>"],"homepage":"https://github.com/ant-design/ant-design-icons/","license":"MIT","main":"lib/index.js","module":"es/index.js","files":["lib","es","inline-svg","inline-namespaced-svg"],"repository":{"type":"git","url":"git+https://github.com/ant-design/ant-design-icons.git"},"scripts":{"g":"npm run generate","generate":"cross-env NODE_ENV=production gulp --require ts-node/register/transpile-only","type-check":"tsc --noEmit","build:es":"tsc --project tsconfig.build.json --module esnext --outDir es","build:lib":"tsc --project tsconfig.build.json --module commonjs --outDir lib","build":"cross-env NODE_ENV=production && npm run build:es && npm run build:lib","test":"cross-env NODE_ENV=test && npm run test:unit","test:unit":"jest","prepublishOnly":"npm run test && npm run g && npm run build && npm run type-check && npm run digest","digest":"node scripts/digest.js"},"bugs":{"url":"https://github.com/ant-design/ant-design-icons/issues"},"devDependencies":{"@babel/core":"^7.8.6","@babel/preset-env":"^7.8.6","@babel/preset-typescript":"^7.8.3","@rgrove/parse-xml":"^2.0.2","@types/gulp":"^4.0.6","@types/gulp-concat":"^0.0.32","@types/gulp-rename":"^0.0.33","@types/jest":"^25.1.3","@types/lodash.camelcase":"^4.3.6","@types/lodash.template":"^4.4.6","@types/lodash.upperfirst":"^4.3.6","@types/node":"^13.9.3","@types/ramda":"^0.26.43","@types/rgrove__parse-xml":"^1.1.0","@types/svgo":"^1.3.1","@types/through2":"^2.0.34","@typescript-eslint/eslint-plugin":"^2.21.0","@typescript-eslint/parser":"^2.21.0","babel-jest":"^25.1.0","cross-env":"^7.0.0","del":"^5.1.0","eslint":"^7.16.0","globby":"^11.0.0","gulp":"^4.0.2","gulp-clone":"^2.0.1","gulp-concat":"^2.6.1","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","jest":"^25.1.0","lodash.camelcase":"^4.3.0","lodash.template":"^4.5.0","lodash.upperfirst":"^4.3.1","ramda":"^0.27.0","svgo":"^1.3.2","through2":"^3.0.1","ts-node":"^8.6.2","typescript":"^4.0.0","vinyl":"^2.2.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_lastModified":"2026-10-15T01:28:24.849Z"}
1
+ {"name":"@ant-design/icons-svg","version":"4.3.1","sideEffects":false,"description":"Abstract nodes for ant design icons.","contributors":["HeskeyBaozi <hezhiyu233@foxmail.com>"],"homepage":"https://github.com/ant-design/ant-design-icons/","license":"MIT","main":"lib/index.js","module":"es/index.js","files":["lib","es","inline-svg","inline-namespaced-svg"],"repository":{"type":"git","url":"git+https://github.com/ant-design/ant-design-icons.git"},"scripts":{"g":"npm run generate","generate":"cross-env NODE_ENV=production gulp --require ts-node/register/transpile-only","type-check":"tsc --noEmit","build:es":"tsc --project tsconfig.build.json --module esnext --outDir es","build:lib":"tsc --project tsconfig.build.json --module commonjs --outDir lib","build":"cross-env NODE_ENV=production && npm run build:es && npm run build:lib","test":"cross-env NODE_ENV=test && npm run test:unit","test:unit":"jest","prepublishOnly":"npm run test && npm run g && npm run build && npm run type-check && npm run digest","digest":"node scripts/digest.js"},"bugs":{"url":"https://github.com/ant-design/ant-design-icons/issues"},"devDependencies":{"@babel/core":"^7.8.6","@babel/preset-env":"^7.8.6","@babel/preset-typescript":"^7.8.3","@rgrove/parse-xml":"^2.0.2","@types/gulp":"^4.0.6","@types/gulp-concat":"^0.0.32","@types/gulp-rename":"^0.0.33","@types/jest":"^25.1.3","@types/lodash.camelcase":"^4.3.6","@types/lodash.template":"^4.4.6","@types/lodash.upperfirst":"^4.3.6","@types/node":"^13.9.3","@types/ramda":"^0.26.43","@types/rgrove__parse-xml":"^1.1.0","@types/svgo":"^1.3.1","@types/through2":"^2.0.34","@typescript-eslint/eslint-plugin":"^2.21.0","@typescript-eslint/parser":"^2.21.0","babel-jest":"^25.1.0","cross-env":"^7.0.0","del":"^5.1.0","eslint":"^7.16.0","globby":"^11.0.0","gulp":"^4.0.2","gulp-clone":"^2.0.1","gulp-concat":"^2.6.1","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","jest":"^25.1.0","lodash.camelcase":"^4.3.0","lodash.template":"^4.5.0","lodash.upperfirst":"^4.3.1","ramda":"^0.27.0","svgo":"^1.3.2","through2":"^3.0.1","ts-node":"^8.6.2","typescript":"^4.0.0","vinyl":"^2.2.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_lastModified":"2026-10-19T15:31:34.292Z"}
@@ -1 +1 @@
1
- {"name":"acorn","description":"ECMAScript parser","homepage":"https://github.com/acornjs/acorn","main":"dist/acorn.js","types":"dist/acorn.d.ts","module":"dist/acorn.mjs","exports":{".":[{"import":"./dist/acorn.mjs","require":"./dist/acorn.js","default":"./dist/acorn.js"},"./dist/acorn.js"],"./package.json":"./package.json"},"version":"8.11.2","engines":{"node":">=0.4.0"},"maintainers":[{"name":"Marijn Haverbeke","email":"marijnh@gmail.com","web":"https://marijnhaverbeke.nl"},{"name":"Ingvar Stepanyan","email":"me@rreverser.com","web":"https://rreverser.com/"},{"name":"Adrian Heine","web":"http://adrianheine.de"}],"repository":{"type":"git","url":"https://github.com/acornjs/acorn.git"},"license":"MIT","scripts":{"prepare":"cd ..; npm run build:main"},"bin":{"acorn":"./bin/acorn"},"_lastModified":"2026-10-15T01:28:25.786Z"}
1
+ {"name":"acorn","description":"ECMAScript parser","homepage":"https://github.com/acornjs/acorn","main":"dist/acorn.js","types":"dist/acorn.d.ts","module":"dist/acorn.mjs","exports":{".":[{"import":"./dist/acorn.mjs","require":"./dist/acorn.js","default":"./dist/acorn.js"},"./dist/acorn.js"],"./package.json":"./package.json"},"version":"8.11.2","engines":{"node":">=0.4.0"},"maintainers":[{"name":"Marijn Haverbeke","email":"marijnh@gmail.com","web":"https://marijnhaverbeke.nl"},{"name":"Ingvar Stepanyan","email":"me@rreverser.com","web":"https://rreverser.com/"},{"name":"Adrian Heine","web":"http://adrianheine.de"}],"repository":{"type":"git","url":"https://github.com/acornjs/acorn.git"},"license":"MIT","scripts":{"prepare":"cd ..; npm run build:main"},"bin":{"acorn":"./bin/acorn"},"_lastModified":"2026-10-19T15:31:35.008Z"}
@@ -1 +1 @@
1
- {"name":"acorn-jsx","description":"Modern, fast React.js JSX parser","homepage":"https://github.com/acornjs/acorn-jsx","version":"5.3.2","maintainers":[{"name":"Ingvar Stepanyan","email":"me@rreverser.com","web":"http://rreverser.com/"}],"repository":{"type":"git","url":"https://github.com/acornjs/acorn-jsx"},"license":"MIT","scripts":{"test":"node test/run.js"},"peerDependencies":{"acorn":"^6.0.0 || ^7.0.0 || ^8.0.0"},"devDependencies":{"acorn":"^8.0.1"},"_lastModified":"2026-10-15T01:28:26.232Z"}
1
+ {"name":"acorn-jsx","description":"Modern, fast React.js JSX parser","homepage":"https://github.com/acornjs/acorn-jsx","version":"5.3.2","maintainers":[{"name":"Ingvar Stepanyan","email":"me@rreverser.com","web":"http://rreverser.com/"}],"repository":{"type":"git","url":"https://github.com/acornjs/acorn-jsx"},"license":"MIT","scripts":{"test":"node test/run.js"},"peerDependencies":{"acorn":"^6.0.0 || ^7.0.0 || ^8.0.0"},"devDependencies":{"acorn":"^8.0.1"},"_lastModified":"2026-10-19T15:31:35.647Z"}
@@ -1 +1 @@
1
- {"name":"acorn-walk","description":"ECMAScript (ESTree) AST walker","homepage":"https://github.com/acornjs/acorn","main":"dist/walk.js","types":"dist/walk.d.ts","module":"dist/walk.mjs","exports":{".":[{"import":"./dist/walk.mjs","require":"./dist/walk.js","default":"./dist/walk.js"},"./dist/walk.js"],"./package.json":"./package.json"},"version":"8.3.4","engines":{"node":">=0.4.0"},"dependencies":{"acorn":"^8.11.0"},"maintainers":[{"name":"Marijn Haverbeke","email":"marijnh@gmail.com","web":"https://marijnhaverbeke.nl"},{"name":"Ingvar Stepanyan","email":"me@rreverser.com","web":"https://rreverser.com/"},{"name":"Adrian Heine","web":"http://adrianheine.de"}],"repository":{"type":"git","url":"https://github.com/acornjs/acorn.git"},"scripts":{"prepare":"cd ..; npm run build:walk"},"license":"MIT","_lastModified":"2026-10-15T01:28:26.346Z"}
1
+ {"name":"acorn-walk","description":"ECMAScript (ESTree) AST walker","homepage":"https://github.com/acornjs/acorn","main":"dist/walk.js","types":"dist/walk.d.ts","module":"dist/walk.mjs","exports":{".":[{"import":"./dist/walk.mjs","require":"./dist/walk.js","default":"./dist/walk.js"},"./dist/walk.js"],"./package.json":"./package.json"},"version":"8.3.4","engines":{"node":">=0.4.0"},"dependencies":{"acorn":"^8.11.0"},"maintainers":[{"name":"Marijn Haverbeke","email":"marijnh@gmail.com","web":"https://marijnhaverbeke.nl"},{"name":"Ingvar Stepanyan","email":"me@rreverser.com","web":"https://rreverser.com/"},{"name":"Adrian Heine","web":"http://adrianheine.de"}],"repository":{"type":"git","url":"https://github.com/acornjs/acorn.git"},"scripts":{"prepare":"cd ..; npm run build:walk"},"license":"MIT","_lastModified":"2026-10-19T15:31:35.726Z"}
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Jun Yang
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,139 @@
1
+ #!/usr/bin/env node
2
+
3
+ const fs = require('fs/promises')
4
+ const Liquid = require('..').Liquid
5
+
6
+ // Preserve compatibility by falling back to legacy CLI behavior if:
7
+ // - stdin is redirected (i.e. not connected to a terminal) AND
8
+ // - there are either no arguments, or only a single argument which does not start with a dash
9
+ // TODO: Remove this fallback for 11.0
10
+
11
+ let renderPromise = null
12
+ if (!process.stdin.isTTY && (process.argv.length === 2 || (process.argv.length === 3 && !process.argv[2].startsWith('-')))) {
13
+ renderPromise = renderLegacy()
14
+ } else {
15
+ renderPromise = render()
16
+ }
17
+
18
+ renderPromise.catch(err => {
19
+ process.stderr.write(`${err.message}\n`)
20
+ process.exitCode = 1
21
+ })
22
+
23
+ async function render () {
24
+ const { program } = require('commander')
25
+
26
+ program
27
+ .name('liquidjs')
28
+ .description('Render a Liquid template')
29
+ .requiredOption('-t, --template <liquid | @path>', 'liquid template to render (@- to read from stdin)') // TODO: Change to argument in 11.0
30
+ .option('-c, --context <json | @path>', 'input context in JSON format (@- to read from stdin)')
31
+ .option('-o, --output <path>', 'write rendered output to file (omit to write to stdout)')
32
+ .option('--cache [size]', 'cache previously parsed template structures (default cache size: 1024)')
33
+ .option('--extname <string>', 'use a default filename extension when resolving partials and layouts')
34
+ .option('--jekyll-include', 'use jekyll-style include (pass parameters to include variable of current scope)')
35
+ .option('--js-truthy', 'use JavaScript-style truthiness')
36
+ .option('--layouts <path...>', 'directories from where to resolve layouts (defaults to --root)')
37
+ .option('--lenient-if', 'do not throw on undefined variables in conditional expressions (when using --strict-variables)')
38
+ .option('--no-dynamic-partials', 'always treat file paths for partials and layouts as a literal value')
39
+ .option('--no-greedy', 'disable greedy matching for --trim* options')
40
+ .option('--no-relative-reference', 'require absolute file paths for partials and layouts')
41
+ .option('--ordered-filter-parameters', 'respect parameter order when using filters')
42
+ .option('--output-delimiter-left <string>', 'left delimiter to use for liquid outputs')
43
+ .option('--output-delimiter-right <string>', 'right delimiter to use for liquid outputs')
44
+ .option('--partials <path...>', 'directories from where to resolve partials (defaults to --root)')
45
+ .option('--preserve-timezones', 'preserve input timezone in date filter')
46
+ .option('--root <path...>', 'directories from where to resolve partials and layouts (defaults to ".")')
47
+ .option('--strict-filters', 'throw on undefined filters instead of skipping them')
48
+ .option('--strict-variables', 'throw on undefined variables instead of rendering them as empty string')
49
+ .option('--tag-delimiter-left', 'left delimiter to use for liquid tags')
50
+ .option('--tag-delimiter-right', 'right delimiter to use for liquid tags')
51
+ .option('--timezone-offset <value>', 'JavaScript timezone name or timezoneOffset value to use in date filter (defaults to local timezone)')
52
+ .option('--trim-output-left', 'trim whitespace from left of liquid outputs')
53
+ .option('--trim-output-right', 'trim whitespace from right of liquid outputs')
54
+ .option('--trim-tag-left', 'trim whitespace from left of liquid tags')
55
+ .option('--trim-tag-right', 'trim whitespace from right of liquid tags')
56
+ .showHelpAfterError('Use -h or --help for additional information.')
57
+ .parse()
58
+
59
+ const options = program.opts()
60
+
61
+ if (Object.values(options).filter((value) => value === '@-').length > 1) {
62
+ throw new Error(`The stdin input specifier '@-' must only be used once.`)
63
+ }
64
+
65
+ const template = await resolveInputOption(options.template)
66
+ const context = await resolveContext(options.context)
67
+ const liquid = new Liquid(options)
68
+ const output = liquid.parseAndRenderSync(template, context)
69
+ if (options.output) {
70
+ await fs.writeFile(options.output, output)
71
+ } else {
72
+ process.stdout.write(output)
73
+ }
74
+ }
75
+
76
+ async function resolveContext (contextOption) {
77
+ let contextJson = '{}'
78
+ if (contextOption) {
79
+ contextJson = await resolveInputOption(contextOption)
80
+ }
81
+ const context = JSON.parse(contextJson)
82
+ return context
83
+ }
84
+
85
+ async function resolveInputOption (option) {
86
+ let content = null
87
+ if (option) {
88
+ if (option === '@-') {
89
+ content = await readStream(process.stdin)
90
+ } else if (option.startsWith('@')) {
91
+ const filePath = option.slice(1)
92
+ const stat = await fs.stat(filePath, { throwIfNoEntry: false })
93
+ if (!stat || !stat.isFile) {
94
+ throw new Error(`'${filePath}' does not exist or is not a file`)
95
+ }
96
+ content = await fs.readFile(filePath, 'utf8')
97
+ } else {
98
+ content = option
99
+ }
100
+ }
101
+ return content
102
+ }
103
+
104
+ async function readStream (stream) {
105
+ const chunks = []
106
+ for await (const chunk of stream) {
107
+ chunks.push(chunk)
108
+ }
109
+ return Buffer.concat(chunks).toString('utf8')
110
+ }
111
+
112
+ // TODO: Remove for 11.0
113
+ async function renderLegacy () {
114
+ process.stderr.write('Reading template from stdin. This mode will be removed in next major version, use --template option instead.\n')
115
+ const contextArg = process.argv.slice(2)[0]
116
+ let context = {}
117
+ if (contextArg) {
118
+ const contextJson = await resolveInputOptionLegacy(contextArg)
119
+ context = JSON.parse(contextJson)
120
+ }
121
+ const template = await readStream(process.stdin)
122
+ const liquid = new Liquid()
123
+ const output = liquid.parseAndRenderSync(template, context)
124
+ process.stdout.write(output)
125
+ }
126
+
127
+ // TODO: Remove for 11.0
128
+ async function resolveInputOptionLegacy (option) {
129
+ let content = null
130
+ if (option) {
131
+ const stat = await fs.stat(option).catch(e => null)
132
+ if (stat && stat.isFile) {
133
+ content = await fs.readFile(option, 'utf8')
134
+ } else {
135
+ content = option
136
+ }
137
+ }
138
+ return content
139
+ }
@@ -0,0 +1,7 @@
1
+ export declare function resolve(root: string, filepath: string, ext: string): string;
2
+ export declare function readFile(url: string): Promise<string>;
3
+ export declare function readFileSync(url: string): string;
4
+ export declare function exists(filepath: string): Promise<boolean>;
5
+ export declare function existsSync(filepath: string): boolean;
6
+ export declare function dirname(filepath: string): string;
7
+ export declare const sep = "/";
@@ -0,0 +1,10 @@
1
+ /// <reference types="node" />
2
+ import { Emitter } from '../emitters';
3
+ export declare class StreamedEmitter implements Emitter {
4
+ buffer: string;
5
+ stream: NodeJS.ReadableStream;
6
+ constructor();
7
+ write: (html: any) => void;
8
+ error: (err: Error) => void;
9
+ end: () => void;
10
+ }
@@ -0,0 +1,7 @@
1
+ import type { Template } from '../template/template';
2
+ export interface Cache<T> {
3
+ write(key: string, value: T): void | Promise<void>;
4
+ read(key: string): T | undefined | Promise<T | undefined>;
5
+ remove(key: string): void | Promise<void>;
6
+ }
7
+ export type LiquidCache = Cache<Template[] | Promise<Template[]>>;
@@ -0,0 +1,2 @@
1
+ export * from './cache';
2
+ export * from './lru';
@@ -0,0 +1,14 @@
1
+ import { Cache } from './cache';
2
+ export declare class LRU<T> implements Cache<T> {
3
+ limit: number;
4
+ size: number;
5
+ private cache;
6
+ private head;
7
+ private tail;
8
+ constructor(limit: number, size?: number);
9
+ write(key: string, value: T): void;
10
+ read(key: string): T | undefined;
11
+ remove(key: string): void;
12
+ clear(): void;
13
+ private ensureLimit;
14
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum BlockMode {
2
+ OUTPUT = 0,
3
+ STORE = 1
4
+ }
@@ -0,0 +1,64 @@
1
+ import { Drop } from '../drop/drop';
2
+ import { NormalizedFullOptions, RenderOptions } from '../liquid-options';
3
+ import { Scope } from './scope';
4
+ import { Limiter } from '../util';
5
+ type PropertyKey = string | number;
6
+ export declare class Context {
7
+ /**
8
+ * insert a Context-level empty scope,
9
+ * for tags like `{% capture %}` `{% assign %}` to operate
10
+ */
11
+ private scopes;
12
+ private registers;
13
+ /**
14
+ * user passed in scope
15
+ * `{% increment %}`, `{% decrement %}` changes this scope,
16
+ * whereas `{% capture %}`, `{% assign %}` only hide this scope
17
+ */
18
+ environments: Scope;
19
+ /**
20
+ * global scope used as fallback for missing variables
21
+ */
22
+ globals: Scope;
23
+ sync: boolean;
24
+ breakCalled: boolean;
25
+ continueCalled: boolean;
26
+ /**
27
+ * The normalized liquid options object
28
+ */
29
+ opts: NormalizedFullOptions;
30
+ /**
31
+ * Throw when accessing undefined variable?
32
+ */
33
+ strictVariables: boolean;
34
+ ownPropertyOnly: boolean;
35
+ memoryLimit: Limiter;
36
+ renderLimit: Limiter;
37
+ constructor(env?: object, opts?: NormalizedFullOptions, renderOptions?: RenderOptions, { memoryLimit, renderLimit }?: {
38
+ [key: string]: Limiter;
39
+ });
40
+ getRegister(key: string): any;
41
+ setRegister(key: string, value: any): any;
42
+ saveRegister(...keys: string[]): [string, any][];
43
+ restoreRegister(keyValues: [string, any][]): void;
44
+ getAll(): Scope;
45
+ /**
46
+ * @deprecated use `_get()` or `getSync()` instead
47
+ */
48
+ get(paths: PropertyKey[]): unknown;
49
+ getSync(paths: PropertyKey[]): unknown;
50
+ _get(paths: (PropertyKey | Drop)[]): IterableIterator<unknown>;
51
+ /**
52
+ * @deprecated use `_get()` instead
53
+ */
54
+ getFromScope(scope: unknown, paths: PropertyKey[] | string): IterableIterator<unknown>;
55
+ _getFromScope(scope: unknown, paths: (PropertyKey | Drop)[] | string, strictVariables?: boolean): IterableIterator<unknown>;
56
+ push(ctx: object): number;
57
+ pop(): Scope | undefined;
58
+ bottom(): Scope;
59
+ spawn(scope?: {}): Context;
60
+ private findScope;
61
+ readProperty(obj: Scope, key: (PropertyKey | Drop)): any;
62
+ }
63
+ export declare function readJSProperty(obj: Scope, key: PropertyKey, ownPropertyOnly: boolean): any;
64
+ export {};
@@ -0,0 +1,3 @@
1
+ export * from './context';
2
+ export * from './scope';
3
+ export * from './block-mode';
@@ -0,0 +1,6 @@
1
+ import { Drop } from '../drop/drop';
2
+ interface ScopeObject extends Record<string, any> {
3
+ toLiquid?: () => any;
4
+ }
5
+ export type Scope = ScopeObject | Drop;
6
+ export {};
@@ -0,0 +1,5 @@
1
+ import { EmptyDrop } from '../drop';
2
+ export declare class BlankDrop extends EmptyDrop {
3
+ equals(value: any): boolean;
4
+ static is(value: unknown): boolean;
5
+ }
@@ -0,0 +1,11 @@
1
+ import { Emitter } from '../emitters';
2
+ import { Drop } from './drop';
3
+ export declare class BlockDrop extends Drop {
4
+ private superBlockRender;
5
+ constructor(superBlockRender?: (emitter: Emitter) => IterableIterator<unknown> | string);
6
+ /**
7
+ * Provide parent access in child block by
8
+ * {{ block.super }}
9
+ */
10
+ super(): IterableIterator<unknown>;
11
+ }
@@ -0,0 +1,8 @@
1
+ export interface Comparable {
2
+ equals: (rhs: any) => boolean;
3
+ gt: (rhs: any) => boolean;
4
+ geq: (rhs: any) => boolean;
5
+ lt: (rhs: any) => boolean;
6
+ leq: (rhs: any) => boolean;
7
+ }
8
+ export declare function isComparable(arg: any): arg is Comparable;
@@ -0,0 +1,4 @@
1
+ import { Context } from '../context';
2
+ export declare abstract class Drop {
3
+ liquidMethodMissing(key: string | number, context: Context): Promise<any> | any;
4
+ }
@@ -0,0 +1,11 @@
1
+ import { Drop } from './drop';
2
+ import { Comparable } from './comparable';
3
+ export declare class EmptyDrop extends Drop implements Comparable {
4
+ equals(value: any): boolean;
5
+ gt(): boolean;
6
+ geq(): boolean;
7
+ lt(): boolean;
8
+ leq(): boolean;
9
+ valueOf(): string;
10
+ static is(value: unknown): boolean;
11
+ }
@@ -0,0 +1,15 @@
1
+ import { Drop } from './drop';
2
+ export declare class ForloopDrop extends Drop {
3
+ protected i: number;
4
+ name: string;
5
+ length: number;
6
+ constructor(length: number, collection: string, variable: string);
7
+ next(): void;
8
+ index0(): number;
9
+ index(): number;
10
+ first(): boolean;
11
+ last(): boolean;
12
+ rindex(): number;
13
+ rindex0(): number;
14
+ valueOf(): string;
15
+ }
@@ -0,0 +1,7 @@
1
+ export * from './drop';
2
+ export * from './null-drop';
3
+ export * from './empty-drop';
4
+ export * from './blank-drop';
5
+ export * from './forloop-drop';
6
+ export * from './block-drop';
7
+ export * from './comparable';
@@ -0,0 +1,10 @@
1
+ import { Drop } from './drop';
2
+ import { Comparable } from './comparable';
3
+ export declare class NullDrop extends Drop implements Comparable {
4
+ equals(value: any): boolean;
5
+ gt(): boolean;
6
+ geq(): boolean;
7
+ lt(): boolean;
8
+ leq(): boolean;
9
+ valueOf(): null;
10
+ }
@@ -0,0 +1,10 @@
1
+ import { ForloopDrop } from './forloop-drop';
2
+ export declare class TablerowloopDrop extends ForloopDrop {
3
+ private cols;
4
+ constructor(length: number, cols: number, collection: string, variable: string);
5
+ row(): number;
6
+ col0(): number;
7
+ col(): number;
8
+ col_first(): boolean;
9
+ col_last(): boolean;
10
+ }
@@ -0,0 +1,11 @@
1
+ export interface Emitter {
2
+ /**
3
+ * Write a html value into emitter
4
+ * @param html string, Drop or other primitive value
5
+ */
6
+ write(html: any): void;
7
+ /**
8
+ * Buffered string
9
+ */
10
+ buffer: string;
11
+ }
@@ -0,0 +1,4 @@
1
+ export * from './emitter';
2
+ export * from './simple-emitter';
3
+ export * from '../build/streamed-emitter-browser';
4
+ export * from './keeping-type-emitter';
@@ -0,0 +1,5 @@
1
+ import { Emitter } from './emitter';
2
+ export declare class KeepingTypeEmitter implements Emitter {
3
+ buffer: any;
4
+ write(html: any): void;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { Emitter } from './emitter';
2
+ export declare class SimpleEmitter implements Emitter {
3
+ buffer: string;
4
+ write(html: any): void;
5
+ }
@@ -0,0 +1,9 @@
1
+ /// <reference types="node" />
2
+ import { Emitter } from './emitter';
3
+ export declare class StreamedEmitter implements Emitter {
4
+ buffer: string;
5
+ stream: NodeJS.ReadWriteStream;
6
+ write(html: any): void;
7
+ error(err: Error): void;
8
+ end(): void;
9
+ }
@@ -0,0 +1,32 @@
1
+ import { FilterImpl } from '../template';
2
+ import type { Scope } from '../context';
3
+ export declare const join: (this: unknown, v: any[], arg: string) => any;
4
+ export declare const last: (this: unknown, v: any) => any;
5
+ export declare const first: (this: unknown, v: any) => any;
6
+ export declare const reverse: (this: unknown, v: any[]) => any;
7
+ export declare function sort<T>(this: FilterImpl, arr: T[], property?: string): IterableIterator<unknown>;
8
+ export declare function sort_natural<T>(this: FilterImpl, input: T[], property?: string): any[];
9
+ export declare const size: (v: string | any[]) => number;
10
+ export declare function map(this: FilterImpl, arr: Scope[], property: string): IterableIterator<unknown>;
11
+ export declare function sum(this: FilterImpl, arr: Scope[], property?: string): IterableIterator<unknown>;
12
+ export declare function compact<T>(this: FilterImpl, arr: T[]): any[];
13
+ export declare function concat<T1, T2>(this: FilterImpl, v: T1[], arg?: T2[]): (T1 | T2)[];
14
+ export declare function push<T>(this: FilterImpl, v: T[], arg: T): T[];
15
+ export declare function unshift<T>(this: FilterImpl, v: T[], arg: T): T[];
16
+ export declare function pop<T>(v: T[]): T[];
17
+ export declare function shift<T>(this: FilterImpl, v: T[]): T[];
18
+ export declare function slice<T>(this: FilterImpl, v: T[] | string, begin: number, length?: number): T[] | string;
19
+ export declare function where<T extends object>(this: FilterImpl, arr: T[], property: string, expected?: any): IterableIterator<unknown>;
20
+ export declare function reject<T extends object>(this: FilterImpl, arr: T[], property: string, expected?: any): IterableIterator<unknown>;
21
+ export declare function where_exp<T extends object>(this: FilterImpl, arr: T[], itemName: string, exp: string): IterableIterator<unknown>;
22
+ export declare function reject_exp<T extends object>(this: FilterImpl, arr: T[], itemName: string, exp: string): IterableIterator<unknown>;
23
+ export declare function group_by<T extends object>(this: FilterImpl, arr: T[], property: string): IterableIterator<unknown>;
24
+ export declare function group_by_exp<T extends object>(this: FilterImpl, arr: T[], itemName: string, exp: string): IterableIterator<unknown>;
25
+ export declare function has<T extends object>(this: FilterImpl, arr: T[], property: string, expected?: any): IterableIterator<unknown>;
26
+ export declare function has_exp<T extends object>(this: FilterImpl, arr: T[], itemName: string, exp: string): IterableIterator<unknown>;
27
+ export declare function find_index<T extends object>(this: FilterImpl, arr: T[], property: string, expected?: any): IterableIterator<unknown>;
28
+ export declare function find_index_exp<T extends object>(this: FilterImpl, arr: T[], itemName: string, exp: string): IterableIterator<unknown>;
29
+ export declare function find<T extends object>(this: FilterImpl, arr: T[], property: string, expected?: any): IterableIterator<unknown>;
30
+ export declare function find_exp<T extends object>(this: FilterImpl, arr: T[], itemName: string, exp: string): IterableIterator<unknown>;
31
+ export declare function uniq<T>(this: FilterImpl, arr: T[]): T[];
32
+ export declare function sample<T>(this: FilterImpl, v: T[] | string, count?: number): T | string | (T | string)[];
@@ -0,0 +1,6 @@
1
+ import { FilterImpl } from '../template';
2
+ export declare function date(this: FilterImpl, v: string | Date, format?: string, timezoneOffset?: number | string): string | Date;
3
+ export declare function date_to_xmlschema(this: FilterImpl, v: string | Date): string | Date;
4
+ export declare function date_to_rfc822(this: FilterImpl, v: string | Date): string | Date;
5
+ export declare function date_to_string(this: FilterImpl, v: string | Date, type?: string, style?: string): string | Date;
6
+ export declare function date_to_long_string(this: FilterImpl, v: string | Date, type?: string, style?: string): string | Date;
@@ -0,0 +1,6 @@
1
+ import { FilterImpl } from '../template';
2
+ export declare function escape(this: FilterImpl, str: string): string;
3
+ export declare function xml_escape(this: FilterImpl, str: string): string;
4
+ export declare function escape_once(this: FilterImpl, str: string): string;
5
+ export declare function newline_to_br(this: FilterImpl, v: string): string;
6
+ export declare function strip_html(this: FilterImpl, v: string): string;
@@ -0,0 +1,2 @@
1
+ import { FilterImplOptions } from '../template';
2
+ export declare const filters: Record<string, FilterImplOptions>;
@@ -0,0 +1,11 @@
1
+ export declare const abs: (this: unknown, x: number) => any;
2
+ export declare const at_least: (this: unknown, ...args: number[]) => any;
3
+ export declare const at_most: (this: unknown, ...args: number[]) => any;
4
+ export declare const ceil: (this: unknown, x: number) => any;
5
+ export declare const divided_by: (this: unknown, dividend: number, divisor: number, integerArithmetic?: any) => any;
6
+ export declare const floor: (this: unknown, x: number) => any;
7
+ export declare const minus: (this: unknown, v: number, arg: number) => any;
8
+ export declare const plus: (this: unknown, lhs: number, rhs: number) => any;
9
+ export declare const modulo: (this: unknown, v: number, arg: number) => any;
10
+ export declare const times: (this: unknown, v: number, arg: number) => any;
11
+ export declare function round(v: number, arg?: number): number;
@@ -0,0 +1,18 @@
1
+ import { identify } from '../util/underscore';
2
+ import { FilterImpl } from '../template';
3
+ declare function defaultFilter<T1 extends boolean, T2>(this: FilterImpl, value: T1, defaultValue: T2, ...args: Array<[string, any]>): T1 | T2;
4
+ declare function json(value: any, space?: number): string;
5
+ declare function inspect(value: any, space?: number): string;
6
+ declare function to_integer(value: any): number;
7
+ declare const _default: {
8
+ default: typeof defaultFilter;
9
+ raw: {
10
+ raw: boolean;
11
+ handler: typeof identify;
12
+ };
13
+ jsonify: typeof json;
14
+ to_integer: typeof to_integer;
15
+ json: typeof json;
16
+ inspect: typeof inspect;
17
+ };
18
+ export default _default;