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

fastly

Package Overview
Dependencies
Maintainers
3
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastly - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

9

lib/index.js

@@ -49,6 +49,9 @@ /**

}, function (err, response, body) {
if (response) {
var statusCode = response.statusCode;
if (!err && (statusCode < 200 || statusCode > 302))
err = new Error(body);
if (err) err.statusCode = statusCode;
}
if (err) return callback(err);
if (response.statusCode < 200) return callback(body);
if (response.statusCode > 302) return callback(body);
if (response.headers['content-type'] === 'application/json') {

@@ -55,0 +58,0 @@ try {

@@ -12,3 +12,3 @@ {

"keywords": "fastly, api, client",
"version": "1.1.0",
"version": "1.2.0",
"homepage": "https://github.com/thisandagain/fastly",

@@ -15,0 +15,0 @@ "repository": {

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