Comparing version 0.6.3 to 0.6.4
@@ -689,2 +689,3 @@ var compile = (function(){ | ||
'__fest_htmlchars=/' + htmlchars.source + '/g,' + | ||
'__fest_htmlchars_test=/' + htmlchars.source + '/,' + // We need another regex because String.replace() won't change lastIndex to 0 | ||
'__fest_short_tags = ' + JSON.stringify(short_tags) + ',' + | ||
@@ -694,2 +695,3 @@ '__fest_element_stack = [],' + | ||
'__fest_jschars=/' + jschars.source + '/g,' + | ||
'__fest_jschars_test=/' + jschars.source + '/,' + | ||
'__fest_jshash=' + JSON.stringify(jshash) + ',' + | ||
@@ -712,3 +714,3 @@ '___fest_log_error;' + | ||
'if (typeof s==="string") {' + | ||
'if (__fest_jschars.test(s))return s.replace(__fest_jschars,__fest_replaceJS);' + | ||
'if (__fest_jschars_test.test(s))return s.replace(__fest_jschars,__fest_replaceJS);' + | ||
'} else if (typeof s==="undefined")return "";' + | ||
@@ -718,3 +720,3 @@ 'return s;}' + | ||
'if (typeof s==="string") {' + | ||
'if (__fest_htmlchars.test(s))return s.replace(__fest_htmlchars,__fest_replaceHTML);' + | ||
'if (__fest_htmlchars_test.test(s))return s.replace(__fest_htmlchars,__fest_replaceHTML);' + | ||
'} else if (typeof s==="undefined")return "";' + | ||
@@ -721,0 +723,0 @@ 'return s;}' + |
@@ -5,3 +5,3 @@ { | ||
"keywords": ["template", "templating", "html", "xml"], | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"repository": { | ||
@@ -31,6 +31,5 @@ "type": "git", | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"grunt": "~0.4.1", | ||
"grunt-contrib-clean": "~0.4.0", | ||
"grunt-contrib-clean": "~0.4.0", | ||
"grunt-contrib-jshint": "~0.1.1", | ||
@@ -37,0 +36,0 @@ "grunt-contrib-watch": "~0.2.0", |
@@ -512,2 +512,4 @@ # Fest [](https://travis-ci.org/eprev/fest) | ||
Grunt используется для валидации JS (тестов) и запуска тестов. Перед отправкой пулл-риквеста убедись, что успешно выполнены `git rebase master` и `grunt`. | ||
Grunt используется для валидации JS (тестов) и запуска тестов. Перед отправкой пулл-риквеста убедись, что успешно выполнены `git rebase master` и `grunt`. | ||
Если необходимо пересобрать шаблоны spec/expected, то выполните `./bin/fest-build --dir=spec/templates --exclude=*error* --compile.beautify=true --out=spec/expected/initial` и `./bin/fest-build --dir=spec/templates --exclude=*error* --compile.beautify=true --out=spec/expected/translated --translate=spec/templates/en_US.po`. |
Sorry, the diff of this file is not supported yet
NPM Shrinkwrap
Supply chain riskPackage contains a shrinkwrap file. This may allow the package to bypass normal install procedures.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
514
0
10
9
130761
21
3491