Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

couponable

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

couponable - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

2

bower.json
{
"name": "couponable",
"version": "1.1.0",
"version": "1.2.0",
"description": "Helper functions for dealing with coupons.",

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

@@ -47,3 +47,9 @@ function priceFormat(amountInCents) {

return total * quantity;
total = total * quantity;
if (orderItem.totalTaxInCents) {
total = total + orderItem.totalTaxInCents;
}
return total;
}

@@ -50,0 +56,0 @@

{
"name": "couponable",
"description": "Helper functions for dealing with coupons.",
"version": "1.1.0",
"version": "1.2.0",
"author": "Chris McC",

@@ -6,0 +6,0 @@ "license": "MIT",

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