@deslop/scope 0.1.1263 → 0.1.1266

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.
@@ -15,7 +15,7 @@
15
15
  <link rel="manifest" href="/manifest.webmanifest" />
16
16
 
17
17
  <title>Scope</title>
18
- <script type="module" crossorigin src="/assets/index-vfC4xOcR.js"></script>
18
+ <script type="module" crossorigin src="/assets/index-xyETCS2w.js"></script>
19
19
  <link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-WkwZ5CU-.js">
20
20
  <link rel="modulepreload" crossorigin href="/assets/effect-B9VWHDXW.js">
21
21
  <link rel="modulepreload" crossorigin href="/assets/react-COyt-gOi.js">
package/dist/server.js CHANGED
@@ -75901,7 +75901,7 @@ const fromDuplex = (open, options) => withFiber((fiber) => {
75901
75901
  writer
75902
75902
  }));
75903
75903
  });
75904
- // ../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/constants.js
75904
+ // ../../node_modules/.pnpm/ws@8.22.2/node_modules/ws/lib/constants.js
75905
75905
  var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
75906
75906
  const BINARY_TYPES = [
75907
75907
  "nodebuffer",
@@ -75923,7 +75923,7 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
75923
75923
  NOOP: () => {}
75924
75924
  };
75925
75925
  }));
75926
- // ../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/buffer-util.js
75926
+ // ../../node_modules/.pnpm/ws@8.22.2/node_modules/ws/lib/buffer-util.js
75927
75927
  var require_buffer_util = /* @__PURE__ */ __commonJSMin(((exports, module) => {
75928
75928
  const { websocketMask, websocketUnmask } = __require("http");
75929
75929
  const { EMPTY_BUFFER } = require_constants();
@@ -76031,7 +76031,7 @@ var require_buffer_util = /* @__PURE__ */ __commonJSMin(((exports, module) => {
76031
76031
  };
76032
76032
  } catch (e) {}
76033
76033
  }));
76034
- // ../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/limiter.js
76034
+ // ../../node_modules/.pnpm/ws@8.22.2/node_modules/ws/lib/limiter.js
76035
76035
  var require_limiter = /* @__PURE__ */ __commonJSMin(((exports, module) => {
76036
76036
  const kDone = Symbol("kDone");
76037
76037
  const kRun = Symbol("kRun");
@@ -76081,7 +76081,7 @@ var require_limiter = /* @__PURE__ */ __commonJSMin(((exports, module) => {
76081
76081
  };
76082
76082
  module.exports = Limiter;
76083
76083
  }));
76084
- // ../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/permessage-deflate.js
76084
+ // ../../node_modules/.pnpm/ws@8.22.2/node_modules/ws/lib/permessage-deflate.js
76085
76085
  var require_permessage_deflate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
76086
76086
  const zlib = __require("zlib");
76087
76087
  const bufferUtil = require_buffer_util();
@@ -76416,7 +76416,7 @@ var require_permessage_deflate = /* @__PURE__ */ __commonJSMin(((exports, module
76416
76416
  this[kCallback](err);
76417
76417
  }
76418
76418
  }));
76419
- // ../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/validation.js
76419
+ // ../../node_modules/.pnpm/ws@8.22.2/node_modules/ws/lib/validation.js
76420
76420
  var require_validation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
76421
76421
  const { isUtf8 } = __require("buffer");
76422
76422
  const { hasBlob } = require_constants();
@@ -76611,7 +76611,7 @@ var require_validation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
76611
76611
  };
76612
76612
  } catch (e) {}
76613
76613
  }));
76614
- // ../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/receiver.js
76614
+ // ../../node_modules/.pnpm/ws@8.22.2/node_modules/ws/lib/receiver.js
76615
76615
  var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
76616
76616
  const { Writable } = __require("stream");
76617
76617
  const PerMessageDeflate = require_permessage_deflate();
@@ -76911,6 +76911,7 @@ var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
76911
76911
  data = this.consume(this._payloadLength);
76912
76912
  if (this._masked && (this._mask[0] | this._mask[1] | this._mask[2] | this._mask[3]) !== 0) unmask(data, this._mask);
76913
76913
  }
76914
+ this._mask = void 0;
76914
76915
  if (this._opcode > 7) {
76915
76916
  this.controlMessage(data, cb);
76916
76917
  return;
@@ -77073,7 +77074,7 @@ var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
77073
77074
  };
77074
77075
  module.exports = Receiver;
77075
77076
  }));
77076
- // ../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/sender.js
77077
+ // ../../node_modules/.pnpm/ws@8.22.2/node_modules/ws/lib/sender.js
77077
77078
  var require_sender = /* @__PURE__ */ __commonJSMin(((exports, module) => {
77078
77079
  const { Duplex } = __require("stream");
77079
77080
  const { randomFillSync } = __require("crypto");
@@ -77571,7 +77572,7 @@ var require_sender = /* @__PURE__ */ __commonJSMin(((exports, module) => {
77571
77572
  sender.onerror(err);
77572
77573
  }
77573
77574
  }));
77574
- // ../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/event-target.js
77575
+ // ../../node_modules/.pnpm/ws@8.22.2/node_modules/ws/lib/event-target.js
77575
77576
  var require_event_target = /* @__PURE__ */ __commonJSMin(((exports, module) => {
77576
77577
  const { kForOnEventAttribute, kListener } = require_constants();
77577
77578
  const kCode = Symbol("kCode");
@@ -77801,7 +77802,7 @@ var require_event_target = /* @__PURE__ */ __commonJSMin(((exports, module) => {
77801
77802
  else listener.call(thisArg, event);
77802
77803
  }
77803
77804
  }));
77804
- // ../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/extension.js
77805
+ // ../../node_modules/.pnpm/ws@8.22.2/node_modules/ws/lib/extension.js
77805
77806
  var require_extension = /* @__PURE__ */ __commonJSMin(((exports, module) => {
77806
77807
  const { tokenChars } = require_validation();
77807
77808
  /**
@@ -77946,12 +77947,13 @@ var require_extension = /* @__PURE__ */ __commonJSMin(((exports, module) => {
77946
77947
  parse
77947
77948
  };
77948
77949
  }));
77949
- // ../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/websocket.js
77950
+ // ../../node_modules/.pnpm/ws@8.22.2/node_modules/ws/lib/websocket.js
77950
77951
  var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
77951
77952
  const EventEmitter = __require("events");
77952
77953
  const https = __require("https");
77953
77954
  const http = __require("http");
77954
77955
  const net = __require("net");
77956
+ const querystring = __require("querystring");
77955
77957
  const tls = __require("tls");
77956
77958
  const { randomBytes, createHash } = __require("crypto");
77957
77959
  const { Duplex, Readable } = __require("stream");
@@ -78510,8 +78512,10 @@ var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
78510
78512
  } catch {
78511
78513
  throw new SyntaxError(`Invalid URL: ${address}`);
78512
78514
  }
78513
- if (parsedUrl.protocol === "http:") parsedUrl.protocol = "ws:";
78514
- else if (parsedUrl.protocol === "https:") parsedUrl.protocol = "wss:";
78515
+ if (parsedUrl.protocol === "http:" || parsedUrl.protocol === "https:") {
78516
+ parsedUrl = new URL(parsedUrl);
78517
+ parsedUrl.protocol = parsedUrl.protocol === "http:" ? "ws:" : "wss:";
78518
+ }
78515
78519
  websocket._url = parsedUrl.href;
78516
78520
  const isSecure = parsedUrl.protocol === "wss:";
78517
78521
  const isIpcUrl = parsedUrl.protocol === "ws+unix:";
@@ -78564,7 +78568,7 @@ var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
78564
78568
  if (opts.protocolVersion < 13) opts.headers["Sec-WebSocket-Origin"] = opts.origin;
78565
78569
  else opts.headers.Origin = opts.origin;
78566
78570
  }
78567
- if (parsedUrl.username || parsedUrl.password) opts.auth = `${parsedUrl.username}:${parsedUrl.password}`;
78571
+ if (parsedUrl.username || parsedUrl.password) opts.auth = `${querystring.unescape(parsedUrl.username)}:${querystring.unescape(parsedUrl.password)}`;
78568
78572
  if (isIpcUrl) {
78569
78573
  const i = opts.path.indexOf(":");
78570
78574
  if (i === -1) {
@@ -78780,8 +78784,12 @@ var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
78780
78784
  function receiverOnConclude(code, reason) {
78781
78785
  const websocket = this[kWebSocket];
78782
78786
  websocket._closeFrameReceived = true;
78783
- websocket._closeMessage = reason;
78784
78787
  websocket._closeCode = code;
78788
+ if (reason.length === 0) websocket._closeMessage = EMPTY_BUFFER;
78789
+ else {
78790
+ websocket._closeMessage = Buffer.allocUnsafeSlow(reason.length);
78791
+ websocket._closeMessage.set(reason);
78792
+ }
78785
78793
  if (websocket._socket[kWebSocket] === void 0) return;
78786
78794
  websocket._socket.removeListener("data", socketOnData);
78787
78795
  process.nextTick(resume, websocket._socket);
@@ -78949,7 +78957,7 @@ var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
78949
78957
  }
78950
78958
  }
78951
78959
  }));
78952
- // ../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/stream.js
78960
+ // ../../node_modules/.pnpm/ws@8.22.2/node_modules/ws/lib/stream.js
78953
78961
  var require_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
78954
78962
  require_websocket();
78955
78963
  const { Duplex } = __require("stream");
@@ -79064,7 +79072,7 @@ var require_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
79064
79072
  }
79065
79073
  module.exports = createWebSocketStream;
79066
79074
  }));
79067
- // ../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/subprotocol.js
79075
+ // ../../node_modules/.pnpm/ws@8.22.2/node_modules/ws/lib/subprotocol.js
79068
79076
  var require_subprotocol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
79069
79077
  const { tokenChars } = require_validation();
79070
79078
  /**
@@ -79102,7 +79110,7 @@ var require_subprotocol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
79102
79110
  }
79103
79111
  module.exports = { parse };
79104
79112
  }));
79105
- // ../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/websocket-server.js
79113
+ // ../../node_modules/.pnpm/ws@8.22.2/node_modules/ws/lib/websocket-server.js
79106
79114
  var require_websocket_server = /* @__PURE__ */ __commonJSMin(((exports, module) => {
79107
79115
  const EventEmitter = __require("events");
79108
79116
  const http = __require("http");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deslop/scope",
3
- "version": "0.1.1263",
3
+ "version": "0.1.1266",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/MP281X/deslop.git",
@@ -32,5 +32,5 @@
32
32
  "engines": {
33
33
  "node": ">=26"
34
34
  },
35
- "fingerprint": "ccb07a58a4c39fdb97fe7185d814bc68d41124d903ef8f9695698813462cc983"
35
+ "fingerprint": "1ec273fb303403ff8ac414496c68ba6a02f12609162bcc819528b63543d00803"
36
36
  }