From 41ec0fd75d623b6a8c6ea2c868dbbb17b559df5a Mon Sep 17 00:00:00 2001 From: Appurva Murawat Date: Wed, 25 Sep 2024 16:51:18 +0530 Subject: [PATCH] Drop support for Node < v18 --- .github/workflows/ci.yml | 2 +- CHANGELOG.yaml | 2 ++ package-lock.json | 76 ++++++++++++++++++++-------------------- package.json | 12 +++---- 4 files changed, 47 insertions(+), 45 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c0c7e13..2e7a0460 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,7 +64,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [16, 18] + node-version: [18, 20] os: [ubuntu-latest, windows-latest] include: - coverage: true diff --git a/CHANGELOG.yaml b/CHANGELOG.yaml index 3419caa7..55ff6c36 100644 --- a/CHANGELOG.yaml +++ b/CHANGELOG.yaml @@ -1,3 +1,5 @@ +breaking changes: + - GH-1052 Dropped support for Node < v18 unreleased: fixed bugs: - GH-1036 Fixed `uncaughtException` event listener not being removed diff --git a/package-lock.json b/package-lock.json index 59a5dc52..4675e1f0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "lodash": "4.17.21", "postman-collection": "4.5.0", "teleport-javascript": "1.0.0", - "uvm": "3.0.0" + "uvm": "4.0.0" }, "devDependencies": { "@postman/shipit": "^0.4.0", @@ -20,7 +20,7 @@ "@stylistic/eslint-plugin-js": "^1.8.0", "ajv": "6.12.5", "assert": "2.0.0", - "async": "^3.2.5", + "async": "^3.2.6", "atob": "2.1.2", "backbone": "1.6.0", "browserify": "^16.5.2", @@ -49,7 +49,7 @@ "karma-mocha-reporter": "^2.2.5", "liquid-json": "0.3.1", "lodash3": "3.10.2", - "mocha": "^10.7.0", + "mocha": "^10.7.3", "moment": "2.30.1", "nyc": "^15.1.0", "packity": "^0.3.5", @@ -58,15 +58,15 @@ "shelljs": "^0.8.5", "sinon": "^18.0.0", "sinon-chai": "^3.7.0", - "terser": "^5.31.3", + "terser": "^5.33.0", "tsd-jsdoc": "^2.5.0", "tv4": "1.3.0", - "uniscope": "2.2.0", + "uniscope": "3.0.0", "watchify": "^4.0.0", "xml2js": "0.6.2" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/@babel/code-frame": { @@ -1586,9 +1586,9 @@ } }, "node_modules/async": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", - "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==", + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", "dev": true }, "node_modules/atob": { @@ -6151,9 +6151,9 @@ "dev": true }, "node_modules/mocha": { - "version": "10.7.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.7.0.tgz", - "integrity": "sha512-v8/rBWr2VO5YkspYINnvu81inSz2y3ODJrhO175/Exzor1RcEZZkizgE2A+w/CAXXoESS8Kys5E62dOHGHzULA==", + "version": "10.7.3", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.7.3.tgz", + "integrity": "sha512-uQWxAu44wwiACGqjbPYmjo7Lg8sFrS3dQe7PP2FQI+woptP4vZXSMcfMyFL/e1yFEeEpV4RtyTpZROOKmxis+A==", "dev": true, "dependencies": { "ansi-colors": "^4.1.3", @@ -8027,9 +8027,9 @@ "integrity": "sha512-j1llvWVFyEn/6XIFDfX5LAU43DXe0GCt3NfXDwJ8XpRRMkS+i50SAkonAONBy+vxwPFBd50MFU8a2uj8R/ccLg==" }, "node_modules/terser": { - "version": "5.31.3", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.3.tgz", - "integrity": "sha512-pAfYn3NIZLyZpa83ZKigvj6Rn9c/vd5KfYGX7cN1mnzqgDcxWvrU5ZtAfIKhEXz9nRecw4z3LXkjaq96/qZqAA==", + "version": "5.33.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.33.0.tgz", + "integrity": "sha512-JuPVaB7s1gdFKPKTelwUyRq5Sid2A3Gko2S0PncwdBq7kN9Ti9HPWDQ06MPsEDGsZeVESjKEnyGy68quBk1w6g==", "dev": true, "dependencies": { "@jridgewell/source-map": "^0.3.3", @@ -8322,12 +8322,12 @@ "dev": true }, "node_modules/uniscope": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/uniscope/-/uniscope-2.2.0.tgz", - "integrity": "sha512-9afpYDKpjC0WFd0rPlSnjGUbqP5mP6U1ZqU6NrrF6ga8uCoJH2eysB5b1nAPIyFQ4jeCadQQOsKqtIMk5/VueQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/uniscope/-/uniscope-3.0.0.tgz", + "integrity": "sha512-mdAXZIBm5iuJYWFoCcSMu2eZT5DiNWFMYOxplmPmQudktorFjzgdgYQX+bWVLWSfAbRFBfaDiNE6Y2VkiH9jBw==", "dev": true, "engines": { - "node": ">=10" + "node": ">=18" } }, "node_modules/universalify": { @@ -8423,14 +8423,14 @@ } }, "node_modules/uvm": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/uvm/-/uvm-3.0.0.tgz", - "integrity": "sha512-dATVpxsNfFBpHNdq6sy4/CV2UnoRbV8tvvkK0VrUPnm+o7dK6fnir4LEm8czeDdpbw2KKDKjIPcRSZY4AEwEZA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/uvm/-/uvm-4.0.0.tgz", + "integrity": "sha512-eD52y5MkTftMnfVd0TXZFNRfetFsNnFziv+JsRjfCkvWDc5BTPwccihsk2kVpUFoVnxlkjOVAsB1SakPYsaQRA==", "dependencies": { "flatted": "3.3.1" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/vary": { @@ -10154,9 +10154,9 @@ "dev": true }, "async": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", - "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==", + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", "dev": true }, "atob": { @@ -13722,9 +13722,9 @@ "dev": true }, "mocha": { - "version": "10.7.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.7.0.tgz", - "integrity": "sha512-v8/rBWr2VO5YkspYINnvu81inSz2y3ODJrhO175/Exzor1RcEZZkizgE2A+w/CAXXoESS8Kys5E62dOHGHzULA==", + "version": "10.7.3", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.7.3.tgz", + "integrity": "sha512-uQWxAu44wwiACGqjbPYmjo7Lg8sFrS3dQe7PP2FQI+woptP4vZXSMcfMyFL/e1yFEeEpV4RtyTpZROOKmxis+A==", "dev": true, "requires": { "ansi-colors": "^4.1.3", @@ -15174,9 +15174,9 @@ "integrity": "sha512-j1llvWVFyEn/6XIFDfX5LAU43DXe0GCt3NfXDwJ8XpRRMkS+i50SAkonAONBy+vxwPFBd50MFU8a2uj8R/ccLg==" }, "terser": { - "version": "5.31.3", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.3.tgz", - "integrity": "sha512-pAfYn3NIZLyZpa83ZKigvj6Rn9c/vd5KfYGX7cN1mnzqgDcxWvrU5ZtAfIKhEXz9nRecw4z3LXkjaq96/qZqAA==", + "version": "5.33.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.33.0.tgz", + "integrity": "sha512-JuPVaB7s1gdFKPKTelwUyRq5Sid2A3Gko2S0PncwdBq7kN9Ti9HPWDQ06MPsEDGsZeVESjKEnyGy68quBk1w6g==", "dev": true, "requires": { "@jridgewell/source-map": "^0.3.3", @@ -15394,9 +15394,9 @@ "dev": true }, "uniscope": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/uniscope/-/uniscope-2.2.0.tgz", - "integrity": "sha512-9afpYDKpjC0WFd0rPlSnjGUbqP5mP6U1ZqU6NrrF6ga8uCoJH2eysB5b1nAPIyFQ4jeCadQQOsKqtIMk5/VueQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/uniscope/-/uniscope-3.0.0.tgz", + "integrity": "sha512-mdAXZIBm5iuJYWFoCcSMu2eZT5DiNWFMYOxplmPmQudktorFjzgdgYQX+bWVLWSfAbRFBfaDiNE6Y2VkiH9jBw==", "dev": true }, "universalify": { @@ -15481,9 +15481,9 @@ "dev": true }, "uvm": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/uvm/-/uvm-3.0.0.tgz", - "integrity": "sha512-dATVpxsNfFBpHNdq6sy4/CV2UnoRbV8tvvkK0VrUPnm+o7dK6fnir4LEm8czeDdpbw2KKDKjIPcRSZY4AEwEZA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/uvm/-/uvm-4.0.0.tgz", + "integrity": "sha512-eD52y5MkTftMnfVd0TXZFNRfetFsNnFziv+JsRjfCkvWDc5BTPwccihsk2kVpUFoVnxlkjOVAsB1SakPYsaQRA==", "requires": { "flatted": "3.3.1" } diff --git a/package.json b/package.json index 5c14baba..72e15854 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "lodash": "4.17.21", "postman-collection": "4.5.0", "teleport-javascript": "1.0.0", - "uvm": "3.0.0" + "uvm": "4.0.0" }, "devDependencies": { "@postman/shipit": "^0.4.0", @@ -53,7 +53,7 @@ "@stylistic/eslint-plugin-js": "^1.8.0", "ajv": "6.12.5", "assert": "2.0.0", - "async": "^3.2.5", + "async": "^3.2.6", "atob": "2.1.2", "backbone": "1.6.0", "browserify": "^16.5.2", @@ -82,7 +82,7 @@ "karma-mocha-reporter": "^2.2.5", "liquid-json": "0.3.1", "lodash3": "3.10.2", - "mocha": "^10.7.0", + "mocha": "^10.7.3", "moment": "2.30.1", "nyc": "^15.1.0", "packity": "^0.3.5", @@ -91,14 +91,14 @@ "shelljs": "^0.8.5", "sinon": "^18.0.0", "sinon-chai": "^3.7.0", - "terser": "^5.31.3", + "terser": "^5.33.0", "tsd-jsdoc": "^2.5.0", "tv4": "1.3.0", - "uniscope": "2.2.0", + "uniscope": "3.0.0", "watchify": "^4.0.0", "xml2js": "0.6.2" }, "engines": { - "node": ">=16" + "node": ">=18" } }