@sproutboat/toolchain 0.4.9 → 0.4.10

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @sproutboat/toolchain
2
2
 
3
+ ## 0.4.10
4
+
5
+ ### Patch Changes
6
+
7
+ - df11cef: Bump the pinned Porffor commit to the `alpha-7` tag. All local patches
8
+ (render.js, uwebsockets.js) verified against the real alpha-7 source via
9
+ `ensurePorffor()` — no anchor drift, full test suite green. `UWS_COMMIT`
10
+ unchanged, no uWebSockets re-vendor needed.
11
+
3
12
  ## 0.4.9
4
13
 
5
14
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sproutboat/toolchain",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
package/src/acquire.ts CHANGED
@@ -5,7 +5,7 @@ import { homedir } from "node:os";
5
5
  import { resolve } from "node:path";
6
6
  // @ts-expect-error Bun's file loader supplies a path; see the pinned-commit
7
7
  // check below for why this is safe to trust unconditionally.
8
- import vendoredPorfforArchive from "../vendor/porffor-038f415.tar.gz" with { type: "file" };
8
+ import vendoredPorfforArchive from "../vendor/porffor-8f01541.tar.gz" with { type: "file" };
9
9
  import { ensurePorfforPatched } from "./patch";
10
10
  import { PORFFOR_ARCHIVE_SHA256, PORFFOR_ARCHIVE_URL, PORFFOR_COMMIT_FULL } from "./pin";
11
11
 
package/src/pin.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * The single pinned Porffor identity for the whole platform — the CLI and the
3
- * monorepo both read it from here. The `alpha-*` git tags ship no package.json,
4
- * so there is no npm dep to resolve; `ensurePorffor` fetches the commit tarball
5
- * and verifies it against `PORFFOR_ARCHIVE_SHA256`.
3
+ * monorepo both read it from here. Porffor's npm package ships only a prebuilt
4
+ * native binary (no compiler source), and sproutboat needs patchable source
5
+ * (see `patch.ts`), so `ensurePorffor` fetches the commit's git-archive tarball
6
+ * instead and verifies it against `PORFFOR_ARCHIVE_SHA256`.
6
7
  *
7
8
  * To move the pin: bump all four constants below (the sha is
8
9
  * `shasum -a 256` of the archive at `PORFFOR_ARCHIVE_URL`), check whether the
@@ -10,14 +11,14 @@
10
11
  * uWebSockets archive in `sproutboat-cli/vendor/` — then run both repos'
11
12
  * test + conformance suites. See sproutboat-cli/MIGRATION.md.
12
13
  */
13
- export const PORFFOR_CHANNEL = "alpha-6";
14
- export const PORFFOR_COMMIT_FULL = "038f415e08efc5f87a6bfcb05a18824caa3a14f6";
14
+ export const PORFFOR_CHANNEL = "alpha-7";
15
+ export const PORFFOR_COMMIT_FULL = "8f01541498d6d61c0cbbf8a71be152330888be7e";
15
16
  export const PORFFOR_COMMIT = PORFFOR_COMMIT_FULL.slice(0, 7);
16
17
  export const PORFFOR_ARCHIVE_SHA256 =
17
- "61f65d8fac5f94a7910f0a3f046e8929a852addb0033a032b9f7e08d0b07df5c";
18
+ "fae9cfb00c0a21e20e3aa79a9a8093bd24820062039985c6bde2b23e3e8bdb8c";
18
19
  export const PORFFOR_ARCHIVE_URL = `https://codeload.github.com/CanadaHonk/porffor/tar.gz/${PORFFOR_COMMIT_FULL}`;
19
20
 
20
- /** A compact identity string for a manifest / report (`alpha-6 (038f415)`). */
21
+ /** A compact identity string for a manifest / report (`alpha-7 (8f01541)`). */
21
22
  export function porfforVersion(): string {
22
23
  return process.env.PORFFOR_VERSION || `${PORFFOR_CHANNEL} (${PORFFOR_COMMIT})`;
23
24
  }
Binary file
Binary file