Comparing version 2.3.14 to 2.3.15
/** | ||
* The riot template engine | ||
* @version v2.3.14 | ||
* @version v2.3.15 | ||
*/ | ||
@@ -21,3 +21,3 @@ | ||
MLCOMMS = /\/\*[^*]*\*+(?:[^*\/][^*]*\*+)*\//g, | ||
STRINGS = /"[^"\\]*(?:\\[^][^"\\]*)*"|'[^'\\]*(?:\\[^][^'\\]*)*'/g, | ||
STRINGS = /"[^"\\]*(?:\\[\S\s][^"\\]*)*"|'[^'\\]*(?:\\[\S\s][^'\\]*)*'/g, | ||
@@ -67,3 +67,3 @@ S_QBSRC = STRINGS.source + '|' + | ||
_pairs[4] = _regex(_pairs[1].length > 1 ? /{[^]*?}/ : /{[^}]*}/) | ||
_pairs[4] = _regex(_pairs[1].length > 1 ? /{[\S\s]*?}/ : /{[^}]*}/) | ||
_pairs[5] = _regex(/\\({|})/g) | ||
@@ -70,0 +70,0 @@ _pairs[6] = _regex(/(\\?)({)/g) |
/** | ||
* The riot template engine | ||
* @version v2.3.14 | ||
* @version v2.3.15 | ||
*/ | ||
@@ -21,3 +21,3 @@ | ||
MLCOMMS = /\/\*[^*]*\*+(?:[^*\/][^*]*\*+)*\//g, | ||
STRINGS = /"[^"\\]*(?:\\[^][^"\\]*)*"|'[^'\\]*(?:\\[^][^'\\]*)*'/g, | ||
STRINGS = /"[^"\\]*(?:\\[\S\s][^"\\]*)*"|'[^'\\]*(?:\\[\S\s][^'\\]*)*'/g, | ||
@@ -67,3 +67,3 @@ S_QBSRC = STRINGS.source + '|' + | ||
_pairs[4] = _regex(_pairs[1].length > 1 ? /{[^]*?}/ : /{[^}]*}/) | ||
_pairs[4] = _regex(_pairs[1].length > 1 ? /{[\S\s]*?}/ : /{[^}]*}/) | ||
_pairs[5] = _regex(/\\({|})/g) | ||
@@ -70,0 +70,0 @@ _pairs[6] = _regex(/(\\?)({)/g) |
@@ -1,2 +0,2 @@ | ||
/* riot-tmpl v2.3.14, @license MIT, (c) 2015 Muut Inc. + contributors */ | ||
/* riot-tmpl v2.3.15, @license MIT, (c) 2015 Muut Inc. + contributors */ | ||
;(function (window) { | ||
@@ -19,3 +19,3 @@ 'use strict' // eslint-disable-line | ||
MLCOMMS = /\/\*[^*]*\*+(?:[^*\/][^*]*\*+)*\//g, | ||
STRINGS = /"[^"\\]*(?:\\[^][^"\\]*)*"|'[^'\\]*(?:\\[^][^'\\]*)*'/g, | ||
STRINGS = /"[^"\\]*(?:\\[\S\s][^"\\]*)*"|'[^'\\]*(?:\\[\S\s][^'\\]*)*'/g, | ||
@@ -65,3 +65,3 @@ S_QBSRC = STRINGS.source + '|' + | ||
_pairs[4] = _regex(_pairs[1].length > 1 ? /{[^]*?}/ : /{[^}]*}/) | ||
_pairs[4] = _regex(_pairs[1].length > 1 ? /{[\S\s]*?}/ : /{[^}]*}/) | ||
_pairs[5] = _regex(/\\({|})/g) | ||
@@ -68,0 +68,0 @@ _pairs[6] = _regex(/(\\?)({)/g) |
@@ -36,3 +36,3 @@ /** | ||
MLCOMMS = /\/\*[^*]*\*+(?:[^*\/][^*]*\*+)*\//g, | ||
STRINGS = /"[^"\\]*(?:\\[^][^"\\]*)*"|'[^'\\]*(?:\\[^][^'\\]*)*'/g, | ||
STRINGS = /"[^"\\]*(?:\\[\S\s][^"\\]*)*"|'[^'\\]*(?:\\[\S\s][^'\\]*)*'/g, | ||
@@ -113,3 +113,3 @@ // `S_QBSRC` - `STRINGS` combined with regex sources matching division operators | ||
//_pairs[$_RIX_TEST] = _regex(_pairs[1].length > 1 ? /(?:^|[^\\]){[\S\s]*?}/ : /(?:^|[^\\]){[^}]*}/) | ||
_pairs[$_RIX_TEST] = _regex(_pairs[1].length > 1 ? /{[^]*?}/ : /{[^}]*}/) | ||
_pairs[$_RIX_TEST] = _regex(_pairs[1].length > 1 ? /{[\S\s]*?}/ : /{[^}]*}/) | ||
_pairs[$_RIX_ESC] = _regex(/\\({|})/g) | ||
@@ -116,0 +116,0 @@ _pairs[$_RIX_OPEN] = _regex(/(\\?)({)/g) // for _split() |
{ | ||
"name": "riot-tmpl", | ||
"version": "2.3.14", | ||
"version": "2.3.15", | ||
"description": "The riot template engine", | ||
@@ -5,0 +5,0 @@ "main": "dist/tmpl.js", |
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
113475
19