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

creditable

Package Overview
Dependencies
Maintainers
5
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

creditable - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

6

creditablecardtype.js

@@ -9,3 +9,4 @@ // Input a credit card number string, returns a key signifying the type of credit card it is

DISCOVER: "DISCOVER",
AMEX: "AMEX"
AMEX: "AMEX",
JCB: "JCB"
};

@@ -26,2 +27,5 @@

// 35
types[ keys.JCB ] = /^35/;
function CreditableCardType( val ) {

@@ -28,0 +32,0 @@ for( var j in types ) {

3

creditablesecuritycode.js

@@ -9,3 +9,4 @@ // Input a credit card number string, returns a key signifying the type of credit card it is

DISCOVER: 3,
AMEX: 4
AMEX: 4,
JCB: 3
};

@@ -12,0 +13,0 @@

{
"name": "creditable",
"version": "1.0.9",
"version": "1.0.10",
"description": "Utilities for working with credit card form input.",

@@ -5,0 +5,0 @@ "main": "creditablecardtype.js",

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