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

node-code-error

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-code-error - npm Package Compare versions

Comparing version 0.1.32 to 0.1.33

4

index.js

@@ -69,3 +69,5 @@ 'use strict'

Errors.wrap = function (err, type) {
type = type || 'system'
if (!type) {
type = err.status || err.statusCode || err.code || 500
}
var Err = this.get(type)

@@ -72,0 +74,0 @@ if (!Err) return null

{
"name": "node-code-error",
"version": "0.1.32",
"version": "0.1.33",
"description": "define node error with code",

@@ -5,0 +5,0 @@ "main": "./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