@bonniernews/local-esi
Advanced tools
Comparing version 2.4.0 to 2.5.0
@@ -85,2 +85,3 @@ "use strict"; | ||
...self.options.headers, | ||
...getAttributeHeaders(data.setheader), | ||
host: undefined, | ||
@@ -111,2 +112,8 @@ "content-type": undefined, | ||
}); | ||
function getAttributeHeaders(attr) { | ||
if (!attr) return; | ||
const [ key, val ] = attr.split(":"); | ||
return { [key]: replace(val, self) }; | ||
} | ||
} | ||
@@ -113,0 +120,0 @@ }; |
{ | ||
"name": "@bonniernews/local-esi", | ||
"version": "2.4.0", | ||
"version": "2.5.0", | ||
"description": "Local Edge Side Includes parser", | ||
@@ -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
54646
1689
0