zitejs 0.9.21 → 0.9.23

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.
@@ -250,10 +250,8 @@ function createAliasPlugin(opts) {
250
250
  }
251
251
  return { path: 'zitejs/db', external: true };
252
252
  });
253
- // Resolve zitejs/runtime
254
- build.onResolve({ filter: /^zitejs\/runtime$/ }, () => {
255
- return { path: 'zitejs/runtime', external: true };
256
- });
253
+ // zitejs/runtime is NOT in PREBUNDLED_LIBS — it's a thin fetch()
254
+ // wrapper that gets bundled inline by esbuild (no special handling).
257
255
  for (const [pkgName, modulePath] of Object.entries(PREBUNDLED_LIBS)) {
258
256
  const escapedName = pkgName.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
259
257
  const filter = new RegExp(`^${escapedName}$`);
@@ -214,10 +214,8 @@ function createAliasPlugin(opts) {
214
214
  }
215
215
  return { path: 'zitejs/db', external: true };
216
216
  });
217
- // Resolve zitejs/runtime
218
- build.onResolve({ filter: /^zitejs\/runtime$/ }, () => {
219
- return { path: 'zitejs/runtime', external: true };
220
- });
217
+ // zitejs/runtime is NOT in PREBUNDLED_LIBS — it's a thin fetch()
218
+ // wrapper that gets bundled inline by esbuild (no special handling).
221
219
  for (const [pkgName, modulePath] of Object.entries(PREBUNDLED_LIBS)) {
222
220
  const escapedName = pkgName.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
223
221
  const filter = new RegExp(`^${escapedName}$`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zitejs",
3
- "version": "0.9.21",
3
+ "version": "0.9.23",
4
4
  "description": "The Zite framework — build apps on Zite Database",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/runtime/index.js",