node-red-contrib-web-worldmap 5.8.0 → 5.8.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/node_modules/hasown/CHANGELOG.md +7 -0
- package/node_modules/hasown/index.d.ts +0 -1
- package/node_modules/hasown/package.json +4 -5
- package/node_modules/side-channel/CHANGELOG.md +10 -0
- package/node_modules/side-channel/README.md +1 -1
- package/node_modules/side-channel/index.js +5 -2
- package/node_modules/side-channel/package.json +10 -10
- package/node_modules/side-channel/test/index.js +16 -0
- package/node_modules/websocket-driver/LICENSE.md +1 -1
- package/node_modules/websocket-driver/README.md +1 -1
- package/node_modules/websocket-driver/lib/websocket/driver/draft75.js +1 -0
- package/node_modules/websocket-driver/lib/websocket/driver/hybi.js +6 -1
- package/node_modules/websocket-driver/package.json +1 -1
- package/package.json +1 -1
- package/worldmap/worldmap.js +3 -1
- package/node_modules/websocket-driver/CHANGELOG.md +0 -142
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
### Change Log for Node-RED Worldmap
|
|
2
2
|
|
|
3
|
+
- v5.8.1 - Fix draggable event
|
|
3
4
|
- v5.8.0 - Stop double click on icons zooming in. Bump uuid lib.
|
|
4
5
|
- v5.7.2 - Bump express libs
|
|
5
6
|
- v5.7.0 - Add events for openPopup and closePopup actions, small popup fixups. Add showdialog command.
|
package/README.md
CHANGED
|
@@ -10,6 +10,7 @@ A <a href="https://nodered.org" target="mapinfo">Node-RED</a> node to provide a
|
|
|
10
10
|
|
|
11
11
|
### Updates
|
|
12
12
|
|
|
13
|
+
- v5.8.1 - Fix draggable event
|
|
13
14
|
- v5.8.0 - Stop double click on icons zooming in. Bump uuid lib.
|
|
14
15
|
- v5.7.2 - Bump express libs.
|
|
15
16
|
- v5.7.0 - Add events for openPopup and closePopup, small popup fixups. Add showdialog command.
|
|
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [v2.0.4](https://github.com/inspect-js/hasOwn/compare/v2.0.3...v2.0.4) - 2026-05-28
|
|
9
|
+
|
|
10
|
+
### Commits
|
|
11
|
+
|
|
12
|
+
- [types] drop the dead key-narrowing overload [`fdab00e`](https://github.com/inspect-js/hasOwn/commit/fdab00e2703e65411424e19bf86a7e72a8f10da9)
|
|
13
|
+
- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `eslint` [`91f6247`](https://github.com/inspect-js/hasOwn/commit/91f624768dd0f7db0d019b89d4d86bd66e20ec30)
|
|
14
|
+
|
|
8
15
|
## [v2.0.3](https://github.com/inspect-js/hasOwn/compare/v2.0.2...v2.0.3) - 2026-04-17
|
|
9
16
|
|
|
10
17
|
### Commits
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hasown",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "A robust, ES3 compatible, \"has own property\" predicate.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
@@ -52,13 +52,12 @@
|
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
55
|
-
"@ljharb/eslint-config": "^22.2.
|
|
55
|
+
"@ljharb/eslint-config": "^22.2.3",
|
|
56
56
|
"@ljharb/tsconfig": "^0.3.2",
|
|
57
57
|
"@types/function-bind": "^1.1.10",
|
|
58
58
|
"@types/tape": "^5.8.1",
|
|
59
|
-
"auto-changelog": "^2.5.
|
|
60
|
-
"
|
|
61
|
-
"eslint": "^10.2.0",
|
|
59
|
+
"auto-changelog": "^2.5.1",
|
|
60
|
+
"eslint": "^10.4.0",
|
|
62
61
|
"evalmd": "^0.0.19",
|
|
63
62
|
"in-publish": "^2.0.1",
|
|
64
63
|
"jiti": "^0.0.0",
|
|
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [v1.1.1](https://github.com/ljharb/side-channel/compare/v1.1.0...v1.1.1) - 2026-06-08
|
|
9
|
+
|
|
10
|
+
### Commits
|
|
11
|
+
|
|
12
|
+
- [Fix] `assert`: do not observably access object keys when throwing [`fc17361`](https://github.com/ljharb/side-channel/commit/fc173615136e6a6c3194656e6088afbc0bd6f9b8)
|
|
13
|
+
- [actions] update workflows [`35b18c0`](https://github.com/ljharb/side-channel/commit/35b18c0bced5769d59226cd44a7e4003ad0aee81)
|
|
14
|
+
- [Dev Deps] update `@arethetypeswrong/cli`, `@ljharb/eslint-config`, `@ljharb/tsconfig`, `@types/tape`, `auto-changelog`, `eslint`, `npmignore` [`b456a01`](https://github.com/ljharb/side-channel/commit/b456a01396cfdd028e5d39ea84885fe9178a72cf)
|
|
15
|
+
- [Deps] update `object-inspect`, `side-channel-list` [`accf1a1`](https://github.com/ljharb/side-channel/commit/accf1a1a2767a22b1f5eeb5769a1db4c35a78090)
|
|
16
|
+
- [readme] replace runkit CI badge with shields.io check-runs badge [`7e0c956`](https://github.com/ljharb/side-channel/commit/7e0c956411cc29267197a49a155a3d9bd01bacac)
|
|
17
|
+
|
|
8
18
|
## [v1.1.0](https://github.com/ljharb/side-channel/compare/v1.0.6...v1.1.0) - 2024-12-11
|
|
9
19
|
|
|
10
20
|
### Commits
|
|
@@ -57,5 +57,5 @@ Clone the repo, `npm install`, and run `npm test`
|
|
|
57
57
|
[downloads-url]: https://npm-stat.com/charts.html?package=side-channel
|
|
58
58
|
[codecov-image]: https://codecov.io/gh/ljharb/side-channel/branch/main/graphs/badge.svg
|
|
59
59
|
[codecov-url]: https://app.codecov.io/gh/ljharb/side-channel/
|
|
60
|
-
[actions-image]: https://img.shields.io/
|
|
60
|
+
[actions-image]: https://img.shields.io/github/check-runs/ljharb/side-channel/main
|
|
61
61
|
[actions-url]: https://github.com/ljharb/side-channel/actions
|
|
@@ -18,7 +18,10 @@ module.exports = function getSideChannel() {
|
|
|
18
18
|
var channel = {
|
|
19
19
|
assert: function (key) {
|
|
20
20
|
if (!channel.has(key)) {
|
|
21
|
-
|
|
21
|
+
var keyDesc = key && Object(key) === key
|
|
22
|
+
? 'the given object key'
|
|
23
|
+
: inspect(key);
|
|
24
|
+
throw new $TypeError('Side channel does not contain ' + keyDesc);
|
|
22
25
|
}
|
|
23
26
|
},
|
|
24
27
|
'delete': function (key) {
|
|
@@ -38,6 +41,6 @@ module.exports = function getSideChannel() {
|
|
|
38
41
|
$channelData.set(key, value);
|
|
39
42
|
}
|
|
40
43
|
};
|
|
41
|
-
|
|
44
|
+
|
|
42
45
|
return channel;
|
|
43
46
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "side-channel",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Store information about any JS value in a side channel. Uses WeakMap if available.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
@@ -44,23 +44,23 @@
|
|
|
44
44
|
"homepage": "https://github.com/ljharb/side-channel#readme",
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"es-errors": "^1.3.0",
|
|
47
|
-
"object-inspect": "^1.13.
|
|
48
|
-
"side-channel-list": "^1.0.
|
|
47
|
+
"object-inspect": "^1.13.4",
|
|
48
|
+
"side-channel-list": "^1.0.1",
|
|
49
49
|
"side-channel-map": "^1.0.1",
|
|
50
50
|
"side-channel-weakmap": "^1.0.2"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@arethetypeswrong/cli": "^0.
|
|
54
|
-
"@ljharb/eslint-config": "^
|
|
55
|
-
"@ljharb/tsconfig": "^0.
|
|
53
|
+
"@arethetypeswrong/cli": "^0.18.3",
|
|
54
|
+
"@ljharb/eslint-config": "^22.2.3",
|
|
55
|
+
"@ljharb/tsconfig": "^0.3.2",
|
|
56
56
|
"@types/object-inspect": "^1.13.0",
|
|
57
|
-
"@types/tape": "^5.
|
|
58
|
-
"auto-changelog": "^2.
|
|
57
|
+
"@types/tape": "^5.8.1",
|
|
58
|
+
"auto-changelog": "^2.6.0",
|
|
59
59
|
"eclint": "^2.8.1",
|
|
60
60
|
"encoding": "^0.1.13",
|
|
61
|
-
"eslint": "
|
|
61
|
+
"eslint": "^8.57.1",
|
|
62
62
|
"in-publish": "^2.0.1",
|
|
63
|
-
"npmignore": "^0.3.
|
|
63
|
+
"npmignore": "^0.3.5",
|
|
64
64
|
"nyc": "^10.3.2",
|
|
65
65
|
"safe-publish-latest": "^2.0.0",
|
|
66
66
|
"tape": "^5.9.0",
|
|
@@ -28,6 +28,22 @@ test('getSideChannel', function (t) {
|
|
|
28
28
|
channel.set(o, 'data');
|
|
29
29
|
st.doesNotThrow(function () { channel.assert(o); }, 'existent value noops');
|
|
30
30
|
|
|
31
|
+
var accessed = false;
|
|
32
|
+
var trap = {};
|
|
33
|
+
Object.defineProperty(trap, 'foo', {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () {
|
|
36
|
+
accessed = true;
|
|
37
|
+
return 1;
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
st['throws'](
|
|
41
|
+
function () { channel.assert(trap); },
|
|
42
|
+
TypeError,
|
|
43
|
+
'missing object key throws'
|
|
44
|
+
);
|
|
45
|
+
st.equal(accessed, false, 'a missing object key is not observably accessed');
|
|
46
|
+
|
|
31
47
|
st.end();
|
|
32
48
|
});
|
|
33
49
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# websocket-driver
|
|
1
|
+
# websocket-driver
|
|
2
2
|
|
|
3
3
|
This module provides a complete implementation of the WebSocket protocols that
|
|
4
4
|
can be hooked up to any I/O stream. It aims to simplify things by decoupling the
|
|
@@ -452,7 +452,12 @@ var instance = {
|
|
|
452
452
|
if (error) return this._fail('extension_error', error.message);
|
|
453
453
|
|
|
454
454
|
var payload = message.data;
|
|
455
|
-
|
|
455
|
+
|
|
456
|
+
if (payload.length > this._maxLength)
|
|
457
|
+
return this._fail('too_large', 'WebSocket frame length too large');
|
|
458
|
+
|
|
459
|
+
if (message.opcode === this.OPCODES.text)
|
|
460
|
+
payload = this._encode(payload);
|
|
456
461
|
|
|
457
462
|
if (payload === null)
|
|
458
463
|
return this._fail('encoding_error', 'Could not decode a text frame as UTF-8');
|
package/package.json
CHANGED
package/worldmap/worldmap.js
CHANGED
|
@@ -2455,7 +2455,9 @@ function setMarker(data) {
|
|
|
2455
2455
|
});
|
|
2456
2456
|
marker.on('dragend', function (e) {
|
|
2457
2457
|
var l = marker.getLatLng().toString().replace('LatLng(','lat, lon : ').replace(')','')
|
|
2458
|
-
|
|
2458
|
+
if (marker.getPopup() != undefined) {
|
|
2459
|
+
marker.setPopupContent(marker.getPopup().getContent().split("lat, lon")[0] + l);
|
|
2460
|
+
}
|
|
2459
2461
|
// var b = marker.getPopup().getContent().split("heading : ");
|
|
2460
2462
|
// if (b.length === 2) { b = parseFloat(b[1].split("<br")[0]); }
|
|
2461
2463
|
// else { b = undefined; }
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
### 0.7.4 / 2020-05-22
|
|
2
|
-
|
|
3
|
-
- Avoid crashing if `process.version` does not contain any digits
|
|
4
|
-
- Emit `ping` and `pong` events from the `Server` driver
|
|
5
|
-
- Require http-parser-js >=0.5.1 which fixes the bug we addressed in 0.7.3
|
|
6
|
-
|
|
7
|
-
### 0.7.3 / 2019-06-13
|
|
8
|
-
|
|
9
|
-
- Cap version of http-parser-js below 0.4.11, which introduced a bug that
|
|
10
|
-
prevents us from handling messages that are part of the same input buffer as
|
|
11
|
-
the handshake response if chunked encoding is specified
|
|
12
|
-
|
|
13
|
-
### 0.7.2 / 2019-06-13
|
|
14
|
-
|
|
15
|
-
(This version was pulled due to an error when publishing)
|
|
16
|
-
|
|
17
|
-
### 0.7.1 / 2019-06-10
|
|
18
|
-
|
|
19
|
-
- Catch any exceptions produced while generating a handshake response and send a
|
|
20
|
-
`400 Bad Request` response to the client
|
|
21
|
-
- Pick the RFC-6455 protocol version if the request contains any of the headers
|
|
22
|
-
used by that version
|
|
23
|
-
- Use the `Buffer.alloc()` and `Buffer.from()` functions instead of the unsafe
|
|
24
|
-
`Buffer()` constructor
|
|
25
|
-
- Handle errors encountered while handling malformed draft-76 requests
|
|
26
|
-
- Change license from MIT to Apache 2.0
|
|
27
|
-
|
|
28
|
-
### 0.7.0 / 2017-09-11
|
|
29
|
-
|
|
30
|
-
- Add `ping` and `pong` to the set of events users can listen to
|
|
31
|
-
- Replace the bindings to Node's HTTP parser with `http-parser-js`
|
|
32
|
-
|
|
33
|
-
### 0.6.5 / 2016-05-20
|
|
34
|
-
|
|
35
|
-
- Don't mutate buffers passed in by the application when masking
|
|
36
|
-
|
|
37
|
-
### 0.6.4 / 2016-01-07
|
|
38
|
-
|
|
39
|
-
- If a number is given as input for a frame payload, send it as a string
|
|
40
|
-
|
|
41
|
-
### 0.6.3 / 2015-11-06
|
|
42
|
-
|
|
43
|
-
- Reject draft-76 handshakes if their Sec-WebSocket-Key headers are invalid
|
|
44
|
-
- Throw a more helpful error if a client is created with an invalid URL
|
|
45
|
-
|
|
46
|
-
### 0.6.2 / 2015-07-18
|
|
47
|
-
|
|
48
|
-
- When the peer sends a close frame with no error code, emit 1000
|
|
49
|
-
|
|
50
|
-
### 0.6.1 / 2015-07-13
|
|
51
|
-
|
|
52
|
-
- Use the `buffer.{read,write}UInt{16,32}BE` methods for reading/writing numbers
|
|
53
|
-
to buffers rather than including duplicate logic for this
|
|
54
|
-
|
|
55
|
-
### 0.6.0 / 2015-07-08
|
|
56
|
-
|
|
57
|
-
- Allow the parser to recover cleanly if event listeners raise an error
|
|
58
|
-
- Add a `pong` method for sending unsolicited pong frames
|
|
59
|
-
|
|
60
|
-
### 0.5.4 / 2015-03-29
|
|
61
|
-
|
|
62
|
-
- Don't emit extra close frames if we receive a close frame after we already
|
|
63
|
-
sent one
|
|
64
|
-
- Fail the connection when the driver receives an invalid
|
|
65
|
-
`Sec-WebSocket-Extensions` header
|
|
66
|
-
|
|
67
|
-
### 0.5.3 / 2015-02-22
|
|
68
|
-
|
|
69
|
-
- Don't treat incoming data as WebSocket frames if a client driver is closed
|
|
70
|
-
before receiving the server handshake
|
|
71
|
-
|
|
72
|
-
### 0.5.2 / 2015-02-19
|
|
73
|
-
|
|
74
|
-
- Fix compatibility with the HTTP parser on io.js
|
|
75
|
-
- Use `websocket-extensions` to make sure messages and close frames are kept in
|
|
76
|
-
order
|
|
77
|
-
- Don't emit multiple `error` events
|
|
78
|
-
|
|
79
|
-
### 0.5.1 / 2014-12-18
|
|
80
|
-
|
|
81
|
-
- Don't allow drivers to be created with unrecognized options
|
|
82
|
-
|
|
83
|
-
### 0.5.0 / 2014-12-13
|
|
84
|
-
|
|
85
|
-
- Support protocol extensions via the websocket-extensions module
|
|
86
|
-
|
|
87
|
-
### 0.4.0 / 2014-11-08
|
|
88
|
-
|
|
89
|
-
- Support connection via HTTP proxies using `CONNECT`
|
|
90
|
-
|
|
91
|
-
### 0.3.6 / 2014-10-04
|
|
92
|
-
|
|
93
|
-
- It is now possible to call `close()` before `start()` and close the driver
|
|
94
|
-
|
|
95
|
-
### 0.3.5 / 2014-07-06
|
|
96
|
-
|
|
97
|
-
- Don't hold references to frame buffers after a message has been emitted
|
|
98
|
-
- Make sure that `protocol` and `version` are exposed properly by the TCP driver
|
|
99
|
-
|
|
100
|
-
### 0.3.4 / 2014-05-08
|
|
101
|
-
|
|
102
|
-
- Don't hold memory-leaking references to I/O buffers after they have been
|
|
103
|
-
parsed
|
|
104
|
-
|
|
105
|
-
### 0.3.3 / 2014-04-24
|
|
106
|
-
|
|
107
|
-
- Correct the draft-76 status line reason phrase
|
|
108
|
-
|
|
109
|
-
### 0.3.2 / 2013-12-29
|
|
110
|
-
|
|
111
|
-
- Expand `maxLength` to cover sequences of continuation frames and
|
|
112
|
-
`draft-{75,76}`
|
|
113
|
-
- Decrease default maximum frame buffer size to 64MB
|
|
114
|
-
- Stop parsing when the protocol enters a failure mode, to save CPU cycles
|
|
115
|
-
|
|
116
|
-
### 0.3.1 / 2013-12-03
|
|
117
|
-
|
|
118
|
-
- Add a `maxLength` option to limit allowed frame size
|
|
119
|
-
- Don't pre-allocate a message buffer until the whole frame has arrived
|
|
120
|
-
- Fix compatibility with Node v0.11 `HTTPParser`
|
|
121
|
-
|
|
122
|
-
### 0.3.0 / 2013-09-09
|
|
123
|
-
|
|
124
|
-
- Support client URLs with Basic Auth credentials
|
|
125
|
-
|
|
126
|
-
### 0.2.2 / 2013-07-05
|
|
127
|
-
|
|
128
|
-
- No functional changes, just updates to package.json
|
|
129
|
-
|
|
130
|
-
### 0.2.1 / 2013-05-17
|
|
131
|
-
|
|
132
|
-
- Export the isSecureRequest() method since faye-websocket relies on it
|
|
133
|
-
- Queue sent messages in the client's initial state
|
|
134
|
-
|
|
135
|
-
### 0.2.0 / 2013-05-12
|
|
136
|
-
|
|
137
|
-
- Add API for setting and reading headers
|
|
138
|
-
- Add Driver.server() method for getting a driver for TCP servers
|
|
139
|
-
|
|
140
|
-
### 0.1.0 / 2013-05-04
|
|
141
|
-
|
|
142
|
-
- First stable release
|