@rhinostone/swig-jinja2 2.8.2 → 2.8.4

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/lib/index.js CHANGED
@@ -27,7 +27,7 @@ exports.name = 'jinja2';
27
27
  *
28
28
  * @type {String}
29
29
  */
30
- exports.version = "2.8.2";
30
+ exports.version = "2.8.4";
31
31
 
32
32
  /**
33
33
  * Expression-level parser — Pratt-style recursive descent that consumes
@@ -122,7 +122,7 @@ exports.parse = function (str, line, parser, types, stack, opts, swig, token) {
122
122
  }
123
123
  var pathExpr = parser.parseExpr(pathTokens);
124
124
 
125
- var resolveFrom = (opts.filename || '').replace(/\\/g, '\\\\');
125
+ var resolveFrom = (opts.filename || '');
126
126
 
127
127
  // `without context` -> empty-object context + isolated, so the backend's
128
128
  // Include selector emits `{}` rather than `_ctx`. `with context` (and the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinostone/swig-jinja2",
3
- "version": "2.8.2",
3
+ "version": "2.8.4",
4
4
  "description": "Jinja2-syntax frontend for the @rhinostone/swig-core template engine. Part of the @rhinostone/swig multi-flavor family.",
5
5
  "keywords": [
6
6
  "template",
@@ -23,7 +23,7 @@
23
23
  "node": ">=12"
24
24
  },
25
25
  "peerDependencies": {
26
- "@rhinostone/swig-core": "2.8.2"
26
+ "@rhinostone/swig-core": "2.8.4"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public"