From 4737f7e1922c9801fdc2d387a85b6ef12746b80c Mon Sep 17 00:00:00 2001 From: typescript-bot Date: Sat, 6 Feb 2021 04:47:03 +0000 Subject: [PATCH 1/2] Update user baselines +cc @sandersn --- tests/baselines/reference/docker/vue-next.log | 30 +++++++++---------- tests/baselines/reference/user/fp-ts.log | 10 ------- .../baselines/reference/user/graceful-fs.log | 20 ++++++------- tests/baselines/reference/user/lodash.log | 6 ++-- tests/baselines/reference/user/npm.log | 5 +--- 5 files changed, 29 insertions(+), 42 deletions(-) delete mode 100644 tests/baselines/reference/user/fp-ts.log diff --git a/tests/baselines/reference/docker/vue-next.log b/tests/baselines/reference/docker/vue-next.log index e1a7059cda546..61014962785f8 100644 --- a/tests/baselines/reference/docker/vue-next.log +++ b/tests/baselines/reference/docker/vue-next.log @@ -19,14 +19,6 @@ The API report is up to date: temp/compiler-dom.api.md Writing package typings: /vue-next/packages/compiler-dom/dist/compiler-dom.d.ts Writing package typings: /vue-next/dist/compiler-dom.d.ts API Extractor completed successfully. -Rolling up type definitions for compiler-ssr... -Analysis will use the bundled TypeScript version 4.1.3 -*** The target project appears to use TypeScript X.X.X-insiders.xxxxxxxx which is newer than the bundled compiler engine; consider upgrading API Extractor. -Writing: /vue-next/temp/compiler-ssr.api.json -The API report is up to date: temp/compiler-ssr.api.md -Writing package typings: /vue-next/packages/compiler-ssr/dist/compiler-ssr.d.ts -Writing package typings: /vue-next/dist/compiler-ssr.d.ts -API Extractor completed successfully. Rolling up type definitions for compiler-sfc... Analysis will use the bundled TypeScript version 4.1.3 *** The target project appears to use TypeScript X.X.X-insiders.xxxxxxxx which is newer than the bundled compiler engine; consider upgrading API Extractor. @@ -35,6 +27,14 @@ The API report is up to date: temp/compiler-sfc.api.md Writing package typings: /vue-next/packages/compiler-sfc/dist/compiler-sfc.d.ts Writing package typings: /vue-next/dist/compiler-sfc.d.ts API Extractor completed successfully. +Rolling up type definitions for compiler-ssr... +Analysis will use the bundled TypeScript version 4.1.3 +*** The target project appears to use TypeScript X.X.X-insiders.xxxxxxxx which is newer than the bundled compiler engine; consider upgrading API Extractor. +Writing: /vue-next/temp/compiler-ssr.api.json +The API report is up to date: temp/compiler-ssr.api.md +Writing package typings: /vue-next/packages/compiler-ssr/dist/compiler-ssr.d.ts +Writing package typings: /vue-next/dist/compiler-ssr.d.ts +API Extractor completed successfully. @@ -75,10 +75,9 @@ Warning: dist/packages/compiler-core/src/options.d.ts:149:35 - (tsdoc-malformed- Warning: dist/packages/compiler-core/src/options.d.ts:149:36 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" /vue-next/packages/compiler-sfc/src/index.ts → packages/compiler-sfc/dist/compiler-sfc.cjs.js... created packages/compiler-dom/dist/compiler-dom.global.prod.js in ?s -/vue-next/packages/compiler-ssr/src/index.ts → packages/compiler-ssr/dist/compiler-ssr.cjs.js... created packages/compiler-sfc/dist/compiler-sfc.cjs.js in ?s /vue-next/packages/compiler-sfc/src/index.ts → packages/compiler-sfc/dist/compiler-sfc.global.js... -created packages/compiler-ssr/dist/compiler-ssr.cjs.js in ?s +/vue-next/packages/compiler-ssr/src/index.ts → packages/compiler-ssr/dist/compiler-ssr.cjs.js... (!) Missing shims for Node.js built-ins Creating a browser bundle that depends on 'path', 'url' and 'util'. You might need to include https://github.com/ionic-team/rollup-plugin-node-polyfills (!) Missing global variable names @@ -87,18 +86,19 @@ path (guessing 'path') url (guessing 'url') util (guessing 'require$$0') created packages/compiler-sfc/dist/compiler-sfc.global.js in ?s +created packages/compiler-ssr/dist/compiler-ssr.cjs.js in ?s Warning: dist/packages/compiler-sfc/src/compileScript.d.ts:27:36 - (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag Warning: dist/packages/compiler-sfc/src/compileScript.d.ts:27:23 - (tsdoc-html-tag-missing-equals) The HTML element has an invalid attribute: Expecting "=" after HTML attribute name Warning: dist/packages/compiler-sfc/src/compileStyle.d.ts:18:8 - (tsdoc-missing-deprecation-message) The @deprecated block must include a deprecation message, e.g. describing the recommended alternative /vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.esm-bundler.js... /vue-next/packages/runtime-core/src/index.ts → packages/runtime-core/dist/runtime-core.esm-bundler.js... -[!] (plugin rpt2) Error: /vue-next/packages/reactivity/src/baseHandlers.ts(192,3): semantic error TS2322: Type '(target: object) => (string | number | symbol)[]' is not assignable to type '(target: object) => ArrayLike'. +[!] (plugin rpt2) Error: /vue-next/packages/reactivity/src/baseHandlers.ts(195,3): semantic error TS2322: Type '(target: object) => (string | number | symbol)[]' is not assignable to type '(target: object) => ArrayLike'. Type '(string | number | symbol)[]' is not assignable to type 'ArrayLike'. Index signatures are incompatible. Type 'string | number | symbol' is not assignable to type 'string | symbol'. Type 'number' is not assignable to type 'string | symbol'. packages/reactivity/src/baseHandlers.ts -Error: /vue-next/packages/reactivity/src/baseHandlers.ts(192,3): semantic error TS2322: Type '(target: object) => (string | number | symbol)[]' is not assignable to type '(target: object) => ArrayLike'. +Error: /vue-next/packages/reactivity/src/baseHandlers.ts(195,3): semantic error TS2322: Type '(target: object) => (string | number | symbol)[]' is not assignable to type '(target: object) => ArrayLike'. Type '(string | number | symbol)[]' is not assignable to type 'ArrayLike'. Index signatures are incompatible. Type 'string | number | symbol' is not assignable to type 'string | symbol'. @@ -116,13 +116,13 @@ Error: /vue-next/packages/reactivity/src/baseHandlers.ts(192,3): semantic error /vue-next/node_modules/brotli/build/encode.js:3 1' is not assignable to parameter of type 'Either<`invalid color ${string}`, string>'. - Type 'Left' is not assignable to type 'Either<`invalid color ${string}`, string>'. - Type 'Left' is not assignable to type 'Left<`invalid color ${string}`>'. - Type 'string' is not assignable to type '`invalid color ${string}`'. - - - -Standard error: diff --git a/tests/baselines/reference/user/graceful-fs.log b/tests/baselines/reference/user/graceful-fs.log index 68089e941289f..8128d3e1a0303 100644 --- a/tests/baselines/reference/user/graceful-fs.log +++ b/tests/baselines/reference/user/graceful-fs.log @@ -1,7 +1,7 @@ Exit Code: 2 Standard output: -node_modules/graceful-fs/clone.js(12,9): error TS2403: Subsequent variable declarations must have the same type. Variable 'copy' must be of type '{ __proto__: any; }', but here has type 'any'. -node_modules/graceful-fs/clone.js(15,38): error TS2345: Argument of type 'PropertyDescriptor | undefined' is not assignable to parameter of type 'PropertyDescriptor & ThisType'. +node_modules/graceful-fs/clone.js(16,9): error TS2403: Subsequent variable declarations must have the same type. Variable 'copy' must be of type '{ __proto__: any; }', but here has type 'any'. +node_modules/graceful-fs/clone.js(19,38): error TS2345: Argument of type 'PropertyDescriptor | undefined' is not assignable to parameter of type 'PropertyDescriptor & ThisType'. Type 'undefined' is not assignable to type 'PropertyDescriptor & ThisType'. Type 'undefined' is not assignable to type 'PropertyDescriptor'. node_modules/graceful-fs/graceful-fs.js(34,3): error TS2322: Type '(msg: string, ...param: any[]) => void' is not assignable to type '() => void'. @@ -11,14 +11,14 @@ node_modules/graceful-fs/graceful-fs.js(74,30): error TS2345: Argument of type ' node_modules/graceful-fs/graceful-fs.js(86,13): error TS2554: Expected 0 arguments, but got 1. node_modules/graceful-fs/graceful-fs.js(97,54): error TS2339: Property '__patched' does not exist on type 'typeof import("fs")'. node_modules/graceful-fs/graceful-fs.js(99,8): error TS2339: Property '__patched' does not exist on type 'typeof import("fs")'. -node_modules/graceful-fs/graceful-fs.js(207,5): error TS2539: Cannot assign to 'ReadStream' because it is not a variable. -node_modules/graceful-fs/graceful-fs.js(208,5): error TS2539: Cannot assign to 'WriteStream' because it is not a variable. -node_modules/graceful-fs/graceful-fs.js(228,7): error TS2539: Cannot assign to 'ReadStream' because it is not a variable. -node_modules/graceful-fs/graceful-fs.js(238,7): error TS2539: Cannot assign to 'WriteStream' because it is not a variable. -node_modules/graceful-fs/graceful-fs.js(272,68): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any?, any?, ...any[]]'. -node_modules/graceful-fs/graceful-fs.js(295,70): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any?, any?, ...any[]]'. -node_modules/graceful-fs/graceful-fs.js(344,9): error TS2554: Expected 0 arguments, but got 3. -node_modules/graceful-fs/graceful-fs.js(351,11): error TS2554: Expected 0 arguments, but got 3. +node_modules/graceful-fs/graceful-fs.js(222,5): error TS2539: Cannot assign to 'ReadStream' because it is not a variable. +node_modules/graceful-fs/graceful-fs.js(223,5): error TS2539: Cannot assign to 'WriteStream' because it is not a variable. +node_modules/graceful-fs/graceful-fs.js(243,7): error TS2539: Cannot assign to 'ReadStream' because it is not a variable. +node_modules/graceful-fs/graceful-fs.js(253,7): error TS2539: Cannot assign to 'WriteStream' because it is not a variable. +node_modules/graceful-fs/graceful-fs.js(287,68): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any?, any?, ...any[]]'. +node_modules/graceful-fs/graceful-fs.js(310,70): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any?, any?, ...any[]]'. +node_modules/graceful-fs/graceful-fs.js(359,9): error TS2554: Expected 0 arguments, but got 3. +node_modules/graceful-fs/graceful-fs.js(366,11): error TS2554: Expected 0 arguments, but got 3. node_modules/graceful-fs/legacy-streams.js(14,17): error TS2345: Argument of type 'this' is not assignable to parameter of type 'Stream'. Type 'ReadStream' is missing the following properties from type 'Stream': pipe, addListener, on, once, and 12 more. node_modules/graceful-fs/legacy-streams.js(36,14): error TS2339: Property 'encoding' does not exist on type 'ReadStream'. diff --git a/tests/baselines/reference/user/lodash.log b/tests/baselines/reference/user/lodash.log index 6dbbada2d9ae2..cabee0145f6cc 100644 --- a/tests/baselines/reference/user/lodash.log +++ b/tests/baselines/reference/user/lodash.log @@ -93,7 +93,7 @@ node_modules/lodash/_baseWrapperValue.js(18,21): error TS2339: Property 'value' node_modules/lodash/_cloneArrayBuffer.js(11,20): error TS2351: This expression is not constructable. Type 'Function' has no construct signatures. node_modules/lodash/_cloneBuffer.js(4,69): error TS2339: Property 'nodeType' does not exist on type '(buffer: Buffer, isDeep?: boolean | undefined) => Buffer'. -node_modules/lodash/_cloneBuffer.js(7,80): error TS2339: Property 'nodeType' does not exist on type '{ "\"../../../tests/cases/user/lodash/node_modules/lodash/_cloneBuffer\"": (buffer: Buffer, isDeep?: boolean | undefined) => Buffer; }'. +node_modules/lodash/_cloneBuffer.js(7,80): error TS2339: Property 'nodeType' does not exist on type '{ exports: (buffer: Buffer, isDeep?: boolean | undefined) => Buffer; }'. node_modules/lodash/_cloneBuffer.js(29,56): error TS2351: This expression is not constructable. Type 'Function' has no construct signatures. node_modules/lodash/_createAggregator.js(19,60): error TS2554: Expected 0-1 arguments, but got 2. @@ -172,7 +172,7 @@ node_modules/lodash/_insertWrapDetails.js(20,3): error TS2322: Type 'string' is node_modules/lodash/_memoizeCapped.js(22,22): error TS2339: Property 'cache' does not exist on type 'Function'. node_modules/lodash/_mergeData.js(60,26): error TS2554: Expected 4 arguments, but got 3. node_modules/lodash/_mergeData.js(67,26): error TS2554: Expected 4 arguments, but got 3. -node_modules/lodash/_nodeUtil.js(7,80): error TS2339: Property 'nodeType' does not exist on type '{ "\"../../../tests/cases/user/lodash/node_modules/lodash/_nodeUtil\"": any; }'. +node_modules/lodash/_nodeUtil.js(7,80): error TS2339: Property 'nodeType' does not exist on type '{ exports: any; }'. node_modules/lodash/_nodeUtil.js(13,47): error TS2339: Property 'process' does not exist on type 'false | (Global & typeof globalThis)'. Property 'process' does not exist on type 'false'. node_modules/lodash/_overRest.js(15,32): error TS1016: A required parameter cannot follow an optional parameter. @@ -361,7 +361,7 @@ node_modules/lodash/fp/util.js(2,26): error TS2345: Argument of type '{ attempt: node_modules/lodash/inRange.js(43,33): error TS1016: A required parameter cannot follow an optional parameter. node_modules/lodash/includes.js(40,49): error TS1016: A required parameter cannot follow an optional parameter. node_modules/lodash/intersectionBy.js(41,55): error TS2554: Expected 0-1 arguments, but got 2. -node_modules/lodash/isBuffer.js(8,80): error TS2339: Property 'nodeType' does not exist on type '{ "\"../../../tests/cases/user/lodash/node_modules/lodash/isBuffer\"": any; }'. +node_modules/lodash/isBuffer.js(8,80): error TS2339: Property 'nodeType' does not exist on type '{ exports: any; }'. node_modules/lodash/isEqual.js(32,10): error TS2554: Expected 3-5 arguments, but got 2. node_modules/lodash/isEqualWith.js(38,59): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'boolean'. node_modules/lodash/iteratee.js(50,74): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'. diff --git a/tests/baselines/reference/user/npm.log b/tests/baselines/reference/user/npm.log index 3ecc41015c968..290e5e9a26cb1 100644 --- a/tests/baselines/reference/user/npm.log +++ b/tests/baselines/reference/user/npm.log @@ -588,7 +588,6 @@ node_modules/npm/lib/npm.js(429,38): error TS2339: Property 'config' does not ex node_modules/npm/lib/npm.js(439,33): error TS2339: Property 'config' does not exist on type 'EventEmitter'. node_modules/npm/lib/npm.js(445,34): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. node_modules/npm/lib/npm.js(460,13): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(465,7): error TS2367: This condition will always return 'false' since the types 'Module | undefined' and '{ "\"../../../tests/cases/user/npm/node_modules/npm/lib/npm\"": EventEmitter; }' have no overlap. node_modules/npm/lib/outdated.js(36,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. node_modules/npm/lib/outdated.js(71,30): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. node_modules/npm/lib/outdated.js(74,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. @@ -639,8 +638,7 @@ node_modules/npm/lib/pack.js(127,15): error TS2339: Property 'config' does not e node_modules/npm/lib/pack.js(147,36): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'. node_modules/npm/lib/pack.js(177,25): error TS2339: Property 'config' does not exist on type 'EventEmitter'. node_modules/npm/lib/pack.js(299,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(300,20): error TS2345: Argument of type '`--${string}=${any}`' is not assignable to parameter of type 'never'. - Type 'string' is not assignable to type 'never'. +node_modules/npm/lib/pack.js(300,20): error TS2345: Argument of type 'string' is not assignable to parameter of type 'never'. node_modules/npm/lib/pack.js(300,36): error TS2339: Property 'config' does not exist on type 'EventEmitter'. node_modules/npm/lib/pack.js(333,15): error TS2531: Object is possibly 'null'. node_modules/npm/lib/pack.js(335,17): error TS2339: Property 'code' does not exist on type 'Error'. @@ -857,7 +855,6 @@ node_modules/npm/lib/utils/locker.js(28,20): error TS2339: Property 'config' doe node_modules/npm/lib/utils/locker.js(29,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. node_modules/npm/lib/utils/locker.js(65,15): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/utils/map-to-registry.js(98,45): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/metrics-launch.js(6,5): error TS2367: This condition will always return 'false' since the types 'Module | undefined' and '{ "\"../../../tests/cases/user/npm/node_modules/npm/lib/utils/metrics-launch\"": () => child_process.ChildProcessWithoutNullStreams | undefined; }' have no overlap. node_modules/npm/lib/utils/metrics-launch.js(12,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. node_modules/npm/lib/utils/metrics-launch.js(13,36): error TS2339: Property 'config' does not exist on type 'EventEmitter'. node_modules/npm/lib/utils/metrics-launch.js(14,30): error TS2339: Property 'config' does not exist on type 'EventEmitter'. From d2326ab13a6f500f73654341dc684df4283bb9f5 Mon Sep 17 00:00:00 2001 From: typescript-bot Date: Sat, 6 Feb 2021 09:43:20 +0000 Subject: [PATCH 2/2] Update user baselines --- tests/baselines/reference/docker/vue-next.log | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/baselines/reference/docker/vue-next.log b/tests/baselines/reference/docker/vue-next.log index 61014962785f8..09cdf778fd068 100644 --- a/tests/baselines/reference/docker/vue-next.log +++ b/tests/baselines/reference/docker/vue-next.log @@ -19,14 +19,6 @@ The API report is up to date: temp/compiler-dom.api.md Writing package typings: /vue-next/packages/compiler-dom/dist/compiler-dom.d.ts Writing package typings: /vue-next/dist/compiler-dom.d.ts API Extractor completed successfully. -Rolling up type definitions for compiler-sfc... -Analysis will use the bundled TypeScript version 4.1.3 -*** The target project appears to use TypeScript X.X.X-insiders.xxxxxxxx which is newer than the bundled compiler engine; consider upgrading API Extractor. -Writing: /vue-next/temp/compiler-sfc.api.json -The API report is up to date: temp/compiler-sfc.api.md -Writing package typings: /vue-next/packages/compiler-sfc/dist/compiler-sfc.d.ts -Writing package typings: /vue-next/dist/compiler-sfc.d.ts -API Extractor completed successfully. Rolling up type definitions for compiler-ssr... Analysis will use the bundled TypeScript version 4.1.3 *** The target project appears to use TypeScript X.X.X-insiders.xxxxxxxx which is newer than the bundled compiler engine; consider upgrading API Extractor. @@ -35,6 +27,14 @@ The API report is up to date: temp/compiler-ssr.api.md Writing package typings: /vue-next/packages/compiler-ssr/dist/compiler-ssr.d.ts Writing package typings: /vue-next/dist/compiler-ssr.d.ts API Extractor completed successfully. +Rolling up type definitions for compiler-sfc... +Analysis will use the bundled TypeScript version 4.1.3 +*** The target project appears to use TypeScript X.X.X-insiders.xxxxxxxx which is newer than the bundled compiler engine; consider upgrading API Extractor. +Writing: /vue-next/temp/compiler-sfc.api.json +The API report is up to date: temp/compiler-sfc.api.md +Writing package typings: /vue-next/packages/compiler-sfc/dist/compiler-sfc.d.ts +Writing package typings: /vue-next/dist/compiler-sfc.d.ts +API Extractor completed successfully. @@ -75,9 +75,10 @@ Warning: dist/packages/compiler-core/src/options.d.ts:149:35 - (tsdoc-malformed- Warning: dist/packages/compiler-core/src/options.d.ts:149:36 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" /vue-next/packages/compiler-sfc/src/index.ts → packages/compiler-sfc/dist/compiler-sfc.cjs.js... created packages/compiler-dom/dist/compiler-dom.global.prod.js in ?s +/vue-next/packages/compiler-ssr/src/index.ts → packages/compiler-ssr/dist/compiler-ssr.cjs.js... created packages/compiler-sfc/dist/compiler-sfc.cjs.js in ?s /vue-next/packages/compiler-sfc/src/index.ts → packages/compiler-sfc/dist/compiler-sfc.global.js... -/vue-next/packages/compiler-ssr/src/index.ts → packages/compiler-ssr/dist/compiler-ssr.cjs.js... +created packages/compiler-ssr/dist/compiler-ssr.cjs.js in ?s (!) Missing shims for Node.js built-ins Creating a browser bundle that depends on 'path', 'url' and 'util'. You might need to include https://github.com/ionic-team/rollup-plugin-node-polyfills (!) Missing global variable names @@ -86,7 +87,6 @@ path (guessing 'path') url (guessing 'url') util (guessing 'require$$0') created packages/compiler-sfc/dist/compiler-sfc.global.js in ?s -created packages/compiler-ssr/dist/compiler-ssr.cjs.js in ?s Warning: dist/packages/compiler-sfc/src/compileScript.d.ts:27:36 - (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag Warning: dist/packages/compiler-sfc/src/compileScript.d.ts:27:23 - (tsdoc-html-tag-missing-equals) The HTML element has an invalid attribute: Expecting "=" after HTML attribute name Warning: dist/packages/compiler-sfc/src/compileStyle.d.ts:18:8 - (tsdoc-missing-deprecation-message) The @deprecated block must include a deprecation message, e.g. describing the recommended alternative