@opengeoweb/webmap-react 14.0.0 → 14.0.1

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.esm.js +4 -2
  2. package/package.json +4 -4
package/index.esm.js CHANGED
@@ -1441,13 +1441,15 @@ var timeSpanToTimeList = function timeSpanToTimeList(timespan) {
1441
1441
  }
1442
1442
  if (numStepsToFetch > MAX_NUMBER_STEPS_IN_TIME_SLIDER_TO_PREFETCH) {
1443
1443
  var msg = "too many steps to prefetch: ".concat(numStepsToFetch);
1444
- throw new RangeError(msg);
1444
+ console.warn(msg);
1445
+ return [];
1445
1446
  }
1446
1447
  var stepsToCheck = range(timespan.start, timespan.end + timespan.step, timespan.step);
1447
1448
  // Find out which dimension time values are available for prefetching
1448
1449
  if (stepsToCheck.length > MAX_NUMBER_STEPS_IN_TIME_SLIDER_TO_PREFETCH) {
1449
1450
  var _msg = "too many steps to prefetch: ".concat(stepsToCheck.length);
1450
- throw new RangeError(_msg);
1451
+ console.warn(_msg);
1452
+ return [];
1451
1453
  }
1452
1454
  return stepsToCheck;
1453
1455
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/webmap-react",
3
- "version": "14.0.0",
3
+ "version": "14.0.1",
4
4
  "description": "GeoWeb react wrapper for webmap",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -8,9 +8,9 @@
8
8
  "url": "git@gitlab.com:opengeoweb/opengeoweb.git"
9
9
  },
10
10
  "dependencies": {
11
- "@opengeoweb/webmap": "14.0.0",
12
- "@opengeoweb/theme": "14.0.0",
13
- "@opengeoweb/shared": "14.0.0",
11
+ "@opengeoweb/webmap": "14.0.1",
12
+ "@opengeoweb/theme": "14.0.1",
13
+ "@opengeoweb/shared": "14.0.1",
14
14
  "lodash": "^4.17.21",
15
15
  "ol": "^10.4.0",
16
16
  "proj4": "^2.9.2",