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

rest-facade

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rest-facade - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

2

package.json
{
"name": "rest-facade",
"version": "1.7.0",
"version": "1.7.1",
"description": "Simple abstraction for consuming REST API endpoints",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -5,6 +5,7 @@ var util = require('util');

var APIError = function(name, message, status){
this.name = name || '';
this.message = message || '';
this.statusCode = status;
Error.captureStackTrace(this, this.constructor);
this.name = name;
this.message = message;
this.statusCode = status;
};

@@ -11,0 +12,0 @@

@@ -5,5 +5,6 @@ var util = require('util');

var ArgumentError = function(message){
this.name = 'ArgumentError';
this.message = message || '';
Error.captureStackTrace(this, this.constructor);
this.name = 'ArgumentError';
this.message = message;
};

@@ -10,0 +11,0 @@

Sorry, the diff of this file is not supported yet

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