@itrocks/template 0.0.18 → 0.0.19

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/cjs/template.js CHANGED
@@ -783,7 +783,7 @@ class Template {
783
783
  this.start = this.index;
784
784
  }
785
785
  startsExpression(char, open = '{', close = '}') {
786
- return RegExp('[a-z0-9"*.?\'' + open + close + '-' + this.prefixes + ']', 'i').test(char);
786
+ return RegExp('[a-z0-9"*.?\'' + open + close + this.prefixes + '-]', 'i').test(char);
787
787
  }
788
788
  trimEndLine(string) {
789
789
  let index = string.length;
package/esm/template.js CHANGED
@@ -778,7 +778,7 @@ export default class Template {
778
778
  this.start = this.index;
779
779
  }
780
780
  startsExpression(char, open = '{', close = '}') {
781
- return RegExp('[a-z0-9"*.?\'' + open + close + '-' + this.prefixes + ']', 'i').test(char);
781
+ return RegExp('[a-z0-9"*.?\'' + open + close + this.prefixes + '-]', 'i').test(char);
782
782
  }
783
783
  trimEndLine(string) {
784
784
  let index = string.length;
package/package.json CHANGED
@@ -60,5 +60,5 @@
60
60
  "test": "jest"
61
61
  },
62
62
  "types": "./esm/template.d.ts",
63
- "version": "0.0.18"
63
+ "version": "0.0.19"
64
64
  }