template-engine
Advanced tools
Comparing version 0.2.20 to 0.2.21
@@ -14,3 +14,3 @@ var Event = require('core').Event.Event; | ||
var absoluteUrl = this._config._config.cssAbsoluteUrl; | ||
var content = data.replace(/url\s*\([\s'"]*(?!^data)([^\s'"](?!^http).*?[^\s'"\)])[\s'"]*\)/g, "url('" + absoluteUrl + "$1')") | ||
var content = data.replace(/url\s*\(([\s'"]*)(?!data)((?!http).*?)([\s'"]*)\)/g, "url($1" + absoluteUrl + "$2$3)") | ||
console.log(' -- CSS_REWRITE_ABSOULTE_URL dispatch READY'); | ||
@@ -17,0 +17,0 @@ this.dispatchEvent(new Event(PluginAbstract.Event.READY, content)); |
{ | ||
"name": "template-engine", | ||
"version": "0.2.20", | ||
"version": "0.2.21", | ||
"description": "Engine that renders templates of any kind", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
5981782
335
38309
19