Skip to content

Commit

Permalink
Brands
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-brandao committed Sep 9, 2019
1 parent 4b0b0a8 commit dec1c73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion types/american-express.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var Type = require('../type')

module.exports = Type({
name: 'American Express',
name: 'Amex',
digits: 15,
pattern: /^3[47]\d{13}$/,
eagerPattern: /^3[47]/,
Expand Down
2 changes: 1 addition & 1 deletion types/diners-club.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var Type = require('../type')

module.exports = Type({
name: 'Diners Club',
name: 'Diners',
digits: 14,
pattern: /^3(0[0-5]|[68]\d)\d{11}$/,
eagerPattern: /^3(0|[68])/,
Expand Down
2 changes: 1 addition & 1 deletion types/mastercard.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var Type = require('../type')

module.exports = Type({
name: 'Mastercard',
name: 'Master',
pattern: /^(5[1-5][0-9]{2}|222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)\d{12}$/,
eagerPattern: /^(2[3-7]|22[2-9]|5[1-5])/
})

0 comments on commit dec1c73

Please sign in to comment.