Skip to content

Commit 97ed846

Browse files
Bump tmp and rewire (#81)
* Bump tmp and rewire Removes [tmp](https://github.com/raszi/node-tmp). It's no longer used after updating ancestor dependency [rewire](https://github.com/jhnns/rewire). These dependencies need to be updated together. Removes `tmp` Updates `rewire` from 5.0.0 to 9.0.0 - [Release notes](https://github.com/jhnns/rewire/releases) - [Changelog](https://github.com/jhnns/rewire/blob/master/CHANGELOG.md) - [Commits](jhnns/rewire@v5.0.0...v9.0.0) --- updated-dependencies: - dependency-name: tmp dependency-version: dependency-type: indirect - dependency-name: rewire dependency-version: 9.0.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> * Updating to node v 17 * Updating to node v 17 Rewrite 9.0.0 is not compatible with node 16 * Updating to node v 17 * Terminating support for node 16 Need to upgrade Rewire to 9.0.0 to fix vulnerabilities. This is incompatible with node 16. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: ShimonaR-MC <[email protected]>
1 parent 90547a8 commit 97ed846

File tree

6 files changed

+634
-1207
lines changed

6 files changed

+634
-1207
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v4
1212
- uses: actions/setup-node@v4
1313
with:
14-
node-version: 16
14+
node-version: 17
1515
- run: npm ci
1616
- run: npm test
1717

@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@v4
2323
- uses: actions/setup-node@v4
2424
with:
25-
node-version: 16
25+
node-version: 17
2626
registry-url: https://registry.npmjs.org
2727
- run: npm ci
2828
- run: npm publish

.github/workflows/sonar-scanner.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
github.event.pull_request.head.repo.full_name == github.repository ||
2121
github.event_name != 'pull_request_target') }}
2222
run: echo "Unsecure PR, must be labelled with the 'safe' label, then run the workflow again" && exit 1
23-
- name: Use Node.js 16
23+
- name: Use Node.js 17
2424
uses: actions/setup-node@v1
2525
with:
26-
node-version: 16
26+
node-version: 17
2727
- name: Build with npm
2828
run: |
2929
npm ci

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
strategy:
1616
matrix:
1717
node-version:
18-
- 16.x
1918
- 17.x
2019
- 18.x
2120
- 19.x

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
NodeJS library for Mastercard API compliant payload encryption/decryption.
2929

3030
### Compatibility <a name="compatibility"></a>
31-
- NodeJS 16+
31+
- NodeJS 17+
3232

3333
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.
3434

0 commit comments

Comments
 (0)