From 773cb504ba011c361c12880b90fbeb4e60120ec9 Mon Sep 17 00:00:00 2001 From: typescript-bot Date: Tue, 11 Feb 2020 00:27:36 +0000 Subject: [PATCH] Update user baselines --- .../baselines/reference/docker/azure-sdk.log | 63 +++++---- tests/baselines/reference/docker/vscode.log | 28 ++-- tests/baselines/reference/docker/xterm.js.log | 4 + tests/baselines/reference/user/fp-ts.log | 16 --- tests/baselines/reference/user/npm.log | 47 +++++++ tests/baselines/reference/user/sift.log | 53 ------- tests/baselines/reference/user/uglify-js.log | 130 +++++++++--------- tests/baselines/reference/user/webpack.log | 2 +- 8 files changed, 172 insertions(+), 171 deletions(-) delete mode 100644 tests/baselines/reference/user/fp-ts.log delete mode 100644 tests/baselines/reference/user/sift.log diff --git a/tests/baselines/reference/docker/azure-sdk.log b/tests/baselines/reference/docker/azure-sdk.log index 7fd3e09f1a754..f6da6ca75e7b1 100644 --- a/tests/baselines/reference/docker/azure-sdk.log +++ b/tests/baselines/reference/docker/azure-sdk.log @@ -2,7 +2,7 @@ Exit Code: 1 Standard output: Rush Multi-Project Build Tool 5.X.X - https://rushjs.io -Node.js version is 12.14.1 (LTS) +Node.js version is 12.15.0 (LTS) Starting "rush rebuild" Executing a maximum of ?simultaneous processes... XX of XX: [@azure/abort-controller] completed successfully in ? seconds @@ -15,14 +15,15 @@ XX of XX: [@azure/core-amqp] completed successfully in ? seconds XX of XX: [@azure/core-lro] completed successfully in ? seconds XX of XX: [@azure/core-paging] completed successfully in ? seconds XX of XX: [@azure/test-utils-recorder] completed successfully in ? seconds -XX of XX: [@azure/event-hubs] completed successfully in ? seconds -XX of XX: [@azure/event-processor-host] completed successfully in ? seconds +Warning: You have changed the public API signature for this project. Updating review/event-hubs.api.md +Warning: You have changed the public API signature for this project. Updating review/event-processor-host.api.md XX of XX: [@azure/keyvault-keys] completed successfully in ? seconds XX of XX: [@azure/keyvault-secrets] completed successfully in ? seconds -XX of XX: [@azure/storage-blob] completed successfully in ? seconds +Warning: You have changed the public API signature for this project. Updating review/storage-blob.api.md XX of XX: [@azure/ai-text-analytics] completed successfully in ? seconds XX of XX: [@azure/core-arm] completed successfully in ? seconds XX of XX: [@azure/core-tracing] completed successfully in ? seconds +Warning: You have changed the public API signature for this project. Updating review/cosmos.api.md dist-esm/index.js → dist/index.js... (!) Unresolved dependencies https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency @@ -40,7 +41,7 @@ npm ERR! Failed at the @azure/keyvault-certificates@X.X.X extract-api script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/XXXX-XX-XXXXXXXXX-debug.log -XX of XX: [@azure/service-bus] completed successfully in ? seconds +Warning: You have changed the public API signature for this project. Updating review/service-bus.api.md npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! @azure/storage-file-datalake@X.X.X-preview.8 build:es6: `tsc -p tsconfig.json` @@ -50,11 +51,11 @@ npm ERR! Failed at the @azure/storage-file-datalake@X.X.X-preview.8 build:es?scr npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/XXXX-XX-XXXXXXXXX-debug.log -XX of XX: [@azure/storage-file-share] completed successfully in ? seconds -XX of XX: [@azure/storage-queue] completed successfully in ? seconds +Warning: You have changed the public API signature for this project. Updating review/storage-file-share.api.md +Warning: You have changed the public API signature for this project. Updating review/storage-queue.api.md XX of XX: [@azure/template] completed successfully in ? seconds XX of XX: [testhub] completed successfully in ? seconds -SUCCESS (23) +SUCCESS (17) ================================ @azure/abort-controller (? seconds) @azure/core-auth (? seconds) @@ -66,23 +67,24 @@ SUCCESS (23) @azure/core-lro (? seconds) @azure/core-paging (? seconds) @azure/test-utils-recorder (? seconds) -@azure/event-hubs (? seconds) -@azure/event-processor-host (? seconds) @azure/keyvault-keys (? seconds) @azure/keyvault-secrets (? seconds) -@azure/storage-blob (? seconds) @azure/ai-text-analytics (? seconds) @azure/core-arm (? seconds) @azure/core-tracing (? seconds) -@azure/service-bus (? seconds) -@azure/storage-file-share (? seconds) -@azure/storage-queue (? seconds) @azure/template (? seconds) testhub (? seconds) ================================ -SUCCESS WITH WARNINGS (1) +SUCCESS WITH WARNINGS (7) ================================ +@azure/event-hubs (? seconds) +Warning: You have changed the public API signature for this project. Updating review/event-hubs.api.md +@azure/event-processor-host (? seconds) +Warning: You have changed the public API signature for this project. Updating review/event-processor-host.api.md +@azure/storage-blob (? seconds) +Warning: You have changed the public API signature for this project. Updating review/storage-blob.api.md @azure/cosmos (? seconds) +Warning: You have changed the public API signature for this project. Updating review/cosmos.api.md dist-esm/index.js → dist/index.js... (!) Unresolved dependencies https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency @@ -91,16 +93,22 @@ os-name (imported by dist-esm/utils/user-agent.js) Use output.globals to specify browser global variable names corresponding to external modules os-name (guessing 'osName') created dist/index.js in ?s +@azure/service-bus (? seconds) +Warning: You have changed the public API signature for this project. Updating review/service-bus.api.md +@azure/storage-file-share (? seconds) +Warning: You have changed the public API signature for this project. Updating review/storage-file-share.api.md +@azure/storage-queue (? seconds) +Warning: You have changed the public API signature for this project. Updating review/storage-queue.api.md ================================ FAILURE (4) ================================ @azure/app-configuration ( ? seconds) >>> @azure/app-configuration tsc -p . && rollup -c 2>&1 && npm run extract-api -test/testHelpers.ts(74,31): error TS2322: Type 'PagedAsyncIterableIterator' is not assignable to type 'AsyncIterable'. +test/testHelpers.ts(74,31): error TS2322: Type 'PagedAsyncIterableIterator' is not assignable to type 'AsyncIterable'. Types of property '[Symbol.asyncIterator]' are incompatible. - Type '() => PagedAsyncIterableIterator' is not assignable to type '() => AsyncIterator'. - Type 'PagedAsyncIterableIterator' is not assignable to type 'AsyncIterator'. + Type '() => PagedAsyncIterableIterator' is not assignable to type '() => AsyncIterator'. + Type 'PagedAsyncIterableIterator' is not assignable to type 'AsyncIterator'. Types of property 'next' are incompatible. Type '() => Promise<{ done?: boolean | undefined; value: ConfigurationSetting; }>' is not assignable to type '(value?: any) => Promise>'. Type 'Promise<{ done?: boolean | undefined; value: ConfigurationSetting; }>' is not assignable to type 'Promise>'. @@ -108,20 +116,20 @@ test/testHelpers.ts(74,31): error TS2322: Type 'PagedAsyncIterableIterator' is not assignable to type 'AsyncIterable'. +test/testHelpers.ts(92,31): error TS2322: Type 'PagedAsyncIterableIterator' is not assignable to type 'AsyncIterable'. Types of property '[Symbol.asyncIterator]' are incompatible. - Type '() => PagedAsyncIterableIterator' is not assignable to type '() => AsyncIterator'. - Type 'PagedAsyncIterableIterator' is not assignable to type 'AsyncIterator'. + Type '() => PagedAsyncIterableIterator' is not assignable to type '() => AsyncIterator'. + Type 'PagedAsyncIterableIterator' is not assignable to type 'AsyncIterator'. Types of property 'next' are incompatible. Type '() => Promise<{ done?: boolean | undefined; value: ConfigurationSetting; }>' is not assignable to type '(value?: any) => Promise>'. Type 'Promise<{ done?: boolean | undefined; value: ConfigurationSetting; }>' is not assignable to type 'Promise>'. @azure/eventhubs-checkpointstore-blob ( ? seconds) >>> @azure/eventhubs-checkpointstore-blob tsc -p . && rollup -c 2>&1 && npm run extract-api -src/blobCheckpointStore.ts(50,32): error TS2322: Type 'PagedAsyncIterableIterator' is not assignable to type 'AsyncIterable'. +src/blobCheckpointStore.ts(50,32): error TS2322: Type 'PagedAsyncIterableIterator' is not assignable to type 'AsyncIterable'. Types of property '[Symbol.asyncIterator]' are incompatible. - Type '() => PagedAsyncIterableIterator' is not assignable to type '() => AsyncIterator'. - Type 'PagedAsyncIterableIterator' is not assignable to type 'AsyncIterator'. + Type '() => PagedAsyncIterableIterator' is not assignable to type '() => AsyncIterator'. + Type 'PagedAsyncIterableIterator' is not assignable to type 'AsyncIterator'. Types of property 'next' are incompatible. Type '() => Promise<{ done?: boolean | undefined; value: BlobItem; }>' is not assignable to type '(value?: any) => Promise>'. Type 'Promise<{ done?: boolean | undefined; value: BlobItem; }>' is not assignable to type 'Promise>'. @@ -156,12 +164,17 @@ rush rebuild - Errors! ( ? seconds) Standard error: - +XX of XX: [@azure/event-hubs] completed with warnings in ? seconds +XX of XX: [@azure/event-processor-host] completed with warnings in ? seconds +XX of XX: [@azure/storage-blob] completed with warnings in ? seconds XX of XX: [@azure/app-configuration] failed! XX of XX: [@azure/cosmos] completed with warnings in ? seconds XX of XX: [@azure/eventhubs-checkpointstore-blob] failed! XX of XX: [@azure/keyvault-certificates] failed! +XX of XX: [@azure/service-bus] completed with warnings in ? seconds XX of XX: [@azure/storage-file-datalake] failed! +XX of XX: [@azure/storage-file-share] completed with warnings in ? seconds +XX of XX: [@azure/storage-queue] completed with warnings in ? seconds [@azure/app-configuration] Returned error code: 2 [@azure/eventhubs-checkpointstore-blob] Returned error code: 2 [@azure/keyvault-certificates] Returned error code: 2 diff --git a/tests/baselines/reference/docker/vscode.log b/tests/baselines/reference/docker/vscode.log index bb59718651edd..f907f0a78dabd 100644 --- a/tests/baselines/reference/docker/vscode.log +++ b/tests/baselines/reference/docker/vscode.log @@ -4,23 +4,29 @@ yarn run vX.X.X $ gulp compile --max_old_space_size=4095 [XX:XX:XX] Node flags detected: --max_old_space_size=4095 [XX:XX:XX] Using gulpfile /vscode/gulpfile.js -[XX:XX:XX] Error: /vscode/extensions/typescript-language-features/src/protocol.d.ts(13,3): Duplicate identifier 'PrepareCallHierarchy'. -[XX:XX:XX] Error: /vscode/extensions/typescript-language-features/src/protocol.d.ts(14,3): Duplicate identifier 'ProvideCallHierarchyIncomingCalls'. -[XX:XX:XX] Error: /vscode/extensions/typescript-language-features/src/protocol.d.ts(15,3): Duplicate identifier 'ProvideCallHierarchyOutgoingCalls'. +[XX:XX:XX] Error: /vscode/src/vs/workbench/services/search/test/node/rawSearchService.test.ts(96,7): 'i' is declared but its value is never read. +[XX:XX:XX] Error: /vscode/src/vs/workbench/services/search/test/node/rawSearchService.test.ts(119,7): 'i' is declared but its value is never read. +[XX:XX:XX] Error: /vscode/src/vs/workbench/services/search/test/node/rawSearchService.test.ts(145,7): 'i' is declared but its value is never read. +[XX:XX:XX] Error: /vscode/src/vs/workbench/services/search/test/node/rawSearchService.test.ts(273,7): 'i' is declared but its value is never read. +[XX:XX:XX] Error: /vscode/src/vs/workbench/services/search/test/node/rawSearchService.test.ts(96,7): 'i' is declared but its value is never read. +[XX:XX:XX] Error: /vscode/src/vs/workbench/services/search/test/node/rawSearchService.test.ts(119,7): 'i' is declared but its value is never read. +[XX:XX:XX] Error: /vscode/src/vs/workbench/services/search/test/node/rawSearchService.test.ts(145,7): 'i' is declared but its value is never read. +[XX:XX:XX] Error: /vscode/src/vs/workbench/services/search/test/node/rawSearchService.test.ts(273,7): 'i' is declared but its value is never read. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Standard error: -[XX:XX:XX] 'compile' errored after ?s -[XX:XX:XX] Error: Found 3 errors +[XX:XX:XX] 'compile' errored after +[XX:XX:XX] Error: Found 4 errors at Stream. (/vscode/build/lib/reporter.js:74:29) at _end (/vscode/node_modules/through/index.js:65:9) at Stream.stream.end (/vscode/node_modules/through/index.js:74:5) - at StreamFilter.onend (/vscode/node_modules/readable-stream/lib/_stream_readable.js:570:10) - at Object.onceWrapper (events.js:286:20) - at StreamFilter.emit (events.js:203:15) - at StreamFilter.EventEmitter.emit (domain.js:466:23) - at endReadableNT (/vscode/node_modules/readable-stream/lib/_stream_readable.js:992:12) - at process._tickCallback (internal/process/next_tick.js:63:19) + at Stream.onend (internal/streams/legacy.js:42:10) + at Stream.emit (events.js:203:15) + at Stream.EventEmitter.emit (domain.js:466:23) + at drain (/vscode/node_modules/through/index.js:34:23) + at Stream.stream.queue.stream.push (/vscode/node_modules/through/index.js:45:5) + at Stream.end (/vscode/node_modules/through/index.js:15:35) + at _end (/vscode/node_modules/through/index.js:65:9) error Command failed with exit code 1. diff --git a/tests/baselines/reference/docker/xterm.js.log b/tests/baselines/reference/docker/xterm.js.log index 7fa6b68dfe85f..00081de08ca3a 100644 --- a/tests/baselines/reference/docker/xterm.js.log +++ b/tests/baselines/reference/docker/xterm.js.log @@ -15,6 +15,10 @@ node_modules/@types/ws/index.d.ts(44,39): error TS2694: Namespace '"url"' has no node_modules/@types/ws/index.d.ts(45,39): error TS2694: Namespace '"url"' has no exported member 'URL'. node_modules/@types/ws/index.d.ts(44,39): error TS2694: Namespace '"url"' has no exported member 'URL'. node_modules/@types/ws/index.d.ts(45,39): error TS2694: Namespace '"url"' has no exported member 'URL'. +node_modules/@types/ws/index.d.ts(44,39): error TS2694: Namespace '"url"' has no exported member 'URL'. +node_modules/@types/ws/index.d.ts(45,39): error TS2694: Namespace '"url"' has no exported member 'URL'. +node_modules/@types/ws/index.d.ts(44,39): error TS2694: Namespace '"url"' has no exported member 'URL'. +node_modules/@types/ws/index.d.ts(45,39): error TS2694: Namespace '"url"' has no exported member 'URL'. diff --git a/tests/baselines/reference/user/fp-ts.log b/tests/baselines/reference/user/fp-ts.log deleted file mode 100644 index be1535bae5219..0000000000000 --- a/tests/baselines/reference/user/fp-ts.log +++ /dev/null @@ -1,16 +0,0 @@ -Exit Code: 1 -Standard output: -test/Array.ts(2,21): error TS2307: Cannot find module 'fast-check'. -test/Array.ts(287,43): error TS7006: Parameter 'arr' implicitly has an 'any' type. -test/Array.ts(314,43): error TS7006: Parameter 'arr' implicitly has an 'any' type. -test/Array.ts(704,41): error TS7006: Parameter 'xs' implicitly has an 'any' type. -test/Array.ts(706,32): error TS7006: Parameter 'x' implicitly has an 'any' type. -test/Array.ts(707,12): error TS7006: Parameter 'xs' implicitly has an 'any' type. -test/Array.ts(707,16): error TS7006: Parameter 'ys' implicitly has an 'any' type. -test/Array.ts(707,20): error TS7006: Parameter 'n' implicitly has an 'any' type. -test/property-test/NonEmptyArray.ts(1,21): error TS2307: Cannot find module 'fast-check'. -test/property-test/Option.ts(1,21): error TS2307: Cannot find module 'fast-check'. - - - -Standard error: diff --git a/tests/baselines/reference/user/npm.log b/tests/baselines/reference/user/npm.log index bed14408b4e58..87bdb3bb5ec22 100644 --- a/tests/baselines/reference/user/npm.log +++ b/tests/baselines/reference/user/npm.log @@ -106,6 +106,8 @@ node_modules/npm/lib/config.js(84,19): error TS2339: Property 'config' does not node_modules/npm/lib/config.js(85,15): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/config.js(87,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/config.js(93,25): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(118,31): error TS2345: Argument of type '(er: any) => any' is not assignable to parameter of type 'string | number | Options | undefined'. + Value of type '(er: any) => any' has no properties in common with type 'Options'. Did you mean to call it? node_modules/npm/lib/config.js(135,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/config.js(136,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/config.js(137,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. @@ -167,6 +169,8 @@ node_modules/npm/lib/config/core.js(208,24): error TS2339: Property 'list' does node_modules/npm/lib/config/core.js(237,21): error TS2339: Property 'sources' does not exist on type 'Conf'. node_modules/npm/lib/config/core.js(245,17): error TS2339: Property 'emit' does not exist on type 'Conf'. node_modules/npm/lib/config/core.js(279,8): error TS2339: Property '_saving' does not exist on type 'Conf'. +node_modules/npm/lib/config/core.js(288,39): error TS2345: Argument of type '(er: any) => any' is not assignable to parameter of type 'string | number | Options | undefined'. + Value of type '(er: any) => any' has no properties in common with type 'Options'. Did you mean to call it? node_modules/npm/lib/config/core.js(307,8): error TS2339: Property 'sources' does not exist on type 'Conf'. node_modules/npm/lib/config/core.js(308,8): error TS2339: Property 'push' does not exist on type 'Conf'. node_modules/npm/lib/config/core.js(309,8): error TS2339: Property '_await' does not exist on type 'Conf'. @@ -237,6 +241,8 @@ node_modules/npm/lib/config/pacote.js(84,31): error TS2339: Property 'config' do node_modules/npm/lib/config/pacote.js(89,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/config/pacote.js(90,38): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/config/pacote.js(110,60): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/set-user.js(22,18): error TS2345: Argument of type '(er: any) => any' is not assignable to parameter of type 'string | number | Options | undefined'. + Value of type '(er: any) => any' has no properties in common with type 'Options'. Did you mean to call it? node_modules/npm/lib/dedupe.js(35,32): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/dedupe.js(37,11): error TS2339: Property 'command' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/dedupe.js(38,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. @@ -397,6 +403,8 @@ node_modules/npm/lib/install/action/global-link.js(7,7): error TS2339: Property node_modules/npm/lib/install/action/refresh-package-json.js(31,43): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install/action/remove.js(25,37): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install/action/remove.js(25,51): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/action/remove.js(55,49): error TS2345: Argument of type '(mkdirEr: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(mkdirEr: any) => void' has no properties in common with type 'Options'. node_modules/npm/lib/install/actions.js(126,24): error TS2339: Property 'limit' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install/actions.js(168,16): error TS2769: No overload matches this call. The last overload gave the following error. @@ -720,6 +728,8 @@ node_modules/npm/lib/search/all-package-metadata.js(33,30): error TS2339: Proper node_modules/npm/lib/search/all-package-metadata.js(36,35): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/search/all-package-metadata.js(146,7): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/search/all-package-metadata.js(239,20): error TS2339: Property 'cache' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/search/all-package-metadata.js(241,22): error TS2345: Argument of type '(er: any, made: any) => any' is not assignable to parameter of type 'string | number | Options | undefined'. + Value of type '(er: any, made: any) => any' has no properties in common with type 'Options'. Did you mean to call it? node_modules/npm/lib/search/esearch.js(15,36): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/search/esearch.js(35,7): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/search/format-package-stream.js(130,31): error TS2339: Property 'fd' does not exist on type 'WriteStream'. @@ -788,6 +798,8 @@ node_modules/npm/lib/unpublish.js(97,70): error TS2339: Property 'registry' does node_modules/npm/lib/update.js(10,41): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/update.js(17,25): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/update.js(25,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/completion/file-completion.js(11,15): error TS2345: Argument of type '(er: any) => any' is not assignable to parameter of type 'string | number | Options | undefined'. + Value of type '(er: any) => any' has no properties in common with type 'Options'. Did you mean to call it? node_modules/npm/lib/utils/completion/installed-deep.js(9,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/completion/installed-deep.js(12,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/completion/installed-deep.js(16,23): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. @@ -799,6 +811,12 @@ node_modules/npm/lib/utils/completion/installed-shallow.js(22,11): error TS2339: node_modules/npm/lib/utils/completion/installed-shallow.js(57,28): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/completion/installed-shallow.js(66,23): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/completion/installed-shallow.js(79,14): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/correct-mkdir.js(74,25): error TS2345: Argument of type '(er: any) => any' is not assignable to parameter of type 'string | number | Options | undefined'. + Value of type '(er: any) => any' has no properties in common with type 'Options'. Did you mean to call it? +node_modules/npm/lib/utils/correct-mkdir.js(89,18): error TS2345: Argument of type '(er: any, made: any) => any' is not assignable to parameter of type 'string | number | Options | undefined'. + Value of type '(er: any, made: any) => any' has no properties in common with type 'Options'. Did you mean to call it? +node_modules/npm/lib/utils/correct-mkdir.js(103,20): error TS2345: Argument of type '(er: any, made: any) => any' is not assignable to parameter of type 'string | number | Options | undefined'. + Value of type '(er: any, made: any) => any' has no properties in common with type 'Options'. Did you mean to call it? node_modules/npm/lib/utils/error-handler.js(12,21): error TS2339: Property 'rollbacks' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/error-handler.js(23,36): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/error-handler.js(29,16): error TS2339: Property 'version' does not exist on type 'typeof EventEmitter'. @@ -1063,6 +1081,8 @@ node_modules/npm/test/tap/404-private-registry.js(1,20): error TS2307: Cannot fi node_modules/npm/test/tap/404-private-registry.js(6,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/access.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/access.js(7,20): error TS2307: Cannot find module 'tap'. +node_modules/npm/test/tap/access.js(19,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. node_modules/npm/test/tap/add-named-update-protocol-port.js(3,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/add-named-update-protocol-port.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/add-remote-git-file.js(10,20): error TS2307: Cannot find module 'tap'. @@ -1084,6 +1104,8 @@ node_modules/npm/test/tap/adduser-always-auth.js(4,18): error TS2307: Cannot fin node_modules/npm/test/tap/adduser-always-auth.js(6,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/adduser-legacy-auth.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/adduser-legacy-auth.js(7,20): error TS2307: Cannot find module 'tap'. +node_modules/npm/test/tap/adduser-legacy-auth.js(45,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. node_modules/npm/test/tap/adduser-oauth.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/adduser-oauth.js(7,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/adduser-saml.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. @@ -1174,6 +1196,7 @@ node_modules/npm/test/tap/config-builtin.js(61,13): error TS2531: Object is poss node_modules/npm/test/tap/config-certfile.js(5,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/config-credentials.js(1,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/config-edit.js(6,20): error TS2307: Cannot find module 'tap'. +node_modules/npm/test/tap/config-edit.js(27,25): error TS2554: Expected 1-2 arguments, but got 3. node_modules/npm/test/tap/config-envReplace.js(6,22): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/config-list.js(3,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/config-malformed.js(1,20): error TS2307: Cannot find module 'tap'. @@ -1208,6 +1231,8 @@ node_modules/npm/test/tap/deprecate.js(1,18): error TS2307: Cannot find module ' node_modules/npm/test/tap/deprecate.js(3,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/dist-tag.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/dist-tag.js(7,20): error TS2307: Cannot find module 'tap'. +node_modules/npm/test/tap/dist-tag.js(49,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. node_modules/npm/test/tap/do-not-remove-other-bins.js(8,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/doctor.js(5,20): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/doctor.js(9,23): error TS2307: Cannot find module 'tacks'. @@ -1491,6 +1516,12 @@ node_modules/npm/test/tap/owner.js(2,20): error TS2307: Cannot find module 'tap' node_modules/npm/test/tap/pack-files-and-ignores.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/pack-files-and-ignores.js(12,21): error TS2307: Cannot find module 'tacks'. node_modules/npm/test/tap/pack-scoped.js(2,20): error TS2307: Cannot find module 'tap'. +node_modules/npm/test/tap/pack-scoped.js(24,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. +node_modules/npm/test/tap/pack-scoped.js(25,17): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. +node_modules/npm/test/tap/pack-scoped.js(26,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. node_modules/npm/test/tap/pack.js(5,22): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/peer-deps.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/peer-deps.js(8,20): error TS2307: Cannot find module 'tap'. @@ -1514,10 +1545,22 @@ node_modules/npm/test/tap/pick-manifest-from-registry-metadata.js(137,11): error node_modules/npm/test/tap/ping.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/ping.js(7,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/prepare.js(3,20): error TS2307: Cannot find module 'tap'. +node_modules/npm/test/tap/prepare.js(16,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. +node_modules/npm/test/tap/prepare.js(17,17): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. +node_modules/npm/test/tap/prepare.js(18,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. node_modules/npm/test/tap/prepublish-only.js(4,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/prepublish-only.js(5,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/prepublish-only.js(6,21): error TS2307: Cannot find module 'tacks'. node_modules/npm/test/tap/prepublish.js(3,20): error TS2307: Cannot find module 'tap'. +node_modules/npm/test/tap/prepublish.js(16,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. +node_modules/npm/test/tap/prepublish.js(17,17): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. +node_modules/npm/test/tap/prepublish.js(18,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. node_modules/npm/test/tap/process-logger.js(2,22): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/process-logger.js(7,61): error TS2554: Expected 1-3 arguments, but got 4. node_modules/npm/test/tap/process-logger.js(8,37): error TS2769: No overload matches this call. @@ -1543,9 +1586,13 @@ node_modules/npm/test/tap/prune.js(5,18): error TS2307: Cannot find module 'npm- node_modules/npm/test/tap/prune.js(8,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/publish-access-scoped.js(4,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/publish-access-scoped.js(7,18): error TS2307: Cannot find module 'npm-registry-mock'. +node_modules/npm/test/tap/publish-access-scoped.js(31,35): error TS2345: Argument of type '() => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '() => void' has no properties in common with type 'Options'. node_modules/npm/test/tap/publish-access-unscoped-restricted-fails.js(4,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/publish-access-unscoped.js(4,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/publish-access-unscoped.js(7,18): error TS2307: Cannot find module 'npm-registry-mock'. +node_modules/npm/test/tap/publish-access-unscoped.js(31,35): error TS2345: Argument of type '() => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '() => void' has no properties in common with type 'Options'. node_modules/npm/test/tap/publish-config.js(4,22): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/publish-invalid-semver-tag.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/publish-invalid-semver-tag.js(8,18): error TS2307: Cannot find module 'npm-registry-mock'. diff --git a/tests/baselines/reference/user/sift.log b/tests/baselines/reference/user/sift.log deleted file mode 100644 index 9ff40e8ee18ed..0000000000000 --- a/tests/baselines/reference/user/sift.log +++ /dev/null @@ -1,53 +0,0 @@ -Exit Code: 1 -Standard output: -node_modules/sift/src/core.ts(13,3): error TS7010: 'reset', which lacks return-type annotation, implicitly has an 'any' return type. -node_modules/sift/src/core.ts(14,3): error TS7010: 'next', which lacks return-type annotation, implicitly has an 'any' return type. -node_modules/sift/src/core.ts(48,27): error TS7024: Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions. -node_modules/sift/src/core.ts(85,3): error TS2564: Property 'success' has no initializer and is not definitely assigned in the constructor. -node_modules/sift/src/core.ts(86,3): error TS2564: Property 'done' has no initializer and is not definitely assigned in the constructor. -node_modules/sift/src/core.ts(99,12): error TS7010: 'next', which lacks return-type annotation, implicitly has an 'any' return type. -node_modules/sift/src/core.ts(103,3): error TS2564: Property 'success' has no initializer and is not definitely assigned in the constructor. -node_modules/sift/src/core.ts(104,3): error TS2564: Property 'done' has no initializer and is not definitely assigned in the constructor. -node_modules/sift/src/core.ts(126,12): error TS7010: 'next', which lacks return-type annotation, implicitly has an 'any' return type. -node_modules/sift/src/core.ts(179,7): error TS2345: Argument of type '(value: any, key: string | number, owner: any) => boolean' is not assignable to parameter of type 'Tester'. - Types of parameters 'key' and 'key' are incompatible. - Type 'string | number | undefined' is not assignable to type 'string | number'. - Type 'undefined' is not assignable to type 'string | number'. -node_modules/sift/src/core.ts(195,30): error TS7006: Parameter 'a' implicitly has an 'any' type. -node_modules/sift/src/core.ts(200,12): error TS7006: Parameter 'b' implicitly has an 'any' type. -node_modules/sift/src/core.ts(203,10): error TS7006: Parameter 'b' implicitly has an 'any' type. -node_modules/sift/src/core.ts(207,11): error TS2564: Property '_test' has no initializer and is not definitely assigned in the constructor. -node_modules/sift/src/core.ts(211,8): error TS7006: Parameter 'item' implicitly has an 'any' type. -node_modules/sift/src/core.ts(242,51): error TS7051: Parameter has a name but no type. Did you mean 'arg0: any'? -node_modules/sift/src/core.ts(248,9): error TS7006: Parameter 'b' implicitly has an 'any' type. -node_modules/sift/src/core.ts(261,13): error TS7006: Parameter 'a' implicitly has an 'any' type. -node_modules/sift/src/core.ts(261,16): error TS7006: Parameter 'b' implicitly has an 'any' type. -node_modules/sift/src/core.ts(283,31): error TS7024: Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions. -node_modules/sift/src/core.ts(290,12): error TS7022: 'selfOperations' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer. -node_modules/sift/src/core.ts(334,31): error TS7024: Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions. -node_modules/sift/src/core.ts(336,9): error TS7034: Variable 'nestedOperations' implicitly has type 'any[]' in some locations where its type cannot be determined. -node_modules/sift/src/core.ts(339,29): error TS7005: Variable 'nestedOperations' implicitly has an 'any[]' type. -node_modules/sift/src/operations.ts(18,11): error TS2564: Property '_test' has no initializer and is not definitely assigned in the constructor. -node_modules/sift/src/operations.ts(35,11): error TS2564: Property '_queryOperation' has no initializer and is not definitely assigned in the constructor. -node_modules/sift/src/operations.ts(61,11): error TS2564: Property '_ops' has no initializer and is not definitely assigned in the constructor. -node_modules/sift/src/operations.ts(63,33): error TS7006: Parameter 'op' implicitly has an 'any' type. -node_modules/sift/src/operations.ts(147,5): error TS7006: Parameter 'b' implicitly has an 'any' type. -node_modules/sift/src/operations.ts(166,5): error TS7006: Parameter 'b' implicitly has an 'any' type. -node_modules/sift/src/operations.ts(174,23): error TS7006: Parameter 'b' implicitly has an 'any' type. -node_modules/sift/src/operations.ts(181,7): error TS7034: Variable 'test' implicitly has type 'any' in some locations where its type cannot be determined. -node_modules/sift/src/operations.ts(185,15): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -node_modules/sift/src/operations.ts(193,30): error TS7006: Parameter 'b' implicitly has an 'any' type. -node_modules/sift/src/operations.ts(193,35): error TS7005: Variable 'test' implicitly has an 'any' type. -node_modules/sift/src/utils.ts(2,27): error TS7006: Parameter 'a' implicitly has an 'any' type. -node_modules/sift/src/utils.ts(2,30): error TS7006: Parameter 'b' implicitly has an 'any' type. -node_modules/sift/src/utils.ts(3,36): error TS7006: Parameter 'type' implicitly has an 'any' type. -node_modules/sift/src/utils.ts(5,19): error TS7006: Parameter 'value' implicitly has an 'any' type. -node_modules/sift/src/utils.ts(10,22): error TS7006: Parameter 'value' implicitly has an 'any' type. -node_modules/sift/src/utils.ts(12,27): error TS7024: Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions. -node_modules/sift/src/utils.ts(27,32): error TS7006: Parameter 'value' implicitly has an 'any' type. -node_modules/sift/src/utils.ts(38,24): error TS7006: Parameter 'a' implicitly has an 'any' type. -node_modules/sift/src/utils.ts(38,27): error TS7006: Parameter 'b' implicitly has an 'any' type. - - - -Standard error: diff --git a/tests/baselines/reference/user/uglify-js.log b/tests/baselines/reference/user/uglify-js.log index ba4059e5ed215..cee210e47b94c 100644 --- a/tests/baselines/reference/user/uglify-js.log +++ b/tests/baselines/reference/user/uglify-js.log @@ -9,76 +9,76 @@ node_modules/uglify-js/lib/ast.js(965,25): error TS2339: Property 'self' does no node_modules/uglify-js/lib/ast.js(966,37): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. node_modules/uglify-js/lib/ast.js(984,31): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. node_modules/uglify-js/lib/ast.js(988,29): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(187,42): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(535,41): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(875,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1139,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1155,51): error TS2349: This expression is not callable. +node_modules/uglify-js/lib/compress.js(188,42): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(536,41): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(876,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1141,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1156,51): error TS2349: This expression is not callable. Not all constituents of type 'true | ((node: any, tw: any) => any)' are callable. Type 'true' has no call signatures. -node_modules/uglify-js/lib/compress.js(1229,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1250,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1296,112): error TS2454: Variable 'args' is used before being assigned. -node_modules/uglify-js/lib/compress.js(1297,29): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(1315,29): error TS2322: Type 'false' is not assignable to type 'number'. -node_modules/uglify-js/lib/compress.js(1323,29): error TS2322: Type 'false' is not assignable to type 'never'. -node_modules/uglify-js/lib/compress.js(1441,53): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1552,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1576,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1591,46): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1622,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1654,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1670,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1767,42): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1798,41): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1920,49): error TS2345: Argument of type 'number[]' is not assignable to parameter of type '[number, number, ...never[]]'. +node_modules/uglify-js/lib/compress.js(1230,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1251,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1297,112): error TS2454: Variable 'args' is used before being assigned. +node_modules/uglify-js/lib/compress.js(1298,29): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(1316,29): error TS2322: Type 'false' is not assignable to type 'number'. +node_modules/uglify-js/lib/compress.js(1324,29): error TS2322: Type 'false' is not assignable to type 'never'. +node_modules/uglify-js/lib/compress.js(1469,53): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1580,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1604,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1619,46): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1650,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1682,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1698,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1795,42): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1826,41): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1948,49): error TS2345: Argument of type 'number[]' is not assignable to parameter of type '[number, number, ...never[]]'. Type 'number[]' is missing the following properties from type '[number, number, ...never[]]': 0, 1 -node_modules/uglify-js/lib/compress.js(2251,59): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2289,53): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[number, number, ...never[]]'. +node_modules/uglify-js/lib/compress.js(2279,59): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2317,53): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[number, number, ...never[]]'. Type 'any[]' is missing the following properties from type '[number, number, ...never[]]': 0, 1 -node_modules/uglify-js/lib/compress.js(2437,34): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3206,55): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. -node_modules/uglify-js/lib/compress.js(3207,25): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/compress.js(3207,55): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. -node_modules/uglify-js/lib/compress.js(3207,56): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/compress.js(3248,42): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3327,33): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(3734,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3760,29): error TS2322: Type '"f"' is not assignable to type 'boolean'. -node_modules/uglify-js/lib/compress.js(3893,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3946,29): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3964,29): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(4079,63): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4209,12): error TS2339: Property 'push' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(4305,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4326,24): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(4336,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(4421,32): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4660,17): error TS2447: The '|=' operator is not allowed for boolean types. Consider using '||' instead. -node_modules/uglify-js/lib/compress.js(4728,45): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4839,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4931,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'. -node_modules/uglify-js/lib/compress.js(4946,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'. -node_modules/uglify-js/lib/compress.js(5057,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(5207,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'. -node_modules/uglify-js/lib/compress.js(5300,37): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(5549,57): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[string | RegExp, (string | undefined)?]'. +node_modules/uglify-js/lib/compress.js(2465,34): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3234,55): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. +node_modules/uglify-js/lib/compress.js(3235,25): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/compress.js(3235,55): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. +node_modules/uglify-js/lib/compress.js(3235,56): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/compress.js(3276,42): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3355,33): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(3762,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3788,29): error TS2322: Type '"f"' is not assignable to type 'boolean'. +node_modules/uglify-js/lib/compress.js(3921,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3974,29): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3992,29): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(4107,63): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4237,12): error TS2339: Property 'push' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(4333,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4354,24): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(4364,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(4449,32): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4688,17): error TS2447: The '|=' operator is not allowed for boolean types. Consider using '||' instead. +node_modules/uglify-js/lib/compress.js(4756,45): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4867,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4959,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'. +node_modules/uglify-js/lib/compress.js(4974,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'. +node_modules/uglify-js/lib/compress.js(5085,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5235,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'. +node_modules/uglify-js/lib/compress.js(5328,37): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5584,57): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[string | RegExp, (string | undefined)?]'. Property '0' is missing in type 'any[]' but required in type '[string | RegExp, (string | undefined)?]'. -node_modules/uglify-js/lib/compress.js(5713,45): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(5720,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'code' must be of type 'string', but here has type '{ get: () => string; toString: () => string; indent: (half: any) => void; indentation: () => number; current_width: () => number; should_break: () => boolean; has_parens: () => boolean; newline: () => void; print: (str: any) => void; ... 23 more ...; parent: (n: any) => any; }'. -node_modules/uglify-js/lib/compress.js(5724,36): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(5729,41): error TS2339: Property 'get' does not exist on type 'string'. -node_modules/uglify-js/lib/compress.js(6236,18): error TS2454: Variable 'is_strict_comparison' is used before being assigned. -node_modules/uglify-js/lib/compress.js(6860,29): error TS2367: This condition will always return 'false' since the types 'boolean' and 'string' have no overlap. -node_modules/uglify-js/lib/compress.js(6902,47): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6983,39): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(7055,39): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(7061,41): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(7548,43): error TS2454: Variable 'property' is used before being assigned. -node_modules/uglify-js/lib/compress.js(7563,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'. -node_modules/uglify-js/lib/compress.js(7566,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'. -node_modules/uglify-js/lib/compress.js(7572,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'. -node_modules/uglify-js/lib/compress.js(7605,34): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5748,45): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5755,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'code' must be of type 'string', but here has type '{ get: () => string; toString: () => string; indent: (half: any) => void; indentation: () => number; current_width: () => number; should_break: () => boolean; has_parens: () => boolean; newline: () => void; print: (str: any) => void; ... 23 more ...; parent: (n: any) => any; }'. +node_modules/uglify-js/lib/compress.js(5759,36): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(5764,41): error TS2339: Property 'get' does not exist on type 'string'. +node_modules/uglify-js/lib/compress.js(6279,18): error TS2454: Variable 'is_strict_comparison' is used before being assigned. +node_modules/uglify-js/lib/compress.js(6903,29): error TS2367: This condition will always return 'false' since the types 'boolean' and 'string' have no overlap. +node_modules/uglify-js/lib/compress.js(6945,47): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(7026,39): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(7098,39): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(7104,41): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(7665,43): error TS2454: Variable 'property' is used before being assigned. +node_modules/uglify-js/lib/compress.js(7680,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'. +node_modules/uglify-js/lib/compress.js(7683,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'. +node_modules/uglify-js/lib/compress.js(7689,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'. +node_modules/uglify-js/lib/compress.js(7722,34): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/minify.js(186,75): error TS2339: Property 'compress' does not exist on type 'Compressor'. node_modules/uglify-js/lib/mozilla-ast.js(566,33): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/output.js(459,37): error TS2554: Expected 0 arguments, but got 1. diff --git a/tests/baselines/reference/user/webpack.log b/tests/baselines/reference/user/webpack.log index ce13ba5ea9e18..5540a0655dfbf 100644 --- a/tests/baselines/reference/user/webpack.log +++ b/tests/baselines/reference/user/webpack.log @@ -5,7 +5,7 @@ lib/ContextModule.js(465,34): error TS2341: Property 'moduleGraph' is private an lib/ContextModule.js(767,34): error TS2341: Property 'moduleGraph' is private and only accessible within class 'ChunkGraph'. lib/Dependency.js(139,29): error TS2341: Property 'moduleGraph' is private and only accessible within class 'ChunkGraph'. lib/ExternalModule.js(285,54): error TS2341: Property 'moduleGraph' is private and only accessible within class 'ChunkGraph'. -lib/FileSystemInfo.js(362,4): error TS2345: Argument of type '({ type, context, path, expected }: { type: any; context: any; path: any; expected: any; }, callback: any) => void' is not assignable to parameter of type 'AsyncFunction<{ type: number; path: string; context?: string; expected?: string; }, Error>'. +lib/FileSystemInfo.js(373,4): error TS2345: Argument of type '({ type, context, path, expected }: { type: any; context: any; path: any; expected: any; }, callback: any) => void' is not assignable to parameter of type 'AsyncFunction<{ type: number; path: string; context?: string; expected?: string; }, Error>'. Types of parameters '__0' and 'callback' are incompatible. Type '(err?: Error, result?: { type: number; path: string; context?: string; expected?: string; }) => void' is missing the following properties from type '{ type: any; context: any; path: any; expected: any; }': type, context, path, expected lib/Module.js(625,34): error TS2341: Property 'moduleGraph' is private and only accessible within class 'ChunkGraph'.