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 2.2.0 to 2.2.1

2

lib/index.js

@@ -48,3 +48,3 @@ var request = require('request');

if (err) return callback(err);
if (response.headers['content-type'] === 'application/json') {
if (response.headers['content-type'].indexOf('application/json') === 0) { // jshint ignore:line
try {

@@ -51,0 +51,0 @@ body = JSON.parse(body);

@@ -14,3 +14,3 @@ {

"keywords": "fastly, api, client",
"version": "2.2.0",
"version": "2.2.1",
"homepage": "https://github.com/thisandagain/fastly",

@@ -26,7 +26,7 @@ "repository": {

"dependencies": {
"request": "~2.79.0"
"request": "~2.88.0"
},
"devDependencies": {
"jshint": "~2.5.0",
"tap": "~0.3.3"
"jshint": "2.9.6",
"tap": "12.0.1"
},

@@ -33,0 +33,0 @@ "optionalDependencies": {},

@@ -34,3 +34,3 @@ ## fastly

<td><pre lang="javascript"><code>fastly.purge('host.com', '/index.html', callback);</code></pre></td>
<td><a href="https://www.fastly.com/docs/api/purge">Link</a></td>
<td><a href="https://docs.fastly.com/api/purge">Link</a></td>
</tr>

@@ -40,3 +40,3 @@ <tr>

<td><pre lang="javascript"><code>fastly.purgeAll('myServiceId', callback);</code></pre></td>
<td><a href="https://www.fastly.com/docs/api/purge">Link</a></td>
<td><a href="https://docs.fastly.com/api/purge">Link</a></td>
</tr>

@@ -46,3 +46,3 @@ <tr>

<td><pre lang="javascript"><code>fastly.purgeKey('myServiceId', 'key', callback);</code></pre></td>
<td><a href="https://www.fastly.com/docs/api/purge">Link</a></td>
<td><a href="https://docs.fastly.com/api/purge">Link</a></td>
</tr>

@@ -52,3 +52,3 @@ <tr>

<td><pre lang="javascript"><code>fastly.softPurgeKey('myServiceId', 'key', callback);</code></pre></td>
<td><a href="https://www.fastly.com/docs/api/purge">Link</a></td>
<td><a href="https://docs.fastly.com/api/purge">Link</a></td>
</tr>

@@ -58,3 +58,3 @@ <tr>

<td><pre lang="javascript"><code>fastly.stats('myServiceId', callback);</code></pre></td>
<td><a href="https://www.fastly.com/docs/api/stats">Link</a></td>
<td><a href="https://docs.fastly.com/api/stats">Link</a></td>
</tr>

@@ -61,0 +61,0 @@ <tr>

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