@ricsam/isolate-daemon 0.1.10 → 0.1.11

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.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@ricsam/isolate-daemon",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "type": "module"
5
5
  }
@@ -59,6 +59,8 @@ export interface IsolateInstance {
59
59
  moduleLoaderCallbackId?: number;
60
60
  /** Cache of compiled ES modules */
61
61
  moduleCache?: Map<string, ivm.Module>;
62
+ /** Map from module to its filename (for tracking importer path) */
63
+ moduleToFilename?: Map<ivm.Module, string>;
62
64
  /** Pending callback promises for current eval */
63
65
  pendingCallbacks: Promise<unknown>[];
64
66
  /** Functions returned by custom function calls (callable from isolate) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ricsam/isolate-daemon",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "main": "./dist/cjs/index.cjs",
5
5
  "types": "./dist/types/index.d.ts",
6
6
  "exports": {