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

bv-ui-core

Package Overview
Dependencies
Maintainers
12
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 0.13.0 to 0.13.1

2

lib/api/statistics.js

@@ -94,3 +94,3 @@ /* global fetch */

const requestUri = `${uri}&filter=ProductId:${products.join(',')}`
fetch(requestUri)
return fetch(requestUri)
.then(response => response.json())

@@ -97,0 +97,0 @@ .then(json => {

@@ -34,3 +34,4 @@ /**

if (typeof global.Promise === 'undefined') {
// If Promise is unsupported, or is currently polyfilled, supply our own, just in case
if (typeof global.Promise === 'undefined' || !global.Promise.toString().match(/\[native code]/)) {
// Store setTimeout reference so promise-polyfill will be unaffected by

@@ -37,0 +38,0 @@ // other code modifying setTimeout (like sinon.useFakeTimers())

{
"name": "bv-ui-core",
"version": "0.13.0",
"version": "0.13.1",
"license": "Apache 2.0",

@@ -11,3 +11,3 @@ "description": "Bazaarvoice UI-related JavaScript",

"engines": {
"node" : ">=6.10"
"node": ">=6.10"
},

@@ -14,0 +14,0 @@ "scripts": {

@@ -54,2 +54,3 @@ ![](https://travis-ci.org/bazaarvoice/bv-ui-core.svg)

- [performance](./lib/performance)
- [polyfills](./lib/polyfills)
- [pixelsDisplayed](./lib/pixelsDisplayed)

@@ -56,0 +57,0 @@ - [staticAssetLoader](./lib/staticAssetLoader)

@@ -8,3 +8,7 @@ var api = require('../../../lib/api')

oldFetch = window.fetch
window.fetch = () => {}
window.fetch = () => Promise.resolve({
json: () => ({
Results: [],
}),
})
})

@@ -11,0 +15,0 @@

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