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

@janiscommerce/api-save

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@janiscommerce/api-save - npm Package Compare versions

Comparing version 4.3.2 to 4.4.0

lib/helpers/error-handler.js

4

CHANGELOG.md

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

## [4.4.0] - 2020-04-07
### Added
- Duplicated Key Error handler
## [4.3.2] - 2020-02-18

@@ -10,0 +14,0 @@ ### Changed

3

lib/api-save-data.js

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

const ApiSaveError = require('./api-save-error');
const ErrorHandler = require('./helpers/error-handler');
const EndpointParser = require('./helpers/endpoint-parser');

@@ -76,3 +77,3 @@

} catch(e) {
throw new ApiSaveError(e, ApiSaveError.codes.INTERNAL_ERROR);
ErrorHandler.handle(this, e);
}

@@ -79,0 +80,0 @@ }

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

VALIDATION_ERROR: 3,
DUPLICATED_KEY_ERROR: 98,
INTERNAL_ERROR: 99

@@ -13,0 +14,0 @@ };

{
"name": "@janiscommerce/api-save",
"version": "4.3.2",
"version": "4.4.0",
"description": "A package to handle JANIS Views Save APIs",

@@ -23,3 +23,3 @@ "main": "lib/index.js",

"eslint-config-airbnb-base": "^13.2.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-import": "^2.20.2",
"husky": "^2.7.0",

@@ -38,6 +38,6 @@ "mocha": "^5.2.0",

"dependencies": {
"@janiscommerce/api": "^4.2.2",
"@janiscommerce/api": "^4.2.3",
"lodash.isequal": "^4.5.0",
"superstruct": "^0.6.1"
"superstruct": "0.6.2"
}
}
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