Skip to content

fix(ssr): fix semicolon injection by ssr transform #22655

fix(ssr): fix semicolon injection by ssr transform

fix(ssr): fix semicolon injection by ssr transform #22655

Triggered via pull request December 29, 2024 18:14
Status Failure
Total duration 2m 25s
Artifacts

ci.yml

on: pull_request
Get changed files
10s
Get changed files
Lint: node-20, ubuntu-latest
1m 55s
Lint: node-20, ubuntu-latest
Matrix: test
Build & Test Passed or Skipped
0s
Build & Test Passed or Skipped
Build & Test Failed
0s
Build & Test Failed
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
packages/vite/src/node/ssr/__tests__/ssrTransform.spec.ts > does not break minified code: packages/vite/src/node/ssr/__tests__/ssrTransform.spec.ts#L1363
Error: Snapshot `does not break minified code 1` mismatched - Expected + Received "const __vite_ssr_import_0__ = await __vite_ssr_import__("a", {"importedNames":["default"]}); const c = () => { - if(true){return}(0,__vite_ssr_import_0__.default)(1,{}) + if(true){return}(0,;__vite_ssr_import_0__.default)(1,{}) }" ❯ packages/vite/src/node/ssr/__tests__/ssrTransform.spec.ts:1363:5
Build&Test: node-22, macos-latest
Process completed with exit code 1.
packages/vite/src/node/ssr/__tests__/ssrTransform.spec.ts > does not break minified code: packages/vite/src/node/ssr/__tests__/ssrTransform.spec.ts#L1363
Error: Snapshot `does not break minified code 1` mismatched - Expected + Received "const __vite_ssr_import_0__ = await __vite_ssr_import__("a", {"importedNames":["default"]}); const c = () => { - if(true){return}(0,__vite_ssr_import_0__.default)(1,{}) + if(true){return}(0,;__vite_ssr_import_0__.default)(1,{}) }" ❯ packages/vite/src/node/ssr/__tests__/ssrTransform.spec.ts:1363:5
Build&Test: node-20, ubuntu-latest
Process completed with exit code 1.
packages/vite/src/node/ssr/__tests__/ssrTransform.spec.ts > does not break minified code: packages/vite/src/node/ssr/__tests__/ssrTransform.spec.ts#L1363
Error: Snapshot `does not break minified code 1` mismatched - Expected + Received "const __vite_ssr_import_0__ = await __vite_ssr_import__("a", {"importedNames":["default"]}); const c = () => { - if(true){return}(0,__vite_ssr_import_0__.default)(1,{}) + if(true){return}(0,;__vite_ssr_import_0__.default)(1,{}) }" ❯ packages/vite/src/node/ssr/__tests__/ssrTransform.spec.ts:1363:5
Build&Test: node-18, ubuntu-latest
Process completed with exit code 1.
packages/vite/src/node/ssr/__tests__/ssrTransform.spec.ts > does not break minified code: packages/vite/src/node/ssr/__tests__/ssrTransform.spec.ts#L1363
Error: Snapshot `does not break minified code 1` mismatched - Expected + Received "const __vite_ssr_import_0__ = await __vite_ssr_import__("a", {"importedNames":["default"]}); const c = () => { - if(true){return}(0,__vite_ssr_import_0__.default)(1,{}) + if(true){return}(0,;__vite_ssr_import_0__.default)(1,{}) }" ❯ packages/vite/src/node/ssr/__tests__/ssrTransform.spec.ts:1363:5
Build&Test: node-22, ubuntu-latest
Process completed with exit code 1.
packages/vite/src/node/ssr/__tests__/ssrTransform.spec.ts > does not break minified code: packages/vite/src/node/ssr/__tests__/ssrTransform.spec.ts#L1363
Error: Snapshot `does not break minified code 1` mismatched - Expected + Received "const __vite_ssr_import_0__ = await __vite_ssr_import__("a", {"importedNames":["default"]}); const c = () => { - if(true){return}(0,__vite_ssr_import_0__.default)(1,{}) + if(true){return}(0,;__vite_ssr_import_0__.default)(1,{}) }" ❯ packages/vite/src/node/ssr/__tests__/ssrTransform.spec.ts:1363:5
Build&Test: node-22, windows-latest
Process completed with exit code 1.
Get changed files
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build&Test: node-20, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build&Test: node-18, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build&Test: node-22, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint: node-20, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build & Test Failed
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636