@idm-plugin/meteo2 0.7.3 → 0.7.4

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
@@ -2120,9 +2120,10 @@ class $ {
2120
2120
  });
2121
2121
  }
2122
2122
  static async parseTropical(M) {
2123
+ var W;
2123
2124
  const { id: z, name: b, strength: p } = M, c = {
2124
2125
  id: z == null ? void 0 : z.toLowerCase(),
2125
- name: b == null ? void 0 : b.toLowerCase(),
2126
+ name: (W = b == null ? void 0 : b.toLowerCase()) == null ? void 0 : W.replaceAll(/\s/g, "-"),
2126
2127
  strength: p,
2127
2128
  history: await $.parseHistory(M.history),
2128
2129
  forecasts: await $.parseForecast(M.forecast)