-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
show unresolved free var in snapshots
- Loading branch information
Showing
22 changed files
with
713 additions
and
2 deletions.
There are no files selected for viewing
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
2 changes: 2 additions & 0 deletions
2
crates/turbopack-ecmascript/tests/analyzer/graph/1/resolved-effects.snapshot
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
0 -> 1 free var = FreeVar(require) | ||
|
||
0 -> 2 call = require*0*((1 | `${("hello" | "world")}.js`)) | ||
- *0* require: The require method from CommonJS |
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
3 changes: 3 additions & 0 deletions
3
crates/turbopack-ecmascript/tests/analyzer/graph/array/resolved-effects.snapshot
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,3 @@ | ||
0 -> 3 free var = FreeVar(global) | ||
|
||
0 -> 6 free var = FreeVar(global) |
1 change: 1 addition & 0 deletions
1
crates/turbopack-ecmascript/tests/analyzer/graph/declarations/resolved-effects.snapshot
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 @@ | ||
0 -> 1 free var = FreeVar(f) |
8 changes: 8 additions & 0 deletions
8
crates/turbopack-ecmascript/tests/analyzer/graph/esbuild-reduced/resolved-effects.snapshot
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
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
2 changes: 2 additions & 0 deletions
2
crates/turbopack-ecmascript/tests/analyzer/graph/free-vars/resolved-effects.snapshot
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
0 -> 2 free var = FreeVar(Buffer) | ||
|
||
0 -> 3 member call = ???*0*["from"]("Hello World") | ||
- *0* FreeVar(Buffer) | ||
⚠️ unknown global |
2 changes: 2 additions & 0 deletions
2
crates/turbopack-ecmascript/tests/analyzer/graph/iife/resolved-effects.snapshot
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
0 -> 1 free var = FreeVar(require) | ||
|
||
0 -> 2 conditional = true | ||
|
||
2 -> 3 call = require*0*("test") | ||
|
11 changes: 11 additions & 0 deletions
11
crates/turbopack-ecmascript/tests/analyzer/graph/logical/resolved-effects.snapshot
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,11 @@ | ||
0 -> 1 free var = FreeVar(global) | ||
|
||
0 -> 2 free var = FreeVar(global) | ||
|
||
0 -> 3 free var = FreeVar(global) | ||
|
||
0 -> 4 free var = FreeVar(global) | ||
|
||
0 -> 5 free var = FreeVar(global) | ||
|
||
0 -> 6 free var = FreeVar(global) |
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
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
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
4 changes: 4 additions & 0 deletions
4
crates/turbopack-ecmascript/tests/analyzer/graph/member-call/resolved-effects.snapshot
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
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
Oops, something went wrong.