node-red-contrib-web-worldmap 5.7.2 → 5.8.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.
Files changed (241) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/README.md +3 -2
  3. package/node_modules/uuid/README.md +182 -177
  4. package/node_modules/uuid/dist/cjs/index.d.ts +15 -0
  5. package/node_modules/uuid/dist/cjs/index.js +31 -0
  6. package/node_modules/uuid/dist/cjs/max.d.ts +2 -0
  7. package/node_modules/uuid/dist/cjs/max.js +3 -0
  8. package/node_modules/uuid/dist/cjs/md5.d.ts +4 -0
  9. package/node_modules/uuid/dist/cjs/md5.js +13 -0
  10. package/node_modules/uuid/dist/cjs/native.d.ts +6 -0
  11. package/node_modules/uuid/dist/cjs/native.js +4 -0
  12. package/node_modules/uuid/dist/cjs/nil.d.ts +2 -0
  13. package/node_modules/uuid/dist/cjs/nil.js +3 -0
  14. package/node_modules/uuid/dist/cjs/package.json +1 -0
  15. package/node_modules/uuid/dist/cjs/parse.d.ts +2 -0
  16. package/node_modules/uuid/dist/cjs/parse.js +11 -0
  17. package/node_modules/uuid/dist/cjs/regex.d.ts +2 -0
  18. package/node_modules/uuid/dist/cjs/regex.js +3 -0
  19. package/node_modules/uuid/dist/cjs/rng.d.ts +1 -0
  20. package/node_modules/uuid/dist/cjs/rng.js +13 -0
  21. package/node_modules/uuid/dist/cjs/sha1.d.ts +4 -0
  22. package/node_modules/uuid/dist/cjs/sha1.js +13 -0
  23. package/node_modules/uuid/dist/cjs/stringify.d.ts +3 -0
  24. package/node_modules/uuid/dist/cjs/stringify.js +39 -0
  25. package/node_modules/uuid/dist/cjs/types.d.ts +21 -0
  26. package/node_modules/uuid/dist/cjs/types.js +2 -0
  27. package/node_modules/uuid/dist/cjs/uuid-bin.d.ts +1 -0
  28. package/node_modules/uuid/dist/cjs/uuid-bin.js +72 -0
  29. package/node_modules/uuid/dist/cjs/v1.d.ts +11 -0
  30. package/node_modules/uuid/dist/cjs/v1.js +87 -0
  31. package/node_modules/uuid/dist/cjs/v1ToV6.d.ts +2 -0
  32. package/node_modules/uuid/dist/cjs/v1ToV6.js +13 -0
  33. package/node_modules/uuid/dist/cjs/v3.d.ts +9 -0
  34. package/node_modules/uuid/dist/cjs/v3.js +14 -0
  35. package/node_modules/uuid/dist/cjs/v35.d.ts +7 -0
  36. package/node_modules/uuid/dist/cjs/v35.js +44 -0
  37. package/node_modules/uuid/dist/cjs/v4.d.ts +4 -0
  38. package/node_modules/uuid/dist/cjs/v4.js +29 -0
  39. package/node_modules/uuid/dist/cjs/v5.d.ts +9 -0
  40. package/node_modules/uuid/dist/cjs/v5.js +14 -0
  41. package/node_modules/uuid/dist/cjs/v6.d.ts +4 -0
  42. package/node_modules/uuid/dist/cjs/v6.js +22 -0
  43. package/node_modules/uuid/dist/cjs/v6ToV1.d.ts +2 -0
  44. package/node_modules/uuid/dist/cjs/v6ToV1.js +13 -0
  45. package/node_modules/uuid/dist/cjs/v7.d.ts +9 -0
  46. package/node_modules/uuid/dist/cjs/v7.js +69 -0
  47. package/node_modules/uuid/dist/cjs/validate.d.ts +2 -0
  48. package/node_modules/uuid/dist/cjs/validate.js +7 -0
  49. package/node_modules/uuid/dist/cjs/version.d.ts +2 -0
  50. package/node_modules/uuid/dist/cjs/version.js +10 -0
  51. package/node_modules/uuid/dist/cjs-browser/index.d.ts +15 -0
  52. package/node_modules/uuid/dist/cjs-browser/index.js +31 -0
  53. package/node_modules/uuid/dist/cjs-browser/max.d.ts +2 -0
  54. package/node_modules/uuid/dist/cjs-browser/max.js +3 -0
  55. package/node_modules/uuid/dist/cjs-browser/md5.d.ts +2 -0
  56. package/node_modules/uuid/dist/cjs-browser/md5.js +137 -0
  57. package/node_modules/uuid/dist/cjs-browser/native.d.ts +4 -0
  58. package/node_modules/uuid/dist/cjs-browser/native.js +4 -0
  59. package/node_modules/uuid/dist/cjs-browser/nil.d.ts +2 -0
  60. package/node_modules/uuid/dist/cjs-browser/nil.js +3 -0
  61. package/node_modules/uuid/dist/cjs-browser/package.json +1 -0
  62. package/node_modules/uuid/dist/cjs-browser/parse.d.ts +2 -0
  63. package/node_modules/uuid/dist/cjs-browser/parse.js +11 -0
  64. package/node_modules/uuid/dist/cjs-browser/regex.d.ts +2 -0
  65. package/node_modules/uuid/dist/cjs-browser/regex.js +3 -0
  66. package/node_modules/uuid/dist/cjs-browser/rng.d.ts +1 -0
  67. package/node_modules/uuid/dist/cjs-browser/rng.js +14 -0
  68. package/node_modules/uuid/dist/cjs-browser/sha1.d.ts +2 -0
  69. package/node_modules/uuid/dist/cjs-browser/sha1.js +72 -0
  70. package/node_modules/uuid/dist/cjs-browser/stringify.d.ts +3 -0
  71. package/node_modules/uuid/dist/cjs-browser/stringify.js +39 -0
  72. package/node_modules/uuid/dist/cjs-browser/types.d.ts +21 -0
  73. package/node_modules/uuid/dist/cjs-browser/types.js +2 -0
  74. package/node_modules/uuid/dist/cjs-browser/uuid-bin.d.ts +1 -0
  75. package/node_modules/uuid/dist/cjs-browser/uuid-bin.js +72 -0
  76. package/node_modules/uuid/dist/cjs-browser/v1.d.ts +11 -0
  77. package/node_modules/uuid/dist/cjs-browser/v1.js +87 -0
  78. package/node_modules/uuid/dist/cjs-browser/v1ToV6.d.ts +2 -0
  79. package/node_modules/uuid/dist/cjs-browser/v1ToV6.js +13 -0
  80. package/node_modules/uuid/dist/cjs-browser/v3.d.ts +9 -0
  81. package/node_modules/uuid/dist/cjs-browser/v3.js +14 -0
  82. package/node_modules/uuid/dist/cjs-browser/v35.d.ts +7 -0
  83. package/node_modules/uuid/dist/cjs-browser/v35.js +44 -0
  84. package/node_modules/uuid/dist/cjs-browser/v4.d.ts +4 -0
  85. package/node_modules/uuid/dist/cjs-browser/v4.js +29 -0
  86. package/node_modules/uuid/dist/cjs-browser/v5.d.ts +9 -0
  87. package/node_modules/uuid/dist/cjs-browser/v5.js +14 -0
  88. package/node_modules/uuid/dist/cjs-browser/v6.d.ts +4 -0
  89. package/node_modules/uuid/dist/cjs-browser/v6.js +22 -0
  90. package/node_modules/uuid/dist/cjs-browser/v6ToV1.d.ts +2 -0
  91. package/node_modules/uuid/dist/cjs-browser/v6ToV1.js +13 -0
  92. package/node_modules/uuid/dist/cjs-browser/v7.d.ts +9 -0
  93. package/node_modules/uuid/dist/cjs-browser/v7.js +69 -0
  94. package/node_modules/uuid/dist/cjs-browser/validate.d.ts +2 -0
  95. package/node_modules/uuid/dist/cjs-browser/validate.js +7 -0
  96. package/node_modules/uuid/dist/cjs-browser/version.d.ts +2 -0
  97. package/node_modules/uuid/dist/cjs-browser/version.js +10 -0
  98. package/node_modules/uuid/dist/esm/bin/uuid +2 -0
  99. package/node_modules/uuid/dist/esm/index.d.ts +15 -0
  100. package/node_modules/uuid/dist/{esm-node → esm}/index.js +9 -4
  101. package/node_modules/uuid/dist/esm/max.d.ts +2 -0
  102. package/node_modules/uuid/dist/esm/max.js +1 -0
  103. package/node_modules/uuid/dist/esm/md5.d.ts +4 -0
  104. package/node_modules/uuid/dist/esm/md5.js +11 -0
  105. package/node_modules/uuid/dist/esm/native.d.ts +6 -0
  106. package/node_modules/uuid/dist/esm/native.js +2 -0
  107. package/node_modules/uuid/dist/esm/nil.d.ts +2 -0
  108. package/node_modules/uuid/dist/esm/nil.js +1 -0
  109. package/node_modules/uuid/dist/esm/parse.d.ts +2 -0
  110. package/node_modules/uuid/dist/esm/parse.js +9 -0
  111. package/node_modules/uuid/dist/esm/regex.d.ts +2 -0
  112. package/node_modules/uuid/dist/esm/regex.js +1 -0
  113. package/node_modules/uuid/dist/esm/rng.d.ts +1 -0
  114. package/node_modules/uuid/dist/esm/rng.js +10 -0
  115. package/node_modules/uuid/dist/esm/sha1.d.ts +4 -0
  116. package/node_modules/uuid/dist/esm/sha1.js +11 -0
  117. package/node_modules/uuid/dist/esm/stringify.d.ts +3 -0
  118. package/node_modules/uuid/dist/esm/stringify.js +35 -0
  119. package/node_modules/uuid/dist/esm/types.d.ts +21 -0
  120. package/node_modules/uuid/dist/esm/types.js +1 -0
  121. package/node_modules/uuid/dist/esm/uuid-bin.d.ts +1 -0
  122. package/node_modules/uuid/dist/esm/uuid-bin.js +70 -0
  123. package/node_modules/uuid/dist/esm/v1.d.ts +11 -0
  124. package/node_modules/uuid/dist/esm/v1.js +83 -0
  125. package/node_modules/uuid/dist/esm/v1ToV6.d.ts +2 -0
  126. package/node_modules/uuid/dist/esm/v1ToV6.js +10 -0
  127. package/node_modules/uuid/dist/esm/v3.d.ts +9 -0
  128. package/node_modules/uuid/dist/esm/v3.js +9 -0
  129. package/node_modules/uuid/dist/esm/v35.d.ts +7 -0
  130. package/node_modules/uuid/dist/esm/v35.js +39 -0
  131. package/node_modules/uuid/dist/esm/v4.d.ts +4 -0
  132. package/node_modules/uuid/dist/esm/v4.js +27 -0
  133. package/node_modules/uuid/dist/esm/v5.d.ts +9 -0
  134. package/node_modules/uuid/dist/esm/v5.js +9 -0
  135. package/node_modules/uuid/dist/esm/v6.d.ts +4 -0
  136. package/node_modules/uuid/dist/esm/v6.js +20 -0
  137. package/node_modules/uuid/dist/esm/v6ToV1.d.ts +2 -0
  138. package/node_modules/uuid/dist/esm/v6ToV1.js +10 -0
  139. package/node_modules/uuid/dist/esm/v7.d.ts +9 -0
  140. package/node_modules/uuid/dist/esm/v7.js +65 -0
  141. package/node_modules/uuid/dist/esm/validate.d.ts +2 -0
  142. package/node_modules/uuid/dist/esm/validate.js +5 -0
  143. package/node_modules/uuid/dist/esm/version.d.ts +2 -0
  144. package/node_modules/uuid/dist/esm/version.js +8 -0
  145. package/node_modules/uuid/dist/esm-browser/index.d.ts +15 -0
  146. package/node_modules/uuid/dist/esm-browser/index.js +9 -4
  147. package/node_modules/uuid/dist/esm-browser/max.d.ts +2 -0
  148. package/node_modules/uuid/dist/esm-browser/max.js +1 -0
  149. package/node_modules/uuid/dist/esm-browser/md5.d.ts +2 -0
  150. package/node_modules/uuid/dist/esm-browser/md5.js +113 -193
  151. package/node_modules/uuid/dist/esm-browser/native.d.ts +4 -0
  152. package/node_modules/uuid/dist/esm-browser/native.js +2 -0
  153. package/node_modules/uuid/dist/esm-browser/nil.d.ts +2 -0
  154. package/node_modules/uuid/dist/esm-browser/nil.js +1 -1
  155. package/node_modules/uuid/dist/esm-browser/parse.d.ts +2 -0
  156. package/node_modules/uuid/dist/esm-browser/parse.js +6 -32
  157. package/node_modules/uuid/dist/esm-browser/regex.d.ts +2 -0
  158. package/node_modules/uuid/dist/esm-browser/regex.js +1 -1
  159. package/node_modules/uuid/dist/esm-browser/rng.d.ts +1 -0
  160. package/node_modules/uuid/dist/esm-browser/rng.js +8 -16
  161. package/node_modules/uuid/dist/esm-browser/sha1.d.ts +2 -0
  162. package/node_modules/uuid/dist/esm-browser/sha1.js +62 -88
  163. package/node_modules/uuid/dist/esm-browser/stringify.d.ts +3 -0
  164. package/node_modules/uuid/dist/esm-browser/stringify.js +32 -27
  165. package/node_modules/uuid/dist/esm-browser/types.d.ts +21 -0
  166. package/node_modules/uuid/dist/esm-browser/types.js +1 -0
  167. package/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +1 -0
  168. package/node_modules/uuid/dist/esm-browser/uuid-bin.js +70 -0
  169. package/node_modules/uuid/dist/esm-browser/v1.d.ts +11 -0
  170. package/node_modules/uuid/dist/esm-browser/v1.js +78 -90
  171. package/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +2 -0
  172. package/node_modules/uuid/dist/esm-browser/v1ToV6.js +10 -0
  173. package/node_modules/uuid/dist/esm-browser/v3.d.ts +9 -0
  174. package/node_modules/uuid/dist/esm-browser/v3.js +8 -3
  175. package/node_modules/uuid/dist/esm-browser/v35.d.ts +7 -0
  176. package/node_modules/uuid/dist/esm-browser/v35.js +33 -58
  177. package/node_modules/uuid/dist/esm-browser/v4.d.ts +4 -0
  178. package/node_modules/uuid/dist/esm-browser/v4.js +23 -20
  179. package/node_modules/uuid/dist/esm-browser/v5.d.ts +9 -0
  180. package/node_modules/uuid/dist/esm-browser/v5.js +8 -3
  181. package/node_modules/uuid/dist/esm-browser/v6.d.ts +4 -0
  182. package/node_modules/uuid/dist/esm-browser/v6.js +20 -0
  183. package/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +2 -0
  184. package/node_modules/uuid/dist/esm-browser/v6ToV1.js +10 -0
  185. package/node_modules/uuid/dist/esm-browser/v7.d.ts +9 -0
  186. package/node_modules/uuid/dist/esm-browser/v7.js +65 -0
  187. package/node_modules/uuid/dist/esm-browser/validate.d.ts +2 -0
  188. package/node_modules/uuid/dist/esm-browser/validate.js +2 -4
  189. package/node_modules/uuid/dist/esm-browser/version.d.ts +2 -0
  190. package/node_modules/uuid/dist/esm-browser/version.js +5 -8
  191. package/node_modules/uuid/package.json +80 -83
  192. package/package.json +4 -1
  193. package/worldmap/worldmap.js +7 -0
  194. package/worldmap.html +1 -1
  195. package/node_modules/uuid/CHANGELOG.md +0 -229
  196. package/node_modules/uuid/CONTRIBUTING.md +0 -18
  197. package/node_modules/uuid/dist/bin/uuid +0 -2
  198. package/node_modules/uuid/dist/esm-node/md5.js +0 -13
  199. package/node_modules/uuid/dist/esm-node/nil.js +0 -1
  200. package/node_modules/uuid/dist/esm-node/parse.js +0 -35
  201. package/node_modules/uuid/dist/esm-node/regex.js +0 -1
  202. package/node_modules/uuid/dist/esm-node/rng.js +0 -12
  203. package/node_modules/uuid/dist/esm-node/sha1.js +0 -13
  204. package/node_modules/uuid/dist/esm-node/stringify.js +0 -29
  205. package/node_modules/uuid/dist/esm-node/v1.js +0 -95
  206. package/node_modules/uuid/dist/esm-node/v3.js +0 -4
  207. package/node_modules/uuid/dist/esm-node/v35.js +0 -64
  208. package/node_modules/uuid/dist/esm-node/v4.js +0 -24
  209. package/node_modules/uuid/dist/esm-node/v5.js +0 -4
  210. package/node_modules/uuid/dist/esm-node/validate.js +0 -7
  211. package/node_modules/uuid/dist/esm-node/version.js +0 -11
  212. package/node_modules/uuid/dist/index.js +0 -79
  213. package/node_modules/uuid/dist/md5-browser.js +0 -223
  214. package/node_modules/uuid/dist/md5.js +0 -23
  215. package/node_modules/uuid/dist/nil.js +0 -8
  216. package/node_modules/uuid/dist/parse.js +0 -45
  217. package/node_modules/uuid/dist/regex.js +0 -8
  218. package/node_modules/uuid/dist/rng-browser.js +0 -26
  219. package/node_modules/uuid/dist/rng.js +0 -24
  220. package/node_modules/uuid/dist/sha1-browser.js +0 -104
  221. package/node_modules/uuid/dist/sha1.js +0 -23
  222. package/node_modules/uuid/dist/stringify.js +0 -39
  223. package/node_modules/uuid/dist/umd/uuid.min.js +0 -1
  224. package/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
  225. package/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
  226. package/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
  227. package/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
  228. package/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
  229. package/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
  230. package/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
  231. package/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
  232. package/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
  233. package/node_modules/uuid/dist/uuid-bin.js +0 -85
  234. package/node_modules/uuid/dist/v1.js +0 -107
  235. package/node_modules/uuid/dist/v3.js +0 -16
  236. package/node_modules/uuid/dist/v35.js +0 -78
  237. package/node_modules/uuid/dist/v4.js +0 -37
  238. package/node_modules/uuid/dist/v5.js +0 -16
  239. package/node_modules/uuid/dist/validate.js +0 -17
  240. package/node_modules/uuid/dist/version.js +0 -21
  241. package/node_modules/uuid/wrapper.mjs +0 -10
@@ -0,0 +1,65 @@
1
+ import rng from './rng.js';
2
+ import { unsafeStringify } from './stringify.js';
3
+ const _state = {};
4
+ function v7(options, buf, offset) {
5
+ let bytes;
6
+ if (options) {
7
+ bytes = v7Bytes(options.random ?? options.rng?.() ?? rng(), options.msecs, options.seq, buf, offset);
8
+ }
9
+ else {
10
+ const now = Date.now();
11
+ const rnds = rng();
12
+ updateV7State(_state, now, rnds);
13
+ bytes = v7Bytes(rnds, _state.msecs, _state.seq, buf, offset);
14
+ }
15
+ return buf ?? unsafeStringify(bytes);
16
+ }
17
+ export function updateV7State(state, now, rnds) {
18
+ state.msecs ??= -Infinity;
19
+ state.seq ??= 0;
20
+ if (now > state.msecs) {
21
+ state.seq = (rnds[6] << 23) | (rnds[7] << 16) | (rnds[8] << 8) | rnds[9];
22
+ state.msecs = now;
23
+ }
24
+ else {
25
+ state.seq = (state.seq + 1) | 0;
26
+ if (state.seq === 0) {
27
+ state.msecs++;
28
+ }
29
+ }
30
+ return state;
31
+ }
32
+ function v7Bytes(rnds, msecs, seq, buf, offset = 0) {
33
+ if (rnds.length < 16) {
34
+ throw new Error('Random bytes length must be >= 16');
35
+ }
36
+ if (!buf) {
37
+ buf = new Uint8Array(16);
38
+ offset = 0;
39
+ }
40
+ else {
41
+ if (offset < 0 || offset + 16 > buf.length) {
42
+ throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`);
43
+ }
44
+ }
45
+ msecs ??= Date.now();
46
+ seq ??= ((rnds[6] * 0x7f) << 24) | (rnds[7] << 16) | (rnds[8] << 8) | rnds[9];
47
+ buf[offset++] = (msecs / 0x10000000000) & 0xff;
48
+ buf[offset++] = (msecs / 0x100000000) & 0xff;
49
+ buf[offset++] = (msecs / 0x1000000) & 0xff;
50
+ buf[offset++] = (msecs / 0x10000) & 0xff;
51
+ buf[offset++] = (msecs / 0x100) & 0xff;
52
+ buf[offset++] = msecs & 0xff;
53
+ buf[offset++] = 0x70 | ((seq >>> 28) & 0x0f);
54
+ buf[offset++] = (seq >>> 20) & 0xff;
55
+ buf[offset++] = 0x80 | ((seq >>> 14) & 0x3f);
56
+ buf[offset++] = (seq >>> 6) & 0xff;
57
+ buf[offset++] = ((seq << 2) & 0xff) | (rnds[10] & 0x03);
58
+ buf[offset++] = rnds[11];
59
+ buf[offset++] = rnds[12];
60
+ buf[offset++] = rnds[13];
61
+ buf[offset++] = rnds[14];
62
+ buf[offset++] = rnds[15];
63
+ return buf;
64
+ }
65
+ export default v7;
@@ -0,0 +1,2 @@
1
+ declare function validate(uuid: unknown): boolean;
2
+ export default validate;
@@ -1,7 +1,5 @@
1
1
  import REGEX from './regex.js';
2
-
3
2
  function validate(uuid) {
4
- return typeof uuid === 'string' && REGEX.test(uuid);
3
+ return typeof uuid === 'string' && REGEX.test(uuid);
5
4
  }
6
-
7
- export default validate;
5
+ export default validate;
@@ -0,0 +1,2 @@
1
+ declare function version(uuid: string): number;
2
+ export default version;
@@ -1,11 +1,8 @@
1
1
  import validate from './validate.js';
2
-
3
2
  function version(uuid) {
4
- if (!validate(uuid)) {
5
- throw TypeError('Invalid UUID');
6
- }
7
-
8
- return parseInt(uuid.substr(14, 1), 16);
3
+ if (!validate(uuid)) {
4
+ throw TypeError('Invalid UUID');
5
+ }
6
+ return parseInt(uuid.slice(14, 15), 16);
9
7
  }
10
-
11
- export default version;
8
+ export default version;
@@ -1,7 +1,12 @@
1
1
  {
2
2
  "name": "uuid",
3
- "version": "8.3.2",
4
- "description": "RFC4122 (v1, v4, and v5) UUIDs",
3
+ "version": "11.1.1",
4
+ "description": "RFC9562 UUIDs",
5
+ "type": "module",
6
+ "funding": [
7
+ "https://github.com/sponsors/broofa",
8
+ "https://github.com/sponsors/ctavan"
9
+ ],
5
10
  "commitlint": {
6
11
  "extends": [
7
12
  "@commitlint/config-conventional"
@@ -10,126 +15,118 @@
10
15
  "keywords": [
11
16
  "uuid",
12
17
  "guid",
13
- "rfc4122"
18
+ "rfc4122",
19
+ "rfc9562"
14
20
  ],
15
21
  "license": "MIT",
16
22
  "bin": {
17
- "uuid": "./dist/bin/uuid"
23
+ "uuid": "./dist/esm/bin/uuid"
18
24
  },
19
25
  "sideEffects": false,
20
- "main": "./dist/index.js",
26
+ "main": "./dist/cjs/index.js",
21
27
  "exports": {
22
28
  ".": {
23
29
  "node": {
24
- "module": "./dist/esm-node/index.js",
25
- "require": "./dist/index.js",
26
- "import": "./wrapper.mjs"
30
+ "import": "./dist/esm/index.js",
31
+ "require": "./dist/cjs/index.js"
32
+ },
33
+ "browser": {
34
+ "import": "./dist/esm-browser/index.js",
35
+ "require": "./dist/cjs-browser/index.js"
27
36
  },
28
37
  "default": "./dist/esm-browser/index.js"
29
38
  },
30
39
  "./package.json": "./package.json"
31
40
  },
32
- "module": "./dist/esm-node/index.js",
41
+ "module": "./dist/esm/index.js",
33
42
  "browser": {
34
- "./dist/md5.js": "./dist/md5-browser.js",
35
- "./dist/rng.js": "./dist/rng-browser.js",
36
- "./dist/sha1.js": "./dist/sha1-browser.js",
37
- "./dist/esm-node/index.js": "./dist/esm-browser/index.js"
43
+ "./dist/esm/index.js": "./dist/esm-browser/index.js",
44
+ "./dist/cjs/index.js": "./dist/cjs-browser/index.js"
38
45
  },
39
46
  "files": [
40
- "CHANGELOG.md",
41
- "CONTRIBUTING.md",
42
- "LICENSE.md",
43
- "README.md",
44
47
  "dist",
45
- "wrapper.mjs"
48
+ "!dist/**/test"
46
49
  ],
47
50
  "devDependencies": {
48
- "@babel/cli": "7.11.6",
49
- "@babel/core": "7.11.6",
50
- "@babel/preset-env": "7.11.5",
51
- "@commitlint/cli": "11.0.0",
52
- "@commitlint/config-conventional": "11.0.0",
53
- "@rollup/plugin-node-resolve": "9.0.0",
54
- "babel-eslint": "10.1.0",
55
- "bundlewatch": "0.3.1",
56
- "eslint": "7.10.0",
57
- "eslint-config-prettier": "6.12.0",
58
- "eslint-config-standard": "14.1.1",
59
- "eslint-plugin-import": "2.22.1",
60
- "eslint-plugin-node": "11.1.0",
61
- "eslint-plugin-prettier": "3.1.4",
62
- "eslint-plugin-promise": "4.2.1",
63
- "eslint-plugin-standard": "4.0.1",
64
- "husky": "4.3.0",
65
- "jest": "25.5.4",
66
- "lint-staged": "10.4.0",
51
+ "@babel/eslint-parser": "7.25.9",
52
+ "@commitlint/cli": "19.6.1",
53
+ "@commitlint/config-conventional": "19.6.0",
54
+ "@eslint/js": "9.17.0",
55
+ "@types/eslint__js": "8.42.3",
56
+ "bundlewatch": "0.4.0",
57
+ "commander": "12.1.0",
58
+ "eslint": "9.17.0",
59
+ "eslint-config-prettier": "9.1.0",
60
+ "eslint-plugin-prettier": "5.2.1",
61
+ "globals": "15.14.0",
62
+ "husky": "9.1.7",
63
+ "jest": "29.7.0",
64
+ "lint-staged": "15.2.11",
65
+ "neostandard": "0.12.0",
67
66
  "npm-run-all": "4.1.5",
68
- "optional-dev-dependency": "2.0.1",
69
- "prettier": "2.1.2",
70
- "random-seed": "0.3.0",
71
- "rollup": "2.28.2",
72
- "rollup-plugin-terser": "7.0.2",
73
- "runmd": "1.3.2",
74
- "standard-version": "9.0.0"
67
+ "prettier": "3.4.2",
68
+ "release-please": "16.15.0",
69
+ "runmd": "1.4.1",
70
+ "standard-version": "9.5.0",
71
+ "typescript": "5.0.4",
72
+ "typescript-eslint": "8.18.2"
75
73
  },
76
74
  "optionalDevDependencies": {
77
- "@wdio/browserstack-service": "6.4.0",
78
- "@wdio/cli": "6.4.0",
79
- "@wdio/jasmine-framework": "6.4.0",
80
- "@wdio/local-runner": "6.4.0",
81
- "@wdio/spec-reporter": "6.4.0",
82
- "@wdio/static-server-service": "6.4.0",
83
- "@wdio/sync": "6.4.0"
75
+ "@wdio/browserstack-service": "9.2.1",
76
+ "@wdio/cli": "9.2.1",
77
+ "@wdio/jasmine-framework": "9.2.1",
78
+ "@wdio/local-runner": "9.2.1",
79
+ "@wdio/spec-reporter": "9.1.3",
80
+ "@wdio/static-server-service": "9.1.3"
84
81
  },
85
82
  "scripts": {
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",
88
- "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test",
89
- "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test",
83
+ "build": "./scripts/build.sh",
84
+ "build:watch": "tsc --watch -p tsconfig.esm.json",
85
+ "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
86
+ "docs:diff": "npm run docs && git diff --quiet README.md",
87
+ "docs": "npm run build && npx runmd --output=README.md README_js.md",
88
+ "eslint:check": "eslint src/ test/ examples/ *.[jt]s",
89
+ "eslint:fix": "eslint --fix src/ test/ examples/ *.[jt]s",
90
+ "examples:browser:rollup:build": "cd examples/browser-rollup && npm run build",
91
+ "examples:browser:webpack:build": "cd examples/browser-webpack && npm run build",
92
+ "examples:node:commonjs:test": "cd examples/node-commonjs && npm test",
93
+ "examples:node:esmodules:test": "cd examples/node-esmodules && npm test",
94
+ "examples:node:jest:test": "cd examples/node-jest && npm test",
95
+ "examples:node:typescript:test": "cd examples/typescript && npm test",
90
96
  "lint": "npm run eslint:check && npm run prettier:check",
91
- "eslint:check": "eslint src/ test/ examples/ *.js",
92
- "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
93
- "pretest": "[ -n $CI ] || npm run build",
94
- "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
95
- "pretest:browser": "optional-dev-dependency && npm run build && npm-run-all --parallel examples:browser:**",
96
- "test:browser": "wdio run ./wdio.conf.js",
97
+ "md": "runmd --watch --output=README.md README_js.md",
98
+ "prepack": "npm run build -- --no-pack",
99
+ "prepare": "husky",
100
+ "prepublishOnly": "npm run build",
101
+ "pretest:benchmark": "npm run build",
102
+ "pretest:browser": "./scripts/iodd && npm run build && npm-run-all --parallel examples:browser:**",
97
103
  "pretest:node": "npm run build",
104
+ "pretest": "npm run build",
105
+ "prettier:check": "prettier --check .",
106
+ "prettier:fix": "prettier --write .",
107
+ "release": "standard-version --no-verify",
108
+ "test:benchmark": "cd examples/benchmark && npm test",
109
+ "test:browser": "wdio run ./wdio.conf.js",
98
110
  "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",
102
- "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
103
- "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
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
+ "test:watch": "node --test --enable-source-maps --watch dist/esm/test/*.js",
112
+ "test": "node --test --enable-source-maps dist/esm/test/*.js"
111
113
  },
112
114
  "repository": {
113
115
  "type": "git",
114
116
  "url": "https://github.com/uuidjs/uuid.git"
115
117
  },
116
- "husky": {
117
- "hooks": {
118
- "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
119
- "pre-commit": "lint-staged"
120
- }
121
- },
122
118
  "lint-staged": {
123
- "*.{js,jsx,json,md}": [
124
- "prettier --write"
119
+ "*": [
120
+ "prettier --no-error-on-unmatched-pattern --write"
125
121
  ],
126
122
  "*.{js,jsx}": [
127
- "eslint --fix"
123
+ "eslint --no-error-on-unmatched-pattern --fix"
128
124
  ]
129
125
  },
130
126
  "standard-version": {
131
127
  "scripts": {
132
128
  "postchangelog": "prettier --write CHANGELOG.md"
133
129
  }
134
- }
130
+ },
131
+ "packageManager": "npm@11.0.0"
135
132
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-web-worldmap",
3
- "version": "5.7.2",
3
+ "version": "5.8.0",
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.3.5",
@@ -14,6 +14,9 @@
14
14
  "body-parser": {
15
15
  "qs": "6.15.2"
16
16
  }
17
+ },
18
+ "sockjs": {
19
+ "uuid": "11.1.1"
17
20
  }
18
21
  },
19
22
  "bundledDependencies": [
@@ -2525,6 +2525,9 @@ function setMarker(data) {
2525
2525
  if (data.ttl != 0) {
2526
2526
  marker.ts = parseInt(Date.now()/1000) + Number(data.ttl);
2527
2527
  }
2528
+ else {
2529
+ if (marker.hasOwnProperty("ts")) { delete marker.ts; }
2530
+ }
2528
2531
  delete data.ttl;
2529
2532
  }
2530
2533
  else if (maxage != 0) {
@@ -2650,6 +2653,10 @@ function setMarker(data) {
2650
2653
 
2651
2654
  marker.lay = lay; // and the layer it is on
2652
2655
 
2656
+ marker.on("dblclick", function (ev) {
2657
+ L.DomEvent.stopPropagation(ev)
2658
+ });
2659
+
2653
2660
  // marker.on('click', function(e) {
2654
2661
  // //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))}));
2655
2662
  // var fb = allData[marker.name];
package/worldmap.html CHANGED
@@ -133,10 +133,10 @@ If <i>Web Path</i> is left empty, then by default <code>⌘⇧m</code> - <code>c
133
133
  <li><code>icon</code> : <a href="https://fontawesome.com/v4.7.0/icons/" target="_new">font awesome</a> icon name or <a href="https://github.com/dceejay/RedMap/blob/master/emojilist.md" target="_new">:emoji name:</a>, or url of icon image.</li>
134
134
  <li><code>iconColor</code> : standard CSS color name or #rrggbb hex value.</li>
135
135
  <li><code>SIDC</code> : NATO symbology code (instead of icon).</li>
136
+ <li><code>ttl</code> : time to live of an individual marker before deletion. 0 = infinite/no timeout.</li>
136
137
  <li><code>label</code> : permanent label next to marker, or</li>
137
138
  <li><code>tooltip</code> : hover over text for marker. (alternative to label)</li>
138
139
  <li><code>bulding</code> : OSMBuildings GeoJSON object.</li>
139
- <li><code>ttl</code> : time to live of an individual marker before deletion.</li>
140
140
  <li><code>photoUrl</code> : adds an image pointed at by the url to the popup box.</li>
141
141
  <li><code>videoUrl</code> : adds an mp4 (320x240) pointed at by the url to Popup box</li>
142
142
  <li><code>weblink</code> : link to an external web page.</li>
@@ -1,229 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- ### [8.3.2](https://github.com/uuidjs/uuid/compare/v8.3.1...v8.3.2) (2020-12-08)
6
-
7
- ### Bug Fixes
8
-
9
- - lazy load getRandomValues ([#537](https://github.com/uuidjs/uuid/issues/537)) ([16c8f6d](https://github.com/uuidjs/uuid/commit/16c8f6df2f6b09b4d6235602d6a591188320a82e)), closes [#536](https://github.com/uuidjs/uuid/issues/536)
10
-
11
- ### [8.3.1](https://github.com/uuidjs/uuid/compare/v8.3.0...v8.3.1) (2020-10-04)
12
-
13
- ### Bug Fixes
14
-
15
- - support expo>=39.0.0 ([#515](https://github.com/uuidjs/uuid/issues/515)) ([c65a0f3](https://github.com/uuidjs/uuid/commit/c65a0f3fa73b901959d638d1e3591dfacdbed867)), closes [#375](https://github.com/uuidjs/uuid/issues/375)
16
-
17
- ## [8.3.0](https://github.com/uuidjs/uuid/compare/v8.2.0...v8.3.0) (2020-07-27)
18
-
19
- ### Features
20
-
21
- - add parse/stringify/validate/version/NIL APIs ([#479](https://github.com/uuidjs/uuid/issues/479)) ([0e6c10b](https://github.com/uuidjs/uuid/commit/0e6c10ba1bf9517796ff23c052fc0468eedfd5f4)), closes [#475](https://github.com/uuidjs/uuid/issues/475) [#478](https://github.com/uuidjs/uuid/issues/478) [#480](https://github.com/uuidjs/uuid/issues/480) [#481](https://github.com/uuidjs/uuid/issues/481) [#180](https://github.com/uuidjs/uuid/issues/180)
22
-
23
- ## [8.2.0](https://github.com/uuidjs/uuid/compare/v8.1.0...v8.2.0) (2020-06-23)
24
-
25
- ### Features
26
-
27
- - improve performance of v1 string representation ([#453](https://github.com/uuidjs/uuid/issues/453)) ([0ee0b67](https://github.com/uuidjs/uuid/commit/0ee0b67c37846529c66089880414d29f3ae132d5))
28
- - remove deprecated v4 string parameter ([#454](https://github.com/uuidjs/uuid/issues/454)) ([88ce3ca](https://github.com/uuidjs/uuid/commit/88ce3ca0ba046f60856de62c7ce03f7ba98ba46c)), closes [#437](https://github.com/uuidjs/uuid/issues/437)
29
- - support jspm ([#473](https://github.com/uuidjs/uuid/issues/473)) ([e9f2587](https://github.com/uuidjs/uuid/commit/e9f2587a92575cac31bc1d4ae944e17c09756659))
30
-
31
- ### Bug Fixes
32
-
33
- - prepare package exports for webpack 5 ([#468](https://github.com/uuidjs/uuid/issues/468)) ([8d6e6a5](https://github.com/uuidjs/uuid/commit/8d6e6a5f8965ca9575eb4d92e99a43435f4a58a8))
34
-
35
- ## [8.1.0](https://github.com/uuidjs/uuid/compare/v8.0.0...v8.1.0) (2020-05-20)
36
-
37
- ### Features
38
-
39
- - improve v4 performance by reusing random number array ([#435](https://github.com/uuidjs/uuid/issues/435)) ([bf4af0d](https://github.com/uuidjs/uuid/commit/bf4af0d711b4d2ed03d1f74fd12ad0baa87dc79d))
40
- - optimize V8 performance of bytesToUuid ([#434](https://github.com/uuidjs/uuid/issues/434)) ([e156415](https://github.com/uuidjs/uuid/commit/e156415448ec1af2351fa0b6660cfb22581971f2))
41
-
42
- ### Bug Fixes
43
-
44
- - export package.json required by react-native and bundlers ([#449](https://github.com/uuidjs/uuid/issues/449)) ([be1c8fe](https://github.com/uuidjs/uuid/commit/be1c8fe9a3206c358e0059b52fafd7213aa48a52)), closes [ai/nanoevents#44](https://github.com/ai/nanoevents/issues/44#issuecomment-602010343) [#444](https://github.com/uuidjs/uuid/issues/444)
45
-
46
- ## [8.0.0](https://github.com/uuidjs/uuid/compare/v7.0.3...v8.0.0) (2020-04-29)
47
-
48
- ### ⚠ BREAKING CHANGES
49
-
50
- - For native ECMAScript Module (ESM) usage in Node.js only named exports are exposed, there is no more default export.
51
-
52
- ```diff
53
- -import uuid from 'uuid';
54
- -console.log(uuid.v4()); // -> 'cd6c3b08-0adc-4f4b-a6ef-36087a1c9869'
55
- +import { v4 as uuidv4 } from 'uuid';
56
- +uuidv4(); // ⇨ '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d'
57
- ```
58
-
59
- - Deep requiring specific algorithms of this library like `require('uuid/v4')`, which has been deprecated in `uuid@7`, is no longer supported.
60
-
61
- Instead use the named exports that this module exports.
62
-
63
- For ECMAScript Modules (ESM):
64
-
65
- ```diff
66
- -import uuidv4 from 'uuid/v4';
67
- +import { v4 as uuidv4 } from 'uuid';
68
- uuidv4();
69
- ```
70
-
71
- For CommonJS:
72
-
73
- ```diff
74
- -const uuidv4 = require('uuid/v4');
75
- +const { v4: uuidv4 } = require('uuid');
76
- uuidv4();
77
- ```
78
-
79
- ### Features
80
-
81
- - native Node.js ES Modules (wrapper approach) ([#423](https://github.com/uuidjs/uuid/issues/423)) ([2d9f590](https://github.com/uuidjs/uuid/commit/2d9f590ad9701d692625c07ed62f0a0f91227991)), closes [#245](https://github.com/uuidjs/uuid/issues/245) [#419](https://github.com/uuidjs/uuid/issues/419) [#342](https://github.com/uuidjs/uuid/issues/342)
82
- - remove deep requires ([#426](https://github.com/uuidjs/uuid/issues/426)) ([daf72b8](https://github.com/uuidjs/uuid/commit/daf72b84ceb20272a81bb5fbddb05dd95922cbba))
83
-
84
- ### Bug Fixes
85
-
86
- - add CommonJS syntax example to README quickstart section ([#417](https://github.com/uuidjs/uuid/issues/417)) ([e0ec840](https://github.com/uuidjs/uuid/commit/e0ec8402c7ad44b7ef0453036c612f5db513fda0))
87
-
88
- ### [7.0.3](https://github.com/uuidjs/uuid/compare/v7.0.2...v7.0.3) (2020-03-31)
89
-
90
- ### Bug Fixes
91
-
92
- - make deep require deprecation warning work in browsers ([#409](https://github.com/uuidjs/uuid/issues/409)) ([4b71107](https://github.com/uuidjs/uuid/commit/4b71107d8c0d2ef56861ede6403fc9dc35a1e6bf)), closes [#408](https://github.com/uuidjs/uuid/issues/408)
93
-
94
- ### [7.0.2](https://github.com/uuidjs/uuid/compare/v7.0.1...v7.0.2) (2020-03-04)
95
-
96
- ### Bug Fixes
97
-
98
- - make access to msCrypto consistent ([#393](https://github.com/uuidjs/uuid/issues/393)) ([8bf2a20](https://github.com/uuidjs/uuid/commit/8bf2a20f3565df743da7215eebdbada9d2df118c))
99
- - simplify link in deprecation warning ([#391](https://github.com/uuidjs/uuid/issues/391)) ([bb2c8e4](https://github.com/uuidjs/uuid/commit/bb2c8e4e9f4c5f9c1eaaf3ea59710c633cd90cb7))
100
- - update links to match content in readme ([#386](https://github.com/uuidjs/uuid/issues/386)) ([44f2f86](https://github.com/uuidjs/uuid/commit/44f2f86e9d2bbf14ee5f0f00f72a3db1292666d4))
101
-
102
- ### [7.0.1](https://github.com/uuidjs/uuid/compare/v7.0.0...v7.0.1) (2020-02-25)
103
-
104
- ### Bug Fixes
105
-
106
- - clean up esm builds for node and browser ([#383](https://github.com/uuidjs/uuid/issues/383)) ([59e6a49](https://github.com/uuidjs/uuid/commit/59e6a49e7ce7b3e8fb0f3ee52b9daae72af467dc))
107
- - provide browser versions independent from module system ([#380](https://github.com/uuidjs/uuid/issues/380)) ([4344a22](https://github.com/uuidjs/uuid/commit/4344a22e7aed33be8627eeaaf05360f256a21753)), closes [#378](https://github.com/uuidjs/uuid/issues/378)
108
-
109
- ## [7.0.0](https://github.com/uuidjs/uuid/compare/v3.4.0...v7.0.0) (2020-02-24)
110
-
111
- ### ⚠ BREAKING CHANGES
112
-
113
- - The default export, which used to be the v4() method but which was already discouraged in v3.x of this library, has been removed.
114
- - Explicitly note that deep imports of the different uuid version functions are deprecated and no longer encouraged and that ECMAScript module named imports should be used instead. Emit a deprecation warning for people who deep-require the different algorithm variants.
115
- - Remove builtin support for insecure random number generators in the browser. Users who want that will have to supply their own random number generator function.
116
- - Remove support for generating v3 and v5 UUIDs in Node.js<4.x
117
- - Convert code base to ECMAScript Modules (ESM) and release CommonJS build for node and ESM build for browser bundlers.
118
-
119
- ### Features
120
-
121
- - add UMD build to npm package ([#357](https://github.com/uuidjs/uuid/issues/357)) ([4e75adf](https://github.com/uuidjs/uuid/commit/4e75adf435196f28e3fbbe0185d654b5ded7ca2c)), closes [#345](https://github.com/uuidjs/uuid/issues/345)
122
- - add various es module and CommonJS examples ([b238510](https://github.com/uuidjs/uuid/commit/b238510bf352463521f74bab175a3af9b7a42555))
123
- - ensure that docs are up-to-date in CI ([ee5e77d](https://github.com/uuidjs/uuid/commit/ee5e77db547474f5a8f23d6c857a6d399209986b))
124
- - hybrid CommonJS & ECMAScript modules build ([a3f078f](https://github.com/uuidjs/uuid/commit/a3f078faa0baff69ab41aed08e041f8f9c8993d0))
125
- - remove insecure fallback random number generator ([3a5842b](https://github.com/uuidjs/uuid/commit/3a5842b141a6e5de0ae338f391661e6b84b167c9)), closes [#173](https://github.com/uuidjs/uuid/issues/173)
126
- - remove support for pre Node.js v4 Buffer API ([#356](https://github.com/uuidjs/uuid/issues/356)) ([b59b5c5](https://github.com/uuidjs/uuid/commit/b59b5c5ecad271c5453f1a156f011671f6d35627))
127
- - rename repository to github:uuidjs/uuid ([#351](https://github.com/uuidjs/uuid/issues/351)) ([c37a518](https://github.com/uuidjs/uuid/commit/c37a518e367ac4b6d0aa62dba1bc6ce9e85020f7)), closes [#338](https://github.com/uuidjs/uuid/issues/338)
128
-
129
- ### Bug Fixes
130
-
131
- - add deep-require proxies for local testing and adjust tests ([#365](https://github.com/uuidjs/uuid/issues/365)) ([7fedc79](https://github.com/uuidjs/uuid/commit/7fedc79ac8fda4bfd1c566c7f05ef4ac13b2db48))
132
- - add note about removal of default export ([#372](https://github.com/uuidjs/uuid/issues/372)) ([12749b7](https://github.com/uuidjs/uuid/commit/12749b700eb49db8a9759fd306d8be05dbfbd58c)), closes [#370](https://github.com/uuidjs/uuid/issues/370)
133
- - deprecated deep requiring of the different algorithm versions ([#361](https://github.com/uuidjs/uuid/issues/361)) ([c0bdf15](https://github.com/uuidjs/uuid/commit/c0bdf15e417639b1aeb0b247b2fb11f7a0a26b23))
134
-
135
- ## [3.4.0](https://github.com/uuidjs/uuid/compare/v3.3.3...v3.4.0) (2020-01-16)
136
-
137
- ### Features
138
-
139
- - rename repository to github:uuidjs/uuid ([#351](https://github.com/uuidjs/uuid/issues/351)) ([e2d7314](https://github.com/uuidjs/uuid/commit/e2d7314)), closes [#338](https://github.com/uuidjs/uuid/issues/338)
140
-
141
- ## [3.3.3](https://github.com/uuidjs/uuid/compare/v3.3.2...v3.3.3) (2019-08-19)
142
-
143
- ### Bug Fixes
144
-
145
- - no longer run ci tests on node v4
146
- - upgrade dependencies
147
-
148
- ## [3.3.2](https://github.com/uuidjs/uuid/compare/v3.3.1...v3.3.2) (2018-06-28)
149
-
150
- ### Bug Fixes
151
-
152
- - typo ([305d877](https://github.com/uuidjs/uuid/commit/305d877))
153
-
154
- ## [3.3.1](https://github.com/uuidjs/uuid/compare/v3.3.0...v3.3.1) (2018-06-28)
155
-
156
- ### Bug Fixes
157
-
158
- - fix [#284](https://github.com/uuidjs/uuid/issues/284) by setting function name in try-catch ([f2a60f2](https://github.com/uuidjs/uuid/commit/f2a60f2))
159
-
160
- # [3.3.0](https://github.com/uuidjs/uuid/compare/v3.2.1...v3.3.0) (2018-06-22)
161
-
162
- ### Bug Fixes
163
-
164
- - assignment to readonly property to allow running in strict mode ([#270](https://github.com/uuidjs/uuid/issues/270)) ([d062fdc](https://github.com/uuidjs/uuid/commit/d062fdc))
165
- - fix [#229](https://github.com/uuidjs/uuid/issues/229) ([c9684d4](https://github.com/uuidjs/uuid/commit/c9684d4))
166
- - Get correct version of IE11 crypto ([#274](https://github.com/uuidjs/uuid/issues/274)) ([153d331](https://github.com/uuidjs/uuid/commit/153d331))
167
- - mem issue when generating uuid ([#267](https://github.com/uuidjs/uuid/issues/267)) ([c47702c](https://github.com/uuidjs/uuid/commit/c47702c))
168
-
169
- ### Features
170
-
171
- - enforce Conventional Commit style commit messages ([#282](https://github.com/uuidjs/uuid/issues/282)) ([cc9a182](https://github.com/uuidjs/uuid/commit/cc9a182))
172
-
173
- ## [3.2.1](https://github.com/uuidjs/uuid/compare/v3.2.0...v3.2.1) (2018-01-16)
174
-
175
- ### Bug Fixes
176
-
177
- - use msCrypto if available. Fixes [#241](https://github.com/uuidjs/uuid/issues/241) ([#247](https://github.com/uuidjs/uuid/issues/247)) ([1fef18b](https://github.com/uuidjs/uuid/commit/1fef18b))
178
-
179
- # [3.2.0](https://github.com/uuidjs/uuid/compare/v3.1.0...v3.2.0) (2018-01-16)
180
-
181
- ### Bug Fixes
182
-
183
- - remove mistakenly added typescript dependency, rollback version (standard-version will auto-increment) ([09fa824](https://github.com/uuidjs/uuid/commit/09fa824))
184
- - use msCrypto if available. Fixes [#241](https://github.com/uuidjs/uuid/issues/241) ([#247](https://github.com/uuidjs/uuid/issues/247)) ([1fef18b](https://github.com/uuidjs/uuid/commit/1fef18b))
185
-
186
- ### Features
187
-
188
- - Add v3 Support ([#217](https://github.com/uuidjs/uuid/issues/217)) ([d94f726](https://github.com/uuidjs/uuid/commit/d94f726))
189
-
190
- # [3.1.0](https://github.com/uuidjs/uuid/compare/v3.1.0...v3.0.1) (2017-06-17)
191
-
192
- ### Bug Fixes
193
-
194
- - (fix) Add .npmignore file to exclude test/ and other non-essential files from packing. (#183)
195
- - Fix typo (#178)
196
- - Simple typo fix (#165)
197
-
198
- ### Features
199
-
200
- - v5 support in CLI (#197)
201
- - V5 support (#188)
202
-
203
- # 3.0.1 (2016-11-28)
204
-
205
- - split uuid versions into separate files
206
-
207
- # 3.0.0 (2016-11-17)
208
-
209
- - remove .parse and .unparse
210
-
211
- # 2.0.0
212
-
213
- - Removed uuid.BufferClass
214
-
215
- # 1.4.0
216
-
217
- - Improved module context detection
218
- - Removed public RNG functions
219
-
220
- # 1.3.2
221
-
222
- - Improve tests and handling of v1() options (Issue #24)
223
- - Expose RNG option to allow for perf testing with different generators
224
-
225
- # 1.3.0
226
-
227
- - Support for version 1 ids, thanks to [@ctavan](https://github.com/ctavan)!
228
- - Support for node.js crypto API
229
- - De-emphasizing performance in favor of a) cryptographic quality PRNGs where available and b) more manageable code
@@ -1,18 +0,0 @@
1
- # Contributing
2
-
3
- Please feel free to file GitHub Issues or propose Pull Requests. We're always happy to discuss improvements to this library!
4
-
5
- ## Testing
6
-
7
- ```shell
8
- npm test
9
- ```
10
-
11
- ## Releasing
12
-
13
- Releases are supposed to be done from master, version bumping is automated through [`standard-version`](https://github.com/conventional-changelog/standard-version):
14
-
15
- ```shell
16
- npm run release -- --dry-run # verify output manually
17
- npm run release # follow the instructions from the output of this command
18
- ```
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env node
2
- require('../uuid-bin');
@@ -1,13 +0,0 @@
1
- import crypto from 'crypto';
2
-
3
- function md5(bytes) {
4
- if (Array.isArray(bytes)) {
5
- bytes = Buffer.from(bytes);
6
- } else if (typeof bytes === 'string') {
7
- bytes = Buffer.from(bytes, 'utf8');
8
- }
9
-
10
- return crypto.createHash('md5').update(bytes).digest();
11
- }
12
-
13
- export default md5;
@@ -1 +0,0 @@
1
- export default '00000000-0000-0000-0000-000000000000';