@nhrbuilds/flashbrowse 1.0.0 → 1.1.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.
Files changed (2) hide show
  1. package/README.md +32 -4
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -21,11 +21,39 @@
21
21
 
22
22
  ## Requirements
23
23
 
24
- - Node.js 22 or newer.
25
- - Linux x64 or arm64 with glibc 2.39 or newer, macOS x64 or arm64, or Windows x64 for bundled executables.
26
- - Chrome or Chromium, unless you install the managed browser using `flashbrowse setup`.
24
+ These are runtime and platform requirements for **using the published npm package**, not the development setup for this repository.
27
25
 
28
- Linux musl, Windows arm64, and other targets need a separately installed executable. Configure it with `FLASHBROWSE_BIN` or the API `binaryPath` option.
26
+ - **JavaScript runtime:** Use Node.js 22 or newer, or Bun. Install [Node.js](https://nodejs.org/en/download) or [Bun](https://bun.com/docs/installation) for your operating system. The Node.js minimum applies when using Node.js.
27
+ - **Bundled executable platforms:** Linux x64 and arm64 with glibc 2.39 or newer, macOS x64 and arm64, and Windows x64. The glibc requirement applies only to Linux.
28
+ - **Browser:** Chrome or Chromium. Firefox sessions are not supported by the current native runtime.
29
+
30
+ The bundled Linux executables are dynamically linked to glibc. They are not fully static binaries.
31
+
32
+ ## Native runtime packages
33
+
34
+ These are operating system libraries required by the bundled `flashbrowse` executable.
35
+
36
+ **Ubuntu or Debian, x64 or arm64:**
37
+
38
+ ```sh
39
+ sudo apt-get update
40
+ sudo apt-get install -y libc6 libgcc-s1
41
+ getconf GNU_LIBC_VERSION
42
+ ```
43
+
44
+ The reported glibc version must be 2.39 or newer. This command does not make an older Linux distribution meet that minimum. On other Linux distributions, install glibc 2.39 or newer and the package that provides `libgcc_s.so.1`. Linux musl is not supported by the bundled GNU executables.
45
+
46
+ **macOS:** The executable uses macOS system libraries. No extra system package is required.
47
+
48
+ **Windows x64:** The executable uses the Microsoft Visual C++ runtime. Install the x64 redistributable if it is missing:
49
+
50
+ ```powershell
51
+ winget install --id Microsoft.VCRedist.2015+.x64 --exact
52
+ ```
53
+
54
+ See Microsoft's [latest supported Visual C++ Redistributable](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist) for the official download and details.
55
+
56
+ On Linux musl, Windows arm64, or another unsupported target, install a compatible `flashbrowse` executable separately. Set `FLASHBROWSE_BIN` or pass the executable path through the API `binaryPath` option.
29
57
 
30
58
  ## Install
31
59
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nhrbuilds/flashbrowse",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "TypeScript API and CLI wrapper for the flashbrowse native browser controller",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -42,11 +42,11 @@
42
42
  "@types/node": ">=20.17.6"
43
43
  },
44
44
  "optionalDependencies": {
45
- "@nhrbuilds/flashbrowse-linux-x64-gnu": "1.0.0",
46
- "@nhrbuilds/flashbrowse-linux-arm64-gnu": "1.0.0",
47
- "@nhrbuilds/flashbrowse-darwin-x64": "1.0.0",
48
- "@nhrbuilds/flashbrowse-darwin-arm64": "1.0.0",
49
- "@nhrbuilds/flashbrowse-win32-x64": "1.0.0"
45
+ "@nhrbuilds/flashbrowse-linux-x64-gnu": "1.1.0",
46
+ "@nhrbuilds/flashbrowse-linux-arm64-gnu": "1.1.0",
47
+ "@nhrbuilds/flashbrowse-darwin-x64": "1.1.0",
48
+ "@nhrbuilds/flashbrowse-darwin-arm64": "1.1.0",
49
+ "@nhrbuilds/flashbrowse-win32-x64": "1.1.0"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "node ../../scripts/clean-build.mjs && tsc -p ../../tsconfig.esm.json && tsc -p ../../tsconfig.cjs.json && tsc -p ../../tsconfig.types.json && node ../../scripts/finalize-build.mjs",