Skip to content

Commit

Permalink
feat!: node version upgrade, axios upgrade (#1391)
Browse files Browse the repository at this point in the history
  • Loading branch information
shrutiburman authored Nov 30, 2023
1 parent b8125d8 commit 8a7e4eb
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
timeout-minutes: 20
strategy:
matrix:
node: [ '6', '7', '8', '10', '12', '14', '16', 'lts' ]
node: [12, 14, 16, lts]
env:
version: ${{ matrix.node }}
DOCKER_LOGIN: ${{ secrets.DOCKER_USERNAME && secrets.DOCKER_AUTH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"moment": "^2.19.3",
"sinon": "^2.3.2",
"sinon-chai": "^2.10.0",
"typescript": "^3.7.4"
"typescript": "^4.0.0"
},
"scripts": {
"lint": "if [ `node --version | cut -d'.' -f1 | cut -c 2` -ge \"8\" ]; then eslint . --fix; else echo \"eslint is not available for node < 8.0\"; fi",
Expand Down
4 changes: 2 additions & 2 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
},
"main": "index.js",
"engines": {
"node": "6.* || 8.* || >=10.*"
"node": ">=12.*"
},
"dependencies": {
"@sendgrid/helpers": "^7.7.0",
"axios": "^0.26.0"
"axios": "^1.6.0"
},
"devDependencies": {
"chai": "4.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/contact-importer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"main": "src/importer.js",
"engines": {
"node": "6.* || 8.* || >=10.*"
"node": ">=12.*"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/eventwebhook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"main": "src/eventwebhook.js",
"engines": {
"node": "6.* || 8.* || >=10.*"
"node": ">=12.*"
},
"dependencies": {
"starkbank-ecdsa": "^1.1.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"access": "public"
},
"engines": {
"node": ">= 6.0.0"
"node": ">= 12.0.0"
},
"tags": [
"sendgrid",
Expand Down
2 changes: 1 addition & 1 deletion packages/inbound-mail-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"main": "src/parser.js",
"engines": {
"node": "6.* || 8.* || >=10.*"
"node": ">=12.*"
},
"dependencies": {
"@sendgrid/helpers": "^7.7.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/mail/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"main": "index.js",
"engines": {
"node": "6.* || 8.* || >=10.*"
"node": ">=12.*"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/subscription-widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"access": "public"
},
"engines": {
"node": "6.* || 8.* || >=10.*"
"node": ">=12.*"
}
}

0 comments on commit 8a7e4eb

Please sign in to comment.