microsoft / TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
https://www.typescriptlang.org
Apache License 2.0
101.33k stars 12.53k forks source link

[NewErrors] 5.2.0-dev.20230625 vs 5.1.3 #54771

Closed typescript-bot closed 1 year ago

typescript-bot commented 1 year ago

The following errors were reported by 5.2.0-dev.20230625, but not by 5.1.3 Pipeline that generated this bug Logs for the pipeline run File that generated the pipeline

This run considered 200 popular TS repos from GH (after skipping the top 0).

Successfully analyzed 114 of 200 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 14 | | Detected no interesting changes | 100 | | Git clone failed | 2 | | Package install failed | 25 | | Project-graph error in old TS | 5 | | Too many errors in old TS | 49 | | Unknown failure | 5 |

Investigation Status

Repo Errors Outcome
alibaba/ice 2
backstage/backstage 1
cheeriojs/cheerio 2
darkreader/darkreader 2
facebook/docusaurus 2
fingerprintjs/fingerprintjs 1
fullcalendar/fullcalendar 2
lyswhut/lx-music-desktop 5
marmelab/react-admin 1
ReactiveX/rxjs 1
redwoodjs/redwood 1
remotion-dev/remotion 1
reworkd/AgentGPT 1
web3/web3.js 1
typescript-bot commented 1 year ago

alibaba/ice

**44 of 64 projects failed to build with the old tsc and were ignored** ### [packages\/shared\/tsconfig.json](https://github.com/alibaba/ice/blob/170fe47aa75de18a433305485ce1f5dfc7c1d843/packages/shared/tsconfig.json) - `error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.` - [packages\/shared\/tsconfig.json\#L7](https://github.com/alibaba/ice/blob/170fe47aa75de18a433305485ce1f5dfc7c1d843/packages/shared/tsconfig.json#L7) ### [packages\/miniapp-react-dom\/tsconfig.json](https://github.com/alibaba/ice/blob/170fe47aa75de18a433305485ce1f5dfc7c1d843/packages/miniapp-react-dom/tsconfig.json) - `error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.` - [packages\/miniapp-react-dom\/tsconfig.json\#L7](https://github.com/alibaba/ice/blob/170fe47aa75de18a433305485ce1f5dfc7c1d843/packages/miniapp-react-dom/tsconfig.json#L7)
typescript-bot commented 1 year ago

backstage/backstage

**6 of 13 projects failed to build with the old tsc and were ignored** ### [microsite\/tsconfig.json](https://github.com/backstage/backstage/blob/3f304f6211620ed9386d905c53822d46e574a48f/microsite/tsconfig.json) - `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` - Project Scope
typescript-bot commented 1 year ago

cheeriojs/cheerio

**1 of 3 projects failed to build with the old tsc and were ignored** ### [tsconfig.json](https://github.com/cheeriojs/cheerio/blob/8e746645d9a76318fad41fec0465f9512d2c1d12/tsconfig.json) - `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` - [tsconfig.json\#L5](https://github.com/cheeriojs/cheerio/blob/8e746645d9a76318fad41fec0465f9512d2c1d12/tsconfig.json#L5) ### [website\/tsconfig.json](https://github.com/cheeriojs/cheerio/blob/8e746645d9a76318fad41fec0465f9512d2c1d12/website/tsconfig.json) - `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` - Project Scope
typescript-bot commented 1 year ago

darkreader/darkreader

**2 of 6 projects failed to build with the old tsc and were ignored** ### [src\/api\/tsconfig.json](https://github.com/darkreader/darkreader/blob/85f8ced57461244f92bf3d275ee93694e6b93f59/src/api/tsconfig.json) - `error TS2531: Object is possibly 'null'.` - [src\/inject\/dynamic-theme\/css-rules.ts\#L15](https://github.com/darkreader/darkreader/blob/85f8ced57461244f92bf3d275ee93694e6b93f59/src/inject/dynamic-theme/css-rules.ts#L15) ### [src\/tsconfig.json](https://github.com/darkreader/darkreader/blob/85f8ced57461244f92bf3d275ee93694e6b93f59/src/tsconfig.json) - `error TS2531: Object is possibly 'null'.` - [src\/inject\/dynamic-theme\/css-rules.ts\#L15](https://github.com/darkreader/darkreader/blob/85f8ced57461244f92bf3d275ee93694e6b93f59/src/inject/dynamic-theme/css-rules.ts#L15)
typescript-bot commented 1 year ago

facebook/docusaurus

**33 of 35 projects failed to build with the old tsc and were ignored** ### [packages\/create-docusaurus\/templates\/classic-typescript\/tsconfig.json](https://github.com/facebook/docusaurus/blob/ae2a09359a71a99498f8f11fe6c1e423ee1af0ad/packages/create-docusaurus/templates/classic-typescript/tsconfig.json) - `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` - Project Scope ### [examples\/classic-typescript\/tsconfig.json](https://github.com/facebook/docusaurus/blob/ae2a09359a71a99498f8f11fe6c1e423ee1af0ad/examples/classic-typescript/tsconfig.json) - `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` - Project Scope
typescript-bot commented 1 year ago

fingerprintjs/fingerprintjs

**1 of 2 projects failed to build with the old tsc and were ignored** ### [tsconfig.json](https://github.com/fingerprintjs/fingerprintjs/blob/3c449fb1fb33699caefe83d2176cff36ee745543/tsconfig.json) - `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` - [tsconfig.json\#L3](https://github.com/fingerprintjs/fingerprintjs/blob/3c449fb1fb33699caefe83d2176cff36ee745543/tsconfig.json#L3)
typescript-bot commented 1 year ago

fullcalendar/fullcalendar

**1 of 3 projects failed to build with the old tsc and were ignored** ### [scripts\/config\/tsconfig.node.json](https://github.com/fullcalendar/fullcalendar/blob/7481ac9c119948640f3322ad31c9af76bb50d588/scripts/config/tsconfig.node.json) - `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` - [scripts\/config\/tsconfig.node.json\#L4](https://github.com/fullcalendar/fullcalendar/blob/7481ac9c119948640f3322ad31c9af76bb50d588/scripts/config/tsconfig.node.json#L4) in [scripts\/config\/tsconfig.node.json](https://github.com/fullcalendar/fullcalendar/blob/7481ac9c119948640f3322ad31c9af76bb50d588/scripts/config/tsconfig.node.json) ### [scripts\/tsconfig.safe.json](https://github.com/fullcalendar/fullcalendar/blob/7481ac9c119948640f3322ad31c9af76bb50d588/scripts/tsconfig.safe.json) - `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` - Project Scope in [scripts\/tsconfig.safe.json](https://github.com/fullcalendar/fullcalendar/blob/7481ac9c119948640f3322ad31c9af76bb50d588/scripts/tsconfig.safe.json)
typescript-bot commented 1 year ago

lyswhut/lx-music-desktop

**1 of 6 projects failed to build with the old tsc and were ignored** ### [src\/common\/tsconfig.json](https://github.com/lyswhut/lx-music-desktop/blob/ea5e8b56dde4acf25d4a383eeeaa8b6fdae7b4f3/src/common/tsconfig.json) - `error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.` - [src\/common\/tsconfig.json\#L4](https://github.com/lyswhut/lx-music-desktop/blob/ea5e8b56dde4acf25d4a383eeeaa8b6fdae7b4f3/src/common/tsconfig.json#L4) ### [src\/lang\/tsconfig.json](https://github.com/lyswhut/lx-music-desktop/blob/ea5e8b56dde4acf25d4a383eeeaa8b6fdae7b4f3/src/lang/tsconfig.json) - `error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.` - [src\/lang\/tsconfig.json\#L4](https://github.com/lyswhut/lx-music-desktop/blob/ea5e8b56dde4acf25d4a383eeeaa8b6fdae7b4f3/src/lang/tsconfig.json#L4) ### [src\/main\/tsconfig.json](https://github.com/lyswhut/lx-music-desktop/blob/ea5e8b56dde4acf25d4a383eeeaa8b6fdae7b4f3/src/main/tsconfig.json) - `error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.` - [src\/main\/tsconfig.json\#L4](https://github.com/lyswhut/lx-music-desktop/blob/ea5e8b56dde4acf25d4a383eeeaa8b6fdae7b4f3/src/main/tsconfig.json#L4) ### [src\/renderer-lyric\/tsconfig.json](https://github.com/lyswhut/lx-music-desktop/blob/ea5e8b56dde4acf25d4a383eeeaa8b6fdae7b4f3/src/renderer-lyric/tsconfig.json) - `error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.` - [src\/renderer-lyric\/tsconfig.json\#L5](https://github.com/lyswhut/lx-music-desktop/blob/ea5e8b56dde4acf25d4a383eeeaa8b6fdae7b4f3/src/renderer-lyric/tsconfig.json#L5) ### [src\/renderer\/tsconfig.json](https://github.com/lyswhut/lx-music-desktop/blob/ea5e8b56dde4acf25d4a383eeeaa8b6fdae7b4f3/src/renderer/tsconfig.json) - `error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.` - [src\/renderer\/tsconfig.json\#L5](https://github.com/lyswhut/lx-music-desktop/blob/ea5e8b56dde4acf25d4a383eeeaa8b6fdae7b4f3/src/renderer/tsconfig.json#L5)
typescript-bot commented 1 year ago

marmelab/react-admin

**23 of 25 projects failed to build with the old tsc and were ignored** ### [packages\/create-react-admin\/tsconfig.json](https://github.com/marmelab/react-admin/blob/9867069cd7c560beca5524d24f26fd17274d9da0/packages/create-react-admin/tsconfig.json) - `error TS5109: Option 'moduleResolution' must be set to 'Node16' (or left unspecified) when option 'module' is set to 'Node16'.` - [packages\/create-react-admin\/tsconfig.json\#L5](https://github.com/marmelab/react-admin/blob/9867069cd7c560beca5524d24f26fd17274d9da0/packages/create-react-admin/tsconfig.json#L5)
typescript-bot commented 1 year ago

ReactiveX/rxjs

**8 of 13 projects failed to build with the old tsc and were ignored** ### [src\/tsconfig.types.json](https://github.com/ReactiveX/rxjs/blob/2947583bb33e97f3db9e6d9f6cea70c62a173060/src/tsconfig.types.json) - `error TS2428: All declarations of 'WeakMap' must have identical type parameters.` - file:///home/vsts/work/1/s/typescript-5.2.0-dev.20230625/lib/lib.es2015.collection.d.ts#L63 in [src\/tsconfig.types.json](https://github.com/ReactiveX/rxjs/blob/2947583bb33e97f3db9e6d9f6cea70c62a173060/src/tsconfig.types.json) - file:///home/vsts/work/1/s/typescript-5.2.0-dev.20230625/lib/lib.es2015.iterable.d.ts#L162 in [src\/tsconfig.types.json](https://github.com/ReactiveX/rxjs/blob/2947583bb33e97f3db9e6d9f6cea70c62a173060/src/tsconfig.types.json) - file:///home/vsts/work/1/s/typescript-5.2.0-dev.20230625/lib/lib.es2015.symbol.wellknown.d.ts#L140 in [src\/tsconfig.types.json](https://github.com/ReactiveX/rxjs/blob/2947583bb33e97f3db9e6d9f6cea70c62a173060/src/tsconfig.types.json) - file:///mnt/ts_downloads/rxjs/node_modules/@types/lodash/index.d.ts#L372 in [src\/tsconfig.types.json](https://github.com/ReactiveX/rxjs/blob/2947583bb33e97f3db9e6d9f6cea70c62a173060/src/tsconfig.types.json)
typescript-bot commented 1 year ago

redwoodjs/redwood

**35 of 48 projects failed to build with the old tsc and were ignored** ### [docs\/tsconfig.json](https://github.com/redwoodjs/redwood/blob/33dc4417d95fa52729619fe81afc9772c562240c/docs/tsconfig.json) - `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` - Project Scope
typescript-bot commented 1 year ago

remotion-dev/remotion

**13 of 32 projects failed to build with the old tsc and were ignored** ### [packages\/lambda\/tsconfig.json](https://github.com/remotion-dev/remotion/blob/fbb6a3e6cccea496093d721c36c92e094366f614/packages/lambda/tsconfig.json) - `error TS2345: Argument of type 'import("url").URL' is not assignable to parameter of type 'URL'.` - [packages\/renderer\/src\/browser\/NodeWebSocketTransport.ts\#L44](https://github.com/remotion-dev/remotion/blob/fbb6a3e6cccea496093d721c36c92e094366f614/packages/renderer/src/browser/NodeWebSocketTransport.ts#L44) in [packages\/renderer\/tsconfig.json](https://github.com/remotion-dev/remotion/blob/fbb6a3e6cccea496093d721c36c92e094366f614/packages/renderer/tsconfig.json)
typescript-bot commented 1 year ago

reworkd/AgentGPT

**1 of 2 projects failed to build with the old tsc and were ignored** ### [docs\/tsconfig.json](https://github.com/reworkd/AgentGPT/blob/86f7fadeb7dbc564c78ced4c552e34d07574bbbb/docs/tsconfig.json) - `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` - Project Scope
typescript-bot commented 1 year ago

web3/web3.js

**55 of 62 projects failed to build with the old tsc and were ignored** ### [docs\/tsconfig.json](https://github.com/web3/web3.js/blob/3f49e18d24af3dffe2ed47bf65dcf97c0204fc87/docs/tsconfig.json) - `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` - Project Scope