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 +1 -0
- package/README.md +1 -0
- package/package.json +1 -1
- package/worldmap/worldmap.js +1 -1
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 [ {
|
|
|
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")) {
|