1
+ --- old.nodeModulesDeclarationEmitDynamicImportWithPackageExports(module=node20).symbols
2
+ +++ new.nodeModulesDeclarationEmitDynamicImportWithPackageExports(module=node20).symbols
3
+ @@= skipped -15, +15 lines =@@
4
+ // esm format file
5
+ export const a = await import("package/cjs");
6
+ >a : Symbol(a, Decl(other.ts, 1, 12))
7
+ - >"package/cjs" : Symbol("index", Decl(index.cts, 0, 0))
8
+ + >"package/cjs" : Symbol("./index.cts", Decl(index.cts, 0, 0))
9
+
10
+ export const b = await import("package/mjs");
11
+ >b : Symbol(b, Decl(other.ts, 2, 12))
12
+ - >"package/mjs" : Symbol("index", Decl(index.mts, 0, 0))
13
+ + >"package/mjs" : Symbol("./index.mts", Decl(index.mts, 0, 0))
14
+
15
+ export const c = await import("package");
16
+ >c : Symbol(c, Decl(other.ts, 3, 12))
17
+ - >"package" : Symbol("index", Decl(index.ts, 0, 0))
18
+ + >"package" : Symbol(".", Decl(index.ts, 0, 0))
19
+
20
+ export const f = await import("inner");
21
+ >f : Symbol(f, Decl(other.ts, 4, 12))
22
+ - >"inner" : Symbol("node_modules/inner/index", Decl(index.d.ts, 0, 0))
23
+ + >"inner" : Symbol("inner", Decl(index.d.ts, 0, 0))
24
+
25
+ === other2.ts ===
26
+ // esm format file
27
+ export const d = await import("inner/cjs");
28
+ >d : Symbol(d, Decl(other2.ts, 1, 12))
29
+ - >"inner/cjs" : Symbol("node_modules/inner/index", Decl(index.d.cts, 0, 0))
30
+ + >"inner/cjs" : Symbol("inner/cjs", Decl(index.d.cts, 0, 0))
31
+
32
+ export const e = await import("inner/mjs");
33
+ >e : Symbol(e, Decl(other2.ts, 2, 12))
34
+ - >"inner/mjs" : Symbol("node_modules/inner/index", Decl(index.d.mts, 0, 0))
35
+ + >"inner/mjs" : Symbol("inner/mjs", Decl(index.d.mts, 0, 0))
36
+
37
+ === other.mts ===
38
+ // esm format file
39
+ export const a = await import("package/cjs");
40
+ >a : Symbol(a, Decl(other.mts, 1, 12))
41
+ - >"package/cjs" : Symbol("index", Decl(index.cts, 0, 0))
42
+ + >"package/cjs" : Symbol("package/cjs", Decl(index.cts, 0, 0))
43
+
44
+ export const b = await import("package/mjs");
45
+ >b : Symbol(b, Decl(other.mts, 2, 12))
46
+ - >"package/mjs" : Symbol("index", Decl(index.mts, 0, 0))
47
+ + >"package/mjs" : Symbol("package/mjs", Decl(index.mts, 0, 0))
48
+
49
+ export const c = await import("package");
50
+ >c : Symbol(c, Decl(other.mts, 3, 12))
51
+ - >"package" : Symbol("index", Decl(index.ts, 0, 0))
52
+ + >"package" : Symbol("package", Decl(index.ts, 0, 0))
53
+
54
+ export const f = await import("inner");
55
+ >f : Symbol(f, Decl(other.mts, 4, 12))
56
+ - >"inner" : Symbol("node_modules/inner/index", Decl(index.d.ts, 0, 0))
57
+ + >"inner" : Symbol("inner", Decl(index.d.ts, 0, 0))
58
+
59
+ === other2.mts ===
60
+ // esm format file
61
+ export const d = await import("inner/cjs");
62
+ >d : Symbol(d, Decl(other2.mts, 1, 12))
63
+ - >"inner/cjs" : Symbol("node_modules/inner/index", Decl(index.d.cts, 0, 0))
64
+ + >"inner/cjs" : Symbol("inner/cjs", Decl(index.d.cts, 0, 0))
65
+
66
+ export const e = await import("inner/mjs");
67
+ >e : Symbol(e, Decl(other2.mts, 2, 12))
68
+ - >"inner/mjs" : Symbol("node_modules/inner/index", Decl(index.d.mts, 0, 0))
69
+ + >"inner/mjs" : Symbol("inner/mjs", Decl(index.d.mts, 0, 0))
70
+
71
+ === other.cts ===
72
+ // cjs format file, no TLA
73
+ export const a = import("package/cjs");
74
+ >a : Symbol(a, Decl(other.cts, 1, 12))
75
+ - >"package/cjs" : Symbol("index", Decl(index.cts, 0, 0))
76
+ + >"package/cjs" : Symbol("./index.cts", Decl(index.cts, 0, 0))
77
+
78
+ export const b = import("package/mjs");
79
+ >b : Symbol(b, Decl(other.cts, 2, 12))
80
+ - >"package/mjs" : Symbol("index", Decl(index.mts, 0, 0))
81
+ + >"package/mjs" : Symbol("./index.mts", Decl(index.mts, 0, 0))
82
+
83
+ export const c = import("package");
84
+ >c : Symbol(c, Decl(other.cts, 3, 12))
85
+ - >"package" : Symbol("index", Decl(index.ts, 0, 0))
86
+ + >"package" : Symbol(".", Decl(index.ts, 0, 0))
87
+
88
+ export const f = import("inner");
89
+ >f : Symbol(f, Decl(other.cts, 4, 12))
90
+ - >"inner" : Symbol("node_modules/inner/index", Decl(index.d.ts, 0, 0))
91
+ + >"inner" : Symbol("inner", Decl(index.d.ts, 0, 0))
92
+
93
+ === other2.cts ===
94
+ // cjs format file, no TLA
95
+ export const d = import("inner/cjs");
96
+ >d : Symbol(d, Decl(other2.cts, 1, 12))
97
+ - >"inner/cjs" : Symbol("node_modules/inner/index", Decl(index.d.cts, 0, 0))
98
+ + >"inner/cjs" : Symbol("inner/cjs", Decl(index.d.cts, 0, 0))
99
+
100
+ export const e = import("inner/mjs");
101
+ >e : Symbol(e, Decl(other2.cts, 2, 12))
102
+ - >"inner/mjs" : Symbol("node_modules/inner/index", Decl(index.d.mts, 0, 0))
103
+ + >"inner/mjs" : Symbol("inner/mjs", Decl(index.d.mts, 0, 0))
104
+
105
+ === node_modules/inner/index.d.ts ===
106
+ // cjs format file
0 commit comments