diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 138b65e16..3da816f29 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -15,7 +15,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '24' cache: 'yarn' - name: Install dependencies diff --git a/Dockerfile b/Dockerfile index b9776f1c3..81d9a511d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:12 as install +FROM node:24 as install WORKDIR /build COPY tsconfig.json . COPY package.json . @@ -9,7 +9,7 @@ COPY src/ src/ FROM install as build RUN yarn build -FROM node:12 as prod-build +FROM node:24 as prod-build WORKDIR /out COPY package.json . RUN yarn install --production diff --git a/action.yml b/action.yml index 8c00ba6bd..e4411c034 100644 --- a/action.yml +++ b/action.yml @@ -15,5 +15,5 @@ inputs: required: false default: 120 # seconds runs: - using: 'node20' + using: 'node24' main: 'dist/action.js' diff --git a/node_modules/.yarn-integrity b/node_modules/.yarn-integrity index 6202e2736..2e9348451 100644 --- a/node_modules/.yarn-integrity +++ b/node_modules/.yarn-integrity @@ -1,5 +1,5 @@ { - "systemParams": "darwin-arm64-115", + "systemParams": "darwin-arm64-137", "modulesFolders": [ "node_modules" ], @@ -11,7 +11,7 @@ "@probot/adapter-github-actions@^3.1.1", "@probot/octokit-plugin-config@^1.1.6", "@types/bunyan@^1.8.6", - "@types/node@^16.13.0", + "@types/node@^20.0.0", "@typescript-eslint/eslint-plugin@^5.33.0", "@typescript-eslint/parser@^5.33.0", "eslint-plugin-github@^4.3.7", @@ -107,7 +107,7 @@ "@types/mime@*": "https://registry.npmjs.org/@types/mime/-/mime-3.0.1.tgz", "@types/ms@*": "https://registry.yarnpkg.com/@types/ms/-/ms-2.1.0.tgz#052aa67a48eccc4309d7f0191b7e41434b90bb78", "@types/node@*": "https://registry.npmjs.org/@types/node/-/node-16.18.3.tgz", - "@types/node@^16.13.0": "https://registry.npmjs.org/@types/node/-/node-16.18.3.tgz", + "@types/node@^20.0.0": "https://registry.yarnpkg.com/@types/node/-/node-20.19.39.tgz#e98a3b575574070cd34b784bd173767269f95e99", "@types/pino-http@^5.0.6": "https://registry.npmjs.org/@types/pino-http/-/pino-http-5.8.1.tgz", "@types/pino-pretty@*": "https://registry.npmjs.org/@types/pino-pretty/-/pino-pretty-4.7.5.tgz", "@types/pino-std-serializers@*": "https://registry.npmjs.org/@types/pino-std-serializers/-/pino-std-serializers-2.4.1.tgz", @@ -267,6 +267,7 @@ "es-errors@^1.3.0": "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f", "es-object-atoms@^1.0.0": "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz#1c4f2c4837327597ce69d2ca190a7fdd172338c1", "es-object-atoms@^1.1.1": "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz#1c4f2c4837327597ce69d2ca190a7fdd172338c1", + "es-set-tostringtag@^2.1.0": "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz#f31dbbe0c183b00a6d26eb6325c810c0fd18bd4d", "es-shim-unscopables@^1.0.0": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", "es-to-primitive@^1.2.1": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", "escalade@^3.1.1": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", @@ -353,7 +354,7 @@ "flat-cache@^3.0.4": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", "flatstr@^1.0.12": "https://registry.npmjs.org/flatstr/-/flatstr-1.0.12.tgz", "flatted@^3.1.0": "https://registry.npmjs.org/flatted/-/flatted-3.2.6.tgz", - "form-data@^4.0.0": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "form-data@^4.0.0": "https://registry.yarnpkg.com/form-data/-/form-data-4.0.4.tgz#784cdcce0669a9d68e94d11ac4eea98088edd2c4", "formidable@^2.0.1": "https://registry.npmjs.org/formidable/-/formidable-2.0.1.tgz", "forwarded@0.2.0": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", "fresh@0.5.2": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", @@ -367,6 +368,7 @@ "get-intrinsic@^1.1.0": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz", "get-intrinsic@^1.1.1": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz", "get-intrinsic@^1.2.5": "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.3.0.tgz#743f0e3b6964a93a5491ed1bffaae054d7f98d01", + "get-intrinsic@^1.2.6": "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.3.0.tgz#743f0e3b6964a93a5491ed1bffaae054d7f98d01", "get-intrinsic@^1.3.0": "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.3.0.tgz#743f0e3b6964a93a5491ed1bffaae054d7f98d01", "get-proto@^1.0.1": "https://registry.yarnpkg.com/get-proto/-/get-proto-1.0.1.tgz#150b3f2743869ef3e851ec0c49d15b1d14d00ee1", "get-stdin@^6.0.0": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz", @@ -396,6 +398,7 @@ "has-symbols@^1.0.3": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "has-symbols@^1.1.0": "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338", "has-tostringtag@^1.0.0": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "has-tostringtag@^1.0.2": "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz#2cdc42d40bef2e5b4eeab7c01a73c54ce7ab5abc", "has@^1.0.1": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "has@^1.0.3": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "hasown@^2.0.2": "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003", @@ -524,7 +527,7 @@ "minimist@^1.2.5": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", "minimist@^1.2.6": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", "mkdirp@^0.5.1": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", - "morgan@^1.9.1": "https://registry.npmjs.org/morgan/-/morgan-1.10.0.tgz", + "morgan@^1.9.1": "https://registry.yarnpkg.com/morgan/-/morgan-1.10.1.tgz#4e02e6a4465a48e26af540191593955d17f61570", "mri@1.1.4": "https://registry.npmjs.org/mri/-/mri-1.1.4.tgz", "ms@2.0.0": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "ms@2.1.2": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -551,7 +554,7 @@ "octokit-auth-probot@^1.2.2": "https://registry.npmjs.org/octokit-auth-probot/-/octokit-auth-probot-1.2.8.tgz", "on-finished@2.4.1": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", "on-finished@~2.3.0": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "on-headers@~1.0.2": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", + "on-headers@~1.1.0": "https://registry.yarnpkg.com/on-headers/-/on-headers-1.1.0.tgz#59da4f91c45f5f989c6e4bcedc5a3b0aed70ff65", "once@1.4.0": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "once@^1.3.0": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "once@^1.3.1": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -735,6 +738,7 @@ "typescript@^4.7.4": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", "uglify-js@^3.1.4": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.0.tgz", "unbox-primitive@^1.0.2": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", + "undici-types@~6.21.0": "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb", "uniq@^1.0.1": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", "universal-github-app-jwt@^1.0.1": "https://registry.yarnpkg.com/universal-github-app-jwt/-/universal-github-app-jwt-1.2.0.tgz#1314cf2b2aff69d7ae998e8bff90d55a651d2949", "universal-user-agent@^6.0.0": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", diff --git a/node_modules/@octokit/core/node_modules/@octokit/auth-token/README.md b/node_modules/@octokit/core/node_modules/@octokit/auth-token/README.md deleted file mode 100644 index a1f6d3599..000000000 --- a/node_modules/@octokit/core/node_modules/@octokit/auth-token/README.md +++ /dev/null @@ -1,290 +0,0 @@ -# auth-token.js - -> GitHub API token authentication for browsers and Node.js - -[](https://www.npmjs.com/package/@octokit/auth-token) -[](https://github.com/octokit/auth-token.js/actions?query=workflow%3ATest) - -`@octokit/auth-token` is the simplest of [GitHub’s authentication strategies](https://github.com/octokit/auth.js). - -It is useful if you want to support multiple authentication strategies, as it’s API is compatible with its sibling packages for [basic](https://github.com/octokit/auth-basic.js), [GitHub App](https://github.com/octokit/auth-app.js) and [OAuth app](https://github.com/octokit/auth.js) authentication. - - - -- [Usage](#usage) -- [`createTokenAuth(token) options`](#createtokenauthtoken-options) -- [`auth()`](#auth) -- [Authentication object](#authentication-object) -- [`auth.hook(request, route, options)` or `auth.hook(request, options)`](#authhookrequest-route-options-or-authhookrequest-options) -- [Find more information](#find-more-information) - - [Find out what scopes are enabled for oauth tokens](#find-out-what-scopes-are-enabled-for-oauth-tokens) - - [Find out if token is a personal access token or if it belongs to an OAuth app](#find-out-if-token-is-a-personal-access-token-or-if-it-belongs-to-an-oauth-app) - - [Find out what permissions are enabled for a repository](#find-out-what-permissions-are-enabled-for-a-repository) - - [Use token for git operations](#use-token-for-git-operations) -- [License](#license) - - - -## Usage - -
| -Browsers - | - -Load `@octokit/auth-token` directly from [cdn.skypack.dev](https://cdn.skypack.dev) - -```html - -``` - - |
|---|---|
| -Node - |
-
-Install with npm install @octokit/auth-token
-
-```js
-const { createTokenAuth } = require("@octokit/auth-token");
-// or: import { createTokenAuth } from "@octokit/auth-token";
-```
-
- |
| - name - | -- type - | -- description - | -
|---|---|---|
- type
- |
-
- string
- |
-
- "token"
- |
-
- token
- |
-
- string
- |
- - The provided token. - | -
- tokenType
- |
-
- string
- |
-
- Can be either "oauth" for personal access tokens and OAuth tokens, "installation" for installation access tokens (includes GITHUB_TOKEN provided to GitHub Actions), "app" for a GitHub App JSON Web Token, or "user-to-server" for a user authentication token through an app installation.
- |
-
;
+ type PipelineDestination : Promise, P> = S extends PipelineTransformSource> = S extends PipelineDestinationPromiseFunction> = S extends PipelineDestinationPromiseFunction