Skip to content

Commit

Permalink
Revert "improve versioning and security fixes"
Browse files Browse the repository at this point in the history
  • Loading branch information
karen-avetisyan-mc authored Oct 7, 2024
1 parent 7370cbd commit f942bc8
Show file tree
Hide file tree
Showing 5 changed files with 1,792 additions and 6,510 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sonar-scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
github.event.pull_request.head.repo.full_name == github.repository ||
github.event_name != 'pull_request_target') }}
run: echo "Unsecure PR, must be labelled with the 'safe' label, then run the workflow again" && exit 1
- name: Use Node.js 16
- name: Use Node.js 13
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 13
- name: Build with npm
run: |
npm ci
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ jobs:
strategy:
matrix:
node-version:
- 16.x
- 17.x
- 18.x
- 19.x
- 10.x
- 11.x
- 12.x
- 13.x
- 14.x
- 15.x
steps:
- uses: actions/checkout@v2
- name: 'Use Node.js ${{ matrix.node-version }}'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ NodeJS library for Mastercard API compliant payload encryption/decryption.
### Compatibility <a name="compatibility"></a>

- NodeJS 6.12.3+
- NodeJS 16.x (JWE features)
- NodeJS 13.14.0+ (JWE features)

There shouldn't be any Node compatibility issues with this package, but it's a good idea to keep your Node versions up-to-date. It is recommended that you use one of the LTS Node.js releases, or one of the more general recent releases. A Node version manager such as `nvm` (_Mac_ and _Linux_) or `nvm-windows` is a good way to stay on top of this.

Expand Down
Loading

0 comments on commit f942bc8

Please sign in to comment.