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

dollars-to-cents

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

dollars-to-cents - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "dollars-to-cents",
"version": "1.0.2",
"version": "1.0.3",
"description": "Convert USD Dollars (formatted string, non-formatted, numerical value) to USD Cents (numerical).",

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

@@ -1,2 +0,2 @@

# Debounce
# Dollars to Cents

@@ -3,0 +3,0 @@ [![version][npm-version]][npm-url]

@@ -6,2 +6,6 @@ /*global describe:false, it:false*/

describe('dollars-to-cents', function () {
it('should properly error on invalid values', function () {
assert.throws(dollarsToCents, Error)
})
it('should properly handle numerical values', function () {

@@ -8,0 +12,0 @@ assert(dollarsToCents(1) === 100)

Sorry, the diff of this file is not supported yet

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