From 8f30a5c8b75bd4463fbb4ccc1d08acacb5d90ae8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 Sep 2024 13:52:13 -0700 Subject: [PATCH] Bump the npm-development group with 3 updates (#218) * Bump the npm-development group with 3 updates Bumps the npm-development group with 3 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) and [jose](https://github.com/panva/jose). Updates `@types/node` from 22.5.0 to 22.5.2 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `eslint-plugin-jest` from 28.8.0 to 28.8.1 - [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases) - [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v28.8.0...v28.8.1) Updates `jose` from 5.7.0 to 5.8.0 - [Release notes](https://github.com/panva/jose/releases) - [Changelog](https://github.com/panva/jose/blob/main/CHANGELOG.md) - [Commits](https://github.com/panva/jose/compare/v5.7.0...v5.8.0) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development - dependency-name: eslint-plugin-jest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development - dependency-name: jose dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development ... Signed-off-by: dependabot[bot] * rebuild dist Signed-off-by: Brian DeHamer --------- Signed-off-by: dependabot[bot] Signed-off-by: Brian DeHamer Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Brian DeHamer --- dist/index.js | 26 +++++++++++++++++++------- package-lock.json | 24 ++++++++++++------------ package.json | 6 +++--- 3 files changed, 34 insertions(+), 22 deletions(-) diff --git a/dist/index.js b/dist/index.js index 90301ab..6d1cf4d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -25351,15 +25351,15 @@ exports.flattenedDecrypt = flattenedDecrypt; "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.FlattenedEncrypt = exports.unprotected = void 0; +exports.FlattenedEncrypt = void 0; const base64url_js_1 = __nccwpck_require__(80518); +const private_symbols_js_1 = __nccwpck_require__(78863); const encrypt_js_1 = __nccwpck_require__(76476); const encrypt_key_management_js_1 = __nccwpck_require__(33286); const errors_js_1 = __nccwpck_require__(94419); const is_disjoint_js_1 = __nccwpck_require__(6063); const buffer_utils_js_1 = __nccwpck_require__(1691); const validate_crit_js_1 = __nccwpck_require__(50863); -exports.unprotected = Symbol(); class FlattenedEncrypt { _plaintext; _protectedHeader; @@ -25453,7 +25453,7 @@ class FlattenedEncrypt { let parameters; ({ cek, encryptedKey, parameters } = await (0, encrypt_key_management_js_1.default)(alg, enc, key, this._cek, this._keyManagementParameters)); if (parameters) { - if (options && exports.unprotected in options) { + if (options && private_symbols_js_1.unprotected in options) { if (!this._unprotectedHeader) { this.setUnprotectedHeader(parameters); } @@ -25569,6 +25569,7 @@ exports.generalDecrypt = generalDecrypt; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.GeneralEncrypt = void 0; const encrypt_js_1 = __nccwpck_require__(81555); +const private_symbols_js_1 = __nccwpck_require__(78863); const errors_js_1 = __nccwpck_require__(94419); const cek_js_1 = __nccwpck_require__(43987); const is_disjoint_js_1 = __nccwpck_require__(6063); @@ -25723,7 +25724,7 @@ class GeneralEncrypt { .setKeyManagementParameters({ p2c }) .encrypt(recipient.key, { ...recipient.options, - [encrypt_js_1.unprotected]: true, + [private_symbols_js_1.unprotected]: true, }); jwe.ciphertext = flattened.ciphertext; jwe.iv = flattened.iv; @@ -25855,7 +25856,7 @@ exports.calculateJwkThumbprintUri = calculateJwkThumbprintUri; "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.createLocalJWKSet = exports.LocalJWKSet = void 0; +exports.createLocalJWKSet = void 0; const import_js_1 = __nccwpck_require__(74230); const errors_js_1 = __nccwpck_require__(94419); const is_object_js_1 = __nccwpck_require__(39127); @@ -25954,7 +25955,6 @@ class LocalJWKSet { return importWithAlgCache(this._cached, jwk, alg); } } -exports.LocalJWKSet = LocalJWKSet; async function importWithAlgCache(cache, jwk, alg) { const cached = cache.get(jwk) || cache.set(jwk, {}).get(jwk); if (cached[alg] === undefined) { @@ -26003,7 +26003,7 @@ function isCloudflareWorkers() { let USER_AGENT; if (typeof navigator === 'undefined' || !navigator.userAgent?.startsWith?.('Mozilla/5.0 ')) { const NAME = 'jose'; - const VERSION = 'v5.7.0'; + const VERSION = 'v5.8.0'; USER_AGENT = `${NAME}/${VERSION}`; } exports.jwksCache = Symbol(); @@ -27860,6 +27860,18 @@ exports["default"] = (protectedHeader, encodedPayload, options = {}) => { }; +/***/ }), + +/***/ 78863: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.unprotected = void 0; +exports.unprotected = Symbol(); + + /***/ }), /***/ 37810: diff --git a/package-lock.json b/package-lock.json index 095b327..3ec3b46 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,17 +14,17 @@ }, "devDependencies": { "@types/jest": "^29.5.12", - "@types/node": "^22.5.0", + "@types/node": "^22.5.2", "@typescript-eslint/eslint-plugin": "^7.17.0", "@typescript-eslint/parser": "^7.18.0", "@vercel/ncc": "^0.38.1", "eslint": "^8.57.0", "eslint-plugin-github": "^5.0.1", - "eslint-plugin-jest": "^28.8.0", + "eslint-plugin-jest": "^28.8.1", "eslint-plugin-jsonc": "^2.16.0", "eslint-plugin-prettier": "^5.2.1", "jest": "^29.7.0", - "jose": "^5.7.0", + "jose": "^5.8.0", "markdownlint-cli": "^0.41.0", "nock": "^13.5.5", "prettier": "^3.3.3", @@ -1671,9 +1671,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "22.5.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.0.tgz", - "integrity": "sha512-DkFrJOe+rfdHTqqMg0bSNlGlQ85hSoh2TPzZyhHsXnMtligRWpxUySiyw8FY14ITt24HVCiQPWxS3KO/QlGmWg==", + "version": "22.5.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.2.tgz", + "integrity": "sha512-acJsPTEqYqulZS/Yp/S3GgeE6GZ0qYODUR8aVr/DkhHQ8l9nd4j5x1/ZJy9/gHrRlFMqkO6i0I3E27Alu4jjPg==", "dev": true, "dependencies": { "undici-types": "~6.19.2" @@ -3491,9 +3491,9 @@ } }, "node_modules/eslint-plugin-jest": { - "version": "28.8.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-28.8.0.tgz", - "integrity": "sha512-Tubj1hooFxCl52G4qQu0edzV/+EZzPUeN8p2NnW5uu4fbDs+Yo7+qDVDc4/oG3FbCqEBmu/OC3LSsyiU22oghw==", + "version": "28.8.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-28.8.1.tgz", + "integrity": "sha512-G46XMyYu6PtSNJUkQ0hsPjzXYpzq/O4vpCciMizTKRJG8kNsRreGoMRDG6H9FIB/xVgfFuclVnuX4XRvFUzrZQ==", "dev": true, "dependencies": { "@typescript-eslint/utils": "^6.0.0 || ^7.0.0 || ^8.0.0" @@ -5466,9 +5466,9 @@ } }, "node_modules/jose": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/jose/-/jose-5.7.0.tgz", - "integrity": "sha512-3P9qfTYDVnNn642LCAqIKbTGb9a1TBxZ9ti5zEVEr48aDdflgRjhspWFb6WM4PzAfFbGMJYC4+803v8riCRAKw==", + "version": "5.8.0", + "resolved": "https://registry.npmjs.org/jose/-/jose-5.8.0.tgz", + "integrity": "sha512-E7CqYpL/t7MMnfGnK/eg416OsFCVUrU/Y3Vwe7QjKhu/BkS1Ms455+2xsqZQVN57/U2MHMBvEb5SrmAZWAIntA==", "funding": { "url": "https://github.com/sponsors/panva" } diff --git a/package.json b/package.json index 8c9bb84..a972305 100644 --- a/package.json +++ b/package.json @@ -75,17 +75,17 @@ }, "devDependencies": { "@types/jest": "^29.5.12", - "@types/node": "^22.5.0", + "@types/node": "^22.5.2", "@typescript-eslint/eslint-plugin": "^7.17.0", "@typescript-eslint/parser": "^7.18.0", "@vercel/ncc": "^0.38.1", "eslint": "^8.57.0", "eslint-plugin-github": "^5.0.1", - "eslint-plugin-jest": "^28.8.0", + "eslint-plugin-jest": "^28.8.1", "eslint-plugin-jsonc": "^2.16.0", "eslint-plugin-prettier": "^5.2.1", "jest": "^29.7.0", - "jose": "^5.7.0", + "jose": "^5.8.0", "markdownlint-cli": "^0.41.0", "nock": "^13.5.5", "prettier": "^3.3.3",