smbls 3.14.855 → 3.14.857

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.
Files changed (51) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/smbls.cjs +46 -46
  3. package/dist/smbls.cjs.map +3 -3
  4. package/dist/smbls.core.chunk-2ZCRFEWG.esm.js +36 -0
  5. package/dist/smbls.core.chunk-2ZCRFEWG.esm.js.map +1 -0
  6. package/dist/smbls.core.chunk-BH7NPZAA.esm.js +7 -0
  7. package/dist/smbls.core.chunk-BH7NPZAA.esm.js.map +6 -0
  8. package/dist/smbls.core.chunk-MMC3VKQX.esm.js +2 -0
  9. package/dist/smbls.core.chunk-MMC3VKQX.esm.js.map +1 -0
  10. package/dist/smbls.core.chunk-TG2NZ6VH.esm.js +36 -0
  11. package/dist/smbls.core.chunk-TG2NZ6VH.esm.js.map +1 -0
  12. package/dist/smbls.core.chunk-VG333WGF.esm.js +22 -0
  13. package/dist/smbls.core.chunk-VG333WGF.esm.js.map +6 -0
  14. package/dist/{smbls.core.dropdown-PXAJ2VAG.esm.js → smbls.core.dropdown-ZXDSXWKQ.esm.js} +2 -2
  15. package/dist/smbls.core.esm.js +1 -1
  16. package/dist/smbls.core.fetch-YW5A5WYS.esm.js +2 -0
  17. package/dist/smbls.core.fetch-YW5A5WYS.esm.js.map +1 -0
  18. package/dist/{smbls.core.fetchOnCreate-G5SI6QY4.esm.js → smbls.core.fetchOnCreate-IYA76D26.esm.js} +2 -2
  19. package/dist/{smbls.core.inspect-35DHLAA5.esm.js → smbls.core.inspect-ADIDT7QG.esm.js} +2 -2
  20. package/dist/smbls.core.sync-CDWW7LM4.esm.js +2 -0
  21. package/dist/smbls.core.sync-CDWW7LM4.esm.js.map +6 -0
  22. package/dist/{smbls.core.windows-XMCWCGON.esm.js → smbls.core.windows-5KS5J3M3.esm.js} +2 -2
  23. package/dist/smbls.embed.iife.js +1 -1
  24. package/dist/smbls.embed.iife.js.map +1 -1
  25. package/dist/smbls.esm.js +46 -46
  26. package/dist/smbls.esm.js.map +1 -1
  27. package/dist/smbls.iife-string.js +2 -2
  28. package/dist/smbls.iife.js +1 -1
  29. package/dist/smbls.iife.js.map +1 -1
  30. package/dist/smbls.server-utils.esm.js +9 -9
  31. package/dist/smbls.server-utils.esm.js.map +3 -3
  32. package/dist/smbls.tree-shake.json +9 -0
  33. package/package.json +5 -5
  34. package/dist/smbls.core.chunk-7RWDIF2S.esm.js +0 -36
  35. package/dist/smbls.core.chunk-7RWDIF2S.esm.js.map +0 -1
  36. package/dist/smbls.core.chunk-CCELIELA.esm.js +0 -2
  37. package/dist/smbls.core.chunk-CCELIELA.esm.js.map +0 -1
  38. package/dist/smbls.core.chunk-F7PSOVLR.esm.js +0 -36
  39. package/dist/smbls.core.chunk-F7PSOVLR.esm.js.map +0 -1
  40. package/dist/smbls.core.chunk-FNPJKVQM.esm.js +0 -22
  41. package/dist/smbls.core.chunk-FNPJKVQM.esm.js.map +0 -6
  42. package/dist/smbls.core.chunk-ULA4ERZ5.esm.js +0 -7
  43. package/dist/smbls.core.chunk-ULA4ERZ5.esm.js.map +0 -6
  44. package/dist/smbls.core.fetch-WPTPOQQO.esm.js +0 -2
  45. package/dist/smbls.core.fetch-WPTPOQQO.esm.js.map +0 -1
  46. package/dist/smbls.core.sync-ABZ7ZHXJ.esm.js +0 -2
  47. package/dist/smbls.core.sync-ABZ7ZHXJ.esm.js.map +0 -6
  48. /package/dist/{smbls.core.dropdown-PXAJ2VAG.esm.js.map → smbls.core.dropdown-ZXDSXWKQ.esm.js.map} +0 -0
  49. /package/dist/{smbls.core.fetchOnCreate-G5SI6QY4.esm.js.map → smbls.core.fetchOnCreate-IYA76D26.esm.js.map} +0 -0
  50. /package/dist/{smbls.core.inspect-35DHLAA5.esm.js.map → smbls.core.inspect-ADIDT7QG.esm.js.map} +0 -0
  51. /package/dist/{smbls.core.windows-XMCWCGON.esm.js.map → smbls.core.windows-5KS5J3M3.esm.js.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # smbls
2
2
 
3
+ ## 3.14.857
4
+
5
+ ### Patch Changes
6
+
7
+ - 7b3795b: A part of a pre-built page whose query runs after its create (on a state change, once its `enabled` turns true) is taken over as the page shows it. The render records which of its queries each element ran (`fetchRunsOf`), the page carries that record in its seed block, and the element takes those queries' recorded answers at its init — no loading look between the takeover and its data, no request. An element that never ran a query never takes another element's answer. `elementPath` moves to `@symbo.ls/utils` (still exported by `@symbo.ls/element`).
8
+ - 8700d85: Inside a `breakpointsFrom` container, `vw` lengths measure the container, not the window (XMA round 6, item F, the vw half). A new optional element feature, `containerVw` (`src/containerVw.js`, a `FEATURES` slot like the view events), does it. The container's class gives its children `--smbls-cvw: 1cqi`, a `<length>` custom property registered with `CSS.registerProperty` (initial value `1vw`), so it inherits as px and a nested card container does not re-measure it. It also re-declares every design-system token with a `vw` length in `--smbls-cvw`, plus each token that refers to one. A descendant's own `vw` / `svw` / `lvw` / `dvw` values (static and reactive classes, case blocks, `style` blocks, inline writes) are written as `calc(N * var(--smbls-cvw))`. `breakpointsFrom: 'window'` inside a container gives its subtree the window's `vw` again. Apps without a container emit the same CSS as before. The lean engine (the smbls embed) leaves the feature out, and `build.treeShakeFeatures` drops it (`containerVw`, trigger `breakpointsFrom`) from a build whose source never names `breakpointsFrom`.
9
+ - 9184c58: fetch.early (XMA 3.14.855 report): `script` bundles the project's own pre-boot module into the early file (one request; its exported hooks are the script's); `adopt: 'init'` lets an element take an answer that is already in at its init on the app shell; `startLang(ctx)` names the start language (asked in, stored as polyglot's choice) and a request's `lang: '<code>'` asks in its own; `slice: '<argument>'` slices an rpc, and with `adopt: 'init'` an early answer with fewer rows is a bigger call's first part; `firstView(ctx)` runs once the first view is in (after the takeover on a built page; after load and first contentful paint on the shell), at idle. All opt-in.
10
+
11
+ ## 3.14.856
12
+
13
+ ### Patch Changes
14
+
15
+ - A payload key can no longer write to a prototype, a shared library reaches a consumer as copies, and a server render takes back its own library entries (merge programme 2026-10-25, lane F1).
16
+
17
+ - Security: `deepDestringifyFunctions` and `destringifyGlobalScope` (`@symbo.ls/utils`, and so the `smbls` bundle) and the renderer's own reviver (`@symbo.ls/mermaid` `deepDestringifyFunctions`, `stripFunctionStrings`) skip the keys `__proto__`, `constructor` and `prototype`. Before, a served page payload with a `__proto__` key wrote its object into `Object.prototype` (every object of the process then carried its keys, the next server render in the same process too), and a revived global scope inherited from an object the payload chose. The library merge (`deepDefaults` and its copies) skips the same keys.
18
+ - A library's `polyglot.translations` fill a consumer that has translations of its own, language by language and key by key: the app's key wins, an app with `polyglot.fetch` keeps its own maps, and a flat dotted library key never shadows a nested app value. `@symbo.ls/sync` puts the library keys back after a livesync snapshot or op.
19
+ - The merge hands a consumer copies of a library's design system and bags, never the library's objects, so one consumer's boot can no longer write into a library payload that other consumers share. A cycle in a library value is kept, not followed. Every `smbls` boot starts from its own default containers.
20
+ - `@symbo.ls/brender`: a render takes back only the `__SMBLS_PKGS__` entries its own libraries added; the process keeps one package registry and its framework entries.
21
+
3
22
  ## 3.14.855
4
23
 
5
24
  ### Patch Changes