Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- [ ] Tested and confirmed flows affected by this change are functioning as expected

## Authors
>

> List GitHub usernames for everyone who contributed to this pull request.

### Reviewers
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: Security

permissions:
contents: write # Needed by both CodeQL and dependency review
pull-requests: write # Needed by dependency review
statuses: write # Needed by dependency review (to post checks)
security-events: write # Needed by CodeQL to upload SARIF
packages: read # Needed by CodeQL for private/internal packs
actions: read # Needed by CodeQL to access internal actions
contents: write # Needed by both CodeQL and dependency review
pull-requests: write # Needed by dependency review
statuses: write # Needed by dependency review (to post checks)
security-events: write # Needed by CodeQL to upload SARIF
packages: read # Needed by CodeQL for private/internal packs
actions: read # Needed by CodeQL to access internal actions

on:
pull_request:
branches: [ main ]
branches: [main]
push:
branches: [ main ]
branches: [main]
workflow_dispatch:

jobs:
Expand All @@ -21,4 +21,4 @@ jobs:
with:
language: javascript-typescript
dependency-review:
uses: braintree/security-workflows/.github/workflows/dependency-review.yml@main
uses: braintree/security-workflows/.github/workflows/dependency-review.yml@main
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
v24
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# UNRELEASED

- Update `credit-card-type` to 10.1.0
- Update dev dependencies
- @types/jest to 30.0.0
- @types/node to 25.0.3
- eslint to 8.57.1
- eslint-plugin-prettier to 5.5.4
- jest to 30.2.0
- jest-environment-jsdom to 30.2.0
- prettier to 3.7.4
- ts-jest to 29.4.6
- typescript to 5.9.3
- Update Node to v24

# 10.0.3

- Updating postal code input to consider strings of length 2 to be valid input to support UK postal code format `XX XXX`.
Expand Down Expand Up @@ -139,7 +154,6 @@ _Breaking Changes_
# 2.2.6

- Fixes cases where card numbers were incorrectly reported as `isPotentiallyValid: false` when more digits could still be entered

- issue #20 and PR #21

# 2.2.5
Expand Down
Loading
Loading