From 2363b9b7b8cf78c2cd23dcc76dc7a86f891c65cd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Oct 2023 16:09:01 +0100 Subject: [PATCH 01/12] chore(deps): bump actions-toolkit from `994e8bf` to `e49ae06` (#490) Bumps [actions-toolkit](https://github.com/nearform/actions-toolkit) from `994e8bf` to `e49ae06`. - [Commits](https://github.com/nearform/actions-toolkit/compare/994e8bf882c0b0fa5cf53fb489e55480db80f8ef...e49ae0606145d17f3f4b11df5fcbe4e9085579fb) --- 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 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 35c4c094..c7ef38d7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1609,11 +1609,11 @@ }, "node_modules/actions-toolkit": { "version": "1.0.0", - "resolved": "git+ssh://git@github.com/nearform/actions-toolkit.git#994e8bf882c0b0fa5cf53fb489e55480db80f8ef", - "integrity": "sha512-B1BNl7EeTpcpsWz5Fg7gjHhpvFAhOFlYUlWEUIQGWt9Yb3+45b6aRwI3LL5wenBEor4K/CIzogNhHEIoBU14KA==", + "resolved": "git+ssh://git@github.com/nearform/actions-toolkit.git#e49ae0606145d17f3f4b11df5fcbe4e9085579fb", + "integrity": "sha512-frYjhtrC8hYU0r1GoZCcace0RdtqVzra/tflCf6OHYXJDR/WDL+lP4shhnuBUrXPWzP7+8VqngUK4f7Pf1mFEw==", "license": "ISC", "dependencies": { - "@actions/core": "^1.10.0" + "@actions/core": "^1.10.1" } }, "node_modules/agent-base": { @@ -7330,11 +7330,11 @@ "dev": true }, "actions-toolkit": { - "version": "git+ssh://git@github.com/nearform/actions-toolkit.git#994e8bf882c0b0fa5cf53fb489e55480db80f8ef", - "integrity": "sha512-B1BNl7EeTpcpsWz5Fg7gjHhpvFAhOFlYUlWEUIQGWt9Yb3+45b6aRwI3LL5wenBEor4K/CIzogNhHEIoBU14KA==", - "from": "actions-toolkit@github:nearform/actions-toolkit#994e8bf882c0b0fa5cf53fb489e55480db80f8ef", + "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", "requires": { - "@actions/core": "^1.10.0" + "@actions/core": "^1.10.1" } }, "agent-base": { From 8f3d70d9df3b679ce87e19b0f0bb310ff02e6238 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sat, 7 Oct 2023 07:34:20 +0100 Subject: [PATCH 02/12] chore: add `.gitattributes` file (#492) --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..a0e7df93 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Set default behavior to automatically convert line endings +* text=auto eol=lf From f6a36e6c067f12a270c5666ac3284ee9ef98ed5f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 08:28:49 +0000 Subject: [PATCH 03/12] chore(deps-dev): bump tap from 18.4.2 to 18.4.5 (#494) Bumps [tap](https://github.com/tapjs/tapjs) from 18.4.2 to 18.4.5. - [Release notes](https://github.com/tapjs/tapjs/releases) - [Commits](https://github.com/tapjs/tapjs/compare/tap@18.4.2...tap@18.4.5) --- updated-dependencies: - dependency-name: tap dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 735 ++++++++++++++++++++++++---------------------- package.json | 2 +- 2 files changed, 380 insertions(+), 357 deletions(-) diff --git a/package-lock.json b/package-lock.json index c7ef38d7..3906fc29 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "prettier": "^2.8.8", "proxyquire": "^2.1.3", "sinon": "^16.0.0", - "tap": "^18.4.2" + "tap": "^18.4.5" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -316,11 +316,12 @@ } }, "node_modules/@npmcli/agent": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@npmcli/agent/-/agent-2.1.1.tgz", - "integrity": "sha512-6RlbiOAi6L6uUYF4/CDEkDZQnKw0XDsFJVrEpnib8rAx2WRMOsUyAdgnvDpX/fdkDWxtqE+NHwF465llI2wR0g==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@npmcli/agent/-/agent-2.2.0.tgz", + "integrity": "sha512-2yThA1Es98orMkpSLVqlDZAMPK3jHJhifP2gnNUdk1754uZ8yI5c+ulCoVG+WlntQA6MzhrURMXjSd9Z7dJ2/Q==", "dev": true, "dependencies": { + "agent-base": "^7.1.0", "http-proxy-agent": "^7.0.0", "https-proxy-agent": "^7.0.1", "lru-cache": "^10.0.1", @@ -774,9 +775,9 @@ "dev": true }, "node_modules/@tapjs/after": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@tapjs/after/-/after-1.1.6.tgz", - "integrity": "sha512-tZgnrz1o8GLINrCt6XvANXAtTi5p1FsYe82S4NFIJoDva7eA3zZ9V7cCXNxGvc05iulgvT8KPqUpf6gGIGfHiA==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@tapjs/after/-/after-1.1.9.tgz", + "integrity": "sha512-ZK3iJCNzKMzCkkm2hveKfGT8ryn8fQlDMdOwdTrPPrvaS7KtZm2p+dMAEmdRo8N29QFVSeEn4iaRuAiooYQjSQ==", "dev": true, "dependencies": { "is-actual-promise": "^1.0.0" @@ -785,13 +786,13 @@ "node": ">=16" }, "peerDependencies": { - "@tapjs/core": "1.3.6" + "@tapjs/core": "1.3.9" } }, "node_modules/@tapjs/after-each": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@tapjs/after-each/-/after-each-1.1.6.tgz", - "integrity": "sha512-IOSw7tDWdOCNavuxWjFurkTsfdp0f41GTZz7OLW6d6lObJYy8W2YKWQsFAJrpSCCors/lloCRbBZrhKObNd97w==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@tapjs/after-each/-/after-each-1.1.9.tgz", + "integrity": "sha512-Uy7WpEi49lLe0nUkXJ2oCB7g16DZHtmiALSQSna6zQ1z4Xt+JeHNb0CsFmVjC4qoDPLPbHI9iH2bfPQhEhl5VA==", "dev": true, "dependencies": { "function-loop": "^4.0.0" @@ -800,17 +801,18 @@ "node": ">=16" }, "peerDependencies": { - "@tapjs/core": "1.3.6" + "@tapjs/core": "1.3.9" } }, "node_modules/@tapjs/asserts": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@tapjs/asserts/-/asserts-1.1.6.tgz", - "integrity": "sha512-uYHIE7iNwyKtdZ3bYiL9WBEFvpQ07z/q/byEppSEbbne39FAlXUIY6GDanP9JmFXQhqrDzf9CVAAbZv/CZb/xA==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@tapjs/asserts/-/asserts-1.1.9.tgz", + "integrity": "sha512-klGrnmVIRiZ2FM8Rqo+ON925YilcqzJ5ng7yq5/9pIl6GqEh7j+JWL3xLUDXF0iyewPQLjVQQisCXHfP7evXOA==", "dev": true, "dependencies": { + "@tapjs/stack": "1.2.5", "is-actual-promise": "^1.0.0", - "tcompare": "6.4.1", + "tcompare": "6.4.2", "trivial-deferred": "^2.0.0" }, "engines": { @@ -820,13 +822,13 @@ "url": "https://github.com/sponsors/isaacs" }, "peerDependencies": { - "@tapjs/core": "1.3.6" + "@tapjs/core": "1.3.9" } }, "node_modules/@tapjs/before": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@tapjs/before/-/before-1.1.6.tgz", - "integrity": "sha512-Nr6ScHaHU4ot44aohM5JSfIA3UK+jxyeqMBUwbLeibq66zjoWrXQkcFRpYO7FApBrK4k2d7IKk2X6HVWMxDfgA==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@tapjs/before/-/before-1.1.9.tgz", + "integrity": "sha512-vatuJqZYYqmKD91g3qialxmxTZUTQz18JcRCbZ4tazvIWpCcqj2z7uzqTKS+eYvJQ47cI4O1YtQOVYt15/T8Cg==", "dev": true, "dependencies": { "is-actual-promise": "^1.0.0" @@ -835,13 +837,13 @@ "node": ">=16" }, "peerDependencies": { - "@tapjs/core": "1.3.6" + "@tapjs/core": "1.3.9" } }, "node_modules/@tapjs/before-each": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@tapjs/before-each/-/before-each-1.1.6.tgz", - "integrity": "sha512-cGjr5IE0AwxddweGMTW6bQQd7gU18VuJiCfhkQGMhTeeZz8Jflg1u/Q/rvP/N6bTTHs7Qz2Xi/rtACws52RJGw==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@tapjs/before-each/-/before-each-1.1.9.tgz", + "integrity": "sha512-9sHMKREnRrI5RLF/BDa1LqpFJYRKYIFm6BeS3TVPk9i3EqVXb2OifuVE7U6+ehMD2nCcFzM4NPd9B90gS3smPA==", "dev": true, "dependencies": { "function-loop": "^4.0.0" @@ -850,18 +852,21 @@ "node": ">=16" }, "peerDependencies": { - "@tapjs/core": "1.3.6" + "@tapjs/core": "1.3.9" } }, "node_modules/@tapjs/config": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/@tapjs/config/-/config-2.4.2.tgz", - "integrity": "sha512-HUOjSHR9UzHM6VUZVzjgLSEs0TD5ZN41nDIv4zYrR/SuNrSorvPXVt6ikkW2OTRENzwYhQdLgDTEwHlalO6VWA==", + "version": "2.4.5", + "resolved": "https://registry.npmjs.org/@tapjs/config/-/config-2.4.5.tgz", + "integrity": "sha512-qZ0b65wXTGPs3zP3DaVlJI+pXIlm0t2Z1UCA6V+LSHLE4SBgKcaUgHimI0B0oNTI7IqD4ZHLj4Q5FpUksTkoHw==", "dev": true, "dependencies": { + "@tapjs/core": "1.3.9", + "@tapjs/test": "1.3.9", "chalk": "^5.2.0", "jackspeak": "^2.3.6", "polite-json": "^4.0.1", + "tap-yaml": "2.2.0", "walk-up-path": "^3.0.1" }, "engines": { @@ -871,8 +876,8 @@ "url": "https://github.com/sponsors/isaacs" }, "peerDependencies": { - "@tapjs/core": "1.3.6", - "@tapjs/test": "1.3.6" + "@tapjs/core": "1.3.9", + "@tapjs/test": "1.3.9" } }, "node_modules/@tapjs/config/node_modules/chalk": { @@ -888,21 +893,22 @@ } }, "node_modules/@tapjs/core": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/@tapjs/core/-/core-1.3.6.tgz", - "integrity": "sha512-LiLY1l2aj1tk5eo+DDhbW5fZeYq5BeGouwMjJTH/zoQUD7W0SJ+dEIz5zE+wnLKdOft6w3Y8kMGoZ3Qgllax2Q==", + "version": "1.3.9", + "resolved": "https://registry.npmjs.org/@tapjs/core/-/core-1.3.9.tgz", + "integrity": "sha512-Mg4hEXma4HEEbjrOo7QLm4vjtDruGY1hdR9glXpgAnpi+0zla2x53n7OShaWaIAPEuiXtZiDM6UlQUxKuORn0g==", "dev": true, "dependencies": { "@tapjs/processinfo": "^3.1.4", - "@tapjs/stack": "1.2.4", - "@tapjs/test": "1.3.6", + "@tapjs/stack": "1.2.5", + "@tapjs/test": "1.3.9", "async-hook-domain": "^4.0.1", + "diff": "^5.1.0", "is-actual-promise": "^1.0.0", - "jackspeak": "^2.3.6", "minipass": "^7.0.3", "signal-exit": "4.1", "tap-parser": "15.2.0", - "tcompare": "6.4.1", + "tap-yaml": "2.2.0", + "tcompare": "6.4.2", "trivial-deferred": "^2.0.0" }, "engines": { @@ -925,14 +931,10 @@ } }, "node_modules/@tapjs/filter": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@tapjs/filter/-/filter-1.2.6.tgz", - "integrity": "sha512-pbSC/DenSEojC2vcL3PImmx6dRz775nNPCitcUuQY98EWBJ3MaUEjyGbg0h3qhz3upB7bnKK/+MAjzxX/nbyZw==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/@tapjs/filter/-/filter-1.2.9.tgz", + "integrity": "sha512-qhD3F+8tTSAD3SPyfk0iyoXPVjNDQ2SiA+D7GCLQmeGaaIM+CDVEzJ95IxRME5WLTM2WAye+iJYZ32idC4K7EQ==", "dev": true, - "dependencies": { - "tcompare": "6.4.1", - "trivial-deferred": "^2.0.0" - }, "engines": { "node": ">=16" }, @@ -940,13 +942,13 @@ "url": "https://github.com/sponsors/isaacs" }, "peerDependencies": { - "@tapjs/core": "1.3.6" + "@tapjs/core": "1.3.9" } }, "node_modules/@tapjs/fixture": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@tapjs/fixture/-/fixture-1.2.6.tgz", - "integrity": "sha512-OPejSnqOOAFr9dELkWkIxEZybEldQrrgdkNB4qJfS9+lFHkiV4V5iA01rc4w/1Pcs+0KdHPLROzC+ZlofvD3qg==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/@tapjs/fixture/-/fixture-1.2.9.tgz", + "integrity": "sha512-RuVogYdY4jXGjQjcyDDlUHNzPFxjMUmDXolY+lGH+UHwVnc9wjATnISQnj1K88pPmOYJ7Tex2Ba54uZIclYW9A==", "dev": true, "dependencies": { "mkdirp": "^3.0.0", @@ -959,7 +961,7 @@ "url": "https://github.com/sponsors/isaacs" }, "peerDependencies": { - "@tapjs/core": "1.3.6" + "@tapjs/core": "1.3.9" } }, "node_modules/@tapjs/fixture/node_modules/brace-expansion": { @@ -1027,30 +1029,30 @@ } }, "node_modules/@tapjs/intercept": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@tapjs/intercept/-/intercept-1.2.6.tgz", - "integrity": "sha512-voydpfbTGmv+QIViJCUCv8CkO0lR7LBfeaE+7UAAu+l0OGUQbKadKsdDAoPXi2nY/KEWwDrZipg2RhZJsQD3Rg==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/@tapjs/intercept/-/intercept-1.2.9.tgz", + "integrity": "sha512-EAtqzDezqcSQn08vpvzuCCp9tw92mm/8uzkN0NPYYq5lvzD0wXbOiPMGnuYheeQJJkDJpmN/bWCb31GwfC3kfw==", "dev": true, "dependencies": { - "@tapjs/after": "1.1.6", - "@tapjs/stack": "1.2.4" + "@tapjs/after": "1.1.9", + "@tapjs/stack": "1.2.5" }, "engines": { "node": ">=16" }, "peerDependencies": { - "@tapjs/core": "1.3.6" + "@tapjs/core": "1.3.9" } }, "node_modules/@tapjs/mock": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@tapjs/mock/-/mock-1.2.4.tgz", - "integrity": "sha512-MkH58+72xkOOCziKn4aZaCj4+erU7DQGlxrHHOgiiG8daHT0/CjfF6bDUzhhbSt1uopGfNZ8zYYrE/TEOJ0SEQ==", + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@tapjs/mock/-/mock-1.2.7.tgz", + "integrity": "sha512-y+d6gBrT4VTsrNq8NAL5qUuL7ZQ+XXcnkktCyqp00S7HEmSjgYY9xKcLoC9K677fXrE+8oafgSLxYKHeeuUBrQ==", "dev": true, "dependencies": { - "@tapjs/after": "1.1.6", - "@tapjs/stack": "1.2.4", - "resolve-import": "^1.4.2", + "@tapjs/after": "1.1.9", + "@tapjs/stack": "1.2.5", + "resolve-import": "^1.4.4", "walk-up-path": "^3.0.1" }, "engines": { @@ -1060,16 +1062,18 @@ "url": "https://github.com/sponsors/isaacs" }, "peerDependencies": { - "@tapjs/core": "1.3.6" + "@tapjs/core": "1.3.9" } }, "node_modules/@tapjs/node-serialize": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@tapjs/node-serialize/-/node-serialize-1.1.6.tgz", - "integrity": "sha512-66Tmv33lJfNXXKwIHt08vOG2T6zWIbAzIFpXHKy3Tv+bHQa7hwRu6ZIHLAymjDUZAoB+V6mgWf7mzNMU65lxMQ==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@tapjs/node-serialize/-/node-serialize-1.1.9.tgz", + "integrity": "sha512-phbkOJMW1Y6V9/0jrQ3Y9oxUp6+7WZUcIXlcPXXm1WawKDqXxioMi+5isOy1yyTMT0lfwHYR0Ly8soo+3bEuWQ==", "dev": true, "dependencies": { - "@tapjs/error-serdes": "1.1.0" + "@tapjs/error-serdes": "1.1.0", + "@tapjs/stack": "1.2.5", + "tap-parser": "15.2.0" }, "engines": { "node": ">=16" @@ -1078,7 +1082,7 @@ "url": "https://github.com/sponsors/isaacs" }, "peerDependencies": { - "@tapjs/core": "1.3.6" + "@tapjs/core": "1.3.9" } }, "node_modules/@tapjs/processinfo": { @@ -1097,23 +1101,24 @@ } }, "node_modules/@tapjs/reporter": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@tapjs/reporter/-/reporter-1.3.2.tgz", - "integrity": "sha512-Di+i5dabRXdvy0J038o5NIMt4THzswEy1tOa9iZIgbtfl6AQhLVKbsEn/TDSCF2AbEBuueoTs7a3+mAj9x4WLw==", + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@tapjs/reporter/-/reporter-1.3.5.tgz", + "integrity": "sha512-fHjqxSPKCwV+Kb2LoHAP9T1aD779ZiyjRpS8IajjLozeTghofJfF85H3gX+mkWH5Mu82aNhTInT9ECrXjuA2fw==", "dev": true, "dependencies": { - "@tapjs/config": "2.4.2", - "@tapjs/test": "1.3.6", + "@tapjs/config": "2.4.5", + "@tapjs/stack": "1.2.5", "chalk": "^5.2.0", "ink": "^4.4.1", "minipass": "^7.0.3", "ms": "^2.1.3", "patch-console": "^2.0.0", - "prismjs": "^1.29.0", "prismjs-terminal": "^1.2.3", "react": "^18.2.0", "string-length": "^6.0.0", - "tcompare": "6.4.1" + "tap-parser": "15.2.0", + "tap-yaml": "2.2.0", + "tcompare": "6.4.2" }, "engines": { "node": ">=16" @@ -1122,7 +1127,7 @@ "url": "https://github.com/sponsors/isaacs" }, "peerDependencies": { - "@tapjs/core": "1.3.6" + "@tapjs/core": "1.3.9" } }, "node_modules/@tapjs/reporter/node_modules/chalk": { @@ -1144,20 +1149,21 @@ "dev": true }, "node_modules/@tapjs/run": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/@tapjs/run/-/run-1.4.2.tgz", - "integrity": "sha512-TJJ7VuNv/XPS02NlYGGZpP4J93vW8sYgHvg7KR3IntdTrWEqvAPHzBGjymSE100mz7jH6ZTbXIqWkwGjlgAOew==", + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/@tapjs/run/-/run-1.4.5.tgz", + "integrity": "sha512-NyPLnnEY6cRSC4+LsQGFtgsNnaev5t0Gutza2p0iQTf3pp05kxQ5FZ23ZLgRcuuE4aQ6d9U0NiQid6xfqRfuLA==", "dev": true, "dependencies": { - "@tapjs/after": "1.1.6", - "@tapjs/before": "1.1.6", - "@tapjs/config": "2.4.2", + "@tapjs/after": "1.1.9", + "@tapjs/before": "1.1.9", + "@tapjs/config": "2.4.5", "@tapjs/processinfo": "^3.1.4", - "@tapjs/reporter": "1.3.2", - "@tapjs/spawn": "1.1.6", - "@tapjs/stdin": "1.1.6", - "@tapjs/test": "1.3.6", + "@tapjs/reporter": "1.3.5", + "@tapjs/spawn": "1.1.9", + "@tapjs/stdin": "1.1.9", + "@tapjs/test": "1.3.9", "c8": "^8.0.1", + "chalk": "^5.3.0", "chokidar": "^3.5.3", "foreground-child": "^3.1.1", "glob": "^10.3.10", @@ -1165,15 +1171,14 @@ "mkdirp": "^3.0.1", "opener": "^1.5.2", "pacote": "^17.0.3", - "path-scurry": "^1.9.2", - "resolve-import": "^1.4.2", + "resolve-import": "^1.4.4", "rimraf": "^5.0.5", "semver": "^7.5.4", "signal-exit": "^4.1.0", + "tap-parser": "15.2.0", "tap-yaml": "2.2.0", - "tcompare": "6.4.1", + "tcompare": "6.4.2", "trivial-deferred": "^2.0.0", - "ts-node": "npm:@isaacs/ts-node-temp-fork-for-pr-2009@^10.9.1", "which": "^4.0.0" }, "bin": { @@ -1186,7 +1191,7 @@ "url": "https://github.com/sponsors/isaacs" }, "peerDependencies": { - "@tapjs/core": "1.3.6" + "@tapjs/core": "1.3.9" } }, "node_modules/@tapjs/run/node_modules/brace-expansion": { @@ -1198,6 +1203,18 @@ "balanced-match": "^1.0.0" } }, + "node_modules/@tapjs/run/node_modules/chalk": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", + "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", + "dev": true, + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, "node_modules/@tapjs/run/node_modules/glob": { "version": "10.3.10", "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", @@ -1278,13 +1295,13 @@ } }, "node_modules/@tapjs/snapshot": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@tapjs/snapshot/-/snapshot-1.2.6.tgz", - "integrity": "sha512-WuWMq4biiKDRnlr5mxEV3SGDrz4ysKpkN9JPAeYC7IR9MdElhvd6CDTF0ySrP3w0spwCK6LfrDFJjLmVCckw5A==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/@tapjs/snapshot/-/snapshot-1.2.9.tgz", + "integrity": "sha512-dplaznN4FfgKruj1NXoZ4f5NQXkoJ+5Q3yL6nFaERCQSYB77YBLvAxYkaOuvIG/JyN0Uie/ntfxRVodBUbeXPg==", "dev": true, "dependencies": { "is-actual-promise": "^1.0.0", - "tcompare": "6.4.1", + "tcompare": "6.4.2", "trivial-deferred": "^2.0.0" }, "engines": { @@ -1294,30 +1311,26 @@ "url": "https://github.com/sponsors/isaacs" }, "peerDependencies": { - "@tapjs/core": "1.3.6" + "@tapjs/core": "1.3.9" } }, "node_modules/@tapjs/spawn": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@tapjs/spawn/-/spawn-1.1.6.tgz", - "integrity": "sha512-DuLPcy0ItdFyWbFR/3usUpABTY4Ph/K/RLamUjZ+MRD+GrW+b6vcOwgzm/GCpEKUpIanTJDFz5wdoLhCGMtCZQ==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@tapjs/spawn/-/spawn-1.1.9.tgz", + "integrity": "sha512-jtoEyJwUSXW9SfLDXovKcRF6hcQmN6SnKCtsjhqXIRcBkLZxbZkHN+yZio4E0yB60ipfenODjJ1DBTwJqCpiaQ==", "dev": true, "engines": { "node": ">=16" }, "peerDependencies": { - "@tapjs/core": "1.3.6" + "@tapjs/core": "1.3.9" } }, "node_modules/@tapjs/stack": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@tapjs/stack/-/stack-1.2.4.tgz", - "integrity": "sha512-pDszoMPff4W8w8aQiV8Ic2jE39ddsij1QlPZYelFxuvub3M6hJVO4apgXY/TFirPvd/jdPHUGkv4vpACKMlPGA==", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@tapjs/stack/-/stack-1.2.5.tgz", + "integrity": "sha512-fJNI6kmqo1FuXzVkQ1cFL5FcWYamiql5lTDbA2VuOkQ7z3/Zoitnq+B9rBf28ltmZYFMsk5lEEW8mlaxvCyHiA==", "dev": true, - "dependencies": { - "tcompare": "6.4.1", - "trivial-deferred": "^2.0.0" - }, "engines": { "node": ">=16" }, @@ -1326,42 +1339,42 @@ } }, "node_modules/@tapjs/stdin": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@tapjs/stdin/-/stdin-1.1.6.tgz", - "integrity": "sha512-6aaWpru+jt/89VZ3PJzbwR0cf9Up7g2hpWc9pO2SGogIZdQ0yIZcFspG6XI19kAPGGN/b8W0YGR2+6gFtcX3jg==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@tapjs/stdin/-/stdin-1.1.9.tgz", + "integrity": "sha512-80hwzxEJJtVIxsaVhTZWnBn1Bck3SIiiEWxa8+l/yhaAEl0noI9N5XwzUpn6BHvnUoGsuY+71T2sr9IBF58TBQ==", "dev": true, "engines": { "node": ">=16" }, "peerDependencies": { - "@tapjs/core": "1.3.6" + "@tapjs/core": "1.3.9" } }, "node_modules/@tapjs/test": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/@tapjs/test/-/test-1.3.6.tgz", - "integrity": "sha512-2OZmwZWnw5aFtcHsSDcyb+IRZk8Ct+ItQLU2R/DBVPRdivQKYaqoKP4YZGcJ0IK9jsALWFRzGJEamULMEN9Rhw==", - "dev": true, - "dependencies": { - "@tapjs/after": "1.1.6", - "@tapjs/after-each": "1.1.6", - "@tapjs/asserts": "1.1.6", - "@tapjs/before": "1.1.6", - "@tapjs/before-each": "1.1.6", - "@tapjs/filter": "1.2.6", - "@tapjs/fixture": "1.2.6", - "@tapjs/intercept": "1.2.6", - "@tapjs/mock": "1.2.4", - "@tapjs/node-serialize": "1.1.6", - "@tapjs/snapshot": "1.2.6", - "@tapjs/spawn": "1.1.6", - "@tapjs/stdin": "1.1.6", - "@tapjs/typescript": "1.2.6", - "@tapjs/worker": "1.1.6", + "version": "1.3.9", + "resolved": "https://registry.npmjs.org/@tapjs/test/-/test-1.3.9.tgz", + "integrity": "sha512-6jmYgUMZF/YA/wpyGvt3K3tAGKszF1mBK6JN2ZSNfL5WwVgrn53vYkV2UipF+LJ/qI0aiOEaTz0GYS0Wyl4SLA==", + "dev": true, + "dependencies": { + "@tapjs/after": "1.1.9", + "@tapjs/after-each": "1.1.9", + "@tapjs/asserts": "1.1.9", + "@tapjs/before": "1.1.9", + "@tapjs/before-each": "1.1.9", + "@tapjs/filter": "1.2.9", + "@tapjs/fixture": "1.2.9", + "@tapjs/intercept": "1.2.9", + "@tapjs/mock": "1.2.7", + "@tapjs/node-serialize": "1.1.9", + "@tapjs/snapshot": "1.2.9", + "@tapjs/spawn": "1.1.9", + "@tapjs/stdin": "1.1.9", + "@tapjs/typescript": "1.2.9", + "@tapjs/worker": "1.1.9", "glob": "^10.3.10", "jackspeak": "^2.3.6", "mkdirp": "^3.0.0", - "resolve-import": "^1.4.1", + "resolve-import": "^1.4.4", "rimraf": "^5.0.5", "sync-content": "^1.0.1", "tap-parser": "15.2.0", @@ -1376,7 +1389,7 @@ "node": ">=16" }, "peerDependencies": { - "@tapjs/core": "1.3.6" + "@tapjs/core": "1.3.9" } }, "node_modules/@tapjs/test/node_modules/brace-expansion": { @@ -1444,9 +1457,9 @@ } }, "node_modules/@tapjs/typescript": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@tapjs/typescript/-/typescript-1.2.6.tgz", - "integrity": "sha512-bNyLR3jA+m7fORT9S3A2zA0Ww2zNS/k2qJM25qKWot2yKNEriJvb7w/irRVt79ummjyLmVxn+7XjHsNm7dJkRw==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/@tapjs/typescript/-/typescript-1.2.9.tgz", + "integrity": "sha512-icwSPydeqYJdZMuk1OdTDMLRUg5S76n0HiGMl7XFQ44hbv3Fiqay4KKDp99wmOuZXr4mjhSCQu0hTZrSJ2nRlw==", "dev": true, "dependencies": { "ts-node": "npm:@isaacs/ts-node-temp-fork-for-pr-2009@^10.9.1" @@ -1455,19 +1468,19 @@ "node": ">=16" }, "peerDependencies": { - "@tapjs/core": "1.3.6" + "@tapjs/core": "1.3.9" } }, "node_modules/@tapjs/worker": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@tapjs/worker/-/worker-1.1.6.tgz", - "integrity": "sha512-OOnpQT7+z9SI85I9xIyzyLwdN82wuY2fuc316pYXZkFBjX7P9CoZISIa4mTLaDKwt8nmyCThktvp3+tnOKREXw==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@tapjs/worker/-/worker-1.1.9.tgz", + "integrity": "sha512-JB9/ePuufhjKqwQ4di9JOsLbg59w3agLcZ7BTjcintUZzDJhPBAYVnc5b+9NRGeuwGWgQNTw2XZrg4cJQ6gkSg==", "dev": true, "engines": { "node": ">=16" }, "peerDependencies": { - "@tapjs/core": "1.3.6" + "@tapjs/core": "1.3.9" } }, "node_modules/@tootallnate/once": { @@ -1556,9 +1569,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.8.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.0.tgz", - "integrity": "sha512-LzcWltT83s1bthcvjBmiBvGJiiUe84NWRHkw+ZV6Fr41z2FbIzvc815dk2nQ3RAKMuN2fkenM/z3Xv2QzEpYxQ==", + "version": "20.8.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.3.tgz", + "integrity": "sha512-jxiZQFpb+NlH5kjW49vXxvxTjeeqlbsnTAdBTKpzEdPs9itay7MscYXz3Fo9VYFEsfQ6LJFitHad3faerLAjCw==", "dev": true, "peer": true }, @@ -2035,9 +2048,9 @@ } }, "node_modules/ci-info": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.8.0.tgz", - "integrity": "sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw==", + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", + "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", "dev": true, "funding": [ { @@ -2238,9 +2251,9 @@ "dev": true }, "node_modules/convert-source-map": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", - "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", "dev": true }, "node_modules/convert-to-spaces": { @@ -3965,9 +3978,9 @@ } }, "node_modules/npm-install-checks": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.2.0.tgz", - "integrity": "sha512-744wat5wAAHsxa4590mWO0tJ8PKxR8ORZsH9wGpQc3nWTzozMAgBN/XyqYw7mg3yqLM8dLwEnwSfKMmXAjF69g==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.3.0.tgz", + "integrity": "sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw==", "dev": true, "dependencies": { "semver": "^7.1.1" @@ -4670,9 +4683,9 @@ } }, "node_modules/resolve-import": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/resolve-import/-/resolve-import-1.4.2.tgz", - "integrity": "sha512-ayUU3E2yeFu8ZewNEHbGorcPmHjOmCY8b50wloum8eQUuNExSyddRoWYaX0X6lj3XSufi2WUlXY3mkMcF5ISmw==", + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/resolve-import/-/resolve-import-1.4.4.tgz", + "integrity": "sha512-+IccDyUypl5rHv25216cXu2m30flEoetrG8p4qDH3RsP53cytedI58Pz+pjCU4PAbxPOQgFkgmxTJLKI9tgf/g==", "dev": true, "dependencies": { "glob": "^10.3.3", @@ -5030,9 +5043,9 @@ } }, "node_modules/spdx-license-ids": { - "version": "3.0.15", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.15.tgz", - "integrity": "sha512-lpT8hSQp9jAKp9mhtBU4Xjon8LPGBvLIuBiSVhMEtmLecTh2mO0tlqrAMp47tBXzMr13NJMQ2lf7RpQGLJ3HsQ==", + "version": "3.0.16", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz", + "integrity": "sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==", "dev": true }, "node_modules/ssri": { @@ -5326,29 +5339,30 @@ } }, "node_modules/tap": { - "version": "18.4.2", - "resolved": "https://registry.npmjs.org/tap/-/tap-18.4.2.tgz", - "integrity": "sha512-QNl0aZTbyYvXfQMe4LZP8aM2ruzOOPciaVq7TEQn7nooKNWSTmmPw7f3pCKKX1/svyZlqmUyF21BpJB9T7w4OQ==", - "dev": true, - "dependencies": { - "@tapjs/after": "1.1.6", - "@tapjs/after-each": "1.1.6", - "@tapjs/asserts": "1.1.6", - "@tapjs/before": "1.1.6", - "@tapjs/before-each": "1.1.6", - "@tapjs/core": "1.3.6", - "@tapjs/filter": "1.2.6", - "@tapjs/fixture": "1.2.6", - "@tapjs/intercept": "1.2.6", - "@tapjs/mock": "1.2.4", - "@tapjs/node-serialize": "1.1.6", - "@tapjs/run": "1.4.2", - "@tapjs/snapshot": "1.2.6", - "@tapjs/spawn": "1.1.6", - "@tapjs/stdin": "1.1.6", - "@tapjs/test": "1.3.6", - "@tapjs/typescript": "1.2.6", - "@tapjs/worker": "1.1.6" + "version": "18.4.5", + "resolved": "https://registry.npmjs.org/tap/-/tap-18.4.5.tgz", + "integrity": "sha512-qVLodpiP0uXduLsrJnfmqP8i//HtUBHnXX4F1JTQMqZsYY+5XKt1F2z2ky7EBIzsI7mcwvH+9tqtluHZsGExRA==", + "dev": true, + "dependencies": { + "@tapjs/after": "1.1.9", + "@tapjs/after-each": "1.1.9", + "@tapjs/asserts": "1.1.9", + "@tapjs/before": "1.1.9", + "@tapjs/before-each": "1.1.9", + "@tapjs/core": "1.3.9", + "@tapjs/filter": "1.2.9", + "@tapjs/fixture": "1.2.9", + "@tapjs/intercept": "1.2.9", + "@tapjs/mock": "1.2.7", + "@tapjs/node-serialize": "1.1.9", + "@tapjs/run": "1.4.5", + "@tapjs/snapshot": "1.2.9", + "@tapjs/spawn": "1.1.9", + "@tapjs/stdin": "1.1.9", + "@tapjs/test": "1.3.9", + "@tapjs/typescript": "1.2.9", + "@tapjs/worker": "1.1.9", + "resolve-import": "^1.4.4" }, "bin": { "tap": "dist/esm/run.mjs" @@ -5452,9 +5466,9 @@ } }, "node_modules/tcompare": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/tcompare/-/tcompare-6.4.1.tgz", - "integrity": "sha512-XsB4u8CpvIZ8dyHgAlnHmW8/PpwZXJodRQ34OP+KUl/BSF07vWU3kPDE0x3rhz5ZaARWT5OyhWBMN55oYqOyPw==", + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/tcompare/-/tcompare-6.4.2.tgz", + "integrity": "sha512-TmMm1TL4Jg1p7FtnhxF4Sbcc774EpXZCsVAv6PfChXiy8XXwWLmD6hdI+rhwYQtPMFflTPsv8IVSZh0xxj1lXg==", "dev": true, "dependencies": { "diff": "^5.1.0", @@ -5809,14 +5823,14 @@ "dev": true }, "node_modules/v8-to-istanbul": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.0.tgz", - "integrity": "sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA==", + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.3.tgz", + "integrity": "sha512-9lDD+EVI2fjFsMWXc6dy5JJzBsVTcQ2fVkfBvncZ6xJWG9wtBhOldG+mHkSL0+V1K/xgZz0JDO5UT5hFwHUghg==", "dev": true, "dependencies": { "@jridgewell/trace-mapping": "^0.3.12", "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^1.6.0" + "convert-source-map": "^2.0.0" }, "engines": { "node": ">=10.12.0" @@ -6400,11 +6414,12 @@ } }, "@npmcli/agent": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@npmcli/agent/-/agent-2.1.1.tgz", - "integrity": "sha512-6RlbiOAi6L6uUYF4/CDEkDZQnKw0XDsFJVrEpnib8rAx2WRMOsUyAdgnvDpX/fdkDWxtqE+NHwF465llI2wR0g==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@npmcli/agent/-/agent-2.2.0.tgz", + "integrity": "sha512-2yThA1Es98orMkpSLVqlDZAMPK3jHJhifP2gnNUdk1754uZ8yI5c+ulCoVG+WlntQA6MzhrURMXjSd9Z7dJ2/Q==", "dev": true, "requires": { + "agent-base": "^7.1.0", "http-proxy-agent": "^7.0.0", "https-proxy-agent": "^7.0.1", "lru-cache": "^10.0.1", @@ -6769,61 +6784,65 @@ "dev": true }, "@tapjs/after": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@tapjs/after/-/after-1.1.6.tgz", - "integrity": "sha512-tZgnrz1o8GLINrCt6XvANXAtTi5p1FsYe82S4NFIJoDva7eA3zZ9V7cCXNxGvc05iulgvT8KPqUpf6gGIGfHiA==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@tapjs/after/-/after-1.1.9.tgz", + "integrity": "sha512-ZK3iJCNzKMzCkkm2hveKfGT8ryn8fQlDMdOwdTrPPrvaS7KtZm2p+dMAEmdRo8N29QFVSeEn4iaRuAiooYQjSQ==", "dev": true, "requires": { "is-actual-promise": "^1.0.0" } }, "@tapjs/after-each": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@tapjs/after-each/-/after-each-1.1.6.tgz", - "integrity": "sha512-IOSw7tDWdOCNavuxWjFurkTsfdp0f41GTZz7OLW6d6lObJYy8W2YKWQsFAJrpSCCors/lloCRbBZrhKObNd97w==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@tapjs/after-each/-/after-each-1.1.9.tgz", + "integrity": "sha512-Uy7WpEi49lLe0nUkXJ2oCB7g16DZHtmiALSQSna6zQ1z4Xt+JeHNb0CsFmVjC4qoDPLPbHI9iH2bfPQhEhl5VA==", "dev": true, "requires": { "function-loop": "^4.0.0" } }, "@tapjs/asserts": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@tapjs/asserts/-/asserts-1.1.6.tgz", - "integrity": "sha512-uYHIE7iNwyKtdZ3bYiL9WBEFvpQ07z/q/byEppSEbbne39FAlXUIY6GDanP9JmFXQhqrDzf9CVAAbZv/CZb/xA==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@tapjs/asserts/-/asserts-1.1.9.tgz", + "integrity": "sha512-klGrnmVIRiZ2FM8Rqo+ON925YilcqzJ5ng7yq5/9pIl6GqEh7j+JWL3xLUDXF0iyewPQLjVQQisCXHfP7evXOA==", "dev": true, "requires": { + "@tapjs/stack": "1.2.5", "is-actual-promise": "^1.0.0", - "tcompare": "6.4.1", + "tcompare": "6.4.2", "trivial-deferred": "^2.0.0" } }, "@tapjs/before": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@tapjs/before/-/before-1.1.6.tgz", - "integrity": "sha512-Nr6ScHaHU4ot44aohM5JSfIA3UK+jxyeqMBUwbLeibq66zjoWrXQkcFRpYO7FApBrK4k2d7IKk2X6HVWMxDfgA==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@tapjs/before/-/before-1.1.9.tgz", + "integrity": "sha512-vatuJqZYYqmKD91g3qialxmxTZUTQz18JcRCbZ4tazvIWpCcqj2z7uzqTKS+eYvJQ47cI4O1YtQOVYt15/T8Cg==", "dev": true, "requires": { "is-actual-promise": "^1.0.0" } }, "@tapjs/before-each": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@tapjs/before-each/-/before-each-1.1.6.tgz", - "integrity": "sha512-cGjr5IE0AwxddweGMTW6bQQd7gU18VuJiCfhkQGMhTeeZz8Jflg1u/Q/rvP/N6bTTHs7Qz2Xi/rtACws52RJGw==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@tapjs/before-each/-/before-each-1.1.9.tgz", + "integrity": "sha512-9sHMKREnRrI5RLF/BDa1LqpFJYRKYIFm6BeS3TVPk9i3EqVXb2OifuVE7U6+ehMD2nCcFzM4NPd9B90gS3smPA==", "dev": true, "requires": { "function-loop": "^4.0.0" } }, "@tapjs/config": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/@tapjs/config/-/config-2.4.2.tgz", - "integrity": "sha512-HUOjSHR9UzHM6VUZVzjgLSEs0TD5ZN41nDIv4zYrR/SuNrSorvPXVt6ikkW2OTRENzwYhQdLgDTEwHlalO6VWA==", + "version": "2.4.5", + "resolved": "https://registry.npmjs.org/@tapjs/config/-/config-2.4.5.tgz", + "integrity": "sha512-qZ0b65wXTGPs3zP3DaVlJI+pXIlm0t2Z1UCA6V+LSHLE4SBgKcaUgHimI0B0oNTI7IqD4ZHLj4Q5FpUksTkoHw==", "dev": true, "requires": { + "@tapjs/core": "1.3.9", + "@tapjs/test": "1.3.9", "chalk": "^5.2.0", "jackspeak": "^2.3.6", "polite-json": "^4.0.1", + "tap-yaml": "2.2.0", "walk-up-path": "^3.0.1" }, "dependencies": { @@ -6836,21 +6855,22 @@ } }, "@tapjs/core": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/@tapjs/core/-/core-1.3.6.tgz", - "integrity": "sha512-LiLY1l2aj1tk5eo+DDhbW5fZeYq5BeGouwMjJTH/zoQUD7W0SJ+dEIz5zE+wnLKdOft6w3Y8kMGoZ3Qgllax2Q==", + "version": "1.3.9", + "resolved": "https://registry.npmjs.org/@tapjs/core/-/core-1.3.9.tgz", + "integrity": "sha512-Mg4hEXma4HEEbjrOo7QLm4vjtDruGY1hdR9glXpgAnpi+0zla2x53n7OShaWaIAPEuiXtZiDM6UlQUxKuORn0g==", "dev": true, "requires": { "@tapjs/processinfo": "^3.1.4", - "@tapjs/stack": "1.2.4", - "@tapjs/test": "1.3.6", + "@tapjs/stack": "1.2.5", + "@tapjs/test": "1.3.9", "async-hook-domain": "^4.0.1", + "diff": "^5.1.0", "is-actual-promise": "^1.0.0", - "jackspeak": "^2.3.6", "minipass": "^7.0.3", "signal-exit": "4.1", "tap-parser": "15.2.0", - "tcompare": "6.4.1", + "tap-yaml": "2.2.0", + "tcompare": "6.4.2", "trivial-deferred": "^2.0.0" } }, @@ -6864,19 +6884,16 @@ } }, "@tapjs/filter": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@tapjs/filter/-/filter-1.2.6.tgz", - "integrity": "sha512-pbSC/DenSEojC2vcL3PImmx6dRz775nNPCitcUuQY98EWBJ3MaUEjyGbg0h3qhz3upB7bnKK/+MAjzxX/nbyZw==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/@tapjs/filter/-/filter-1.2.9.tgz", + "integrity": "sha512-qhD3F+8tTSAD3SPyfk0iyoXPVjNDQ2SiA+D7GCLQmeGaaIM+CDVEzJ95IxRME5WLTM2WAye+iJYZ32idC4K7EQ==", "dev": true, - "requires": { - "tcompare": "6.4.1", - "trivial-deferred": "^2.0.0" - } + "requires": {} }, "@tapjs/fixture": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@tapjs/fixture/-/fixture-1.2.6.tgz", - "integrity": "sha512-OPejSnqOOAFr9dELkWkIxEZybEldQrrgdkNB4qJfS9+lFHkiV4V5iA01rc4w/1Pcs+0KdHPLROzC+ZlofvD3qg==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/@tapjs/fixture/-/fixture-1.2.9.tgz", + "integrity": "sha512-RuVogYdY4jXGjQjcyDDlUHNzPFxjMUmDXolY+lGH+UHwVnc9wjATnISQnj1K88pPmOYJ7Tex2Ba54uZIclYW9A==", "dev": true, "requires": { "mkdirp": "^3.0.0", @@ -6926,34 +6943,36 @@ } }, "@tapjs/intercept": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@tapjs/intercept/-/intercept-1.2.6.tgz", - "integrity": "sha512-voydpfbTGmv+QIViJCUCv8CkO0lR7LBfeaE+7UAAu+l0OGUQbKadKsdDAoPXi2nY/KEWwDrZipg2RhZJsQD3Rg==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/@tapjs/intercept/-/intercept-1.2.9.tgz", + "integrity": "sha512-EAtqzDezqcSQn08vpvzuCCp9tw92mm/8uzkN0NPYYq5lvzD0wXbOiPMGnuYheeQJJkDJpmN/bWCb31GwfC3kfw==", "dev": true, "requires": { - "@tapjs/after": "1.1.6", - "@tapjs/stack": "1.2.4" + "@tapjs/after": "1.1.9", + "@tapjs/stack": "1.2.5" } }, "@tapjs/mock": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@tapjs/mock/-/mock-1.2.4.tgz", - "integrity": "sha512-MkH58+72xkOOCziKn4aZaCj4+erU7DQGlxrHHOgiiG8daHT0/CjfF6bDUzhhbSt1uopGfNZ8zYYrE/TEOJ0SEQ==", + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@tapjs/mock/-/mock-1.2.7.tgz", + "integrity": "sha512-y+d6gBrT4VTsrNq8NAL5qUuL7ZQ+XXcnkktCyqp00S7HEmSjgYY9xKcLoC9K677fXrE+8oafgSLxYKHeeuUBrQ==", "dev": true, "requires": { - "@tapjs/after": "1.1.6", - "@tapjs/stack": "1.2.4", - "resolve-import": "^1.4.2", + "@tapjs/after": "1.1.9", + "@tapjs/stack": "1.2.5", + "resolve-import": "^1.4.4", "walk-up-path": "^3.0.1" } }, "@tapjs/node-serialize": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@tapjs/node-serialize/-/node-serialize-1.1.6.tgz", - "integrity": "sha512-66Tmv33lJfNXXKwIHt08vOG2T6zWIbAzIFpXHKy3Tv+bHQa7hwRu6ZIHLAymjDUZAoB+V6mgWf7mzNMU65lxMQ==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@tapjs/node-serialize/-/node-serialize-1.1.9.tgz", + "integrity": "sha512-phbkOJMW1Y6V9/0jrQ3Y9oxUp6+7WZUcIXlcPXXm1WawKDqXxioMi+5isOy1yyTMT0lfwHYR0Ly8soo+3bEuWQ==", "dev": true, "requires": { - "@tapjs/error-serdes": "1.1.0" + "@tapjs/error-serdes": "1.1.0", + "@tapjs/stack": "1.2.5", + "tap-parser": "15.2.0" } }, "@tapjs/processinfo": { @@ -6969,23 +6988,24 @@ } }, "@tapjs/reporter": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@tapjs/reporter/-/reporter-1.3.2.tgz", - "integrity": "sha512-Di+i5dabRXdvy0J038o5NIMt4THzswEy1tOa9iZIgbtfl6AQhLVKbsEn/TDSCF2AbEBuueoTs7a3+mAj9x4WLw==", + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@tapjs/reporter/-/reporter-1.3.5.tgz", + "integrity": "sha512-fHjqxSPKCwV+Kb2LoHAP9T1aD779ZiyjRpS8IajjLozeTghofJfF85H3gX+mkWH5Mu82aNhTInT9ECrXjuA2fw==", "dev": true, "requires": { - "@tapjs/config": "2.4.2", - "@tapjs/test": "1.3.6", + "@tapjs/config": "2.4.5", + "@tapjs/stack": "1.2.5", "chalk": "^5.2.0", "ink": "^4.4.1", "minipass": "^7.0.3", "ms": "^2.1.3", "patch-console": "^2.0.0", - "prismjs": "^1.29.0", "prismjs-terminal": "^1.2.3", "react": "^18.2.0", "string-length": "^6.0.0", - "tcompare": "6.4.1" + "tap-parser": "15.2.0", + "tap-yaml": "2.2.0", + "tcompare": "6.4.2" }, "dependencies": { "chalk": { @@ -7003,20 +7023,21 @@ } }, "@tapjs/run": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/@tapjs/run/-/run-1.4.2.tgz", - "integrity": "sha512-TJJ7VuNv/XPS02NlYGGZpP4J93vW8sYgHvg7KR3IntdTrWEqvAPHzBGjymSE100mz7jH6ZTbXIqWkwGjlgAOew==", + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/@tapjs/run/-/run-1.4.5.tgz", + "integrity": "sha512-NyPLnnEY6cRSC4+LsQGFtgsNnaev5t0Gutza2p0iQTf3pp05kxQ5FZ23ZLgRcuuE4aQ6d9U0NiQid6xfqRfuLA==", "dev": true, "requires": { - "@tapjs/after": "1.1.6", - "@tapjs/before": "1.1.6", - "@tapjs/config": "2.4.2", + "@tapjs/after": "1.1.9", + "@tapjs/before": "1.1.9", + "@tapjs/config": "2.4.5", "@tapjs/processinfo": "^3.1.4", - "@tapjs/reporter": "1.3.2", - "@tapjs/spawn": "1.1.6", - "@tapjs/stdin": "1.1.6", - "@tapjs/test": "1.3.6", + "@tapjs/reporter": "1.3.5", + "@tapjs/spawn": "1.1.9", + "@tapjs/stdin": "1.1.9", + "@tapjs/test": "1.3.9", "c8": "^8.0.1", + "chalk": "^5.3.0", "chokidar": "^3.5.3", "foreground-child": "^3.1.1", "glob": "^10.3.10", @@ -7024,15 +7045,14 @@ "mkdirp": "^3.0.1", "opener": "^1.5.2", "pacote": "^17.0.3", - "path-scurry": "^1.9.2", - "resolve-import": "^1.4.2", + "resolve-import": "^1.4.4", "rimraf": "^5.0.5", "semver": "^7.5.4", "signal-exit": "^4.1.0", + "tap-parser": "15.2.0", "tap-yaml": "2.2.0", - "tcompare": "6.4.1", + "tcompare": "6.4.2", "trivial-deferred": "^2.0.0", - "ts-node": "npm:@isaacs/ts-node-temp-fork-for-pr-2009@^10.9.1", "which": "^4.0.0" }, "dependencies": { @@ -7045,6 +7065,12 @@ "balanced-match": "^1.0.0" } }, + "chalk": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", + "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", + "dev": true + }, "glob": { "version": "10.3.10", "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", @@ -7094,65 +7120,61 @@ } }, "@tapjs/snapshot": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@tapjs/snapshot/-/snapshot-1.2.6.tgz", - "integrity": "sha512-WuWMq4biiKDRnlr5mxEV3SGDrz4ysKpkN9JPAeYC7IR9MdElhvd6CDTF0ySrP3w0spwCK6LfrDFJjLmVCckw5A==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/@tapjs/snapshot/-/snapshot-1.2.9.tgz", + "integrity": "sha512-dplaznN4FfgKruj1NXoZ4f5NQXkoJ+5Q3yL6nFaERCQSYB77YBLvAxYkaOuvIG/JyN0Uie/ntfxRVodBUbeXPg==", "dev": true, "requires": { "is-actual-promise": "^1.0.0", - "tcompare": "6.4.1", + "tcompare": "6.4.2", "trivial-deferred": "^2.0.0" } }, "@tapjs/spawn": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@tapjs/spawn/-/spawn-1.1.6.tgz", - "integrity": "sha512-DuLPcy0ItdFyWbFR/3usUpABTY4Ph/K/RLamUjZ+MRD+GrW+b6vcOwgzm/GCpEKUpIanTJDFz5wdoLhCGMtCZQ==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@tapjs/spawn/-/spawn-1.1.9.tgz", + "integrity": "sha512-jtoEyJwUSXW9SfLDXovKcRF6hcQmN6SnKCtsjhqXIRcBkLZxbZkHN+yZio4E0yB60ipfenODjJ1DBTwJqCpiaQ==", "dev": true, "requires": {} }, "@tapjs/stack": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@tapjs/stack/-/stack-1.2.4.tgz", - "integrity": "sha512-pDszoMPff4W8w8aQiV8Ic2jE39ddsij1QlPZYelFxuvub3M6hJVO4apgXY/TFirPvd/jdPHUGkv4vpACKMlPGA==", - "dev": true, - "requires": { - "tcompare": "6.4.1", - "trivial-deferred": "^2.0.0" - } + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@tapjs/stack/-/stack-1.2.5.tgz", + "integrity": "sha512-fJNI6kmqo1FuXzVkQ1cFL5FcWYamiql5lTDbA2VuOkQ7z3/Zoitnq+B9rBf28ltmZYFMsk5lEEW8mlaxvCyHiA==", + "dev": true }, "@tapjs/stdin": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@tapjs/stdin/-/stdin-1.1.6.tgz", - "integrity": "sha512-6aaWpru+jt/89VZ3PJzbwR0cf9Up7g2hpWc9pO2SGogIZdQ0yIZcFspG6XI19kAPGGN/b8W0YGR2+6gFtcX3jg==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@tapjs/stdin/-/stdin-1.1.9.tgz", + "integrity": "sha512-80hwzxEJJtVIxsaVhTZWnBn1Bck3SIiiEWxa8+l/yhaAEl0noI9N5XwzUpn6BHvnUoGsuY+71T2sr9IBF58TBQ==", "dev": true, "requires": {} }, "@tapjs/test": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/@tapjs/test/-/test-1.3.6.tgz", - "integrity": "sha512-2OZmwZWnw5aFtcHsSDcyb+IRZk8Ct+ItQLU2R/DBVPRdivQKYaqoKP4YZGcJ0IK9jsALWFRzGJEamULMEN9Rhw==", - "dev": true, - "requires": { - "@tapjs/after": "1.1.6", - "@tapjs/after-each": "1.1.6", - "@tapjs/asserts": "1.1.6", - "@tapjs/before": "1.1.6", - "@tapjs/before-each": "1.1.6", - "@tapjs/filter": "1.2.6", - "@tapjs/fixture": "1.2.6", - "@tapjs/intercept": "1.2.6", - "@tapjs/mock": "1.2.4", - "@tapjs/node-serialize": "1.1.6", - "@tapjs/snapshot": "1.2.6", - "@tapjs/spawn": "1.1.6", - "@tapjs/stdin": "1.1.6", - "@tapjs/typescript": "1.2.6", - "@tapjs/worker": "1.1.6", + "version": "1.3.9", + "resolved": "https://registry.npmjs.org/@tapjs/test/-/test-1.3.9.tgz", + "integrity": "sha512-6jmYgUMZF/YA/wpyGvt3K3tAGKszF1mBK6JN2ZSNfL5WwVgrn53vYkV2UipF+LJ/qI0aiOEaTz0GYS0Wyl4SLA==", + "dev": true, + "requires": { + "@tapjs/after": "1.1.9", + "@tapjs/after-each": "1.1.9", + "@tapjs/asserts": "1.1.9", + "@tapjs/before": "1.1.9", + "@tapjs/before-each": "1.1.9", + "@tapjs/filter": "1.2.9", + "@tapjs/fixture": "1.2.9", + "@tapjs/intercept": "1.2.9", + "@tapjs/mock": "1.2.7", + "@tapjs/node-serialize": "1.1.9", + "@tapjs/snapshot": "1.2.9", + "@tapjs/spawn": "1.1.9", + "@tapjs/stdin": "1.1.9", + "@tapjs/typescript": "1.2.9", + "@tapjs/worker": "1.1.9", "glob": "^10.3.10", "jackspeak": "^2.3.6", "mkdirp": "^3.0.0", - "resolve-import": "^1.4.1", + "resolve-import": "^1.4.4", "rimraf": "^5.0.5", "sync-content": "^1.0.1", "tap-parser": "15.2.0", @@ -7204,18 +7226,18 @@ } }, "@tapjs/typescript": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@tapjs/typescript/-/typescript-1.2.6.tgz", - "integrity": "sha512-bNyLR3jA+m7fORT9S3A2zA0Ww2zNS/k2qJM25qKWot2yKNEriJvb7w/irRVt79ummjyLmVxn+7XjHsNm7dJkRw==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/@tapjs/typescript/-/typescript-1.2.9.tgz", + "integrity": "sha512-icwSPydeqYJdZMuk1OdTDMLRUg5S76n0HiGMl7XFQ44hbv3Fiqay4KKDp99wmOuZXr4mjhSCQu0hTZrSJ2nRlw==", "dev": true, "requires": { "ts-node": "npm:@isaacs/ts-node-temp-fork-for-pr-2009@^10.9.1" } }, "@tapjs/worker": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@tapjs/worker/-/worker-1.1.6.tgz", - "integrity": "sha512-OOnpQT7+z9SI85I9xIyzyLwdN82wuY2fuc316pYXZkFBjX7P9CoZISIa4mTLaDKwt8nmyCThktvp3+tnOKREXw==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@tapjs/worker/-/worker-1.1.9.tgz", + "integrity": "sha512-JB9/ePuufhjKqwQ4di9JOsLbg59w3agLcZ7BTjcintUZzDJhPBAYVnc5b+9NRGeuwGWgQNTw2XZrg4cJQ6gkSg==", "dev": true, "requires": {} }, @@ -7292,9 +7314,9 @@ "dev": true }, "@types/node": { - "version": "20.8.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.0.tgz", - "integrity": "sha512-LzcWltT83s1bthcvjBmiBvGJiiUe84NWRHkw+ZV6Fr41z2FbIzvc815dk2nQ3RAKMuN2fkenM/z3Xv2QzEpYxQ==", + "version": "20.8.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.3.tgz", + "integrity": "sha512-jxiZQFpb+NlH5kjW49vXxvxTjeeqlbsnTAdBTKpzEdPs9itay7MscYXz3Fo9VYFEsfQ6LJFitHad3faerLAjCw==", "dev": true, "peer": true }, @@ -7645,9 +7667,9 @@ "dev": true }, "ci-info": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.8.0.tgz", - "integrity": "sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw==", + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", + "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", "dev": true }, "clean-stack": { @@ -7783,9 +7805,9 @@ "dev": true }, "convert-source-map": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", - "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", "dev": true }, "convert-to-spaces": { @@ -9049,9 +9071,9 @@ } }, "npm-install-checks": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.2.0.tgz", - "integrity": "sha512-744wat5wAAHsxa4590mWO0tJ8PKxR8ORZsH9wGpQc3nWTzozMAgBN/XyqYw7mg3yqLM8dLwEnwSfKMmXAjF69g==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.3.0.tgz", + "integrity": "sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw==", "dev": true, "requires": { "semver": "^7.1.1" @@ -9547,9 +9569,9 @@ "dev": true }, "resolve-import": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/resolve-import/-/resolve-import-1.4.2.tgz", - "integrity": "sha512-ayUU3E2yeFu8ZewNEHbGorcPmHjOmCY8b50wloum8eQUuNExSyddRoWYaX0X6lj3XSufi2WUlXY3mkMcF5ISmw==", + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/resolve-import/-/resolve-import-1.4.4.tgz", + "integrity": "sha512-+IccDyUypl5rHv25216cXu2m30flEoetrG8p4qDH3RsP53cytedI58Pz+pjCU4PAbxPOQgFkgmxTJLKI9tgf/g==", "dev": true, "requires": { "glob": "^10.3.3", @@ -9796,9 +9818,9 @@ } }, "spdx-license-ids": { - "version": "3.0.15", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.15.tgz", - "integrity": "sha512-lpT8hSQp9jAKp9mhtBU4Xjon8LPGBvLIuBiSVhMEtmLecTh2mO0tlqrAMp47tBXzMr13NJMQ2lf7RpQGLJ3HsQ==", + "version": "3.0.16", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz", + "integrity": "sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==", "dev": true }, "ssri": { @@ -9999,29 +10021,30 @@ } }, "tap": { - "version": "18.4.2", - "resolved": "https://registry.npmjs.org/tap/-/tap-18.4.2.tgz", - "integrity": "sha512-QNl0aZTbyYvXfQMe4LZP8aM2ruzOOPciaVq7TEQn7nooKNWSTmmPw7f3pCKKX1/svyZlqmUyF21BpJB9T7w4OQ==", - "dev": true, - "requires": { - "@tapjs/after": "1.1.6", - "@tapjs/after-each": "1.1.6", - "@tapjs/asserts": "1.1.6", - "@tapjs/before": "1.1.6", - "@tapjs/before-each": "1.1.6", - "@tapjs/core": "1.3.6", - "@tapjs/filter": "1.2.6", - "@tapjs/fixture": "1.2.6", - "@tapjs/intercept": "1.2.6", - "@tapjs/mock": "1.2.4", - "@tapjs/node-serialize": "1.1.6", - "@tapjs/run": "1.4.2", - "@tapjs/snapshot": "1.2.6", - "@tapjs/spawn": "1.1.6", - "@tapjs/stdin": "1.1.6", - "@tapjs/test": "1.3.6", - "@tapjs/typescript": "1.2.6", - "@tapjs/worker": "1.1.6" + "version": "18.4.5", + "resolved": "https://registry.npmjs.org/tap/-/tap-18.4.5.tgz", + "integrity": "sha512-qVLodpiP0uXduLsrJnfmqP8i//HtUBHnXX4F1JTQMqZsYY+5XKt1F2z2ky7EBIzsI7mcwvH+9tqtluHZsGExRA==", + "dev": true, + "requires": { + "@tapjs/after": "1.1.9", + "@tapjs/after-each": "1.1.9", + "@tapjs/asserts": "1.1.9", + "@tapjs/before": "1.1.9", + "@tapjs/before-each": "1.1.9", + "@tapjs/core": "1.3.9", + "@tapjs/filter": "1.2.9", + "@tapjs/fixture": "1.2.9", + "@tapjs/intercept": "1.2.9", + "@tapjs/mock": "1.2.7", + "@tapjs/node-serialize": "1.1.9", + "@tapjs/run": "1.4.5", + "@tapjs/snapshot": "1.2.9", + "@tapjs/spawn": "1.1.9", + "@tapjs/stdin": "1.1.9", + "@tapjs/test": "1.3.9", + "@tapjs/typescript": "1.2.9", + "@tapjs/worker": "1.1.9", + "resolve-import": "^1.4.4" } }, "tap-parser": { @@ -10093,9 +10116,9 @@ } }, "tcompare": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/tcompare/-/tcompare-6.4.1.tgz", - "integrity": "sha512-XsB4u8CpvIZ8dyHgAlnHmW8/PpwZXJodRQ34OP+KUl/BSF07vWU3kPDE0x3rhz5ZaARWT5OyhWBMN55oYqOyPw==", + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/tcompare/-/tcompare-6.4.2.tgz", + "integrity": "sha512-TmMm1TL4Jg1p7FtnhxF4Sbcc774EpXZCsVAv6PfChXiy8XXwWLmD6hdI+rhwYQtPMFflTPsv8IVSZh0xxj1lXg==", "dev": true, "requires": { "diff": "^5.1.0", @@ -10342,14 +10365,14 @@ "dev": true }, "v8-to-istanbul": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.0.tgz", - "integrity": "sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA==", + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.3.tgz", + "integrity": "sha512-9lDD+EVI2fjFsMWXc6dy5JJzBsVTcQ2fVkfBvncZ6xJWG9wtBhOldG+mHkSL0+V1K/xgZz0JDO5UT5hFwHUghg==", "dev": true, "requires": { "@jridgewell/trace-mapping": "^0.3.12", "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^1.6.0" + "convert-source-map": "^2.0.0" }, "dependencies": { "@jridgewell/trace-mapping": { diff --git a/package.json b/package.json index b685135c..82b633f5 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,6 @@ "prettier": "^2.8.8", "proxyquire": "^2.1.3", "sinon": "^16.0.0", - "tap": "^18.4.2" + "tap": "^18.4.5" } } From 89e831915b08cad4b171a380bfc740f2816198fa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 08:29:13 +0000 Subject: [PATCH 04/12] chore(deps-dev): bump eslint from 8.50.0 to 8.51.0 (#495) Bumps [eslint](https://github.com/eslint/eslint) from 8.50.0 to 8.51.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.50.0...v8.51.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 30 +++++++++++++++--------------- package.json | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3906fc29..047921f6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ }, "devDependencies": { "@vercel/ncc": "^0.38.0", - "eslint": "^8.50.0", + "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^4.2.1", "husky": "^8.0.3", @@ -161,9 +161,9 @@ } }, "node_modules/@eslint/js": { - "version": "8.50.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.50.0.tgz", - "integrity": "sha512-NCC3zz2+nvYd+Ckfh87rA47zfu2QsQpvc6k1yzTk+b9KzRj0wkGa8LSoGOXN6Zv4lRf/EIoZ80biDh9HOI+RNQ==", + "version": "8.51.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.51.0.tgz", + "integrity": "sha512-HxjQ8Qn+4SI3/AFv6sOrDB+g6PpUTDwSJiQqOrnneEk8L71161srI9gjzzZvYVbzHiVg/BvcH95+cK/zfIt4pg==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -2388,15 +2388,15 @@ } }, "node_modules/eslint": { - "version": "8.50.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.50.0.tgz", - "integrity": "sha512-FOnOGSuFuFLv/Sa+FDVRZl4GGVAAFFi8LecRsI5a1tMO5HIE8nCm4ivAlzt4dT3ol/PaaGC0rJEEXQmHJBGoOg==", + "version": "8.51.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.51.0.tgz", + "integrity": "sha512-2WuxRZBrlwnXi+/vFSJyjMqrNjtJqiasMzehF0shoLaW7DzS3/9Yvrmq5JiT66+pNjiX4UBnLDiKHcWAr/OInA==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.50.0", + "@eslint/js": "8.51.0", "@humanwhocodes/config-array": "^0.11.11", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -6300,9 +6300,9 @@ } }, "@eslint/js": { - "version": "8.50.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.50.0.tgz", - "integrity": "sha512-NCC3zz2+nvYd+Ckfh87rA47zfu2QsQpvc6k1yzTk+b9KzRj0wkGa8LSoGOXN6Zv4lRf/EIoZ80biDh9HOI+RNQ==", + "version": "8.51.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.51.0.tgz", + "integrity": "sha512-HxjQ8Qn+4SI3/AFv6sOrDB+g6PpUTDwSJiQqOrnneEk8L71161srI9gjzzZvYVbzHiVg/BvcH95+cK/zfIt4pg==", "dev": true }, "@humanwhocodes/config-array": { @@ -7906,15 +7906,15 @@ "dev": true }, "eslint": { - "version": "8.50.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.50.0.tgz", - "integrity": "sha512-FOnOGSuFuFLv/Sa+FDVRZl4GGVAAFFi8LecRsI5a1tMO5HIE8nCm4ivAlzt4dT3ol/PaaGC0rJEEXQmHJBGoOg==", + "version": "8.51.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.51.0.tgz", + "integrity": "sha512-2WuxRZBrlwnXi+/vFSJyjMqrNjtJqiasMzehF0shoLaW7DzS3/9Yvrmq5JiT66+pNjiX4UBnLDiKHcWAr/OInA==", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.50.0", + "@eslint/js": "8.51.0", "@humanwhocodes/config-array": "^0.11.11", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", diff --git a/package.json b/package.json index 82b633f5..3e66c2a3 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ }, "devDependencies": { "@vercel/ncc": "^0.38.0", - "eslint": "^8.50.0", + "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^4.2.1", "husky": "^8.0.3", From b85d40627a59f70381a90663b90f33d922dd3793 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 08:30:44 +0000 Subject: [PATCH 05/12] chore(deps-dev): bump sinon from 16.0.0 to 16.1.0 (#496) Bumps [sinon](https://github.com/sinonjs/sinon) from 16.0.0 to 16.1.0. - [Release notes](https://github.com/sinonjs/sinon/releases) - [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md) - [Commits](https://github.com/sinonjs/sinon/compare/v16.0.0...v16.1.0) --- updated-dependencies: - dependency-name: sinon dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 047921f6..6685469d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "husky": "^8.0.3", "prettier": "^2.8.8", "proxyquire": "^2.1.3", - "sinon": "^16.0.0", + "sinon": "^16.1.0", "tap": "^18.4.5" } }, @@ -4924,9 +4924,9 @@ } }, "node_modules/sinon": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-16.0.0.tgz", - "integrity": "sha512-B8AaZZm9CT5pqe4l4uWJztfD/mOTa7dL8Qo0W4+s+t74xECOgSZDDQCBjNgIK3+n4kyxQrSTv2V5ul8K25qkiQ==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-16.1.0.tgz", + "integrity": "sha512-ZSgzF0vwmoa8pq0GEynqfdnpEDyP1PkYmEChnkjW0Vyh8IDlyFEJ+fkMhCP0il6d5cJjPl2PUsnUSAuP5sttOQ==", "dev": true, "dependencies": { "@sinonjs/commons": "^3.0.0", @@ -9722,9 +9722,9 @@ } }, "sinon": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-16.0.0.tgz", - "integrity": "sha512-B8AaZZm9CT5pqe4l4uWJztfD/mOTa7dL8Qo0W4+s+t74xECOgSZDDQCBjNgIK3+n4kyxQrSTv2V5ul8K25qkiQ==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-16.1.0.tgz", + "integrity": "sha512-ZSgzF0vwmoa8pq0GEynqfdnpEDyP1PkYmEChnkjW0Vyh8IDlyFEJ+fkMhCP0il6d5cJjPl2PUsnUSAuP5sttOQ==", "dev": true, "requires": { "@sinonjs/commons": "^3.0.0", diff --git a/package.json b/package.json index 3e66c2a3..badd920e 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "husky": "^8.0.3", "prettier": "^2.8.8", "proxyquire": "^2.1.3", - "sinon": "^16.0.0", + "sinon": "^16.1.0", "tap": "^18.4.5" } } From 4278b29c8a631bb7636d5a7471eea0c33dc74948 Mon Sep 17 00:00:00 2001 From: Tomasz Mikos Date: Tue, 10 Oct 2023 22:42:53 +0200 Subject: [PATCH 06/12] doc: update information about `target` property (#499) * doc: update information about property add to .gitignore * chore: add test for triggering merge when version bump lower than target --- .gitignore | 1 + README.md | 26 +++++++++++++------------- test/action.test.js | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index be1b7832..880e3ecf 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ node_modules/ .idea .nyc_output +.tap/ diff --git a/README.md b/README.md index 9d409dda..0434bc27 100644 --- a/README.md +++ b/README.md @@ -20,24 +20,24 @@ Error: Resource not accessible by integration ## Inputs -| input | required | default | description | +| input | required | default | description | |----------------------------|----------|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| `github-token` | No | `${{github.token}}` | A GitHub token. | -| `exclude` | No | | A comma or semicolon separated value of packages that you don't want to auto-merge and would like to manually review to decide whether to upgrade or not. | -| `approve-only` | No | `false` | If `true`, the PR is only approved but not merged. | -| `merge-method` | No | `squash` | The merge method you would like to use (squash, merge, rebase). | -| `merge-comment` | No | `''` | An arbitrary message that you'd like to comment on the PR after it gets auto-merged. This is only useful when you're receiving too much of noise in email and would like to filter mails for PRs that got automatically merged. | -| `use-github-auto-merge` | No | `false` | If `true`, the PR is marked as auto-merge and will be merged by GitHub when status checks are satisfied.

_NOTE_: This feature only works when all of the following conditions are met.
- The repository enables auto-merge.
- The pull request base must have a branch protection rule.
- The pull request's status checks are not yet satisfied.

Refer to [the official document](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request) about GitHub auto-merge. | -| `target` | No | `any` | A flag to only auto-merge updates based on Semantic Versioning.
Possible options are: `major, premajor, minor, preminor, patch, prepatch, prerelease, any`.

For more details on how semantic version difference is calculated please see [semver](https://www.npmjs.com/package/semver) package.

If you set a value other than `any`, PRs that are not semantic version compliant are skipped. An example of a non-semantic version is a commit hash when using git submodules. | -| `pr-number` | No | | A pull request number, only required if triggered from a workflow_dispatch event. Typically this would be triggered by a script running in a separate CI provider. See [Trigger action from workflow_dispatch event](#trigger-action-from-workflow_dispatch-event) example. | -| `skip-commit-verification` | No | `false` | If `true`, then the action will not expect the commits to have a verification signature. It is required to set this to `true` in GitHub Enterprise Server. | -| `skip-verification` | No | `false` | If true, the action will not validate the user or the commit verification status | +| `github-token` | No | `${{github.token}}` | A GitHub token. | +| `exclude` | No | | A comma or semicolon separated value of packages that you don't want to auto-merge and would like to manually review to decide whether to upgrade or not. | +| `approve-only` | No | `false` | If `true`, the PR is only approved but not merged. | +| `merge-method` | No | `squash` | The merge method you would like to use (squash, merge, rebase). | +| `merge-comment` | No | `''` | An arbitrary message that you'd like to comment on the PR after it gets auto-merged. This is only useful when you're receiving too much of noise in email and would like to filter mails for PRs that got automatically merged. | +| `use-github-auto-merge` | No | `false` | If `true`, the PR is marked as auto-merge and will be merged by GitHub when status checks are satisfied.

_NOTE_: This feature only works when all of the following conditions are met.
- The repository enables auto-merge.
- The pull request base must have a branch protection rule.
- The pull request's status checks are not yet satisfied.

Refer to [the official document](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request) about GitHub auto-merge. | +| `target` | No | `any` | A flag to only auto-merge updates based on Semantic Versioning.
Possible options are: `major, premajor, minor, preminor, patch, prepatch, prerelease, any`.

The value of this flag allows for updates for all the matching versions **and lower** with the respect for priority. This means, for example, if the `target` is set to `major` and the update is made to `minor` version the auto-merge will be triggered.

For more details on how semantic version difference is calculated please see [semver](https://www.npmjs.com/package/semver) package.

If you set a value other than `any`, PRs that are not semantic version compliant are skipped. An example of a non-semantic version is a commit hash when using git submodules. | +| `pr-number` | No | | A pull request number, only required if triggered from a workflow_dispatch event. Typically this would be triggered by a script running in a separate CI provider. See [Trigger action from workflow_dispatch event](#trigger-action-from-workflow_dispatch-event) example. | +| `skip-commit-verification` | No | `false` | If `true`, then the action will not expect the commits to have a verification signature. It is required to set this to `true` in GitHub Enterprise Server. | +| `skip-verification` | No | `false` | If true, the action will not validate the user or the commit verification status | ## Output -| outputs | Description | +| outputs | Description | |---------------|---------------| -| merge_status | The result status of the merge. It can be one of the following: `approved`, `merged`, `merge_failed`, `skipped:commit_verification_failed`, `skipped:not_a_dependabot_pr`, `skipped:cannot_update_major`, `skipped:bump_higher_than_target`, `skipped:packaged_excluded`| +| merge_status | The result status of the merge. It can be one of the following: `approved`, `merged`, `merge_failed`, `skipped:commit_verification_failed`, `skipped:not_a_dependabot_pr`, `skipped:cannot_update_major`, `skipped:bump_higher_than_target`, `skipped:packaged_excluded` | ## Examples diff --git a/test/action.test.js b/test/action.test.js index 4eb017c8..76155ea4 100644 --- a/test/action.test.js +++ b/test/action.test.js @@ -774,3 +774,38 @@ tap.test('should forbid when update type is not valid', async () => { MERGE_STATUS.skippedInvalidVersion ) }) + +tap.test('should allow minor when target is major', async () => { + const PR_NUMBER = Math.random() + + const { action, stubs } = buildStubbedAction({ + payload: { + pull_request: { + number: PR_NUMBER, + user: { login: BOT_NAME }, + }, + }, + inputs: { + PR_NUMBER, + target: 'major', + }, + dependabotMetadata: createDependabotMetadata({ + updateType: updateTypes.minor, + }), + }) + + await action() + + sinon.assert.calledWithExactly( + stubs.logStub.logInfo, + 'Dependabot merge completed' + ) + sinon.assert.notCalled(stubs.coreStub.setFailed) + sinon.assert.calledOnce(stubs.approveStub) + sinon.assert.calledOnce(stubs.mergeStub) + sinon.assert.calledWith( + stubs.coreStub.setOutput, + MERGE_STATUS_KEY, + MERGE_STATUS.merged + ) +}) From 270ef678cf03240cbe8e82b88499f5ce797060c7 Mon Sep 17 00:00:00 2001 From: Aras Abbasi Date: Wed, 11 Oct 2023 13:05:11 +0200 Subject: [PATCH 07/12] 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 08/12] 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 09/12] 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 10/12] 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 11/12] 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 12/12] 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, [