bun-plugin-stx 0.2.151 → 0.2.152

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 (2) hide show
  1. package/dist/serve.js +1 -0
  2. package/package.json +1 -1
package/dist/serve.js CHANGED
@@ -9216,6 +9216,7 @@ After installing: bun add bun-plugin-stx`);
9216
9216
  const ip = reqCtx ? reqCtx.ip : activeServeIp;
9217
9217
  context.__stxServeSearch = search;
9218
9218
  globalThis.__stxServeSearch = search;
9219
+ context.query = Object.fromEntries(new URLSearchParams(search ?? ""));
9219
9220
  if (host)
9220
9221
  context.host = host;
9221
9222
  context.cookies = cookies;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bun-plugin-stx",
3
3
  "type": "module",
4
- "version": "0.2.151",
4
+ "version": "0.2.152",
5
5
  "description": "A Bun plugin that allows for using Laravel Blade-like syntax.",
6
6
  "author": "Chris Breuer <chris@stacksjs.org>",
7
7
  "license": "MIT",