New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

e118-iin-list

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

e118-iin-list - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

cli.js

4

dist/convert.js

@@ -19,5 +19,3 @@ "use strict";

const iin = parseInt(IssuerIdentifierNumber[0].replace(/ /g, ''), 10);
if (list[iin])
throw new Error(`Duplicate IIN: ${iin}!`);
const emailRegEx = /e-mail: (.+)/i;
const emailRegEx = /e-mail ?: ?(.+)/i;
const companyURLs = Contact.reduce((urls, s) => {

@@ -24,0 +22,0 @@ const m = emailRegEx.exec(s);

@@ -17,7 +17,29 @@ "use strict";

],
['8931089318104284409F', Option_1.none],
['89882806660004909182', Option_1.none],
[
'8931089318104284409F',
Option_1.some({
companyName: 'KPN Telecom B.V., Card Services',
countryCode: 31,
countryName: 'Netherlands',
iin: 893108,
issuerIdentifierNumber: '08',
}),
],
[
'89882806660004909182',
Option_1.some({
iin: 8988280,
countryCode: 882,
issuerIdentifierNumber: '80',
countryName: 'Germany',
companyName: '1NCE GmbH',
companyURLs: ['https://1nce.com/'],
}),
],
])('should identify the issuer', (iccid, issuer) => {
expect(identifyIssuer_1.identifyIssuer(iccid)).toEqual(issuer);
});
it('should not identify unknown issuers', () => {
expect(identifyIssuer_1.identifyIssuer('123456')).toEqual(Option_1.none);
});
});
{
"name": "e118-iin-list",
"version": "1.0.0",
"version": "1.1.0",
"description": "List of issuer identifier numbers for the international telecommunication charge card (ITU-T E.118)",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"bin": "cli.js",
"scripts": {

@@ -78,3 +79,4 @@ "test": "jest",

"LICENSE",
"README.md"
"README.md",
"cli.js"
],

@@ -81,0 +83,0 @@ "jest": {

@@ -1,3 +0,4 @@

# e118-iin-list
# 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/cellprobe/e118-iin-list/workflows/Test%20and%20Release/badge.svg)](https://github.com/cellprobe/e118-iin-list/actions)
[![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)

@@ -9,10 +10,14 @@ [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

List of issuer identification numbers for the international telecommunication
charge card (ITU-T E.118).
charge card (ITU-T E.118). Up-to-date with
[Operational Bulletin No. 1195 (1.V.2020)](https://www.itu.int/pub/publications.aspx?parent=T-SP-OB.1195-2020)
(data source as
[Google Spreadsheet](https://docs.google.com/spreadsheets/d/1ErJzksU5bF2YA8tQQ9QJleEZHsdvDRDk0Rvi0nf3fh4/edit?usp=sharing)).
Motivation for this list: Since E.118's issuer identification number is of
variable length (it can be 4–7 digits) an
[ICCID](https://en.wikipedia.org/wiki/E.118#ICCID) (the serial number of SIM
cards) needs to be matched against a list of known IINs in order to determine
the SIM issuer.
## Motivation
Since E.118's issuer identification number is of variable length (it can be 4–7
digits) an [ICCID](https://en.wikipedia.org/wiki/E.118#ICCID) (the serial number
of SIM cards) needs to be matched against a list of known IINs in order to
determine the SIM issuer.
## Usage

@@ -66,10 +71,11 @@

- http://www.itu.int/pub/T-SP-E.118
- https://www.itu.int/pub/T-SP-OB.1183-2019
- https://www.itu.int/pub/T-SP-OB
Process:
1. Download the latest Word Document from http://www.itu.int/pub/T-SP-E.118, and
copy and past the table into a
[Google Spreadsheet](https://docs.google.com/spreadsheets/d/1ErJzksU5bF2YA8tQQ9QJleEZHsdvDRDk0Rvi0nf3fh4/edit?usp=sharing).
2. Export that to CSV and store it as `list.csv`
3. Convert to JSON using `npm run convert`
1. Download the latest Word Documents from http://www.itu.int/pub/T-SP-E.118,
and copy and past the table into a Google Spreadsheet
2. Download the operational bulletins from https://www.itu.int/pub/T-SP-OB and
incorporate the changes into the spreadsheet
3. Export that to CSV and store it as `list.csv`
4. Convert to JSON using `npm run convert`

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc