Socket
Socket
Sign inDemoInstall

cleaner-node

Package Overview
Dependencies
Maintainers
1
Versions
175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cleaner-node - npm Package Compare versions

Comparing version 0.5.6 to 0.5.7

2

package.json
{
"name": "cleaner-node",
"version": "0.5.6",
"version": "0.5.7",
"description": "Helpful utilities and scripts to make Node projects more legible and easier for the next developer to take over.",

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

@@ -17,2 +17,9 @@ const constants = require('./constants');

if (typeof errorOrMessage === 'number' && typeof status === 'string') {
const num = errorOrMessage;
const msg = status;
status = num;
errorOrMessage = msg;
}
const message = (typeof errorOrMessage === 'string')

@@ -19,0 +26,0 @@ ? errorOrMessage

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