From 765447c21ac180b6a7f7a6f3e31c8b0f248b24e2 Mon Sep 17 00:00:00 2001 From: typescript-bot Date: Wed, 17 Jun 2020 20:32:06 +0000 Subject: [PATCH 1/2] Update user baselines --- tests/baselines/reference/docker/vue-next.log | 10 +++++----- .../reference/user/chrome-devtools-frontend.log | 2 +- tests/baselines/reference/user/webpack.log | 8 ++++++++ 3 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 tests/baselines/reference/user/webpack.log diff --git a/tests/baselines/reference/docker/vue-next.log b/tests/baselines/reference/docker/vue-next.log index a5eae55b1b889..ea42c1a2c1888 100644 --- a/tests/baselines/reference/docker/vue-next.log +++ b/tests/baselines/reference/docker/vue-next.log @@ -115,18 +115,18 @@ Warning: /vue-next/packages/runtime-dom/src/components/Transition.ts:77:5 - (TS7 packages/runtime-core/src/apiInject.ts Error: /vue-next/packages/runtime-core/src/apiInject.ts(40,9): semantic error TS2360: The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'. at error (/vue-next/node_modules/rollup/dist/shared/rollup.js:213:30) - at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:17117:12) - at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17911:24) - at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17290:38) + at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:17142:12) + at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17936:24) + at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17315:38) at RollupContext.error (/vue-next/node_modules/rollup-plugin-typescript2/src/rollupcontext.ts:37:18) at /vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:41:11 at arrayEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:516:11) at forEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:9342:14) at _.each (/vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:9:2) at Object.transform (/vue-next/node_modules/rollup-plugin-typescript2/src/index.ts:242:5) -(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:cf2f278,NODE_ENV:production,TARGET:runtime-core,TYPES:true +(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1: rollup -c --environment COMMIT:8a2cf21,NODE_ENV:production,TARGET:runtime-core,TYPES:true at makeError (/vue-next/node_modules/execa/lib/error.js:59:11) - at handlePromise (/vue-next/node_modules/execa/index.js:112:26) + at handlePromise (/vue-next/node_modules/execa/index.js:114:26) at processTicksAndRejections (internal/process/task_queues.js:97:5) at async build (/vue-next/scripts/build.js:71:3) at async buildAll (/vue-next/scripts/build.js:50:5) diff --git a/tests/baselines/reference/user/chrome-devtools-frontend.log b/tests/baselines/reference/user/chrome-devtools-frontend.log index 84d631831f062..72e36c0f613b4 100644 --- a/tests/baselines/reference/user/chrome-devtools-frontend.log +++ b/tests/baselines/reference/user/chrome-devtools-frontend.log @@ -1,6 +1,6 @@ Exit Code: 1 Standard output: -../../../../built/local/lib.es5.d.ts(1433,11): error TS2300: Duplicate identifier 'ArrayLike'. +../../../../built/local/lib.es5.d.ts(1451,11): error TS2300: Duplicate identifier 'ArrayLike'. ../../../../node_modules/@types/node/globals.d.ts(167,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'module' must be of type '{}', but here has type 'NodeModule'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(43,8): error TS2339: Property '_importScriptPathPrefix' does not exist on type 'Window & typeof globalThis'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(77,16): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. diff --git a/tests/baselines/reference/user/webpack.log b/tests/baselines/reference/user/webpack.log new file mode 100644 index 0000000000000..aebc3d41e2784 --- /dev/null +++ b/tests/baselines/reference/user/webpack.log @@ -0,0 +1,8 @@ +Exit Code: 1 +Standard output: +lib/ContextModule.js(350,32): error TS2345: Argument of type 'Pick' is not assignable to parameter of type 'ContextOptions & ContextModuleOptionsExtras'. + Property 'resolveOptions' is missing in type 'Pick' but required in type 'ContextModuleOptionsExtras'. + + + +Standard error: From 5dfe704fdf9640d4249c5eeaa7769eab14d44e67 Mon Sep 17 00:00:00 2001 From: typescript-bot Date: Wed, 17 Jun 2020 20:57:53 +0000 Subject: [PATCH 2/2] Update user baselines --- tests/baselines/reference/docker/vue-next.log | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/baselines/reference/docker/vue-next.log b/tests/baselines/reference/docker/vue-next.log index ea42c1a2c1888..5675f83965bfb 100644 --- a/tests/baselines/reference/docker/vue-next.log +++ b/tests/baselines/reference/docker/vue-next.log @@ -124,7 +124,7 @@ Error: /vue-next/packages/runtime-core/src/apiInject.ts(40,9): semantic error TS at forEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:9342:14) at _.each (/vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:9:2) at Object.transform (/vue-next/node_modules/rollup-plugin-typescript2/src/index.ts:242:5) -(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1: rollup -c --environment COMMIT:8a2cf21,NODE_ENV:production,TARGET:runtime-core,TYPES:true +(node:18) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1: rollup -c --environment COMMIT:8a2cf21,NODE_ENV:production,TARGET:runtime-core,TYPES:true at makeError (/vue-next/node_modules/execa/lib/error.js:59:11) at handlePromise (/vue-next/node_modules/execa/index.js:114:26) at processTicksAndRejections (internal/process/task_queues.js:97:5) @@ -132,5 +132,5 @@ Error: /vue-next/packages/runtime-core/src/apiInject.ts(40,9): semantic error TS at async buildAll (/vue-next/scripts/build.js:50:5) at async run (/vue-next/scripts/build.js:40:5) (Use `node --trace-warnings ...` to show where the warning was created) -(node:17) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) -(node:17) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. +(node:18) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) +(node:18) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.