Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

iin-checker

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iin-checker - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

5

CHANGELOG.md
# Changelog
## **0.1.9**
- [**#25**](https://github.com/Shortbreaks/iinChecker/issues/25) Switched the order of provider checking to get better API output
## **0.1.8**
- [**#19**](https://github.com/Shortbreaks/iinChecker/issues/19) Added in a fall back to RegEx if all providers fail
- [**#17**](https://github.com/Shortbreaks/iinChecker/issues/17) Updated travis file so coveralls doesn't fail
- [**#17**](https://github.com/Shortbreaks/iinChecker/issues/17) Updated travis file so coveralls doesn't fail
- Fixed the grammer on the tests

@@ -7,0 +10,0 @@ - Made test to the same style as the others

24

configs/providers.js
module.exports = [
{
name: "BINLIST",
domain: "http://www.binlist.net",
path: "/json/",
name: "RIBBON",
domain: "https://bins.ribbon.co",
path: "/api/v1/bins/",
map: function( returnedData, nullValue ) {

@@ -10,5 +10,5 @@ return {

brand: returnedData.brand,
issuer: returnedData.bank,
type: returnedData.card_type,
category: returnedData.card_category,
issuer: returnedData.issuer,
type: ( returnedData.type ? returnedData.type : nullValue ),
category: nullValue,
country: returnedData.country_code

@@ -19,5 +19,5 @@ }

{
name: "RIBBON",
domain: "https://bins.ribbon.co",
path: "/api/v1/bins/",
name: "BINLIST",
domain: "http://www.binlist.net",
path: "/json/",
map: function( returnedData, nullValue ) {

@@ -27,5 +27,5 @@ return {

brand: returnedData.brand,
issuer: returnedData.issuer,
type: ( returnedData.type ? returnedData.type : nullValue ),
category: nullValue,
issuer: returnedData.bank,
type: returnedData.card_type,
category: returnedData.card_category,
country: returnedData.country_code

@@ -32,0 +32,0 @@ }

{
"name": "iin-checker",
"description": "Issuer identification number checker which returns details about a credit/debit card",
"version": "0.1.8",
"version": "0.1.9",
"homepage": "https://github.com/Shortbreaks/iinChecker",

@@ -6,0 +6,0 @@ "author": "Simon Wood <simon.wood@holidayextras.com> (https://github.com/Shortbreaks)",

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