Spaces:
Paused
Paused
chore: add NPM overrides to fix deprecated transitive dependencies and finalize Octokit v21 migration
Browse files- package-lock.json +323 -77
- package.json +6 -0
- src/commenter.ts +16 -16
- src/feedback-capture.ts +5 -5
- src/issue-handler.ts +2 -2
- src/review-comment.ts +1 -1
- src/review.ts +5 -4
package-lock.json
CHANGED
|
@@ -871,6 +871,102 @@
|
|
| 871 |
"url": "https://github.com/sponsors/nzakas"
|
| 872 |
}
|
| 873 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 874 |
"node_modules/@istanbuljs/load-nyc-config": {
|
| 875 |
"version": "1.1.0",
|
| 876 |
"resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz",
|
|
@@ -1853,6 +1949,17 @@
|
|
| 1853 |
"integrity": "sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==",
|
| 1854 |
"license": "MIT"
|
| 1855 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1856 |
"node_modules/@pkgr/core": {
|
| 1857 |
"version": "0.2.9",
|
| 1858 |
"resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.2.9.tgz",
|
|
@@ -3619,6 +3726,13 @@
|
|
| 3619 |
"node": ">= 0.4"
|
| 3620 |
}
|
| 3621 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3622 |
"node_modules/electron-to-chromium": {
|
| 3623 |
"version": "1.5.325",
|
| 3624 |
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.325.tgz",
|
|
@@ -4723,6 +4837,27 @@
|
|
| 4723 |
"node": "^12.20 || >= 14.13"
|
| 4724 |
}
|
| 4725 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4726 |
"node_modules/file-entry-cache": {
|
| 4727 |
"version": "8.0.0",
|
| 4728 |
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
|
|
@@ -4814,6 +4949,36 @@
|
|
| 4814 |
"url": "https://github.com/sponsors/ljharb"
|
| 4815 |
}
|
| 4816 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4817 |
"node_modules/formdata-polyfill": {
|
| 4818 |
"version": "4.0.10",
|
| 4819 |
"resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz",
|
|
@@ -4826,13 +4991,6 @@
|
|
| 4826 |
"node": ">=12.20.0"
|
| 4827 |
}
|
| 4828 |
},
|
| 4829 |
-
"node_modules/fs.realpath": {
|
| 4830 |
-
"version": "1.0.0",
|
| 4831 |
-
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
| 4832 |
-
"integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
|
| 4833 |
-
"dev": true,
|
| 4834 |
-
"license": "ISC"
|
| 4835 |
-
},
|
| 4836 |
"node_modules/fsevents": {
|
| 4837 |
"version": "2.3.3",
|
| 4838 |
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
|
|
@@ -4998,22 +5156,22 @@
|
|
| 4998 |
}
|
| 4999 |
},
|
| 5000 |
"node_modules/glob": {
|
| 5001 |
-
"version": "
|
| 5002 |
-
"resolved": "https://registry.npmjs.org/glob/-/glob-
|
| 5003 |
-
"integrity": "sha512-
|
| 5004 |
"deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me",
|
| 5005 |
"dev": true,
|
| 5006 |
"license": "ISC",
|
| 5007 |
"dependencies": {
|
| 5008 |
-
"
|
| 5009 |
-
"
|
| 5010 |
-
"
|
| 5011 |
-
"
|
| 5012 |
-
"
|
| 5013 |
-
"path-
|
| 5014 |
},
|
| 5015 |
-
"
|
| 5016 |
-
"
|
| 5017 |
},
|
| 5018 |
"funding": {
|
| 5019 |
"url": "https://github.com/sponsors/isaacs"
|
|
@@ -5033,27 +5191,29 @@
|
|
| 5033 |
}
|
| 5034 |
},
|
| 5035 |
"node_modules/glob/node_modules/brace-expansion": {
|
| 5036 |
-
"version": "
|
| 5037 |
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-
|
| 5038 |
-
"integrity": "sha512-
|
| 5039 |
"dev": true,
|
| 5040 |
"license": "MIT",
|
| 5041 |
"dependencies": {
|
| 5042 |
-
"balanced-match": "^1.0.0"
|
| 5043 |
-
"concat-map": "0.0.1"
|
| 5044 |
}
|
| 5045 |
},
|
| 5046 |
"node_modules/glob/node_modules/minimatch": {
|
| 5047 |
-
"version": "
|
| 5048 |
-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-
|
| 5049 |
-
"integrity": "sha512-
|
| 5050 |
"dev": true,
|
| 5051 |
"license": "ISC",
|
| 5052 |
"dependencies": {
|
| 5053 |
-
"brace-expansion": "^
|
| 5054 |
},
|
| 5055 |
"engines": {
|
| 5056 |
-
"node": "
|
|
|
|
|
|
|
|
|
|
| 5057 |
}
|
| 5058 |
},
|
| 5059 |
"node_modules/globals": {
|
|
@@ -5341,25 +5501,6 @@
|
|
| 5341 |
"node": ">=0.8.19"
|
| 5342 |
}
|
| 5343 |
},
|
| 5344 |
-
"node_modules/inflight": {
|
| 5345 |
-
"version": "1.0.6",
|
| 5346 |
-
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
|
| 5347 |
-
"integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
|
| 5348 |
-
"deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.",
|
| 5349 |
-
"dev": true,
|
| 5350 |
-
"license": "ISC",
|
| 5351 |
-
"dependencies": {
|
| 5352 |
-
"once": "^1.3.0",
|
| 5353 |
-
"wrappy": "1"
|
| 5354 |
-
}
|
| 5355 |
-
},
|
| 5356 |
-
"node_modules/inherits": {
|
| 5357 |
-
"version": "2.0.4",
|
| 5358 |
-
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
| 5359 |
-
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
|
| 5360 |
-
"dev": true,
|
| 5361 |
-
"license": "ISC"
|
| 5362 |
-
},
|
| 5363 |
"node_modules/internal-slot": {
|
| 5364 |
"version": "1.1.0",
|
| 5365 |
"resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz",
|
|
@@ -5899,6 +6040,22 @@
|
|
| 5899 |
"node": ">=8"
|
| 5900 |
}
|
| 5901 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5902 |
"node_modules/jest": {
|
| 5903 |
"version": "29.7.0",
|
| 5904 |
"resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz",
|
|
@@ -6967,6 +7124,16 @@
|
|
| 6967 |
"url": "https://github.com/sponsors/ljharb"
|
| 6968 |
}
|
| 6969 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6970 |
"node_modules/ms": {
|
| 6971 |
"version": "2.1.3",
|
| 6972 |
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
|
|
@@ -6988,26 +7155,6 @@
|
|
| 6988 |
"dev": true,
|
| 6989 |
"license": "MIT"
|
| 6990 |
},
|
| 6991 |
-
"node_modules/node-domexception": {
|
| 6992 |
-
"version": "1.0.0",
|
| 6993 |
-
"resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz",
|
| 6994 |
-
"integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==",
|
| 6995 |
-
"deprecated": "Use your platform's native DOMException instead",
|
| 6996 |
-
"funding": [
|
| 6997 |
-
{
|
| 6998 |
-
"type": "github",
|
| 6999 |
-
"url": "https://github.com/sponsors/jimmywarting"
|
| 7000 |
-
},
|
| 7001 |
-
{
|
| 7002 |
-
"type": "github",
|
| 7003 |
-
"url": "https://paypal.me/jimmywarting"
|
| 7004 |
-
}
|
| 7005 |
-
],
|
| 7006 |
-
"license": "MIT",
|
| 7007 |
-
"engines": {
|
| 7008 |
-
"node": ">=10.5.0"
|
| 7009 |
-
}
|
| 7010 |
-
},
|
| 7011 |
"node_modules/node-fetch": {
|
| 7012 |
"version": "3.3.2",
|
| 7013 |
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz",
|
|
@@ -7394,6 +7541,13 @@
|
|
| 7394 |
"url": "https://github.com/sponsors/sindresorhus"
|
| 7395 |
}
|
| 7396 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7397 |
"node_modules/parent-module": {
|
| 7398 |
"version": "1.0.1",
|
| 7399 |
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
|
|
@@ -7441,16 +7595,6 @@
|
|
| 7441 |
"node": ">=8"
|
| 7442 |
}
|
| 7443 |
},
|
| 7444 |
-
"node_modules/path-is-absolute": {
|
| 7445 |
-
"version": "1.0.1",
|
| 7446 |
-
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
|
| 7447 |
-
"integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
|
| 7448 |
-
"dev": true,
|
| 7449 |
-
"license": "MIT",
|
| 7450 |
-
"engines": {
|
| 7451 |
-
"node": ">=0.10.0"
|
| 7452 |
-
}
|
| 7453 |
-
},
|
| 7454 |
"node_modules/path-key": {
|
| 7455 |
"version": "3.1.1",
|
| 7456 |
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
|
|
@@ -7468,6 +7612,30 @@
|
|
| 7468 |
"dev": true,
|
| 7469 |
"license": "MIT"
|
| 7470 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7471 |
"node_modules/picocolors": {
|
| 7472 |
"version": "1.1.1",
|
| 7473 |
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
|
|
@@ -8602,6 +8770,29 @@
|
|
| 8602 |
"node": ">=8"
|
| 8603 |
}
|
| 8604 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8605 |
"node_modules/string-width/node_modules/emoji-regex": {
|
| 8606 |
"version": "8.0.0",
|
| 8607 |
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
|
@@ -8696,6 +8887,20 @@
|
|
| 8696 |
"node": ">=8"
|
| 8697 |
}
|
| 8698 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8699 |
"node_modules/strip-bom": {
|
| 8700 |
"version": "4.0.0",
|
| 8701 |
"resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz",
|
|
@@ -8893,6 +9098,12 @@
|
|
| 8893 |
"node": ">=12"
|
| 8894 |
}
|
| 8895 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8896 |
"node_modules/ts-api-utils": {
|
| 8897 |
"version": "2.5.0",
|
| 8898 |
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz",
|
|
@@ -9396,6 +9607,22 @@
|
|
| 9396 |
"integrity": "sha512-CdC/TqVFbXqR+C51v38hv6wOPatKEUGxa39scAeFSm98wIhZxAYonhRQPSMmfZ2w7JDI0zQDdzdmgtNk06/krQ==",
|
| 9397 |
"license": "MIT"
|
| 9398 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9399 |
"node_modules/when-exit": {
|
| 9400 |
"version": "2.1.5",
|
| 9401 |
"resolved": "https://registry.npmjs.org/when-exit/-/when-exit-2.1.5.tgz",
|
|
@@ -9542,6 +9769,25 @@
|
|
| 9542 |
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
|
| 9543 |
}
|
| 9544 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9545 |
"node_modules/wrappy": {
|
| 9546 |
"version": "1.0.2",
|
| 9547 |
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
|
|
|
| 871 |
"url": "https://github.com/sponsors/nzakas"
|
| 872 |
}
|
| 873 |
},
|
| 874 |
+
"node_modules/@isaacs/cliui": {
|
| 875 |
+
"version": "8.0.2",
|
| 876 |
+
"resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
|
| 877 |
+
"integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
|
| 878 |
+
"dev": true,
|
| 879 |
+
"license": "ISC",
|
| 880 |
+
"dependencies": {
|
| 881 |
+
"string-width": "^5.1.2",
|
| 882 |
+
"string-width-cjs": "npm:string-width@^4.2.0",
|
| 883 |
+
"strip-ansi": "^7.0.1",
|
| 884 |
+
"strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
|
| 885 |
+
"wrap-ansi": "^8.1.0",
|
| 886 |
+
"wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
|
| 887 |
+
},
|
| 888 |
+
"engines": {
|
| 889 |
+
"node": ">=12"
|
| 890 |
+
}
|
| 891 |
+
},
|
| 892 |
+
"node_modules/@isaacs/cliui/node_modules/ansi-regex": {
|
| 893 |
+
"version": "6.2.2",
|
| 894 |
+
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz",
|
| 895 |
+
"integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==",
|
| 896 |
+
"dev": true,
|
| 897 |
+
"license": "MIT",
|
| 898 |
+
"engines": {
|
| 899 |
+
"node": ">=12"
|
| 900 |
+
},
|
| 901 |
+
"funding": {
|
| 902 |
+
"url": "https://github.com/chalk/ansi-regex?sponsor=1"
|
| 903 |
+
}
|
| 904 |
+
},
|
| 905 |
+
"node_modules/@isaacs/cliui/node_modules/ansi-styles": {
|
| 906 |
+
"version": "6.2.3",
|
| 907 |
+
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz",
|
| 908 |
+
"integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==",
|
| 909 |
+
"dev": true,
|
| 910 |
+
"license": "MIT",
|
| 911 |
+
"engines": {
|
| 912 |
+
"node": ">=12"
|
| 913 |
+
},
|
| 914 |
+
"funding": {
|
| 915 |
+
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
|
| 916 |
+
}
|
| 917 |
+
},
|
| 918 |
+
"node_modules/@isaacs/cliui/node_modules/string-width": {
|
| 919 |
+
"version": "5.1.2",
|
| 920 |
+
"resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
|
| 921 |
+
"integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
|
| 922 |
+
"dev": true,
|
| 923 |
+
"license": "MIT",
|
| 924 |
+
"dependencies": {
|
| 925 |
+
"eastasianwidth": "^0.2.0",
|
| 926 |
+
"emoji-regex": "^9.2.2",
|
| 927 |
+
"strip-ansi": "^7.0.1"
|
| 928 |
+
},
|
| 929 |
+
"engines": {
|
| 930 |
+
"node": ">=12"
|
| 931 |
+
},
|
| 932 |
+
"funding": {
|
| 933 |
+
"url": "https://github.com/sponsors/sindresorhus"
|
| 934 |
+
}
|
| 935 |
+
},
|
| 936 |
+
"node_modules/@isaacs/cliui/node_modules/strip-ansi": {
|
| 937 |
+
"version": "7.2.0",
|
| 938 |
+
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz",
|
| 939 |
+
"integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==",
|
| 940 |
+
"dev": true,
|
| 941 |
+
"license": "MIT",
|
| 942 |
+
"dependencies": {
|
| 943 |
+
"ansi-regex": "^6.2.2"
|
| 944 |
+
},
|
| 945 |
+
"engines": {
|
| 946 |
+
"node": ">=12"
|
| 947 |
+
},
|
| 948 |
+
"funding": {
|
| 949 |
+
"url": "https://github.com/chalk/strip-ansi?sponsor=1"
|
| 950 |
+
}
|
| 951 |
+
},
|
| 952 |
+
"node_modules/@isaacs/cliui/node_modules/wrap-ansi": {
|
| 953 |
+
"version": "8.1.0",
|
| 954 |
+
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
|
| 955 |
+
"integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
|
| 956 |
+
"dev": true,
|
| 957 |
+
"license": "MIT",
|
| 958 |
+
"dependencies": {
|
| 959 |
+
"ansi-styles": "^6.1.0",
|
| 960 |
+
"string-width": "^5.0.1",
|
| 961 |
+
"strip-ansi": "^7.0.1"
|
| 962 |
+
},
|
| 963 |
+
"engines": {
|
| 964 |
+
"node": ">=12"
|
| 965 |
+
},
|
| 966 |
+
"funding": {
|
| 967 |
+
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
|
| 968 |
+
}
|
| 969 |
+
},
|
| 970 |
"node_modules/@istanbuljs/load-nyc-config": {
|
| 971 |
"version": "1.1.0",
|
| 972 |
"resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz",
|
|
|
|
| 1949 |
"integrity": "sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==",
|
| 1950 |
"license": "MIT"
|
| 1951 |
},
|
| 1952 |
+
"node_modules/@pkgjs/parseargs": {
|
| 1953 |
+
"version": "0.11.0",
|
| 1954 |
+
"resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
|
| 1955 |
+
"integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==",
|
| 1956 |
+
"dev": true,
|
| 1957 |
+
"license": "MIT",
|
| 1958 |
+
"optional": true,
|
| 1959 |
+
"engines": {
|
| 1960 |
+
"node": ">=14"
|
| 1961 |
+
}
|
| 1962 |
+
},
|
| 1963 |
"node_modules/@pkgr/core": {
|
| 1964 |
"version": "0.2.9",
|
| 1965 |
"resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.2.9.tgz",
|
|
|
|
| 3726 |
"node": ">= 0.4"
|
| 3727 |
}
|
| 3728 |
},
|
| 3729 |
+
"node_modules/eastasianwidth": {
|
| 3730 |
+
"version": "0.2.0",
|
| 3731 |
+
"resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
|
| 3732 |
+
"integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==",
|
| 3733 |
+
"dev": true,
|
| 3734 |
+
"license": "MIT"
|
| 3735 |
+
},
|
| 3736 |
"node_modules/electron-to-chromium": {
|
| 3737 |
"version": "1.5.325",
|
| 3738 |
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.325.tgz",
|
|
|
|
| 4837 |
"node": "^12.20 || >= 14.13"
|
| 4838 |
}
|
| 4839 |
},
|
| 4840 |
+
"node_modules/fetch-blob/node_modules/node-domexception": {
|
| 4841 |
+
"name": "node-fetch",
|
| 4842 |
+
"version": "2.7.0",
|
| 4843 |
+
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz",
|
| 4844 |
+
"integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==",
|
| 4845 |
+
"license": "MIT",
|
| 4846 |
+
"dependencies": {
|
| 4847 |
+
"whatwg-url": "^5.0.0"
|
| 4848 |
+
},
|
| 4849 |
+
"engines": {
|
| 4850 |
+
"node": "4.x || >=6.0.0"
|
| 4851 |
+
},
|
| 4852 |
+
"peerDependencies": {
|
| 4853 |
+
"encoding": "^0.1.0"
|
| 4854 |
+
},
|
| 4855 |
+
"peerDependenciesMeta": {
|
| 4856 |
+
"encoding": {
|
| 4857 |
+
"optional": true
|
| 4858 |
+
}
|
| 4859 |
+
}
|
| 4860 |
+
},
|
| 4861 |
"node_modules/file-entry-cache": {
|
| 4862 |
"version": "8.0.0",
|
| 4863 |
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
|
|
|
|
| 4949 |
"url": "https://github.com/sponsors/ljharb"
|
| 4950 |
}
|
| 4951 |
},
|
| 4952 |
+
"node_modules/foreground-child": {
|
| 4953 |
+
"version": "3.3.1",
|
| 4954 |
+
"resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz",
|
| 4955 |
+
"integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==",
|
| 4956 |
+
"dev": true,
|
| 4957 |
+
"license": "ISC",
|
| 4958 |
+
"dependencies": {
|
| 4959 |
+
"cross-spawn": "^7.0.6",
|
| 4960 |
+
"signal-exit": "^4.0.1"
|
| 4961 |
+
},
|
| 4962 |
+
"engines": {
|
| 4963 |
+
"node": ">=14"
|
| 4964 |
+
},
|
| 4965 |
+
"funding": {
|
| 4966 |
+
"url": "https://github.com/sponsors/isaacs"
|
| 4967 |
+
}
|
| 4968 |
+
},
|
| 4969 |
+
"node_modules/foreground-child/node_modules/signal-exit": {
|
| 4970 |
+
"version": "4.1.0",
|
| 4971 |
+
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
|
| 4972 |
+
"integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
|
| 4973 |
+
"dev": true,
|
| 4974 |
+
"license": "ISC",
|
| 4975 |
+
"engines": {
|
| 4976 |
+
"node": ">=14"
|
| 4977 |
+
},
|
| 4978 |
+
"funding": {
|
| 4979 |
+
"url": "https://github.com/sponsors/isaacs"
|
| 4980 |
+
}
|
| 4981 |
+
},
|
| 4982 |
"node_modules/formdata-polyfill": {
|
| 4983 |
"version": "4.0.10",
|
| 4984 |
"resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz",
|
|
|
|
| 4991 |
"node": ">=12.20.0"
|
| 4992 |
}
|
| 4993 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4994 |
"node_modules/fsevents": {
|
| 4995 |
"version": "2.3.3",
|
| 4996 |
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
|
|
|
|
| 5156 |
}
|
| 5157 |
},
|
| 5158 |
"node_modules/glob": {
|
| 5159 |
+
"version": "10.5.0",
|
| 5160 |
+
"resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
|
| 5161 |
+
"integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
|
| 5162 |
"deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me",
|
| 5163 |
"dev": true,
|
| 5164 |
"license": "ISC",
|
| 5165 |
"dependencies": {
|
| 5166 |
+
"foreground-child": "^3.1.0",
|
| 5167 |
+
"jackspeak": "^3.1.2",
|
| 5168 |
+
"minimatch": "^9.0.4",
|
| 5169 |
+
"minipass": "^7.1.2",
|
| 5170 |
+
"package-json-from-dist": "^1.0.0",
|
| 5171 |
+
"path-scurry": "^1.11.1"
|
| 5172 |
},
|
| 5173 |
+
"bin": {
|
| 5174 |
+
"glob": "dist/esm/bin.mjs"
|
| 5175 |
},
|
| 5176 |
"funding": {
|
| 5177 |
"url": "https://github.com/sponsors/isaacs"
|
|
|
|
| 5191 |
}
|
| 5192 |
},
|
| 5193 |
"node_modules/glob/node_modules/brace-expansion": {
|
| 5194 |
+
"version": "2.0.3",
|
| 5195 |
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.3.tgz",
|
| 5196 |
+
"integrity": "sha512-MCV/fYJEbqx68aE58kv2cA/kiky1G8vux3OR6/jbS+jIMe/6fJWa0DTzJU7dqijOWYwHi1t29FlfYI9uytqlpA==",
|
| 5197 |
"dev": true,
|
| 5198 |
"license": "MIT",
|
| 5199 |
"dependencies": {
|
| 5200 |
+
"balanced-match": "^1.0.0"
|
|
|
|
| 5201 |
}
|
| 5202 |
},
|
| 5203 |
"node_modules/glob/node_modules/minimatch": {
|
| 5204 |
+
"version": "9.0.9",
|
| 5205 |
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz",
|
| 5206 |
+
"integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==",
|
| 5207 |
"dev": true,
|
| 5208 |
"license": "ISC",
|
| 5209 |
"dependencies": {
|
| 5210 |
+
"brace-expansion": "^2.0.2"
|
| 5211 |
},
|
| 5212 |
"engines": {
|
| 5213 |
+
"node": ">=16 || 14 >=14.17"
|
| 5214 |
+
},
|
| 5215 |
+
"funding": {
|
| 5216 |
+
"url": "https://github.com/sponsors/isaacs"
|
| 5217 |
}
|
| 5218 |
},
|
| 5219 |
"node_modules/globals": {
|
|
|
|
| 5501 |
"node": ">=0.8.19"
|
| 5502 |
}
|
| 5503 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5504 |
"node_modules/internal-slot": {
|
| 5505 |
"version": "1.1.0",
|
| 5506 |
"resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz",
|
|
|
|
| 6040 |
"node": ">=8"
|
| 6041 |
}
|
| 6042 |
},
|
| 6043 |
+
"node_modules/jackspeak": {
|
| 6044 |
+
"version": "3.4.3",
|
| 6045 |
+
"resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz",
|
| 6046 |
+
"integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==",
|
| 6047 |
+
"dev": true,
|
| 6048 |
+
"license": "BlueOak-1.0.0",
|
| 6049 |
+
"dependencies": {
|
| 6050 |
+
"@isaacs/cliui": "^8.0.2"
|
| 6051 |
+
},
|
| 6052 |
+
"funding": {
|
| 6053 |
+
"url": "https://github.com/sponsors/isaacs"
|
| 6054 |
+
},
|
| 6055 |
+
"optionalDependencies": {
|
| 6056 |
+
"@pkgjs/parseargs": "^0.11.0"
|
| 6057 |
+
}
|
| 6058 |
+
},
|
| 6059 |
"node_modules/jest": {
|
| 6060 |
"version": "29.7.0",
|
| 6061 |
"resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz",
|
|
|
|
| 7124 |
"url": "https://github.com/sponsors/ljharb"
|
| 7125 |
}
|
| 7126 |
},
|
| 7127 |
+
"node_modules/minipass": {
|
| 7128 |
+
"version": "7.1.3",
|
| 7129 |
+
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz",
|
| 7130 |
+
"integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==",
|
| 7131 |
+
"dev": true,
|
| 7132 |
+
"license": "BlueOak-1.0.0",
|
| 7133 |
+
"engines": {
|
| 7134 |
+
"node": ">=16 || 14 >=14.17"
|
| 7135 |
+
}
|
| 7136 |
+
},
|
| 7137 |
"node_modules/ms": {
|
| 7138 |
"version": "2.1.3",
|
| 7139 |
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
|
|
|
|
| 7155 |
"dev": true,
|
| 7156 |
"license": "MIT"
|
| 7157 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7158 |
"node_modules/node-fetch": {
|
| 7159 |
"version": "3.3.2",
|
| 7160 |
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz",
|
|
|
|
| 7541 |
"url": "https://github.com/sponsors/sindresorhus"
|
| 7542 |
}
|
| 7543 |
},
|
| 7544 |
+
"node_modules/package-json-from-dist": {
|
| 7545 |
+
"version": "1.0.1",
|
| 7546 |
+
"resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz",
|
| 7547 |
+
"integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==",
|
| 7548 |
+
"dev": true,
|
| 7549 |
+
"license": "BlueOak-1.0.0"
|
| 7550 |
+
},
|
| 7551 |
"node_modules/parent-module": {
|
| 7552 |
"version": "1.0.1",
|
| 7553 |
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
|
|
|
|
| 7595 |
"node": ">=8"
|
| 7596 |
}
|
| 7597 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7598 |
"node_modules/path-key": {
|
| 7599 |
"version": "3.1.1",
|
| 7600 |
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
|
|
|
|
| 7612 |
"dev": true,
|
| 7613 |
"license": "MIT"
|
| 7614 |
},
|
| 7615 |
+
"node_modules/path-scurry": {
|
| 7616 |
+
"version": "1.11.1",
|
| 7617 |
+
"resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz",
|
| 7618 |
+
"integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==",
|
| 7619 |
+
"dev": true,
|
| 7620 |
+
"license": "BlueOak-1.0.0",
|
| 7621 |
+
"dependencies": {
|
| 7622 |
+
"lru-cache": "^10.2.0",
|
| 7623 |
+
"minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"
|
| 7624 |
+
},
|
| 7625 |
+
"engines": {
|
| 7626 |
+
"node": ">=16 || 14 >=14.18"
|
| 7627 |
+
},
|
| 7628 |
+
"funding": {
|
| 7629 |
+
"url": "https://github.com/sponsors/isaacs"
|
| 7630 |
+
}
|
| 7631 |
+
},
|
| 7632 |
+
"node_modules/path-scurry/node_modules/lru-cache": {
|
| 7633 |
+
"version": "10.4.3",
|
| 7634 |
+
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",
|
| 7635 |
+
"integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",
|
| 7636 |
+
"dev": true,
|
| 7637 |
+
"license": "ISC"
|
| 7638 |
+
},
|
| 7639 |
"node_modules/picocolors": {
|
| 7640 |
"version": "1.1.1",
|
| 7641 |
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
|
|
|
|
| 8770 |
"node": ">=8"
|
| 8771 |
}
|
| 8772 |
},
|
| 8773 |
+
"node_modules/string-width-cjs": {
|
| 8774 |
+
"name": "string-width",
|
| 8775 |
+
"version": "4.2.3",
|
| 8776 |
+
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
|
| 8777 |
+
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
|
| 8778 |
+
"dev": true,
|
| 8779 |
+
"license": "MIT",
|
| 8780 |
+
"dependencies": {
|
| 8781 |
+
"emoji-regex": "^8.0.0",
|
| 8782 |
+
"is-fullwidth-code-point": "^3.0.0",
|
| 8783 |
+
"strip-ansi": "^6.0.1"
|
| 8784 |
+
},
|
| 8785 |
+
"engines": {
|
| 8786 |
+
"node": ">=8"
|
| 8787 |
+
}
|
| 8788 |
+
},
|
| 8789 |
+
"node_modules/string-width-cjs/node_modules/emoji-regex": {
|
| 8790 |
+
"version": "8.0.0",
|
| 8791 |
+
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
| 8792 |
+
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
|
| 8793 |
+
"dev": true,
|
| 8794 |
+
"license": "MIT"
|
| 8795 |
+
},
|
| 8796 |
"node_modules/string-width/node_modules/emoji-regex": {
|
| 8797 |
"version": "8.0.0",
|
| 8798 |
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
|
|
|
| 8887 |
"node": ">=8"
|
| 8888 |
}
|
| 8889 |
},
|
| 8890 |
+
"node_modules/strip-ansi-cjs": {
|
| 8891 |
+
"name": "strip-ansi",
|
| 8892 |
+
"version": "6.0.1",
|
| 8893 |
+
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
|
| 8894 |
+
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
|
| 8895 |
+
"dev": true,
|
| 8896 |
+
"license": "MIT",
|
| 8897 |
+
"dependencies": {
|
| 8898 |
+
"ansi-regex": "^5.0.1"
|
| 8899 |
+
},
|
| 8900 |
+
"engines": {
|
| 8901 |
+
"node": ">=8"
|
| 8902 |
+
}
|
| 8903 |
+
},
|
| 8904 |
"node_modules/strip-bom": {
|
| 8905 |
"version": "4.0.0",
|
| 8906 |
"resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz",
|
|
|
|
| 9098 |
"node": ">=12"
|
| 9099 |
}
|
| 9100 |
},
|
| 9101 |
+
"node_modules/tr46": {
|
| 9102 |
+
"version": "0.0.3",
|
| 9103 |
+
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
|
| 9104 |
+
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==",
|
| 9105 |
+
"license": "MIT"
|
| 9106 |
+
},
|
| 9107 |
"node_modules/ts-api-utils": {
|
| 9108 |
"version": "2.5.0",
|
| 9109 |
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz",
|
|
|
|
| 9607 |
"integrity": "sha512-CdC/TqVFbXqR+C51v38hv6wOPatKEUGxa39scAeFSm98wIhZxAYonhRQPSMmfZ2w7JDI0zQDdzdmgtNk06/krQ==",
|
| 9608 |
"license": "MIT"
|
| 9609 |
},
|
| 9610 |
+
"node_modules/webidl-conversions": {
|
| 9611 |
+
"version": "3.0.1",
|
| 9612 |
+
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
|
| 9613 |
+
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==",
|
| 9614 |
+
"license": "BSD-2-Clause"
|
| 9615 |
+
},
|
| 9616 |
+
"node_modules/whatwg-url": {
|
| 9617 |
+
"version": "5.0.0",
|
| 9618 |
+
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
|
| 9619 |
+
"integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
|
| 9620 |
+
"license": "MIT",
|
| 9621 |
+
"dependencies": {
|
| 9622 |
+
"tr46": "~0.0.3",
|
| 9623 |
+
"webidl-conversions": "^3.0.0"
|
| 9624 |
+
}
|
| 9625 |
+
},
|
| 9626 |
"node_modules/when-exit": {
|
| 9627 |
"version": "2.1.5",
|
| 9628 |
"resolved": "https://registry.npmjs.org/when-exit/-/when-exit-2.1.5.tgz",
|
|
|
|
| 9769 |
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
|
| 9770 |
}
|
| 9771 |
},
|
| 9772 |
+
"node_modules/wrap-ansi-cjs": {
|
| 9773 |
+
"name": "wrap-ansi",
|
| 9774 |
+
"version": "7.0.0",
|
| 9775 |
+
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
|
| 9776 |
+
"integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
|
| 9777 |
+
"dev": true,
|
| 9778 |
+
"license": "MIT",
|
| 9779 |
+
"dependencies": {
|
| 9780 |
+
"ansi-styles": "^4.0.0",
|
| 9781 |
+
"string-width": "^4.1.0",
|
| 9782 |
+
"strip-ansi": "^6.0.0"
|
| 9783 |
+
},
|
| 9784 |
+
"engines": {
|
| 9785 |
+
"node": ">=10"
|
| 9786 |
+
},
|
| 9787 |
+
"funding": {
|
| 9788 |
+
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
|
| 9789 |
+
}
|
| 9790 |
+
},
|
| 9791 |
"node_modules/wrappy": {
|
| 9792 |
"version": "1.0.2",
|
| 9793 |
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
package.json
CHANGED
|
@@ -50,5 +50,11 @@
|
|
| 50 |
},
|
| 51 |
"engines": {
|
| 52 |
"node": ">=18.0.0"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
}
|
| 54 |
}
|
|
|
|
| 50 |
},
|
| 51 |
"engines": {
|
| 52 |
"node": ">=18.0.0"
|
| 53 |
+
},
|
| 54 |
+
"overrides": {
|
| 55 |
+
"glob": "^10.0.0",
|
| 56 |
+
"inflight": "npm:lru-cache@^10.0.0",
|
| 57 |
+
"rimraf": "^5.0.0",
|
| 58 |
+
"node-domexception": "npm:node-fetch@^2.6.7"
|
| 59 |
}
|
| 60 |
}
|
src/commenter.ts
CHANGED
|
@@ -168,7 +168,7 @@ ${tag}${PRIX_BRANDING}`
|
|
| 168 |
// for the tag (marker)
|
| 169 |
try {
|
| 170 |
// get latest description from PR
|
| 171 |
-
const pr = await octokit.pulls.get({
|
| 172 |
owner: repo.owner,
|
| 173 |
repo: repo.repo,
|
| 174 |
// eslint-disable-next-line camelcase
|
|
@@ -186,7 +186,7 @@ ${tag}${PRIX_BRANDING}`
|
|
| 186 |
DESCRIPTION_END_TAG
|
| 187 |
)
|
| 188 |
const newDescription = `${description}\n${DESCRIPTION_START_TAG}\n${messageClean}\n${DESCRIPTION_END_TAG}`
|
| 189 |
-
await octokit.pulls.update({
|
| 190 |
owner: repo.owner,
|
| 191 |
repo: repo.repo,
|
| 192 |
// eslint-disable-next-line camelcase
|
|
@@ -271,7 +271,7 @@ ${COMMENT_TAG}`
|
|
| 271 |
|
| 272 |
async deletePendingReview(pullNumber: number) {
|
| 273 |
try {
|
| 274 |
-
const reviews = await octokit.pulls.listReviews({
|
| 275 |
owner: repo.owner,
|
| 276 |
repo: repo.repo,
|
| 277 |
// eslint-disable-next-line camelcase
|
|
@@ -287,7 +287,7 @@ ${COMMENT_TAG}`
|
|
| 287 |
`Deleting pending review for PR #${pullNumber} id: ${pendingReview.id}`
|
| 288 |
)
|
| 289 |
try {
|
| 290 |
-
await octokit.pulls.deletePendingReview({
|
| 291 |
owner: repo.owner,
|
| 292 |
repo: repo.repo,
|
| 293 |
// eslint-disable-next-line camelcase
|
|
@@ -314,7 +314,7 @@ ${statusMsg}
|
|
| 314 |
// Submit empty review with statusMsg
|
| 315 |
info(`Submitting empty review for PR #${pullNumber}`)
|
| 316 |
try {
|
| 317 |
-
await octokit.pulls.createReview({
|
| 318 |
owner: repo.owner,
|
| 319 |
repo: repo.repo,
|
| 320 |
// eslint-disable-next-line camelcase
|
|
@@ -341,7 +341,7 @@ ${statusMsg}
|
|
| 341 |
for (const c of comments) {
|
| 342 |
if (c.body.includes(COMMENT_TAG)) {
|
| 343 |
try {
|
| 344 |
-
await octokit.pulls.deleteReviewComment({
|
| 345 |
owner: repo.owner,
|
| 346 |
repo: repo.repo,
|
| 347 |
// eslint-disable-next-line camelcase
|
|
@@ -362,7 +362,7 @@ ${statusMsg}
|
|
| 362 |
)
|
| 363 |
|
| 364 |
try {
|
| 365 |
-
const review = await octokit.pulls.createReview({
|
| 366 |
owner: repo.owner,
|
| 367 |
repo: repo.repo,
|
| 368 |
// eslint-disable-next-line camelcase
|
|
@@ -376,7 +376,7 @@ ${statusMsg}
|
|
| 376 |
`Submitting review for PR #${pullNumber}, total comments: ${pushableComments.length}, review id: ${review.data.id}`
|
| 377 |
)
|
| 378 |
|
| 379 |
-
await octokit.pulls.submitReview({
|
| 380 |
owner: repo.owner,
|
| 381 |
repo: repo.repo,
|
| 382 |
// eslint-disable-next-line camelcase
|
|
@@ -407,7 +407,7 @@ ${statusMsg}
|
|
| 407 |
}
|
| 408 |
|
| 409 |
try {
|
| 410 |
-
await octokit.pulls.createReviewComment(commentData)
|
| 411 |
} catch (ee) {
|
| 412 |
warning(`Failed to create review comment: ${ee}`)
|
| 413 |
}
|
|
@@ -448,7 +448,7 @@ ${COMMENT_REPLY_TAG}
|
|
| 448 |
`
|
| 449 |
try {
|
| 450 |
// Post the reply to the user comment
|
| 451 |
-
await octokit.pulls.createReplyForReviewComment({
|
| 452 |
owner: repo.owner,
|
| 453 |
repo: repo.repo,
|
| 454 |
// eslint-disable-next-line camelcase
|
|
@@ -460,7 +460,7 @@ ${COMMENT_REPLY_TAG}
|
|
| 460 |
} catch (error) {
|
| 461 |
warning(`Failed to reply to the top-level comment ${error}`)
|
| 462 |
try {
|
| 463 |
-
await octokit.pulls.createReplyForReviewComment({
|
| 464 |
owner: repo.owner,
|
| 465 |
repo: repo.repo,
|
| 466 |
// eslint-disable-next-line camelcase
|
|
@@ -480,7 +480,7 @@ ${COMMENT_REPLY_TAG}
|
|
| 480 |
COMMENT_TAG,
|
| 481 |
COMMENT_REPLY_TAG
|
| 482 |
)
|
| 483 |
-
await octokit.pulls.updateReviewComment({
|
| 484 |
owner: repo.owner,
|
| 485 |
repo: repo.repo,
|
| 486 |
// eslint-disable-next-line camelcase
|
|
@@ -631,7 +631,7 @@ ${chain}
|
|
| 631 |
let page = 1
|
| 632 |
try {
|
| 633 |
for (;;) {
|
| 634 |
-
const {data: comments} = await octokit.pulls.listReviewComments({
|
| 635 |
owner: repo.owner,
|
| 636 |
repo: repo.repo,
|
| 637 |
// eslint-disable-next-line camelcase
|
|
@@ -658,7 +658,7 @@ ${chain}
|
|
| 658 |
async create(body: string, target: number) {
|
| 659 |
try {
|
| 660 |
// get comment ID from the response
|
| 661 |
-
const response = await octokit.issues.createComment({
|
| 662 |
owner: repo.owner,
|
| 663 |
repo: repo.repo,
|
| 664 |
// eslint-disable-next-line camelcase
|
|
@@ -680,7 +680,7 @@ ${chain}
|
|
| 680 |
try {
|
| 681 |
const cmt = await this.findCommentWithTag(tag, target)
|
| 682 |
if (cmt) {
|
| 683 |
-
await octokit.issues.updateComment({
|
| 684 |
owner: repo.owner,
|
| 685 |
repo: repo.repo,
|
| 686 |
// eslint-disable-next-line camelcase
|
|
@@ -722,7 +722,7 @@ ${chain}
|
|
| 722 |
let page = 1
|
| 723 |
try {
|
| 724 |
for (;;) {
|
| 725 |
-
const {data: comments} = await octokit.issues.listComments({
|
| 726 |
owner: repo.owner,
|
| 727 |
repo: repo.repo,
|
| 728 |
// eslint-disable-next-line camelcase
|
|
|
|
| 168 |
// for the tag (marker)
|
| 169 |
try {
|
| 170 |
// get latest description from PR
|
| 171 |
+
const pr = await octokit.rest.pulls.get({
|
| 172 |
owner: repo.owner,
|
| 173 |
repo: repo.repo,
|
| 174 |
// eslint-disable-next-line camelcase
|
|
|
|
| 186 |
DESCRIPTION_END_TAG
|
| 187 |
)
|
| 188 |
const newDescription = `${description}\n${DESCRIPTION_START_TAG}\n${messageClean}\n${DESCRIPTION_END_TAG}`
|
| 189 |
+
await octokit.rest.pulls.update({
|
| 190 |
owner: repo.owner,
|
| 191 |
repo: repo.repo,
|
| 192 |
// eslint-disable-next-line camelcase
|
|
|
|
| 271 |
|
| 272 |
async deletePendingReview(pullNumber: number) {
|
| 273 |
try {
|
| 274 |
+
const reviews = await octokit.rest.pulls.listReviews({
|
| 275 |
owner: repo.owner,
|
| 276 |
repo: repo.repo,
|
| 277 |
// eslint-disable-next-line camelcase
|
|
|
|
| 287 |
`Deleting pending review for PR #${pullNumber} id: ${pendingReview.id}`
|
| 288 |
)
|
| 289 |
try {
|
| 290 |
+
await octokit.rest.pulls.deletePendingReview({
|
| 291 |
owner: repo.owner,
|
| 292 |
repo: repo.repo,
|
| 293 |
// eslint-disable-next-line camelcase
|
|
|
|
| 314 |
// Submit empty review with statusMsg
|
| 315 |
info(`Submitting empty review for PR #${pullNumber}`)
|
| 316 |
try {
|
| 317 |
+
await octokit.rest.pulls.createReview({
|
| 318 |
owner: repo.owner,
|
| 319 |
repo: repo.repo,
|
| 320 |
// eslint-disable-next-line camelcase
|
|
|
|
| 341 |
for (const c of comments) {
|
| 342 |
if (c.body.includes(COMMENT_TAG)) {
|
| 343 |
try {
|
| 344 |
+
await octokit.rest.pulls.deleteReviewComment({
|
| 345 |
owner: repo.owner,
|
| 346 |
repo: repo.repo,
|
| 347 |
// eslint-disable-next-line camelcase
|
|
|
|
| 362 |
)
|
| 363 |
|
| 364 |
try {
|
| 365 |
+
const review = await octokit.rest.pulls.createReview({
|
| 366 |
owner: repo.owner,
|
| 367 |
repo: repo.repo,
|
| 368 |
// eslint-disable-next-line camelcase
|
|
|
|
| 376 |
`Submitting review for PR #${pullNumber}, total comments: ${pushableComments.length}, review id: ${review.data.id}`
|
| 377 |
)
|
| 378 |
|
| 379 |
+
await octokit.rest.pulls.submitReview({
|
| 380 |
owner: repo.owner,
|
| 381 |
repo: repo.repo,
|
| 382 |
// eslint-disable-next-line camelcase
|
|
|
|
| 407 |
}
|
| 408 |
|
| 409 |
try {
|
| 410 |
+
await octokit.rest.pulls.createReviewComment(commentData)
|
| 411 |
} catch (ee) {
|
| 412 |
warning(`Failed to create review comment: ${ee}`)
|
| 413 |
}
|
|
|
|
| 448 |
`
|
| 449 |
try {
|
| 450 |
// Post the reply to the user comment
|
| 451 |
+
await octokit.rest.pulls.createReplyForReviewComment({
|
| 452 |
owner: repo.owner,
|
| 453 |
repo: repo.repo,
|
| 454 |
// eslint-disable-next-line camelcase
|
|
|
|
| 460 |
} catch (error) {
|
| 461 |
warning(`Failed to reply to the top-level comment ${error}`)
|
| 462 |
try {
|
| 463 |
+
await octokit.rest.pulls.createReplyForReviewComment({
|
| 464 |
owner: repo.owner,
|
| 465 |
repo: repo.repo,
|
| 466 |
// eslint-disable-next-line camelcase
|
|
|
|
| 480 |
COMMENT_TAG,
|
| 481 |
COMMENT_REPLY_TAG
|
| 482 |
)
|
| 483 |
+
await octokit.rest.pulls.updateReviewComment({
|
| 484 |
owner: repo.owner,
|
| 485 |
repo: repo.repo,
|
| 486 |
// eslint-disable-next-line camelcase
|
|
|
|
| 631 |
let page = 1
|
| 632 |
try {
|
| 633 |
for (;;) {
|
| 634 |
+
const {data: comments} = await octokit.rest.pulls.listReviewComments({
|
| 635 |
owner: repo.owner,
|
| 636 |
repo: repo.repo,
|
| 637 |
// eslint-disable-next-line camelcase
|
|
|
|
| 658 |
async create(body: string, target: number) {
|
| 659 |
try {
|
| 660 |
// get comment ID from the response
|
| 661 |
+
const response = await octokit.rest.issues.createComment({
|
| 662 |
owner: repo.owner,
|
| 663 |
repo: repo.repo,
|
| 664 |
// eslint-disable-next-line camelcase
|
|
|
|
| 680 |
try {
|
| 681 |
const cmt = await this.findCommentWithTag(tag, target)
|
| 682 |
if (cmt) {
|
| 683 |
+
await octokit.rest.issues.updateComment({
|
| 684 |
owner: repo.owner,
|
| 685 |
repo: repo.repo,
|
| 686 |
// eslint-disable-next-line camelcase
|
|
|
|
| 722 |
let page = 1
|
| 723 |
try {
|
| 724 |
for (;;) {
|
| 725 |
+
const {data: comments} = await octokit.rest.issues.listComments({
|
| 726 |
owner: repo.owner,
|
| 727 |
repo: repo.repo,
|
| 728 |
// eslint-disable-next-line camelcase
|
src/feedback-capture.ts
CHANGED
|
@@ -59,7 +59,7 @@ export class FeedbackCapture {
|
|
| 59 |
if (!metadata || !metadata.commentId) return false
|
| 60 |
|
| 61 |
try {
|
| 62 |
-
const comments = await octokit.pulls.listReviewComments({
|
| 63 |
owner: als.getStore()?.repo.owner || '',
|
| 64 |
repo: als.getStore()?.repo.repo || '',
|
| 65 |
// eslint-disable-next-line camelcase
|
|
@@ -102,7 +102,7 @@ export class FeedbackCapture {
|
|
| 102 |
originalLine: number
|
| 103 |
): Promise<string> {
|
| 104 |
try {
|
| 105 |
-
const diff = await octokit.repos.compareCommits({
|
| 106 |
owner: als.getStore()?.repo.owner || '',
|
| 107 |
repo: als.getStore()?.repo.repo || '',
|
| 108 |
base: `${pullNumber}-base`,
|
|
@@ -173,7 +173,7 @@ export class FeedbackCapture {
|
|
| 173 |
const repoSlug = ctx?.repo?.repo || 'default'
|
| 174 |
|
| 175 |
try {
|
| 176 |
-
const comments = await octokit.pulls.listReviewComments({
|
| 177 |
owner: teamId,
|
| 178 |
repo: repoSlug,
|
| 179 |
// eslint-disable-next-line camelcase
|
|
@@ -183,7 +183,7 @@ export class FeedbackCapture {
|
|
| 183 |
for (const comment of comments.data) {
|
| 184 |
if (!comment.body?.includes(FEEDBACK_TAG)) continue
|
| 185 |
|
| 186 |
-
const reactions = await octokit.reactions.listForIssueComment({
|
| 187 |
owner: teamId,
|
| 188 |
repo: repoSlug,
|
| 189 |
// eslint-disable-next-line camelcase
|
|
@@ -223,7 +223,7 @@ export class FeedbackCapture {
|
|
| 223 |
)
|
| 224 |
|
| 225 |
try {
|
| 226 |
-
const comments = await octokit.pulls.listReviewComments({
|
| 227 |
owner: teamId,
|
| 228 |
repo: repoSlug,
|
| 229 |
// eslint-disable-next-line camelcase
|
|
|
|
| 59 |
if (!metadata || !metadata.commentId) return false
|
| 60 |
|
| 61 |
try {
|
| 62 |
+
const comments = await octokit.rest.pulls.listReviewComments({
|
| 63 |
owner: als.getStore()?.repo.owner || '',
|
| 64 |
repo: als.getStore()?.repo.repo || '',
|
| 65 |
// eslint-disable-next-line camelcase
|
|
|
|
| 102 |
originalLine: number
|
| 103 |
): Promise<string> {
|
| 104 |
try {
|
| 105 |
+
const diff = await octokit.rest.repos.compareCommits({
|
| 106 |
owner: als.getStore()?.repo.owner || '',
|
| 107 |
repo: als.getStore()?.repo.repo || '',
|
| 108 |
base: `${pullNumber}-base`,
|
|
|
|
| 173 |
const repoSlug = ctx?.repo?.repo || 'default'
|
| 174 |
|
| 175 |
try {
|
| 176 |
+
const comments = await octokit.rest.pulls.listReviewComments({
|
| 177 |
owner: teamId,
|
| 178 |
repo: repoSlug,
|
| 179 |
// eslint-disable-next-line camelcase
|
|
|
|
| 183 |
for (const comment of comments.data) {
|
| 184 |
if (!comment.body?.includes(FEEDBACK_TAG)) continue
|
| 185 |
|
| 186 |
+
const reactions = await octokit.rest.reactions.listForIssueComment({
|
| 187 |
owner: teamId,
|
| 188 |
repo: repoSlug,
|
| 189 |
// eslint-disable-next-line camelcase
|
|
|
|
| 223 |
)
|
| 224 |
|
| 225 |
try {
|
| 226 |
+
const comments = await octokit.rest.pulls.listReviewComments({
|
| 227 |
owner: teamId,
|
| 228 |
repo: repoSlug,
|
| 229 |
// eslint-disable-next-line camelcase
|
src/issue-handler.ts
CHANGED
|
@@ -214,7 +214,7 @@ async function fetchDirectoryTree(
|
|
| 214 |
|
| 215 |
try {
|
| 216 |
apiCallCount++
|
| 217 |
-
const response = await octokit.repos.getContent({
|
| 218 |
owner,
|
| 219 |
repo,
|
| 220 |
path,
|
|
@@ -284,7 +284,7 @@ async function postIssueComment(
|
|
| 284 |
body: string
|
| 285 |
): Promise<void> {
|
| 286 |
try {
|
| 287 |
-
await octokit.issues.createComment({
|
| 288 |
owner: repo.owner,
|
| 289 |
repo: repo.repo,
|
| 290 |
issue_number: issueNumber,
|
|
|
|
| 214 |
|
| 215 |
try {
|
| 216 |
apiCallCount++
|
| 217 |
+
const response = await octokit.rest.repos.getContent({
|
| 218 |
owner,
|
| 219 |
repo,
|
| 220 |
path,
|
|
|
|
| 284 |
body: string
|
| 285 |
): Promise<void> {
|
| 286 |
try {
|
| 287 |
+
await octokit.rest.issues.createComment({
|
| 288 |
owner: repo.owner,
|
| 289 |
repo: repo.repo,
|
| 290 |
issue_number: issueNumber,
|
src/review-comment.ts
CHANGED
|
@@ -108,7 +108,7 @@ export const handleReviewComment = async (
|
|
| 108 |
let fileDiff = ''
|
| 109 |
try {
|
| 110 |
// get diff for this file by comparing the base and head commits
|
| 111 |
-
const diffAll = await octokit.repos.compareCommits({
|
| 112 |
owner: repo.owner,
|
| 113 |
repo: repo.repo,
|
| 114 |
base: context.payload.pull_request.base.sha,
|
|
|
|
| 108 |
let fileDiff = ''
|
| 109 |
try {
|
| 110 |
// get diff for this file by comparing the base and head commits
|
| 111 |
+
const diffAll = await octokit.rest.repos.compareCommits({
|
| 112 |
owner: repo.owner,
|
| 113 |
repo: repo.repo,
|
| 114 |
base: context.payload.pull_request.base.sha,
|
src/review.ts
CHANGED
|
@@ -86,7 +86,8 @@ export const codeReview = async (
|
|
| 86 |
|
| 87 |
// Skip audit for PRs opened by bots to prevent recursive loops
|
| 88 |
// Also skip if the branch name indicates it's an AI remedy branch
|
| 89 |
-
const
|
|
|
|
| 90 |
const branchName = context.payload.pull_request.head.ref
|
| 91 |
if (
|
| 92 |
prAuthor === 'Bot' ||
|
|
@@ -157,7 +158,7 @@ export const codeReview = async (
|
|
| 157 |
}
|
| 158 |
|
| 159 |
// Fetch the diff between the highest reviewed commit and the latest commit of the PR branch
|
| 160 |
-
const incrementalDiff = await octokit.repos.compareCommits({
|
| 161 |
owner: repo.owner,
|
| 162 |
repo: repo.repo,
|
| 163 |
base: highestReviewedCommitId,
|
|
@@ -165,7 +166,7 @@ export const codeReview = async (
|
|
| 165 |
})
|
| 166 |
|
| 167 |
// Fetch the diff between the target branch's base commit and the latest commit of the PR branch
|
| 168 |
-
const targetBranchDiff = await octokit.repos.compareCommits({
|
| 169 |
owner: repo.owner,
|
| 170 |
repo: repo.repo,
|
| 171 |
base: context.payload.pull_request.base.sha,
|
|
@@ -236,7 +237,7 @@ export const codeReview = async (
|
|
| 236 |
if (existsSync(localPath)) {
|
| 237 |
fileContent = readFileSync(localPath, 'utf8')
|
| 238 |
} else {
|
| 239 |
-
const contents = await octokit.repos.getContent({
|
| 240 |
owner: repo.owner,
|
| 241 |
repo: repo.repo,
|
| 242 |
path: file.filename,
|
|
|
|
| 86 |
|
| 87 |
// Skip audit for PRs opened by bots to prevent recursive loops
|
| 88 |
// Also skip if the branch name indicates it's an AI remedy branch
|
| 89 |
+
const prUser = context.payload.pull_request.user
|
| 90 |
+
const prAuthor = prUser?.type
|
| 91 |
const branchName = context.payload.pull_request.head.ref
|
| 92 |
if (
|
| 93 |
prAuthor === 'Bot' ||
|
|
|
|
| 158 |
}
|
| 159 |
|
| 160 |
// Fetch the diff between the highest reviewed commit and the latest commit of the PR branch
|
| 161 |
+
const incrementalDiff = await octokit.rest.repos.compareCommits({
|
| 162 |
owner: repo.owner,
|
| 163 |
repo: repo.repo,
|
| 164 |
base: highestReviewedCommitId,
|
|
|
|
| 166 |
})
|
| 167 |
|
| 168 |
// Fetch the diff between the target branch's base commit and the latest commit of the PR branch
|
| 169 |
+
const targetBranchDiff = await octokit.rest.repos.compareCommits({
|
| 170 |
owner: repo.owner,
|
| 171 |
repo: repo.repo,
|
| 172 |
base: context.payload.pull_request.base.sha,
|
|
|
|
| 237 |
if (existsSync(localPath)) {
|
| 238 |
fileContent = readFileSync(localPath, 'utf8')
|
| 239 |
} else {
|
| 240 |
+
const contents = await octokit.rest.repos.getContent({
|
| 241 |
owner: repo.owner,
|
| 242 |
repo: repo.repo,
|
| 243 |
path: file.filename,
|