Skip to content

Commit

Permalink
Release v1.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Feb 4, 2021
1 parent 3a5c151 commit 69d7dcd
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import { clabe } from 'clabe-validator';
```
Or for older CommonJS environments:
```javascript
const clabe = require('clabe-validator');
const clabe = require('clabe-validator'); //deprecated
```

**Note:** _Release v1.4.0 contains a significant number of bank and city code additions plus
Expand Down
2 changes: 1 addition & 1 deletion dist/clabe.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! CLABE Validator v1.5.4 ~ github.com/center-key/clabe-validator ~ MIT License
//! CLABE Validator v1.5.5 ~ github.com/center-key/clabe-validator ~ MIT License

export declare type ClabeBank = {
tag?: string;
Expand Down
6 changes: 4 additions & 2 deletions dist/clabe.esm.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! CLABE Validator v1.5.4 ~ github.com/center-key/clabe-validator ~ MIT License
//! CLABE Validator v1.5.5 ~ github.com/center-key/clabe-validator ~ MIT License

const clabe = {
version: '1.5.4',
version: '1.5.5',
computeChecksum(clabeNum17) {
const x = (i) => [3, 7, 1][i % 3];
const add = (sum, digit, i) => sum + (Number(digit) * x(i)) % 10;
Expand Down Expand Up @@ -574,6 +574,7 @@ const clabe = {
[434, 'Ixtlahuaca MX-MEX'],
[435, 'Jilotepec MX-MEX'],
[436, 'Jocotitlan MX-MEX'],
[437, 'Chimalhuacan MX-MEX'],
[437, 'La Paz (Reyes Acaq.) MX-MEX'],
[438, 'Lerma MX-MEX'],
[439, 'Luvianos MX-MEX'],
Expand Down Expand Up @@ -783,6 +784,7 @@ const clabe = {
[653, 'Amozoc MX-PUE'],
[654, 'Atlixco MX-PUE'],
[655, 'Ciudad Serdan MX-PUE'],
[655, 'Los Heroes de Puebla MX-PUE'],
[656, 'Cuetzalan MX-PUE'],
[657, 'Chiautla MX-PUE'],
[658, 'Chignahuapan MX-PUE'],
Expand Down
6 changes: 4 additions & 2 deletions dist/clabe.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! CLABE Validator v1.5.4 ~ github.com/center-key/clabe-validator ~ MIT License
//! CLABE Validator v1.5.5 ~ github.com/center-key/clabe-validator ~ MIT License

const clabe = {
version: '1.5.4',
version: '1.5.5',
computeChecksum(clabeNum17) {
const x = (i) => [3, 7, 1][i % 3];
const add = (sum, digit, i) => sum + (Number(digit) * x(i)) % 10;
Expand Down Expand Up @@ -574,6 +574,7 @@ const clabe = {
[434, 'Ixtlahuaca MX-MEX'],
[435, 'Jilotepec MX-MEX'],
[436, 'Jocotitlan MX-MEX'],
[437, 'Chimalhuacan MX-MEX'],
[437, 'La Paz (Reyes Acaq.) MX-MEX'],
[438, 'Lerma MX-MEX'],
[439, 'Luvianos MX-MEX'],
Expand Down Expand Up @@ -783,6 +784,7 @@ const clabe = {
[653, 'Amozoc MX-PUE'],
[654, 'Atlixco MX-PUE'],
[655, 'Ciudad Serdan MX-PUE'],
[655, 'Los Heroes de Puebla MX-PUE'],
[656, 'Cuetzalan MX-PUE'],
[657, 'Chiautla MX-PUE'],
[658, 'Chignahuapan MX-PUE'],
Expand Down
4 changes: 2 additions & 2 deletions dist/clabe.min.js

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions dist/clabe.umd.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! CLABE Validator v1.5.4 ~ github.com/center-key/clabe-validator ~ MIT License
//! CLABE Validator v1.5.5 ~ github.com/center-key/clabe-validator ~ MIT License

(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
Expand All @@ -13,7 +13,7 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.clabe = void 0;
const clabe = {
version: '1.5.4',
version: '1.5.5',
computeChecksum(clabeNum17) {
const x = (i) => [3, 7, 1][i % 3];
const add = (sum, digit, i) => sum + (Number(digit) * x(i)) % 10;
Expand Down Expand Up @@ -586,6 +586,7 @@
[434, 'Ixtlahuaca MX-MEX'],
[435, 'Jilotepec MX-MEX'],
[436, 'Jocotitlan MX-MEX'],
[437, 'Chimalhuacan MX-MEX'],
[437, 'La Paz (Reyes Acaq.) MX-MEX'],
[438, 'Lerma MX-MEX'],
[439, 'Luvianos MX-MEX'],
Expand Down Expand Up @@ -795,6 +796,7 @@
[653, 'Amozoc MX-PUE'],
[654, 'Atlixco MX-PUE'],
[655, 'Ciudad Serdan MX-PUE'],
[655, 'Los Heroes de Puebla MX-PUE'],
[656, 'Cuetzalan MX-PUE'],
[657, 'Chiautla MX-PUE'],
[658, 'Chignahuapan MX-PUE'],
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "clabe-validator",
"version": "1.5.4",
"description": "JavaScript library to analyze or create a CLABE number for a Mexican bank account",
"version": "1.5.5",
"description": "Analyze or create a CLABE number for a Mexican bank account (written in TypeScript)",
"license": "MIT",
"type": "module",
"main": "dist/clabe.umd.cjs",
Expand Down Expand Up @@ -56,10 +56,10 @@
]
},
"scripts": {
"lint": "jshint *.js spec/*.js && eslint --max-warnings 0 . --ext .ts && gulp lint-html",
"tsc": "tsc --version && tsc --project . --removeComments && tsc --project . --module UMD --removeComments --outDir build/umd",
"lint": " jshint *.js spec/*.js && eslint --max-warnings 0 . --ext .ts && gulp lint-html",
"tsc": " tsc --version && tsc --project . --removeComments && tsc --project . --module UMD --removeComments --outDir build/umd",
"pretest": "npm run lint && rimraf build dist **/.DS_Store && npm run tsc && gulp make-dist",
"test": "mocha spec"
"test": " mocha spec"
},
"dependencies": {},
"devDependencies": {
Expand All @@ -70,7 +70,7 @@
"@typescript-eslint/parser": "~4.14",
"babel-minify": "~0.5",
"dna.js": "~1.7",
"eslint": "~7.18",
"eslint": "~7.19",
"gulp": "~4.0",
"gulp-append-prepend": "~1.0",
"gulp-babel": "~8.0",
Expand Down

0 comments on commit 69d7dcd

Please sign in to comment.