styleproof 4.4.18 → 4.4.19

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
@@ -7,6 +7,15 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [4.4.19] - 2026-07-14
11
+
12
+ ### Fixed
13
+
14
+ - **Generated cache restores now evaluate each map in its own commit context.**
15
+ CI checks out the base before restoring the base bundle and returns to the head
16
+ before restoring the head bundle, so lockfile-changing pull requests reach the
17
+ browserless hot path after their first published pair.
18
+
10
19
  ## [4.4.18] - 2026-07-13
11
20
 
12
21
  ### Fixed
@@ -415,9 +415,16 @@ ${PM.setup}
415
415
  HEAD_SHA="\${{ github.event.pull_request.head.sha }}"
416
416
  MAP_ROOT="\${{ runner.temp }}/styleproof-maps"
417
417
  rm -rf "$MAP_ROOT"
418
+ # Compatibility keys include the checked-out lockfile. Resolve each
419
+ # exact-SHA bundle in that commit's own dependency context, while
420
+ # reusing the already-installed StyleProof binary from node_modules.
421
+ git checkout --force "$BASE_SHA"
418
422
  set +e
419
423
  PATH="$PWD/node_modules/.bin:$PATH" node node_modules/styleproof/bin/styleproof-map.mjs --restore --sha "$BASE_SHA" --dir base --base-dir "$MAP_ROOT" --spec ${specPath}
420
424
  base_code=$?
425
+ set -e
426
+ git checkout --force "$HEAD_SHA"
427
+ set +e
421
428
  PATH="$PWD/node_modules/.bin:$PATH" node node_modules/styleproof/bin/styleproof-map.mjs --restore --sha "$HEAD_SHA" --dir head --base-dir "$MAP_ROOT" --spec ${specPath}
422
429
  head_code=$?
423
430
  set -e
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "styleproof",
3
- "version": "4.4.18",
3
+ "version": "4.4.19",
4
4
  "description": "Catch every CSS change before it ships — review PRs and certify refactors by the browser's computed styles, not pixels. Works with any styling system.",
5
5
  "keywords": [
6
6
  "playwright",