jslike 1.4.3 → 1.4.4

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.
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Result of module resolution
3
+ */
4
+ export interface ModuleResolution {
5
+ /** The module source code */
6
+ code: string;
7
+ /** The resolved module path */
8
+ path: string;
9
+ /** Optional metadata about the module */
10
+ metadata?: any;
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jslike",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "Production-ready JavaScript interpreter with full ES6+ support using Acorn parser",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -56,6 +56,9 @@
56
56
  "types": "./dist/editor/wang-prism.d.cts",
57
57
  "default": "./dist/editor/wang-prism.cjs"
58
58
  }
59
+ },
60
+ "./types": {
61
+ "types": "./dist/esm/types.d.ts"
59
62
  }
60
63
  },
61
64
  "bin": {