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

gerardolima-number-formatter

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gerardolima-number-formatter - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

14

index.js

@@ -1,11 +0,3 @@

'use strict';
/**
* Adds commas to a number
* @param {number} number
* @param {string} locale
* @return {string}
*/
module.exports = function(number, locale) {
return number.toLocaleString(locale);
};
"use strict";
var myLocaleString = require("./src/myLocaleString");
module.exports = myLocaleString;
{
"name": "gerardolima-number-formatter",
"version": "1.0.3",
"version": "1.0.4",
"description": "Test for creating a Npm package.",

@@ -8,2 +8,4 @@ "main": "index.js",

"test": "mocha --reporter spec",
"clean": "rm -rf *.js",
"build": "tsc index.ts --module commonjs",
"cover": "node_modules/istanbul/lib/cli.js cover node_modules/mocha/bin/_mocha -- -R spec test/*"

@@ -29,4 +31,5 @@ },

"istanbul": "^0.4.5",
"mocha": "^3.1.0"
"mocha": "^3.1.0",
"typescript": "^2.0.3"
}
}
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