supabase 2.115.0-beta.2 → 2.115.0-beta.20

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.
Files changed (2) hide show
  1. package/dist/supabase.js +26 -7
  2. package/package.json +31 -29
package/dist/supabase.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  // src/shared/cli/bin.ts
4
- import { execFileSync } from "node:child_process";
4
+ import { spawn } from "node:child_process";
5
5
  import { createRequire } from "node:module";
6
6
  import os from "node:os";
7
7
  import path from "node:path";
@@ -35,10 +35,29 @@ if (!binPath) {
35
35
  if (!binPath) {
36
36
  throw new Error(`No matching Supabase CLI binary package found for ${process.platform}-${os.arch()}`);
37
37
  }
38
- try {
39
- execFileSync(binPath, process.argv.slice(2), { stdio: "inherit" });
40
- } catch (e) {
41
- if (e && typeof e === "object" && "status" in e && typeof e.status === "number")
42
- process.exit(e.status);
43
- throw e;
38
+ var child = spawn(binPath, process.argv.slice(2), { stdio: "inherit" });
39
+ var forwardedSignals = ["SIGINT", "SIGTERM", "SIGHUP"];
40
+ var forwarders = new Map;
41
+ for (const signal of forwardedSignals) {
42
+ const forward = () => {
43
+ if (child.exitCode === null && child.signalCode === null)
44
+ child.kill(signal);
45
+ };
46
+ process.on(signal, forward);
47
+ forwarders.set(signal, forward);
44
48
  }
49
+ child.on("error", (error) => {
50
+ for (const [signal, forward] of forwarders)
51
+ process.removeListener(signal, forward);
52
+ throw error;
53
+ });
54
+ child.on("exit", (code, signal) => {
55
+ for (const [sig, forward] of forwarders)
56
+ process.removeListener(sig, forward);
57
+ if (signal !== null) {
58
+ process.kill(process.pid, signal);
59
+ setInterval(() => {}, 1000);
60
+ return;
61
+ }
62
+ process.exit(code ?? 1);
63
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supabase",
3
- "version": "2.115.0-beta.2",
3
+ "version": "2.115.0-beta.20",
4
4
  "private": false,
5
5
  "description": "Supabase CLI",
6
6
  "homepage": "https://github.com/supabase/cli#readme",
@@ -25,44 +25,46 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "eciesjs": "^0.5.0",
28
- "jose": "^6.2.4"
28
+ "jose": "^6.2.8"
29
29
  },
30
30
  "devDependencies": {
31
- "@anthropic-ai/claude-agent-sdk": "^0.3.220",
32
- "@anthropic-ai/sdk": "^0.115.0",
31
+ "@anthropic-ai/claude-agent-sdk": "^0.3.227",
32
+ "@anthropic-ai/sdk": "^0.116.0",
33
33
  "@clack/prompts": "^1.7.0",
34
- "@effect/atom-react": "4.0.0-beta.103",
35
- "@effect/platform-bun": "4.0.0-beta.103",
36
- "@effect/sql-pg": "4.0.0-beta.103",
37
- "@effect/vitest": "4.0.0-beta.103",
34
+ "@effect/atom-react": "4.0.0-beta.107",
35
+ "@effect/platform-bun": "4.0.0-beta.107",
36
+ "@effect/sql-pg": "4.0.0-beta.107",
37
+ "@effect/vitest": "4.0.0-beta.107",
38
38
  "@modelcontextprotocol/sdk": "^1.30.0",
39
39
  "@napi-rs/keyring": "^1.3.0",
40
40
  "@parcel/watcher": "^2.6.0",
41
+ "@supabase/pg-delta": "1.0.0-alpha.42",
42
+ "@supabase/pg-topo": "1.0.0-alpha.5",
41
43
  "@tsconfig/bun": "^1.0.10",
42
44
  "@types/bun": "^1.3.14",
43
- "@types/pg": "^8.15.0",
45
+ "@types/pg": "^8.21.0",
44
46
  "@types/pg-copy-streams": "^1.2.5",
45
- "@types/react": "^19.2.17",
47
+ "@types/react": "^19.2.18",
46
48
  "@typescript/native-preview": "7.0.0-dev.20260707.2",
47
- "@vercel/detect-agent": "^1.2.3",
49
+ "@vercel/detect-agent": "^1.2.4",
48
50
  "@vitest/coverage-istanbul": "^4.1.10",
49
51
  "dotenv": "^17.4.2",
50
- "effect": "4.0.0-beta.103",
51
- "esbuild": "^0.28.1",
52
+ "effect": "4.0.0-beta.107",
53
+ "esbuild": "^0.28.2",
52
54
  "ink": "^7.1.1",
53
55
  "ink-spinner": "^5.0.0",
54
- "knip": "^6.29.0",
55
- "oxfmt": "^0.61.0",
56
- "oxlint": "^1.76.0",
56
+ "knip": "^6.32.1",
57
+ "oxfmt": "^0.63.0",
58
+ "oxlint": "^1.78.0",
57
59
  "oxlint-tsgolint": "^7.0.2001",
58
- "pg": "^8.22.0",
60
+ "pg": "^8.23.0",
59
61
  "pg-copy-streams": "^7.0.0",
60
- "posthog-node": "^5.46.1",
62
+ "posthog-node": "^5.48.1",
61
63
  "react": "^19.2.8",
62
64
  "react-devtools-core": "^7.0.1",
63
- "semantic-release": "^25.0.8",
65
+ "semantic-release": "^25.0.9",
64
66
  "smol-toml": "^1.7.1",
65
- "tldts": "^7.4.9",
67
+ "tldts": "^7.4.10",
66
68
  "typescript": "npm:@typescript/typescript6@^6.0.2",
67
69
  "vitest": "^4.1.10",
68
70
  "yaml": "^2.9.0",
@@ -72,14 +74,14 @@
72
74
  "@supabase/stack": "0.1.0"
73
75
  },
74
76
  "optionalDependencies": {
75
- "@supabase/cli-darwin-arm64": "2.115.0-beta.2",
76
- "@supabase/cli-darwin-x64": "2.115.0-beta.2",
77
- "@supabase/cli-linux-arm64": "2.115.0-beta.2",
78
- "@supabase/cli-linux-arm64-musl": "2.115.0-beta.2",
79
- "@supabase/cli-linux-x64": "2.115.0-beta.2",
80
- "@supabase/cli-linux-x64-musl": "2.115.0-beta.2",
81
- "@supabase/cli-windows-arm64": "2.115.0-beta.2",
82
- "@supabase/cli-windows-x64": "2.115.0-beta.2"
77
+ "@supabase/cli-darwin-arm64": "2.115.0-beta.20",
78
+ "@supabase/cli-darwin-x64": "2.115.0-beta.20",
79
+ "@supabase/cli-linux-arm64": "2.115.0-beta.20",
80
+ "@supabase/cli-linux-arm64-musl": "2.115.0-beta.20",
81
+ "@supabase/cli-linux-x64-musl": "2.115.0-beta.20",
82
+ "@supabase/cli-linux-x64": "2.115.0-beta.20",
83
+ "@supabase/cli-windows-arm64": "2.115.0-beta.20",
84
+ "@supabase/cli-windows-x64": "2.115.0-beta.20"
83
85
  },
84
86
  "release": {
85
87
  "branches": [
@@ -159,7 +161,7 @@
159
161
  "build:next": "bun scripts/build-binary.ts next",
160
162
  "build:legacy": "bun scripts/build-binary.ts legacy",
161
163
  "build:shim": "bun build src/shared/cli/bin.ts --outfile dist/supabase.js --target node",
162
- "generate:go-serve-template": "bun scripts/generate-go-serve-template.ts",
164
+ "docs:spec": "bun scripts/generate-docs-spec.ts",
163
165
  "dev:next": "pnpm exec bun src/next/main.ts",
164
166
  "dev:legacy": "pnpm exec bun src/legacy/main.ts",
165
167
  "test": "nx run-many -t test:core test:e2e --projects=$npm_package_name",