bv-ui-core
Advanced tools
Comparing version 2.9.4 to 2.9.6
@@ -1,2 +0,1 @@ | ||
/** | ||
@@ -136,3 +135,6 @@ * @fileOverview | ||
.then((cachedResponse) => { | ||
if (!cachedResponse) { | ||
this.cachedUrls.delete(cacheKey) | ||
return Promise.resolve(null); | ||
} | ||
const cachedTime = cachedResponse.headers.get('X-Bazaarvoice-Cached-Time'); | ||
@@ -171,6 +173,2 @@ const ttl = cachedResponse.headers.get('Cache-Control').match(/max-age=(\d+)/)[1]; | ||
.then((cachedResponse) => { | ||
if (!cachedResponse) { | ||
this.cachedUrls.delete(cacheKey) | ||
return Promise.resolve(null); | ||
} | ||
// If response found in cache, return it | ||
@@ -177,0 +175,0 @@ if (cachedResponse) { |
{ | ||
"name": "bv-ui-core", | ||
"version": "2.9.4", | ||
"version": "2.9.6", | ||
"license": "Apache 2.0", | ||
@@ -5,0 +5,0 @@ "description": "Bazaarvoice UI-related JavaScript", |
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
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
263945
8