@opengeoweb/taf 5.1.1 → 5.2.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.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +8 -8
package/index.js CHANGED
@@ -28787,7 +28787,8 @@ var formatSingleCloud = function formatSingleCloud(value) {
28787
28787
  if (!value) {
28788
28788
  return null;
28789
28789
  }
28790
- return value.type ? "".concat(value.coverage).concat(prependZeroes(value.height, 3)).concat(value.type) : "".concat(value.coverage).concat(prependZeroes(value.height, 3));
28790
+ var height = !value.height ? '000' : prependZeroes(value.height, 3);
28791
+ return value.type ? "".concat(value.coverage).concat(height).concat(value.type) : "".concat(value.coverage).concat(height);
28791
28792
  };
28792
28793
  // TODO: clouds type = Clouds, but couldn't get it to work properly https://gitlab.com/opengeoweb/opengeoweb/-/issues/119
28793
28794
  // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/taf",
3
- "version": "5.1.1",
3
+ "version": "5.2.0",
4
4
  "description": "GeoWeb TAF library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -15,19 +15,19 @@
15
15
  "peerDependencies": {
16
16
  "@emotion/react": "11.10.6",
17
17
  "@mui/material": "5.12.0",
18
- "@opengeoweb/api": "5.1.1",
19
- "@opengeoweb/authentication": "5.1.1",
20
- "@opengeoweb/core": "5.1.1",
21
- "@opengeoweb/form-fields": "5.1.1",
22
- "@opengeoweb/shared": "5.1.1",
23
- "@opengeoweb/theme": "5.1.1",
18
+ "@opengeoweb/api": "5.2.0",
19
+ "@opengeoweb/authentication": "5.2.0",
20
+ "@opengeoweb/core": "5.2.0",
21
+ "@opengeoweb/form-fields": "5.2.0",
22
+ "@opengeoweb/shared": "5.2.0",
23
+ "@opengeoweb/theme": "5.2.0",
24
24
  "@reduxjs/toolkit": "1.9.5",
25
25
  "axios": "1.4.0",
26
26
  "lodash": "4.17.21",
27
27
  "moment": "2.29.4",
28
28
  "react": "18.2.0",
29
29
  "react-dom": "18.2.0",
30
- "react-hook-form": "7.41.5",
30
+ "react-hook-form": "7.45.2",
31
31
  "react-redux": "8.1.1",
32
32
  "react-sortablejs": "6.1.4",
33
33
  "sortablejs": "1.15.0"