diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3cf9494..1a816ba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,10 +16,14 @@ jobs: fail-fast: false matrix: node-version: + # Explicitly test minimum Node.js versions. Keep in sync with package.json. + - 20.19.0 - 20 + - 22.12.0 - 22 - - 24 - - latest + - 24.0.0 + - lts/* # currently 24 + - latest # currently 25 steps: - uses: actions/checkout@v6 - uses: actions/setup-node@v6 diff --git a/package-lock.json b/package-lock.json index 4d8d01d..e7dbe99 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,16 +10,16 @@ "license": "MIT", "dependencies": { "whatwg-mimetype": "^5.0.0", - "whatwg-url": "^15.1.0" + "whatwg-url": "^16.0.0" }, "devDependencies": { - "@domenic/eslint-config": "^4.0.1", + "@domenic/eslint-config": "^4.1.0", "c8": "^10.1.3", "eslint": "^9.39.2", - "globals": "^17.0.0" + "globals": "^17.3.0" }, "engines": { - "node": ">=20" + "node": "^20.19.0 || ^22.12.0 || >=24.0.0" } }, "node_modules/@bcoe/v8-coverage": { @@ -33,9 +33,9 @@ } }, "node_modules/@domenic/eslint-config": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@domenic/eslint-config/-/eslint-config-4.0.1.tgz", - "integrity": "sha512-klsa5/rFKJWaoCa/HI/H7FcoCyDIR62pVUHtyfN6GwYQqoorECOC8hluSotQDIUxP7bopWRMznsnZMLNE6CgDQ==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@domenic/eslint-config/-/eslint-config-4.1.0.tgz", + "integrity": "sha512-I9CLi2qmin09ZnmRIGYu1703pr4/TqMlSbromGgRWHlu78nk44O+Sx0I/OPRHkiTvuThYYSYw6UtJ9NdmNi2GA==", "dev": true, "license": "Apache-2.0", "peerDependencies": { @@ -199,6 +199,23 @@ "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, + "node_modules/@exodus/bytes": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@exodus/bytes/-/bytes-1.11.0.tgz", + "integrity": "sha512-wO3vd8nsEHdumsXrjGO/v4p6irbg7hy9kvIeR6i2AwylZSk4HJdWgL0FNaVquW1+AweJcdvU1IEpuIWk/WaPnA==", + "license": "MIT", + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=24.0.0" + }, + "peerDependencies": { + "@noble/hashes": "^1.8.0 || ^2.0.0" + }, + "peerDependenciesMeta": { + "@noble/hashes": { + "optional": true + } + } + }, "node_modules/@humanfs/core": { "version": "0.19.1", "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", @@ -999,9 +1016,9 @@ } }, "node_modules/globals": { - "version": "17.0.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-17.0.0.tgz", - "integrity": "sha512-gv5BeD2EssA793rlFWVPMMCqefTlpusw6/2TbAVMy0FzcG8wKJn4O+NqJ4+XWmmwrayJgw5TzrmWjFgmz1XPqw==", + "version": "17.3.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-17.3.0.tgz", + "integrity": "sha512-yMqGUQVVCkD4tqjOJf3TnrvaaHDMYp4VlUSObbkIiuCPe/ofdMBFIAcBbCSRFWOnos6qRiTVStDwqPLUclaxIw==", "dev": true, "license": "MIT", "engines": { @@ -1736,16 +1753,17 @@ } }, "node_modules/whatwg-url": { - "version": "15.1.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-15.1.0.tgz", - "integrity": "sha512-2ytDk0kiEj/yu90JOAp44PVPUkO9+jVhyf+SybKlRHSDlvOOZhdPIrr7xTH64l4WixO2cP+wQIcgujkGBPPz6g==", + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-16.0.0.tgz", + "integrity": "sha512-9CcxtEKsf53UFwkSUZjG+9vydAsFO4lFHBpJUtjBcoJOCJpKnSJNwCw813zrYJHpCJ7sgfbtOe0V5Ku7Pa1XMQ==", "license": "MIT", "dependencies": { + "@exodus/bytes": "^1.11.0", "tr46": "^6.0.0", - "webidl-conversions": "^8.0.0" + "webidl-conversions": "^8.0.1" }, "engines": { - "node": ">=20" + "node": "^20.19.0 || ^22.12.0 || >=24.0.0" } }, "node_modules/which": { diff --git a/package.json b/package.json index 2cb29cb..e9c34c2 100644 --- a/package.json +++ b/package.json @@ -28,16 +28,16 @@ }, "dependencies": { "whatwg-mimetype": "^5.0.0", - "whatwg-url": "^15.1.0" + "whatwg-url": "^16.0.0" }, "devDependencies": { - "@domenic/eslint-config": "^4.0.1", + "@domenic/eslint-config": "^4.1.0", "c8": "^10.1.3", "eslint": "^9.39.2", - "globals": "^17.0.0" + "globals": "^17.3.0" }, "engines": { - "node": ">=20" + "node": "^20.19.0 || ^22.12.0 || >=24.0.0" }, "c8": { "reporter": [