@dokebi/template-inertia 0.4.15 → 0.4.16

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/dist/index.js CHANGED
@@ -1065,7 +1065,7 @@ class InertiaRuntime {
1065
1065
  }
1066
1066
  export const createPlugin = definePlugin({
1067
1067
  name: 'dokebi-template-inertia',
1068
- version: '0.4.15',
1068
+ version: '0.4.16',
1069
1069
  core: '^0.4.2',
1070
1070
  options,
1071
1071
  entry: parseEntry,
@@ -119,7 +119,7 @@ export class ServedFiles {
119
119
  return undefined;
120
120
  // Once per 10 seconds, with how many failed since the last warning (D-0047).
121
121
  this.#statFailures++;
122
- const now = Date.now();
122
+ const now = performance.now(); // D-0254: the warn interval is monotonic.
123
123
  if (now - this.#warnedAt >= 10_000) {
124
124
  this.#logger.log('warn', 'Vite dev host could not read the state of a file', {
125
125
  code: 'INERTIA_VITE_WATCH_STAT_FAILED',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dokebi/template-inertia",
3
- "version": "0.4.15",
3
+ "version": "0.4.16",
4
4
  "description": "Inertia v3 server adapter for Dokebi: page JSON, Vite manifest assets and optional server-side rendering.",
5
5
  "keywords": [
6
6
  "dokebi",
@@ -144,7 +144,7 @@
144
144
  },
145
145
  "devDependencies": {
146
146
  "@dokebi/i18n": "0.2.8",
147
- "@dokebi/session": "0.4.9",
147
+ "@dokebi/session": "0.4.10",
148
148
  "@dokebi/web": "0.4.21",
149
149
  "@dokebi/websocket": "0.4.9",
150
150
  "@dokebi/websocket-hub": "0.4.5",