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`, + ), ) }) })