From 0f6fc207dc00ff67341e965d39449f37659c160f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Aug 2024 08:36:55 +0000 Subject: [PATCH] Chore(deps-dev): Bump the internal-tooling group with 5 updates (#1097) * Chore(deps-dev): Bump the internal-tooling group with 5 updates Bumps the internal-tooling group with 5 updates: | Package | From | To | | --- | --- | --- | | [@inrupt/eslint-config-lib](https://github.com/inrupt/typescript-sdk-tools) | `3.2.1` | `3.2.3` | | [@inrupt/eslint-config-react](https://github.com/inrupt/typescript-sdk-tools) | `3.2.2` | `3.2.3` | | @inrupt/internal-playwright-helpers | `3.2.2` | `3.2.3` | | @inrupt/internal-test-env | `3.2.2` | `3.2.3` | | [@inrupt/jest-jsdom-polyfills](https://github.com/inrupt/typescript-sdk-tools) | `3.2.2` | `3.2.3` | Updates `@inrupt/eslint-config-lib` from 3.2.1 to 3.2.3 - [Release notes](https://github.com/inrupt/typescript-sdk-tools/releases) - [Commits](https://github.com/inrupt/typescript-sdk-tools/compare/v3.2.1...v3.2.3) Updates `@inrupt/eslint-config-react` from 3.2.2 to 3.2.3 - [Release notes](https://github.com/inrupt/typescript-sdk-tools/releases) - [Commits](https://github.com/inrupt/typescript-sdk-tools/compare/v3.2.2...v3.2.3) Updates `@inrupt/internal-playwright-helpers` from 3.2.2 to 3.2.3 Updates `@inrupt/internal-test-env` from 3.2.2 to 3.2.3 Updates `@inrupt/jest-jsdom-polyfills` from 3.2.2 to 3.2.3 - [Release notes](https://github.com/inrupt/typescript-sdk-tools/releases) - [Commits](https://github.com/inrupt/typescript-sdk-tools/compare/v3.2.2...v3.2.3) --- updated-dependencies: - dependency-name: "@inrupt/eslint-config-lib" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: internal-tooling - dependency-name: "@inrupt/eslint-config-react" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: internal-tooling - dependency-name: "@inrupt/internal-playwright-helpers" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: internal-tooling - dependency-name: "@inrupt/internal-test-env" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: internal-tooling - dependency-name: "@inrupt/jest-jsdom-polyfills" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: internal-tooling ... Signed-off-by: dependabot[bot] * linter --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Aaron Coburn --- package-lock.json | 342 +++++++++++++---------- src/common/util/getSessionFetch.ts | 2 +- src/fetch/index.ts | 2 +- src/gConsent/guard/isBaseAccessVcBody.ts | 2 +- 4 files changed, 194 insertions(+), 154 deletions(-) diff --git a/package-lock.json b/package-lock.json index d319391c3..1925a6ae5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -819,9 +819,9 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.2.tgz", - "integrity": "sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", + "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", "dev": true, "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" @@ -902,16 +902,16 @@ "dev": true }, "node_modules/@inrupt/eslint-config-base": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/@inrupt/eslint-config-base/-/eslint-config-base-3.2.2.tgz", - "integrity": "sha512-Y9OOfXYhqhTqu0kCPUQzAT+bEMyuBsf0vqndbFIstKB1EstspbRkQJaZdoOhz/74aqugGksnMCF+KpHnq2Gt8A==", + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/@inrupt/eslint-config-base/-/eslint-config-base-3.2.3.tgz", + "integrity": "sha512-gtB8a3iRotKu0E9TLKXjtWb/EhHnq7hxGt1kBcXjFhrieNHIzw4FpXmwxwuYEYUiUctVfl1koZv3GDsIVSMNCA==", "dev": true, "dependencies": { "eslint": ">=8.57.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-header": "^3.1.1", - "eslint-plugin-import": "^2.29.0", + "eslint-plugin-import": "^2.29.1", "eslint-plugin-jest": "^28.8.0", "eslint-plugin-playwright": "^1.6.2", "eslint-plugin-prettier": "^5.2.1", @@ -972,45 +972,43 @@ } }, "node_modules/@inrupt/eslint-config-lib": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/@inrupt/eslint-config-lib/-/eslint-config-lib-3.2.1.tgz", - "integrity": "sha512-ds61D99tp8WuAI/kQu0VcCxZXVxxQ3MBaLoHEUkooBlrI7MbdvbPbkQMUf541i4qf6d3U8YyM9d2AZvLMMK+SQ==", + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/@inrupt/eslint-config-lib/-/eslint-config-lib-3.2.3.tgz", + "integrity": "sha512-2cW9VaiAr7apYWE0zY3L3rnAQB07jaKLUDlyBoSyVW3LFFV/2C2VQTudvDGjfnQmUuU/tA6wF2BY+EZmlG4iDw==", "dev": true, "dependencies": { - "@inrupt/eslint-config-base": "^3.2.1", - "@typescript-eslint/eslint-plugin": "^7.0.1", - "@typescript-eslint/parser": "^7.0.2", - "typescript": ">=5.3.3" + "@inrupt/eslint-config-base": "^3.2.3", + "@typescript-eslint/eslint-plugin": "^8.2.0", + "@typescript-eslint/parser": "^8.2.0", + "typescript": ">=5.5.4" } }, "node_modules/@inrupt/eslint-config-lib/node_modules/@typescript-eslint/eslint-plugin": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.1.1.tgz", - "integrity": "sha512-zioDz623d0RHNhvx0eesUmGfIjzrk18nSBC8xewepKXbBvN/7c1qImV7Hg8TI1URTxKax7/zxfxj3Uph8Chcuw==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.2.0.tgz", + "integrity": "sha512-02tJIs655em7fvt9gps/+4k4OsKULYGtLBPJfOsmOq1+3cdClYiF0+d6mHu6qDnTcg88wJBkcPLpQhq7FyDz0A==", "dev": true, "dependencies": { - "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "7.1.1", - "@typescript-eslint/type-utils": "7.1.1", - "@typescript-eslint/utils": "7.1.1", - "@typescript-eslint/visitor-keys": "7.1.1", - "debug": "^4.3.4", + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.2.0", + "@typescript-eslint/type-utils": "8.2.0", + "@typescript-eslint/utils": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0", "graphemer": "^1.4.0", - "ignore": "^5.2.4", + "ignore": "^5.3.1", "natural-compare": "^1.4.0", - "semver": "^7.5.4", - "ts-api-utils": "^1.0.1" + "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^7.0.0", - "eslint": "^8.56.0" + "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", + "eslint": "^8.57.0 || ^9.0.0" }, "peerDependenciesMeta": { "typescript": { @@ -1019,26 +1017,26 @@ } }, "node_modules/@inrupt/eslint-config-lib/node_modules/@typescript-eslint/parser": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.1.1.tgz", - "integrity": "sha512-ZWUFyL0z04R1nAEgr9e79YtV5LbafdOtN7yapNbn1ansMyaegl2D4bL7vHoJ4HPSc4CaLwuCVas8CVuneKzplQ==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.2.0.tgz", + "integrity": "sha512-j3Di+o0lHgPrb7FxL3fdEy6LJ/j2NE8u+AP/5cQ9SKb+JLH6V6UHDqJ+e0hXBkHP1wn1YDFjYCS9LBQsZDlDEg==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "7.1.1", - "@typescript-eslint/types": "7.1.1", - "@typescript-eslint/typescript-estree": "7.1.1", - "@typescript-eslint/visitor-keys": "7.1.1", + "@typescript-eslint/scope-manager": "8.2.0", + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/typescript-estree": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0", "debug": "^4.3.4" }, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.56.0" + "eslint": "^8.57.0 || ^9.0.0" }, "peerDependenciesMeta": { "typescript": { @@ -1047,56 +1045,29 @@ } }, "node_modules/@inrupt/eslint-config-lib/node_modules/@typescript-eslint/scope-manager": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.1.1.tgz", - "integrity": "sha512-cirZpA8bJMRb4WZ+rO6+mnOJrGFDd38WoXCEI57+CYBqta8Yc8aJym2i7vyqLL1vVYljgw0X27axkUXz32T8TA==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "7.1.1", - "@typescript-eslint/visitor-keys": "7.1.1" - }, - "engines": { - "node": "^16.0.0 || >=18.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@inrupt/eslint-config-lib/node_modules/@typescript-eslint/type-utils": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.1.1.tgz", - "integrity": "sha512-5r4RKze6XHEEhlZnJtR3GYeCh1IueUHdbrukV2KSlLXaTjuSfeVF8mZUVPLovidCuZfbVjfhi4c0DNSa/Rdg5g==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.2.0.tgz", + "integrity": "sha512-OFn80B38yD6WwpoHU2Tz/fTz7CgFqInllBoC3WP+/jLbTb4gGPTy9HBSTsbDWkMdN55XlVU0mMDYAtgvlUspGw==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "7.1.1", - "@typescript-eslint/utils": "7.1.1", - "debug": "^4.3.4", - "ts-api-utils": "^1.0.1" + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0" }, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.56.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } } }, "node_modules/@inrupt/eslint-config-lib/node_modules/@typescript-eslint/types": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.1.1.tgz", - "integrity": "sha512-KhewzrlRMrgeKm1U9bh2z5aoL4s7K3tK5DwHDn8MHv0yQfWFz/0ZR6trrIHHa5CsF83j/GgHqzdbzCXJ3crx0Q==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.2.0.tgz", + "integrity": "sha512-6a9QSK396YqmiBKPkJtxsgZZZVjYQ6wQ/TlI0C65z7vInaETuC6HAHD98AGLC8DyIPqHytvNuS8bBVvNLKyqvQ==", "dev": true, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1104,22 +1075,22 @@ } }, "node_modules/@inrupt/eslint-config-lib/node_modules/@typescript-eslint/typescript-estree": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.1.1.tgz", - "integrity": "sha512-9ZOncVSfr+sMXVxxca2OJOPagRwT0u/UHikM2Rd6L/aB+kL/QAuTnsv6MeXtjzCJYb8PzrXarypSGIPx3Jemxw==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.2.0.tgz", + "integrity": "sha512-kiG4EDUT4dImplOsbh47B1QnNmXSoUqOjWDvCJw/o8LgfD0yr7k2uy54D5Wm0j4t71Ge1NkynGhpWdS0dEIAUA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "7.1.1", - "@typescript-eslint/visitor-keys": "7.1.1", + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", - "minimatch": "9.0.3", - "semver": "^7.5.4", - "ts-api-utils": "^1.0.1" + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1131,42 +1102,17 @@ } } }, - "node_modules/@inrupt/eslint-config-lib/node_modules/@typescript-eslint/utils": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.1.1.tgz", - "integrity": "sha512-thOXM89xA03xAE0lW7alstvnyoBUbBX38YtY+zAUcpRPcq9EIhXPuJ0YTv948MbzmKh6e1AUszn5cBFK49Umqg==", - "dev": true, - "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@types/json-schema": "^7.0.12", - "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "7.1.1", - "@typescript-eslint/types": "7.1.1", - "@typescript-eslint/typescript-estree": "7.1.1", - "semver": "^7.5.4" - }, - "engines": { - "node": "^16.0.0 || >=18.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.56.0" - } - }, "node_modules/@inrupt/eslint-config-lib/node_modules/@typescript-eslint/visitor-keys": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.1.1.tgz", - "integrity": "sha512-yTdHDQxY7cSoCcAtiBzVzxleJhkGB9NncSIyMYe2+OGON1ZsP9zOPws/Pqgopa65jvknOjlk/w7ulPlZ78PiLQ==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.2.0.tgz", + "integrity": "sha512-sbgsPMW9yLvS7IhCi8IpuK1oBmtbWUNP+hBdwl/I9nzqVsszGnNGti5r9dUtF5RLivHUFFIdRvLiTsPhzSyJ3Q==", "dev": true, "dependencies": { - "@typescript-eslint/types": "7.1.1", - "eslint-visitor-keys": "^3.4.1" + "@typescript-eslint/types": "8.2.0", + "eslint-visitor-keys": "^3.4.3" }, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1183,9 +1129,9 @@ } }, "node_modules/@inrupt/eslint-config-lib/node_modules/minimatch": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", - "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "dependencies": { "brace-expansion": "^2.0.1" @@ -1198,13 +1144,13 @@ } }, "node_modules/@inrupt/eslint-config-react": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/@inrupt/eslint-config-react/-/eslint-config-react-3.2.2.tgz", - "integrity": "sha512-2U1HiebY/2pHSUdQBID18Enz9Me0vBS4I+Wni7pVPaqLKOmJVfj1rBgCg2ZktAokS7KqoTr2+Buq5BHBMpQHLw==", + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/@inrupt/eslint-config-react/-/eslint-config-react-3.2.3.tgz", + "integrity": "sha512-aSHPdQqDPCuVsxZlJe8LFZId4YHCbKunSAsDfUHzYraY+8zPKp61wENAvVMwO3KQiMTFOcmar552j02OA0k5IQ==", "dev": true, "dependencies": { "@babel/eslint-parser": "^7.25.1", - "@inrupt/eslint-config-base": "^3.2.2", + "@inrupt/eslint-config-base": "3.2.3", "eslint-config-airbnb": "^19.0.4", "eslint-plugin-jsx-a11y": "^6.9.0", "eslint-plugin-react": "^7.35.0", @@ -1212,28 +1158,28 @@ } }, "node_modules/@inrupt/internal-playwright-helpers": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/@inrupt/internal-playwright-helpers/-/internal-playwright-helpers-3.2.2.tgz", - "integrity": "sha512-PxfBxiWWeIxHo2xeyfaJOI91eWr+zNaJia/shs3LWzXuUkQoKMQAWgo8sUF4N0zGsfsjGw3m4v6tVDBJ+g07JQ==", + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/@inrupt/internal-playwright-helpers/-/internal-playwright-helpers-3.2.3.tgz", + "integrity": "sha512-ZhBW6J1T2n0V/C+3kfd7WIYYTB1twb0k/KiVLPasrNfpkggIUjlAmmNd71rbdlvEiShyUaEBUH0rtFEn0BOi8Q==", "dev": true, "dependencies": { - "@inrupt/internal-playwright-testids": "3.2.2", - "@inrupt/internal-test-env": "3.2.2" + "@inrupt/internal-playwright-testids": "3.2.3", + "@inrupt/internal-test-env": "3.2.3" }, "peerDependencies": { "@playwright/test": "^1.37.0" } }, "node_modules/@inrupt/internal-playwright-testids": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/@inrupt/internal-playwright-testids/-/internal-playwright-testids-3.2.2.tgz", - "integrity": "sha512-EnIg4J+2xMQHJeXUlTJo0f3yEpL0Zwcqw9v93Ix6q6ZA/TFM+/6wujLrG4lo8ZPyaA1kOG8z5vUBO0lNCQcEug==", + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/@inrupt/internal-playwright-testids/-/internal-playwright-testids-3.2.3.tgz", + "integrity": "sha512-j8wm3fINctDCTtNIBf55g6tvgbOYGExEhwl0N7UG7Ok/LywptFCc2s16NBzkGj4rPkshuco4e4GzOFwAPYIQGw==", "dev": true }, "node_modules/@inrupt/internal-test-env": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/@inrupt/internal-test-env/-/internal-test-env-3.2.2.tgz", - "integrity": "sha512-v/TjbpS8QaHtDJ88H3pDfeVkoqdvVt2I5p6720zw3B2+CZsrlZbn9afVcvniXFTNwN8xT+9Uy9KyR5sBR7eI7A==", + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/@inrupt/internal-test-env/-/internal-test-env-3.2.3.tgz", + "integrity": "sha512-N9xMGuwXJ2tG5PZSbAjAuvXu6/IQiaHCArWaXEhapmoexVbnvoK0j5Bw8J1WKEl4IWpsXRgUsCDuAvS8EAW9+A==", "dev": true, "dependencies": { "@inrupt/solid-client": "^2.0.1", @@ -1243,9 +1189,9 @@ } }, "node_modules/@inrupt/jest-jsdom-polyfills": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/@inrupt/jest-jsdom-polyfills/-/jest-jsdom-polyfills-3.2.2.tgz", - "integrity": "sha512-iJXa1UZv02vMfE4LATZdRlx3tI6+qiPhCi1FPxqJAo2c4ea0d+G7J2tip3Fv8mVINczjcx+p/H93cfyvVqY3lg==", + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/@inrupt/jest-jsdom-polyfills/-/jest-jsdom-polyfills-3.2.3.tgz", + "integrity": "sha512-Ux0Zj2CXHxCNVn9l/OTFTn1BkKhQ2CxW4+pFb+fofkWsi38HQ9y4GsdzTbkgfhDI8eHgZ8dXfyco18oZStMhog==", "dev": true, "dependencies": { "@peculiar/webcrypto": "^1.5.0", @@ -2593,12 +2539,6 @@ "parse5": "^7.0.0" } }, - "node_modules/@types/json-schema": { - "version": "7.0.15", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", - "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", - "dev": true - }, "node_modules/@types/json5": { "version": "0.0.29", "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", @@ -2642,12 +2582,6 @@ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, - "node_modules/@types/semver": { - "version": "7.5.7", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.7.tgz", - "integrity": "sha512-/wdoPq1QqkSj9/QOeKkFquEuPzQbHTWAMPH/PaUMB+JuR31lXhlWXRZ52IpfDYVlDOUBvX09uBrPwxGT1hjNBg==", - "dev": true - }, "node_modules/@types/stack-utils": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz", @@ -2720,6 +2654,112 @@ "url": "https://opencollective.com/typescript-eslint" } }, + "node_modules/@typescript-eslint/type-utils": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.2.0.tgz", + "integrity": "sha512-g1CfXGFMQdT5S+0PSO0fvGXUaiSkl73U1n9LTK5aRAFnPlJ8dLKkXr4AaLFvPedW8lVDoMgLLE3JN98ZZfsj0w==", + "dev": true, + "dependencies": { + "@typescript-eslint/typescript-estree": "8.2.0", + "@typescript-eslint/utils": "8.2.0", + "debug": "^4.3.4", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.2.0.tgz", + "integrity": "sha512-6a9QSK396YqmiBKPkJtxsgZZZVjYQ6wQ/TlI0C65z7vInaETuC6HAHD98AGLC8DyIPqHytvNuS8bBVvNLKyqvQ==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.2.0.tgz", + "integrity": "sha512-kiG4EDUT4dImplOsbh47B1QnNmXSoUqOjWDvCJw/o8LgfD0yr7k2uy54D5Wm0j4t71Ge1NkynGhpWdS0dEIAUA==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.2.0.tgz", + "integrity": "sha512-sbgsPMW9yLvS7IhCi8IpuK1oBmtbWUNP+hBdwl/I9nzqVsszGnNGti5r9dUtF5RLivHUFFIdRvLiTsPhzSyJ3Q==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.2.0", + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/type-utils/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@typescript-eslint/type-utils/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/@typescript-eslint/types": { "version": "6.21.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.21.0.tgz", @@ -5839,9 +5879,9 @@ ] }, "node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, "engines": { "node": ">= 4" diff --git a/src/common/util/getSessionFetch.ts b/src/common/util/getSessionFetch.ts index 1376a32e6..99afd10c8 100644 --- a/src/common/util/getSessionFetch.ts +++ b/src/common/util/getSessionFetch.ts @@ -43,7 +43,7 @@ export async function getSessionFetch( ); return fetchFn; - } catch (e) { + } catch { /* istanbul ignore next: @inrupt/solid-client-authn-browser is a devDependency, so this path is not hit in tests: */ return fetch; } diff --git a/src/fetch/index.ts b/src/fetch/index.ts index 406f7a87e..2769de1bf 100644 --- a/src/fetch/index.ts +++ b/src/fetch/index.ts @@ -121,7 +121,7 @@ export async function exchangeTicketForAccessToken( try { const data = await response.json(); return data.access_token || null; - } catch (_e) { + } catch { // An error being thrown here means that the response body doesn't parse as JSON. return null; } diff --git a/src/gConsent/guard/isBaseAccessVcBody.ts b/src/gConsent/guard/isBaseAccessVcBody.ts index bcb87ffed..74849b440 100644 --- a/src/gConsent/guard/isBaseAccessVcBody.ts +++ b/src/gConsent/guard/isBaseAccessVcBody.ts @@ -63,7 +63,7 @@ export function isRdfjsAccessVerifiableCredential( try { getIssuanceDate(data); return isRdfjsGConsentAttributes(data, getConsent(data)); - } catch (e) { + } catch { return false; } }