@ricsam/isolate-daemon 0.1.11 → 0.1.12

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.11",
3
+ "version": "0.1.12",
4
4
  "type": "module"
5
5
  }
@@ -6,6 +6,7 @@ import type ivm from "isolated-vm";
6
6
  import type { InternalRuntimeHandle } from "@ricsam/isolate-runtime";
7
7
  import type { CallbackRegistration } from "@ricsam/isolate-protocol";
8
8
  import type { PlaywrightHandle } from "@ricsam/isolate-playwright";
9
+ import type { SourceMap } from "@ricsam/isolate-transform";
9
10
  /**
10
11
  * Options for starting the daemon.
11
12
  */
@@ -63,6 +64,8 @@ export interface IsolateInstance {
63
64
  moduleToFilename?: Map<ivm.Module, string>;
64
65
  /** Pending callback promises for current eval */
65
66
  pendingCallbacks: Promise<unknown>[];
67
+ /** Source maps for error stack trace mapping */
68
+ sourceMaps?: Map<string, SourceMap>;
66
69
  /** Functions returned by custom function calls (callable from isolate) */
67
70
  returnedCallbacks?: Map<number, Function>;
68
71
  /** Promises returned by custom function calls (resolvable from isolate) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ricsam/isolate-daemon",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "main": "./dist/cjs/index.cjs",
5
5
  "types": "./dist/types/index.d.ts",
6
6
  "exports": {
@@ -26,16 +26,18 @@
26
26
  "dependencies": {
27
27
  "@ricsam/isolate-protocol": "*",
28
28
  "@ricsam/isolate-runtime": "*",
29
+ "@ricsam/isolate-transform": "*",
29
30
  "@ricsam/isolate-fs": "*",
30
31
  "@ricsam/isolate-test-environment": "*",
31
32
  "@ricsam/isolate-playwright": "*",
32
33
  "playwright": "^1"
33
34
  },
34
- "author": "Richard Samuelsson",
35
+ "author": "ricsam <oss@ricsam.dev>",
35
36
  "license": "MIT",
36
37
  "repository": {
37
38
  "type": "git",
38
- "url": "git+https://github.com/ricsam/isolate.git"
39
+ "url": "git+https://github.com/ricsam/isolate.git",
40
+ "directory": "packages/isolate-daemon"
39
41
  },
40
42
  "bugs": {
41
43
  "url": "https://github.com/ricsam/isolate/issues"