minijinja-js 2.24.0 → 3.0.0-alpha.1

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.
package/README.md CHANGED
@@ -88,6 +88,9 @@ const result = env.evalExpr('1 + 1', {});
88
88
  console.log(result);
89
89
  ```
90
90
 
91
+ MiniJinja tuples retain tuple rendering inside templates. Expression results are
92
+ returned as JavaScript arrays because JavaScript has no distinct tuple type.
93
+
91
94
  ## Web Usage
92
95
 
93
96
  If you want to use minijinja-js from the browser instead of node, you will
@@ -88,6 +88,9 @@ const result = env.evalExpr('1 + 1', {});
88
88
  console.log(result);
89
89
  ```
90
90
 
91
+ MiniJinja tuples retain tuple rendering inside templates. Expression results are
92
+ returned as JavaScript arrays because JavaScript has no distinct tuple type.
93
+
91
94
  ## Web Usage
92
95
 
93
96
  If you want to use minijinja-js from the browser instead of node, you will
@@ -1,6 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- type UndefinedBehavior = "strict" | "chainable" | "lenient" | "semi_strct";
3
+ type UndefinedBehavior = "strict" | "chainable" | "lenient" | "semi_strict";
4
4
  /**
5
5
  * Represents a MiniJinja environment.
6
6
  */
@@ -197,7 +197,7 @@ function debugString(val) {
197
197
  return className;
198
198
  }
199
199
 
200
- const __wbindgen_enum_UndefinedBehavior = ["strict", "chainable", "lenient", "semi_strct"];
200
+ const __wbindgen_enum_UndefinedBehavior = ["strict", "chainable", "lenient", "semi_strict"];
201
201
 
202
202
  const EnvironmentFinalization = (typeof FinalizationRegistry === 'undefined')
203
203
  ? { register: () => {}, unregister: () => {} }
Binary file
@@ -5,7 +5,7 @@
5
5
  "Armin Ronacher <armin.ronacher@active-4.com>"
6
6
  ],
7
7
  "description": "a powerful template engine with minimal dependencies",
8
- "version": "2.24.0",
8
+ "version": "3.0.0-alpha.1",
9
9
  "license": "Apache-2.0",
10
10
  "files": [
11
11
  "minijinja_js_bg.wasm",
@@ -88,6 +88,9 @@ const result = env.evalExpr('1 + 1', {});
88
88
  console.log(result);
89
89
  ```
90
90
 
91
+ MiniJinja tuples retain tuple rendering inside templates. Expression results are
92
+ returned as JavaScript arrays because JavaScript has no distinct tuple type.
93
+
91
94
  ## Web Usage
92
95
 
93
96
  If you want to use minijinja-js from the browser instead of node, you will
@@ -1,6 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- type UndefinedBehavior = "strict" | "chainable" | "lenient" | "semi_strct";
3
+ type UndefinedBehavior = "strict" | "chainable" | "lenient" | "semi_strict";
4
4
  /**
5
5
  * Represents a MiniJinja environment.
6
6
  */
@@ -193,7 +193,7 @@ function debugString(val) {
193
193
  return className;
194
194
  }
195
195
 
196
- const __wbindgen_enum_UndefinedBehavior = ["strict", "chainable", "lenient", "semi_strct"];
196
+ const __wbindgen_enum_UndefinedBehavior = ["strict", "chainable", "lenient", "semi_strict"];
197
197
 
198
198
  const EnvironmentFinalization = (typeof FinalizationRegistry === 'undefined')
199
199
  ? { register: () => {}, unregister: () => {} }
Binary file
@@ -4,7 +4,7 @@
4
4
  "Armin Ronacher <armin.ronacher@active-4.com>"
5
5
  ],
6
6
  "description": "a powerful template engine with minimal dependencies",
7
- "version": "2.24.0",
7
+ "version": "3.0.0-alpha.1",
8
8
  "license": "Apache-2.0",
9
9
  "files": [
10
10
  "minijinja_js_bg.wasm",
@@ -88,6 +88,9 @@ const result = env.evalExpr('1 + 1', {});
88
88
  console.log(result);
89
89
  ```
90
90
 
91
+ MiniJinja tuples retain tuple rendering inside templates. Expression results are
92
+ returned as JavaScript arrays because JavaScript has no distinct tuple type.
93
+
91
94
  ## Web Usage
92
95
 
93
96
  If you want to use minijinja-js from the browser instead of node, you will
@@ -1,6 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- type UndefinedBehavior = "strict" | "chainable" | "lenient" | "semi_strct";
3
+ type UndefinedBehavior = "strict" | "chainable" | "lenient" | "semi_strict";
4
4
  /**
5
5
  * Represents a MiniJinja environment.
6
6
  */
@@ -189,7 +189,7 @@ function debugString(val) {
189
189
  return className;
190
190
  }
191
191
 
192
- const __wbindgen_enum_UndefinedBehavior = ["strict", "chainable", "lenient", "semi_strct"];
192
+ const __wbindgen_enum_UndefinedBehavior = ["strict", "chainable", "lenient", "semi_strict"];
193
193
 
194
194
  const EnvironmentFinalization = (typeof FinalizationRegistry === 'undefined')
195
195
  ? { register: () => {}, unregister: () => {} }
Binary file
@@ -5,7 +5,7 @@
5
5
  "Armin Ronacher <armin.ronacher@active-4.com>"
6
6
  ],
7
7
  "description": "a powerful template engine with minimal dependencies",
8
- "version": "2.24.0",
8
+ "version": "3.0.0-alpha.1",
9
9
  "license": "Apache-2.0",
10
10
  "files": [
11
11
  "minijinja_js_bg.wasm",
package/package.json CHANGED
@@ -38,5 +38,5 @@
38
38
  "test": "mocha tests"
39
39
  },
40
40
  "types": "dist/node/minijinja_js.d.ts",
41
- "version": "2.24.0"
41
+ "version": "3.0.0-alpha.1"
42
42
  }