react-code-dataset / next.js /turbopack /crates /turbopack-ecmascript /tests /analyzer /graph /esbuild /graph.snapshot
| [ | |
| ( | |
| "*arrow function 2666*", | |
| Function( | |
| 16, | |
| 2666, | |
| Alternatives { | |
| total_nodes: 15, | |
| values: [ | |
| Array { | |
| total_nodes: 10, | |
| items: [ | |
| Constant( | |
| Str( | |
| Atom( | |
| "node", | |
| ), | |
| ), | |
| ), | |
| Array { | |
| total_nodes: 8, | |
| items: [ | |
| MemberCall( | |
| 7, | |
| Variable( | |
| ( | |
| "path2", | |
| #2, | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "join", | |
| ), | |
| ), | |
| ), | |
| [ | |
| FreeVar( | |
| "__dirname", | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "..", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "bin", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild", | |
| ), | |
| ), | |
| ), | |
| ], | |
| ), | |
| ], | |
| mutable: true, | |
| }, | |
| ], | |
| mutable: true, | |
| }, | |
| Array { | |
| total_nodes: 4, | |
| items: [ | |
| Call( | |
| 2, | |
| Variable( | |
| ( | |
| "generateBinPath", | |
| #2, | |
| ), | |
| ), | |
| [], | |
| ), | |
| Array { | |
| total_nodes: 1, | |
| items: [], | |
| mutable: true, | |
| }, | |
| ], | |
| mutable: true, | |
| }, | |
| ], | |
| logical_property: None, | |
| }, | |
| ), | |
| ), | |
| ( | |
| "args", | |
| Member( | |
| 4, | |
| Call( | |
| 2, | |
| Variable( | |
| ( | |
| "esbuildCommandAndArgs", | |
| #2, | |
| ), | |
| ), | |
| [], | |
| ), | |
| Constant( | |
| Num( | |
| ConstantNumber( | |
| 1.0, | |
| ), | |
| ), | |
| ), | |
| ), | |
| ), | |
| ( | |
| "binPath", | |
| Alternatives { | |
| total_nodes: 13, | |
| values: [ | |
| Unknown { | |
| original_value: Some( | |
| Variable( | |
| ( | |
| "binPath", | |
| #7, | |
| ), | |
| ), | |
| ), | |
| reason: "pattern without value", | |
| has_side_effects: false, | |
| }, | |
| MemberCall( | |
| 7, | |
| FreeVar( | |
| "require", | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "resolve", | |
| ), | |
| ), | |
| ), | |
| [ | |
| Concat( | |
| 4, | |
| [ | |
| Variable( | |
| ( | |
| "pkg", | |
| #7, | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "/", | |
| ), | |
| ), | |
| ), | |
| Variable( | |
| ( | |
| "subpath", | |
| #7, | |
| ), | |
| ), | |
| ], | |
| ), | |
| ], | |
| ), | |
| Call( | |
| 4, | |
| FreeVar( | |
| "downloadedBinPath", | |
| ), | |
| [ | |
| Variable( | |
| ( | |
| "pkg", | |
| #7, | |
| ), | |
| ), | |
| Variable( | |
| ( | |
| "subpath", | |
| #7, | |
| ), | |
| ), | |
| ], | |
| ), | |
| ], | |
| logical_property: None, | |
| }, | |
| ), | |
| ( | |
| "binTargetPath", | |
| MemberCall( | |
| 12, | |
| Variable( | |
| ( | |
| "path", | |
| #2, | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "join", | |
| ), | |
| ), | |
| ), | |
| [ | |
| Variable( | |
| ( | |
| "esbuildLibDir", | |
| #16, | |
| ), | |
| ), | |
| Concat( | |
| 8, | |
| [ | |
| Constant( | |
| Str( | |
| Atom( | |
| "pnpapi-", | |
| ), | |
| ), | |
| ), | |
| Variable( | |
| ( | |
| "pkg", | |
| #7, | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "-", | |
| ), | |
| ), | |
| ), | |
| MemberCall( | |
| 4, | |
| Variable( | |
| ( | |
| "path", | |
| #2, | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "basename", | |
| ), | |
| ), | |
| ), | |
| [ | |
| Variable( | |
| ( | |
| "subpath", | |
| #7, | |
| ), | |
| ), | |
| ], | |
| ), | |
| ], | |
| ), | |
| ], | |
| ), | |
| ), | |
| ( | |
| "command", | |
| Member( | |
| 4, | |
| Call( | |
| 2, | |
| Variable( | |
| ( | |
| "esbuildCommandAndArgs", | |
| #2, | |
| ), | |
| ), | |
| [], | |
| ), | |
| Constant( | |
| Num( | |
| ConstantNumber( | |
| 0.0, | |
| ), | |
| ), | |
| ), | |
| ), | |
| ), | |
| ( | |
| "e#10", | |
| Unknown { | |
| original_value: Some( | |
| Variable( | |
| ( | |
| "e", | |
| #10, | |
| ), | |
| ), | |
| ), | |
| reason: "pattern without value", | |
| has_side_effects: false, | |
| }, | |
| ), | |
| ( | |
| "e#15", | |
| Unknown { | |
| original_value: Some( | |
| Variable( | |
| ( | |
| "e", | |
| #15, | |
| ), | |
| ), | |
| ), | |
| reason: "pattern without value", | |
| has_side_effects: false, | |
| }, | |
| ), | |
| ( | |
| "esbuildCommandAndArgs", | |
| Variable( | |
| ( | |
| "*arrow function 2666*", | |
| #0, | |
| ), | |
| ), | |
| ), | |
| ( | |
| "esbuildLibDir", | |
| MemberCall( | |
| 7, | |
| Variable( | |
| ( | |
| "path", | |
| #2, | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "dirname", | |
| ), | |
| ), | |
| ), | |
| [ | |
| MemberCall( | |
| 4, | |
| FreeVar( | |
| "require", | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "resolve", | |
| ), | |
| ), | |
| ), | |
| [ | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild", | |
| ), | |
| ), | |
| ), | |
| ], | |
| ), | |
| ], | |
| ), | |
| ), | |
| ( | |
| "generateBinPath", | |
| Function( | |
| 5, | |
| 1409, | |
| Alternatives { | |
| total_nodes: 4, | |
| values: [ | |
| FreeVar( | |
| "ESBUILD_BINARY_PATH", | |
| ), | |
| Variable( | |
| ( | |
| "binTargetPath", | |
| #16, | |
| ), | |
| ), | |
| Variable( | |
| ( | |
| "binPath", | |
| #7, | |
| ), | |
| ), | |
| ], | |
| logical_property: None, | |
| }, | |
| ), | |
| ), | |
| ( | |
| "isYarnPnP", | |
| Alternatives { | |
| total_nodes: 3, | |
| values: [ | |
| Constant( | |
| False, | |
| ), | |
| Constant( | |
| True, | |
| ), | |
| ], | |
| logical_property: None, | |
| }, | |
| ), | |
| ( | |
| "knownUnixlikePackages", | |
| Object { | |
| total_nodes: 31, | |
| parts: [ | |
| KeyValue( | |
| Constant( | |
| Str( | |
| Atom( | |
| "android arm64 LE", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild-android-arm64", | |
| ), | |
| ), | |
| ), | |
| ), | |
| KeyValue( | |
| Constant( | |
| Str( | |
| Atom( | |
| "darwin arm64 LE", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild-darwin-arm64", | |
| ), | |
| ), | |
| ), | |
| ), | |
| KeyValue( | |
| Constant( | |
| Str( | |
| Atom( | |
| "darwin x64 LE", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild-darwin-64", | |
| ), | |
| ), | |
| ), | |
| ), | |
| KeyValue( | |
| Constant( | |
| Str( | |
| Atom( | |
| "freebsd arm64 LE", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild-freebsd-arm64", | |
| ), | |
| ), | |
| ), | |
| ), | |
| KeyValue( | |
| Constant( | |
| Str( | |
| Atom( | |
| "freebsd x64 LE", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild-freebsd-64", | |
| ), | |
| ), | |
| ), | |
| ), | |
| KeyValue( | |
| Constant( | |
| Str( | |
| Atom( | |
| "linux arm LE", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild-linux-arm", | |
| ), | |
| ), | |
| ), | |
| ), | |
| KeyValue( | |
| Constant( | |
| Str( | |
| Atom( | |
| "linux arm64 LE", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild-linux-arm64", | |
| ), | |
| ), | |
| ), | |
| ), | |
| KeyValue( | |
| Constant( | |
| Str( | |
| Atom( | |
| "linux ia32 LE", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild-linux-32", | |
| ), | |
| ), | |
| ), | |
| ), | |
| KeyValue( | |
| Constant( | |
| Str( | |
| Atom( | |
| "linux mips64el LE", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild-linux-mips64le", | |
| ), | |
| ), | |
| ), | |
| ), | |
| KeyValue( | |
| Constant( | |
| Str( | |
| Atom( | |
| "linux ppc64 LE", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild-linux-ppc64le", | |
| ), | |
| ), | |
| ), | |
| ), | |
| KeyValue( | |
| Constant( | |
| Str( | |
| Atom( | |
| "linux s390x BE", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild-linux-s390x", | |
| ), | |
| ), | |
| ), | |
| ), | |
| KeyValue( | |
| Constant( | |
| Str( | |
| Atom( | |
| "linux x64 LE", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild-linux-64", | |
| ), | |
| ), | |
| ), | |
| ), | |
| KeyValue( | |
| Constant( | |
| Str( | |
| Atom( | |
| "netbsd x64 LE", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild-netbsd-64", | |
| ), | |
| ), | |
| ), | |
| ), | |
| KeyValue( | |
| Constant( | |
| Str( | |
| Atom( | |
| "openbsd x64 LE", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild-openbsd-64", | |
| ), | |
| ), | |
| ), | |
| ), | |
| KeyValue( | |
| Constant( | |
| Str( | |
| Atom( | |
| "sunos x64 LE", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild-sunos-64", | |
| ), | |
| ), | |
| ), | |
| ), | |
| ], | |
| mutable: true, | |
| }, | |
| ), | |
| ( | |
| "knownWindowsPackages", | |
| Object { | |
| total_nodes: 7, | |
| parts: [ | |
| KeyValue( | |
| Constant( | |
| Str( | |
| Atom( | |
| "win32 arm64 LE", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild-windows-arm64", | |
| ), | |
| ), | |
| ), | |
| ), | |
| KeyValue( | |
| Constant( | |
| Str( | |
| Atom( | |
| "win32 ia32 LE", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild-windows-32", | |
| ), | |
| ), | |
| ), | |
| ), | |
| KeyValue( | |
| Constant( | |
| Str( | |
| Atom( | |
| "win32 x64 LE", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild-windows-64", | |
| ), | |
| ), | |
| ), | |
| ), | |
| ], | |
| mutable: true, | |
| }, | |
| ), | |
| ( | |
| "os", | |
| Call( | |
| 3, | |
| FreeVar( | |
| "require", | |
| ), | |
| [ | |
| Constant( | |
| Str( | |
| Atom( | |
| "os", | |
| ), | |
| ), | |
| ), | |
| ], | |
| ), | |
| ), | |
| ( | |
| "path", | |
| Call( | |
| 3, | |
| FreeVar( | |
| "require", | |
| ), | |
| [ | |
| Constant( | |
| Str( | |
| Atom( | |
| "path", | |
| ), | |
| ), | |
| ), | |
| ], | |
| ), | |
| ), | |
| ( | |
| "path2", | |
| Call( | |
| 3, | |
| FreeVar( | |
| "require", | |
| ), | |
| [ | |
| Constant( | |
| Str( | |
| Atom( | |
| "path", | |
| ), | |
| ), | |
| ), | |
| ], | |
| ), | |
| ), | |
| ( | |
| "pkg#3", | |
| Alternatives { | |
| total_nodes: 8, | |
| values: [ | |
| Unknown { | |
| original_value: Some( | |
| Variable( | |
| ( | |
| "pkg", | |
| #3, | |
| ), | |
| ), | |
| ), | |
| reason: "pattern without value", | |
| has_side_effects: false, | |
| }, | |
| Member( | |
| 3, | |
| Variable( | |
| ( | |
| "knownWindowsPackages", | |
| #2, | |
| ), | |
| ), | |
| Variable( | |
| ( | |
| "platformKey", | |
| #3, | |
| ), | |
| ), | |
| ), | |
| Member( | |
| 3, | |
| Variable( | |
| ( | |
| "knownUnixlikePackages", | |
| #2, | |
| ), | |
| ), | |
| Variable( | |
| ( | |
| "platformKey", | |
| #3, | |
| ), | |
| ), | |
| ), | |
| ], | |
| logical_property: None, | |
| }, | |
| ), | |
| ( | |
| "pkg#7", | |
| Member( | |
| 4, | |
| Call( | |
| 2, | |
| Variable( | |
| ( | |
| "pkgAndSubpathForCurrentPlatform", | |
| #2, | |
| ), | |
| ), | |
| [], | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "pkg", | |
| ), | |
| ), | |
| ), | |
| ), | |
| ), | |
| ( | |
| "pkgAndSubpathForCurrentPlatform", | |
| Function( | |
| 6, | |
| 911, | |
| Object { | |
| total_nodes: 5, | |
| parts: [ | |
| KeyValue( | |
| Constant( | |
| Str( | |
| Atom( | |
| "pkg", | |
| ), | |
| ), | |
| ), | |
| Variable( | |
| ( | |
| "pkg", | |
| #3, | |
| ), | |
| ), | |
| ), | |
| KeyValue( | |
| Constant( | |
| Str( | |
| Atom( | |
| "subpath", | |
| ), | |
| ), | |
| ), | |
| Variable( | |
| ( | |
| "subpath", | |
| #3, | |
| ), | |
| ), | |
| ), | |
| ], | |
| mutable: true, | |
| }, | |
| ), | |
| ), | |
| ( | |
| "platformKey", | |
| Concat( | |
| 12, | |
| [ | |
| Member( | |
| 3, | |
| FreeVar( | |
| "process", | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "platform", | |
| ), | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| " ", | |
| ), | |
| ), | |
| ), | |
| MemberCall( | |
| 3, | |
| Variable( | |
| ( | |
| "os", | |
| #2, | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "arch", | |
| ), | |
| ), | |
| ), | |
| [], | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| " ", | |
| ), | |
| ), | |
| ), | |
| MemberCall( | |
| 3, | |
| Variable( | |
| ( | |
| "os", | |
| #2, | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "endianness", | |
| ), | |
| ), | |
| ), | |
| [], | |
| ), | |
| ], | |
| ), | |
| ), | |
| ( | |
| "subpath#3", | |
| Alternatives { | |
| total_nodes: 4, | |
| values: [ | |
| Unknown { | |
| original_value: Some( | |
| Variable( | |
| ( | |
| "subpath", | |
| #3, | |
| ), | |
| ), | |
| ), | |
| reason: "pattern without value", | |
| has_side_effects: false, | |
| }, | |
| Constant( | |
| Str( | |
| Atom( | |
| "esbuild.exe", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "bin/esbuild", | |
| ), | |
| ), | |
| ), | |
| ], | |
| logical_property: None, | |
| }, | |
| ), | |
| ( | |
| "subpath#7", | |
| Member( | |
| 4, | |
| Call( | |
| 2, | |
| Variable( | |
| ( | |
| "pkgAndSubpathForCurrentPlatform", | |
| #2, | |
| ), | |
| ), | |
| [], | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "subpath", | |
| ), | |
| ), | |
| ), | |
| ), | |
| ), | |
| ( | |
| "x", | |
| MemberCall( | |
| 5, | |
| Variable( | |
| ( | |
| "args", | |
| #2, | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "concat", | |
| ), | |
| ), | |
| ), | |
| [ | |
| Constant( | |
| Str( | |
| RcStr( | |
| "--service=0.14.12", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "--ping", | |
| ), | |
| ), | |
| ), | |
| ], | |
| ), | |
| ), | |
| ] | |