From a7b31dbe2c9dcde775558a986b767d62dddf8e10 Mon Sep 17 00:00:00 2001 From: shrutiburman <87537688+shrutiburman@users.noreply.github.com> Date: Thu, 30 Nov 2023 10:55:24 +0530 Subject: [PATCH 1/6] Update package.json --- packages/client/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/package.json b/packages/client/package.json index 94281bf0d..82e8c7fe5 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -24,11 +24,11 @@ }, "main": "index.js", "engines": { - "node": "6.* || 8.* || >=10.*" + "node": ">=10.*" }, "dependencies": { "@sendgrid/helpers": "^7.7.0", - "axios": "^0.26.0" + "axios": "^1.6.0" }, "devDependencies": { "chai": "4.2.0", From e76d79155379403fec0691470dd8c324ac4e2210 Mon Sep 17 00:00:00 2001 From: shrutiburman <87537688+shrutiburman@users.noreply.github.com> Date: Thu, 30 Nov 2023 10:57:42 +0530 Subject: [PATCH 2/6] Update test-and-deploy.yml --- .github/workflows/test-and-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index b0b5ee81b..b52169ee9 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: [10, 12, 14, 16, lts] env: version: ${{ matrix.node }} DOCKER_LOGIN: ${{ secrets.DOCKER_USERNAME && secrets.DOCKER_AUTH_TOKEN }} From 00a202cc07a68f001e3ae090fe56d9a5fc84b92d Mon Sep 17 00:00:00 2001 From: shrutiburman <87537688+shrutiburman@users.noreply.github.com> Date: Thu, 30 Nov 2023 11:07:07 +0530 Subject: [PATCH 3/6] Update package.json --- packages/client/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/package.json b/packages/client/package.json index 82e8c7fe5..2ec7bae96 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -24,7 +24,7 @@ }, "main": "index.js", "engines": { - "node": ">=10.*" + "node": "6.* || 8.* || >=10.*" }, "dependencies": { "@sendgrid/helpers": "^7.7.0", From 4b45cafac61703c50503319af532c9b5aa4141a3 Mon Sep 17 00:00:00 2001 From: shrutiburman <87537688+shrutiburman@users.noreply.github.com> Date: Thu, 30 Nov 2023 11:31:51 +0530 Subject: [PATCH 4/6] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", From e58139434e3676c40279fc057fcfaaec1cf1f43b Mon Sep 17 00:00:00 2001 From: sburman Date: Thu, 30 Nov 2023 11:36:57 +0530 Subject: [PATCH 5/6] Update test-and-deploy.yml --- .github/workflows/test-and-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index b52169ee9..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: [10, 12, 14, 16, lts] + node: [12, 14, 16, lts] env: version: ${{ matrix.node }} DOCKER_LOGIN: ${{ secrets.DOCKER_USERNAME && secrets.DOCKER_AUTH_TOKEN }} From bc7a4a7c1bd54c54e6e21776cb0cbc405356a0bf Mon Sep 17 00:00:00 2001 From: sburman Date: Thu, 30 Nov 2023 11:46:47 +0530 Subject: [PATCH 6/6] drop v6, v8 --- packages/client/package.json | 2 +- packages/contact-importer/package.json | 2 +- packages/eventwebhook/package.json | 2 +- packages/helpers/package.json | 2 +- packages/inbound-mail-parser/package.json | 2 +- packages/mail/package.json | 2 +- packages/subscription-widget/package.json | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/client/package.json b/packages/client/package.json index 2ec7bae96..e713ef34b 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -24,7 +24,7 @@ }, "main": "index.js", "engines": { - "node": "6.* || 8.* || >=10.*" + "node": ">=12.*" }, "dependencies": { "@sendgrid/helpers": "^7.7.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.*" } }