Comparing version 1.0.2 to 1.0.3
@@ -11,3 +11,3 @@ /*! | ||
* @see module:ibantools | ||
* @version 1.0.1 | ||
* @version 1.0.3 | ||
* @license MPL-2.0 | ||
@@ -242,3 +242,3 @@ */ | ||
countrySpecs['FR'] = { chars: 27, bban_regexp: '^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$', name: 'France' }; | ||
countrySpecs['GE'] = { chars: 22, bban_regexp: '^[A-Z0-9]{2}[0-9]{16}$', name: 'Georgia (country)' }; | ||
countrySpecs['GE'] = { chars: 22, bban_regexp: '^[A-Z0-9]{2}[0-9]{16}$', name: 'Georgia' }; | ||
countrySpecs['DE'] = { chars: 22, bban_regexp: '^[0-9]{18}$', name: 'Germany' }; | ||
@@ -288,4 +288,5 @@ countrySpecs['GI'] = { chars: 23, bban_regexp: '^[A-Z]{4}[A-Z0-9]{15}$', name: 'Gibraltar' }; | ||
countrySpecs['TR'] = { chars: 26, bban_regexp: '^[0-9]{5}[A-Z0-9]{17}$', name: 'Turkey' }; | ||
countrySpecs['UA'] = { chars: 29, bban_regexp: '^[0-9]{6}[A-Z0-9]{19}$', name: 'Ukraine' }; | ||
countrySpecs['AE'] = { chars: 23, bban_regexp: '^[0-9]{3}[0-9]{16}$', name: 'United Arab Emirates' }; | ||
countrySpecs['GB'] = { chars: 22, bban_regexp: '^[A-Z]{4}[0-9]{14}$', name: 'United Kingdom' }; | ||
countrySpecs['VG'] = { chars: 24, bban_regexp: '^[A-Z0-9]{4}[0-9]{16}$', name: 'British Virgin Islands' }; |
@@ -11,3 +11,3 @@ /*! | ||
* @see module:ibantools | ||
* @version 1.0.1 | ||
* @version 1.0.3 | ||
* @license MPL-2.0 | ||
@@ -235,3 +235,3 @@ */ | ||
countrySpecs['FR'] = { chars: 27, bban_regexp: '^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$', name: 'France' }; | ||
countrySpecs['GE'] = { chars: 22, bban_regexp: '^[A-Z0-9]{2}[0-9]{16}$', name: 'Georgia (country)' }; | ||
countrySpecs['GE'] = { chars: 22, bban_regexp: '^[A-Z0-9]{2}[0-9]{16}$', name: 'Georgia' }; | ||
countrySpecs['DE'] = { chars: 22, bban_regexp: '^[0-9]{18}$', name: 'Germany' }; | ||
@@ -281,4 +281,5 @@ countrySpecs['GI'] = { chars: 23, bban_regexp: '^[A-Z]{4}[A-Z0-9]{15}$', name: 'Gibraltar' }; | ||
countrySpecs['TR'] = { chars: 26, bban_regexp: '^[0-9]{5}[A-Z0-9]{17}$', name: 'Turkey' }; | ||
countrySpecs['UA'] = { chars: 29, bban_regexp: '^[0-9]{6}[A-Z0-9]{19}$', name: 'Ukraine' }; | ||
countrySpecs['AE'] = { chars: 23, bban_regexp: '^[0-9]{3}[0-9]{16}$', name: 'United Arab Emirates' }; | ||
countrySpecs['GB'] = { chars: 22, bban_regexp: '^[A-Z]{4}[0-9]{14}$', name: 'United Kingdom' }; | ||
countrySpecs['VG'] = { chars: 24, bban_regexp: '^[A-Z0-9]{4}[0-9]{16}$', name: 'British Virgin Islands' }; |
{ | ||
"name": "ibantools", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Validation of IBAN numbers and generation of IBAN's plus some other helpful stuff", | ||
@@ -13,2 +13,6 @@ "keywords": [ | ||
"jsnext:main": "es6/ibantools.js", | ||
"jspm": { | ||
"main": "es6/ibantools.js", | ||
"format": "esm" | ||
}, | ||
"files": [ | ||
@@ -63,4 +67,5 @@ "build", | ||
"run-sequence": "^1.1", | ||
"typings": "^0.6" | ||
"typescript": "^1.8", | ||
"typings": "^0.7" | ||
} | ||
} |
@@ -53,11 +53,11 @@ # IBANTools | ||
Use node module, not bower. | ||
Use node, not bower module. | ||
If you are using ES6-aware tools, like a [rollup](https://github.com/rollup/rollup) or [JSPM](http://jspm.io/) that understand 'jsnext:main', those will automatically select ES6 module from the package. | ||
If you are using ES6-aware tools, like a [rollup](https://github.com/rollup/rollup) or [JSPM](http://jspm.io/), they will automatically select ES6 module from the package. | ||
### With TypeScript | ||
#### Typings (suggested way) | ||
#### Typings (new way) | ||
TODO! | ||
Include ibantools as dependency and run `typings install`. | ||
@@ -88,7 +88,7 @@ #### TSD (old way) | ||
* `npm install` and after `node node_modules/.bin/tsd install` (or better install `tsd` globally and run `tsd install`). | ||
* `npm install` and after `node node_modules/.bin/typings install` (or run `typings install` if you have typings installed globally). | ||
* Write tests for your changes in `test/IBANToolsTest.ts`. | ||
* Do not write more tests in `karma/ibantoolsSpec.js` unless module have problem with loading using AMD. | ||
* Before making pull requests run `gulp all-with-tests`. | ||
* Try not to make pull requests with changes in `dist` of `build` directories. | ||
* Try not to make pull requests with changes in `dist`, `es6` or `build` directories. | ||
@@ -95,0 +95,0 @@ ## License |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
52231
714
0
21