Spaces:
Paused
Paused
chore: add NPM overrides to fix deprecated transitive dependencies and finalize Octokit v21 migration
Browse filesFiles changed (7)
- package-lock.json+323-77
- package.json+6
- 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
870 unmodified lines871872873874875876976 unmodified lines1853185418551856185718581760 unmodified lines3619362036213622362336241098 unmodified lines47234724472547264727472885 unmodified lines4814481548164817481848196 unmodified lines4826482748284829483048314832483348344835483648374838159 unmodified lines499849995000500150025003500450055006500750085009501050115012501350145015501650175018501913 unmodified lines503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059281 unmodified lines5341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365533 unmodified lines5899590059015902590359041062 unmodified lines69676968696969706971697215 unmodified lines69886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013380 unmodified lines73947395739673977398739941 unmodified lines744174427443744474457446744774487449745074517452745374547455745611 unmodified lines7468746974707471747274731128 unmodified lines86028603860486058606860788 unmodified lines869686978698869987008701191 unmodified lines889388948895889688978898497 unmodified lines939693979398939994009401140 unmodified lines954295439544954595469547870 unmodified lines"url": "https://github.com/sponsors/nzakas"}},"node_modules/@istanbuljs/load-nyc-config": {"version": "1.1.0","resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz",976 unmodified lines"integrity": "sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==","license": "MIT"},"node_modules/@pkgr/core": {"version": "0.2.9","resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.2.9.tgz",1760 unmodified lines"node": ">= 0.4"}},"node_modules/electron-to-chromium": {"version": "1.5.325","resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.325.tgz",1098 unmodified lines"node": "^12.20 || >= 14.13"}},"node_modules/file-entry-cache": {"version": "8.0.0","resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",85 unmodified lines"url": "https://github.com/sponsors/ljharb"}},"node_modules/formdata-polyfill": {"version": "4.0.10","resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz",6 unmodified lines"node": ">=12.20.0"}},"node_modules/fs.realpath": {"version": "1.0.0","resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz","integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==","dev": true,"license": "ISC"},"node_modules/fsevents": {"version": "2.3.3","resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",159 unmodified lines}},"node_modules/glob": {"version": "7.2.3","resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz","integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==","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","dev": true,"license": "ISC","dependencies": {"fs.realpath": "^1.0.0","inflight": "^1.0.4","inherits": "2","minimatch": "^3.1.1","once": "^1.3.0","path-is-absolute": "^1.0.0"},"engines": {"node": "*"},"funding": {"url": "https://github.com/sponsors/isaacs"13 unmodified lines}},"node_modules/glob/node_modules/brace-expansion": {"version": "1.1.12","resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz","integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==","dev": true,"license": "MIT","dependencies": {"balanced-match": "^1.0.0","concat-map": "0.0.1"}},"node_modules/glob/node_modules/minimatch": {"version": "3.1.5","resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz","integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==","dev": true,"license": "ISC","dependencies": {"brace-expansion": "^1.1.7"},"engines": {"node": "*"}},"node_modules/globals": {281 unmodified lines"node": ">=0.8.19"}},"node_modules/inflight": {"version": "1.0.6","resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz","integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==","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.","dev": true,"license": "ISC","dependencies": {"once": "^1.3.0","wrappy": "1"}},"node_modules/inherits": {"version": "2.0.4","resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz","integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==","dev": true,"license": "ISC"},"node_modules/internal-slot": {"version": "1.1.0","resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz",533 unmodified lines"node": ">=8"}},"node_modules/jest": {"version": "29.7.0","resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz",1062 unmodified lines"url": "https://github.com/sponsors/ljharb"}},"node_modules/ms": {"version": "2.1.3","resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",15 unmodified lines"dev": true,"license": "MIT"},"node_modules/node-domexception": {"version": "1.0.0","resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz","integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==","deprecated": "Use your platform's native DOMException instead","funding": [{"type": "github","url": "https://github.com/sponsors/jimmywarting"},{"type": "github","url": "https://paypal.me/jimmywarting"}],"license": "MIT","engines": {"node": ">=10.5.0"}},"node_modules/node-fetch": {"version": "3.3.2","resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz",380 unmodified lines"url": "https://github.com/sponsors/sindresorhus"}},"node_modules/parent-module": {"version": "1.0.1","resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",41 unmodified lines"node": ">=8"}},"node_modules/path-is-absolute": {"version": "1.0.1","resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz","integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==","dev": true,"license": "MIT","engines": {"node": ">=0.10.0"}},"node_modules/path-key": {"version": "3.1.1","resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",11 unmodified lines"dev": true,"license": "MIT"},"node_modules/picocolors": {"version": "1.1.1","resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",1128 unmodified lines"node": ">=8"}},"node_modules/string-width/node_modules/emoji-regex": {"version": "8.0.0","resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",88 unmodified lines"node": ">=8"}},"node_modules/strip-bom": {"version": "4.0.0","resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz",191 unmodified lines"node": ">=12"}},"node_modules/ts-api-utils": {"version": "2.5.0","resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz",497 unmodified lines"integrity": "sha512-CdC/TqVFbXqR+C51v38hv6wOPatKEUGxa39scAeFSm98wIhZxAYonhRQPSMmfZ2w7JDI0zQDdzdmgtNk06/krQ==","license": "MIT"},"node_modules/when-exit": {"version": "2.1.5","resolved": "https://registry.npmjs.org/when-exit/-/when-exit-2.1.5.tgz",140 unmodified lines"url": "https://github.com/chalk/wrap-ansi?sponsor=1"}},"node_modules/wrappy": {"version": "1.0.2","resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",870 unmodified lines871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972976 unmodified lines194919501951195219531954195519561957195819591960196119621963196419651760 unmodified lines37263727372837293730373137323733373437353736373737381098 unmodified lines48374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486385 unmodified lines4949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349846 unmodified lines499149924993499449954996159 unmodified lines515651575158515951605161516251635164516551665167516851695170517151725173517451755176517713 unmodified lines51915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219281 unmodified lines550155025503550455055506533 unmodified lines60406041604260436044604560466047604860496050605160526053605460556056605760586059606060611062 unmodified lines712471257126712771287129713071317132713371347135713671377138713915 unmodified lines715571567157715871597160380 unmodified lines754175427543754475457546754775487549755075517552755341 unmodified lines75957596759775987599760011 unmodified lines7612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076411128 unmodified lines8770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879888 unmodified lines88878888888988908891889288938894889588968897889888998900890189028903890489058906191 unmodified lines909890999100910191029103910491059106910791089109497 unmodified lines9607960896099610961196129613961496159616961796189619962096219622962396249625962696279628140 unmodified lines9769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793870 unmodified lines"url": "https://github.com/sponsors/nzakas"}},"node_modules/@isaacs/cliui": {"version": "8.0.2","resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz","integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==","dev": true,"license": "ISC","dependencies": {"string-width": "^5.1.2","string-width-cjs": "npm:string-width@^4.2.0","strip-ansi": "^7.0.1","strip-ansi-cjs": "npm:strip-ansi@^6.0.1","wrap-ansi": "^8.1.0","wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"},"engines": {"node": ">=12"}},"node_modules/@isaacs/cliui/node_modules/ansi-regex": {"version": "6.2.2","resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz","integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==","dev": true,"license": "MIT","engines": {"node": ">=12"},"funding": {"url": "https://github.com/chalk/ansi-regex?sponsor=1"}},"node_modules/@isaacs/cliui/node_modules/ansi-styles": {"version": "6.2.3","resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz","integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==","dev": true,"license": "MIT","engines": {"node": ">=12"},"funding": {"url": "https://github.com/chalk/ansi-styles?sponsor=1"}},"node_modules/@isaacs/cliui/node_modules/string-width": {"version": "5.1.2","resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz","integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==","dev": true,"license": "MIT","dependencies": {"eastasianwidth": "^0.2.0","emoji-regex": "^9.2.2","strip-ansi": "^7.0.1"},"engines": {"node": ">=12"},"funding": {"url": "https://github.com/sponsors/sindresorhus"}},"node_modules/@isaacs/cliui/node_modules/strip-ansi": {"version": "7.2.0","resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz","integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==","dev": true,"license": "MIT","dependencies": {"ansi-regex": "^6.2.2"},"engines": {"node": ">=12"},"funding": {"url": "https://github.com/chalk/strip-ansi?sponsor=1"}},"node_modules/@isaacs/cliui/node_modules/wrap-ansi": {"version": "8.1.0","resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz","integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==","dev": true,"license": "MIT","dependencies": {"ansi-styles": "^6.1.0","string-width": "^5.0.1","strip-ansi": "^7.0.1"},"engines": {"node": ">=12"},"funding": {"url": "https://github.com/chalk/wrap-ansi?sponsor=1"}},"node_modules/@istanbuljs/load-nyc-config": {"version": "1.1.0","resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz",976 unmodified lines"integrity": "sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==","license": "MIT"},"node_modules/@pkgjs/parseargs": {"version": "0.11.0","resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz","integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==","dev": true,"license": "MIT","optional": true,"engines": {"node": ">=14"}},"node_modules/@pkgr/core": {"version": "0.2.9","resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.2.9.tgz",1760 unmodified lines"node": ">= 0.4"}},"node_modules/eastasianwidth": {"version": "0.2.0","resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz","integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==","dev": true,"license": "MIT"},"node_modules/electron-to-chromium": {"version": "1.5.325","resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.325.tgz",1098 unmodified lines"node": "^12.20 || >= 14.13"}},"node_modules/fetch-blob/node_modules/node-domexception": {"name": "node-fetch","version": "2.7.0","resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz","integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==","license": "MIT","dependencies": {"whatwg-url": "^5.0.0"},"engines": {"node": "4.x || >=6.0.0"},"peerDependencies": {"encoding": "^0.1.0"},"peerDependenciesMeta": {"encoding": {"optional": true}}},"node_modules/file-entry-cache": {"version": "8.0.0","resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",85 unmodified lines"url": "https://github.com/sponsors/ljharb"}},"node_modules/foreground-child": {"version": "3.3.1","resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz","integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==","dev": true,"license": "ISC","dependencies": {"cross-spawn": "^7.0.6","signal-exit": "^4.0.1"},"engines": {"node": ">=14"},"funding": {"url": "https://github.com/sponsors/isaacs"}},"node_modules/foreground-child/node_modules/signal-exit": {"version": "4.1.0","resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz","integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==","dev": true,"license": "ISC","engines": {"node": ">=14"},"funding": {"url": "https://github.com/sponsors/isaacs"}},"node_modules/formdata-polyfill": {"version": "4.0.10","resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz",6 unmodified lines"node": ">=12.20.0"}},"node_modules/fsevents": {"version": "2.3.3","resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",159 unmodified lines}},"node_modules/glob": {"version": "10.5.0","resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz","integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==","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","dev": true,"license": "ISC","dependencies": {"foreground-child": "^3.1.0","jackspeak": "^3.1.2","minimatch": "^9.0.4","minipass": "^7.1.2","package-json-from-dist": "^1.0.0","path-scurry": "^1.11.1"},"bin": {"glob": "dist/esm/bin.mjs"},"funding": {"url": "https://github.com/sponsors/isaacs"13 unmodified lines}},"node_modules/glob/node_modules/brace-expansion": {"version": "2.0.3","resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.3.tgz","integrity": "sha512-MCV/fYJEbqx68aE58kv2cA/kiky1G8vux3OR6/jbS+jIMe/6fJWa0DTzJU7dqijOWYwHi1t29FlfYI9uytqlpA==","dev": true,"license": "MIT","dependencies": {"balanced-match": "^1.0.0"}},"node_modules/glob/node_modules/minimatch": {"version": "9.0.9","resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz","integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==","dev": true,"license": "ISC","dependencies": {"brace-expansion": "^2.0.2"},"engines": {"node": ">=16 || 14 >=14.17"},"funding": {"url": "https://github.com/sponsors/isaacs"}},"node_modules/globals": {281 unmodified lines"node": ">=0.8.19"}},"node_modules/internal-slot": {"version": "1.1.0","resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz",533 unmodified lines"node": ">=8"}},"node_modules/jackspeak": {"version": "3.4.3","resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz","integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==","dev": true,"license": "BlueOak-1.0.0","dependencies": {"@isaacs/cliui": "^8.0.2"},"funding": {"url": "https://github.com/sponsors/isaacs"},"optionalDependencies": {"@pkgjs/parseargs": "^0.11.0"}},"node_modules/jest": {"version": "29.7.0","resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz",1062 unmodified lines"url": "https://github.com/sponsors/ljharb"}},"node_modules/minipass": {"version": "7.1.3","resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz","integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==","dev": true,"license": "BlueOak-1.0.0","engines": {"node": ">=16 || 14 >=14.17"}},"node_modules/ms": {"version": "2.1.3","resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",15 unmodified lines"dev": true,"license": "MIT"},"node_modules/node-fetch": {"version": "3.3.2","resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz",380 unmodified lines"url": "https://github.com/sponsors/sindresorhus"}},"node_modules/package-json-from-dist": {"version": "1.0.1","resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz","integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==","dev": true,"license": "BlueOak-1.0.0"},"node_modules/parent-module": {"version": "1.0.1","resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",41 unmodified lines"node": ">=8"}},"node_modules/path-key": {"version": "3.1.1","resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",11 unmodified lines"dev": true,"license": "MIT"},"node_modules/path-scurry": {"version": "1.11.1","resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz","integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==","dev": true,"license": "BlueOak-1.0.0","dependencies": {"lru-cache": "^10.2.0","minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"},"engines": {"node": ">=16 || 14 >=14.18"},"funding": {"url": "https://github.com/sponsors/isaacs"}},"node_modules/path-scurry/node_modules/lru-cache": {"version": "10.4.3","resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz","integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==","dev": true,"license": "ISC"},"node_modules/picocolors": {"version": "1.1.1","resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",1128 unmodified lines"node": ">=8"}},"node_modules/string-width-cjs": {"name": "string-width","version": "4.2.3","resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz","integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==","dev": true,"license": "MIT","dependencies": {"emoji-regex": "^8.0.0","is-fullwidth-code-point": "^3.0.0","strip-ansi": "^6.0.1"},"engines": {"node": ">=8"}},"node_modules/string-width-cjs/node_modules/emoji-regex": {"version": "8.0.0","resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz","integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==","dev": true,"license": "MIT"},"node_modules/string-width/node_modules/emoji-regex": {"version": "8.0.0","resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",88 unmodified lines"node": ">=8"}},"node_modules/strip-ansi-cjs": {"name": "strip-ansi","version": "6.0.1","resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz","integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==","dev": true,"license": "MIT","dependencies": {"ansi-regex": "^5.0.1"},"engines": {"node": ">=8"}},"node_modules/strip-bom": {"version": "4.0.0","resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz",191 unmodified lines"node": ">=12"}},"node_modules/tr46": {"version": "0.0.3","resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz","integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==","license": "MIT"},"node_modules/ts-api-utils": {"version": "2.5.0","resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz",497 unmodified lines"integrity": "sha512-CdC/TqVFbXqR+C51v38hv6wOPatKEUGxa39scAeFSm98wIhZxAYonhRQPSMmfZ2w7JDI0zQDdzdmgtNk06/krQ==","license": "MIT"},"node_modules/webidl-conversions": {"version": "3.0.1","resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz","integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==","license": "BSD-2-Clause"},"node_modules/whatwg-url": {"version": "5.0.0","resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz","integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==","license": "MIT","dependencies": {"tr46": "~0.0.3","webidl-conversions": "^3.0.0"}},"node_modules/when-exit": {"version": "2.1.5","resolved": "https://registry.npmjs.org/when-exit/-/when-exit-2.1.5.tgz",140 unmodified lines"url": "https://github.com/chalk/wrap-ansi?sponsor=1"}},"node_modules/wrap-ansi-cjs": {"name": "wrap-ansi","version": "7.0.0","resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz","integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==","dev": true,"license": "MIT","dependencies": {"ansi-styles": "^4.0.0","string-width": "^4.1.0","strip-ansi": "^6.0.0"},"engines": {"node": ">=10"},"funding": {"url": "https://github.com/chalk/wrap-ansi?sponsor=1"}},"node_modules/wrappy": {"version": "1.0.2","resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
49 unmodified lines505152535449 unmodified lines},"engines": {"node": ">=18.0.0"}}49 unmodified lines505152535455565758596049 unmodified lines},"engines": {"node": ">=18.0.0"},"overrides": {"glob": "^10.0.0","inflight": "npm:lru-cache@^10.0.0","rimraf": "^5.0.0","node-domexception": "npm:node-fetch@^2.6.7"}}
167 unmodified lines16816917017117217317411 unmodified lines18618718818919019119278 unmodified lines2712722732742752762779 unmodified lines28728828929029129229320 unmodified lines31431531631731831932020 unmodified lines34134234334434534634714 unmodified lines3623633643653663673687 unmodified lines37637737837938038138224 unmodified lines40740840941041141241334 unmodified lines4484494504514524534545 unmodified lines46046146246346446546613 unmodified lines480481482483484485486144 unmodified lines63163263363463563663720 unmodified lines65865966066166266366415 unmodified lines68068168268368468568635 unmodified lines722723724725726727728167 unmodified lines// for the tag (marker)try {// get latest description from PRconst pr = await octokit.pulls.get({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase11 unmodified linesDESCRIPTION_END_TAG)const newDescription = `${description}\n${DESCRIPTION_START_TAG}\n${messageClean}\n${DESCRIPTION_END_TAG}`await octokit.pulls.update({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase78 unmodified linesasync deletePendingReview(pullNumber: number) {try {const reviews = await octokit.pulls.listReviews({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase9 unmodified lines`Deleting pending review for PR #${pullNumber} id: ${pendingReview.id}`)try {await octokit.pulls.deletePendingReview({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase20 unmodified lines// Submit empty review with statusMsginfo(`Submitting empty review for PR #${pullNumber}`)try {await octokit.pulls.createReview({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase20 unmodified linesfor (const c of comments) {if (c.body.includes(COMMENT_TAG)) {try {await octokit.pulls.deleteReviewComment({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase14 unmodified lines)try {const review = await octokit.pulls.createReview({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase7 unmodified lines`Submitting review for PR #${pullNumber}, total comments: ${pushableComments.length}, review id: ${review.data.id}`)await octokit.pulls.submitReview({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase24 unmodified lines}try {await octokit.pulls.createReviewComment(commentData)} catch (ee) {warning(`Failed to create review comment: ${ee}`)}34 unmodified lines`try {// Post the reply to the user commentawait octokit.pulls.createReplyForReviewComment({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase5 unmodified lines} catch (error) {warning(`Failed to reply to the top-level comment ${error}`)try {await octokit.pulls.createReplyForReviewComment({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase13 unmodified linesCOMMENT_TAG,COMMENT_REPLY_TAG)await octokit.pulls.updateReviewComment({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase144 unmodified lineslet page = 1try {for (;;) {const {data: comments} = await octokit.pulls.listReviewComments({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase20 unmodified linesasync create(body: string, target: number) {try {// get comment ID from the responseconst response = await octokit.issues.createComment({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase15 unmodified linestry {const cmt = await this.findCommentWithTag(tag, target)if (cmt) {await octokit.issues.updateComment({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase35 unmodified lineslet page = 1try {for (;;) {const {data: comments} = await octokit.issues.listComments({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase167 unmodified lines16816917017117217317411 unmodified lines18618718818919019119278 unmodified lines2712722732742752762779 unmodified lines28728828929029129229320 unmodified lines31431531631731831932020 unmodified lines34134234334434534634714 unmodified lines3623633643653663673687 unmodified lines37637737837938038138224 unmodified lines40740840941041141241334 unmodified lines4484494504514524534545 unmodified lines46046146246346446546613 unmodified lines480481482483484485486144 unmodified lines63163263363463563663720 unmodified lines65865966066166266366415 unmodified lines68068168268368468568635 unmodified lines722723724725726727728167 unmodified lines// for the tag (marker)try {// get latest description from PRconst pr = await octokit.rest.pulls.get({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase11 unmodified linesDESCRIPTION_END_TAG)const newDescription = `${description}\n${DESCRIPTION_START_TAG}\n${messageClean}\n${DESCRIPTION_END_TAG}`await octokit.rest.pulls.update({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase78 unmodified linesasync deletePendingReview(pullNumber: number) {try {const reviews = await octokit.rest.pulls.listReviews({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase9 unmodified lines`Deleting pending review for PR #${pullNumber} id: ${pendingReview.id}`)try {await octokit.rest.pulls.deletePendingReview({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase20 unmodified lines// Submit empty review with statusMsginfo(`Submitting empty review for PR #${pullNumber}`)try {await octokit.rest.pulls.createReview({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase20 unmodified linesfor (const c of comments) {if (c.body.includes(COMMENT_TAG)) {try {await octokit.rest.pulls.deleteReviewComment({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase14 unmodified lines)try {const review = await octokit.rest.pulls.createReview({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase7 unmodified lines`Submitting review for PR #${pullNumber}, total comments: ${pushableComments.length}, review id: ${review.data.id}`)await octokit.rest.pulls.submitReview({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase24 unmodified lines}try {await octokit.rest.pulls.createReviewComment(commentData)} catch (ee) {warning(`Failed to create review comment: ${ee}`)}34 unmodified lines`try {// Post the reply to the user commentawait octokit.rest.pulls.createReplyForReviewComment({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase5 unmodified lines} catch (error) {warning(`Failed to reply to the top-level comment ${error}`)try {await octokit.rest.pulls.createReplyForReviewComment({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase13 unmodified linesCOMMENT_TAG,COMMENT_REPLY_TAG)await octokit.rest.pulls.updateReviewComment({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase144 unmodified lineslet page = 1try {for (;;) {const {data: comments} = await octokit.rest.pulls.listReviewComments({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase20 unmodified linesasync create(body: string, target: number) {try {// get comment ID from the responseconst response = await octokit.rest.issues.createComment({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase15 unmodified linestry {const cmt = await this.findCommentWithTag(tag, target)if (cmt) {await octokit.rest.issues.updateComment({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase35 unmodified lineslet page = 1try {for (;;) {const {data: comments} = await octokit.rest.issues.listComments({owner: repo.owner,repo: repo.repo,// eslint-disable-next-line camelcase
58 unmodified lines5960616263646536 unmodified lines10210310410510610710864 unmodified lines1731741751761771781793 unmodified lines18318418518618718818933 unmodified lines22322422522622722822958 unmodified linesif (!metadata || !metadata.commentId) return falsetry {const comments = await octokit.pulls.listReviewComments({owner: als.getStore()?.repo.owner || '',repo: als.getStore()?.repo.repo || '',// eslint-disable-next-line camelcase36 unmodified linesoriginalLine: number): Promise<string> {try {const diff = await octokit.repos.compareCommits({owner: als.getStore()?.repo.owner || '',repo: als.getStore()?.repo.repo || '',base: `${pullNumber}-base`,64 unmodified linesconst repoSlug = ctx?.repo?.repo || 'default'try {const comments = await octokit.pulls.listReviewComments({owner: teamId,repo: repoSlug,// eslint-disable-next-line camelcase3 unmodified linesfor (const comment of comments.data) {if (!comment.body?.includes(FEEDBACK_TAG)) continueconst reactions = await octokit.reactions.listForIssueComment({owner: teamId,repo: repoSlug,// eslint-disable-next-line camelcase33 unmodified lines)try {const comments = await octokit.pulls.listReviewComments({owner: teamId,repo: repoSlug,// eslint-disable-next-line camelcase58 unmodified lines5960616263646536 unmodified lines10210310410510610710864 unmodified lines1731741751761771781793 unmodified lines18318418518618718818933 unmodified lines22322422522622722822958 unmodified linesif (!metadata || !metadata.commentId) return falsetry {const comments = await octokit.rest.pulls.listReviewComments({owner: als.getStore()?.repo.owner || '',repo: als.getStore()?.repo.repo || '',// eslint-disable-next-line camelcase36 unmodified linesoriginalLine: number): Promise<string> {try {const diff = await octokit.rest.repos.compareCommits({owner: als.getStore()?.repo.owner || '',repo: als.getStore()?.repo.repo || '',base: `${pullNumber}-base`,64 unmodified linesconst repoSlug = ctx?.repo?.repo || 'default'try {const comments = await octokit.rest.pulls.listReviewComments({owner: teamId,repo: repoSlug,// eslint-disable-next-line camelcase3 unmodified linesfor (const comment of comments.data) {if (!comment.body?.includes(FEEDBACK_TAG)) continueconst reactions = await octokit.rest.reactions.listForIssueComment({owner: teamId,repo: repoSlug,// eslint-disable-next-line camelcase33 unmodified lines)try {const comments = await octokit.rest.pulls.listReviewComments({owner: teamId,repo: repoSlug,// eslint-disable-next-line camelcase
213 unmodified lines21421521621721821922063 unmodified lines284285286287288289290213 unmodified linestry {apiCallCount++const response = await octokit.repos.getContent({owner,repo,path,63 unmodified linesbody: string): Promise<void> {try {await octokit.issues.createComment({owner: repo.owner,repo: repo.repo,issue_number: issueNumber,213 unmodified lines21421521621721821922063 unmodified lines284285286287288289290213 unmodified linestry {apiCallCount++const response = await octokit.rest.repos.getContent({owner,repo,path,63 unmodified linesbody: string): Promise<void> {try {await octokit.rest.issues.createComment({owner: repo.owner,repo: repo.repo,issue_number: issueNumber,
107 unmodified lines108109110111112113114107 unmodified lineslet fileDiff = ''try {// get diff for this file by comparing the base and head commitsconst diffAll = await octokit.repos.compareCommits({owner: repo.owner,repo: repo.repo,base: context.payload.pull_request.base.sha,107 unmodified lines108109110111112113114107 unmodified lineslet fileDiff = ''try {// get diff for this file by comparing the base and head commitsconst diffAll = await octokit.rest.repos.compareCommits({owner: repo.owner,repo: repo.repo,base: context.payload.pull_request.base.sha,
85 unmodified lines8687888990919264 unmodified lines1571581591601611621631 unmodified line16516616716816917017164 unmodified lines23623723823924024124285 unmodified lines// Skip audit for PRs opened by bots to prevent recursive loops// Also skip if the branch name indicates it's an AI remedy branchconst prAuthor = context.payload.pull_request.user.typeconst branchName = context.payload.pull_request.head.refif (prAuthor === 'Bot' ||64 unmodified lines}// Fetch the diff between the highest reviewed commit and the latest commit of the PR branchconst incrementalDiff = await octokit.repos.compareCommits({owner: repo.owner,repo: repo.repo,base: highestReviewedCommitId,1 unmodified line})// Fetch the diff between the target branch's base commit and the latest commit of the PR branchconst targetBranchDiff = await octokit.repos.compareCommits({owner: repo.owner,repo: repo.repo,base: context.payload.pull_request.base.sha,64 unmodified linesif (existsSync(localPath)) {fileContent = readFileSync(localPath, 'utf8')} else {const contents = await octokit.repos.getContent({owner: repo.owner,repo: repo.repo,path: file.filename,85 unmodified lines868788899091929364 unmodified lines1581591601611621631641 unmodified line16616716816917017117264 unmodified lines23723823924024124224385 unmodified lines// Skip audit for PRs opened by bots to prevent recursive loops// Also skip if the branch name indicates it's an AI remedy branchconst prUser = context.payload.pull_request.userconst prAuthor = prUser?.typeconst branchName = context.payload.pull_request.head.refif (prAuthor === 'Bot' ||64 unmodified lines}// Fetch the diff between the highest reviewed commit and the latest commit of the PR branchconst incrementalDiff = await octokit.rest.repos.compareCommits({owner: repo.owner,repo: repo.repo,base: highestReviewedCommitId,1 unmodified line})// Fetch the diff between the target branch's base commit and the latest commit of the PR branchconst targetBranchDiff = await octokit.rest.repos.compareCommits({owner: repo.owner,repo: repo.repo,base: context.payload.pull_request.base.sha,64 unmodified linesif (existsSync(localPath)) {fileContent = readFileSync(localPath, 'utf8')} else {const contents = await octokit.rest.repos.getContent({owner: repo.owner,repo: repo.repo,path: file.filename,
package-lock.json+323-77
package.json+6
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