diff --git a/dist/index.js b/dist/index.js index 937415e..6488069 100644 --- a/dist/index.js +++ b/dist/index.js @@ -251,7 +251,7 @@ const Context = __importStar(__webpack_require__(53)); const Utils = __importStar(__webpack_require__(914)); // octokit + plugins const core_1 = __webpack_require__(762); -const plugin_rest_endpoint_methods_1 = __webpack_require__(45); +const plugin_rest_endpoint_methods_1 = __webpack_require__(44); const plugin_paginate_rest_1 = __webpack_require__(193); exports.context = new Context.Context(); const baseUrl = Utils.getApiBaseUrl(); @@ -282,7 +282,7 @@ exports.getOctokitOptions = getOctokitOptions; /***/ }), -/***/ 45: +/***/ 44: /***/ (function(__unusedmodule, exports) { "use strict"; diff --git a/package-lock.json b/package-lock.json index 0d8dcbd..b4f1ff6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@actions/io": "^1.1.1", "@octokit/core": "^3.5.1", "@octokit/plugin-paginate-rest": "^2.13.5", - "@octokit/plugin-rest-endpoint-methods": "4.2.1" + "@octokit/plugin-rest-endpoint-methods": "^5.3.4" }, "devDependencies": { "@types/jest": "^26.0.10", @@ -47,26 +47,6 @@ "@octokit/plugin-rest-endpoint-methods": "^5.1.1" } }, - "node_modules/@actions/github/node_modules/@octokit/plugin-rest-endpoint-methods": { - "version": "5.3.4", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.3.4.tgz", - "integrity": "sha512-2Y2q/FYCsW5tcwIqgnLOgzZXEb3I1VoSQGyHs/Zki/Ufs5H+uT0maPVHatLKw90LQbqK7ON8NpL3Y8IyzG6pNA==", - "dependencies": { - "@octokit/types": "^6.16.7", - "deprecation": "^2.3.1" - }, - "peerDependencies": { - "@octokit/core": ">=3" - } - }, - "node_modules/@actions/github/node_modules/@octokit/types": { - "version": "6.16.7", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.7.tgz", - "integrity": "sha512-OuQELiwIKeDySgNID52vm33wDRc2aaX8lKYgAw9Hmw939ITow1HspT8/AH3M3jgGFUMDmHlMNBNEmH7xV7ggXQ==", - "dependencies": { - "@octokit/openapi-types": "^7.3.5" - } - }, "node_modules/@actions/glob": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/@actions/glob/-/glob-0.2.0.tgz", @@ -1382,14 +1362,6 @@ "@octokit/types": "^6.0.3" } }, - "node_modules/@octokit/auth-token/node_modules/@octokit/types": { - "version": "6.16.7", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.7.tgz", - "integrity": "sha512-OuQELiwIKeDySgNID52vm33wDRc2aaX8lKYgAw9Hmw939ITow1HspT8/AH3M3jgGFUMDmHlMNBNEmH7xV7ggXQ==", - "dependencies": { - "@octokit/openapi-types": "^7.3.5" - } - }, "node_modules/@octokit/core": { "version": "3.5.1", "resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.5.1.tgz", @@ -1404,14 +1376,6 @@ "universal-user-agent": "^6.0.0" } }, - "node_modules/@octokit/core/node_modules/@octokit/types": { - "version": "6.16.7", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.7.tgz", - "integrity": "sha512-OuQELiwIKeDySgNID52vm33wDRc2aaX8lKYgAw9Hmw939ITow1HspT8/AH3M3jgGFUMDmHlMNBNEmH7xV7ggXQ==", - "dependencies": { - "@octokit/openapi-types": "^7.3.5" - } - }, "node_modules/@octokit/endpoint": { "version": "6.0.12", "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz", @@ -1422,14 +1386,6 @@ "universal-user-agent": "^6.0.0" } }, - "node_modules/@octokit/endpoint/node_modules/@octokit/types": { - "version": "6.16.7", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.7.tgz", - "integrity": "sha512-OuQELiwIKeDySgNID52vm33wDRc2aaX8lKYgAw9Hmw939ITow1HspT8/AH3M3jgGFUMDmHlMNBNEmH7xV7ggXQ==", - "dependencies": { - "@octokit/openapi-types": "^7.3.5" - } - }, "node_modules/@octokit/graphql": { "version": "4.6.4", "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.6.4.tgz", @@ -1440,14 +1396,6 @@ "universal-user-agent": "^6.0.0" } }, - "node_modules/@octokit/graphql/node_modules/@octokit/types": { - "version": "6.16.7", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.7.tgz", - "integrity": "sha512-OuQELiwIKeDySgNID52vm33wDRc2aaX8lKYgAw9Hmw939ITow1HspT8/AH3M3jgGFUMDmHlMNBNEmH7xV7ggXQ==", - "dependencies": { - "@octokit/openapi-types": "^7.3.5" - } - }, "node_modules/@octokit/openapi-types": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-7.3.5.tgz", @@ -1464,21 +1412,16 @@ "@octokit/core": ">=2" } }, - "node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/types": { - "version": "6.16.7", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.7.tgz", - "integrity": "sha512-OuQELiwIKeDySgNID52vm33wDRc2aaX8lKYgAw9Hmw939ITow1HspT8/AH3M3jgGFUMDmHlMNBNEmH7xV7ggXQ==", - "dependencies": { - "@octokit/openapi-types": "^7.3.5" - } - }, "node_modules/@octokit/plugin-rest-endpoint-methods": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-4.2.1.tgz", - "integrity": "sha512-QyFr4Bv807Pt1DXZOC5a7L5aFdrwz71UHTYoHVajYV5hsqffWm8FUl9+O7nxRu5PDMtB/IKrhFqTmdBTK5cx+A==", + "version": "5.3.4", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.3.4.tgz", + "integrity": "sha512-2Y2q/FYCsW5tcwIqgnLOgzZXEb3I1VoSQGyHs/Zki/Ufs5H+uT0maPVHatLKw90LQbqK7ON8NpL3Y8IyzG6pNA==", "dependencies": { - "@octokit/types": "^5.5.0", + "@octokit/types": "^6.16.7", "deprecation": "^2.3.1" + }, + "peerDependencies": { + "@octokit/core": ">=3" } }, "node_modules/@octokit/request": { @@ -1504,28 +1447,12 @@ "once": "^1.4.0" } }, - "node_modules/@octokit/request-error/node_modules/@octokit/types": { - "version": "6.16.7", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.7.tgz", - "integrity": "sha512-OuQELiwIKeDySgNID52vm33wDRc2aaX8lKYgAw9Hmw939ITow1HspT8/AH3M3jgGFUMDmHlMNBNEmH7xV7ggXQ==", - "dependencies": { - "@octokit/openapi-types": "^7.3.5" - } - }, - "node_modules/@octokit/request/node_modules/@octokit/types": { - "version": "6.16.7", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.7.tgz", - "integrity": "sha512-OuQELiwIKeDySgNID52vm33wDRc2aaX8lKYgAw9Hmw939ITow1HspT8/AH3M3jgGFUMDmHlMNBNEmH7xV7ggXQ==", - "dependencies": { - "@octokit/openapi-types": "^7.3.5" - } - }, "node_modules/@octokit/types": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.5.0.tgz", - "integrity": "sha512-UZ1pErDue6bZNjYOotCNveTXArOMZQFG6hKJfOnGnulVCMcVVi7YIIuuR4WfBhjo7zgpmzn/BkPDnUXtNx+PcQ==", + "version": "6.16.7", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.7.tgz", + "integrity": "sha512-OuQELiwIKeDySgNID52vm33wDRc2aaX8lKYgAw9Hmw939ITow1HspT8/AH3M3jgGFUMDmHlMNBNEmH7xV7ggXQ==", "dependencies": { - "@types/node": ">= 8" + "@octokit/openapi-types": "^7.3.5" } }, "node_modules/@sinonjs/commons": { @@ -1652,7 +1579,8 @@ "node_modules/@types/node": { "version": "14.6.0", "resolved": "https://registry.npmjs.org/@types/node/-/node-14.6.0.tgz", - "integrity": "sha512-mikldZQitV94akrc4sCcSjtJfsTKt4p+e/s0AGscVA6XArQ9kFclP+ZiYUMnq987rc6QlYxXv/EivqlfSLxpKA==" + "integrity": "sha512-mikldZQitV94akrc4sCcSjtJfsTKt4p+e/s0AGscVA6XArQ9kFclP+ZiYUMnq987rc6QlYxXv/EivqlfSLxpKA==", + "dev": true }, "node_modules/@types/normalize-package-data": { "version": "2.4.0", @@ -9191,25 +9119,6 @@ "@octokit/core": "^3.4.0", "@octokit/plugin-paginate-rest": "^2.13.3", "@octokit/plugin-rest-endpoint-methods": "^5.1.1" - }, - "dependencies": { - "@octokit/plugin-rest-endpoint-methods": { - "version": "5.3.4", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.3.4.tgz", - "integrity": "sha512-2Y2q/FYCsW5tcwIqgnLOgzZXEb3I1VoSQGyHs/Zki/Ufs5H+uT0maPVHatLKw90LQbqK7ON8NpL3Y8IyzG6pNA==", - "requires": { - "@octokit/types": "^6.16.7", - "deprecation": "^2.3.1" - } - }, - "@octokit/types": { - "version": "6.16.7", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.7.tgz", - "integrity": "sha512-OuQELiwIKeDySgNID52vm33wDRc2aaX8lKYgAw9Hmw939ITow1HspT8/AH3M3jgGFUMDmHlMNBNEmH7xV7ggXQ==", - "requires": { - "@octokit/openapi-types": "^7.3.5" - } - } } }, "@actions/glob": { @@ -10392,16 +10301,6 @@ "integrity": "sha512-BpGYsPgJt05M7/L/5FoE1PiAbdxXFZkX/3kDYcsvd1v6UhlnE5e96dTDr0ezX/EFwciQxf3cNV0loipsURU+WA==", "requires": { "@octokit/types": "^6.0.3" - }, - "dependencies": { - "@octokit/types": { - "version": "6.16.7", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.7.tgz", - "integrity": "sha512-OuQELiwIKeDySgNID52vm33wDRc2aaX8lKYgAw9Hmw939ITow1HspT8/AH3M3jgGFUMDmHlMNBNEmH7xV7ggXQ==", - "requires": { - "@octokit/openapi-types": "^7.3.5" - } - } } }, "@octokit/core": { @@ -10416,16 +10315,6 @@ "@octokit/types": "^6.0.3", "before-after-hook": "^2.2.0", "universal-user-agent": "^6.0.0" - }, - "dependencies": { - "@octokit/types": { - "version": "6.16.7", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.7.tgz", - "integrity": "sha512-OuQELiwIKeDySgNID52vm33wDRc2aaX8lKYgAw9Hmw939ITow1HspT8/AH3M3jgGFUMDmHlMNBNEmH7xV7ggXQ==", - "requires": { - "@octokit/openapi-types": "^7.3.5" - } - } } }, "@octokit/endpoint": { @@ -10436,16 +10325,6 @@ "@octokit/types": "^6.0.3", "is-plain-object": "^5.0.0", "universal-user-agent": "^6.0.0" - }, - "dependencies": { - "@octokit/types": { - "version": "6.16.7", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.7.tgz", - "integrity": "sha512-OuQELiwIKeDySgNID52vm33wDRc2aaX8lKYgAw9Hmw939ITow1HspT8/AH3M3jgGFUMDmHlMNBNEmH7xV7ggXQ==", - "requires": { - "@octokit/openapi-types": "^7.3.5" - } - } } }, "@octokit/graphql": { @@ -10456,16 +10335,6 @@ "@octokit/request": "^5.6.0", "@octokit/types": "^6.0.3", "universal-user-agent": "^6.0.0" - }, - "dependencies": { - "@octokit/types": { - "version": "6.16.7", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.7.tgz", - "integrity": "sha512-OuQELiwIKeDySgNID52vm33wDRc2aaX8lKYgAw9Hmw939ITow1HspT8/AH3M3jgGFUMDmHlMNBNEmH7xV7ggXQ==", - "requires": { - "@octokit/openapi-types": "^7.3.5" - } - } } }, "@octokit/openapi-types": { @@ -10479,24 +10348,14 @@ "integrity": "sha512-3WSAKBLa1RaR/7GG+LQR/tAZ9fp9H9waE9aPXallidyci9oZsfgsLn5M836d3LuDC6Fcym+2idRTBpssHZePVg==", "requires": { "@octokit/types": "^6.13.0" - }, - "dependencies": { - "@octokit/types": { - "version": "6.16.7", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.7.tgz", - "integrity": "sha512-OuQELiwIKeDySgNID52vm33wDRc2aaX8lKYgAw9Hmw939ITow1HspT8/AH3M3jgGFUMDmHlMNBNEmH7xV7ggXQ==", - "requires": { - "@octokit/openapi-types": "^7.3.5" - } - } } }, "@octokit/plugin-rest-endpoint-methods": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-4.2.1.tgz", - "integrity": "sha512-QyFr4Bv807Pt1DXZOC5a7L5aFdrwz71UHTYoHVajYV5hsqffWm8FUl9+O7nxRu5PDMtB/IKrhFqTmdBTK5cx+A==", + "version": "5.3.4", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.3.4.tgz", + "integrity": "sha512-2Y2q/FYCsW5tcwIqgnLOgzZXEb3I1VoSQGyHs/Zki/Ufs5H+uT0maPVHatLKw90LQbqK7ON8NpL3Y8IyzG6pNA==", "requires": { - "@octokit/types": "^5.5.0", + "@octokit/types": "^6.16.7", "deprecation": "^2.3.1" } }, @@ -10511,16 +10370,6 @@ "is-plain-object": "^5.0.0", "node-fetch": "^2.6.1", "universal-user-agent": "^6.0.0" - }, - "dependencies": { - "@octokit/types": { - "version": "6.16.7", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.7.tgz", - "integrity": "sha512-OuQELiwIKeDySgNID52vm33wDRc2aaX8lKYgAw9Hmw939ITow1HspT8/AH3M3jgGFUMDmHlMNBNEmH7xV7ggXQ==", - "requires": { - "@octokit/openapi-types": "^7.3.5" - } - } } }, "@octokit/request-error": { @@ -10531,24 +10380,14 @@ "@octokit/types": "^6.0.3", "deprecation": "^2.0.0", "once": "^1.4.0" - }, - "dependencies": { - "@octokit/types": { - "version": "6.16.7", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.7.tgz", - "integrity": "sha512-OuQELiwIKeDySgNID52vm33wDRc2aaX8lKYgAw9Hmw939ITow1HspT8/AH3M3jgGFUMDmHlMNBNEmH7xV7ggXQ==", - "requires": { - "@octokit/openapi-types": "^7.3.5" - } - } } }, "@octokit/types": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.5.0.tgz", - "integrity": "sha512-UZ1pErDue6bZNjYOotCNveTXArOMZQFG6hKJfOnGnulVCMcVVi7YIIuuR4WfBhjo7zgpmzn/BkPDnUXtNx+PcQ==", + "version": "6.16.7", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.7.tgz", + "integrity": "sha512-OuQELiwIKeDySgNID52vm33wDRc2aaX8lKYgAw9Hmw939ITow1HspT8/AH3M3jgGFUMDmHlMNBNEmH7xV7ggXQ==", "requires": { - "@types/node": ">= 8" + "@octokit/openapi-types": "^7.3.5" } }, "@sinonjs/commons": { @@ -10675,7 +10514,8 @@ "@types/node": { "version": "14.6.0", "resolved": "https://registry.npmjs.org/@types/node/-/node-14.6.0.tgz", - "integrity": "sha512-mikldZQitV94akrc4sCcSjtJfsTKt4p+e/s0AGscVA6XArQ9kFclP+ZiYUMnq987rc6QlYxXv/EivqlfSLxpKA==" + "integrity": "sha512-mikldZQitV94akrc4sCcSjtJfsTKt4p+e/s0AGscVA6XArQ9kFclP+ZiYUMnq987rc6QlYxXv/EivqlfSLxpKA==", + "dev": true }, "@types/normalize-package-data": { "version": "2.4.0", diff --git a/package.json b/package.json index 85ec5a9..de6bb2d 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@actions/io": "^1.1.1", "@octokit/core": "^3.5.1", "@octokit/plugin-paginate-rest": "^2.13.5", - "@octokit/plugin-rest-endpoint-methods": "4.2.1" + "@octokit/plugin-rest-endpoint-methods": "^5.3.4" }, "devDependencies": { "@types/jest": "^26.0.10",