Browse Source

#231: Wrong prefix of Laser credit card number

nghuuphuoc 11 years ago
parent
commit
df5b0c7b97

+ 1 - 0
CHANGELOG.md

@@ -13,6 +13,7 @@
 * [#206](https://github.com/nghuuphuoc/bootstrapvalidator/issues/206): Indicate success/error tab
 * [#206](https://github.com/nghuuphuoc/bootstrapvalidator/issues/206): Indicate success/error tab
 * [#220](https://github.com/nghuuphuoc/bootstrapvalidator/issues/220): Add UK postcode support for the [```zipCode``` validator](http://bootstrapvalidator.com/validators/zip-code/)
 * [#220](https://github.com/nghuuphuoc/bootstrapvalidator/issues/220): Add UK postcode support for the [```zipCode``` validator](http://bootstrapvalidator.com/validators/zip-code/)
 * [#229](https://github.com/nghuuphuoc/bootstrapvalidator/issues/229): The [```date``` validator](http://bootstrapvalidator.com/validators/date/) supports seconds
 * [#229](https://github.com/nghuuphuoc/bootstrapvalidator/issues/229): The [```date``` validator](http://bootstrapvalidator.com/validators/date/) supports seconds
+* [#231](https://github.com/nghuuphuoc/bootstrapvalidator/issues/231): Wrong prefix of Laser credit card number
 
 
 ## v0.4.3 (2014-04-26)
 ## v0.4.3 (2014-04-26)
 
 

+ 2 - 2
dist/js/bootstrapValidator.js

@@ -1063,7 +1063,7 @@
                 },
                 },
                 LASER: {
                 LASER: {
                     length: [16, 17, 18, 19],
                     length: [16, 17, 18, 19],
-                    prefix: ['3528', '3529', '353', '354', '355', '356', '357', '358']
+                    prefix: ['6304', '6706', '6771', '6709']
                 },
                 },
                 MAESTRO: {
                 MAESTRO: {
                     length: [12, 13, 14, 15, 16, 17, 18, 19],
                     length: [12, 13, 14, 15, 16, 17, 18, 19],
@@ -1171,7 +1171,7 @@
                 },
                 },
                 LASER: {
                 LASER: {
                     length: [16, 17, 18, 19],
                     length: [16, 17, 18, 19],
-                    prefix: ['3528', '3529', '353', '354', '355', '356', '357', '358']
+                    prefix: ['6304', '6706', '6771', '6709']
                 },
                 },
                 MAESTRO: {
                 MAESTRO: {
                     length: [12, 13, 14, 15, 16, 17, 18, 19],
                     length: [12, 13, 14, 15, 16, 17, 18, 19],

File diff suppressed because it is too large
+ 2 - 2
dist/js/bootstrapValidator.min.js


+ 1 - 1
src/js/validator/creditCard.js

@@ -55,7 +55,7 @@
                 },
                 },
                 LASER: {
                 LASER: {
                     length: [16, 17, 18, 19],
                     length: [16, 17, 18, 19],
-                    prefix: ['3528', '3529', '353', '354', '355', '356', '357', '358']
+                    prefix: ['6304', '6706', '6771', '6709']
                 },
                 },
                 MAESTRO: {
                 MAESTRO: {
                     length: [12, 13, 14, 15, 16, 17, 18, 19],
                     length: [12, 13, 14, 15, 16, 17, 18, 19],

+ 1 - 1
src/js/validator/cvv.js

@@ -64,7 +64,7 @@
                 },
                 },
                 LASER: {
                 LASER: {
                     length: [16, 17, 18, 19],
                     length: [16, 17, 18, 19],
-                    prefix: ['3528', '3529', '353', '354', '355', '356', '357', '358']
+                    prefix: ['6304', '6706', '6771', '6709']
                 },
                 },
                 MAESTRO: {
                 MAESTRO: {
                     length: [12, 13, 14, 15, 16, 17, 18, 19],
                     length: [12, 13, 14, 15, 16, 17, 18, 19],