@vesk/compiler 0.2.84 → 0.2.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module-imports.js +2 -2
- package/package.json +2 -2
package/dist/module-imports.js
CHANGED
|
@@ -1480,8 +1480,8 @@ export class ModuleRegistry {
|
|
|
1480
1480
|
/** Emit a self-contained module registry source file. */
|
|
1481
1481
|
toModuleSource() {
|
|
1482
1482
|
const parts = [];
|
|
1483
|
-
for (const [key,
|
|
1484
|
-
parts.push(`${JSON.stringify(key)}: ${JSON.stringify(code)}`);
|
|
1483
|
+
for (const [key, entry] of this.data) {
|
|
1484
|
+
parts.push(`${JSON.stringify(key)}: ${JSON.stringify({ code: entry.code, dir: entry.dir, deps: entry.deps })}`);
|
|
1485
1485
|
}
|
|
1486
1486
|
return `export const __veskModules = {${parts.join(',')}};\n`;
|
|
1487
1487
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vesk/compiler",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.86",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Vesk compiler — lexer, parser, semantic analysis, IR, codegen",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@sveltejs/acorn-typescript": "^1.0.0",
|
|
23
|
-
"@vesk/types": "^0.2.
|
|
23
|
+
"@vesk/types": "^0.2.86",
|
|
24
24
|
"acorn": "^8.15.0",
|
|
25
25
|
"esrap": "^2.3.0",
|
|
26
26
|
"is-reference": "^3.0.0",
|