microsoft / TypeScript

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

[NewErrors] 5.2.0-dev.20230723 vs 5.1.6 #55120

Closed typescript-bot closed 1 year ago

typescript-bot commented 1 year ago

The following errors were reported by 5.2.0-dev.20230723, but not by 5.1.6 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 119 of 200 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 14 | | Detected no interesting changes | 105 | | Git clone failed | 2 | | Package install failed | 24 | | Project-graph error in old TS | 5 | | Too many errors in old TS | 46 | | Unknown failure | 4 |

Investigation Status

Repo Errors Outcome
alibaba/ice 2
backstage/backstage 1
darkreader/darkreader 2
facebook/docusaurus 2
fingerprintjs/fingerprintjs 2
fullcalendar/fullcalendar 2
immich-app/immich 5
lyswhut/lx-music-desktop 5
marmelab/react-admin 1
microsoft/playwright 1
ReactiveX/rxjs 1
redwoodjs/redwood 1
refined-github/refined-github 1
web3/web3.js 1
typescript-bot commented 1 year ago

alibaba/ice

**45 of 67 projects failed to build with the old tsc and were ignored** ### [packages\/shared\/tsconfig.json](https://github.com/alibaba/ice/blob/19bdfb12415b38dd8edcafa6f70eb66c453c0a58/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/19bdfb12415b38dd8edcafa6f70eb66c453c0a58/packages/shared/tsconfig.json#L7) ### [packages\/miniapp-react-dom\/tsconfig.json](https://github.com/alibaba/ice/blob/19bdfb12415b38dd8edcafa6f70eb66c453c0a58/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/19bdfb12415b38dd8edcafa6f70eb66c453c0a58/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/406a4992db71eebc0369a890131eba58b58e1942/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

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/c57206af241510b3948ba0330c96598abd7dd259/src/api/tsconfig.json) - `error TS2531: Object is possibly 'null'.` - [src\/inject\/dynamic-theme\/css-rules.ts\#L15](https://github.com/darkreader/darkreader/blob/c57206af241510b3948ba0330c96598abd7dd259/src/inject/dynamic-theme/css-rules.ts#L15) ### [src\/tsconfig.json](https://github.com/darkreader/darkreader/blob/c57206af241510b3948ba0330c96598abd7dd259/src/tsconfig.json) - `error TS2531: Object is possibly 'null'.` - [src\/inject\/dynamic-theme\/css-rules.ts\#L15](https://github.com/darkreader/darkreader/blob/c57206af241510b3948ba0330c96598abd7dd259/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/09ea3bcfab029daebd75b057221e5339da28f00b/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/09ea3bcfab029daebd75b057221e5339da28f00b/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

### [tsconfig.json](https://github.com/fingerprintjs/fingerprintjs/blob/0e8bd84ab07ebf3f7d6e53436cac2120dea9b9b9/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/0e8bd84ab07ebf3f7d6e53436cac2120dea9b9b9/tsconfig.json#L3) ### [tsconfig.rollupConfig.json](https://github.com/fingerprintjs/fingerprintjs/blob/0e8bd84ab07ebf3f7d6e53436cac2120dea9b9b9/tsconfig.rollupConfig.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

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

immich-app/immich

**1 of 6 projects failed to build with the old tsc and were ignored** ### [cli\/tsconfig.build.json](https://github.com/immich-app/immich/blob/4977926c881300b16881d49cfe1b8f610e6d9e71/cli/tsconfig.build.json) - `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` - Project Scope ### [cli\/tsconfig.json](https://github.com/immich-app/immich/blob/4977926c881300b16881d49cfe1b8f610e6d9e71/cli/tsconfig.json) - `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` - [cli\/tsconfig.json\#L3](https://github.com/immich-app/immich/blob/4977926c881300b16881d49cfe1b8f610e6d9e71/cli/tsconfig.json#L3) ### [docs\/tsconfig.json](https://github.com/immich-app/immich/blob/4977926c881300b16881d49cfe1b8f610e6d9e71/docs/tsconfig.json) - `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` - Project Scope ### [server\/tsconfig.build.json](https://github.com/immich-app/immich/blob/4977926c881300b16881d49cfe1b8f610e6d9e71/server/tsconfig.build.json) - `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` - Project Scope ### [server\/tsconfig.json](https://github.com/immich-app/immich/blob/4977926c881300b16881d49cfe1b8f610e6d9e71/server/tsconfig.json) - `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` - [server\/tsconfig.json\#L3](https://github.com/immich-app/immich/blob/4977926c881300b16881d49cfe1b8f610e6d9e71/server/tsconfig.json#L3)
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/c24d1d1e413b181593a690ee452eb5f476a5b5d6/src/common/tsconfig.json) - `error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.` - Project Scope ### [src\/lang\/tsconfig.json](https://github.com/lyswhut/lx-music-desktop/blob/c24d1d1e413b181593a690ee452eb5f476a5b5d6/src/lang/tsconfig.json) - `error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.` - Project Scope ### [src\/main\/tsconfig.json](https://github.com/lyswhut/lx-music-desktop/blob/c24d1d1e413b181593a690ee452eb5f476a5b5d6/src/main/tsconfig.json) - `error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.` - Project Scope ### [src\/renderer-lyric\/tsconfig.json](https://github.com/lyswhut/lx-music-desktop/blob/c24d1d1e413b181593a690ee452eb5f476a5b5d6/src/renderer-lyric/tsconfig.json) - `error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.` - Project Scope ### [src\/renderer\/tsconfig.json](https://github.com/lyswhut/lx-music-desktop/blob/c24d1d1e413b181593a690ee452eb5f476a5b5d6/src/renderer/tsconfig.json) - `error TS5110: Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.` - Project Scope
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/b37e2997615882282373492556de138171ac90ba/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/b37e2997615882282373492556de138171ac90ba/packages/create-react-admin/tsconfig.json#L5)
typescript-bot commented 1 year ago

microsoft/playwright

**4 of 14 projects failed to build with the old tsc and were ignored** ### [packages\/trace-viewer\/tsconfig.json](https://github.com/microsoft/playwright/blob/207086180781e1daee52bcba0aefe3bed1b87b2e/packages/trace-viewer/tsconfig.json) - `error TS2322: Type 'import("url").URL' is not assignable to type 'URL'.` - [packages\/playwright-core\/src\/utils\/network.ts\#L142](https://github.com/microsoft/playwright/blob/207086180781e1daee52bcba0aefe3bed1b87b2e/packages/playwright-core/src/utils/network.ts#L142)
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.20230723/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.20230723/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.20230723/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

**36 of 50 projects failed to build with the old tsc and were ignored** ### [docs\/tsconfig.json](https://github.com/redwoodjs/redwood/blob/fc079454d282609e14edaccc7b7bc64d59a63ec8/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

refined-github/refined-github

### [tsconfig.json](https://github.com/refined-github/refined-github/blob/70766d9a6e1242817e4d1b8b576c6b42b35ea75b/tsconfig.json) - `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` - [tsconfig.json\#L5](https://github.com/refined-github/refined-github/blob/70766d9a6e1242817e4d1b8b576c6b42b35ea75b/tsconfig.json#L5)
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/f5b4d7d0f14e721380e4c9249a063a3dc982a540/docs/tsconfig.json) - `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` - Project Scope
RyanCavanaugh commented 1 year ago

All are as expected