e118-iin-list
Advanced tools
Comparing version 4.0.1 to 4.1.0
@@ -37,4 +37,15 @@ import { identifyIssuer } from './identifyIssuer.js'; | ||
], | ||
[ | ||
'89852202401310123456', | ||
{ | ||
iin: 8985220, | ||
countryCode: 852, | ||
issuerIdentifierNumber: '20', | ||
countryName: 'Hong Kong, China', | ||
companyName: 'Internet Initiative Japan Inc.', | ||
companyURLs: ['http://iij.ad.jp'], | ||
}, | ||
], | ||
]) { | ||
void it(`should identify the ICCID ${iccid} as ${issuer}`, () => assert.deepEqual(identifyIssuer(iccid), issuer)); | ||
void it(`should identify the ICCID ${iccid} as ${JSON.stringify(issuer)}`, () => assert.deepEqual(identifyIssuer(iccid), issuer)); | ||
} | ||
@@ -41,0 +52,0 @@ void it('should not identify unknown issuers', () => assert.equal(identifyIssuer('123456'), undefined)); |
{ | ||
"name": "e118-iin-list", | ||
"version": "4.0.1", | ||
"version": "4.1.0", | ||
"description": "List of issuer identifier numbers for the international telecommunication charge card (ITU-T E.118)", | ||
@@ -14,3 +14,3 @@ "type": "module", | ||
"convert": "node dist/convert.js", | ||
"prepare": "husky install" | ||
"prepare": "husky" | ||
}, | ||
@@ -36,14 +36,15 @@ "repository": { | ||
"devDependencies": { | ||
"@commitlint/cli": "18.4.3", | ||
"@commitlint/config-angular": "18.4.3", | ||
"@nordicsemiconductor/asset-tracker-cloud-code-style": "13.0.0", | ||
"@commitlint/cli": "18.6.0", | ||
"@commitlint/config-conventional": "18.6.0", | ||
"@nordicsemiconductor/asset-tracker-cloud-code-style": "13.1.15", | ||
"@nordicsemiconductor/eslint-config-asset-tracker-cloud-typescript": "17.0.0", | ||
"@types/node": "20.10.0", | ||
"@typescript-eslint/eslint-plugin": "6.13.1", | ||
"@types/node": "20.11.17", | ||
"@typescript-eslint/eslint-plugin": "6.21.0", | ||
"csv-parser": "3.0.0", | ||
"eslint-config-prettier": "9.0.0", | ||
"eslint-plugin-import": "2.29.0", | ||
"eslint-config-prettier": "9.1.0", | ||
"eslint-plugin-import": "2.29.1", | ||
"eslint-plugin-prefer-arrow": "1.2.3", | ||
"eslint-plugin-unicorn": "49.0.0", | ||
"typescript": "5.3.2" | ||
"eslint-plugin-unicorn": "51.0.1", | ||
"husky": "9.0.10", | ||
"typescript": "5.3.3" | ||
}, | ||
@@ -50,0 +51,0 @@ "lint-staged": { |
# e118-iin-list [![npm version](https://img.shields.io/npm/v/e118-iin-list.svg)](https://www.npmjs.com/package/e118-iin-list) | ||
[![GitHub Actions](https://github.com/NordicSemiconductor/e118-iin-list-js/workflows/Test%20and%20Release/badge.svg)](https://github.com/NordicSemiconductor/e118-iin-list-js/actions) | ||
[![Mergify Status](https://img.shields.io/endpoint.svg?url=https://dashboard.mergify.io/badges/NordicSemiconductor/e118-iin-list-js&style=flat)](https://mergify.io) | ||
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) | ||
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) | ||
[![@commitlint/config-conventional](https://img.shields.io/badge/%40commitlint-config--conventional-brightgreen)](https://github.com/conventional-changelog/commitlint/tree/master/@commitlint/config-conventional) | ||
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier/) | ||
@@ -16,3 +15,3 @@ [![ESLint: TypeScript](https://img.shields.io/badge/ESLint-TypeScript-blue.svg)](https://github.com/typescript-eslint/typescript-eslint) | ||
> Up-to-date with | ||
> [Operational Bulletin No. 1270 (15.VI.2023)](https://www.itu.int/pub/T-SP-OB.1270-2023) | ||
> [Operational Bulletin No. 1285 (1.II.2024)](https://www.itu.int/pub/T-SP-OB.1285-2024) | ||
> and also includes | ||
@@ -19,0 +18,0 @@ > [E.164 shared country code entries](http://www.itu.int/net/itu-t/inrdb/e164_intlsharedcc.aspx?cc=881,882,883) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
298973
13
7546
111