Comparing version 2.0.0-beta.2 to 2.0.0-beta.3
{ | ||
"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) |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
46590
972
7