node-red-contrib-web-worldmap 5.0.0 → 5.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,6 @@
1
1
  ### Change Log for Node-RED Worldmap
2
2
 
3
+ - v5.0.1 - Fix isArray error PR #288.
3
4
  - v5.0.0 - Feedback cleanup PR#281, edgeicons option PR#287, bump libs for vuln fixes.
4
5
  - v4.9.0 - If payload.flag is two char ISO code replace it with flag emoji. Revert part of PR #271
5
6
  - v4.8.1 - Slight tidy of some of the geojson handling
package/README.md CHANGED
@@ -13,6 +13,7 @@ Feel free to [![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%
13
13
 
14
14
  ### Updates
15
15
 
16
+ - v5.0.1 - Fix isArray error PR #288.
16
17
  - v5.0.0 - v5.0.0 - Feedback cleanup PR#281, edgeicons option PR#287, bump libs for vuln fixes.
17
18
  - v4.9.0 - If payload.flag is two char ISO code replace it with flag emoji. Revert part of PR #271
18
19
  - v4.8.1 - Slight tidy of some of the geojson handling
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-web-worldmap",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "A Node-RED node to provide a web page of a world map for plotting things on.",
5
5
  "dependencies": {
6
6
  "@turf/bezier-spline": "~7.1.0",
@@ -2532,7 +2532,7 @@ function doCommand(cmd) {
2532
2532
  }
2533
2533
  if (cmd.hasOwnProperty("clearlayer") || cmd.hasOwnProperty("clear")) {
2534
2534
  var clr = cmd.clearlayer || cmd.clear;
2535
- if (!isArray(clr)) { clr = [ clr ]; }
2535
+ if (!Array.isArray(clr)) { clr = [ clr ]; }
2536
2536
  clr.forEach((el) => doTidyUp(el));
2537
2537
  }
2538
2538
  if (cmd.hasOwnProperty("panit")) {