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

netlify

Package Overview
Dependencies
Maintainers
10
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

netlify - npm Package Compare versions

Comparing version 2.0.1-beta.6 to 2.0.1-beta.7

2

package.json
{
"name": "netlify",
"description": "Netlify Node.js API client",
"version": "2.0.1-beta.6",
"version": "2.0.1-beta.7",
"author": "Netlify Inc.",

@@ -6,0 +6,0 @@ "ava": {

@@ -83,3 +83,13 @@ const get = require('lodash.get')

// TODO: Use micro-api-client when it supports node-fetch
const response = await fetch(path, opts)
let response
try {
response = await fetch(path, opts)
} catch (e) {
/* istanbul ignore next */
e.name = 'FetchError'
e.url = path
e.data = Object.assign({}, opts)
delete e.data.Authorization
throw e
}

@@ -86,0 +96,0 @@ const contentType = response.headers.get('Content-Type')

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