@sjcx/vorma 0.0.0-pre.8 → 0.0.0-pre.9

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/build/cli.js CHANGED
@@ -27,6 +27,7 @@ import { DEV_CONTROLS_PROTOCOL, DOCUMENT_PROTOCOL, GENERATED_TYPES_PROTOCOL, HTT
27
27
  import { compileNestedPattern, formatPatternCompileError } from "primitives-ts/matcher";
28
28
  import { createServer as createServer$1, request } from "node:http";
29
29
  import { createConnection } from "node:net";
30
+ import { encodeBytes } from "primitives-ts";
30
31
  import { watch } from "chokidar";
31
32
  //#region package.json
32
33
  var version = "0.87.0-pre.0";
@@ -4107,7 +4108,7 @@ function startDevClient(input) {
4107
4108
  finishInspection = void 0;
4108
4109
  }
4109
4110
  /** Admits the live critical CSS update under a strict `style-src`; the application's own `html.cspNonce` replaces it. */
4110
- const sessionCspNonce = randomBytes(16).toString("base64");
4111
+ const sessionCspNonce = encodeBytes(randomBytes(16), { encoding: "base64" });
4111
4112
  const devPlugin = {
4112
4113
  name: "vorma:development",
4113
4114
  enforce: "pre",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcx/vorma",
3
- "version": "0.0.0-pre.8",
3
+ "version": "0.0.0-pre.9",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "license": "(MIT OR Apache-2.0)",
@@ -25,7 +25,7 @@
25
25
  "chokidar": "^5.0.0",
26
26
  "effect": "^4.0.0",
27
27
  "lightningcss": "^1.33.0",
28
- "primitives-ts": "0.0.1-pre.0",
28
+ "primitives-ts": "0.0.1-pre.1",
29
29
  "rolldown": "^1.2.6",
30
30
  "typescript": "7.0.2"
31
31
  },