@vivocha/public-entities
Advanced tools
Comparing version 6.4.11 to 6.4.12
@@ -67,2 +67,5 @@ "use strict"; | ||
} | ||
else if (p1 === 'VARIABLES') { | ||
return JSON.stringify(this.options.settings.variables || {}); | ||
} | ||
else if (p1.indexOf('VARIABLES.') === 0 && p1.length > 10 && this.options.manifest.variables && this.options.manifest.variables.length) { | ||
@@ -90,4 +93,4 @@ let key = p1.substr(10); | ||
}); | ||
rawHtml = rawHtml.replace(/(['"])(?:\.\/)?(assets\/.*?)(\?.*?)?\1/g, (match, dummy, p1) => { | ||
const asset = this.getAsset(p1); | ||
rawHtml = rawHtml.replace(/(['"])((?:\.\/)?(assets\/.*?))(\?.*?)?\1/g, (match, dummy, p1, p2) => { | ||
const asset = this.getAsset(p2); | ||
if (asset) { | ||
@@ -94,0 +97,0 @@ return match.replace(p1, this.getAssetUrl(asset)); |
{ | ||
"name": "@vivocha/public-entities", | ||
"version": "6.4.11", | ||
"version": "6.4.12", | ||
"description": "Vivocha public entities and types", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.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
49062
1574