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

comerr

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

comerr - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

10

lib/index.js

@@ -34,5 +34,6 @@

var name = codes[code],
message = name,
className = name.replace(/\s+/g, "");
var name = codes[code],
message = name,
className = name.replace(/\s+/g, ""),
ccName = className.substr(0, 1).toLowerCase() + className.substr(1)

@@ -45,2 +46,3 @@ if(exports[className]) {

err.code = code;
err[ccName] = true;
if(tags) err.tags = tags;

@@ -67,3 +69,3 @@ return err;

//newer - better support against browsers
exports[className.substr(0, 1).toLowerCase() + className.substr(1)] = Err.fn = function(message, tags) {
exports[ccName] = Err.fn = function(message, tags) {
return addInfo(new Error(message || name), tags);

@@ -70,0 +72,0 @@ }

2

package.json
{
"name": "comerr",
"version": "0.0.6",
"version": "0.0.7",
"description": "ERROR: No README.md file found!",

@@ -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