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
2
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.3.0 to 1.3.1

5

dist/convert.js

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

const iin = parseInt(IssuerIdentifierNumber[0].replace(/ /g, ''), 10);
const key = `${countryCode}${issuerIdentifierNumber}`;
const emailRegEx = /e-mail ?: ?(.+)/i;

@@ -33,3 +34,3 @@ const companyURLs = Contact.reduce((urls, s) => {

...list,
[iin]: {
[key]: {
iin,

@@ -46,3 +47,3 @@ countryCode: parseInt(countryCode, 10),

`import {IssuerList} from './types';`,
`export const iinRegEx = /^(${Object.keys(list).join('|')})/;`,
`export const iinRegEx = /^89(${Object.keys(list).join('|')})/;`,
`export const e118IINList: IssuerList = ${JSON.stringify(list, null, 2)} as const;`,

@@ -49,0 +50,0 @@ ].join('\n\n'), { parser: 'typescript' }), 'utf-8');

4

dist/identifyIssuer.js

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

return Option_1.none;
const iin = iinMatch[0];
const issuer = list_1.e118IINList[iin];
return Option_1.some(issuer);
return Option_1.some(list_1.e118IINList[iinMatch[1]]);
};
{
"name": "e118-iin-list",
"version": "1.3.0",
"version": "1.3.1",
"description": "List of issuer identifier numbers for the international telecommunication charge card (ITU-T E.118)",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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