waterplane 0.1.15 → 0.1.16

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.
@@ -1 +1 @@
1
- 50202f3243145147
1
+ bcde3bb4b0d164b6
@@ -1 +1 @@
1
- {"version":"0.1.15","sha":"8c3eb13","at":1793623330474}
1
+ {"version":"0.1.16","sha":"a0ff6d8","at":1793644730998}
@@ -65,14 +65,14 @@
65
65
  <link rel="icon" type="image/png" sizes="192x192" href="/assets/icon-192.png" />
66
66
  <link rel="apple-touch-icon" href="/assets/apple-touch-icon.png" />
67
67
  <title>waterplane</title>
68
- <script type="module" crossorigin src="/assets/index-CVkUvHP9.js"></script>
69
- <link rel="modulepreload" crossorigin href="/assets/shared-PjlyyA4P.js">
70
- <link rel="modulepreload" crossorigin href="/assets/demo-TmjAByxC.js">
68
+ <script type="module" crossorigin src="/assets/index-EYc28CfH.js"></script>
69
+ <link rel="modulepreload" crossorigin href="/assets/shared-DjRRLGfw.js">
70
+ <link rel="modulepreload" crossorigin href="/assets/demo-DkCtg-SJ.js">
71
71
  <link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-BpQH8Ho1.js">
72
72
  <link rel="modulepreload" crossorigin href="/assets/react-CoSyT_xY.js">
73
73
  <link rel="modulepreload" crossorigin href="/assets/icons-B48F-4nA.js">
74
74
  <link rel="modulepreload" crossorigin href="/assets/vendor-BPwPmufs.js">
75
- <link rel="modulepreload" crossorigin href="/assets/sheets-DqpgjB8i.js">
75
+ <link rel="modulepreload" crossorigin href="/assets/sheets-ByWNPa9p.js">
76
76
  <link rel="modulepreload" crossorigin href="/assets/xterm-C8zLTNGk.js">
77
77
  <link rel="stylesheet" crossorigin href="/assets/sheets-DoUhPGK0.css">
78
78
  <link rel="stylesheet" crossorigin href="/assets/xterm-BrP-ENHg.css">
@@ -5,7 +5,7 @@
5
5
  // over Tailscale to a possibly-asleep host, could take seconds).
6
6
  //
7
7
  // Freshness comes from the build, NOT from network-first: SHELL is versioned per
8
- // build (50202f3243145147 is replaced at build time, see vite.config.ts). A new build
8
+ // build (bcde3bb4b0d164b6 is replaced at build time, see vite.config.ts). A new build
9
9
  // → a new cache name → old caches purged on activate → a new SW that, on taking
10
10
  // control, reloads the page (see main.tsx). So within one build generation the
11
11
  // cached index.html and the hashed assets it references are always a consistent
@@ -21,7 +21,7 @@ const BRAND_NAME = "waterplane";
21
21
  /** Every older brand's slug, newest first — only so its pulls cache survives
22
22
  * the purge until the page has copied it (web/src/boot/brandMigrate.ts). */
23
23
  const LEGACY_SLUGS = "usmc".split(",").filter(Boolean);
24
- const SHELL = `${BRAND_SLUG}-shell-50202f3243145147`;
24
+ const SHELL = `${BRAND_SLUG}-shell-bcde3bb4b0d164b6`;
25
25
 
26
26
  // Image thumbnails, cached across builds. The name is deliberately NOT
27
27
  // build-hashed: a deploy changes the app bundle, not the pictures, and wiping
package/release.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "waterplane",
3
- "version": "0.1.15",
4
- "commit": "8c3eb13822669f8185e0306667f1d007d74517dd",
5
- "builtAt": "2026-11-02T12:42:10.806Z",
3
+ "version": "0.1.16",
4
+ "commit": "a0ff6d87def370394bd7da32994293b7e5e45209",
5
+ "builtAt": "2026-11-02T18:38:51.254Z",
6
6
  "node": "24.22.1",
7
7
  "protocolVersion": 2,
8
8
  "builtins": {
@@ -253,7 +253,9 @@ function lookupMap(map, sub) {
253
253
  const post = k.slice(star + 1);
254
254
  if (sub.startsWith(pre) && sub.endsWith(post) && sub.length >= pre.length + post.length) {
255
255
  const t = targetOf(v);
256
- if (t) return t.replace("*", sub.slice(pre.length, sub.length - post.length));
256
+ // Node fills EVERY `*` of the target, and a `$` in the subpath is text,
257
+ // not a replace() pattern — hence split/join.
258
+ if (t) return t.split("*").join(sub.slice(pre.length, sub.length - post.length));
257
259
  }
258
260
  }
259
261
  return null;
@@ -313,7 +315,7 @@ export function resolveSpecifier(spec, fromPath, ctx) {
313
315
  if (best) {
314
316
  const { a } = best;
315
317
  const middle = a.star ? spec.slice(a.prefix.length, spec.length - a.suffix.length) : "";
316
- const candidates = a.targets.map((t) => normalise(a.star ? t.replace("*", middle) : t)).filter((t) => t !== null);
318
+ const candidates = a.targets.map((t) => normalise(a.star ? t.split("*").join(middle) : t)).filter((t) => t !== null);
317
319
  return { internal: true, candidates };
318
320
  }
319
321
  }