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

credit-card-type

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

credit-card-type - npm Package Versions

134

7.1.0

Diff

Changelog

Source

7.1.0

  • Add support for Elo card type
  • Adds updateCard method (#77)
braintree
published 7.0.0 •

Changelog

Source

7.0.0

  • Updates "master-card" enum to "mastercard"
braintree
published 6.3.0 •

Changelog

Source

6.3.0

  • Add support for MIR card type (thanks @antongolub)
braintree
published 6.2.0 •

Changelog

Source

6.2.0

  • Allow custom card brands to be added
braintree
published 6.1.1 •

Changelog

Source

6.1.1

  • Correct Mastercard bin range for series 2 bins
braintree
published 6.1.0 •

Changelog

Source

6.1.0

  • Add support for JCB cards of length 17, 18, and 19 (#54, thanks @zeh)
braintree
published 6.0.0 •

Changelog

Source

6.0.0

  • Update mastercard niceType property to Mastercard to match new brand guidelines

Breaking Changes

  • Remove internal properties prefixPattern and exactPattern from returned object
braintree
published 5.0.4 •

Changelog

Source

5.0.4

  • Correct Discover to respect lengths for international cards
  • Make Maestro pattern more exact
braintree
published 5.0.3 •

Changelog

Source

5.0.3

  • Fix prefix pattern for MasterCard numbers starting with 27
braintree
published 5.0.2 •

Changelog

Source

5.0.2

  • Fix checking for UnionPay ranges
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