@itrocks/template
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -396,4 +396,4 @@ "use strict"; | ||
index++; | ||
if (!/[a-z0-9@%{]/i.test(source[index]) | ||
|| !this.doExpression | ||
if (!this.doExpression | ||
|| !this.startsExpression(source[index]) | ||
|| ((source[index] === 'B') && this.included && (source.substring(index, index + 8) === 'BEGIN-->')) | ||
@@ -400,0 +400,0 @@ || ((source[index] === 'E') && this.included && (source.substring(index, index + 6) === 'END-->'))) { |
@@ -391,4 +391,4 @@ import Str from '@itrocks/rename'; | ||
index++; | ||
if (!/[a-z0-9@%{]/i.test(source[index]) | ||
|| !this.doExpression | ||
if (!this.doExpression | ||
|| !this.startsExpression(source[index]) | ||
|| ((source[index] === 'B') && this.included && (source.substring(index, index + 8) === 'BEGIN-->')) | ||
@@ -395,0 +395,0 @@ || ((source[index] === 'E') && this.included && (source.substring(index, index + 6) === 'END-->'))) { |
@@ -63,3 +63,3 @@ { | ||
"types": "./esm/template.d.ts", | ||
"version": "0.0.15" | ||
"version": "0.0.16" | ||
} |
@@ -5,3 +5,3 @@ [![npm version](https://img.shields.io/npm/v/@itrocks/template?logo=npm)](https://www.npmjs.org/package/@itrocks/template) | ||
[![issues](https://img.shields.io/github/issues/itrocks-ts/template)](https://github.com/itrocks-ts/template/issues) | ||
[![discord](https://img.shields.io/discord/1314141024020467782?color=7289da&label=discord&logo=discord&logoColor=white)](https://discord.gg/WFPJjmUx) | ||
[![discord](https://img.shields.io/discord/1314141024020467782?color=7289da&label=discord&logo=discord&logoColor=white)](https://discord.gg/RZYhmhgrCk) | ||
@@ -8,0 +8,0 @@ # template |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
99584