@ai-ecoverse/slicc-kernel 1.135.3 → 1.135.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.
package/dist/node.js CHANGED
@@ -7486,7 +7486,7 @@ function satisfies(version, range2) {
7486
7486
  }
7487
7487
 
7488
7488
  // src/version.ts
7489
- var KERNEL_VERSION = true ? "1.135.3" : "0.0.0-dev";
7489
+ var KERNEL_VERSION = true ? "1.135.4" : "0.0.0-dev";
7490
7490
  var OS_RELEASE = "6.0.0-slicc";
7491
7491
  function procVersion() {
7492
7492
  return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
@@ -65,6 +65,14 @@ function vacate(target, names) {
65
65
  function lockdown(scope2 = globalThis) {
66
66
  hide(scope2, BLOCKED_GLOBALS);
67
67
  vacate(scope2, OPEN_SLOTS);
68
+ if ("self" in scope2) {
69
+ Reflect.defineProperty(scope2, "self", {
70
+ value: scope2,
71
+ writable: true,
72
+ enumerable: false,
73
+ configurable: true
74
+ });
75
+ }
68
76
  const navigator = scope2.navigator;
69
77
  if (navigator && typeof navigator === "object") hide(navigator, BLOCKED_NAVIGATOR);
70
78
  }
@@ -77,13 +85,10 @@ var init_lockdown = __esm({
77
85
  "WebSocketStream",
78
86
  "WebTransport",
79
87
  "EventSource",
80
- "importScripts",
81
88
  "indexedDB",
82
89
  "caches",
83
90
  "cookieStore",
84
- "Worker",
85
91
  "SharedWorker",
86
- "postMessage",
87
92
  "close",
88
93
  "webkitRequestFileSystem",
89
94
  "webkitRequestFileSystemSync",
@@ -99,7 +104,14 @@ var init_lockdown = __esm({
99
104
  "hid",
100
105
  "serial"
101
106
  ];
102
- OPEN_SLOTS = ["fetch", "WebSocket", "BroadcastChannel"];
107
+ OPEN_SLOTS = [
108
+ "fetch",
109
+ "WebSocket",
110
+ "BroadcastChannel",
111
+ "importScripts",
112
+ "Worker",
113
+ "postMessage"
114
+ ];
103
115
  }
104
116
  });
105
117
 
@@ -2771,7 +2783,7 @@ var KERNEL_VERSION, OS_RELEASE;
2771
2783
  var init_version = __esm({
2772
2784
  "src/version.ts"() {
2773
2785
  "use strict";
2774
- KERNEL_VERSION = true ? "1.135.3" : "0.0.0-dev";
2786
+ KERNEL_VERSION = true ? "1.135.4" : "0.0.0-dev";
2775
2787
  OS_RELEASE = "6.0.0-slicc";
2776
2788
  }
2777
2789
  });