@corca-org/ceal 1.1.0 → 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/bin/launch.js +16 -14
- package/package.json +7 -7
package/bin/launch.js
CHANGED
|
@@ -13,18 +13,19 @@ import { fileURLToPath } from "node:url";
|
|
|
13
13
|
const launcherRequire = createRequire(import.meta.url);
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* Patched Node release lines closing
|
|
17
|
-
*
|
|
18
|
-
* the one owner in
|
|
19
|
-
*
|
|
20
|
-
* pins every value and the
|
|
21
|
-
* published copy of this file is
|
|
16
|
+
* Patched Node release lines closing the November 11, 2026 Node.js security
|
|
17
|
+
* releases (high-severity HTTP/2, HTTPS/TLS, and bundled llhttp/undici/sqlite
|
|
18
|
+
* fixes). This table is a projection of the one owner in
|
|
19
|
+
* gateway/scripts/runtime-artifact-contract.ts (PATCHED_NODE_LINE_MINIMUMS);
|
|
20
|
+
* gateway/test/gateway-runtime-node-floor.test.ts pins every value and the
|
|
21
|
+
* refusal line below to that owner, because the published copy of this file is
|
|
22
|
+
* self-contained and cannot import it.
|
|
22
23
|
*/
|
|
23
|
-
export const PATCHED_NODE_LINE_MINIMUMS = { 22: "22.23.
|
|
24
|
+
export const PATCHED_NODE_LINE_MINIMUMS = { 22: "22.23.5", 24: "24.22.3", 26: "26.13.1" };
|
|
24
25
|
|
|
25
26
|
/** The one refusal line every Node startup guard prints before any spawn or decode. */
|
|
26
27
|
export function patchedNodeRefusalLine(selected) {
|
|
27
|
-
return `Node ${selected} is refused before
|
|
28
|
+
return `Node ${selected} is refused before it runs product code: the November 11, 2026 Node.js security releases (https://nodejs.org/en/blog/vulnerability/november-2026-security-releases) fix high-severity HTTP/2, HTTPS/TLS, and bundled llhttp/undici/sqlite vulnerabilities, so every release below ${PATCHED_NODE_LINE_MINIMUMS[22]} / ${PATCHED_NODE_LINE_MINIMUMS[24]} / ${PATCHED_NODE_LINE_MINIMUMS[26]} is affected, and a prerelease (nightly/RC) build is refused because whether it carries the fixes is unproven; run a patched release.`;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
function nodeParts(version) {
|
|
@@ -41,11 +42,12 @@ function partsAtLeast(parts, minimum) {
|
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
/**
|
|
44
|
-
* Whether a Node version carries the
|
|
45
|
-
* the one owner in gateway/scripts/runtime-artifact-contract.ts: a
|
|
46
|
-
* release at or past the floor, and no semver prerelease at any line,
|
|
47
|
-
* whether a nightly/RC build cut before the
|
|
48
|
-
* unknown. Build metadata (`+...`) changes no precedence and
|
|
45
|
+
* Whether a Node version carries the November 2026 security fixes. This
|
|
46
|
+
* mirrors the one owner in gateway/scripts/runtime-artifact-contract.ts: a
|
|
47
|
+
* stable release at or past the floor, and no semver prerelease at any line,
|
|
48
|
+
* because whether a nightly/RC build cut before the fixes merged to main
|
|
49
|
+
* contains them is unknown. Build metadata (`+...`) changes no precedence and
|
|
50
|
+
* stays admissible.
|
|
49
51
|
*/
|
|
50
52
|
export function isPatchedNodeReleaseVersion(version) {
|
|
51
53
|
const parsed = nodeParts(version);
|
|
@@ -54,7 +56,7 @@ export function isPatchedNodeReleaseVersion(version) {
|
|
|
54
56
|
if (parts[0] === 22) return partsAtLeast(parts, PATCHED_NODE_LINE_MINIMUMS[22]);
|
|
55
57
|
if (parts[0] === 24) return partsAtLeast(parts, PATCHED_NODE_LINE_MINIMUMS[24]);
|
|
56
58
|
if (parts[0] === 26) return partsAtLeast(parts, PATCHED_NODE_LINE_MINIMUMS[26]);
|
|
57
|
-
// Later majors are cut from a fixed main, matching the >=26.
|
|
59
|
+
// Later majors are cut from a fixed main, matching the >=26.13.1 engines tail.
|
|
58
60
|
return parts[0] > 26;
|
|
59
61
|
}
|
|
60
62
|
|
package/package.json
CHANGED
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
7
|
-
"node": "^22.23.
|
|
7
|
+
"node": "^22.23.5 || ^24.22.3 || >=26.13.1"
|
|
8
8
|
},
|
|
9
9
|
"bin": {
|
|
10
10
|
"ceal": "bin/ceal.js",
|
|
11
11
|
"ceal-host": "bin/ceal-host.js"
|
|
12
12
|
},
|
|
13
13
|
"optionalDependencies": {
|
|
14
|
-
"@corca-org/ceal-linux-x64": "1.1.
|
|
15
|
-
"@corca-org/ceal-linux-arm64": "1.1.
|
|
16
|
-
"@corca-org/ceal-darwin-arm64": "1.1.
|
|
17
|
-
"@corca-org/ceal-win32-x64": "1.1.
|
|
14
|
+
"@corca-org/ceal-linux-x64": "1.1.1",
|
|
15
|
+
"@corca-org/ceal-linux-arm64": "1.1.1",
|
|
16
|
+
"@corca-org/ceal-darwin-arm64": "1.1.1",
|
|
17
|
+
"@corca-org/ceal-win32-x64": "1.1.1"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@corca-org/ceal-host": "1.1.
|
|
20
|
+
"@corca-org/ceal-host": "1.1.1"
|
|
21
21
|
},
|
|
22
22
|
"repository": {
|
|
23
23
|
"type": "git",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"bin/launch.js",
|
|
30
30
|
"README.md"
|
|
31
31
|
],
|
|
32
|
-
"version": "1.1.
|
|
32
|
+
"version": "1.1.1",
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public",
|
|
35
35
|
"provenance": false
|