Merge pull request #513 from ing-bank/fix/useIbanTools
fix(input-iban): use ibantools (offers es module now)
This commit is contained in:
commit
e805f3f593
5 changed files with 10 additions and 10 deletions
|
|
@ -32,12 +32,12 @@
|
||||||
"*.js"
|
"*.js"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@bundled-es-modules/ibantools": "2.0.0",
|
|
||||||
"@lion/core": "0.4.1",
|
"@lion/core": "0.4.1",
|
||||||
"@lion/field": "0.8.1",
|
"@lion/field": "0.8.1",
|
||||||
"@lion/input": "0.5.1",
|
"@lion/input": "0.5.1",
|
||||||
"@lion/localize": "0.8.1",
|
"@lion/localize": "0.8.1",
|
||||||
"@lion/validate": "0.6.1"
|
"@lion/validate": "0.6.1",
|
||||||
|
"ibantools": "^2.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@open-wc/demoing-storybook": "^1.8.3",
|
"@open-wc/demoing-storybook": "^1.8.3",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { friendlyFormatIBAN } from '@bundled-es-modules/ibantools';
|
import { friendlyFormatIBAN } from 'ibantools';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Takes an unformatted IBAN and returns a formatted one.
|
* Takes an unformatted IBAN and returns a formatted one.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { isValidIBAN } from '@bundled-es-modules/ibantools';
|
import { isValidIBAN } from 'ibantools';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parses an IBAN trimming spaces and making uppercase.
|
* Parses an IBAN trimming spaces and making uppercase.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
/* eslint-disable max-classes-per-file */
|
/* eslint-disable max-classes-per-file */
|
||||||
|
|
||||||
import { isValidIBAN } from '@bundled-es-modules/ibantools/ibantools.js';
|
import { isValidIBAN } from 'ibantools';
|
||||||
import { Validator } from '@lion/validate';
|
import { Validator } from '@lion/validate';
|
||||||
import { localize } from '@lion/localize';
|
import { localize } from '@lion/localize';
|
||||||
|
|
||||||
|
|
|
||||||
10
yarn.lock
10
yarn.lock
|
|
@ -1055,11 +1055,6 @@
|
||||||
resolved "https://registry.yarnpkg.com/@bundled-es-modules/fetch-mock/-/fetch-mock-6.5.2.tgz#f68d78dba49ffcb5b58bede5974c8a9dd035a6fb"
|
resolved "https://registry.yarnpkg.com/@bundled-es-modules/fetch-mock/-/fetch-mock-6.5.2.tgz#f68d78dba49ffcb5b58bede5974c8a9dd035a6fb"
|
||||||
integrity sha512-i5y9thASLbTakBAFRKa+6v4KdPwEd7dqQwVhJIptllx6bORjT2ApjFkBZRGLgonyqT31CbbOQPJK1JBK4Ph6+g==
|
integrity sha512-i5y9thASLbTakBAFRKa+6v4KdPwEd7dqQwVhJIptllx6bORjT2ApjFkBZRGLgonyqT31CbbOQPJK1JBK4Ph6+g==
|
||||||
|
|
||||||
"@bundled-es-modules/ibantools@2.0.0":
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@bundled-es-modules/ibantools/-/ibantools-2.0.0.tgz#9b7abff7991e7d8a40e84de05ed2f8ce93569967"
|
|
||||||
integrity sha512-G2EuL5ysiMvqGV6d/+PfNTkxU0Qm8AUfu6QU6Vmc9ZsHsA06nSWy/YH4nK3lRobdRbX3eMHhpR4Fhk2/bFZeuA==
|
|
||||||
|
|
||||||
"@bundled-es-modules/message-format@6.0.4":
|
"@bundled-es-modules/message-format@6.0.4":
|
||||||
version "6.0.4"
|
version "6.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/@bundled-es-modules/message-format/-/message-format-6.0.4.tgz#232da6877adb960f6c8f598c72588a84352de147"
|
resolved "https://registry.yarnpkg.com/@bundled-es-modules/message-format/-/message-format-6.0.4.tgz#232da6877adb960f6c8f598c72588a84352de147"
|
||||||
|
|
@ -7598,6 +7593,11 @@ husky@^1.0.0:
|
||||||
run-node "^1.0.0"
|
run-node "^1.0.0"
|
||||||
slash "^2.0.0"
|
slash "^2.0.0"
|
||||||
|
|
||||||
|
ibantools@^2.2.0:
|
||||||
|
version "2.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/ibantools/-/ibantools-2.2.0.tgz#39f73a88b54f760975929ed21bb0be1161de9c5b"
|
||||||
|
integrity sha512-avdGWvx7KCeb6HROtSdl2hvcvU5MJVU837dshNZjq2j6lVsgVmQGA9N7IAbI7bfXMTRvRXzTRaNNck9khL1CjA==
|
||||||
|
|
||||||
iconv-lite@0.4.24, iconv-lite@^0.4.15, iconv-lite@^0.4.24, iconv-lite@~0.4.13:
|
iconv-lite@0.4.24, iconv-lite@^0.4.15, iconv-lite@^0.4.24, iconv-lite@~0.4.13:
|
||||||
version "0.4.24"
|
version "0.4.24"
|
||||||
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
|
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue