diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec9c5d8..dfaf255 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - name: Run all run: | - npm run all + pnpm run all - name: Compare the expected and actual dist/ directories run: | diff --git a/dist/index.js b/dist/index.js index f8a1b96..7e4b571 100644 --- a/dist/index.js +++ b/dist/index.js @@ -15559,7 +15559,7 @@ module.exports = buildConnector /***/ }), -/***/ 8088: +/***/ 5707: /***/ ((module) => { @@ -16511,7 +16511,7 @@ const { InvalidArgumentError } = __nccwpck_require__(3862) const { Blob } = __nccwpck_require__(181) const nodeUtil = __nccwpck_require__(9023) const { stringify } = __nccwpck_require__(3480) -const { headerNameLowerCasedRecord } = __nccwpck_require__(8088) +const { headerNameLowerCasedRecord } = __nccwpck_require__(5707) const [nodeMajor, nodeMinor] = process.versions.node.split('.').map(v => Number(v)) @@ -41847,14 +41847,14 @@ var Webhooks = class { }; -;// CONCATENATED MODULE: ./node_modules/.pnpm/@octokit+app@15.1.0/node_modules/@octokit/app/dist-node/index.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@octokit+app@15.1.1/node_modules/@octokit/app/dist-node/index.js // pkg/dist-src/index.js // pkg/dist-src/version.js -var app_dist_node_VERSION = "15.1.0"; +var app_dist_node_VERSION = "15.1.1"; // pkg/dist-src/webhooks.js @@ -42125,11 +42125,14 @@ var App = class { clientSecret: options.oauth.clientSecret } : {} ); - this.octokit = new Octokit({ + const octokitOptions = { authStrategy: createAppAuth, - auth: authOptions, - log: options.log - }); + auth: authOptions + }; + if ("log" in options && typeof options.log !== "undefined") { + octokitOptions.log = options.log; + } + this.octokit = new Octokit(octokitOptions); this.log = Object.assign( { debug: () => { @@ -42180,7 +42183,7 @@ var App = class { }; -;// CONCATENATED MODULE: ./node_modules/.pnpm/octokit@4.0.2/node_modules/octokit/dist-bundle/index.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/octokit@4.0.3/node_modules/octokit/dist-bundle/index.js // pkg/dist-src/octokit.js diff --git a/package.json b/package.json index d8feaea..3952cd9 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@actions/core": "^1.11.1", "@actions/tool-cache": "^2.0.1", "https-proxy-agent": "^7.0.5", - "octokit": "^4.0.2" + "octokit": "^4.0.3" }, "devDependencies": { "@eslint/js": "^9.16.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c06b622..6801fd1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,8 +18,8 @@ importers: specifier: ^7.0.5 version: 7.0.5 octokit: - specifier: ^4.0.2 - version: 4.0.2 + specifier: ^4.0.3 + version: 4.0.3 devDependencies: '@eslint/js': specifier: ^9.16.0 @@ -293,8 +293,8 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@octokit/app@15.1.0': - resolution: {integrity: sha512-TkBr7QgOmE6ORxvIAhDbZsqPkF7RSqTY4pLTtUQCvr6dTXqvi2fFo46q3h1lxlk/sGMQjqyZ0kEahkD/NyzOHg==} + '@octokit/app@15.1.1': + resolution: {integrity: sha512-fk8xrCSPTJGpyBdBNI+DcZ224dm0aApv4vi6X7/zTmANXlegKV2Td+dJ+fd7APPaPN7R+xttUsj2Fm+AFDSfMQ==} engines: {node: '>= 18'} '@octokit/auth-app@7.1.1': @@ -389,8 +389,8 @@ packages: resolution: {integrity: sha512-V+TFhu5fdF3K58rs1pGUJIDH5RZLbZm5BI+MNF+6o/ssFNT4vWlCh/tVpF3NxGtP15HUxTTMUbsG5llAuU2CZA==} engines: {node: '>= 18'} - '@octokit/types@13.6.1': - resolution: {integrity: sha512-PHZE9Z+kWXb23Ndik8MKPirBPziOc0D2/3KH1P+6jK5nGWe96kadZuE4jev2/Jq7FvIfTlT2Ltg8Fv2x1v0a5g==} + '@octokit/types@13.6.2': + resolution: {integrity: sha512-WpbZfZUcZU77DrSW4wbsSgTPfKcp286q3ItaIgvSbBpZJlu6mnYXAkjZz6LVZPXkEvLIM8McanyZejKTYUHipA==} '@octokit/webhooks-methods@5.1.0': resolution: {integrity: sha512-yFZa3UH11VIxYnnoOYCVoJ3q4ChuSOk2IVBBQ0O3xtKX4x9bmKb/1t+Mxixv2iUhzMdOl1qeWJqEhouXXzB3rQ==} @@ -816,8 +816,8 @@ packages: natural-compare@1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} - octokit@4.0.2: - resolution: {integrity: sha512-wbqF4uc1YbcldtiBFfkSnquHtECEIpYD78YUXI6ri1Im5OO2NLo6ZVpRdbJpdnpZ05zMrVPssNiEo6JQtea+Qg==} + octokit@4.0.3: + resolution: {integrity: sha512-kfqH80Yuuux4fLbZ4SvObjCvVu89U0eCh5+fulh6tr/hJkDYS1inXDGnNJDOp312GANMEhWWMLYmjQR8MvSSMQ==} engines: {node: '>= 18'} optionator@0.9.4: @@ -1184,14 +1184,14 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - '@octokit/app@15.1.0': + '@octokit/app@15.1.1': dependencies: '@octokit/auth-app': 7.1.1 '@octokit/auth-unauthenticated': 6.1.0 '@octokit/core': 6.1.2 '@octokit/oauth-app': 7.1.3 '@octokit/plugin-paginate-rest': 11.3.5(@octokit/core@6.1.2) - '@octokit/types': 13.6.1 + '@octokit/types': 13.6.2 '@octokit/webhooks': 13.3.0 '@octokit/auth-app@7.1.1': @@ -1200,7 +1200,7 @@ snapshots: '@octokit/auth-oauth-user': 5.1.1 '@octokit/request': 9.1.3 '@octokit/request-error': 6.1.5 - '@octokit/types': 13.6.1 + '@octokit/types': 13.6.2 lru-cache: 10.4.3 universal-github-app-jwt: 2.2.0 universal-user-agent: 7.0.2 @@ -1210,14 +1210,14 @@ snapshots: '@octokit/auth-oauth-device': 7.1.1 '@octokit/auth-oauth-user': 5.1.1 '@octokit/request': 9.1.3 - '@octokit/types': 13.6.1 + '@octokit/types': 13.6.2 universal-user-agent: 7.0.2 '@octokit/auth-oauth-device@7.1.1': dependencies: '@octokit/oauth-methods': 5.1.2 '@octokit/request': 9.1.3 - '@octokit/types': 13.6.1 + '@octokit/types': 13.6.2 universal-user-agent: 7.0.2 '@octokit/auth-oauth-user@5.1.1': @@ -1225,7 +1225,7 @@ snapshots: '@octokit/auth-oauth-device': 7.1.1 '@octokit/oauth-methods': 5.1.2 '@octokit/request': 9.1.3 - '@octokit/types': 13.6.1 + '@octokit/types': 13.6.2 universal-user-agent: 7.0.2 '@octokit/auth-token@5.1.1': {} @@ -1233,7 +1233,7 @@ snapshots: '@octokit/auth-unauthenticated@6.1.0': dependencies: '@octokit/request-error': 6.1.5 - '@octokit/types': 13.6.1 + '@octokit/types': 13.6.2 '@octokit/core@6.1.2': dependencies: @@ -1241,19 +1241,19 @@ snapshots: '@octokit/graphql': 8.1.1 '@octokit/request': 9.1.3 '@octokit/request-error': 6.1.5 - '@octokit/types': 13.6.1 + '@octokit/types': 13.6.2 before-after-hook: 3.0.2 universal-user-agent: 7.0.2 '@octokit/endpoint@10.1.1': dependencies: - '@octokit/types': 13.6.1 + '@octokit/types': 13.6.2 universal-user-agent: 7.0.2 '@octokit/graphql@8.1.1': dependencies: '@octokit/request': 9.1.3 - '@octokit/types': 13.6.1 + '@octokit/types': 13.6.2 universal-user-agent: 7.0.2 '@octokit/oauth-app@7.1.3': @@ -1274,7 +1274,7 @@ snapshots: '@octokit/oauth-authorization-url': 7.1.1 '@octokit/request': 9.1.3 '@octokit/request-error': 6.1.5 - '@octokit/types': 13.6.1 + '@octokit/types': 13.6.2 '@octokit/openapi-types@22.2.0': {} @@ -1287,38 +1287,38 @@ snapshots: '@octokit/plugin-paginate-rest@11.3.5(@octokit/core@6.1.2)': dependencies: '@octokit/core': 6.1.2 - '@octokit/types': 13.6.1 + '@octokit/types': 13.6.2 '@octokit/plugin-rest-endpoint-methods@13.2.6(@octokit/core@6.1.2)': dependencies: '@octokit/core': 6.1.2 - '@octokit/types': 13.6.1 + '@octokit/types': 13.6.2 '@octokit/plugin-retry@7.1.2(@octokit/core@6.1.2)': dependencies: '@octokit/core': 6.1.2 '@octokit/request-error': 6.1.5 - '@octokit/types': 13.6.1 + '@octokit/types': 13.6.2 bottleneck: 2.19.5 '@octokit/plugin-throttling@9.3.2(@octokit/core@6.1.2)': dependencies: '@octokit/core': 6.1.2 - '@octokit/types': 13.6.1 + '@octokit/types': 13.6.2 bottleneck: 2.19.5 '@octokit/request-error@6.1.5': dependencies: - '@octokit/types': 13.6.1 + '@octokit/types': 13.6.2 '@octokit/request@9.1.3': dependencies: '@octokit/endpoint': 10.1.1 '@octokit/request-error': 6.1.5 - '@octokit/types': 13.6.1 + '@octokit/types': 13.6.2 universal-user-agent: 7.0.2 - '@octokit/types@13.6.1': + '@octokit/types@13.6.2': dependencies: '@octokit/openapi-types': 22.2.0 @@ -1779,9 +1779,9 @@ snapshots: natural-compare@1.4.0: {} - octokit@4.0.2: + octokit@4.0.3: dependencies: - '@octokit/app': 15.1.0 + '@octokit/app': 15.1.1 '@octokit/core': 6.1.2 '@octokit/oauth-app': 7.1.3 '@octokit/plugin-paginate-graphql': 5.2.3(@octokit/core@6.1.2) @@ -1790,7 +1790,7 @@ snapshots: '@octokit/plugin-retry': 7.1.2(@octokit/core@6.1.2) '@octokit/plugin-throttling': 9.3.2(@octokit/core@6.1.2) '@octokit/request-error': 6.1.5 - '@octokit/types': 13.6.1 + '@octokit/types': 13.6.2 optionator@0.9.4: dependencies: