brumate 0.5.2 → 0.6.0

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 (71) hide show
  1. package/dist/{boot-Difa0qdg.d.ts → boot-CMvhoWRu.d.ts} +2 -2
  2. package/dist/cli.js +2 -2
  3. package/dist/{client-DvsU9qxG.d.ts → client-C4kNKGwH.d.ts} +18 -5
  4. package/dist/{client-De-7aGlO.js → client-eVI8Wc95.js} +171 -29
  5. package/dist/client-eVI8Wc95.js.map +1 -0
  6. package/dist/{defer-DlFYiAuK.js → defer-pKO0S6UT.js} +2 -2
  7. package/dist/{defer-DlFYiAuK.js.map → defer-pKO0S6UT.js.map} +1 -1
  8. package/dist/{devtools-Di_dI9tS.js → devtools-DqqqdI4b.js} +4 -4
  9. package/dist/{devtools-Di_dI9tS.js.map → devtools-DqqqdI4b.js.map} +1 -1
  10. package/dist/{devtools-panel-BvIKX1LY.js → devtools-panel--GYjFZ35.js} +2 -2
  11. package/dist/{devtools-panel-BvIKX1LY.js.map → devtools-panel--GYjFZ35.js.map} +1 -1
  12. package/dist/{features-D5kLyihb.js → features-CbgII-o7.js} +4 -2
  13. package/dist/features-CbgII-o7.js.map +1 -0
  14. package/dist/{files-s4wmjcZV.js → files-CR-V05xd.js} +2 -2
  15. package/dist/{files-s4wmjcZV.js.map → files-CR-V05xd.js.map} +1 -1
  16. package/dist/index.d.ts +8 -4
  17. package/dist/index.js +2 -7
  18. package/dist/index.js.map +1 -1
  19. package/dist/{inspect-BLPt-dZZ.js → inspect-ddfGeww0.js} +236 -57
  20. package/dist/inspect-ddfGeww0.js.map +1 -0
  21. package/dist/{loader-krRrJuIv.js → loader-CQkAXO0g.js} +11 -3
  22. package/dist/loader-CQkAXO0g.js.map +1 -0
  23. package/dist/routes-D21FQyGF.js +51 -0
  24. package/dist/routes-D21FQyGF.js.map +1 -0
  25. package/dist/{rpc-BYYAj1vV.js → rpc-BgYnfg_a.js} +3 -3
  26. package/dist/{rpc-BYYAj1vV.js.map → rpc-BgYnfg_a.js.map} +1 -1
  27. package/dist/runtime/bundles.d.ts +1 -1
  28. package/dist/runtime/client.d.ts +2 -2
  29. package/dist/runtime/client.js +3 -3
  30. package/dist/runtime/devtools.d.ts +1 -1
  31. package/dist/runtime/devtools.js +1 -1
  32. package/dist/runtime/hot.d.ts +1 -1
  33. package/dist/runtime/loader.d.ts +2 -2
  34. package/dist/runtime/loader.js +2 -2
  35. package/dist/runtime/routes.js +1 -51
  36. package/dist/runtime/server.d.ts +2 -2
  37. package/dist/runtime/server.js +3 -3
  38. package/dist/runtime/signals.d.ts +2 -140
  39. package/dist/runtime/signals.js +4 -1
  40. package/dist/runtime/signals.js.map +1 -1
  41. package/dist/runtime/static-loader.d.ts +2 -2
  42. package/dist/runtime/static-loader.js +1 -1
  43. package/dist/runtime/testing.d.ts +24 -4
  44. package/dist/runtime/testing.js +66 -2
  45. package/dist/runtime/testing.js.map +1 -1
  46. package/dist/{produce-Cq6KKi7b.js → search-params-CM1RWR2P.js} +25 -3
  47. package/dist/search-params-CM1RWR2P.js.map +1 -0
  48. package/dist/{server-Doy5HR7r.js → server-BcT9icQ4.js} +107 -40
  49. package/dist/server-BcT9icQ4.js.map +1 -0
  50. package/dist/{server-CAwIqrXl.d.ts → server-dP_ucRiJ.d.ts} +42 -3
  51. package/dist/signals-BwD4u22K.d.ts +165 -0
  52. package/dist/{static-loader-9Nc1GvF0.d.ts → static-loader-CGthkX0s.d.ts} +2 -2
  53. package/dist/{static-loader-DoHWsf9t.js → static-loader-DCxASuzA.js} +3 -3
  54. package/dist/{static-loader-DoHWsf9t.js.map → static-loader-DCxASuzA.js.map} +1 -1
  55. package/dist/{stream-BdhzvPQO.js → stream-DRjx0keF.js} +2 -2
  56. package/dist/{stream-BdhzvPQO.js.map → stream-DRjx0keF.js.map} +1 -1
  57. package/dist/vite.d.ts +1 -1
  58. package/dist/vite.js +17 -12
  59. package/dist/vite.js.map +1 -1
  60. package/elements.d.ts +231 -35
  61. package/package.json +6 -1
  62. package/skills/brumate/references/errors.md +32 -12
  63. package/skills/brumate/references/signals.md +27 -25
  64. package/skills/brumate/references/syntax.md +1 -1
  65. package/dist/client-De-7aGlO.js.map +0 -1
  66. package/dist/features-D5kLyihb.js.map +0 -1
  67. package/dist/inspect-BLPt-dZZ.js.map +0 -1
  68. package/dist/loader-krRrJuIv.js.map +0 -1
  69. package/dist/produce-Cq6KKi7b.js.map +0 -1
  70. package/dist/runtime/routes.js.map +0 -1
  71. package/dist/server-Doy5HR7r.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"features-D5kLyihb.js","names":[],"sources":["../src/runtime/features.ts"],"sourcesContent":["// The features of the core that a build uses. Each is on, unless the build names it. The Vite\n// plugin names them in the client build of an app, and turns off the features that none of its\n// components use, so the bundler leaves out their code. They are globals that the plugin\n// replaces, so the build of this package does not fold them.\n\ndeclare const __BRUMATE_HAS_CHILDREN__: boolean | undefined;\ndeclare const __BRUMATE_HAS_TEMPLATES__: boolean | undefined;\ndeclare const __BRUMATE_HAS_TITLES__: boolean | undefined;\ndeclare const __BRUMATE_HAS_BINDINGS__: boolean | undefined;\ndeclare const __BRUMATE_HAS_LATE_MARKUP__: boolean | undefined;\ndeclare const __BRUMATE_HAS_BLOCKS__: boolean | undefined;\ndeclare const __BRUMATE_HAS_LISTENERS__: boolean | undefined;\ndeclare const __BRUMATE_HAS_ACTIONS__: boolean | undefined;\ndeclare const __BRUMATE_HAS_CLIENT_HTML__: boolean | undefined;\ndeclare const __BRUMATE_HAS_TRIES__: boolean | undefined;\ndeclare const __BRUMATE_HAS_FIELDS__: boolean | undefined;\ndeclare const __BRUMATE_HAS_WINDOWS__: boolean | undefined;\ndeclare const __BRUMATE_HAS_DYNAMIC__: boolean | undefined;\ndeclare const __BRUMATE_HAS_ROUTES__: boolean | undefined;\ndeclare const __BRUMATE_HAS_LOADING__: boolean | undefined;\ndeclare const __BRUMATE_HAS_ROOT_WAIT__: boolean | undefined;\n\n/** Children that the browser renders with an export of their own, each time they are inserted. */\nexport const HAS_CHILDREN: boolean =\n typeof __BRUMATE_HAS_CHILDREN__ === 'undefined' || __BRUMATE_HAS_CHILDREN__;\n\n/** `#template` values that the browser calls, such as a template that a prop holds. */\nexport const HAS_TEMPLATES: boolean =\n typeof __BRUMATE_HAS_TEMPLATES__ === 'undefined' || __BRUMATE_HAS_TEMPLATES__;\n\n/** `<title>` elements in markup, which set the title of the page. */\nexport const HAS_TITLES: boolean =\n typeof __BRUMATE_HAS_TITLES__ === 'undefined' || __BRUMATE_HAS_TITLES__;\n\n/** `$bind` that a component passes to another, which the page state can hold. */\nexport const HAS_BINDINGS: boolean =\n typeof __BRUMATE_HAS_BINDINGS__ === 'undefined' || __BRUMATE_HAS_BINDINGS__;\n\n/**\n * Markup that comes into the page after it loads, from others than the core: the bodies of\n * `#loading` and `#defer`, the items of a list that streams, and the pages of client navigation.\n * Without it, the core finds every marker in the markup that it reads or inserts itself.\n */\nexport const HAS_LATE_MARKUP: boolean =\n typeof __BRUMATE_HAS_LATE_MARKUP__ === 'undefined' || __BRUMATE_HAS_LATE_MARKUP__;\n\n/** `$client` callbacks and `#defer` blocks, which start on a trigger. */\nexport const HAS_BLOCKS: boolean =\n typeof __BRUMATE_HAS_BLOCKS__ === 'undefined' || __BRUMATE_HAS_BLOCKS__;\n\n/** Handlers of the window or the document. */\nexport const HAS_LISTENERS: boolean =\n typeof __BRUMATE_HAS_LISTENERS__ === 'undefined' || __BRUMATE_HAS_LISTENERS__;\n\n/** Forms of an `$action`, which send their data with `fetch`. */\nexport const HAS_ACTIONS: boolean =\n typeof __BRUMATE_HAS_ACTIONS__ === 'undefined' || __BRUMATE_HAS_ACTIONS__;\n\n/**\n * Markup that the browser renders as HTML, not as a clone of a template. Without it, the core\n * indexes each insert at once, and HTML holds no places for clones.\n */\nexport const HAS_CLIENT_HTML: boolean =\n typeof __BRUMATE_HAS_CLIENT_HTML__ === 'undefined' || __BRUMATE_HAS_CLIENT_HTML__;\n\n/** `#try` blocks, whose `#catch` the browser renders. */\nexport const HAS_TRIES: boolean =\n typeof __BRUMATE_HAS_TRIES__ === 'undefined' || __BRUMATE_HAS_TRIES__;\n\n/** Fields of an element `$bind`, which the core reads when the user typed before it loaded. */\nexport const HAS_FIELDS: boolean =\n typeof __BRUMATE_HAS_FIELDS__ === 'undefined' || __BRUMATE_HAS_FIELDS__;\n\n/** `#for` lists with `window`. */\nexport const HAS_WINDOWS: boolean =\n typeof __BRUMATE_HAS_WINDOWS__ === 'undefined' || __BRUMATE_HAS_WINDOWS__;\n\n/** Dynamic tags, which can name a component and pass it props. */\nexport const HAS_DYNAMIC: boolean =\n typeof __BRUMATE_HAS_DYNAMIC__ === 'undefined' || __BRUMATE_HAS_DYNAMIC__;\n\n/** `$route` and `$navigation`, which the runtime provides. */\nexport const HAS_ROUTES: boolean =\n typeof __BRUMATE_HAS_ROUTES__ === 'undefined' || __BRUMATE_HAS_ROUTES__;\n\n/** `#loading` blocks that the browser renders, which show their fallback while memos load. */\nexport const HAS_LOADING: boolean =\n typeof __BRUMATE_HAS_LOADING__ === 'undefined' || __BRUMATE_HAS_LOADING__;\n\n/**\n * A browser render that waits at `await $memo`. A block outside every `#loading` then keeps what\n * it shows until the waits of its new body settle, as the server holds the page.\n */\nexport const HAS_ROOT_WAIT: boolean =\n typeof __BRUMATE_HAS_ROOT_WAIT__ === 'undefined' || __BRUMATE_HAS_ROOT_WAIT__;\n"],"mappings":";;AAuBA,MAAa,eACX,OAAO,6BAA6B,eAAe;;AAGrD,MAAa,gBACX,OAAO,8BAA8B,eAAe;;AAGtD,MAAa,aACX,OAAO,2BAA2B,eAAe;;AAGnD,MAAa,eACX,OAAO,6BAA6B,eAAe;;;;;;AAOrD,MAAa,kBACX,OAAO,gCAAgC,eAAe;;AAGxD,MAAa,aACX,OAAO,2BAA2B,eAAe;;AAGnD,MAAa,gBACX,OAAO,8BAA8B,eAAe;;AAGtD,MAAa,cACX,OAAO,4BAA4B,eAAe;;;;;AAMpD,MAAa,kBACX,OAAO,gCAAgC,eAAe;;AAGxD,MAAa,YACX,OAAO,0BAA0B,eAAe;;AAGlD,MAAa,aACX,OAAO,2BAA2B,eAAe;;AAGnD,MAAa,cACX,OAAO,4BAA4B,eAAe;;AAGpD,MAAa,cACX,OAAO,4BAA4B,eAAe;;AAGpD,MAAa,aACX,OAAO,2BAA2B,eAAe;;AAGnD,MAAa,cACX,OAAO,4BAA4B,eAAe;;;;;AAMpD,MAAa,gBACX,OAAO,8BAA8B,eAAe"}