New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.35 to 0.1.36

3

index.js

@@ -52,5 +52,6 @@ 'use strict'

arr.forEach(function (item, ind) {
var codePart = maps[ind][item]
var codePart = maps[ind] && maps[ind][item]
if (codePart !== undefined) code += codePart
})
if (!code) return 0
return +code

@@ -57,0 +58,0 @@ }

{
"name": "node-code-error",
"version": "0.1.35",
"version": "0.1.36",
"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