-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
164 additions
and
0 deletions.
There are no files selected for viewing
60 changes: 60 additions & 0 deletions
60
...ts/execution/turbopack/tree-shaking/basic/issues/Error evaluating Node.js code-68c403.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
error - [transform] [project]/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/input/index.js Error evaluating Node.js code | ||
Error: Could not parse module '[project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/not-compiled.js' | ||
|
||
Expression expected | ||
[at Object.<anonymous> (WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/4f837_65cc75._.js:329:11)] | ||
[at [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/not-compiled.js [test] (ecmascript) (WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/4f837_65cc75._.js:334:3)] | ||
at turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:347:21 [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:545:27] | ||
at runModuleExecutionHooks (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:403:5) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:587:9] | ||
at instantiateModule (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:345:5) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:543:9] | ||
at getOrInstantiateModuleFromParent (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:451:10) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:619:12] | ||
at esmImport (turbopack://[turbopack]/shared/runtime-utils.ts:228:18) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:142:20] | ||
[at WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/4f837_65cc75._.js:435:268] | ||
[at [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/index.js [test] (ecmascript) <module evaluation> (WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/4f837_65cc75._.js:458:3)] | ||
at turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:347:21 [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:545:27] | ||
at runModuleExecutionHooks (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:403:5) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:587:9] | ||
at instantiateModule (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:345:5) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:543:9] | ||
at getOrInstantiateModuleFromParent (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:451:10) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:619:12] | ||
at esmImport (turbopack://[turbopack]/shared/runtime-utils.ts:228:18) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:142:20] | ||
[at WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/[root of the server]__eb59da._.js:41:286] | ||
at asyncModule (turbopack://[turbopack]/shared/runtime-utils.ts:465:3) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:299:5] | ||
[at WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/[root of the server]__eb59da._.js:30:1] | ||
[at [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/index.js [test] (ecmascript) <module evaluation> (WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/[root of the server]__eb59da._.js:254:3)] | ||
at turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:347:21 [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:545:27] | ||
at runModuleExecutionHooks (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:403:5) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:587:9] | ||
at instantiateModule (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:345:5) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:543:9] | ||
at getOrInstantiateModuleFromParent (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:451:10) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:619:12] | ||
at esmImport (turbopack://[turbopack]/shared/runtime-utils.ts:228:18) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:142:20] | ||
[at Module.<anonymous> (WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/[root of the server]__eb59da._.js:258:251)] | ||
[at [project]/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/input/index.js [test] (ecmascript) <module evaluation> (WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/[root of the server]__eb59da._.js:263:3)] | ||
at turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:347:21 [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:545:27] | ||
at runModuleExecutionHooks (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:403:5) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:587:9] | ||
at instantiateModule (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:345:5) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:543:9] | ||
at getOrInstantiateModuleFromParent (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:451:10) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:619:12] | ||
at esmImport (turbopack://[turbopack]/shared/runtime-utils.ts:228:18) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:142:20] | ||
[at WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/[root of the server]__eb59da._.js:269:235] | ||
at asyncModule (turbopack://[turbopack]/shared/runtime-utils.ts:465:3) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:299:5] | ||
[at WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/[root of the server]__eb59da._.js:267:1] | ||
[at [project]/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/input/index.js [test] (ecmascript) <facade> (WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/[root of the server]__eb59da._.js:279:3)] | ||
at turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:347:21 [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:545:27] | ||
at runModuleExecutionHooks (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:403:5) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:587:9] | ||
at instantiateModule (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:345:5) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:543:9] | ||
at getOrInstantiateRuntimeModule (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:1311:10) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:1279:12] | ||
at Object.registerChunk (turbopack://[turbopack]/dev/runtime/nodejs/runtime-backend-nodejs.ts:90:11) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:1475:21] | ||
at registerChunk (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:1375:18) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:1328:20] | ||
[at <anonymous>] | ||
[at WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:1503:18] | ||
[at Object.<anonymous> (WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:1504:3)] | ||
[at Module._compile (node:internal/modules/cjs/loader:1256:14)] | ||
[at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)] | ||
[at Module.load (node:internal/modules/cjs/loader:1119:32)] | ||
[at Module._load (node:internal/modules/cjs/loader:960:12)] | ||
[at Module.require (node:internal/modules/cjs/loader:1143:19)] | ||
[at require (node:internal/modules/cjs/helpers:121:18)] | ||
[at Object.<anonymous> (WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/jest-entry.js:6:1)] | ||
[at Module._compile (node:internal/modules/cjs/loader:1256:14)] | ||
[at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)] | ||
[at Module.load (node:internal/modules/cjs/loader:1119:32)] | ||
[at Module._load (node:internal/modules/cjs/loader:960:12)] | ||
[at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)] | ||
[at node:internal/main/run_main_module:23:47] |
5 changes: 5 additions & 0 deletions
5
...tion/turbopack/tree-shaking/basic/issues/Parsing ecmascript source code failed-4ce15c.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
warning - [analysis] [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-named/x.js unexpected export * | ||
export * used with module [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-named/x.js [test] (ecmascript) <module evaluation> which has no exports | ||
Typescript only: Did you want to export only types with `export type * from "..."`? | ||
Note: Using `export type` is more efficient than `export *` as it won't emit any runtime code. | ||
|
5 changes: 5 additions & 0 deletions
5
...tion/turbopack/tree-shaking/basic/issues/Parsing ecmascript source code failed-b26b78.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
warning - [analysis] [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/b.js unexpected export * | ||
export * used with module [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/b.js [test] (ecmascript) <module evaluation> which has no exports | ||
Typescript only: Did you want to export only types with `export type * from "..."`? | ||
Note: Using `export type` is more efficient than `export *` as it won't emit any runtime code. | ||
|
8 changes: 8 additions & 0 deletions
8
...k/tree-shaking/basic/issues/__l___Module not found____c__ Can't resolve '__c_.-8e3b90.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
error - [analysis] [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/not-compiled.js /crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/not-compiled.js:1:0 Parsing ecmascript source code failed | ||
+ v | ||
1 + ))) | ||
+ ^ | ||
2 | | ||
|
||
Expression expected | ||
|
4 changes: 4 additions & 0 deletions
4
...tests/execution/turbopack/tree-shaking/basic/issues/unexpected export __star__-47f54b.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
warning - [analysis] [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/not-executed.js unexpected export * | ||
export * used with module [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/not-executed.js [test] (ecmascript) which has no exports | ||
Typescript only: Did you want to export only types with `export type * from "..."`? | ||
Note: Using `export type` is more efficient than `export *` as it won't emit any runtime code. |
5 changes: 5 additions & 0 deletions
5
...tests/execution/turbopack/tree-shaking/basic/issues/unexpected export __star__-9c6901.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
warning - [analysis] [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/not-compiled.js unexpected export * | ||
export * used with module [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/not-compiled.js [test] (ecmascript) which has no exports | ||
Typescript only: Did you want to export only types with `export type * from "..."`? | ||
Note: Using `export type` is more efficient than `export *` as it won't emit any runtime code. | ||
|
4 changes: 4 additions & 0 deletions
4
...tests/execution/turbopack/tree-shaking/basic/issues/unexpected export __star__-d1ab5c.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
warning - [analysis] [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/not-compiled.js unexpected export * | ||
export * used with module [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/not-compiled.js [test] (ecmascript) which has no exports | ||
Typescript only: Did you want to export only types with `export type * from "..."`? | ||
Note: Using `export type` is more efficient than `export *` as it won't emit any runtime code. |
4 changes: 4 additions & 0 deletions
4
...tests/execution/turbopack/tree-shaking/basic/issues/unexpected export __star__-d7b7e1.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
warning - [analysis] [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-partial/not-executed.js unexpected export * | ||
export * used with module [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-partial/not-executed.js [test] (ecmascript) which has no exports | ||
Typescript only: Did you want to export only types with `export type * from "..."`? | ||
Note: Using `export type` is more efficient than `export *` as it won't emit any runtime code. |
5 changes: 5 additions & 0 deletions
5
...tests/execution/turbopack/tree-shaking/basic/issues/unexpected export __star__-d93f40.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
warning - [analysis] [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-partial/not-executed.js unexpected export * | ||
export * used with module [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-partial/not-executed.js [test] (ecmascript) which has no exports | ||
Typescript only: Did you want to export only types with `export type * from "..."`? | ||
Note: Using `export type` is more efficient than `export *` as it won't emit any runtime code. | ||
|
4 changes: 4 additions & 0 deletions
4
...tests/execution/turbopack/tree-shaking/basic/issues/unexpected export __star__-dc634e.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
warning - [analysis] [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-partial/not-compiled.js unexpected export * | ||
export * used with module [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-partial/not-compiled.js [test] (ecmascript) which has no exports | ||
Typescript only: Did you want to export only types with `export type * from "..."`? | ||
Note: Using `export type` is more efficient than `export *` as it won't emit any runtime code. |
Oops, something went wrong.