diff --git a/dist/index.js b/dist/index.js index 6f68dae..36003d9 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/package-lock.json b/package-lock.json index 6c7debb..c6de286 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "eslint-plugin-import": "^2.32.0", "eslint-plugin-jest": "^29.2.1", "jest": "^30.2.0", - "jose": "^5.9.6", + "jose": "^6.1.2", "markdownlint-cli": "^0.46.0", "nock": "^14.0.10", "prettier": "^3.7.3", @@ -48,6 +48,15 @@ "jose": "^5.10.0" } }, + "node_modules/@actions/attest/node_modules/jose": { + "version": "5.10.0", + "resolved": "https://registry.npmjs.org/jose/-/jose-5.10.0.tgz", + "integrity": "sha512-s+3Al/p9g32Iq+oqXxkW//7jk2Vig6FF1CFqzVXoTUXt2qz89YWbL+OwS17NFYEvxC35n0FKeGO2LGYSxeM2Gg==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, "node_modules/@actions/core": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.11.1.tgz", @@ -5988,9 +5997,10 @@ } }, "node_modules/jose": { - "version": "5.10.0", - "resolved": "https://registry.npmjs.org/jose/-/jose-5.10.0.tgz", - "integrity": "sha512-s+3Al/p9g32Iq+oqXxkW//7jk2Vig6FF1CFqzVXoTUXt2qz89YWbL+OwS17NFYEvxC35n0FKeGO2LGYSxeM2Gg==", + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/jose/-/jose-6.1.2.tgz", + "integrity": "sha512-MpcPtHLE5EmztuFIqB0vzHAWJPpmN1E6L4oo+kze56LIs3MyXIj9ZHMDxqOvkP38gBR7K1v3jqd4WU2+nrfONQ==", + "dev": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/panva" diff --git a/package.json b/package.json index 44964af..f160788 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ "verbose": true, "clearMocks": true, "testEnvironment": "node", + "extensionsToTreatAsEsm": [".ts"], "moduleFileExtensions": [ "js", "ts" @@ -56,8 +57,12 @@ "/node_modules/", "/dist/" ], + "transformIgnorePatterns": [ + "/node_modules/(?!jose/)" + ], "transform": { - "^.+\\.ts$": "ts-jest" + "^.+\\.ts$": "ts-jest", + "^.+\\.js$": "ts-jest" }, "coverageReporters": [ "json-summary", @@ -82,7 +87,7 @@ "eslint-plugin-import": "^2.32.0", "eslint-plugin-jest": "^29.2.1", "jest": "^30.2.0", - "jose": "^5.9.6", + "jose": "^6.1.2", "markdownlint-cli": "^0.46.0", "nock": "^14.0.10", "prettier": "^3.7.3",