node-red-contrib-web-worldmap 2.32.3 → 2.33.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.
- package/CHANGELOG.md +2 -0
- package/README.md +2 -0
- package/node_modules/@turf/bezier-spline/package.json +39 -70
- package/node_modules/@turf/helpers/package.json +38 -82
- package/node_modules/@turf/invariant/package.json +36 -73
- package/node_modules/array-flatten/package.json +22 -47
- package/node_modules/call-bind/package.json +78 -106
- package/node_modules/compression/package.json +10 -52
- package/node_modules/content-disposition/node_modules/safe-buffer/package.json +18 -43
- package/node_modules/content-disposition/package.json +14 -49
- package/node_modules/content-type/package.json +15 -54
- package/node_modules/cookie/package.json +14 -52
- package/node_modules/cookie-signature/package.json +8 -47
- package/node_modules/debug/package.json +21 -68
- package/node_modules/depd/package.json +13 -51
- package/node_modules/destroy/package.json +15 -50
- package/node_modules/ee-first/package.json +9 -43
- package/node_modules/encodeurl/package.json +14 -52
- package/node_modules/escape-html/package.json +12 -47
- package/node_modules/etag/package.json +15 -54
- package/node_modules/express/node_modules/safe-buffer/package.json +18 -43
- package/node_modules/extend/package.json +42 -78
- package/node_modules/faye-websocket/package.json +33 -64
- package/node_modules/finalhandler/package.json +9 -44
- package/node_modules/forwarded/package.json +14 -49
- package/node_modules/fresh/package.json +17 -61
- package/node_modules/function-bind/package.json +23 -56
- package/node_modules/has/package.json +21 -46
- package/node_modules/has-symbols/package.json +99 -124
- package/node_modules/http-errors/package.json +18 -63
- package/node_modules/iconv-lite/package.json +43 -77
- package/node_modules/inherits/package.json +12 -44
- package/node_modules/ipaddr.js/package.json +13 -48
- package/node_modules/media-typer/package.json +8 -43
- package/node_modules/merge-descriptors/package.json +10 -47
- package/node_modules/methods/package.json +17 -60
- package/node_modules/mime/package.json +13 -45
- package/node_modules/object-inspect/package.json +48 -76
- package/node_modules/on-finished/package.json +8 -50
- package/node_modules/on-headers/package.json +14 -52
- package/node_modules/parseurl/package.json +10 -54
- package/node_modules/path-to-regexp/package.json +15 -44
- package/node_modules/proxy-addr/package.json +14 -49
- package/node_modules/range-parser/package.json +18 -68
- package/node_modules/raw-body/package.json +9 -51
- package/node_modules/safe-buffer/package.json +5 -36
- package/node_modules/safer-buffer/package.json +13 -42
- package/node_modules/send/node_modules/ms/package.json +20 -52
- package/node_modules/send/package.json +17 -62
- package/node_modules/serve-static/package.json +9 -44
- package/node_modules/setprototypeof/package.json +27 -55
- package/node_modules/side-channel/package.json +65 -93
- package/node_modules/sockjs/package.json +43 -70
- package/node_modules/statuses/package.json +19 -61
- package/node_modules/toidentifier/package.json +9 -51
- package/node_modules/type-is/package.json +12 -55
- package/node_modules/unpipe/package.json +8 -45
- package/node_modules/utils-merge/package.json +19 -45
- package/node_modules/uuid/package.json +70 -99
- package/node_modules/websocket-driver/package.json +33 -68
- package/node_modules/websocket-extensions/package.json +27 -61
- package/package.json +1 -1
- package/worldmap/worldmap.js +14 -8
|
@@ -1,64 +1,27 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"_id": "unpipe@1.0.0",
|
|
4
|
-
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",
|
|
6
|
-
"_location": "/unpipe",
|
|
7
|
-
"_phantomChildren": {},
|
|
8
|
-
"_requested": {
|
|
9
|
-
"type": "version",
|
|
10
|
-
"registry": true,
|
|
11
|
-
"raw": "unpipe@1.0.0",
|
|
12
|
-
"name": "unpipe",
|
|
13
|
-
"escapedName": "unpipe",
|
|
14
|
-
"rawSpec": "1.0.0",
|
|
15
|
-
"saveSpec": null,
|
|
16
|
-
"fetchSpec": "1.0.0"
|
|
17
|
-
},
|
|
18
|
-
"_requiredBy": [
|
|
19
|
-
"/body-parser",
|
|
20
|
-
"/finalhandler",
|
|
21
|
-
"/raw-body"
|
|
22
|
-
],
|
|
23
|
-
"_resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
|
|
24
|
-
"_shasum": "b2bf4ee8514aae6165b4817829d21b2ef49904ec",
|
|
25
|
-
"_spec": "unpipe@1.0.0",
|
|
26
|
-
"_where": "/Users/conway/Projects/worldmap/node_modules/body-parser",
|
|
27
|
-
"author": {
|
|
28
|
-
"name": "Douglas Christopher Wilson",
|
|
29
|
-
"email": "doug@somethingdoug.com"
|
|
30
|
-
},
|
|
31
|
-
"bugs": {
|
|
32
|
-
"url": "https://github.com/stream-utils/unpipe/issues"
|
|
33
|
-
},
|
|
34
|
-
"bundleDependencies": false,
|
|
35
|
-
"deprecated": false,
|
|
2
|
+
"name": "unpipe",
|
|
36
3
|
"description": "Unpipe a stream from all destinations",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"author": "Douglas Christopher Wilson <doug@somethingdoug.com>",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": "stream-utils/unpipe",
|
|
37
8
|
"devDependencies": {
|
|
38
9
|
"istanbul": "0.3.15",
|
|
39
10
|
"mocha": "2.2.5",
|
|
40
11
|
"readable-stream": "1.1.13"
|
|
41
12
|
},
|
|
42
|
-
"engines": {
|
|
43
|
-
"node": ">= 0.8"
|
|
44
|
-
},
|
|
45
13
|
"files": [
|
|
46
14
|
"HISTORY.md",
|
|
47
15
|
"LICENSE",
|
|
48
16
|
"README.md",
|
|
49
17
|
"index.js"
|
|
50
18
|
],
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
"name": "unpipe",
|
|
54
|
-
"repository": {
|
|
55
|
-
"type": "git",
|
|
56
|
-
"url": "git+https://github.com/stream-utils/unpipe.git"
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": ">= 0.8"
|
|
57
21
|
},
|
|
58
22
|
"scripts": {
|
|
59
23
|
"test": "mocha --reporter spec --bail --check-leaks test/",
|
|
60
24
|
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
|
|
61
25
|
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
|
|
62
|
-
}
|
|
63
|
-
"version": "1.0.0"
|
|
26
|
+
}
|
|
64
27
|
}
|
|
@@ -1,51 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
"_phantomChildren": {},
|
|
8
|
-
"_requested": {
|
|
9
|
-
"type": "version",
|
|
10
|
-
"registry": true,
|
|
11
|
-
"raw": "utils-merge@1.0.1",
|
|
12
|
-
"name": "utils-merge",
|
|
13
|
-
"escapedName": "utils-merge",
|
|
14
|
-
"rawSpec": "1.0.1",
|
|
15
|
-
"saveSpec": null,
|
|
16
|
-
"fetchSpec": "1.0.1"
|
|
17
|
-
},
|
|
18
|
-
"_requiredBy": [
|
|
19
|
-
"/express"
|
|
2
|
+
"name": "utils-merge",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "merge() utility function",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"util"
|
|
20
7
|
],
|
|
21
|
-
"_resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
|
|
22
|
-
"_shasum": "9f95710f50a267947b2ccc124741c1028427e713",
|
|
23
|
-
"_spec": "utils-merge@1.0.1",
|
|
24
|
-
"_where": "/Users/conway/Projects/worldmap/node_modules/express",
|
|
25
8
|
"author": {
|
|
26
9
|
"name": "Jared Hanson",
|
|
27
10
|
"email": "jaredhanson@gmail.com",
|
|
28
11
|
"url": "http://www.jaredhanson.net/"
|
|
29
12
|
},
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git://github.com/jaredhanson/utils-merge.git"
|
|
16
|
+
},
|
|
30
17
|
"bugs": {
|
|
31
18
|
"url": "http://github.com/jaredhanson/utils-merge/issues"
|
|
32
19
|
},
|
|
33
|
-
"bundleDependencies": false,
|
|
34
|
-
"dependencies": {},
|
|
35
|
-
"deprecated": false,
|
|
36
|
-
"description": "merge() utility function",
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"chai": "1.x.x",
|
|
39
|
-
"make-node": "0.3.x",
|
|
40
|
-
"mocha": "1.x.x"
|
|
41
|
-
},
|
|
42
|
-
"engines": {
|
|
43
|
-
"node": ">= 0.4.0"
|
|
44
|
-
},
|
|
45
|
-
"homepage": "https://github.com/jaredhanson/utils-merge#readme",
|
|
46
|
-
"keywords": [
|
|
47
|
-
"util"
|
|
48
|
-
],
|
|
49
20
|
"license": "MIT",
|
|
50
21
|
"licenses": [
|
|
51
22
|
{
|
|
@@ -54,13 +25,16 @@
|
|
|
54
25
|
}
|
|
55
26
|
],
|
|
56
27
|
"main": "./index",
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
28
|
+
"dependencies": {},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"make-node": "0.3.x",
|
|
31
|
+
"mocha": "1.x.x",
|
|
32
|
+
"chai": "1.x.x"
|
|
61
33
|
},
|
|
62
|
-
"
|
|
63
|
-
"
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">= 0.4.0"
|
|
64
36
|
},
|
|
65
|
-
"
|
|
37
|
+
"scripts": {
|
|
38
|
+
"test": "node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js"
|
|
39
|
+
}
|
|
66
40
|
}
|
|
@@ -1,47 +1,49 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"type": "range",
|
|
10
|
-
"registry": true,
|
|
11
|
-
"raw": "uuid@^8.3.2",
|
|
12
|
-
"name": "uuid",
|
|
13
|
-
"escapedName": "uuid",
|
|
14
|
-
"rawSpec": "^8.3.2",
|
|
15
|
-
"saveSpec": null,
|
|
16
|
-
"fetchSpec": "^8.3.2"
|
|
2
|
+
"name": "uuid",
|
|
3
|
+
"version": "8.3.2",
|
|
4
|
+
"description": "RFC4122 (v1, v4, and v5) UUIDs",
|
|
5
|
+
"commitlint": {
|
|
6
|
+
"extends": [
|
|
7
|
+
"@commitlint/config-conventional"
|
|
8
|
+
]
|
|
17
9
|
},
|
|
18
|
-
"
|
|
19
|
-
"
|
|
10
|
+
"keywords": [
|
|
11
|
+
"uuid",
|
|
12
|
+
"guid",
|
|
13
|
+
"rfc4122"
|
|
20
14
|
],
|
|
21
|
-
"
|
|
22
|
-
"_shasum": "80d5b5ced271bb9af6c445f21a1a04c606cefbe2",
|
|
23
|
-
"_spec": "uuid@^8.3.2",
|
|
24
|
-
"_where": "/Users/conway/Projects/worldmap/node_modules/sockjs",
|
|
15
|
+
"license": "MIT",
|
|
25
16
|
"bin": {
|
|
26
|
-
"uuid": "dist/bin/uuid"
|
|
17
|
+
"uuid": "./dist/bin/uuid"
|
|
27
18
|
},
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist/index.js",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"node": {
|
|
24
|
+
"module": "./dist/esm-node/index.js",
|
|
25
|
+
"require": "./dist/index.js",
|
|
26
|
+
"import": "./wrapper.mjs"
|
|
27
|
+
},
|
|
28
|
+
"default": "./dist/esm-browser/index.js"
|
|
29
|
+
},
|
|
30
|
+
"./package.json": "./package.json"
|
|
31
|
+
},
|
|
32
|
+
"module": "./dist/esm-node/index.js",
|
|
28
33
|
"browser": {
|
|
29
34
|
"./dist/md5.js": "./dist/md5-browser.js",
|
|
30
35
|
"./dist/rng.js": "./dist/rng-browser.js",
|
|
31
36
|
"./dist/sha1.js": "./dist/sha1-browser.js",
|
|
32
37
|
"./dist/esm-node/index.js": "./dist/esm-browser/index.js"
|
|
33
38
|
},
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
},
|
|
43
|
-
"deprecated": false,
|
|
44
|
-
"description": "RFC4122 (v1, v4, and v5) UUIDs",
|
|
39
|
+
"files": [
|
|
40
|
+
"CHANGELOG.md",
|
|
41
|
+
"CONTRIBUTING.md",
|
|
42
|
+
"LICENSE.md",
|
|
43
|
+
"README.md",
|
|
44
|
+
"dist",
|
|
45
|
+
"wrapper.mjs"
|
|
46
|
+
],
|
|
45
47
|
"devDependencies": {
|
|
46
48
|
"@babel/cli": "7.11.6",
|
|
47
49
|
"@babel/core": "7.11.6",
|
|
@@ -71,49 +73,6 @@
|
|
|
71
73
|
"runmd": "1.3.2",
|
|
72
74
|
"standard-version": "9.0.0"
|
|
73
75
|
},
|
|
74
|
-
"exports": {
|
|
75
|
-
".": {
|
|
76
|
-
"node": {
|
|
77
|
-
"module": "./dist/esm-node/index.js",
|
|
78
|
-
"require": "./dist/index.js",
|
|
79
|
-
"import": "./wrapper.mjs"
|
|
80
|
-
},
|
|
81
|
-
"default": "./dist/esm-browser/index.js"
|
|
82
|
-
},
|
|
83
|
-
"./package.json": "./package.json"
|
|
84
|
-
},
|
|
85
|
-
"files": [
|
|
86
|
-
"CHANGELOG.md",
|
|
87
|
-
"CONTRIBUTING.md",
|
|
88
|
-
"LICENSE.md",
|
|
89
|
-
"README.md",
|
|
90
|
-
"dist",
|
|
91
|
-
"wrapper.mjs"
|
|
92
|
-
],
|
|
93
|
-
"homepage": "https://github.com/uuidjs/uuid#readme",
|
|
94
|
-
"husky": {
|
|
95
|
-
"hooks": {
|
|
96
|
-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
97
|
-
"pre-commit": "lint-staged"
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
"keywords": [
|
|
101
|
-
"uuid",
|
|
102
|
-
"guid",
|
|
103
|
-
"rfc4122"
|
|
104
|
-
],
|
|
105
|
-
"license": "MIT",
|
|
106
|
-
"lint-staged": {
|
|
107
|
-
"*.{js,jsx,json,md}": [
|
|
108
|
-
"prettier --write"
|
|
109
|
-
],
|
|
110
|
-
"*.{js,jsx}": [
|
|
111
|
-
"eslint --fix"
|
|
112
|
-
]
|
|
113
|
-
},
|
|
114
|
-
"main": "./dist/index.js",
|
|
115
|
-
"module": "./dist/esm-node/index.js",
|
|
116
|
-
"name": "uuid",
|
|
117
76
|
"optionalDevDependencies": {
|
|
118
77
|
"@wdio/browserstack-service": "6.4.0",
|
|
119
78
|
"@wdio/cli": "6.4.0",
|
|
@@ -123,42 +82,54 @@
|
|
|
123
82
|
"@wdio/static-server-service": "6.4.0",
|
|
124
83
|
"@wdio/sync": "6.4.0"
|
|
125
84
|
},
|
|
126
|
-
"repository": {
|
|
127
|
-
"type": "git",
|
|
128
|
-
"url": "git+https://github.com/uuidjs/uuid.git"
|
|
129
|
-
},
|
|
130
85
|
"scripts": {
|
|
131
|
-
"build": "./scripts/build.sh",
|
|
132
|
-
"bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
|
|
133
|
-
"docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
|
|
134
|
-
"docs:diff": "npm run docs && git diff --quiet README.md",
|
|
135
|
-
"eslint:check": "eslint src/ test/ examples/ *.js",
|
|
136
|
-
"eslint:fix": "eslint --fix src/ test/ examples/ *.js",
|
|
137
|
-
"examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build",
|
|
138
86
|
"examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build",
|
|
87
|
+
"examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build",
|
|
139
88
|
"examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test",
|
|
140
89
|
"examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test",
|
|
141
90
|
"lint": "npm run eslint:check && npm run prettier:check",
|
|
142
|
-
"
|
|
143
|
-
"
|
|
91
|
+
"eslint:check": "eslint src/ test/ examples/ *.js",
|
|
92
|
+
"eslint:fix": "eslint --fix src/ test/ examples/ *.js",
|
|
144
93
|
"pretest": "[ -n $CI ] || npm run build",
|
|
145
|
-
"
|
|
94
|
+
"test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
|
|
146
95
|
"pretest:browser": "optional-dev-dependency && npm run build && npm-run-all --parallel examples:browser:**",
|
|
96
|
+
"test:browser": "wdio run ./wdio.conf.js",
|
|
147
97
|
"pretest:node": "npm run build",
|
|
98
|
+
"test:node": "npm-run-all --parallel examples:node:**",
|
|
99
|
+
"test:pack": "./scripts/testpack.sh",
|
|
100
|
+
"pretest:benchmark": "npm run build",
|
|
101
|
+
"test:benchmark": "cd examples/benchmark && npm install && npm test",
|
|
148
102
|
"prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
|
|
149
103
|
"prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"
|
|
104
|
+
"bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
|
|
105
|
+
"md": "runmd --watch --output=README.md README_js.md",
|
|
106
|
+
"docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
|
|
107
|
+
"docs:diff": "npm run docs && git diff --quiet README.md",
|
|
108
|
+
"build": "./scripts/build.sh",
|
|
109
|
+
"prepack": "npm run build",
|
|
110
|
+
"release": "standard-version --no-verify"
|
|
111
|
+
},
|
|
112
|
+
"repository": {
|
|
113
|
+
"type": "git",
|
|
114
|
+
"url": "https://github.com/uuidjs/uuid.git"
|
|
115
|
+
},
|
|
116
|
+
"husky": {
|
|
117
|
+
"hooks": {
|
|
118
|
+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
119
|
+
"pre-commit": "lint-staged"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"lint-staged": {
|
|
123
|
+
"*.{js,jsx,json,md}": [
|
|
124
|
+
"prettier --write"
|
|
125
|
+
],
|
|
126
|
+
"*.{js,jsx}": [
|
|
127
|
+
"eslint --fix"
|
|
128
|
+
]
|
|
156
129
|
},
|
|
157
|
-
"sideEffects": false,
|
|
158
130
|
"standard-version": {
|
|
159
131
|
"scripts": {
|
|
160
132
|
"postchangelog": "prettier --write CHANGELOG.md"
|
|
161
133
|
}
|
|
162
|
-
}
|
|
163
|
-
"version": "8.3.2"
|
|
134
|
+
}
|
|
164
135
|
}
|
|
@@ -1,70 +1,35 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
},
|
|
36
|
-
"bugs": {
|
|
37
|
-
"url": "https://github.com/faye/websocket-driver-node/issues"
|
|
38
|
-
},
|
|
39
|
-
"dependencies": {
|
|
40
|
-
"http-parser-js": ">=0.5.1",
|
|
41
|
-
"safe-buffer": ">=5.1.0",
|
|
42
|
-
"websocket-extensions": ">=0.1.1"
|
|
43
|
-
},
|
|
44
|
-
"description": "WebSocket protocol handler with pluggable I/O",
|
|
45
|
-
"devDependencies": {
|
|
46
|
-
"jstest": "*",
|
|
47
|
-
"permessage-deflate": "*"
|
|
48
|
-
},
|
|
49
|
-
"engines": {
|
|
50
|
-
"node": ">=0.8.0"
|
|
51
|
-
},
|
|
52
|
-
"files": [
|
|
53
|
-
"lib"
|
|
54
|
-
],
|
|
55
|
-
"homepage": "https://github.com/faye/websocket-driver-node",
|
|
56
|
-
"keywords": [
|
|
57
|
-
"websocket"
|
|
58
|
-
],
|
|
59
|
-
"license": "Apache-2.0",
|
|
60
|
-
"main": "./lib/websocket/driver",
|
|
61
|
-
"name": "websocket-driver",
|
|
62
|
-
"repository": {
|
|
63
|
-
"type": "git",
|
|
64
|
-
"url": "git://github.com/faye/websocket-driver-node.git"
|
|
65
|
-
},
|
|
66
|
-
"scripts": {
|
|
67
|
-
"test": "jstest spec/runner.js"
|
|
68
|
-
},
|
|
69
|
-
"version": "0.7.4"
|
|
2
|
+
"name": "websocket-driver",
|
|
3
|
+
"description": "WebSocket protocol handler with pluggable I/O",
|
|
4
|
+
"homepage": "https://github.com/faye/websocket-driver-node",
|
|
5
|
+
"author": "James Coglan <jcoglan@gmail.com> (http://jcoglan.com/)",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"websocket"
|
|
8
|
+
],
|
|
9
|
+
"license": "Apache-2.0",
|
|
10
|
+
"version": "0.7.4",
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": ">=0.8.0"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"lib"
|
|
16
|
+
],
|
|
17
|
+
"main": "./lib/websocket/driver",
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"http-parser-js": ">=0.5.1",
|
|
20
|
+
"safe-buffer": ">=5.1.0",
|
|
21
|
+
"websocket-extensions": ">=0.1.1"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"jstest": "*",
|
|
25
|
+
"permessage-deflate": "*"
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"test": "jstest spec/runner.js"
|
|
29
|
+
},
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "git://github.com/faye/websocket-driver-node.git"
|
|
33
|
+
},
|
|
34
|
+
"bugs": "https://github.com/faye/websocket-driver-node/issues"
|
|
70
35
|
}
|
|
@@ -1,63 +1,29 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"_where": "/Users/conway/Projects/worldmap",
|
|
30
|
-
"author": {
|
|
31
|
-
"name": "James Coglan",
|
|
32
|
-
"email": "jcoglan@gmail.com",
|
|
33
|
-
"url": "http://jcoglan.com/"
|
|
34
|
-
},
|
|
35
|
-
"bugs": {
|
|
36
|
-
"url": "http://github.com/faye/websocket-extensions-node/issues"
|
|
37
|
-
},
|
|
38
|
-
"description": "Generic extension manager for WebSocket connections",
|
|
39
|
-
"devDependencies": {
|
|
40
|
-
"jstest": "*"
|
|
41
|
-
},
|
|
42
|
-
"engines": {
|
|
43
|
-
"node": ">=0.8.0"
|
|
44
|
-
},
|
|
45
|
-
"files": [
|
|
46
|
-
"lib"
|
|
47
|
-
],
|
|
48
|
-
"homepage": "http://github.com/faye/websocket-extensions-node",
|
|
49
|
-
"keywords": [
|
|
50
|
-
"websocket"
|
|
51
|
-
],
|
|
52
|
-
"license": "Apache-2.0",
|
|
53
|
-
"main": "./lib/websocket_extensions",
|
|
54
|
-
"name": "websocket-extensions",
|
|
55
|
-
"repository": {
|
|
56
|
-
"type": "git",
|
|
57
|
-
"url": "git://github.com/faye/websocket-extensions-node.git"
|
|
58
|
-
},
|
|
59
|
-
"scripts": {
|
|
60
|
-
"test": "jstest spec/runner.js"
|
|
61
|
-
},
|
|
62
|
-
"version": "0.1.4"
|
|
2
|
+
"name": "websocket-extensions",
|
|
3
|
+
"description": "Generic extension manager for WebSocket connections",
|
|
4
|
+
"homepage": "http://github.com/faye/websocket-extensions-node",
|
|
5
|
+
"author": "James Coglan <jcoglan@gmail.com> (http://jcoglan.com/)",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"websocket"
|
|
8
|
+
],
|
|
9
|
+
"license": "Apache-2.0",
|
|
10
|
+
"version": "0.1.4",
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": ">=0.8.0"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"lib"
|
|
16
|
+
],
|
|
17
|
+
"main": "./lib/websocket_extensions",
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"jstest": "*"
|
|
20
|
+
},
|
|
21
|
+
"scripts": {
|
|
22
|
+
"test": "jstest spec/runner.js"
|
|
23
|
+
},
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "git://github.com/faye/websocket-extensions-node.git"
|
|
27
|
+
},
|
|
28
|
+
"bugs": "http://github.com/faye/websocket-extensions-node/issues"
|
|
63
29
|
}
|
package/package.json
CHANGED
package/worldmap/worldmap.js
CHANGED
|
@@ -1215,7 +1215,7 @@ var addOverlays = function(overlist) {
|
|
|
1215
1215
|
}
|
|
1216
1216
|
|
|
1217
1217
|
// Add the heatmap layer (and add delete LatLng function)
|
|
1218
|
-
if (overlist.indexOf("HM")
|
|
1218
|
+
if (overlist.indexOf("HM") !== -1) {
|
|
1219
1219
|
heat = L.heatLayer([], {radius:60, gradient:{0.2:'blue', 0.4:'lime', 0.6:'red', 0.8:'yellow', 1:'white'}});
|
|
1220
1220
|
heat.delLatLng = function(ll) {
|
|
1221
1221
|
heat._latlngs = heat._latlngs.filter(v => { return v != ll; } );
|
|
@@ -1281,7 +1281,8 @@ var delMarker = function(dname,note) {
|
|
|
1281
1281
|
}
|
|
1282
1282
|
if (typeof markers[dname] != "undefined") {
|
|
1283
1283
|
if (heat && markers[dname].hasOwnProperty("_latlng")) {
|
|
1284
|
-
heat.delLatLng(markers[dname]._latlng);
|
|
1284
|
+
try { heat.delLatLng(markers[dname]._latlng); }
|
|
1285
|
+
catch(e) { }
|
|
1285
1286
|
}
|
|
1286
1287
|
layers[markers[dname].lay].removeLayer(markers[dname]);
|
|
1287
1288
|
map.removeLayer(markers[dname]);
|
|
@@ -1341,6 +1342,11 @@ var rangerings = function(latlng, options) {
|
|
|
1341
1342
|
// the MAIN add something to map function
|
|
1342
1343
|
function setMarker(data) {
|
|
1343
1344
|
var rightmenu = function(m) {
|
|
1345
|
+
m.on('click', function(e) {
|
|
1346
|
+
var fb = allData[data.name];
|
|
1347
|
+
fb.action = "click";
|
|
1348
|
+
ws.send(JSON.stringify(fb));
|
|
1349
|
+
});
|
|
1344
1350
|
// customise right click context menu
|
|
1345
1351
|
var rightcontext = "";
|
|
1346
1352
|
//if (polygons[data.name] == undefined) {
|
|
@@ -2040,12 +2046,12 @@ function setMarker(data) {
|
|
|
2040
2046
|
marker._popup.dname = data.name;
|
|
2041
2047
|
marker.lay = lay; // and the layer it is on
|
|
2042
2048
|
|
|
2043
|
-
marker.on('click', function(e) {
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
});
|
|
2049
|
+
// marker.on('click', function(e) {
|
|
2050
|
+
// //ws.send(JSON.stringify({action:"click",name:marker.name,layer:marker.lay,icon:marker.icon,iconColor:marker.iconColor,SIDC:marker.SIDC,draggable:true,lat:parseFloat(marker.getLatLng().lat.toFixed(6)),lon:parseFloat(marker.getLatLng().lng.toFixed(6))}));
|
|
2051
|
+
// var fb = allData[marker.name];
|
|
2052
|
+
// fb.action = "click";
|
|
2053
|
+
// ws.send(JSON.stringify(fb));
|
|
2054
|
+
// });
|
|
2049
2055
|
if (heat && ((data.addtoheatmap != false) || (!data.hasOwnProperty("addtoheatmap")))) { // Added to give ability to control if points from active layer contribute to heatmap
|
|
2050
2056
|
if (heatAll || map.hasLayer(layers[lay])) { heat.addLatLng(lli); }
|
|
2051
2057
|
}
|