New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@janiscommerce/api

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@janiscommerce/api - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

4

CHANGELOG.md

@@ -9,2 +9,6 @@ # Changelog

## [5.0.1] - 2020-06-18
### Removed
- Removed useless API inheritance validation
## [5.0.0] - 2020-06-15

@@ -11,0 +15,0 @@ ### Changed

5

lib/fetcher.js

@@ -5,3 +5,2 @@ 'use strict';

const API = require('./api');
const APIError = require('./error');

@@ -95,6 +94,2 @@

// Validate api inheritance
if(!(apiController instanceof API))
throw new APIError(`API '${apiController.constructor.name}' does not inherit from 'API'`, APIError.codes.INVALID_API);
// Validate api process method

@@ -101,0 +96,0 @@ if(!apiController.process || typeof apiController.process !== 'function')

{
"name": "@janiscommerce/api",
"version": "5.0.0",
"version": "5.0.1",
"description": "A package for managing API from any origin",

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

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