diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index b0b5ee81b..45bcdb075 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -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 }} diff --git a/package.json b/package.json index 628a4aced..bb189642e 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/packages/client/package.json b/packages/client/package.json index 94281bf0d..e713ef34b 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -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", diff --git a/packages/contact-importer/package.json b/packages/contact-importer/package.json index 437d42730..89f150785 100644 --- a/packages/contact-importer/package.json +++ b/packages/contact-importer/package.json @@ -20,7 +20,7 @@ }, "main": "src/importer.js", "engines": { - "node": "6.* || 8.* || >=10.*" + "node": ">=12.*" }, "publishConfig": { "access": "public" diff --git a/packages/eventwebhook/package.json b/packages/eventwebhook/package.json index 1092b2b20..ed134b4cd 100644 --- a/packages/eventwebhook/package.json +++ b/packages/eventwebhook/package.json @@ -17,7 +17,7 @@ }, "main": "src/eventwebhook.js", "engines": { - "node": "6.* || 8.* || >=10.*" + "node": ">=12.*" }, "dependencies": { "starkbank-ecdsa": "^1.1.1" diff --git a/packages/helpers/package.json b/packages/helpers/package.json index 55c57bf6c..552d6efcb 100644 --- a/packages/helpers/package.json +++ b/packages/helpers/package.json @@ -23,7 +23,7 @@ "access": "public" }, "engines": { - "node": ">= 6.0.0" + "node": ">= 12.0.0" }, "tags": [ "sendgrid", diff --git a/packages/inbound-mail-parser/package.json b/packages/inbound-mail-parser/package.json index c3cfdac9f..e3354475c 100644 --- a/packages/inbound-mail-parser/package.json +++ b/packages/inbound-mail-parser/package.json @@ -23,7 +23,7 @@ }, "main": "src/parser.js", "engines": { - "node": "6.* || 8.* || >=10.*" + "node": ">=12.*" }, "dependencies": { "@sendgrid/helpers": "^7.7.0", diff --git a/packages/mail/package.json b/packages/mail/package.json index 5e4857231..61575c1f9 100644 --- a/packages/mail/package.json +++ b/packages/mail/package.json @@ -21,7 +21,7 @@ }, "main": "index.js", "engines": { - "node": "6.* || 8.* || >=10.*" + "node": ">=12.*" }, "publishConfig": { "access": "public" diff --git a/packages/subscription-widget/package.json b/packages/subscription-widget/package.json index 93a11d883..b2bd07aea 100644 --- a/packages/subscription-widget/package.json +++ b/packages/subscription-widget/package.json @@ -21,6 +21,6 @@ "access": "public" }, "engines": { - "node": "6.* || 8.* || >=10.*" + "node": ">=12.*" } }