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

fastly

Package Overview
Dependencies
Maintainers
1
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 0.1.1 to 0.1.2

7

lib/index.js

@@ -50,4 +50,9 @@ /**

Fastly.prototype.purgeAll = function (service, callback) {
var url = encodeURIComponent(service) + '/purge_all';
this.request('POST', url, callback);
};
Fastly.prototype.stats = function (service, callback) {
var url = encodeURIComponent(serviceId) + '/stats/summary';
var url = encodeURIComponent(service) + '/stats/summary';
this.request('GET', url, callback);

@@ -54,0 +59,0 @@ };

2

package.json

@@ -7,3 +7,3 @@ {

"keywords": "fastly, api, client",
"version": "0.1.1",
"version": "0.1.2",
"homepage": "https://github.com/thisandagain/fastly",

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

@@ -29,6 +29,5 @@ /**

t.type(fastly.purge, 'function', 'method should be a function');
t.type(fastly.backends, 'function', 'method should be a function');
t.type(fastly.backend, 'function', 'method should be a function');
t.type(fastly.purgeAll, 'function', 'method should be a function');
t.type(fastly.stats, 'function', 'method should be a function');
t.end();
});
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