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

netlify

Package Overview
Dependencies
Maintainers
1
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 0.3.0 to 0.3.1

10

lib/client.js

@@ -76,3 +76,3 @@ var base64 = require('base64-js'),

type: "post",
url: "/oath/token",
url: "/oauth/token",
raw_path: true,

@@ -324,6 +324,6 @@ contentType: "application/x-www-form-urlencoded",

var meta = {},
links = res.getHeader && res.getHeader("Link"),
limit = res.getHeader && res.getHeader("X-Ratelimit-Limit"),
remaining = res.getHeader && res.getHeader("X-Ratelimit-Remaining"),
reset = res.getHeader && res.getHeader("X-Ratelimit-Reset");
links = res.headers && res.headers.link,
limit = res.headers && res.headers["x-ratelimit-limit"],
remaining = res.headers && res.headers["x-ratelimit-remaining"],
reset = res.headers && res.headers["x-ratelimit-reset"];

@@ -330,0 +330,0 @@ if (links) {

@@ -5,3 +5,3 @@ {

"description": "Netlify API client",
"version": "0.3.0",
"version": "0.3.1",
"bugs": {

@@ -8,0 +8,0 @@ "url": "https://github.com/netlify/netlify-js/issues"

@@ -35,5 +35,3 @@ if (typeof(require) !== 'undefined') {

response.statusCode = test.status;
response.getHeader = function(header) {
return test.headers && test.headers[header];
};
response.headers = test.headers;

@@ -184,3 +182,3 @@ setTimeout(function() {

headers: {
"Link": '<https://api.netlify.com/api/v1/sites?page=3&per_page=4>; rel="next", <https://api.netlify.com/api/v1/sites?page=5&per_page=4>; rel="last"'
link: '<https://api.netlify.com/api/v1/sites?page=3&per_page=4>; rel="next", <https://api.netlify.com/api/v1/sites?page=5&per_page=4>; rel="last"'
},

@@ -187,0 +185,0 @@ response: [{id: 1}, {id: 2}, {id: 3}, {id: 4}]

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