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

grid-util-js

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grid-util-js - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

package.json
{
"name": "grid-util-js",
"version": "1.0.4",
"version": "1.0.5",
"description": "JS helpers for the Grid",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -15,9 +15,10 @@ var extractId = /[0-9a-f]{40}/i;

apiBaseUrl,
fetch = window.fetch
fetch = window.fetch,
fetchInit = {
credentials: 'include'
}
} = {}) {
this.apiBaseUrl = apiBaseUrl;
this[fetchImpl] = fetch ? (url) => {
return fetch(url, {
credentials: 'same-origin'
}).then(response => {
return fetch(url, fetchInit).then(response => {
if (response.status >= 200 && response.status < 300) {

@@ -24,0 +25,0 @@ return response.json();

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