@mamba/input
Advanced tools
Comparing version 2.2.2 to 2.2.3
@@ -6,2 +6,93 @@ # Change Log | ||
## 2.2.3 (2019-02-12) | ||
### Bug Fixes | ||
* 🐛 Remove invalid "width: block" ([63fe39b](https://github.com/stone-payments/pos-mamba-sdk/commit/63fe39b)) | ||
# 2.2.0 (2019-01-31) | ||
# 2.0.0 (2018-12-11) | ||
# 1.0.0-rc.27 (2018-10-31) | ||
# 1.0.0-rc.26 (2018-10-31) | ||
# 1.0.0-rc.24 (2018-10-22) | ||
# 1.0.0-rc.22 (2018-10-19) | ||
# 1.0.0-rc.21 (2018-10-17) | ||
# 1.0.0-rc.20 (2018-10-16) | ||
# 1.0.0-rc.19 (2018-10-02) | ||
# 1.0.0-rc.18 (2018-10-02) | ||
# 1.0.0-rc.17 (2018-10-02) | ||
# 1.0.0-rc.15 (2018-09-27) | ||
# 1.0.0-rc.14 (2018-09-27) | ||
# 1.0.0-rc.13 (2018-09-26) | ||
# 1.0.0-rc.12 (2018-09-26) | ||
# 1.0.0-rc.11 (2018-09-26) | ||
# 1.0.0-rc.10 (2018-09-24) | ||
# 1.0.0-rc.9 (2018-09-21) | ||
# 1.0.0-rc.8 (2018-09-21) | ||
# 1.0.0-rc.7 (2018-09-20) | ||
## [2.2.2](https://github.com/stone-payments/pos-mamba-sdk/compare/v2.2.1...v2.2.2) (2019-02-07) | ||
@@ -8,0 +99,0 @@ |
import MoneyInput from './Money.html'; | ||
import formatMoney from './libs/formatMoney.js'; | ||
import System from '../../pos/api/system.js'; | ||
@@ -54,17 +53,2 @@ | ||
describe('Format Money', () => { | ||
it('should return a string', () => { | ||
expect(typeof formatMoney(100)).toBe('string'); | ||
}); | ||
it('should separate cents using comma', () => { | ||
expect(formatMoney(100).split(',').length).toBe(2); | ||
}); | ||
it('should add . every 3 digits', () => { | ||
expect(formatMoney(100)).not.toContain('.'); | ||
expect(formatMoney(10000)).toContain('.'); | ||
}); | ||
}); | ||
describe('Keypressed Actions', () => { | ||
@@ -71,0 +55,0 @@ beforeAll(() => { |
{ | ||
"name": "@mamba/input", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"svelte": "Input.html", | ||
@@ -17,4 +17,4 @@ "author": "Stone Payments - Mamba Team", | ||
"devDependencies": { | ||
"@mamba/pos": "^2.2.2", | ||
"@mamba/styles": "^2.2.2" | ||
"@mamba/pos": "^2.2.3", | ||
"@mamba/styles": "^2.2.3" | ||
}, | ||
@@ -25,5 +25,6 @@ "peerDependencies": { | ||
"dependencies": { | ||
"@mamba/icon": "^2.2.2" | ||
"@mamba/icon": "^2.2.3", | ||
"@mamba/utils": "^2.3.0" | ||
}, | ||
"gitHead": "ac18deb54cb0436e18c77aa49b081a3e9115c034" | ||
"gitHead": "12b55f68202147190d1c105867b95ebc678afa93" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49071
3
12
521
+ Added@mamba/utils@^2.3.0
+ Added@babel/runtime@7.25.4(transitive)
+ Added@mamba/utils@2.40.1(transitive)
+ Addeddate-fns@2.30.0(transitive)
+ Addeddate-fns-tz@1.3.8(transitive)
+ Addedregenerator-runtime@0.14.1(transitive)
Updated@mamba/icon@^2.2.3