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

creditable

Package Overview
Dependencies
Maintainers
1
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.5 to 1.0.6

6

creditablecardtype.js

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

var types = {
MASTERCARD: /^5[1-5]/,
MASTERCARD: /^(2[2-7]|5[1-5])/, // 22-27 and 51-55
VISA: /^4/,
DISCOVER: /^6(011|5)/,
AMEX: /^3[47]/
DISCOVER: /^6(011|5)/, // 6011 or 65
AMEX: /^3[47]/ // 34 or 37
};

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

{
"name": "creditable",
"version": "1.0.5",
"version": "1.0.6",
"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