card-validator
Advanced tools
Comparing version 7.0.0 to 7.0.1
@@ -0,1 +1,5 @@ | ||
# 7.0.1 | ||
- Fixup export for credit-card-type for typescript projects (closes #79) | ||
# 7.0.0 | ||
@@ -2,0 +6,0 @@ |
@@ -0,1 +1,2 @@ | ||
import * as creditCardType from "credit-card-type"; | ||
export { cardNumber as number } from "./card-number"; | ||
@@ -7,2 +8,2 @@ export { expirationDate } from "./expiration-date"; | ||
export { postalCode } from "./postal-code"; | ||
export * as creditCardType from "credit-card-type"; | ||
export { creditCardType }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var creditCardType = require("credit-card-type"); | ||
exports.creditCardType = creditCardType; | ||
var card_number_1 = require("./card-number"); | ||
@@ -15,2 +17,1 @@ exports.number = card_number_1.cardNumber; | ||
exports.postalCode = postal_code_1.postalCode; | ||
exports.creditCardType = require("credit-card-type"); |
{ | ||
"name": "card-validator", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "A library for validating credit card fields", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -249,3 +249,3 @@ # Credit Card Validator [![Build Status](https://travis-ci.org/braintree/card-validator.svg)](https://travis-ci.org/braintree/card-validator) [![npm version](https://badge.fury.io/js/card-validator.svg)](http://badge.fury.io/js/card-validator) | ||
The `maxElapsedYear` has a default value of 19. It can be overridden by passing in an `integer` as a second argument. | ||
The `maxElapsedYear` parameter determines how many years in the future a card's expiration date should be considered valid. It has a default value of 19, so cards with an expiration date 20 or more years in the future would not be considered valid. It can be overridden by passing in an `integer` as a second argument. | ||
@@ -291,3 +291,3 @@ ```javascript | ||
The `maxElapsedYear` has a default value of 19. It can be overridden by passing in an `integer` as a second argument. | ||
The `maxElapsedYear` parameter determines how many years in the future a card's expiration date should be considered valid. It has a default value of 19, so cards with an expiration date 20 or more years in the future would not be considered valid. It can be overridden by passing in an `integer` as a second argument. | ||
@@ -294,0 +294,0 @@ ```javascript |
@@ -0,1 +1,3 @@ | ||
import * as creditCardType from "credit-card-type"; | ||
export { cardNumber as number } from "./card-number"; | ||
@@ -7,2 +9,3 @@ export { expirationDate } from "./expiration-date"; | ||
export { postalCode } from "./postal-code"; | ||
export * as creditCardType from "credit-card-type"; | ||
export { creditCardType }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
111803
3282
0