Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bv-ui-core

Package Overview
Dependencies
Maintainers
0
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bv-ui-core - npm Package Compare versions

Comparing version 2.9.4 to 2.9.6

10

lib/bvFetch/index.js

@@ -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) {

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc