@cerefox/memory 1.20.0 → 1.21.0

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.
@@ -5318,7 +5318,7 @@ var init_cli_core = __esm(() => {
5318
5318
  });
5319
5319
 
5320
5320
  // src/meta.ts
5321
- var PKG_VERSION = "1.20.0";
5321
+ var PKG_VERSION = "1.21.0";
5322
5322
  var init_meta = () => {};
5323
5323
 
5324
5324
  // ../../_shared/config/paths.ts
@@ -26958,7 +26958,7 @@ var init_update_check = __esm(() => {
26958
26958
  });
26959
26959
 
26960
26960
  // ../../_shared/ef-meta/index.ts
26961
- var EF_VERSION = "1.20.0", CEREFOX_VERSION = "1.20.0", EF_LAST_CHANGED = "1.19.0";
26961
+ var EF_VERSION = "1.21.0", CEREFOX_VERSION = "1.21.0", EF_LAST_CHANGED = "1.19.0";
26962
26962
  var init_ef_meta = () => {};
26963
26963
 
26964
26964
  // ../../_shared/embeddings/onnx-embedder.ts
@@ -68479,10 +68479,16 @@ async function applyRpcs(opts) {
68479
68479
  }
68480
68480
  }
68481
68481
 
68482
+ // src/cli/util/npx-env.ts
68483
+ function nestedNpxEnv(env = process.env) {
68484
+ const { npm_config_package: _leaked, ...rest } = env;
68485
+ return rest;
68486
+ }
68487
+
68482
68488
  // src/cli/commands/deploy-server.ts
68483
68489
  function commandSucceeds(cmd, args) {
68484
68490
  try {
68485
- const r = spawnSync2(cmd, args, { encoding: "utf8", timeout: 15000 });
68491
+ const r = spawnSync2(cmd, args, { encoding: "utf8", timeout: 15000, env: nestedNpxEnv() });
68486
68492
  return r.status === 0;
68487
68493
  } catch {
68488
68494
  return false;
@@ -68689,7 +68695,8 @@ Proceed with deployment to Supabase?`, true);
68689
68695
  encoding: "utf8",
68690
68696
  stdio: ["inherit", "pipe", "pipe"],
68691
68697
  cwd: workdir,
68692
- timeout: 120000
68698
+ timeout: 120000,
68699
+ env: nestedNpxEnv()
68693
68700
  });
68694
68701
  if (r.stdout)
68695
68702
  process.stdout.write(r.stdout);
@@ -76647,7 +76654,7 @@ function setSecret(setValue, projectRef, dryRun) {
76647
76654
  println(c.dim(` (dry-run) npx supabase secrets set ${SECRET_NAME}=${shown}` + (projectRef ? ` --project-ref ${projectRef}` : "")));
76648
76655
  return;
76649
76656
  }
76650
- const r = spawnSync7("npx", args, { encoding: "utf8", stdio: "inherit" });
76657
+ const r = spawnSync7("npx", args, { encoding: "utf8", stdio: "inherit", env: nestedNpxEnv() });
76651
76658
  if (r.status !== 0) {
76652
76659
  throw userError(`Failed to set the ${SECRET_NAME} Function secret.`, "Install the Supabase CLI and link the project (or pass --project-ref <ref>).");
76653
76660
  }