New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

add-commas

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

add-commas - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

4

index.js
module.exports = function (n) {
var nInt = parseInt(n, 10);
if (nInt === NaN) {
if (Number.isNaN(nInt)) {
throw new Error('not a number');

@@ -22,2 +22,2 @@ }

}
};
};
{
"name": "add-commas",
"version": "0.0.1",
"version": "0.0.2",
"description": "Add commas to a number",

@@ -18,3 +18,3 @@ "main": "index.js",

"author": "Eric Capps",
"license": "ISC",
"license": "MIT",
"bugs": {

@@ -21,0 +21,0 @@ "url": "https://github.com/cappslock/add-commas/issues"

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