Socket
Socket
Sign inDemoInstall

@blossm/errors

Package Overview
Dependencies
6
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.30 to 0.0.31

test/conflict.js

6

index.js

@@ -7,2 +7,3 @@ const {

InvalidArgumentError,
ConflictError,
InvalidCredentialsError,

@@ -43,2 +44,6 @@ ForbiddenError,

};
const conflict = {
message: (message, { cause, info } = {}) =>
new ConflictError({ cause, info, toJSON }, message),
};
const preconditionFailed = {

@@ -73,2 +78,3 @@ message: (message, { cause, info } = {}) =>

invalidArgument,
conflict,
forbidden,

@@ -75,0 +81,0 @@ unauthorized,

2

package.json
{
"name": "@blossm/errors",
"version": "0.0.30",
"version": "0.0.31",
"description": "A library of errors that can be thrown by the network.",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc