microsoft / TypeScript

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

[NewErrors] 5.2.0-dev.20230709 vs 5.1.6 #54938

Closed typescript-bot closed 1 year ago

typescript-bot commented 1 year ago

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

Investigation Status

Repo Errors Outcome
alibaba/ice 2
backstage/backstage 1
cheeriojs/cheerio 1
darkreader/darkreader 2
facebook/docusaurus 2
fingerprintjs/fingerprintjs 2
fullcalendar/fullcalendar 2
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

**44 of 64 projects failed to build with the old tsc and were ignored** ### [packages\/shared\/tsconfig.json](https://github.com/alibaba/ice/blob/ae705c03e8b6aa5ab4c7678c58788094f9e3d66d/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/ae705c03e8b6aa5ab4c7678c58788094f9e3d66d/packages/shared/tsconfig.json#L7) ### [packages\/miniapp-react-dom\/tsconfig.json](https://github.com/alibaba/ice/blob/ae705c03e8b6aa5ab4c7678c58788094f9e3d66d/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/ae705c03e8b6aa5ab4c7678c58788094f9e3d66d/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/c4a9eb45ab17668c3f04ac313f99d6430a7349f6/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/852d804edffaec4f22da5adb981f60d555cd8106/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/852d804edffaec4f22da5adb981f60d555cd8106/tsconfig.json#L5)
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/53c5923c28a333219cfe589911b5c7efc45b9975/src/api/tsconfig.json) - `error TS2531: Object is possibly 'null'.` - [src\/inject\/dynamic-theme\/css-rules.ts\#L15](https://github.com/darkreader/darkreader/blob/53c5923c28a333219cfe589911b5c7efc45b9975/src/inject/dynamic-theme/css-rules.ts#L15) ### [src\/tsconfig.json](https://github.com/darkreader/darkreader/blob/53c5923c28a333219cfe589911b5c7efc45b9975/src/tsconfig.json) - `error TS2531: Object is possibly 'null'.` - [src\/inject\/dynamic-theme\/css-rules.ts\#L15](https://github.com/darkreader/darkreader/blob/53c5923c28a333219cfe589911b5c7efc45b9975/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/26ae4164d6f90c231c6687363a3907b5f9f172b8/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/26ae4164d6f90c231c6687363a3907b5f9f172b8/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/a8f7e0d7fb8479fe9157ec0f293966e8c539b9b5/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/a8f7e0d7fb8479fe9157ec0f293966e8c539b9b5/tsconfig.json#L3) ### [tsconfig.rollupConfig.json](https://github.com/fingerprintjs/fingerprintjs/blob/a8f7e0d7fb8479fe9157ec0f293966e8c539b9b5/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

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/c670ab1f278cdd1f63734fe7bc70f871a2c36b2c/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/c670ab1f278cdd1f63734fe7bc70f871a2c36b2c/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/37b3531a1181c99990899c15000925a98f035eb7/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/37b3531a1181c99990899c15000925a98f035eb7/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.20230709/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.20230709/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.20230709/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/b99e5234a067166bda05a8c6d7d0592cc09aba58/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/c864a20b57bb433aaf3952f88d83c9fc481ae6ff/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/c864a20b57bb433aaf3952f88d83c9fc481ae6ff/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/602dadaca529afa8f4a04f789b64a4ec5b12a695/docs/tsconfig.json) - `error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.` - Project Scope