riot-compiler
Advanced tools
Comparing version 2.5.0 to 2.5.1
/** | ||
* Compiler for riot custom tags | ||
* @version v2.5.0 | ||
* @version v2.5.1 | ||
*/ | ||
@@ -712,3 +712,3 @@ | ||
var version = 'v2.5.0' | ||
var version = 'v2.5.1' | ||
@@ -715,0 +715,0 @@ export default { |
// istanbul ignore next | ||
function safeRegex (re) { | ||
var src = re.source | ||
var opt = re.global ? 'g' : '' | ||
if (re.ignoreCase) opt += 'i' | ||
if (re.multiline) opt += 'm' | ||
for (var i = 1; i < arguments.length; i++) { | ||
src = src.replace('@', '\\' + arguments[i]) | ||
} | ||
return new RegExp(src, opt) | ||
} | ||
/** | ||
@@ -109,3 +124,3 @@ * @module parsers | ||
* Compiler for riot custom tags | ||
* @version v2.5.0 | ||
* @version v2.5.1 | ||
*/ | ||
@@ -701,3 +716,3 @@ var compile = (function () { | ||
js: compileJS, | ||
version: 'v2.5.0' | ||
version: 'v2.5.1' | ||
} | ||
@@ -704,0 +719,0 @@ return compile |
/** | ||
* The riot-compiler v2.5.0 | ||
* The riot-compiler v2.5.1 | ||
* | ||
* @module compiler | ||
* @version v2.5.0 | ||
* @version v2.5.1 | ||
* @license MIT | ||
@@ -1038,3 +1038,3 @@ * @copyright Muut Inc. + contributors | ||
parsers: parsers, | ||
version: 'v2.5.0' | ||
version: 'v2.5.1' | ||
} |
{ | ||
"name": "riot-compiler", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"description": "Compiler for riot .tag files", | ||
@@ -34,7 +34,7 @@ "main": "lib/compiler.js", | ||
"coveralls": "^2.11.9", | ||
"eslint": "^2.9.0", | ||
"eslint": "^2.13.0", | ||
"expect.js": "^0.3.1", | ||
"istanbul": "^0.4.3", | ||
"jspreproc": "^0.2.7", | ||
"mocha": "^2.4.5", | ||
"mocha": "^2.5.3", | ||
"riot-bump": "^1.0.0" | ||
@@ -41,0 +41,0 @@ }, |
@@ -6,2 +6,3 @@ //#define RIOT | ||
//#include_once safe-regex | ||
//#include_once parsers_br | ||
@@ -8,0 +9,0 @@ |
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
248617
5643