Socket
Socket
Sign inDemoInstall

@mamba/input

Package Overview
Dependencies
Maintainers
3
Versions
210
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.2 to 2.2.3

91

CHANGELOG.md

@@ -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 @@

16

Money.test.js
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(() => {

11

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc