From eb4e2915830371e23d45b4bf6a13020f9daeac3d Mon Sep 17 00:00:00 2001 From: David Guttman Date: Mon, 26 Jan 2026 16:40:41 -0800 Subject: [PATCH] Fix surf --version to read from package.json --- native/cli.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/cli.cjs b/native/cli.cjs index 60768ab..4a6307e 100755 --- a/native/cli.cjs +++ b/native/cli.cjs @@ -9,6 +9,7 @@ const networkFormatters = require("./formatters/network.cjs"); const networkStore = require("./network-store.cjs"); const { parseDoCommands } = require("./do-parser.cjs"); const { executeDoSteps } = require("./do-executor.cjs"); +const { version: VERSION } = require("../package.json"); const SOCKET_PATH = "/tmp/surf.sock"; @@ -290,7 +291,6 @@ function resizeImage(filePath, maxSize) { } } const args = process.argv.slice(2); -const VERSION = "2.0.0"; const ALIASES = { snap: "screenshot",