capiumbrowser 1.0.5 → 1.1.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.
- package/README.md +1 -1
- package/lib/channels.json +14 -12
- package/lib/download.js +11 -11
- package/lib/version.js +139 -135
- package/package.json +67 -67
package/README.md
CHANGED
|
@@ -253,7 +253,7 @@ The spoofing lives in the compiled binary — not injected via JavaScript, not s
|
|
|
253
253
|
aligned to a single coherent story.
|
|
254
254
|
|
|
255
255
|
**Download mechanics.** The binary is fetched from the license service with a signed, path-based GET
|
|
256
|
-
(`/download/distro/chromium-v<version>/capiumbrowser-<os>-<arch>.tar.gz`): the key travels in the
|
|
256
|
+
(`/download/distro/chromium-v<version>.<revision>/capiumbrowser-<os>-<arch>.tar.gz`): the key travels in the
|
|
257
257
|
`X-Capzy-License` header (never the URL) and the request path is HMAC-signed. The response's
|
|
258
258
|
`X-Capzy-SHA256` is verified against the streamed bytes before extraction, so a corrupted or tampered
|
|
259
259
|
archive is rejected. Env overrides: `CAPIUM_LICENSE_KEY` (or `~/.capium/license`), `CAPIUM_VERSION` (target
|
package/lib/channels.json
CHANGED
|
@@ -1,29 +1,31 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_comment": "SINGLE SOURCE OF TRUTH for the current stable Capium browser build per OS/arch. Each OS reaches stable independently -- edit one entry without touching the others. This file ships inside the wheel (the SDK reads it to pick each host's stable build) AND is published to the download server by the release pipeline. `version` is the Chromium
|
|
2
|
+
"_comment": "SINGLE SOURCE OF TRUTH for the current stable Capium browser build per OS/arch. Each OS reaches stable independently -- edit one entry without touching the others. This file ships inside the wheel (the SDK reads it to pick each host's stable build) AND is published to the download server by the release pipeline. `version` is the Chromium version (what the browser reports to the customer -- unchanged by the revision); `revision` is our packaging counter -- the served R2 folder is chromium-v<version>.<revision>/, ALWAYS dotted-suffixed starting at 1 (chromium-v<version>.1/ is the first build, .2/ a same-engine re-spin), so publishing a re-spin never overwrites the artifact older SDKs still fetch. `published: false` means the tag is declared but no artifact exists yet -- the SDK raises a clear 'not published yet' error instead of a raw 404.",
|
|
3
3
|
"schema": 1,
|
|
4
|
-
"updated": "2026-09-
|
|
4
|
+
"updated": "2026-09-28",
|
|
5
5
|
"channels": {
|
|
6
6
|
"stable": {
|
|
7
7
|
"windows-x64": {
|
|
8
|
-
"version": "
|
|
9
|
-
"
|
|
10
|
-
"
|
|
8
|
+
"version": "153.0.8010.53",
|
|
9
|
+
"engine_version": "153.0.8010.52",
|
|
10
|
+
"revision": 2,
|
|
11
|
+
"sha256": "28be2151dfdb56963d081a5b8bfbfca1daed014f22ff6a3af9404a091a557ca6",
|
|
11
12
|
"published": true
|
|
12
13
|
},
|
|
13
14
|
"macos-arm64": {
|
|
14
|
-
"version": "
|
|
15
|
-
"
|
|
16
|
-
"
|
|
15
|
+
"version": "153.0.8010.53",
|
|
16
|
+
"engine_version": "153.0.8010.52",
|
|
17
|
+
"revision": 2,
|
|
18
|
+
"sha256": "ec8f44b2d07b33659c616761bdf31539b75b11b6bac434c60ad126d14442277b",
|
|
17
19
|
"published": true
|
|
18
20
|
},
|
|
19
21
|
"linux-x64": {
|
|
20
|
-
"version": "
|
|
21
|
-
"revision":
|
|
22
|
-
"sha256": "
|
|
22
|
+
"version": "153.0.8010.52",
|
|
23
|
+
"revision": 1,
|
|
24
|
+
"sha256": "69f512f01c2bfe202181847e10a76c36f0d1736170fd5bfe861f9ea6bdf5cc02",
|
|
23
25
|
"published": true
|
|
24
26
|
},
|
|
25
27
|
"linux-arm64": {
|
|
26
|
-
"version": "
|
|
28
|
+
"version": "153.0.8010.52",
|
|
27
29
|
"revision": 1,
|
|
28
30
|
"sha256": null,
|
|
29
31
|
"published": false
|
package/lib/download.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* overrides).
|
|
8
8
|
*
|
|
9
9
|
* Download scheme (signed, path-based):
|
|
10
|
-
* GET {server}/download/distro/chromium-v{version}/capiumbrowser-{os}-{arch}.tar.gz
|
|
10
|
+
* GET {server}/download/distro/chromium-v{version}.{revision}/capiumbrowser-{os}-{arch}.tar.gz
|
|
11
11
|
*
|
|
12
12
|
* The license key travels in the X-Capzy-License header (over TLS), NEVER in the URL; the
|
|
13
13
|
* request PATH is HMAC-signed (X-Capzy-Timestamp + X-Capzy-Signature =
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* X-Capzy-SHA256 is verified against the downloaded bytes before anything is extracted.
|
|
16
16
|
*
|
|
17
17
|
* The archive FILENAME is version-independent -- `capiumbrowser-<os>-<arch>.tar.gz` is always
|
|
18
|
-
* the same; only the `chromium-v<version>/` folder changes.
|
|
18
|
+
* the same; only the `chromium-v<version>.<revision>/` folder changes.
|
|
19
19
|
*
|
|
20
20
|
* Source resolution (first that works):
|
|
21
21
|
* CAPIUM_BINARY -> use this exact launch target, no download
|
|
@@ -87,15 +87,15 @@ function downloadTag(system = null, machine = null) {
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
|
-
* The signed request path for a build: version in the folder, tag in the filename
|
|
91
|
-
* (`/download/distro/chromium-v<version>/capiumbrowser-<tag>.tar.gz`). Per-OS versions
|
|
92
|
-
* because each tag lives under its own chromium-v<version>/ folder (win/mac .65
|
|
93
|
-
*
|
|
90
|
+
* The signed request path for a build: version.revision in the folder, tag in the filename
|
|
91
|
+
* (`/download/distro/chromium-v<version>.<revision>/capiumbrowser-<tag>.tar.gz`). Per-OS versions
|
|
92
|
+
* work because each tag lives under its own chromium-v<version>.<revision>/ folder (win/mac .65
|
|
93
|
+
* while linux .64). Key travels in the X-Capzy-License header, the path is HMAC-signed, and the bytes
|
|
94
94
|
* are verified against the response's X-Capzy-SHA256.
|
|
95
95
|
*/
|
|
96
96
|
function distroPath(version, tag, revision = 1) {
|
|
97
|
-
//
|
|
98
|
-
//
|
|
97
|
+
// Each packaging revision lands in its own immutable folder chromium-v<version>.<N>/
|
|
98
|
+
// (N>=1), so publishing a re-spin never overwrites the artifact older SDKs fetch.
|
|
99
99
|
return `/download/distro/chromium-v${buildId(version, revision)}/capiumbrowser-${tag}.tar.gz`;
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -193,7 +193,7 @@ function stampVersion(binPath, version) {
|
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
|
-
* The buildId (`<version
|
|
196
|
+
* The buildId (`<version>.<N>`) this host SHOULD run, honoring CAPIUM_* env, or
|
|
197
197
|
* null if it can't be determined (CAPIUM_BINARY override / unsupported platform / bad manifest).
|
|
198
198
|
* Lets the launch path detect+reject a stale binary from an earlier install instead of running it.
|
|
199
199
|
*/
|
|
@@ -326,8 +326,8 @@ async function ensureBinary({ version = null, licenseKey = null, server = null }
|
|
|
326
326
|
const envVer = process.env.CAPIUM_VERSION;
|
|
327
327
|
version = version || envVer || binaryVersionFor(tag);
|
|
328
328
|
// A same Chromium version can be re-spun (r2, r3, ...). CAPIUM_REVISION overrides; an explicit
|
|
329
|
-
// CAPIUM_VERSION pin defaults to
|
|
330
|
-
// revision comes from channels.json.
|
|
329
|
+
// CAPIUM_VERSION pin defaults to revision 1 (<version>.1) unless a revision is given;
|
|
330
|
+
// otherwise the per-OS revision comes from channels.json.
|
|
331
331
|
let revision;
|
|
332
332
|
if (process.env.CAPIUM_REVISION) revision = parseInt(process.env.CAPIUM_REVISION, 10);
|
|
333
333
|
else if (envVer) revision = 1;
|
package/lib/version.js
CHANGED
|
@@ -1,135 +1,139 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Version of the capium Node SDK (independent of the browser binary version).
|
|
3
|
-
*
|
|
4
|
-
* The SDK version and the Capium/Chromium binary version move on separate cadences: you update
|
|
5
|
-
* the SDK with `npm install -U capiumbrowser`, and the SDK fetches the *default* binary build to
|
|
6
|
-
* match. Crucially that default is **per platform** -- each OS/arch reaches a stable Capium build
|
|
7
|
-
* independently (Windows can sit on 150 while macOS is on 151).
|
|
8
|
-
*
|
|
9
|
-
* The stable build for each OS is not hardcoded here; it comes from `channels.json`, which ships
|
|
10
|
-
* inside the package and is the single source of truth (the release pipeline edits that file to
|
|
11
|
-
* promote an OS to a new stable, and the same file is published to the download server). This
|
|
12
|
-
* module just loads it; FALLBACK_VERSIONS is used only if the bundled manifest is missing or
|
|
13
|
-
* corrupt in an install.
|
|
14
|
-
*
|
|
15
|
-
* Override order at download time: CAPIUM_VERSION env > per-OS stable from channels.json.
|
|
16
|
-
*/
|
|
17
|
-
'use strict';
|
|
18
|
-
|
|
19
|
-
const fs = require('fs');
|
|
20
|
-
const os = require('os');
|
|
21
|
-
const path = require('path');
|
|
22
|
-
|
|
23
|
-
const SDK_VERSION = require('../package.json').version;
|
|
24
|
-
|
|
25
|
-
// Used only if channels.json can't be read (corrupt/removed install). ensureBinary() raises a
|
|
26
|
-
// clear error long before the "unsupported platform" case matters; this keeps lookups total.
|
|
27
|
-
const FALLBACK_VERSIONS = {
|
|
28
|
-
'windows-x64': '
|
|
29
|
-
'macos-arm64': '
|
|
30
|
-
'linux-x64': '
|
|
31
|
-
'linux-arm64': '
|
|
32
|
-
};
|
|
33
|
-
const DEFAULT_BINARY_VERSION = '
|
|
34
|
-
|
|
35
|
-
function loadStable() {
|
|
36
|
-
// The `channels.stable` map from the bundled manifest, or null if unreadable.
|
|
37
|
-
try {
|
|
38
|
-
const raw = fs.readFileSync(path.join(__dirname, 'channels.json'), 'utf8');
|
|
39
|
-
const stable = JSON.parse(raw).channels.stable;
|
|
40
|
-
return stable && typeof stable === 'object' ? stable : null;
|
|
41
|
-
} catch {
|
|
42
|
-
return null;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
const STABLE = loadStable();
|
|
47
|
-
|
|
48
|
-
function versionsFromManifest() {
|
|
49
|
-
if (!STABLE) return { ...FALLBACK_VERSIONS };
|
|
50
|
-
const out = {};
|
|
51
|
-
for (const [tag, entry] of Object.entries(STABLE)) {
|
|
52
|
-
if (entry && typeof entry === 'object' && entry.version) out[tag] = entry.version;
|
|
53
|
-
}
|
|
54
|
-
return Object.keys(out).length ? out : { ...FALLBACK_VERSIONS };
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// Default stable Capium binary build per distro tag, resolved from channels.json.
|
|
58
|
-
const CAPIUM_BINARY_VERSIONS = versionsFromManifest();
|
|
59
|
-
|
|
60
|
-
/** The current stable Capium binary version for a distro tag (e.g. 'windows-x64'). */
|
|
61
|
-
function binaryVersionFor(tag) {
|
|
62
|
-
return CAPIUM_BINARY_VERSIONS[tag] || DEFAULT_BINARY_VERSION;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
function revisionsFromManifest() {
|
|
66
|
-
if (!STABLE) return {};
|
|
67
|
-
const out = {};
|
|
68
|
-
for (const [tag, entry] of Object.entries(STABLE)) {
|
|
69
|
-
if (entry && typeof entry === 'object' && Number.isInteger(entry.revision)) out[tag] = entry.revision;
|
|
70
|
-
}
|
|
71
|
-
return out;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
// Re-spin variant per tag (>=1). Same Chromium version can be rebuilt (a stealth/fingerprint
|
|
75
|
-
// change with no engine bump); each re-spin increments this. 1 = the base build.
|
|
76
|
-
const CAPIUM_BINARY_REVISIONS = revisionsFromManifest();
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* The
|
|
80
|
-
* are re-spins of the SAME Chromium version served from chromium-v<version
|
|
81
|
-
* never overwrites the
|
|
82
|
-
*/
|
|
83
|
-
function binaryRevisionFor(tag) {
|
|
84
|
-
return CAPIUM_BINARY_REVISIONS[tag] || 1;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Stable identity of one specific build = the R2 folder discriminator AND the install-cache key.
|
|
89
|
-
*
|
|
90
|
-
* (
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Version of the capium Node SDK (independent of the browser binary version).
|
|
3
|
+
*
|
|
4
|
+
* The SDK version and the Capium/Chromium binary version move on separate cadences: you update
|
|
5
|
+
* the SDK with `npm install -U capiumbrowser`, and the SDK fetches the *default* binary build to
|
|
6
|
+
* match. Crucially that default is **per platform** -- each OS/arch reaches a stable Capium build
|
|
7
|
+
* independently (Windows can sit on 150 while macOS is on 151).
|
|
8
|
+
*
|
|
9
|
+
* The stable build for each OS is not hardcoded here; it comes from `channels.json`, which ships
|
|
10
|
+
* inside the package and is the single source of truth (the release pipeline edits that file to
|
|
11
|
+
* promote an OS to a new stable, and the same file is published to the download server). This
|
|
12
|
+
* module just loads it; FALLBACK_VERSIONS is used only if the bundled manifest is missing or
|
|
13
|
+
* corrupt in an install.
|
|
14
|
+
*
|
|
15
|
+
* Override order at download time: CAPIUM_VERSION env > per-OS stable from channels.json.
|
|
16
|
+
*/
|
|
17
|
+
'use strict';
|
|
18
|
+
|
|
19
|
+
const fs = require('fs');
|
|
20
|
+
const os = require('os');
|
|
21
|
+
const path = require('path');
|
|
22
|
+
|
|
23
|
+
const SDK_VERSION = require('../package.json').version;
|
|
24
|
+
|
|
25
|
+
// Used only if channels.json can't be read (corrupt/removed install). ensureBinary() raises a
|
|
26
|
+
// clear error long before the "unsupported platform" case matters; this keeps lookups total.
|
|
27
|
+
const FALLBACK_VERSIONS = {
|
|
28
|
+
'windows-x64': '153.0.8010.52', // real Chrome 152 stable per OS (win/mac .65, linux .64)
|
|
29
|
+
'macos-arm64': '153.0.8010.52',
|
|
30
|
+
'linux-x64': '153.0.8010.52',
|
|
31
|
+
'linux-arm64': '153.0.8010.52', // declared; not yet published (see channels.json)
|
|
32
|
+
};
|
|
33
|
+
const DEFAULT_BINARY_VERSION = '153.0.8010.52';
|
|
34
|
+
|
|
35
|
+
function loadStable() {
|
|
36
|
+
// The `channels.stable` map from the bundled manifest, or null if unreadable.
|
|
37
|
+
try {
|
|
38
|
+
const raw = fs.readFileSync(path.join(__dirname, 'channels.json'), 'utf8');
|
|
39
|
+
const stable = JSON.parse(raw).channels.stable;
|
|
40
|
+
return stable && typeof stable === 'object' ? stable : null;
|
|
41
|
+
} catch {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
const STABLE = loadStable();
|
|
47
|
+
|
|
48
|
+
function versionsFromManifest() {
|
|
49
|
+
if (!STABLE) return { ...FALLBACK_VERSIONS };
|
|
50
|
+
const out = {};
|
|
51
|
+
for (const [tag, entry] of Object.entries(STABLE)) {
|
|
52
|
+
if (entry && typeof entry === 'object' && entry.version) out[tag] = entry.version;
|
|
53
|
+
}
|
|
54
|
+
return Object.keys(out).length ? out : { ...FALLBACK_VERSIONS };
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Default stable Capium binary build per distro tag, resolved from channels.json.
|
|
58
|
+
const CAPIUM_BINARY_VERSIONS = versionsFromManifest();
|
|
59
|
+
|
|
60
|
+
/** The current stable Capium binary version for a distro tag (e.g. 'windows-x64'). */
|
|
61
|
+
function binaryVersionFor(tag) {
|
|
62
|
+
return CAPIUM_BINARY_VERSIONS[tag] || DEFAULT_BINARY_VERSION;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
function revisionsFromManifest() {
|
|
66
|
+
if (!STABLE) return {};
|
|
67
|
+
const out = {};
|
|
68
|
+
for (const [tag, entry] of Object.entries(STABLE)) {
|
|
69
|
+
if (entry && typeof entry === 'object' && Number.isInteger(entry.revision)) out[tag] = entry.revision;
|
|
70
|
+
}
|
|
71
|
+
return out;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// Re-spin variant per tag (>=1). Same Chromium version can be rebuilt (a stealth/fingerprint
|
|
75
|
+
// change with no engine bump); each re-spin increments this. 1 = the base build.
|
|
76
|
+
const CAPIUM_BINARY_REVISIONS = revisionsFromManifest();
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* The packaging revision (>=1) for a distro tag. 1 = the first build (chromium-v<version>.1/);
|
|
80
|
+
* 2,3,... are re-spins of the SAME Chromium version served from chromium-v<version>.<N>/ (so a
|
|
81
|
+
* re-spin never overwrites the artifact older SDKs still fetch). A version bump resets this to 1.
|
|
82
|
+
*/
|
|
83
|
+
function binaryRevisionFor(tag) {
|
|
84
|
+
return CAPIUM_BINARY_REVISIONS[tag] || 1;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Stable identity of one specific build = the R2 folder discriminator AND the install-cache key.
|
|
89
|
+
* The packaging revision is ALWAYS a dotted suffix starting at 1: chromium-v<version>.<N>/
|
|
90
|
+
* (revision 1 -> <version>.1, the first build; 2,3,... -> <version>.2 etc., a same-engine
|
|
91
|
+
* re-spin). Each revision is its own immutable folder, so a re-spin never overwrites the
|
|
92
|
+
* artifact an older SDK still fetches, and a revision bump re-downloads. NOTE: the customer's
|
|
93
|
+
* reported Chrome version is unchanged -- this suffix only names our distro/upload/download
|
|
94
|
+
* artifact, not the browser version.
|
|
95
|
+
*/
|
|
96
|
+
function buildId(version, revision) {
|
|
97
|
+
const n = parseInt(revision, 10);
|
|
98
|
+
return `${version}.${!n || n < 1 ? 1 : n}`;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* False only when the manifest declares the tag but marks it not-yet-published. Unknown
|
|
103
|
+
* tags / missing manifest return true so the download layer's own error/404 speaks instead.
|
|
104
|
+
*/
|
|
105
|
+
function isPublished(tag) {
|
|
106
|
+
if (!STABLE) return true;
|
|
107
|
+
const entry = STABLE[tag];
|
|
108
|
+
if (!entry || typeof entry !== 'object') return true;
|
|
109
|
+
return entry.published !== false;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Best-effort distro tag for the current host, mirroring download.js's mapping. Kept
|
|
114
|
+
* dependency-free (no require of download.js) so version.js stays loadable in isolation.
|
|
115
|
+
*/
|
|
116
|
+
function hostTag() {
|
|
117
|
+
const p = process.platform;
|
|
118
|
+
const osName = p === 'darwin' ? 'macos' : p === 'win32' ? 'windows' : 'linux';
|
|
119
|
+
const m = os.arch();
|
|
120
|
+
const arch = m === 'x64' || m === 'ia32' ? 'x64' : m === 'arm64' ? 'arm64' : m;
|
|
121
|
+
return `${osName}-${arch}`;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// The stable build this SDK targets for THIS host (CLI display, examples). Code that fetches a
|
|
125
|
+
// build should prefer binaryVersionFor(tag) with the tag it already resolved.
|
|
126
|
+
const CAPIUM_BINARY_VERSION = binaryVersionFor(hostTag());
|
|
127
|
+
|
|
128
|
+
module.exports = {
|
|
129
|
+
SDK_VERSION,
|
|
130
|
+
CAPIUM_BINARY_VERSION,
|
|
131
|
+
CAPIUM_BINARY_VERSIONS,
|
|
132
|
+
CAPIUM_BINARY_REVISIONS,
|
|
133
|
+
binaryVersionFor,
|
|
134
|
+
binaryRevisionFor,
|
|
135
|
+
buildId,
|
|
136
|
+
isPublished,
|
|
137
|
+
hostTag,
|
|
138
|
+
_FALLBACK_VERSIONS: FALLBACK_VERSIONS,
|
|
139
|
+
};
|
package/package.json
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "capiumbrowser",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Drop-in stealth browser SDK on top of Playwright or Puppeteer (Capium Chromium).",
|
|
5
|
-
"license": "SEE LICENSE IN LICENSE",
|
|
6
|
-
"author": "Capzy (https://capzy.ai)",
|
|
7
|
-
"homepage": "https://capiumbrowser.com",
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/capzy-ai/capiumbrowser.git",
|
|
11
|
-
"directory": "capiumbrowser-node"
|
|
12
|
-
},
|
|
13
|
-
"bugs": {
|
|
14
|
-
"url": "https://github.com/capzy-ai/capiumbrowser/issues"
|
|
15
|
-
},
|
|
16
|
-
"keywords": [
|
|
17
|
-
"playwright",
|
|
18
|
-
"puppeteer",
|
|
19
|
-
"stealth",
|
|
20
|
-
"chromium",
|
|
21
|
-
"browser",
|
|
22
|
-
"fingerprint",
|
|
23
|
-
"automation"
|
|
24
|
-
],
|
|
25
|
-
"main": "index.js",
|
|
26
|
-
"types": "index.d.ts",
|
|
27
|
-
"bin": {
|
|
28
|
-
"capiumbrowser": "bin/capiumbrowser.js"
|
|
29
|
-
},
|
|
30
|
-
"exports": {
|
|
31
|
-
".": "./index.js",
|
|
32
|
-
"./playwright": "./playwright.js",
|
|
33
|
-
"./puppeteer": "./puppeteer.js",
|
|
34
|
-
"./package.json": "./package.json"
|
|
35
|
-
},
|
|
36
|
-
"files": [
|
|
37
|
-
"index.js",
|
|
38
|
-
"index.d.ts",
|
|
39
|
-
"playwright.js",
|
|
40
|
-
"puppeteer.js",
|
|
41
|
-
"bin/",
|
|
42
|
-
"lib/",
|
|
43
|
-
"README.md",
|
|
44
|
-
"LICENSE"
|
|
45
|
-
],
|
|
46
|
-
"engines": {
|
|
47
|
-
"node": ">=18.17"
|
|
48
|
-
},
|
|
49
|
-
"scripts": {
|
|
50
|
-
"test": "node --test"
|
|
51
|
-
},
|
|
52
|
-
"dependencies": {
|
|
53
|
-
"tar": "^7.4.0"
|
|
54
|
-
},
|
|
55
|
-
"peerDependencies": {
|
|
56
|
-
"playwright-core": ">=1.40.0",
|
|
57
|
-
"puppeteer-core": ">=21.0.0"
|
|
58
|
-
},
|
|
59
|
-
"peerDependenciesMeta": {
|
|
60
|
-
"playwright-core": {
|
|
61
|
-
"optional": true
|
|
62
|
-
},
|
|
63
|
-
"puppeteer-core": {
|
|
64
|
-
"optional": true
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "capiumbrowser",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"description": "Drop-in stealth browser SDK on top of Playwright or Puppeteer (Capium Chromium).",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
6
|
+
"author": "Capzy (https://capzy.ai)",
|
|
7
|
+
"homepage": "https://capiumbrowser.com",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/capzy-ai/capiumbrowser.git",
|
|
11
|
+
"directory": "capiumbrowser-node"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/capzy-ai/capiumbrowser/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"playwright",
|
|
18
|
+
"puppeteer",
|
|
19
|
+
"stealth",
|
|
20
|
+
"chromium",
|
|
21
|
+
"browser",
|
|
22
|
+
"fingerprint",
|
|
23
|
+
"automation"
|
|
24
|
+
],
|
|
25
|
+
"main": "index.js",
|
|
26
|
+
"types": "index.d.ts",
|
|
27
|
+
"bin": {
|
|
28
|
+
"capiumbrowser": "bin/capiumbrowser.js"
|
|
29
|
+
},
|
|
30
|
+
"exports": {
|
|
31
|
+
".": "./index.js",
|
|
32
|
+
"./playwright": "./playwright.js",
|
|
33
|
+
"./puppeteer": "./puppeteer.js",
|
|
34
|
+
"./package.json": "./package.json"
|
|
35
|
+
},
|
|
36
|
+
"files": [
|
|
37
|
+
"index.js",
|
|
38
|
+
"index.d.ts",
|
|
39
|
+
"playwright.js",
|
|
40
|
+
"puppeteer.js",
|
|
41
|
+
"bin/",
|
|
42
|
+
"lib/",
|
|
43
|
+
"README.md",
|
|
44
|
+
"LICENSE"
|
|
45
|
+
],
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": ">=18.17"
|
|
48
|
+
},
|
|
49
|
+
"scripts": {
|
|
50
|
+
"test": "node --test"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"tar": "^7.4.0"
|
|
54
|
+
},
|
|
55
|
+
"peerDependencies": {
|
|
56
|
+
"playwright-core": ">=1.40.0",
|
|
57
|
+
"puppeteer-core": ">=21.0.0"
|
|
58
|
+
},
|
|
59
|
+
"peerDependenciesMeta": {
|
|
60
|
+
"playwright-core": {
|
|
61
|
+
"optional": true
|
|
62
|
+
},
|
|
63
|
+
"puppeteer-core": {
|
|
64
|
+
"optional": true
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|