@omercnet/paseo-shared-browser 4.1.1-next.348.1 → 4.1.1-next.356.1

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.
@@ -12,7 +12,7 @@
12
12
  "@modelcontextprotocol/sdk": "1.30.0",
13
13
  "agent-browser": "0.39.4",
14
14
  "esbuild": "0.28.2",
15
- "zod": "4.4.3"
15
+ "zod": "4.6.7"
16
16
  }
17
17
  },
18
18
  "node_modules/@agentclientprotocol/sdk": {
@@ -1874,9 +1874,9 @@
1874
1874
  "license": "ISC"
1875
1875
  },
1876
1876
  "node_modules/ws": {
1877
- "version": "8.22.0",
1878
- "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.0.tgz",
1879
- "integrity": "sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg==",
1877
+ "version": "8.22.1",
1878
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.1.tgz",
1879
+ "integrity": "sha512-oyL6OPYme/CmiFvNuGzeoxCJ4nOrZE2O1FwM9MWM1AsGri6nLXB2pg+lNA8aLeXMSav0J6eIVS1j6vUPzUtK9g==",
1880
1880
  "license": "MIT",
1881
1881
  "peer": true,
1882
1882
  "engines": {
@@ -1896,9 +1896,9 @@
1896
1896
  }
1897
1897
  },
1898
1898
  "node_modules/zod": {
1899
- "version": "4.4.3",
1900
- "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz",
1901
- "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==",
1899
+ "version": "4.6.7",
1900
+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz",
1901
+ "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==",
1902
1902
  "license": "MIT",
1903
1903
  "funding": {
1904
1904
  "url": "https://github.com/sponsors/colinhacks"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omercnet/paseo-shared-browser",
3
- "version": "4.1.1-next.348.1",
3
+ "version": "4.1.1-next.356.1",
4
4
  "description": "One real Chromium session per Paseo workspace, shared live across every connected client.",
5
5
  "keywords": [
6
6
  "browser",
@@ -59,7 +59,7 @@
59
59
  "@modelcontextprotocol/sdk": "1.30.0",
60
60
  "agent-browser": "0.39.4",
61
61
  "esbuild": "0.28.2",
62
- "zod": "4.4.3"
62
+ "zod": "4.6.7"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@biomejs/biome": "^2.5.10",
@@ -1,10 +1,12 @@
1
- import { execFileSync } from "node:child_process";
1
+ import { execSync } from "node:child_process";
2
2
  import { existsSync, readFileSync, writeFileSync } from "node:fs";
3
3
  import { createRequire } from "node:module";
4
4
  import { dirname, join } from "node:path";
5
5
  import { fileURLToPath, pathToFileURL } from "node:url";
6
6
 
7
7
  const projectRoot = dirname(dirname(fileURLToPath(import.meta.url)));
8
+ // Run through the shell so Windows resolves npm.cmd: Node refuses to spawn .cmd files without one.
9
+ const INSTALL_COMMAND = "npm ci --omit=dev --ignore-scripts --workspaces=false";
8
10
 
9
11
  function loadRootCatalog(root) {
10
12
  for (let directory = root; ; directory = dirname(directory)) {
@@ -28,6 +30,8 @@ function stageManifest(root, catalog, install) {
28
30
  manifest.dependencies[name] = catalog[name];
29
31
  }
30
32
  delete manifest.devDependencies;
33
+ // npm-shrinkwrap.json is generated without overrides, so npm ci rejects a manifest that keeps them.
34
+ delete manifest.overrides;
31
35
 
32
36
  writeFileSync(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`);
33
37
  try {
@@ -41,18 +45,11 @@ export function resolveDependencyRoot(packageName, from = import.meta.url) {
41
45
  return dirname(createRequire(from).resolve(`${packageName}/package.json`));
42
46
  }
43
47
 
44
- export function prepareDependencies(root = projectRoot, execute = execFileSync) {
48
+ export function prepareDependencies(root = projectRoot, execute = execSync) {
45
49
  const catalog = loadRootCatalog(root);
46
50
  if (!catalog) return false;
47
51
  stageManifest(root, catalog, () => {
48
- execute(
49
- process.platform === "win32" ? "npm.cmd" : "npm",
50
- ["ci", "--omit=dev", "--ignore-scripts", "--workspaces=false"],
51
- {
52
- cwd: root,
53
- stdio: "inherit",
54
- },
55
- );
52
+ execute(INSTALL_COMMAND, { cwd: root, stdio: "inherit" });
56
53
  });
57
54
  return true;
58
55
  }