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

captain-order-coupon

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

captain-order-coupon - npm Package Compare versions

Comparing version 0.3.7 to 0.3.8

2

dist/index.js

@@ -925,3 +925,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

formatAmount: function formatAmount(amount) {
return (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 0);
return (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 2);
}

@@ -928,0 +928,0 @@ }

@@ -620,3 +620,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

formatAmount: function formatAmount(amount) {
return (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 0);
return (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 2);
}

@@ -623,0 +623,0 @@ }

{
"name": "captain-order-coupon",
"version": "0.3.7",
"version": "0.3.8",
"description": "下单页优惠券组件",

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

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