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

commatic

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commatic - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

commatic.js

@@ -9,3 +9,3 @@ module.exports = (num) => {

if (isNaN(num)) {
return `"${num}" is not a number.`
return `'${num}' is not a number.`
}

@@ -17,3 +17,3 @@

if (num < -999999999999998) {
if (num < -9999999999999998) {
return `This number is too large to maintain accuracy.`

@@ -20,0 +20,0 @@ }

@@ -6,3 +6,3 @@ const test = require('./commatic.js')

const NaNInputs = test('Hello')
if (NaNInputs !== '"Hello" is not a number.') {
if (NaNInputs !== "'Hello' is not a number.") {
throw new Error('Commatic is not recognizing non numbers')

@@ -9,0 +9,0 @@ }

{
"name": "commatic",
"version": "1.0.0",
"version": "1.0.1",
"description": "Commatic is a lightweight comma delimiter for formatting numbers into standard form periods. Everyone needs one of these.",

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

# Commatic
_Commatic_ is a lightweight comma delimiter for formatting numbers into standard form periods. Everyone needs one of these.
<img src="https://user-images.githubusercontent.com/45696445/67348320-8456ac80-f512-11e9-9e33-d8b91b7fd283.gif">
_________________________

@@ -7,0 +7,0 @@ ## API

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