@zerotal/devtools 1.5.1 → 1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zerotal/devtools",
3
- "version": "1.5.1",
3
+ "version": "1.6.0",
4
4
  "license": "MIT",
5
5
  "maturity": "stable",
6
6
  "private": false,
@@ -30,11 +30,11 @@
30
30
  "typecheck": "tsc --noEmit"
31
31
  },
32
32
  "dependencies": {
33
- "@zerotal/core": "1.5.1"
33
+ "@zerotal/core": "1.6.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "typescript": "^5.8.0",
37
- "@zerotal/orm": "1.5.1"
37
+ "@zerotal/orm": "1.6.0"
38
38
  },
39
39
  "description": "In-browser developer tools for Zerotal — request traces, an inspector panel, and an extensible tab registry.",
40
40
  "keywords": [
@@ -107,13 +107,13 @@ export class DevtoolsProvider extends ServiceProvider {
107
107
  // no package's spans ever reached the panel in a real app.
108
108
  this.app.container.value("devtools.trace", traceSink);
109
109
 
110
- this.app.useOnce(DevtoolsInjectionMiddleware as never);
110
+ this.app.useOnce(DevtoolsInjectionMiddleware);
111
111
 
112
112
  // Auto-inject the in-page panel into HTML responses via the core dev
113
113
  // injector — no `DevTools.start()` needed in the app's own bundle. Also
114
114
  // register the injector so this works under a plain `serve` (not only
115
115
  // `serve --dev-worker`, where Application.enableDevWs() already adds it).
116
- this.app.useOnce(DevReloadMiddleware as never);
116
+ this.app.useOnce(DevReloadMiddleware);
117
117
  registerDevHtmlSnippet("zerotal-devtools", (ctx: HttpContext) =>
118
118
  ctx.url.pathname.startsWith("/__zerotal")
119
119
  ? "" // don't inject the panel into the devtools' own pages