@bigcommerce/stencil-paper-handlebars
Advanced tools
Comparing version 4.0.4 to 4.0.5
# Changelog | ||
## 4.0.5 | ||
- Fix regex performance to match precompiled templates. | ||
## 4.0.4 | ||
@@ -4,0 +7,0 @@ - Added trimming of all '.' and '/' from begginig of cdn path (not full paths) |
@@ -193,3 +193,3 @@ 'use strict'; | ||
// step is a potentially dangerous eval. | ||
const re = /.*"compiler"\w*:\w*\[.*"main"\w*:\w*function/; | ||
const re = /"compiler":\[.*\],"main":function/; | ||
if (!re.test(precompiled)) { | ||
@@ -196,0 +196,0 @@ // This is not a valid precompiled template, so this is |
{ | ||
"name": "@bigcommerce/stencil-paper-handlebars", | ||
"version": "4.0.4", | ||
"version": "4.0.5", | ||
"description": "A paper plugin to render pages using Handlebars.js", | ||
@@ -5,0 +5,0 @@ "main": "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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
165636
99
2