New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

netlify

Package Overview
Dependencies
Maintainers
10
Versions
180
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.0-beta.2 to 2.0.0-beta.3

2

package.json
{
"name": "netlify",
"description": "Netlify Node.js API client",
"version": "2.0.0-beta.2",
"version": "2.0.0-beta.3",
"author": "Netlify Inc.",

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

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

const camelCase = require('lodash.camelcase')
const { JSONHTTPError, TextHTTPError, HTTPError, getPagination } = require('micro-api-client')
const { JSONHTTPError, TextHTTPError, HTTPError } = require('micro-api-client')

@@ -85,2 +85,3 @@ function existy(val) {

const response = await fetch(path, opts)
const contentType = response.headers.get('Content-Type')

@@ -94,4 +95,6 @@

}
const pagination = getPagination(response)
return pagination ? { pagination, items: json } : json
// TODO: Support pagination
// const pagination = getPagination(response)
// return pagination ? { pagination, items: json } : json
return json
} catch (e) {

@@ -98,0 +101,0 @@ throw new HTTPError(response)

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