From 270ef678cf03240cbe8e82b88499f5ce797060c7 Mon Sep 17 00:00:00 2001 From: Aras Abbasi Date: Wed, 11 Oct 2023 13:05:11 +0200 Subject: [PATCH 1/9] chore: remove semver (#503) --- package-lock.json | 13 +++++++++---- package.json | 3 +-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6685469d..8db46240 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,8 +12,7 @@ "@actions/core": "^1.10.1", "@actions/github": "^5.1.1", "actions-toolkit": "github:nearform/actions-toolkit", - "gitdiff-parser": "^0.3.1", - "semver": "^7.5.4" + "gitdiff-parser": "^0.3.1" }, "devDependencies": { "@vercel/ncc": "^0.38.0", @@ -3485,6 +3484,7 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, "dependencies": { "yallist": "^4.0.0" }, @@ -4861,6 +4861,7 @@ "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, "dependencies": { "lru-cache": "^6.0.0" }, @@ -6094,6 +6095,7 @@ }, "node_modules/yallist": { "version": "4.0.0", + "dev": true, "license": "ISC" }, "node_modules/yaml": { @@ -7354,7 +7356,7 @@ "actions-toolkit": { "version": "git+ssh://git@github.com/nearform/actions-toolkit.git#e49ae0606145d17f3f4b11df5fcbe4e9085579fb", "integrity": "sha512-frYjhtrC8hYU0r1GoZCcace0RdtqVzra/tflCf6OHYXJDR/WDL+lP4shhnuBUrXPWzP7+8VqngUK4f7Pf1mFEw==", - "from": "actions-toolkit@github:nearform/actions-toolkit#e49ae0606145d17f3f4b11df5fcbe4e9085579fb", + "from": "actions-toolkit@github:nearform/actions-toolkit", "requires": { "@actions/core": "^1.10.1" } @@ -8696,6 +8698,7 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, "requires": { "yallist": "^4.0.0" } @@ -9682,6 +9685,7 @@ "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, "requires": { "lru-cache": "^6.0.0" } @@ -10563,7 +10567,8 @@ "dev": true }, "yallist": { - "version": "4.0.0" + "version": "4.0.0", + "dev": true }, "yaml": { "version": "2.3.2", diff --git a/package.json b/package.json index badd920e..469d4c42 100644 --- a/package.json +++ b/package.json @@ -29,8 +29,7 @@ "@actions/core": "^1.10.1", "@actions/github": "^5.1.1", "actions-toolkit": "github:nearform/actions-toolkit", - "gitdiff-parser": "^0.3.1", - "semver": "^7.5.4" + "gitdiff-parser": "^0.3.1" }, "devDependencies": { "@vercel/ncc": "^0.38.0", From d783d506994d33cc8f4b57d1d4a772b6211cc4aa Mon Sep 17 00:00:00 2001 From: Aras Abbasi Date: Wed, 11 Oct 2023 13:05:25 +0200 Subject: [PATCH 2/9] fix: remove deprecation warning (#506) --- test/log.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/log.test.js b/test/log.test.js index 86388df8..47836057 100644 --- a/test/log.test.js +++ b/test/log.test.js @@ -9,7 +9,7 @@ const coreStubs = { info: sinon.stub(), warning: sinon.stub(), } -const log = tap.mock('../src/log', { +const log = tap.mockRequire('../src/log', { '@actions/core': coreStubs, }) From 5f45f9efcb9019f81d089a23fbfb263ee52ee18f Mon Sep 17 00:00:00 2001 From: Aras Abbasi Date: Wed, 11 Oct 2023 13:07:49 +0200 Subject: [PATCH 3/9] chore: use nearform-actions (#508) --- .github/workflows/check-linked-issues.yml | 2 +- .github/workflows/notify-release.yml | 2 +- .github/workflows/release.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-linked-issues.yml b/.github/workflows/check-linked-issues.yml index b15121ad..49e7cc59 100644 --- a/.github/workflows/check-linked-issues.yml +++ b/.github/workflows/check-linked-issues.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest name: Check linked issues steps: - - uses: nearform/github-action-check-linked-issues@v1 + - uses: nearform-actions/github-action-check-linked-issues@v1 id: check-linked-issues with: github-token: ${{ github.token }} diff --git a/.github/workflows/notify-release.yml b/.github/workflows/notify-release.yml index f87c22fe..a4804deb 100644 --- a/.github/workflows/notify-release.yml +++ b/.github/workflows/notify-release.yml @@ -10,6 +10,6 @@ jobs: runs-on: ubuntu-latest steps: - name: Notify release - uses: nearform/github-action-notify-release@v1 + uses: nearform-actions/github-action-notify-release@v1 with: github-token: ${{ github.token }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e2b21ce6..c37ba4a5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,8 +22,8 @@ jobs: - name: Setting action build runtime uses: actions/setup-node@v3 with: - node-version: 16 - - uses: nearform/optic-release-automation-action@v4 + node-version: 20 + - uses: nearform-actions/optic-release-automation-action@v4 with: github-token: ${{ github.token }} semver: ${{ github.event.inputs.semver }} From 54e5f2310209361910bfe58ba8fc033230d6faab Mon Sep 17 00:00:00 2001 From: Aras Abbasi Date: Wed, 11 Oct 2023 13:27:32 +0200 Subject: [PATCH 4/9] chore: remove gitdiff-parser as dependency (#510) --- package-lock.json | 13 +------------ package.json | 3 +-- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8db46240..cee65eb1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,8 +11,7 @@ "dependencies": { "@actions/core": "^1.10.1", "@actions/github": "^5.1.1", - "actions-toolkit": "github:nearform/actions-toolkit", - "gitdiff-parser": "^0.3.1" + "actions-toolkit": "github:nearform/actions-toolkit" }, "devDependencies": { "@vercel/ncc": "^0.38.0", @@ -2813,11 +2812,6 @@ "node": "6.* || 8.* || >= 10.*" } }, - "node_modules/gitdiff-parser": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/gitdiff-parser/-/gitdiff-parser-0.3.1.tgz", - "integrity": "sha512-YQJnY8aew65id8okGxKCksH3efDCJ9HzV7M9rsvd65habf39Pkh4cgYJ27AaoDMqo1X98pgNJhNMrm/kpV7UVQ==" - }, "node_modules/glob": { "version": "7.2.0", "dev": true, @@ -8207,11 +8201,6 @@ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true }, - "gitdiff-parser": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/gitdiff-parser/-/gitdiff-parser-0.3.1.tgz", - "integrity": "sha512-YQJnY8aew65id8okGxKCksH3efDCJ9HzV7M9rsvd65habf39Pkh4cgYJ27AaoDMqo1X98pgNJhNMrm/kpV7UVQ==" - }, "glob": { "version": "7.2.0", "dev": true, diff --git a/package.json b/package.json index 469d4c42..24f8d52a 100644 --- a/package.json +++ b/package.json @@ -28,8 +28,7 @@ "dependencies": { "@actions/core": "^1.10.1", "@actions/github": "^5.1.1", - "actions-toolkit": "github:nearform/actions-toolkit", - "gitdiff-parser": "^0.3.1" + "actions-toolkit": "github:nearform/actions-toolkit" }, "devDependencies": { "@vercel/ncc": "^0.38.0", From 591de9e71f011d9b3651159d87b81275eb875c70 Mon Sep 17 00:00:00 2001 From: Aras Abbasi Date: Wed, 11 Oct 2023 13:36:15 +0200 Subject: [PATCH 5/9] chore: use .taprc and show coverage report (#517) --- .taprc | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .taprc diff --git a/.taprc b/.taprc new file mode 100644 index 00000000..cc244bf6 --- /dev/null +++ b/.taprc @@ -0,0 +1,4 @@ +files: + - test/**/*.test.js + +show-full-coverage: true \ No newline at end of file diff --git a/package.json b/package.json index 24f8d52a..a3635f70 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "build": "ncc build src/index.js", "lint": "eslint .", - "test": "tap test/**.test.js", + "test": "tap", "prepare": "husky install" }, "author": { From 464500f17dd731e9182515a9a54d39a228a3c9d4 Mon Sep 17 00:00:00 2001 From: Aras Abbasi Date: Wed, 11 Oct 2023 15:34:29 +0200 Subject: [PATCH 6/9] fix: suppress warning in ci/cd pipeline (#520) --- package.json | 1 + test/util.test.js | 21 +++++++++++++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index a3635f70..10759458 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "scripts": { "build": "ncc build src/index.js", "lint": "eslint .", + "lint:fix": "eslint . --fix", "test": "tap", "prepare": "husky install" }, diff --git a/test/util.test.js b/test/util.test.js index 8ec6e3cb..f1ed3d80 100644 --- a/test/util.test.js +++ b/test/util.test.js @@ -1,9 +1,16 @@ 'use strict' const tap = require('tap') -const { - getInputs, - parseCommaOrSemicolonSeparatedValue, -} = require('../src/util') +const sinon = require('sinon') + +const logWarningStub = sinon.stub() +const { getInputs, parseCommaOrSemicolonSeparatedValue } = tap.mockRequire( + '../src/util', + { + '../src/log.js': { + logWarning: logWarningStub, + }, + } +) tap.test('parseCommaOrSemicolonSeparatedValue', async t => { t.test('should split semicolon separated values correctly', async t => { @@ -55,10 +62,16 @@ tap.test('getInputs', async t => { t.test('MERGE_METHOD', async t => { t.equal(getInputs({}).MERGE_METHOD, 'squash') t.equal(getInputs({ 'merge-method': 'merge' }).MERGE_METHOD, 'merge') + t.equal(logWarningStub.callCount, 0) t.equal( getInputs({ 'merge-method': 'invalid-merge-method' }).MERGE_METHOD, 'squash' ) + t.equal(logWarningStub.callCount, 1) + t.equal( + logWarningStub.firstCall.args[0], + 'merge-method input is ignored because it is malformed, defaulting to `squash`.' + ) }) t.test('EXCLUDE_PKGS', async t => { t.same(getInputs({ exclude: 'react,vue' }).EXCLUDE_PKGS, [ From 84a893bcf1bdbb94335d89270aea83b6723a9154 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Oct 2023 16:28:08 +0200 Subject: [PATCH 7/9] chore(deps-dev): bump prettier from 2.8.8 to 3.0.3 (#472) * chore(deps-dev): bump prettier from 2.8.8 to 3.0.3 Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to 3.0.3. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.8.8...3.0.3) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * fix prettier * fix linting --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: uzlopak --- package-lock.json | 870 +++++++++++++++++++++++++++- package.json | 4 +- src/action.js | 12 +- src/util.js | 2 +- src/verifyCommitSignatures.js | 4 +- test/action.test.js | 90 +-- test/github-client.test.js | 12 +- test/mapUpdateType.test.js | 2 +- test/util.test.js | 18 +- test/verifyCommitSignatures.test.js | 40 +- 10 files changed, 941 insertions(+), 113 deletions(-) diff --git a/package-lock.json b/package-lock.json index cee65eb1..dd4db39b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,9 +17,9 @@ "@vercel/ncc": "^0.38.0", "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.0.1", "husky": "^8.0.3", - "prettier": "^2.8.8", + "prettier": "^3.0.3", "proxyquire": "^2.1.3", "sinon": "^16.1.0", "tap": "^18.4.5" @@ -658,6 +658,26 @@ "node": ">=14" } }, + "node_modules/@pkgr/utils": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/@pkgr/utils/-/utils-2.4.2.tgz", + "integrity": "sha512-POgTXhjrTfbTV63DiFXav4lBHiICLKKwDeaKn9Nphwj7WH6m0hMMCaJkMyRWjgtPFyRKRVoMXXjczsTQRDEhYw==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "fast-glob": "^3.3.0", + "is-glob": "^4.0.3", + "open": "^9.1.0", + "picocolors": "^1.0.0", + "tslib": "^2.6.0" + }, + "engines": { + "node": "^12.20.0 || ^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/unts" + } + }, "node_modules/@sigstore/bundle": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-2.1.0.tgz", @@ -1811,6 +1831,15 @@ "version": "2.2.2", "license": "Apache-2.0" }, + "node_modules/big-integer": { + "version": "1.6.51", + "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz", + "integrity": "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==", + "dev": true, + "engines": { + "node": ">=0.6" + } + }, "node_modules/binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", @@ -1820,6 +1849,18 @@ "node": ">=8" } }, + "node_modules/bplist-parser": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.2.0.tgz", + "integrity": "sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==", + "dev": true, + "dependencies": { + "big-integer": "^1.6.44" + }, + "engines": { + "node": ">= 5.10.0" + } + }, "node_modules/brace-expansion": { "version": "1.1.11", "dev": true, @@ -1850,6 +1891,21 @@ "semver": "^7.0.0" } }, + "node_modules/bundle-name": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-3.0.0.tgz", + "integrity": "sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==", + "dev": true, + "dependencies": { + "run-applescript": "^5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/c8": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/c8/-/c8-8.0.1.tgz", @@ -2299,6 +2355,52 @@ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true }, + "node_modules/default-browser": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-4.0.0.tgz", + "integrity": "sha512-wX5pXO1+BrhMkSbROFsyxUm0i/cJEScyNhA4PPxc41ICuv05ZZB/MX28s8aZx6xjmatvebIapF6hLEKEcpneUA==", + "dev": true, + "dependencies": { + "bundle-name": "^3.0.0", + "default-browser-id": "^3.0.0", + "execa": "^7.1.1", + "titleize": "^3.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/default-browser-id": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-3.0.0.tgz", + "integrity": "sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA==", + "dev": true, + "dependencies": { + "bplist-parser": "^0.2.0", + "untildify": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/define-lazy-prop": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", + "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/delegates": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", @@ -2452,21 +2554,29 @@ } }, "node_modules/eslint-plugin-prettier": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz", - "integrity": "sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.0.1.tgz", + "integrity": "sha512-m3u5RnR56asrwV/lDC4GHorlW75DsFfmUcjfCYylTUs85dBRnB7VM6xG8eCMJdeDRnppzmxZVf1GEPJvl1JmNg==", "dev": true, "dependencies": { - "prettier-linter-helpers": "^1.0.0" + "prettier-linter-helpers": "^1.0.0", + "synckit": "^0.8.5" }, "engines": { - "node": ">=12.0.0" + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/prettier" }, "peerDependencies": { - "eslint": ">=7.28.0", - "prettier": ">=2.0.0" + "@types/eslint": ">=8.0.0", + "eslint": ">=8.0.0", + "prettier": ">=3.0.0" }, "peerDependenciesMeta": { + "@types/eslint": { + "optional": true + }, "eslint-config-prettier": { "optional": true } @@ -2566,6 +2676,62 @@ "node": ">=12" } }, + "node_modules/execa": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-7.2.0.tgz", + "integrity": "sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.1", + "human-signals": "^4.3.0", + "is-stream": "^3.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^5.1.0", + "onetime": "^6.0.0", + "signal-exit": "^3.0.7", + "strip-final-newline": "^3.0.0" + }, + "engines": { + "node": "^14.18.0 || ^16.14.0 || >=18.0.0" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/execa/node_modules/mimic-fn": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", + "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/execa/node_modules/onetime": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", + "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", + "dev": true, + "dependencies": { + "mimic-fn": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/execa/node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true + }, "node_modules/exponential-backoff": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz", @@ -2583,6 +2749,34 @@ "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", "dev": true }, + "node_modules/fast-glob": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", + "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", "dev": true, @@ -2812,6 +3006,18 @@ "node": "6.* || 8.* || >= 10.*" } }, + "node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/glob": { "version": "7.2.0", "dev": true, @@ -2954,6 +3160,15 @@ "node": ">= 6" } }, + "node_modules/human-signals": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-4.3.1.tgz", + "integrity": "sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==", + "dev": true, + "engines": { + "node": ">=14.18.0" + } + }, "node_modules/humanize-ms": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", @@ -3212,6 +3427,21 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-docker": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", + "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", + "dev": true, + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-extglob": { "version": "2.1.1", "dev": true, @@ -3243,6 +3473,24 @@ "node": ">=0.10.0" } }, + "node_modules/is-inside-container": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", + "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", + "dev": true, + "dependencies": { + "is-docker": "^3.0.0" + }, + "bin": { + "is-inside-container": "cli.js" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-lambda": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", @@ -3291,6 +3539,18 @@ "node": ">=0.10.0" } }, + "node_modules/is-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", + "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", + "dev": true, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-upper-case": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/is-upper-case/-/is-upper-case-2.0.2.tgz", @@ -3300,6 +3560,33 @@ "tslib": "^2.0.3" } }, + "node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-wsl/node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true, + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/isarray": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", @@ -3634,6 +3921,34 @@ "dev": true, "license": "MIT" }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "dev": true, + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, "node_modules/mimic-fn": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", @@ -4074,6 +4389,33 @@ "node": "^16.14.0 || >=18.0.0" } }, + "node_modules/npm-run-path": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", + "integrity": "sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==", + "dev": true, + "dependencies": { + "path-key": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm-run-path/node_modules/path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/npmlog": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", @@ -4111,6 +4453,24 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/open": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/open/-/open-9.1.0.tgz", + "integrity": "sha512-OS+QTnw1/4vrf+9hh1jc1jnYjzSG4ttTBB8UxOwAnInG3Uo4ssetzC1ihqaIHjLJnA5GGlRl6QlZXOTQhRBUvg==", + "dev": true, + "dependencies": { + "default-browser": "^4.0.0", + "define-lazy-prop": "^3.0.0", + "is-inside-container": "^1.0.0", + "is-wsl": "^2.2.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/opener": { "version": "1.5.2", "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz", @@ -4298,6 +4658,12 @@ "isarray": "0.0.1" } }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, "node_modules/picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", @@ -4341,15 +4707,15 @@ } }, "node_modules/prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", + "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", "dev": true, "bin": { - "prettier": "bin-prettier.js" + "prettier": "bin/prettier.cjs" }, "engines": { - "node": ">=10.13.0" + "node": ">=14" }, "funding": { "url": "https://github.com/prettier/prettier?sponsor=1" @@ -4793,6 +5159,92 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/run-applescript": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-5.0.0.tgz", + "integrity": "sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==", + "dev": true, + "dependencies": { + "execa": "^5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/run-applescript/node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/run-applescript/node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true, + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/run-applescript/node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/run-applescript/node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/run-applescript/node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true + }, + "node_modules/run-applescript/node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, "node_modules/run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", @@ -5225,6 +5677,18 @@ "node": ">=8" } }, + "node_modules/strip-final-newline": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", + "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/strip-json-comments": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", @@ -5333,6 +5797,22 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/synckit": { + "version": "0.8.5", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.8.5.tgz", + "integrity": "sha512-L1dapNV6vu2s/4Sputv8xGsCdAVlb5nRDMFU/E27D44l5U6cw1g0dGd45uLc+OXjNMmF4ntiMdCimzcjFKQI8Q==", + "dev": true, + "dependencies": { + "@pkgr/utils": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/unts" + } + }, "node_modules/tap": { "version": "18.4.5", "resolved": "https://registry.npmjs.org/tap/-/tap-18.4.5.tgz", @@ -5492,6 +5972,18 @@ "dev": true, "license": "MIT" }, + "node_modules/titleize": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/titleize/-/titleize-3.0.0.tgz", + "integrity": "sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -5789,6 +6281,15 @@ "version": "6.0.0", "license": "ISC" }, + "node_modules/untildify": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz", + "integrity": "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/uri-js": { "version": "4.4.1", "dev": true, @@ -6676,6 +7177,20 @@ "dev": true, "optional": true }, + "@pkgr/utils": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/@pkgr/utils/-/utils-2.4.2.tgz", + "integrity": "sha512-POgTXhjrTfbTV63DiFXav4lBHiICLKKwDeaKn9Nphwj7WH6m0hMMCaJkMyRWjgtPFyRKRVoMXXjczsTQRDEhYw==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.3", + "fast-glob": "^3.3.0", + "is-glob": "^4.0.3", + "open": "^9.1.0", + "picocolors": "^1.0.0", + "tslib": "^2.6.0" + } + }, "@sigstore/bundle": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-2.1.0.tgz", @@ -7486,12 +8001,27 @@ "before-after-hook": { "version": "2.2.2" }, + "big-integer": { + "version": "1.6.51", + "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz", + "integrity": "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==", + "dev": true + }, "binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", "dev": true }, + "bplist-parser": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.2.0.tgz", + "integrity": "sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==", + "dev": true, + "requires": { + "big-integer": "^1.6.44" + } + }, "brace-expansion": { "version": "1.1.11", "dev": true, @@ -7518,6 +8048,15 @@ "semver": "^7.0.0" } }, + "bundle-name": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-3.0.0.tgz", + "integrity": "sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==", + "dev": true, + "requires": { + "run-applescript": "^5.0.0" + } + }, "c8": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/c8/-/c8-8.0.1.tgz", @@ -7836,6 +8375,34 @@ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true }, + "default-browser": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-4.0.0.tgz", + "integrity": "sha512-wX5pXO1+BrhMkSbROFsyxUm0i/cJEScyNhA4PPxc41ICuv05ZZB/MX28s8aZx6xjmatvebIapF6hLEKEcpneUA==", + "dev": true, + "requires": { + "bundle-name": "^3.0.0", + "default-browser-id": "^3.0.0", + "execa": "^7.1.1", + "titleize": "^3.0.0" + } + }, + "default-browser-id": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-3.0.0.tgz", + "integrity": "sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA==", + "dev": true, + "requires": { + "bplist-parser": "^0.2.0", + "untildify": "^4.0.0" + } + }, + "define-lazy-prop": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", + "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", + "dev": true + }, "delegates": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", @@ -7954,12 +8521,13 @@ "requires": {} }, "eslint-plugin-prettier": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz", - "integrity": "sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.0.1.tgz", + "integrity": "sha512-m3u5RnR56asrwV/lDC4GHorlW75DsFfmUcjfCYylTUs85dBRnB7VM6xG8eCMJdeDRnppzmxZVf1GEPJvl1JmNg==", "dev": true, "requires": { - "prettier-linter-helpers": "^1.0.0" + "prettier-linter-helpers": "^1.0.0", + "synckit": "^0.8.5" } }, "eslint-scope": { @@ -8021,6 +8589,46 @@ "integrity": "sha512-f/qE2gImHRa4Cp2y1stEOSgw8wTFyUdVJX7G//bMwbaV9JqISFxg99NbmVQeP7YLnDUZ2un851jlaDrlpmGehQ==", "dev": true }, + "execa": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-7.2.0.tgz", + "integrity": "sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.1", + "human-signals": "^4.3.0", + "is-stream": "^3.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^5.1.0", + "onetime": "^6.0.0", + "signal-exit": "^3.0.7", + "strip-final-newline": "^3.0.0" + }, + "dependencies": { + "mimic-fn": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", + "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", + "dev": true + }, + "onetime": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", + "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", + "dev": true, + "requires": { + "mimic-fn": "^4.0.0" + } + }, + "signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true + } + } + }, "exponential-backoff": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz", @@ -8037,6 +8645,30 @@ "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", "dev": true }, + "fast-glob": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", + "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", + "dev": true, + "requires": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "dependencies": { + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + } + } + }, "fast-json-stable-stringify": { "version": "2.1.0", "dev": true @@ -8201,6 +8833,12 @@ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true }, + "get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true + }, "glob": { "version": "7.2.0", "dev": true, @@ -8308,6 +8946,12 @@ "debug": "4" } }, + "human-signals": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-4.3.1.tgz", + "integrity": "sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==", + "dev": true + }, "humanize-ms": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", @@ -8491,6 +9135,12 @@ "has": "^1.0.3" } }, + "is-docker": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", + "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", + "dev": true + }, "is-extglob": { "version": "2.1.1", "dev": true @@ -8508,6 +9158,15 @@ "is-extglob": "^2.1.1" } }, + "is-inside-container": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", + "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", + "dev": true, + "requires": { + "is-docker": "^3.0.0" + } + }, "is-lambda": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", @@ -8542,6 +9201,12 @@ "is-plain-object": { "version": "5.0.0" }, + "is-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", + "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", + "dev": true + }, "is-upper-case": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/is-upper-case/-/is-upper-case-2.0.2.tgz", @@ -8551,6 +9216,23 @@ "tslib": "^2.0.3" } }, + "is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "requires": { + "is-docker": "^2.0.0" + }, + "dependencies": { + "is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true + } + } + }, "isarray": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", @@ -8807,6 +9489,28 @@ "version": "1.0.1", "dev": true }, + "merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true + }, + "micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "dev": true, + "requires": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + } + }, "mimic-fn": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", @@ -9146,6 +9850,23 @@ } } }, + "npm-run-path": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", + "integrity": "sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==", + "dev": true, + "requires": { + "path-key": "^4.0.0" + }, + "dependencies": { + "path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "dev": true + } + } + }, "npmlog": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", @@ -9173,6 +9894,18 @@ "mimic-fn": "^2.1.0" } }, + "open": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/open/-/open-9.1.0.tgz", + "integrity": "sha512-OS+QTnw1/4vrf+9hh1jc1jnYjzSG4ttTBB8UxOwAnInG3Uo4ssetzC1ihqaIHjLJnA5GGlRl6QlZXOTQhRBUvg==", + "dev": true, + "requires": { + "default-browser": "^4.0.0", + "define-lazy-prop": "^3.0.0", + "is-inside-container": "^1.0.0", + "is-wsl": "^2.2.0" + } + }, "opener": { "version": "1.5.2", "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz", @@ -9304,6 +10037,12 @@ "isarray": "0.0.1" } }, + "picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, "picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", @@ -9329,9 +10068,9 @@ "dev": true }, "prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", + "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", "dev": true }, "prettier-linter-helpers": { @@ -9640,6 +10379,67 @@ "glob": "^7.1.3" } }, + "run-applescript": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-5.0.0.tgz", + "integrity": "sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==", + "dev": true, + "requires": { + "execa": "^5.0.0" + }, + "dependencies": { + "execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + } + }, + "human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true + }, + "is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true + }, + "npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "requires": { + "path-key": "^3.0.0" + } + }, + "signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true + }, + "strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true + } + } + }, "run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", @@ -9946,6 +10746,12 @@ "ansi-regex": "^5.0.1" } }, + "strip-final-newline": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", + "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", + "dev": true + }, "strip-json-comments": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", @@ -10013,6 +10819,16 @@ } } }, + "synckit": { + "version": "0.8.5", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.8.5.tgz", + "integrity": "sha512-L1dapNV6vu2s/4Sputv8xGsCdAVlb5nRDMFU/E27D44l5U6cw1g0dGd45uLc+OXjNMmF4ntiMdCimzcjFKQI8Q==", + "dev": true, + "requires": { + "@pkgr/utils": "^2.3.1", + "tslib": "^2.5.0" + } + }, "tap": { "version": "18.4.5", "resolved": "https://registry.npmjs.org/tap/-/tap-18.4.5.tgz", @@ -10133,6 +10949,12 @@ "version": "0.2.0", "dev": true }, + "titleize": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/titleize/-/titleize-3.0.0.tgz", + "integrity": "sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ==", + "dev": true + }, "to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -10333,6 +11155,12 @@ "universal-user-agent": { "version": "6.0.0" }, + "untildify": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz", + "integrity": "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==", + "dev": true + }, "uri-js": { "version": "4.4.1", "dev": true, diff --git a/package.json b/package.json index 10759458..5b0c69a3 100644 --- a/package.json +++ b/package.json @@ -35,9 +35,9 @@ "@vercel/ncc": "^0.38.0", "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.0.1", "husky": "^8.0.3", - "prettier": "^2.8.8", + "prettier": "^3.0.3", "proxyquire": "^2.1.3", "sinon": "^16.1.0", "tap": "^18.4.5" diff --git a/src/action.js b/src/action.js index d3b581ee..de59e042 100644 --- a/src/action.js +++ b/src/action.js @@ -25,7 +25,7 @@ module.exports = async function run({ }) { const { updateType } = dependabotMetadata const dependencyNames = parseCommaOrSemicolonSeparatedValue( - dependabotMetadata.dependencyNames + dependabotMetadata.dependencyNames, ) const { @@ -48,7 +48,7 @@ module.exports = async function run({ if (!pull_request && !PR_NUMBER) { core.setOutput(MERGE_STATUS_KEY, MERGE_STATUS.skippedNotADependabotPr) return logError( - 'This action must be used in the context of a Pull Request or with a Pull Request number' + 'This action must be used in the context of a Pull Request or with a Pull Request number', ) } @@ -76,10 +76,10 @@ module.exports = async function run({ } catch { core.setOutput( MERGE_STATUS_KEY, - MERGE_STATUS.skippedCommitVerificationFailed + MERGE_STATUS.skippedCommitVerificationFailed, ) return logWarning( - 'PR contains invalid dependabot commit signatures, skipping.' + 'PR contains invalid dependabot commit signatures, skipping.', ) } } @@ -105,7 +105,7 @@ Tried to do a '${updateType}' update but the max allowed is '${TARGET}'`) } const changedExcludedPackages = EXCLUDE_PKGS.filter( - pkg => dependencyNames.indexOf(pkg) > -1 + pkg => dependencyNames.indexOf(pkg) > -1, ) // TODO: Improve error message for excluded packages? @@ -132,7 +132,7 @@ ${changedExcludedPackages.join(', ')}. Skipping.`) if (APPROVE_ONLY) { core.setOutput(MERGE_STATUS_KEY, MERGE_STATUS.approved) return logInfo( - 'APPROVE_ONLY set, PR was approved but it will not be merged' + 'APPROVE_ONLY set, PR was approved but it will not be merged', ) } diff --git a/src/util.js b/src/util.js index 9d9674bf..b94da21a 100644 --- a/src/util.js +++ b/src/util.js @@ -18,7 +18,7 @@ const getMergeMethod = inputs => { if (!mergeMethods[input]) { logWarning( - 'merge-method input is ignored because it is malformed, defaulting to `squash`.' + 'merge-method input is ignored because it is malformed, defaulting to `squash`.', ) return mergeMethods.squash } diff --git a/src/verifyCommitSignatures.js b/src/verifyCommitSignatures.js index 2d1478bf..d4a4b2a7 100644 --- a/src/verifyCommitSignatures.js +++ b/src/verifyCommitSignatures.js @@ -23,7 +23,7 @@ function verifyCommitSignatureCommitterAndAuthor( sha, author, committer, - verified + verified, ) { if ( !verified || @@ -31,7 +31,7 @@ function verifyCommitSignatureCommitterAndAuthor( author.name !== dependabotAuthor ) { throw new Error( - `Signature for commit ${sha} could not be verified - Not a dependabot commit` + `Signature for commit ${sha} could not be verified - Not a dependabot commit`, ) } } diff --git a/test/action.test.js b/test/action.test.js index 76155ea4..67e17290 100644 --- a/test/action.test.js +++ b/test/action.test.js @@ -126,7 +126,7 @@ tap.test('should not run if a pull request number is missing', async () => { sinon.assert.calledWith( stubs.coreStub.setOutput, MERGE_STATUS_KEY, - MERGE_STATUS.skippedNotADependabotPr + MERGE_STATUS.skippedNotADependabotPr, ) }) @@ -142,7 +142,7 @@ tap.test( await action() sinon.assert.calledOnce(stubs.prStub) - } + }, ) tap.test('should skip non-dependabot PR', async () => { @@ -163,14 +163,14 @@ tap.test('should skip non-dependabot PR', async () => { sinon.assert.calledOnce(stubs.prStub) sinon.assert.calledWithExactly( stubs.logStub.logWarning, - 'Not a dependabot PR, skipping.' + 'Not a dependabot PR, skipping.', ) sinon.assert.notCalled(stubs.approveStub) sinon.assert.notCalled(stubs.mergeStub) sinon.assert.calledWith( stubs.coreStub.setOutput, MERGE_STATUS_KEY, - MERGE_STATUS.skippedNotADependabotPr + MERGE_STATUS.skippedNotADependabotPr, ) }) @@ -206,7 +206,7 @@ for (const prCommitsStub of prCommitsStubs) { sinon.assert.calledOnce(stubs.prCommitsStub) sinon.assert.calledWithExactly( stubs.logStub.logWarning, - 'PR contains non dependabot commits, skipping.' + 'PR contains non dependabot commits, skipping.', ) sinon.assert.notCalled(stubs.approveStub) sinon.assert.notCalled(stubs.mergeStub) @@ -214,7 +214,7 @@ for (const prCommitsStub of prCommitsStubs) { sinon.assert.calledWith( stubs.coreStub.setOutput, MERGE_STATUS_KEY, - MERGE_STATUS.skippedNotADependabotPr + MERGE_STATUS.skippedNotADependabotPr, ) }) } @@ -243,7 +243,7 @@ for (const prCommitsStub of prCommitsStubs) { sinon.assert.calledWithExactly( stubs.logStub.logInfo, - 'Dependabot merge completed' + 'Dependabot merge completed', ) sinon.assert.calledOnce(stubs.prCommitsStub) sinon.assert.calledOnce(stubs.approveStub) @@ -252,9 +252,9 @@ for (const prCommitsStub of prCommitsStubs) { sinon.assert.calledWith( stubs.coreStub.setOutput, MERGE_STATUS_KEY, - MERGE_STATUS.merged + MERGE_STATUS.merged, ) - } + }, ) } @@ -287,16 +287,16 @@ tap.test( sinon.assert.calledWithExactly( stubs.logStub.logWarning, - 'PR contains invalid dependabot commit signatures, skipping.' + 'PR contains invalid dependabot commit signatures, skipping.', ) sinon.assert.notCalled(stubs.approveStub) sinon.assert.notCalled(stubs.mergeStub) sinon.assert.calledWith( stubs.coreStub.setOutput, MERGE_STATUS_KEY, - MERGE_STATUS.skippedCommitVerificationFailed + MERGE_STATUS.skippedCommitVerificationFailed, ) - } + }, ) tap.test( @@ -329,7 +329,7 @@ tap.test( sinon.assert.calledWithExactly( stubs.logStub.logInfo, - 'Dependabot merge completed' + 'Dependabot merge completed', ) sinon.assert.notCalled(stubs.coreStub.setFailed) sinon.assert.calledOnce(stubs.approveStub) @@ -337,9 +337,9 @@ tap.test( sinon.assert.calledWith( stubs.coreStub.setOutput, MERGE_STATUS_KEY, - MERGE_STATUS.merged + MERGE_STATUS.merged, ) - } + }, ) tap.test( @@ -372,7 +372,7 @@ tap.test( sinon.assert.calledWithExactly( stubs.logStub.logInfo, - 'Dependabot merge completed' + 'Dependabot merge completed', ) sinon.assert.notCalled(stubs.coreStub.setFailed) sinon.assert.calledOnce(stubs.approveStub) @@ -381,9 +381,9 @@ tap.test( sinon.assert.calledWith( stubs.coreStub.setOutput, MERGE_STATUS_KEY, - MERGE_STATUS.merged + MERGE_STATUS.merged, ) - } + }, ) tap.test( @@ -416,7 +416,7 @@ tap.test( sinon.assert.calledWithExactly( stubs.logStub.logInfo, - 'Dependabot merge completed' + 'Dependabot merge completed', ) sinon.assert.notCalled(stubs.coreStub.setFailed) sinon.assert.calledOnce(stubs.approveStub) @@ -424,9 +424,9 @@ tap.test( sinon.assert.calledWith( stubs.coreStub.setOutput, MERGE_STATUS_KEY, - MERGE_STATUS.merged + MERGE_STATUS.merged, ) - } + }, ) tap.test('should ignore excluded package', async () => { @@ -445,14 +445,14 @@ tap.test('should ignore excluded package', async () => { sinon.assert.calledWithExactly( stubs.logStub.logInfo, - '1 package(s) excluded: react. Skipping.' + '1 package(s) excluded: react. Skipping.', ) sinon.assert.notCalled(stubs.approveStub) sinon.assert.notCalled(stubs.mergeStub) sinon.assert.calledWith( stubs.coreStub.setOutput, MERGE_STATUS_KEY, - MERGE_STATUS.skippedPackageExcluded + MERGE_STATUS.skippedPackageExcluded, ) }) @@ -478,13 +478,13 @@ tap.test('approve only should not merge', async () => { sinon.assert.calledWithExactly( stubs.logStub.logInfo, - 'APPROVE_ONLY set, PR was approved but it will not be merged' + 'APPROVE_ONLY set, PR was approved but it will not be merged', ) sinon.assert.notCalled(stubs.mergeStub) sinon.assert.calledWith( stubs.coreStub.setOutput, MERGE_STATUS_KEY, - MERGE_STATUS.approved + MERGE_STATUS.approved, ) }) @@ -504,14 +504,14 @@ tap.test('should review and merge', async () => { sinon.assert.calledWithExactly( stubs.logStub.logInfo, - 'Dependabot merge completed' + 'Dependabot merge completed', ) sinon.assert.calledOnce(stubs.approveStub) sinon.assert.calledOnce(stubs.mergeStub) sinon.assert.calledWith( stubs.coreStub.setOutput, MERGE_STATUS_KEY, - MERGE_STATUS.merged + MERGE_STATUS.merged, ) }) @@ -533,16 +533,16 @@ tap.test( sinon.assert.calledWithExactly( stubs.logStub.logInfo, - 'Dependabot merge completed' + 'Dependabot merge completed', ) sinon.assert.calledOnce(stubs.approveStub) sinon.assert.calledOnce(stubs.mergeStub) sinon.assert.calledWith( stubs.coreStub.setOutput, MERGE_STATUS_KEY, - MERGE_STATUS.merged + MERGE_STATUS.merged, ) - } + }, ) tap.test( @@ -571,9 +571,9 @@ tap.test( sinon.assert.calledWith( stubs.coreStub.setOutput, MERGE_STATUS_KEY, - MERGE_STATUS.skippedCannotUpdateMajor + MERGE_STATUS.skippedCannotUpdateMajor, ) - } + }, ) tap.test('should review and merge', async () => { @@ -592,7 +592,7 @@ tap.test('should review and merge', async () => { sinon.assert.calledWithExactly( stubs.logStub.logInfo, - 'Dependabot merge completed' + 'Dependabot merge completed', ) sinon.assert.notCalled(stubs.coreStub.setFailed) sinon.assert.calledOnce(stubs.approveStub) @@ -600,7 +600,7 @@ tap.test('should review and merge', async () => { sinon.assert.calledWith( stubs.coreStub.setOutput, MERGE_STATUS_KEY, - MERGE_STATUS.merged + MERGE_STATUS.merged, ) }) @@ -626,7 +626,7 @@ tap.test('should review and enable github auto-merge', async () => { sinon.assert.calledWithExactly( stubs.logStub.logInfo, - 'USE_GITHUB_AUTO_MERGE set, PR was marked as auto-merge' + 'USE_GITHUB_AUTO_MERGE set, PR was marked as auto-merge', ) sinon.assert.notCalled(stubs.coreStub.setFailed) sinon.assert.calledOnce(stubs.approveStub) @@ -658,14 +658,14 @@ tap.test('should forbid major when target is minor', async () => { sinon.assert.calledWithExactly( stubs.logStub.logWarning, `Semver bump is higher than allowed in TARGET. -Tried to do a '${updateTypes.major}' update but the max allowed is '${updateTypes.minor}'` +Tried to do a '${updateTypes.major}' update but the max allowed is '${updateTypes.minor}'`, ) sinon.assert.notCalled(stubs.approveStub) sinon.assert.notCalled(stubs.mergeStub) sinon.assert.calledWith( stubs.coreStub.setOutput, MERGE_STATUS_KEY, - MERGE_STATUS.skippedBumpHigherThanTarget + MERGE_STATUS.skippedBumpHigherThanTarget, ) }) @@ -694,14 +694,14 @@ tap.test('should forbid minor when target is patch', async () => { sinon.assert.calledWithExactly( stubs.logStub.logWarning, `Semver bump is higher than allowed in TARGET. -Tried to do a '${updateTypes.minor}' update but the max allowed is '${updateTypes.patch}'` +Tried to do a '${updateTypes.minor}' update but the max allowed is '${updateTypes.patch}'`, ) sinon.assert.notCalled(stubs.approveStub) sinon.assert.notCalled(stubs.mergeStub) sinon.assert.calledWith( stubs.coreStub.setOutput, MERGE_STATUS_KEY, - MERGE_STATUS.skippedBumpHigherThanTarget + MERGE_STATUS.skippedBumpHigherThanTarget, ) }) @@ -729,14 +729,14 @@ tap.test('should forbid when update type is missing', async () => { sinon.assert.calledWithExactly( stubs.logStub.logWarning, - `Semver bump 'null' is invalid!` + `Semver bump 'null' is invalid!`, ) sinon.assert.notCalled(stubs.approveStub) sinon.assert.notCalled(stubs.mergeStub) sinon.assert.calledWith( stubs.coreStub.setOutput, MERGE_STATUS_KEY, - MERGE_STATUS.skippedInvalidVersion + MERGE_STATUS.skippedInvalidVersion, ) }) @@ -764,14 +764,14 @@ tap.test('should forbid when update type is not valid', async () => { sinon.assert.calledWithExactly( stubs.logStub.logWarning, - `Semver bump 'semver:invalid' is invalid!` + `Semver bump 'semver:invalid' is invalid!`, ) sinon.assert.notCalled(stubs.approveStub) sinon.assert.notCalled(stubs.mergeStub) sinon.assert.calledWith( stubs.coreStub.setOutput, MERGE_STATUS_KEY, - MERGE_STATUS.skippedInvalidVersion + MERGE_STATUS.skippedInvalidVersion, ) }) @@ -798,7 +798,7 @@ tap.test('should allow minor when target is major', async () => { sinon.assert.calledWithExactly( stubs.logStub.logInfo, - 'Dependabot merge completed' + 'Dependabot merge completed', ) sinon.assert.notCalled(stubs.coreStub.setFailed) sinon.assert.calledOnce(stubs.approveStub) @@ -806,6 +806,6 @@ tap.test('should allow minor when target is major', async () => { sinon.assert.calledWith( stubs.coreStub.setOutput, MERGE_STATUS_KEY, - MERGE_STATUS.merged + MERGE_STATUS.merged, ) }) diff --git a/test/github-client.test.js b/test/github-client.test.js index 7c152ef2..7e5432a7 100644 --- a/test/github-client.test.js +++ b/test/github-client.test.js @@ -39,7 +39,7 @@ tap.afterEach(() => { tap.test('githubClient', async t => { t.test('getPullRequest', async () => { const result = await githubClient(githubStub, contextStub).getPullRequest( - PR_NUMBER + PR_NUMBER, ) tap.equal(result, data) @@ -54,7 +54,7 @@ tap.test('githubClient', async t => { const comment = 'Test pull request comment' const result = await githubClient( githubStub, - contextStub + contextStub, ).approvePullRequest(PR_NUMBER, comment) tap.equal(result, data) @@ -71,7 +71,7 @@ tap.test('githubClient', async t => { const method = 'squash' const result = await githubClient(githubStub, contextStub).mergePullRequest( PR_NUMBER, - method + method, ) tap.equal(result, data) @@ -87,7 +87,7 @@ tap.test('githubClient', async t => { const method = 'squash' const result = await githubClient( githubStub, - contextStub + contextStub, ).enableAutoMergePullRequest(PR_NODE_ID, method) tap.equal(result, data) @@ -117,7 +117,7 @@ mutation ($pullRequestId: ID!, $mergeMethod: PullRequestMergeMethod!) { t.test('getPullRequestDiff', async () => { const result = await githubClient( githubStub, - contextStub + contextStub, ).getPullRequestDiff(PR_NUMBER) tap.equal(result, data) @@ -134,7 +134,7 @@ mutation ($pullRequestId: ID!, $mergeMethod: PullRequestMergeMethod!) { t.test('getPullRequestCommits', async () => { const result = await githubClient( githubStub, - contextStub + contextStub, ).getPullRequestCommits(PR_NUMBER) tap.equal(result, data) diff --git a/test/mapUpdateType.test.js b/test/mapUpdateType.test.js index 360ed767..524a5a07 100644 --- a/test/mapUpdateType.test.js +++ b/test/mapUpdateType.test.js @@ -13,6 +13,6 @@ tap.test('mapUpdateType', async t => { t.equal(mapUpdateType('bad_input'), updateTypes.any) t.equal(mapUpdateType(), updateTypes.any) t.equal(mapUpdateType('any'), updateTypes.any) - } + }, ) }) diff --git a/test/util.test.js b/test/util.test.js index f1ed3d80..b61f42ae 100644 --- a/test/util.test.js +++ b/test/util.test.js @@ -9,7 +9,7 @@ const { getInputs, parseCommaOrSemicolonSeparatedValue } = tap.mockRequire( '../src/log.js': { logWarning: logWarningStub, }, - } + }, ) tap.test('parseCommaOrSemicolonSeparatedValue', async t => { @@ -65,12 +65,12 @@ tap.test('getInputs', async t => { t.equal(logWarningStub.callCount, 0) t.equal( getInputs({ 'merge-method': 'invalid-merge-method' }).MERGE_METHOD, - 'squash' + 'squash', ) t.equal(logWarningStub.callCount, 1) t.equal( logWarningStub.firstCall.args[0], - 'merge-method input is ignored because it is malformed, defaulting to `squash`.' + 'merge-method input is ignored because it is malformed, defaulting to `squash`.', ) }) t.test('EXCLUDE_PKGS', async t => { @@ -83,7 +83,7 @@ tap.test('getInputs', async t => { t.equal(getInputs({}).MERGE_COMMENT, '') t.equal( getInputs({ 'merge-comment': 'test-merge-comment' }).MERGE_COMMENT, - 'test-merge-comment' + 'test-merge-comment', ) }) t.test('BOOLEAN INPUTS', async t => { @@ -100,25 +100,25 @@ tap.test('getInputs', async t => { t.test('TARGET', async t => { t.equal( getInputs({ target: 'major' }).TARGET, - 'version-update:semver-major' + 'version-update:semver-major', ) t.equal( getInputs({ target: 'minor' }).TARGET, - 'version-update:semver-minor' + 'version-update:semver-minor', ) t.equal( getInputs({ target: 'patch' }).TARGET, - 'version-update:semver-patch' + 'version-update:semver-patch', ) t.equal(getInputs({ target: '' }).TARGET, 'version-update:semver-any') t.equal( getInputs({ target: 'any' }).TARGET, - 'version-update:semver-any' + 'version-update:semver-any', ) }) t.test('PR_NUMBER', async t => { t.equal(getInputs({ 'pr-number': '10' }).PR_NUMBER, '10') }) - } + }, ) }) diff --git a/test/verifyCommitSignatures.test.js b/test/verifyCommitSignatures.test.js index 4e57b66a..510f5de6 100644 --- a/test/verifyCommitSignatures.test.js +++ b/test/verifyCommitSignatures.test.js @@ -82,11 +82,11 @@ tap.test('verifyCommitSignatureCommitterAndAuthor', async t => { sha, author, committer, - verified + verified, ), new Error( - `Signature for commit ${sha} could not be verified - Not a dependabot commit` - ) + `Signature for commit ${sha} could not be verified - Not a dependabot commit`, + ), ) }) @@ -105,11 +105,11 @@ tap.test('verifyCommitSignatureCommitterAndAuthor', async t => { sha, author, committer, - verified + verified, ), new Error( - `Signature for commit ${sha} could not be verified - Not a dependabot commit` - ) + `Signature for commit ${sha} could not be verified - Not a dependabot commit`, + ), ) }) @@ -128,11 +128,11 @@ tap.test('verifyCommitSignatureCommitterAndAuthor', async t => { sha, author, committer, - verified + verified, ), new Error( - `Signature for commit ${sha} could not be verified - Not a dependabot commit` - ) + `Signature for commit ${sha} could not be verified - Not a dependabot commit`, + ), ) }) @@ -153,13 +153,13 @@ tap.test('verifyCommitSignatureCommitterAndAuthor', async t => { sha, author, committer, - verified + verified, ), new Error( - `Signature for commit ${sha} could not be verified - Not a dependabot commit` - ) + `Signature for commit ${sha} could not be verified - Not a dependabot commit`, + ), ) - } + }, ) }) @@ -181,11 +181,11 @@ tap.test('verifyCommitSignatureCommitterAndAuthor', async t => { sha, author, committer, - verified + verified, ), - {} + {}, ) - } + }, ) }) }) @@ -196,8 +196,8 @@ tap.test('VerifyCommits', async t => { t.throws( () => verifyCommits(prCommitsValidAndInvalid), new Error( - `Signature for commit sha could not be verified - Not a dependabot commit` - ) + `Signature for commit sha could not be verified - Not a dependabot commit`, + ), ) }) @@ -205,8 +205,8 @@ tap.test('VerifyCommits', async t => { t.throws( () => verifyCommits(prCommitsInvalid), new Error( - `Signature for commit sha could not be verified - Not a dependabot commit` - ) + `Signature for commit sha could not be verified - Not a dependabot commit`, + ), ) }) }) From b1b3ea6c18383d9fb12f274f9b71b27efad06f42 Mon Sep 17 00:00:00 2001 From: Aras Abbasi Date: Wed, 11 Oct 2023 16:41:37 +0200 Subject: [PATCH 8/9] remove @actions/github from deps (#522) --- package-lock.json | 297 +++------------------------------------------- package.json | 1 - 2 files changed, 14 insertions(+), 284 deletions(-) diff --git a/package-lock.json b/package-lock.json index dd4db39b..613b819c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,6 @@ "license": "MIT", "dependencies": { "@actions/core": "^1.10.1", - "@actions/github": "^5.1.1", "actions-toolkit": "github:nearform/actions-toolkit" }, "devDependencies": { @@ -43,17 +42,6 @@ "uuid": "^8.3.2" } }, - "node_modules/@actions/github": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@actions/github/-/github-5.1.1.tgz", - "integrity": "sha512-Nk59rMDoJaV+mHCOJPXuvB1zIbomlKS0dmSIqPGxd0enAXBnOfn4VWF+CGtRCwXZG9Epa54tZA7VIRlJDS8A6g==", - "dependencies": { - "@actions/http-client": "^2.0.1", - "@octokit/core": "^3.6.0", - "@octokit/plugin-paginate-rest": "^2.17.0", - "@octokit/plugin-rest-endpoint-methods": "^5.13.0" - } - }, "node_modules/@actions/http-client": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.0.1.tgz", @@ -555,99 +543,6 @@ "node": "^16.13.0 || >=18.0.0" } }, - "node_modules/@octokit/auth-token": { - "version": "2.5.0", - "license": "MIT", - "dependencies": { - "@octokit/types": "^6.0.3" - } - }, - "node_modules/@octokit/core": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.6.0.tgz", - "integrity": "sha512-7RKRKuA4xTjMhY+eG3jthb3hlZCsOwg3rztWh75Xc+ShDWOfDDATWbeZpAHBNRpm4Tv9WgBMOy1zEJYXG6NJ7Q==", - "dependencies": { - "@octokit/auth-token": "^2.4.4", - "@octokit/graphql": "^4.5.8", - "@octokit/request": "^5.6.3", - "@octokit/request-error": "^2.0.5", - "@octokit/types": "^6.0.3", - "before-after-hook": "^2.2.0", - "universal-user-agent": "^6.0.0" - } - }, - "node_modules/@octokit/endpoint": { - "version": "6.0.12", - "license": "MIT", - "dependencies": { - "@octokit/types": "^6.0.3", - "is-plain-object": "^5.0.0", - "universal-user-agent": "^6.0.0" - } - }, - "node_modules/@octokit/graphql": { - "version": "4.8.0", - "license": "MIT", - "dependencies": { - "@octokit/request": "^5.6.0", - "@octokit/types": "^6.0.3", - "universal-user-agent": "^6.0.0" - } - }, - "node_modules/@octokit/openapi-types": { - "version": "11.2.0", - "license": "MIT" - }, - "node_modules/@octokit/plugin-paginate-rest": { - "version": "2.17.0", - "license": "MIT", - "dependencies": { - "@octokit/types": "^6.34.0" - }, - "peerDependencies": { - "@octokit/core": ">=2" - } - }, - "node_modules/@octokit/plugin-rest-endpoint-methods": { - "version": "5.13.0", - "license": "MIT", - "dependencies": { - "@octokit/types": "^6.34.0", - "deprecation": "^2.3.1" - }, - "peerDependencies": { - "@octokit/core": ">=3" - } - }, - "node_modules/@octokit/request": { - "version": "5.6.3", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.6.3.tgz", - "integrity": "sha512-bFJl0I1KVc9jYTe9tdGGpAMPy32dLBXXo1dS/YwSCTL/2nd9XeHsY616RE3HPXDVk+a+dBuzyz5YdlXwcDTr2A==", - "dependencies": { - "@octokit/endpoint": "^6.0.1", - "@octokit/request-error": "^2.1.0", - "@octokit/types": "^6.16.1", - "is-plain-object": "^5.0.0", - "node-fetch": "^2.6.7", - "universal-user-agent": "^6.0.0" - } - }, - "node_modules/@octokit/request-error": { - "version": "2.1.0", - "license": "MIT", - "dependencies": { - "@octokit/types": "^6.0.3", - "deprecation": "^2.0.0", - "once": "^1.4.0" - } - }, - "node_modules/@octokit/types": { - "version": "6.34.0", - "license": "MIT", - "dependencies": { - "@octokit/openapi-types": "^11.2.0" - } - }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", @@ -1827,10 +1722,6 @@ "dev": true, "license": "MIT" }, - "node_modules/before-after-hook": { - "version": "2.2.2", - "license": "Apache-2.0" - }, "node_modules/big-integer": { "version": "1.6.51", "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz", @@ -2407,10 +2298,6 @@ "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==", "dev": true }, - "node_modules/deprecation": { - "version": "2.3.1", - "license": "ISC" - }, "node_modules/diff": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", @@ -2447,6 +2334,7 @@ "version": "0.1.13", "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "dev": true, "optional": true, "dependencies": { "iconv-lite": "^0.6.2" @@ -3197,6 +3085,7 @@ "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, "optional": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" @@ -3534,6 +3423,7 @@ }, "node_modules/is-plain-object": { "version": "5.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -4191,25 +4081,6 @@ "path-to-regexp": "^1.7.0" } }, - "node_modules/node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, "node_modules/node-gyp": { "version": "9.4.0", "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-9.4.0.tgz", @@ -4433,6 +4304,7 @@ }, "node_modules/once": { "version": "1.4.0", + "dev": true, "license": "ISC", "dependencies": { "wrappy": "1" @@ -5292,6 +5164,7 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true, "optional": true }, "node_modules/scheduler": { @@ -5996,11 +5869,6 @@ "node": ">=8.0" } }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" - }, "node_modules/trivial-deferred": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/trivial-deferred/-/trivial-deferred-2.0.0.tgz", @@ -6277,10 +6145,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/universal-user-agent": { - "version": "6.0.0", - "license": "ISC" - }, "node_modules/untildify": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz", @@ -6370,20 +6234,6 @@ "integrity": "sha512-9YlCL/ynK3CTlrSRrDxZvUauLzAswPCrsaCgilqFevUYpeEW0/3ScEjaa3kbW/T0ghhkEr7mv+fpjqn1Y1YuTA==", "dev": true }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" - }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, "node_modules/which": { "version": "2.0.2", "dev": true, @@ -6556,6 +6406,7 @@ }, "node_modules/wrappy": { "version": "1.0.2", + "dev": true, "license": "ISC" }, "node_modules/ws": { @@ -6706,17 +6557,6 @@ "uuid": "^8.3.2" } }, - "@actions/github": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@actions/github/-/github-5.1.1.tgz", - "integrity": "sha512-Nk59rMDoJaV+mHCOJPXuvB1zIbomlKS0dmSIqPGxd0enAXBnOfn4VWF+CGtRCwXZG9Epa54tZA7VIRlJDS8A6g==", - "requires": { - "@actions/http-client": "^2.0.1", - "@octokit/core": "^3.6.0", - "@octokit/plugin-paginate-rest": "^2.17.0", - "@octokit/plugin-rest-endpoint-methods": "^5.13.0" - } - }, "@actions/http-client": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.0.1.tgz", @@ -7091,85 +6931,6 @@ } } }, - "@octokit/auth-token": { - "version": "2.5.0", - "requires": { - "@octokit/types": "^6.0.3" - } - }, - "@octokit/core": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.6.0.tgz", - "integrity": "sha512-7RKRKuA4xTjMhY+eG3jthb3hlZCsOwg3rztWh75Xc+ShDWOfDDATWbeZpAHBNRpm4Tv9WgBMOy1zEJYXG6NJ7Q==", - "requires": { - "@octokit/auth-token": "^2.4.4", - "@octokit/graphql": "^4.5.8", - "@octokit/request": "^5.6.3", - "@octokit/request-error": "^2.0.5", - "@octokit/types": "^6.0.3", - "before-after-hook": "^2.2.0", - "universal-user-agent": "^6.0.0" - } - }, - "@octokit/endpoint": { - "version": "6.0.12", - "requires": { - "@octokit/types": "^6.0.3", - "is-plain-object": "^5.0.0", - "universal-user-agent": "^6.0.0" - } - }, - "@octokit/graphql": { - "version": "4.8.0", - "requires": { - "@octokit/request": "^5.6.0", - "@octokit/types": "^6.0.3", - "universal-user-agent": "^6.0.0" - } - }, - "@octokit/openapi-types": { - "version": "11.2.0" - }, - "@octokit/plugin-paginate-rest": { - "version": "2.17.0", - "requires": { - "@octokit/types": "^6.34.0" - } - }, - "@octokit/plugin-rest-endpoint-methods": { - "version": "5.13.0", - "requires": { - "@octokit/types": "^6.34.0", - "deprecation": "^2.3.1" - } - }, - "@octokit/request": { - "version": "5.6.3", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.6.3.tgz", - "integrity": "sha512-bFJl0I1KVc9jYTe9tdGGpAMPy32dLBXXo1dS/YwSCTL/2nd9XeHsY616RE3HPXDVk+a+dBuzyz5YdlXwcDTr2A==", - "requires": { - "@octokit/endpoint": "^6.0.1", - "@octokit/request-error": "^2.1.0", - "@octokit/types": "^6.16.1", - "is-plain-object": "^5.0.0", - "node-fetch": "^2.6.7", - "universal-user-agent": "^6.0.0" - } - }, - "@octokit/request-error": { - "version": "2.1.0", - "requires": { - "@octokit/types": "^6.0.3", - "deprecation": "^2.0.0", - "once": "^1.4.0" - } - }, - "@octokit/types": { - "version": "6.34.0", - "requires": { - "@octokit/openapi-types": "^11.2.0" - } - }, "@pkgjs/parseargs": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", @@ -7998,9 +7759,6 @@ "version": "1.0.2", "dev": true }, - "before-after-hook": { - "version": "2.2.2" - }, "big-integer": { "version": "1.6.51", "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz", @@ -8409,9 +8167,6 @@ "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==", "dev": true }, - "deprecation": { - "version": "2.3.1" - }, "diff": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", @@ -8441,6 +8196,7 @@ "version": "0.1.13", "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "dev": true, "optional": true, "requires": { "iconv-lite": "^0.6.2" @@ -8971,6 +8727,7 @@ "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, "optional": true, "requires": { "safer-buffer": ">= 2.1.2 < 3.0.0" @@ -9199,7 +8956,8 @@ "dev": true }, "is-plain-object": { - "version": "5.0.0" + "version": "5.0.0", + "dev": true }, "is-stream": { "version": "3.0.0", @@ -9703,14 +9461,6 @@ "path-to-regexp": "^1.7.0" } }, - "node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", - "requires": { - "whatwg-url": "^5.0.0" - } - }, "node-gyp": { "version": "9.4.0", "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-9.4.0.tgz", @@ -9881,6 +9631,7 @@ }, "once": { "version": "1.4.0", + "dev": true, "requires": { "wrappy": "1" } @@ -10459,6 +10210,7 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true, "optional": true }, "scheduler": { @@ -10964,11 +10716,6 @@ "is-number": "^7.0.0" } }, - "tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" - }, "trivial-deferred": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/trivial-deferred/-/trivial-deferred-2.0.0.tgz", @@ -11152,9 +10899,6 @@ "imurmurhash": "^0.1.4" } }, - "universal-user-agent": { - "version": "6.0.0" - }, "untildify": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz", @@ -11233,20 +10977,6 @@ "integrity": "sha512-9YlCL/ynK3CTlrSRrDxZvUauLzAswPCrsaCgilqFevUYpeEW0/3ScEjaa3kbW/T0ghhkEr7mv+fpjqn1Y1YuTA==", "dev": true }, - "webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" - }, - "whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", - "requires": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, "which": { "version": "2.0.2", "dev": true, @@ -11368,7 +11098,8 @@ } }, "wrappy": { - "version": "1.0.2" + "version": "1.0.2", + "dev": true }, "ws": { "version": "8.14.2", diff --git a/package.json b/package.json index 5b0c69a3..728b0666 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,6 @@ "homepage": "https://github.com/fastify/github-action-merge-dependabot#readme", "dependencies": { "@actions/core": "^1.10.1", - "@actions/github": "^5.1.1", "actions-toolkit": "github:nearform/actions-toolkit" }, "devDependencies": { From 2bc49a8272638abefe16e798178e21d082faca74 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Oct 2023 10:05:25 +0100 Subject: [PATCH 9/9] chore(deps): bump actions-toolkit from `e49ae06` to `043a44d` (#518) Bumps [actions-toolkit](https://github.com/nearform/actions-toolkit) from `e49ae06` to `043a44d`. - [Commits](https://github.com/nearform/actions-toolkit/compare/e49ae0606145d17f3f4b11df5fcbe4e9085579fb...043a44dcb32c97738aab3914c9f956f802531b49) --- updated-dependencies: - dependency-name: actions-toolkit dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 613b819c..493456f8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1535,8 +1535,8 @@ }, "node_modules/actions-toolkit": { "version": "1.0.0", - "resolved": "git+ssh://git@github.com/nearform/actions-toolkit.git#e49ae0606145d17f3f4b11df5fcbe4e9085579fb", - "integrity": "sha512-frYjhtrC8hYU0r1GoZCcace0RdtqVzra/tflCf6OHYXJDR/WDL+lP4shhnuBUrXPWzP7+8VqngUK4f7Pf1mFEw==", + "resolved": "git+ssh://git@github.com/nearform/actions-toolkit.git#043a44dcb32c97738aab3914c9f956f802531b49", + "integrity": "sha512-gcobhK9hxBsVjquK0NswZ+wb+SbfT7vYaEq6EjqjUuZIY8PH9bV6FA0pKSE4Na3xJ6Uzv9SQNngIed7eVtg60A==", "license": "ISC", "dependencies": { "@actions/core": "^1.10.1" @@ -7624,9 +7624,9 @@ "dev": true }, "actions-toolkit": { - "version": "git+ssh://git@github.com/nearform/actions-toolkit.git#e49ae0606145d17f3f4b11df5fcbe4e9085579fb", - "integrity": "sha512-frYjhtrC8hYU0r1GoZCcace0RdtqVzra/tflCf6OHYXJDR/WDL+lP4shhnuBUrXPWzP7+8VqngUK4f7Pf1mFEw==", - "from": "actions-toolkit@github:nearform/actions-toolkit", + "version": "git+ssh://git@github.com/nearform/actions-toolkit.git#043a44dcb32c97738aab3914c9f956f802531b49", + "integrity": "sha512-gcobhK9hxBsVjquK0NswZ+wb+SbfT7vYaEq6EjqjUuZIY8PH9bV6FA0pKSE4Na3xJ6Uzv9SQNngIed7eVtg60A==", + "from": "actions-toolkit@github:nearform/actions-toolkit#043a44dcb32c97738aab3914c9f956f802531b49", "requires": { "@actions/core": "^1.10.1" }