wuchale 0.22.5 → 0.22.6

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.
@@ -444,7 +444,7 @@ export class AdapterHandler {
444
444
  }
445
445
  const [hmrKeys, updatedItems] = await this.handleMessages(msgs, filename);
446
446
  updated = updatedItems;
447
- if (msgs.length && hmrVersion >= 0) {
447
+ if (!forServer && msgs.length > 0 && hmrVersion >= 0) {
448
448
  hmrData = { version: hmrVersion, data: {} };
449
449
  for (const loc of this.#config.locales) {
450
450
  hmrData.data[loc] =
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wuchale",
3
- "version": "0.22.5",
3
+ "version": "0.22.6",
4
4
  "description": "Protobuf-like i18n from plain code",
5
5
  "scripts": {
6
6
  "dev": "tsc --watch",
@@ -88,7 +88,7 @@
88
88
  "acorn": "^8.16.0",
89
89
  "chokidar": "^5.0.0",
90
90
  "magic-string": "^0.30.21",
91
- "path-to-regexp": "^8.3.0",
91
+ "path-to-regexp": "^8.4.0",
92
92
  "picomatch": "^4.0.4",
93
93
  "pofile": "^1.1.4",
94
94
  "tinyglobby": "^0.2.15"