node-red-contrib-tak-registration 0.13.0 → 0.13.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.
Files changed (465) hide show
  1. package/node_modules/@turf/jsts/dist/jsts.min.js +1 -1
  2. package/node_modules/@turf/jsts/dist/jsts.min.js.map +1 -0
  3. package/node_modules/@turf/jsts/package.json +17 -17
  4. package/node_modules/@types/geojson/README.md +1 -1
  5. package/node_modules/@types/geojson/index.d.ts +4 -1
  6. package/node_modules/@types/geojson/package.json +4 -3
  7. package/node_modules/@types/node/README.md +2 -2
  8. package/node_modules/@types/node/assert.d.ts +2 -2
  9. package/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
  10. package/node_modules/@types/node/compatibility/index.d.ts +9 -0
  11. package/node_modules/@types/node/compatibility/indexable.d.ts +23 -0
  12. package/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  13. package/node_modules/@types/node/crypto.d.ts +33 -9
  14. package/node_modules/@types/node/events.d.ts +2 -2
  15. package/node_modules/@types/node/fs/promises.d.ts +16 -5
  16. package/node_modules/@types/node/fs.d.ts +14 -8
  17. package/node_modules/@types/node/globals.d.ts +17 -48
  18. package/node_modules/@types/node/http.d.ts +38 -1
  19. package/node_modules/@types/node/http2.d.ts +4 -1
  20. package/node_modules/@types/node/https.d.ts +0 -1
  21. package/node_modules/@types/node/index.d.ts +8 -10
  22. package/node_modules/@types/node/module.d.ts +102 -1
  23. package/node_modules/@types/node/package.json +5 -9
  24. package/node_modules/@types/node/perf_hooks.d.ts +24 -0
  25. package/node_modules/@types/node/process.d.ts +61 -10
  26. package/node_modules/@types/node/readline/promises.d.ts +14 -2
  27. package/node_modules/@types/node/readline.d.ts +58 -9
  28. package/node_modules/@types/node/stream/promises.d.ts +8 -1
  29. package/node_modules/@types/node/stream/web.d.ts +5 -2
  30. package/node_modules/@types/node/stream.d.ts +2 -2
  31. package/node_modules/@types/node/test.d.ts +155 -5
  32. package/node_modules/@types/node/timers/promises.d.ts +1 -1
  33. package/node_modules/@types/node/tls.d.ts +6 -0
  34. package/node_modules/@types/node/ts5.6/index.d.ts +8 -10
  35. package/node_modules/@types/node/url.d.ts +7 -4
  36. package/node_modules/@types/node/util.d.ts +80 -10
  37. package/node_modules/@types/node/v8.d.ts +1 -1
  38. package/node_modules/@types/node/vm.d.ts +81 -27
  39. package/node_modules/@types/node/worker_threads.d.ts +34 -1
  40. package/node_modules/axios/CHANGELOG.md +49 -0
  41. package/node_modules/axios/README.md +20 -8
  42. package/node_modules/axios/dist/axios.js +34 -63
  43. package/node_modules/axios/dist/axios.js.map +1 -1
  44. package/node_modules/axios/dist/axios.min.js +1 -1
  45. package/node_modules/axios/dist/axios.min.js.map +1 -1
  46. package/node_modules/axios/dist/browser/axios.cjs +40 -71
  47. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  48. package/node_modules/axios/dist/esm/axios.js +40 -71
  49. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  50. package/node_modules/axios/dist/esm/axios.min.js +1 -1
  51. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  52. package/node_modules/axios/dist/node/axios.cjs +45 -75
  53. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  54. package/node_modules/axios/index.d.cts +5 -1
  55. package/node_modules/axios/index.d.ts +8 -1
  56. package/node_modules/axios/lib/adapters/http.js +4 -4
  57. package/node_modules/axios/lib/core/Axios.js +7 -2
  58. package/node_modules/axios/lib/core/mergeConfig.js +5 -5
  59. package/node_modules/axios/lib/env/data.js +1 -1
  60. package/node_modules/axios/lib/helpers/buildURL.js +7 -1
  61. package/node_modules/axios/lib/helpers/formDataToStream.js +2 -2
  62. package/node_modules/axios/lib/helpers/isURLSameOrigin.js +12 -65
  63. package/node_modules/axios/lib/helpers/validator.js +8 -0
  64. package/node_modules/axios/package.json +3 -3
  65. package/node_modules/fast-xml-parser/CHANGELOG.md +4 -0
  66. package/node_modules/fast-xml-parser/README.md +3 -2
  67. package/node_modules/fast-xml-parser/package.json +1 -1
  68. package/node_modules/fast-xml-parser/src/v5/XmlPartReader.js +21 -17
  69. package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +1 -0
  70. package/node_modules/point-in-polygon-hao/README.md +8 -7
  71. package/node_modules/point-in-polygon-hao/dist/cjs/index.cjs +322 -0
  72. package/node_modules/point-in-polygon-hao/dist/esm/index.d.ts +10 -0
  73. package/node_modules/point-in-polygon-hao/dist/esm/index.js +56 -0
  74. package/node_modules/point-in-polygon-hao/dist/pointInPolygon.js +286 -42
  75. package/node_modules/point-in-polygon-hao/dist/pointInPolygon.min.js +1 -1
  76. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/LICENSE +24 -0
  77. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/README.md +82 -0
  78. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/incircle.js +765 -0
  79. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/insphere.js +766 -0
  80. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/orient2d.js +184 -0
  81. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/orient3d.js +462 -0
  82. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/util.js +138 -0
  83. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/index.d.ts +49 -0
  84. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/index.js +5 -0
  85. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/package.json +75 -0
  86. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/incircle.js +908 -0
  87. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/incircle.min.js +1 -0
  88. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/insphere.js +914 -0
  89. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/insphere.min.js +1 -0
  90. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/orient2d.js +280 -0
  91. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/orient2d.min.js +1 -0
  92. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/orient3d.js +601 -0
  93. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/orient3d.min.js +1 -0
  94. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/predicates.js +2328 -0
  95. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/predicates.min.js +1 -0
  96. package/node_modules/point-in-polygon-hao/package.json +24 -20
  97. package/node_modules/tslib/modules/index.d.ts +1 -0
  98. package/node_modules/tslib/modules/index.js +2 -0
  99. package/node_modules/tslib/package.json +1 -1
  100. package/node_modules/tslib/tslib.d.ts +7 -0
  101. package/node_modules/tslib/tslib.es6.js +24 -1
  102. package/node_modules/tslib/tslib.es6.mjs +24 -1
  103. package/node_modules/tslib/tslib.js +56 -1
  104. package/node_modules/undici-types/eventsource.d.ts +0 -2
  105. package/node_modules/undici-types/filereader.d.ts +1 -1
  106. package/node_modules/undici-types/interceptors.d.ts +3 -1
  107. package/node_modules/undici-types/package.json +1 -1
  108. package/node_modules/undici-types/patch.d.ts +0 -38
  109. package/node_modules/undici-types/websocket.d.ts +0 -2
  110. package/node_modules/uuid/CHANGELOG.md +45 -2
  111. package/node_modules/uuid/README.md +71 -158
  112. package/node_modules/uuid/dist/cjs/index.d.ts +15 -0
  113. package/node_modules/uuid/dist/cjs/index.js +31 -0
  114. package/node_modules/uuid/dist/cjs/max.d.ts +2 -0
  115. package/node_modules/uuid/dist/cjs/max.js +3 -0
  116. package/node_modules/uuid/dist/cjs/md5.d.ts +2 -0
  117. package/node_modules/uuid/dist/cjs/md5.js +13 -0
  118. package/node_modules/uuid/dist/cjs/native.d.ts +5 -0
  119. package/node_modules/uuid/dist/cjs/native.js +4 -0
  120. package/node_modules/uuid/dist/cjs/nil.d.ts +2 -0
  121. package/node_modules/uuid/dist/cjs/nil.js +3 -0
  122. package/node_modules/uuid/dist/cjs/package.json +1 -0
  123. package/node_modules/uuid/dist/cjs/parse.d.ts +2 -0
  124. package/node_modules/uuid/dist/cjs/parse.js +11 -0
  125. package/node_modules/uuid/dist/cjs/regex.d.ts +2 -0
  126. package/node_modules/uuid/dist/cjs/regex.js +3 -0
  127. package/node_modules/uuid/dist/cjs/rng.d.ts +1 -0
  128. package/node_modules/uuid/dist/cjs/rng.js +13 -0
  129. package/node_modules/uuid/dist/cjs/sha1.d.ts +2 -0
  130. package/node_modules/uuid/dist/cjs/sha1.js +13 -0
  131. package/node_modules/uuid/dist/cjs/stringify.d.ts +3 -0
  132. package/node_modules/uuid/dist/cjs/stringify.js +38 -0
  133. package/node_modules/uuid/dist/cjs/test/parse.test.d.ts +1 -0
  134. package/node_modules/uuid/dist/cjs/test/parse.test.js +50 -0
  135. package/node_modules/uuid/dist/cjs/test/rng.test.d.ts +1 -0
  136. package/node_modules/uuid/dist/cjs/test/rng.test.js +14 -0
  137. package/node_modules/uuid/dist/cjs/test/stringify.test.d.ts +1 -0
  138. package/node_modules/uuid/dist/cjs/test/stringify.test.js +23 -0
  139. package/node_modules/uuid/dist/cjs/test/test_constants.d.ts +33 -0
  140. package/node_modules/uuid/dist/cjs/test/test_constants.js +91 -0
  141. package/node_modules/uuid/dist/cjs/test/v1.test.d.ts +1 -0
  142. package/node_modules/uuid/dist/cjs/test/v1.test.js +127 -0
  143. package/node_modules/uuid/dist/cjs/test/v35.test.d.ts +1 -0
  144. package/node_modules/uuid/dist/cjs/test/v35.test.js +143 -0
  145. package/node_modules/uuid/dist/cjs/test/v4.test.d.ts +1 -0
  146. package/node_modules/uuid/dist/cjs/test/v4.test.js +60 -0
  147. package/node_modules/uuid/dist/cjs/test/v6.test.d.ts +1 -0
  148. package/node_modules/uuid/dist/cjs/test/v6.test.js +56 -0
  149. package/node_modules/uuid/dist/cjs/test/v7.test.d.ts +1 -0
  150. package/node_modules/uuid/dist/cjs/test/v7.test.js +194 -0
  151. package/node_modules/uuid/dist/cjs/test/validate.test.d.ts +1 -0
  152. package/node_modules/uuid/dist/cjs/test/validate.test.js +13 -0
  153. package/node_modules/uuid/dist/cjs/test/version.test.d.ts +1 -0
  154. package/node_modules/uuid/dist/cjs/test/version.test.js +20 -0
  155. package/node_modules/uuid/dist/cjs/types.d.ts +21 -0
  156. package/node_modules/uuid/dist/cjs/types.js +2 -0
  157. package/node_modules/uuid/dist/cjs/uuid-bin.d.ts +1 -0
  158. package/node_modules/uuid/dist/cjs/uuid-bin.js +72 -0
  159. package/node_modules/uuid/dist/cjs/v1.d.ts +11 -0
  160. package/node_modules/uuid/dist/cjs/v1.js +78 -0
  161. package/node_modules/uuid/dist/cjs/v1ToV6.d.ts +2 -0
  162. package/node_modules/uuid/dist/cjs/v1ToV6.js +13 -0
  163. package/node_modules/uuid/dist/cjs/v3.d.ts +9 -0
  164. package/node_modules/uuid/dist/cjs/v3.js +14 -0
  165. package/node_modules/uuid/dist/cjs/v35.d.ts +7 -0
  166. package/node_modules/uuid/dist/cjs/v35.js +41 -0
  167. package/node_modules/uuid/dist/cjs/v4.d.ts +4 -0
  168. package/node_modules/uuid/dist/cjs/v4.js +23 -0
  169. package/node_modules/uuid/dist/cjs/v5.d.ts +9 -0
  170. package/node_modules/uuid/dist/cjs/v5.js +14 -0
  171. package/node_modules/uuid/dist/cjs/v6.d.ts +4 -0
  172. package/node_modules/uuid/dist/cjs/v6.js +19 -0
  173. package/node_modules/uuid/dist/cjs/v6ToV1.d.ts +2 -0
  174. package/node_modules/uuid/dist/cjs/v6ToV1.js +13 -0
  175. package/node_modules/uuid/dist/cjs/v7.d.ts +9 -0
  176. package/node_modules/uuid/dist/cjs/v7.js +60 -0
  177. package/node_modules/uuid/dist/cjs/validate.d.ts +2 -0
  178. package/node_modules/uuid/dist/cjs/validate.js +7 -0
  179. package/node_modules/uuid/dist/cjs/version.d.ts +2 -0
  180. package/node_modules/uuid/dist/cjs/version.js +10 -0
  181. package/node_modules/uuid/dist/cjs-browser/index.d.ts +15 -0
  182. package/node_modules/uuid/dist/cjs-browser/index.js +31 -0
  183. package/node_modules/uuid/dist/cjs-browser/max.d.ts +2 -0
  184. package/node_modules/uuid/dist/cjs-browser/max.js +3 -0
  185. package/node_modules/uuid/dist/cjs-browser/md5.d.ts +2 -0
  186. package/node_modules/uuid/dist/cjs-browser/md5.js +137 -0
  187. package/node_modules/uuid/dist/cjs-browser/native.d.ts +4 -0
  188. package/node_modules/uuid/dist/cjs-browser/native.js +4 -0
  189. package/node_modules/uuid/dist/cjs-browser/nil.d.ts +2 -0
  190. package/node_modules/uuid/dist/cjs-browser/nil.js +3 -0
  191. package/node_modules/uuid/dist/cjs-browser/package.json +1 -0
  192. package/node_modules/uuid/dist/cjs-browser/parse.d.ts +2 -0
  193. package/node_modules/uuid/dist/cjs-browser/parse.js +11 -0
  194. package/node_modules/uuid/dist/cjs-browser/regex.d.ts +2 -0
  195. package/node_modules/uuid/dist/cjs-browser/regex.js +3 -0
  196. package/node_modules/uuid/dist/cjs-browser/rng.d.ts +1 -0
  197. package/node_modules/uuid/dist/cjs-browser/rng.js +14 -0
  198. package/node_modules/uuid/dist/cjs-browser/sha1.d.ts +2 -0
  199. package/node_modules/uuid/dist/cjs-browser/sha1.js +72 -0
  200. package/node_modules/uuid/dist/cjs-browser/stringify.d.ts +3 -0
  201. package/node_modules/uuid/dist/cjs-browser/stringify.js +38 -0
  202. package/node_modules/uuid/dist/cjs-browser/test/parse.test.d.ts +1 -0
  203. package/node_modules/uuid/dist/cjs-browser/test/parse.test.js +50 -0
  204. package/node_modules/uuid/dist/cjs-browser/test/rng.test.d.ts +1 -0
  205. package/node_modules/uuid/dist/cjs-browser/test/rng.test.js +14 -0
  206. package/node_modules/uuid/dist/cjs-browser/test/stringify.test.d.ts +1 -0
  207. package/node_modules/uuid/dist/cjs-browser/test/stringify.test.js +23 -0
  208. package/node_modules/uuid/dist/cjs-browser/test/test_constants.d.ts +33 -0
  209. package/node_modules/uuid/dist/cjs-browser/test/test_constants.js +91 -0
  210. package/node_modules/uuid/dist/cjs-browser/test/v1.test.d.ts +1 -0
  211. package/node_modules/uuid/dist/cjs-browser/test/v1.test.js +127 -0
  212. package/node_modules/uuid/dist/cjs-browser/test/v35.test.d.ts +1 -0
  213. package/node_modules/uuid/dist/cjs-browser/test/v35.test.js +143 -0
  214. package/node_modules/uuid/dist/cjs-browser/test/v4.test.d.ts +1 -0
  215. package/node_modules/uuid/dist/cjs-browser/test/v4.test.js +60 -0
  216. package/node_modules/uuid/dist/cjs-browser/test/v6.test.d.ts +1 -0
  217. package/node_modules/uuid/dist/cjs-browser/test/v6.test.js +56 -0
  218. package/node_modules/uuid/dist/cjs-browser/test/v7.test.d.ts +1 -0
  219. package/node_modules/uuid/dist/cjs-browser/test/v7.test.js +194 -0
  220. package/node_modules/uuid/dist/cjs-browser/test/validate.test.d.ts +1 -0
  221. package/node_modules/uuid/dist/cjs-browser/test/validate.test.js +13 -0
  222. package/node_modules/uuid/dist/cjs-browser/test/version.test.d.ts +1 -0
  223. package/node_modules/uuid/dist/cjs-browser/test/version.test.js +20 -0
  224. package/node_modules/uuid/dist/cjs-browser/types.d.ts +21 -0
  225. package/node_modules/uuid/dist/cjs-browser/types.js +2 -0
  226. package/node_modules/uuid/dist/cjs-browser/uuid-bin.d.ts +1 -0
  227. package/node_modules/uuid/dist/cjs-browser/uuid-bin.js +72 -0
  228. package/node_modules/uuid/dist/cjs-browser/v1.d.ts +11 -0
  229. package/node_modules/uuid/dist/cjs-browser/v1.js +78 -0
  230. package/node_modules/uuid/dist/cjs-browser/v1ToV6.d.ts +2 -0
  231. package/node_modules/uuid/dist/cjs-browser/v1ToV6.js +13 -0
  232. package/node_modules/uuid/dist/cjs-browser/v3.d.ts +9 -0
  233. package/node_modules/uuid/dist/cjs-browser/v3.js +14 -0
  234. package/node_modules/uuid/dist/cjs-browser/v35.d.ts +7 -0
  235. package/node_modules/uuid/dist/cjs-browser/v35.js +41 -0
  236. package/node_modules/uuid/dist/cjs-browser/v4.d.ts +4 -0
  237. package/node_modules/uuid/dist/cjs-browser/v4.js +23 -0
  238. package/node_modules/uuid/dist/cjs-browser/v5.d.ts +9 -0
  239. package/node_modules/uuid/dist/cjs-browser/v5.js +14 -0
  240. package/node_modules/uuid/dist/cjs-browser/v6.d.ts +4 -0
  241. package/node_modules/uuid/dist/cjs-browser/v6.js +19 -0
  242. package/node_modules/uuid/dist/cjs-browser/v6ToV1.d.ts +2 -0
  243. package/node_modules/uuid/dist/cjs-browser/v6ToV1.js +13 -0
  244. package/node_modules/uuid/dist/cjs-browser/v7.d.ts +9 -0
  245. package/node_modules/uuid/dist/cjs-browser/v7.js +60 -0
  246. package/node_modules/uuid/dist/cjs-browser/validate.d.ts +2 -0
  247. package/node_modules/uuid/dist/cjs-browser/validate.js +7 -0
  248. package/node_modules/uuid/dist/cjs-browser/version.d.ts +2 -0
  249. package/node_modules/uuid/dist/cjs-browser/version.js +10 -0
  250. package/node_modules/uuid/dist/esm/bin/uuid +2 -0
  251. package/node_modules/uuid/dist/esm/index.d.ts +15 -0
  252. package/node_modules/uuid/dist/{esm-node → esm}/index.js +1 -1
  253. package/node_modules/uuid/dist/esm/max.d.ts +2 -0
  254. package/node_modules/uuid/dist/esm/max.js +1 -0
  255. package/node_modules/uuid/dist/esm/md5.d.ts +2 -0
  256. package/node_modules/uuid/dist/esm/md5.js +11 -0
  257. package/node_modules/uuid/dist/esm/native.d.ts +5 -0
  258. package/node_modules/uuid/dist/esm/native.js +2 -0
  259. package/node_modules/uuid/dist/esm/nil.d.ts +2 -0
  260. package/node_modules/uuid/dist/esm/nil.js +1 -0
  261. package/node_modules/uuid/dist/esm/parse.d.ts +2 -0
  262. package/node_modules/uuid/dist/esm/parse.js +9 -0
  263. package/node_modules/uuid/dist/esm/regex.d.ts +2 -0
  264. package/node_modules/uuid/dist/{esm-node → esm}/regex.js +1 -1
  265. package/node_modules/uuid/dist/esm/rng.d.ts +1 -0
  266. package/node_modules/uuid/dist/esm/rng.js +10 -0
  267. package/node_modules/uuid/dist/esm/sha1.d.ts +2 -0
  268. package/node_modules/uuid/dist/esm/sha1.js +11 -0
  269. package/node_modules/uuid/dist/esm/stringify.d.ts +3 -0
  270. package/node_modules/uuid/dist/esm/stringify.js +35 -0
  271. package/node_modules/uuid/dist/esm/test/parse.test.d.ts +1 -0
  272. package/node_modules/uuid/dist/esm/test/parse.test.js +48 -0
  273. package/node_modules/uuid/dist/esm/test/rng.test.d.ts +1 -0
  274. package/node_modules/uuid/dist/esm/test/rng.test.js +12 -0
  275. package/node_modules/uuid/dist/esm/test/stringify.test.d.ts +1 -0
  276. package/node_modules/uuid/dist/esm/test/stringify.test.js +21 -0
  277. package/node_modules/uuid/dist/esm/test/test_constants.d.ts +33 -0
  278. package/node_modules/uuid/dist/esm/test/test_constants.js +88 -0
  279. package/node_modules/uuid/dist/esm/test/v1.test.d.ts +1 -0
  280. package/node_modules/uuid/dist/esm/test/v1.test.js +125 -0
  281. package/node_modules/uuid/dist/esm/test/v35.test.d.ts +1 -0
  282. package/node_modules/uuid/dist/esm/test/v35.test.js +141 -0
  283. package/node_modules/uuid/dist/esm/test/v4.test.d.ts +1 -0
  284. package/node_modules/uuid/dist/esm/test/v4.test.js +58 -0
  285. package/node_modules/uuid/dist/esm/test/v6.test.d.ts +1 -0
  286. package/node_modules/uuid/dist/esm/test/v6.test.js +54 -0
  287. package/node_modules/uuid/dist/esm/test/v7.test.d.ts +1 -0
  288. package/node_modules/uuid/dist/esm/test/v7.test.js +192 -0
  289. package/node_modules/uuid/dist/esm/test/validate.test.d.ts +1 -0
  290. package/node_modules/uuid/dist/esm/test/validate.test.js +11 -0
  291. package/node_modules/uuid/dist/esm/test/version.test.d.ts +1 -0
  292. package/node_modules/uuid/dist/esm/test/version.test.js +18 -0
  293. package/node_modules/uuid/dist/esm/types.d.ts +21 -0
  294. package/node_modules/uuid/dist/esm/types.js +1 -0
  295. package/node_modules/uuid/dist/esm/uuid-bin.d.ts +1 -0
  296. package/node_modules/uuid/dist/esm/uuid-bin.js +70 -0
  297. package/node_modules/uuid/dist/esm/v1.d.ts +11 -0
  298. package/node_modules/uuid/dist/esm/v1.js +75 -0
  299. package/node_modules/uuid/dist/esm/v1ToV6.d.ts +2 -0
  300. package/node_modules/uuid/dist/esm/v1ToV6.js +10 -0
  301. package/node_modules/uuid/dist/esm/v3.d.ts +9 -0
  302. package/node_modules/uuid/dist/esm/v3.js +9 -0
  303. package/node_modules/uuid/dist/esm/v35.d.ts +7 -0
  304. package/node_modules/uuid/dist/esm/v35.js +36 -0
  305. package/node_modules/uuid/dist/esm/v4.d.ts +4 -0
  306. package/node_modules/uuid/dist/esm/v4.js +21 -0
  307. package/node_modules/uuid/dist/esm/v5.d.ts +9 -0
  308. package/node_modules/uuid/dist/esm/v5.js +9 -0
  309. package/node_modules/uuid/dist/esm/v6.d.ts +4 -0
  310. package/node_modules/uuid/dist/esm/v6.js +17 -0
  311. package/node_modules/uuid/dist/esm/v6ToV1.d.ts +2 -0
  312. package/node_modules/uuid/dist/esm/v6ToV1.js +10 -0
  313. package/node_modules/uuid/dist/esm/v7.d.ts +9 -0
  314. package/node_modules/uuid/dist/esm/v7.js +57 -0
  315. package/node_modules/uuid/dist/esm/validate.d.ts +2 -0
  316. package/node_modules/uuid/dist/esm/validate.js +5 -0
  317. package/node_modules/uuid/dist/esm/version.d.ts +2 -0
  318. package/node_modules/uuid/dist/esm/version.js +8 -0
  319. package/node_modules/uuid/dist/esm-browser/index.d.ts +15 -0
  320. package/node_modules/uuid/dist/esm-browser/index.js +1 -1
  321. package/node_modules/uuid/dist/esm-browser/max.d.ts +2 -0
  322. package/node_modules/uuid/dist/esm-browser/max.js +1 -1
  323. package/node_modules/uuid/dist/esm-browser/md5.d.ts +2 -0
  324. package/node_modules/uuid/dist/esm-browser/md5.js +113 -172
  325. package/node_modules/uuid/dist/esm-browser/native.d.ts +4 -0
  326. package/node_modules/uuid/dist/esm-browser/native.js +2 -4
  327. package/node_modules/uuid/dist/esm-browser/nil.d.ts +2 -0
  328. package/node_modules/uuid/dist/esm-browser/nil.js +1 -1
  329. package/node_modules/uuid/dist/esm-browser/parse.d.ts +2 -0
  330. package/node_modules/uuid/dist/esm-browser/parse.js +6 -34
  331. package/node_modules/uuid/dist/esm-browser/regex.d.ts +2 -0
  332. package/node_modules/uuid/dist/esm-browser/regex.js +1 -1
  333. package/node_modules/uuid/dist/esm-browser/rng.d.ts +1 -0
  334. package/node_modules/uuid/dist/esm-browser/rng.js +8 -14
  335. package/node_modules/uuid/dist/esm-browser/sha1.d.ts +2 -0
  336. package/node_modules/uuid/dist/esm-browser/sha1.js +62 -68
  337. package/node_modules/uuid/dist/esm-browser/stringify.d.ts +3 -0
  338. package/node_modules/uuid/dist/esm-browser/stringify.js +29 -25
  339. package/node_modules/uuid/dist/esm-browser/test/parse.test.d.ts +1 -0
  340. package/node_modules/uuid/dist/esm-browser/test/parse.test.js +48 -0
  341. package/node_modules/uuid/dist/esm-browser/test/rng.test.d.ts +1 -0
  342. package/node_modules/uuid/dist/esm-browser/test/rng.test.js +12 -0
  343. package/node_modules/uuid/dist/esm-browser/test/stringify.test.d.ts +1 -0
  344. package/node_modules/uuid/dist/esm-browser/test/stringify.test.js +21 -0
  345. package/node_modules/uuid/dist/esm-browser/test/test_constants.d.ts +33 -0
  346. package/node_modules/uuid/dist/esm-browser/test/test_constants.js +88 -0
  347. package/node_modules/uuid/dist/esm-browser/test/v1.test.d.ts +1 -0
  348. package/node_modules/uuid/dist/esm-browser/test/v1.test.js +125 -0
  349. package/node_modules/uuid/dist/esm-browser/test/v35.test.d.ts +1 -0
  350. package/node_modules/uuid/dist/esm-browser/test/v35.test.js +141 -0
  351. package/node_modules/uuid/dist/esm-browser/test/v4.test.d.ts +1 -0
  352. package/node_modules/uuid/dist/esm-browser/test/v4.test.js +58 -0
  353. package/node_modules/uuid/dist/esm-browser/test/v6.test.d.ts +1 -0
  354. package/node_modules/uuid/dist/esm-browser/test/v6.test.js +54 -0
  355. package/node_modules/uuid/dist/esm-browser/test/v7.test.d.ts +1 -0
  356. package/node_modules/uuid/dist/esm-browser/test/v7.test.js +192 -0
  357. package/node_modules/uuid/dist/esm-browser/test/validate.test.d.ts +1 -0
  358. package/node_modules/uuid/dist/esm-browser/test/validate.test.js +11 -0
  359. package/node_modules/uuid/dist/esm-browser/test/version.test.d.ts +1 -0
  360. package/node_modules/uuid/dist/esm-browser/test/version.test.js +18 -0
  361. package/node_modules/uuid/dist/esm-browser/types.d.ts +21 -0
  362. package/node_modules/uuid/dist/esm-browser/types.js +1 -0
  363. package/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +1 -0
  364. package/node_modules/uuid/dist/esm-browser/uuid-bin.js +70 -0
  365. package/node_modules/uuid/dist/esm-browser/v1.d.ts +11 -0
  366. package/node_modules/uuid/dist/esm-browser/v1.js +67 -117
  367. package/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +2 -0
  368. package/node_modules/uuid/dist/esm-browser/v1ToV6.js +6 -16
  369. package/node_modules/uuid/dist/esm-browser/v3.d.ts +9 -0
  370. package/node_modules/uuid/dist/esm-browser/v3.js +8 -3
  371. package/node_modules/uuid/dist/esm-browser/v35.d.ts +7 -0
  372. package/node_modules/uuid/dist/esm-browser/v35.js +28 -47
  373. package/node_modules/uuid/dist/esm-browser/v4.d.ts +4 -0
  374. package/node_modules/uuid/dist/esm-browser/v4.js +15 -19
  375. package/node_modules/uuid/dist/esm-browser/v5.d.ts +9 -0
  376. package/node_modules/uuid/dist/esm-browser/v5.js +8 -3
  377. package/node_modules/uuid/dist/esm-browser/v6.d.ts +4 -0
  378. package/node_modules/uuid/dist/esm-browser/v6.js +13 -32
  379. package/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +2 -0
  380. package/node_modules/uuid/dist/esm-browser/v6ToV1.js +5 -15
  381. package/node_modules/uuid/dist/esm-browser/v7.d.ts +9 -0
  382. package/node_modules/uuid/dist/esm-browser/v7.js +50 -139
  383. package/node_modules/uuid/dist/esm-browser/validate.d.ts +2 -0
  384. package/node_modules/uuid/dist/esm-browser/validate.js +2 -2
  385. package/node_modules/uuid/dist/esm-browser/version.d.ts +2 -0
  386. package/node_modules/uuid/dist/esm-browser/version.js +5 -5
  387. package/node_modules/uuid/package.json +58 -66
  388. package/package.json +4 -4
  389. package/tak-registration.js +1 -4
  390. package/node_modules/@types/node/globals.global.d.ts +0 -1
  391. package/node_modules/point-in-polygon-hao/.eslintrc +0 -10
  392. package/node_modules/point-in-polygon-hao/CHANGES.md +0 -8
  393. package/node_modules/point-in-polygon-hao/FUNDING.yml +0 -2
  394. package/node_modules/point-in-polygon-hao/dist/pointInPolygon.mjs +0 -76
  395. package/node_modules/point-in-polygon-hao/rollup.config.js +0 -19
  396. package/node_modules/point-in-polygon-hao/src/index.js +0 -74
  397. package/node_modules/uuid/dist/bin/uuid +0 -2
  398. package/node_modules/uuid/dist/commonjs-browser/index.js +0 -104
  399. package/node_modules/uuid/dist/commonjs-browser/max.js +0 -7
  400. package/node_modules/uuid/dist/commonjs-browser/md5.js +0 -200
  401. package/node_modules/uuid/dist/commonjs-browser/native.js +0 -10
  402. package/node_modules/uuid/dist/commonjs-browser/nil.js +0 -7
  403. package/node_modules/uuid/dist/commonjs-browser/parse.js +0 -44
  404. package/node_modules/uuid/dist/commonjs-browser/regex.js +0 -7
  405. package/node_modules/uuid/dist/commonjs-browser/rng.js +0 -23
  406. package/node_modules/uuid/dist/commonjs-browser/sha1.js +0 -82
  407. package/node_modules/uuid/dist/commonjs-browser/stringify.js +0 -38
  408. package/node_modules/uuid/dist/commonjs-browser/v1.js +0 -131
  409. package/node_modules/uuid/dist/commonjs-browser/v1ToV6.js +0 -26
  410. package/node_modules/uuid/dist/commonjs-browser/v3.js +0 -11
  411. package/node_modules/uuid/dist/commonjs-browser/v35.js +0 -63
  412. package/node_modules/uuid/dist/commonjs-browser/v4.js +0 -32
  413. package/node_modules/uuid/dist/commonjs-browser/v5.js +0 -11
  414. package/node_modules/uuid/dist/commonjs-browser/v6.js +0 -42
  415. package/node_modules/uuid/dist/commonjs-browser/v6ToV1.js +0 -26
  416. package/node_modules/uuid/dist/commonjs-browser/v7.js +0 -152
  417. package/node_modules/uuid/dist/commonjs-browser/validate.js +0 -12
  418. package/node_modules/uuid/dist/commonjs-browser/version.js +0 -15
  419. package/node_modules/uuid/dist/esm-node/max.js +0 -1
  420. package/node_modules/uuid/dist/esm-node/md5.js +0 -10
  421. package/node_modules/uuid/dist/esm-node/native.js +0 -4
  422. package/node_modules/uuid/dist/esm-node/nil.js +0 -1
  423. package/node_modules/uuid/dist/esm-node/parse.js +0 -37
  424. package/node_modules/uuid/dist/esm-node/rng.js +0 -10
  425. package/node_modules/uuid/dist/esm-node/sha1.js +0 -10
  426. package/node_modules/uuid/dist/esm-node/stringify.js +0 -31
  427. package/node_modules/uuid/dist/esm-node/v1.js +0 -125
  428. package/node_modules/uuid/dist/esm-node/v1ToV6.js +0 -20
  429. package/node_modules/uuid/dist/esm-node/v3.js +0 -4
  430. package/node_modules/uuid/dist/esm-node/v35.js +0 -55
  431. package/node_modules/uuid/dist/esm-node/v4.js +0 -25
  432. package/node_modules/uuid/dist/esm-node/v5.js +0 -4
  433. package/node_modules/uuid/dist/esm-node/v6.js +0 -32
  434. package/node_modules/uuid/dist/esm-node/v6ToV1.js +0 -20
  435. package/node_modules/uuid/dist/esm-node/v7.js +0 -146
  436. package/node_modules/uuid/dist/esm-node/validate.js +0 -5
  437. package/node_modules/uuid/dist/esm-node/version.js +0 -8
  438. package/node_modules/uuid/dist/index.js +0 -104
  439. package/node_modules/uuid/dist/max.js +0 -7
  440. package/node_modules/uuid/dist/md5-browser.js +0 -200
  441. package/node_modules/uuid/dist/md5.js +0 -17
  442. package/node_modules/uuid/dist/native-browser.js +0 -10
  443. package/node_modules/uuid/dist/native.js +0 -11
  444. package/node_modules/uuid/dist/nil.js +0 -7
  445. package/node_modules/uuid/dist/parse.js +0 -44
  446. package/node_modules/uuid/dist/regex.js +0 -7
  447. package/node_modules/uuid/dist/rng-browser.js +0 -23
  448. package/node_modules/uuid/dist/rng.js +0 -17
  449. package/node_modules/uuid/dist/sha1-browser.js +0 -82
  450. package/node_modules/uuid/dist/sha1.js +0 -17
  451. package/node_modules/uuid/dist/stringify.js +0 -38
  452. package/node_modules/uuid/dist/uuid-bin.js +0 -75
  453. package/node_modules/uuid/dist/v1.js +0 -131
  454. package/node_modules/uuid/dist/v1ToV6.js +0 -26
  455. package/node_modules/uuid/dist/v3.js +0 -11
  456. package/node_modules/uuid/dist/v35.js +0 -63
  457. package/node_modules/uuid/dist/v4.js +0 -32
  458. package/node_modules/uuid/dist/v5.js +0 -11
  459. package/node_modules/uuid/dist/v6.js +0 -38
  460. package/node_modules/uuid/dist/v6ToV1.js +0 -26
  461. package/node_modules/uuid/dist/v7.js +0 -152
  462. package/node_modules/uuid/dist/validate.js +0 -12
  463. package/node_modules/uuid/dist/version.js +0 -15
  464. package/node_modules/uuid/wrapper.mjs +0 -15
  465. /package/node_modules/point-in-polygon-hao/{index.d.ts → dist/cjs/index.d.cts} +0 -0
@@ -1,11 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _v = _interopRequireDefault(require("./v35.js"));
8
- var _md = _interopRequireDefault(require("./md5.js"));
9
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
- var v3 = (0, _v.default)('v3', 0x30, _md.default);
11
- var _default = exports.default = v3;
@@ -1,63 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.URL = exports.DNS = void 0;
7
- exports.default = v35;
8
- var _stringify = require("./stringify.js");
9
- var _parse = _interopRequireDefault(require("./parse.js"));
10
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
- function stringToBytes(str) {
12
- str = unescape(encodeURIComponent(str)); // UTF8 escape
13
-
14
- var bytes = [];
15
- for (var i = 0; i < str.length; ++i) {
16
- bytes.push(str.charCodeAt(i));
17
- }
18
- return bytes;
19
- }
20
- var DNS = exports.DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';
21
- var URL = exports.URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';
22
- function v35(name, version, hashfunc) {
23
- function generateUUID(value, namespace, buf, offset) {
24
- var _namespace;
25
- if (typeof value === 'string') {
26
- value = stringToBytes(value);
27
- }
28
- if (typeof namespace === 'string') {
29
- namespace = (0, _parse.default)(namespace);
30
- }
31
- if (((_namespace = namespace) === null || _namespace === void 0 ? void 0 : _namespace.length) !== 16) {
32
- throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');
33
- }
34
-
35
- // Compute hash of namespace and value, Per 4.3
36
- // Future: Use spread syntax when supported on all platforms, e.g. `bytes =
37
- // hashfunc([...namespace, ... value])`
38
- var bytes = new Uint8Array(16 + value.length);
39
- bytes.set(namespace);
40
- bytes.set(value, namespace.length);
41
- bytes = hashfunc(bytes);
42
- bytes[6] = bytes[6] & 0x0f | version;
43
- bytes[8] = bytes[8] & 0x3f | 0x80;
44
- if (buf) {
45
- offset = offset || 0;
46
- for (var i = 0; i < 16; ++i) {
47
- buf[offset + i] = bytes[i];
48
- }
49
- return buf;
50
- }
51
- return (0, _stringify.unsafeStringify)(bytes);
52
- }
53
-
54
- // Function#name is not settable on some platforms (#270)
55
- try {
56
- generateUUID.name = name;
57
- } catch (err) {}
58
-
59
- // For CommonJS default export support
60
- generateUUID.DNS = DNS;
61
- generateUUID.URL = URL;
62
- return generateUUID;
63
- }
@@ -1,32 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _native = _interopRequireDefault(require("./native.js"));
8
- var _rng = _interopRequireDefault(require("./rng.js"));
9
- var _stringify = require("./stringify.js");
10
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
- function v4(options, buf, offset) {
12
- if (_native.default.randomUUID && !buf && !options) {
13
- return _native.default.randomUUID();
14
- }
15
- options = options || {};
16
- var rnds = options.random || (options.rng || _rng.default)();
17
-
18
- // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
19
- rnds[6] = rnds[6] & 0x0f | 0x40;
20
- rnds[8] = rnds[8] & 0x3f | 0x80;
21
-
22
- // Copy bytes to buffer, if provided
23
- if (buf) {
24
- offset = offset || 0;
25
- for (var i = 0; i < 16; ++i) {
26
- buf[offset + i] = rnds[i];
27
- }
28
- return buf;
29
- }
30
- return (0, _stringify.unsafeStringify)(rnds);
31
- }
32
- var _default = exports.default = v4;
@@ -1,11 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _v = _interopRequireDefault(require("./v35.js"));
8
- var _sha = _interopRequireDefault(require("./sha1.js"));
9
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
- var v5 = (0, _v.default)('v5', 0x50, _sha.default);
11
- var _default = exports.default = v5;
@@ -1,42 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = v6;
7
- var _stringify = require("./stringify.js");
8
- var _v = _interopRequireDefault(require("./v1.js"));
9
- var _v1ToV = _interopRequireDefault(require("./v1ToV6.js"));
10
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
12
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
13
- function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
14
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
15
- function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
16
- /**
17
- *
18
- * @param {object} options
19
- * @param {Uint8Array=} buf
20
- * @param {number=} offset
21
- * @returns
22
- */
23
- function v6(options = {}, buf, offset = 0) {
24
- // v6 is v1 with different field layout, so we start with a v1 UUID, albeit
25
- // with slightly different behavior around how the clock_seq and node fields
26
- // are randomized, which is why we call v1 with _v6: true.
27
- var bytes = (0, _v.default)(_objectSpread(_objectSpread({}, options), {}, {
28
- _v6: true
29
- }), new Uint8Array(16));
30
-
31
- // Reorder the fields to v6 layout.
32
- bytes = (0, _v1ToV.default)(bytes);
33
-
34
- // Return as a byte array if requested
35
- if (buf) {
36
- for (var i = 0; i < 16; i++) {
37
- buf[offset + i] = bytes[i];
38
- }
39
- return buf;
40
- }
41
- return (0, _stringify.unsafeStringify)(bytes);
42
- }
@@ -1,26 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = v6ToV1;
7
- var _parse = _interopRequireDefault(require("./parse.js"));
8
- var _stringify = require("./stringify.js");
9
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
- /**
11
- * Convert a v6 UUID to a v1 UUID
12
- *
13
- * @param {string|Uint8Array} uuid - The v6 UUID to convert to v6
14
- * @returns {string|Uint8Array} The v1 UUID as the same type as the `uuid` arg
15
- * (string or Uint8Array)
16
- */
17
- function v6ToV1(uuid) {
18
- var v6Bytes = typeof uuid === 'string' ? (0, _parse.default)(uuid) : uuid;
19
- var v1Bytes = _v6ToV1(v6Bytes);
20
- return typeof uuid === 'string' ? (0, _stringify.unsafeStringify)(v1Bytes) : v1Bytes;
21
- }
22
-
23
- // Do the field transformation needed for v6 -> v1
24
- function _v6ToV1(v6Bytes) {
25
- return Uint8Array.of((v6Bytes[3] & 0x0f) << 4 | v6Bytes[4] >> 4 & 0x0f, (v6Bytes[4] & 0x0f) << 4 | (v6Bytes[5] & 0xf0) >> 4, (v6Bytes[5] & 0x0f) << 4 | v6Bytes[6] & 0x0f, v6Bytes[7], (v6Bytes[1] & 0x0f) << 4 | (v6Bytes[2] & 0xf0) >> 4, (v6Bytes[2] & 0x0f) << 4 | (v6Bytes[3] & 0xf0) >> 4, 0x10 | (v6Bytes[0] & 0xf0) >> 4, (v6Bytes[0] & 0x0f) << 4 | (v6Bytes[1] & 0xf0) >> 4, v6Bytes[8], v6Bytes[9], v6Bytes[10], v6Bytes[11], v6Bytes[12], v6Bytes[13], v6Bytes[14], v6Bytes[15]);
26
- }
@@ -1,152 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _rng = _interopRequireDefault(require("./rng.js"));
8
- var _stringify = require("./stringify.js");
9
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
- /**
11
- * UUID V7 - Unix Epoch time-based UUID
12
- *
13
- * The IETF has published RFC9562, introducing 3 new UUID versions (6,7,8). This
14
- * implementation of V7 is based on the accepted, though not yet approved,
15
- * revisions.
16
- *
17
- * RFC 9562:https://www.rfc-editor.org/rfc/rfc9562.html Universally Unique
18
- * IDentifiers (UUIDs)
19
-
20
- *
21
- * Sample V7 value:
22
- * https://www.rfc-editor.org/rfc/rfc9562.html#name-example-of-a-uuidv7-value
23
- *
24
- * Monotonic Bit Layout: RFC rfc9562.6.2 Method 1, Dedicated Counter Bits ref:
25
- * https://www.rfc-editor.org/rfc/rfc9562.html#section-6.2-5.1
26
- *
27
- * 0 1 2 3 0 1 2 3 4 5 6
28
- * 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
29
- * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
30
- * | unix_ts_ms |
31
- * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
32
- * | unix_ts_ms | ver | seq_hi |
33
- * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
34
- * |var| seq_low | rand |
35
- * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
36
- * | rand |
37
- * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
38
- *
39
- * seq is a 31 bit serialized counter; comprised of 12 bit seq_hi and 19 bit
40
- * seq_low, and randomly initialized upon timestamp change. 31 bit counter size
41
- * was selected as any bitwise operations in node are done as _signed_ 32 bit
42
- * ints. we exclude the sign bit.
43
- */
44
-
45
- var _seqLow = null;
46
- var _seqHigh = null;
47
- var _msecs = 0;
48
- function v7(options, buf, offset) {
49
- options = options || {};
50
-
51
- // initialize buffer and pointer
52
- var i = buf && offset || 0;
53
- var b = buf || new Uint8Array(16);
54
-
55
- // rnds is Uint8Array(16) filled with random bytes
56
- var rnds = options.random || (options.rng || _rng.default)();
57
-
58
- // milliseconds since unix epoch, 1970-01-01 00:00
59
- var msecs = options.msecs !== undefined ? options.msecs : Date.now();
60
-
61
- // seq is user provided 31 bit counter
62
- var seq = options.seq !== undefined ? options.seq : null;
63
-
64
- // initialize local seq high/low parts
65
- var seqHigh = _seqHigh;
66
- var seqLow = _seqLow;
67
-
68
- // check if clock has advanced and user has not provided msecs
69
- if (msecs > _msecs && options.msecs === undefined) {
70
- _msecs = msecs;
71
-
72
- // unless user provided seq, reset seq parts
73
- if (seq !== null) {
74
- seqHigh = null;
75
- seqLow = null;
76
- }
77
- }
78
-
79
- // if we have a user provided seq
80
- if (seq !== null) {
81
- // trim provided seq to 31 bits of value, avoiding overflow
82
- if (seq > 0x7fffffff) {
83
- seq = 0x7fffffff;
84
- }
85
-
86
- // split provided seq into high/low parts
87
- seqHigh = seq >>> 19 & 0xfff;
88
- seqLow = seq & 0x7ffff;
89
- }
90
-
91
- // randomly initialize seq
92
- if (seqHigh === null || seqLow === null) {
93
- seqHigh = rnds[6] & 0x7f;
94
- seqHigh = seqHigh << 8 | rnds[7];
95
- seqLow = rnds[8] & 0x3f; // pad for var
96
- seqLow = seqLow << 8 | rnds[9];
97
- seqLow = seqLow << 5 | rnds[10] >>> 3;
98
- }
99
-
100
- // increment seq if within msecs window
101
- if (msecs + 10000 > _msecs && seq === null) {
102
- if (++seqLow > 0x7ffff) {
103
- seqLow = 0;
104
- if (++seqHigh > 0xfff) {
105
- seqHigh = 0;
106
-
107
- // increment internal _msecs. this allows us to continue incrementing
108
- // while staying monotonic. Note, once we hit 10k milliseconds beyond system
109
- // clock, we will reset breaking monotonicity (after (2^31)*10000 generations)
110
- _msecs++;
111
- }
112
- }
113
- } else {
114
- // resetting; we have advanced more than
115
- // 10k milliseconds beyond system clock
116
- _msecs = msecs;
117
- }
118
- _seqHigh = seqHigh;
119
- _seqLow = seqLow;
120
-
121
- // [bytes 0-5] 48 bits of local timestamp
122
- b[i++] = _msecs / 0x10000000000 & 0xff;
123
- b[i++] = _msecs / 0x100000000 & 0xff;
124
- b[i++] = _msecs / 0x1000000 & 0xff;
125
- b[i++] = _msecs / 0x10000 & 0xff;
126
- b[i++] = _msecs / 0x100 & 0xff;
127
- b[i++] = _msecs & 0xff;
128
-
129
- // [byte 6] - set 4 bits of version (7) with first 4 bits seq_hi
130
- b[i++] = seqHigh >>> 4 & 0x0f | 0x70;
131
-
132
- // [byte 7] remaining 8 bits of seq_hi
133
- b[i++] = seqHigh & 0xff;
134
-
135
- // [byte 8] - variant (2 bits), first 6 bits seq_low
136
- b[i++] = seqLow >>> 13 & 0x3f | 0x80;
137
-
138
- // [byte 9] 8 bits seq_low
139
- b[i++] = seqLow >>> 5 & 0xff;
140
-
141
- // [byte 10] remaining 5 bits seq_low, 3 bits random
142
- b[i++] = seqLow << 3 & 0xff | rnds[10] & 0x07;
143
-
144
- // [bytes 11-15] always random
145
- b[i++] = rnds[11];
146
- b[i++] = rnds[12];
147
- b[i++] = rnds[13];
148
- b[i++] = rnds[14];
149
- b[i++] = rnds[15];
150
- return buf || (0, _stringify.unsafeStringify)(b);
151
- }
152
- var _default = exports.default = v7;
@@ -1,12 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _regex = _interopRequireDefault(require("./regex.js"));
8
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
- function validate(uuid) {
10
- return typeof uuid === 'string' && _regex.default.test(uuid);
11
- }
12
- var _default = exports.default = validate;
@@ -1,15 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _validate = _interopRequireDefault(require("./validate.js"));
8
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
- function version(uuid) {
10
- if (!(0, _validate.default)(uuid)) {
11
- throw TypeError('Invalid UUID');
12
- }
13
- return parseInt(uuid.slice(14, 15), 16);
14
- }
15
- var _default = exports.default = version;
@@ -1 +0,0 @@
1
- export default 'ffffffff-ffff-ffff-ffff-ffffffffffff';
@@ -1,10 +0,0 @@
1
- import crypto from 'node:crypto';
2
- function md5(bytes) {
3
- if (Array.isArray(bytes)) {
4
- bytes = Buffer.from(bytes);
5
- } else if (typeof bytes === 'string') {
6
- bytes = Buffer.from(bytes, 'utf8');
7
- }
8
- return crypto.createHash('md5').update(bytes).digest();
9
- }
10
- export default md5;
@@ -1,4 +0,0 @@
1
- import crypto from 'node:crypto';
2
- export default {
3
- randomUUID: crypto.randomUUID
4
- };
@@ -1 +0,0 @@
1
- export default '00000000-0000-0000-0000-000000000000';
@@ -1,37 +0,0 @@
1
- import validate from './validate.js';
2
- function parse(uuid) {
3
- if (!validate(uuid)) {
4
- throw TypeError('Invalid UUID');
5
- }
6
- let v;
7
- const arr = new Uint8Array(16);
8
-
9
- // Parse ########-....-....-....-............
10
- arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;
11
- arr[1] = v >>> 16 & 0xff;
12
- arr[2] = v >>> 8 & 0xff;
13
- arr[3] = v & 0xff;
14
-
15
- // Parse ........-####-....-....-............
16
- arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;
17
- arr[5] = v & 0xff;
18
-
19
- // Parse ........-....-####-....-............
20
- arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;
21
- arr[7] = v & 0xff;
22
-
23
- // Parse ........-....-....-####-............
24
- arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;
25
- arr[9] = v & 0xff;
26
-
27
- // Parse ........-....-....-....-############
28
- // (Use "/" to avoid 32-bit truncation when bit-shifting high-order bytes)
29
- arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;
30
- arr[11] = v / 0x100000000 & 0xff;
31
- arr[12] = v >>> 24 & 0xff;
32
- arr[13] = v >>> 16 & 0xff;
33
- arr[14] = v >>> 8 & 0xff;
34
- arr[15] = v & 0xff;
35
- return arr;
36
- }
37
- export default parse;
@@ -1,10 +0,0 @@
1
- import crypto from 'node:crypto';
2
- const rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate
3
- let poolPtr = rnds8Pool.length;
4
- export default function rng() {
5
- if (poolPtr > rnds8Pool.length - 16) {
6
- crypto.randomFillSync(rnds8Pool);
7
- poolPtr = 0;
8
- }
9
- return rnds8Pool.slice(poolPtr, poolPtr += 16);
10
- }
@@ -1,10 +0,0 @@
1
- import crypto from 'node:crypto';
2
- function sha1(bytes) {
3
- if (Array.isArray(bytes)) {
4
- bytes = Buffer.from(bytes);
5
- } else if (typeof bytes === 'string') {
6
- bytes = Buffer.from(bytes, 'utf8');
7
- }
8
- return crypto.createHash('sha1').update(bytes).digest();
9
- }
10
- export default sha1;
@@ -1,31 +0,0 @@
1
- import validate from './validate.js';
2
-
3
- /**
4
- * Convert array of 16 byte values to UUID string format of the form:
5
- * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
6
- */
7
- const byteToHex = [];
8
- for (let i = 0; i < 256; ++i) {
9
- byteToHex.push((i + 0x100).toString(16).slice(1));
10
- }
11
- export function unsafeStringify(arr, offset = 0) {
12
- // Note: Be careful editing this code! It's been tuned for performance
13
- // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
14
- //
15
- // Note to future-self: No, you can't remove the `toLowerCase()` call.
16
- // REF: https://github.com/uuidjs/uuid/pull/677#issuecomment-1757351351
17
- return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
18
- }
19
- function stringify(arr, offset = 0) {
20
- const uuid = unsafeStringify(arr, offset);
21
- // Consistency check for valid UUID. If this throws, it's likely due to one
22
- // of the following:
23
- // - One or more input array values don't map to a hex octet (leading to
24
- // "undefined" in the uuid)
25
- // - Invalid input values for the RFC `version` or `variant` fields
26
- if (!validate(uuid)) {
27
- throw TypeError('Stringified UUID is invalid');
28
- }
29
- return uuid;
30
- }
31
- export default stringify;
@@ -1,125 +0,0 @@
1
- import rng from './rng.js';
2
- import { unsafeStringify } from './stringify.js';
3
-
4
- // **`v1()` - Generate time-based UUID**
5
- //
6
- // Inspired by https://github.com/LiosK/UUID.js
7
- // and http://docs.python.org/library/uuid.html
8
-
9
- let _nodeId;
10
- let _clockseq;
11
-
12
- // Previous uuid creation time
13
- let _lastMSecs = 0;
14
- let _lastNSecs = 0;
15
-
16
- // See https://github.com/uuidjs/uuid for API details
17
- function v1(options, buf, offset) {
18
- let i = buf && offset || 0;
19
- const b = buf || new Array(16);
20
- options = options || {};
21
- let node = options.node;
22
- let clockseq = options.clockseq;
23
-
24
- // v1 only: Use cached `node` and `clockseq` values
25
- if (!options._v6) {
26
- if (!node) {
27
- node = _nodeId;
28
- }
29
- if (clockseq == null) {
30
- clockseq = _clockseq;
31
- }
32
- }
33
-
34
- // Handle cases where we need entropy. We do this lazily to minimize issues
35
- // related to insufficient system entropy. See #189
36
- if (node == null || clockseq == null) {
37
- const seedBytes = options.random || (options.rng || rng)();
38
-
39
- // Randomize node
40
- if (node == null) {
41
- node = [seedBytes[0], seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];
42
-
43
- // v1 only: cache node value for reuse
44
- if (!_nodeId && !options._v6) {
45
- // per RFC4122 4.5: Set MAC multicast bit (v1 only)
46
- node[0] |= 0x01; // Set multicast bit
47
-
48
- _nodeId = node;
49
- }
50
- }
51
-
52
- // Randomize clockseq
53
- if (clockseq == null) {
54
- // Per 4.2.2, randomize (14 bit) clockseq
55
- clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;
56
- if (_clockseq === undefined && !options._v6) {
57
- _clockseq = clockseq;
58
- }
59
- }
60
- }
61
-
62
- // v1 & v6 timestamps are 100 nano-second units since the Gregorian epoch,
63
- // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so time is
64
- // handled internally as 'msecs' (integer milliseconds) and 'nsecs'
65
- // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.
66
- let msecs = options.msecs !== undefined ? options.msecs : Date.now();
67
-
68
- // Per 4.2.1.2, use count of uuid's generated during the current clock
69
- // cycle to simulate higher resolution clock
70
- let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;
71
-
72
- // Time since last uuid creation (in msecs)
73
- const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000;
74
-
75
- // Per 4.2.1.2, Bump clockseq on clock regression
76
- if (dt < 0 && options.clockseq === undefined) {
77
- clockseq = clockseq + 1 & 0x3fff;
78
- }
79
-
80
- // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new
81
- // time interval
82
- if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {
83
- nsecs = 0;
84
- }
85
-
86
- // Per 4.2.1.2 Throw error if too many uuids are requested
87
- if (nsecs >= 10000) {
88
- throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
89
- }
90
- _lastMSecs = msecs;
91
- _lastNSecs = nsecs;
92
- _clockseq = clockseq;
93
-
94
- // Per 4.1.4 - Convert from unix epoch to Gregorian epoch
95
- msecs += 12219292800000;
96
-
97
- // `time_low`
98
- const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;
99
- b[i++] = tl >>> 24 & 0xff;
100
- b[i++] = tl >>> 16 & 0xff;
101
- b[i++] = tl >>> 8 & 0xff;
102
- b[i++] = tl & 0xff;
103
-
104
- // `time_mid`
105
- const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;
106
- b[i++] = tmh >>> 8 & 0xff;
107
- b[i++] = tmh & 0xff;
108
-
109
- // `time_high_and_version`
110
- b[i++] = tmh >>> 24 & 0xf | 0x10; // include version
111
- b[i++] = tmh >>> 16 & 0xff;
112
-
113
- // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)
114
- b[i++] = clockseq >>> 8 | 0x80;
115
-
116
- // `clock_seq_low`
117
- b[i++] = clockseq & 0xff;
118
-
119
- // `node`
120
- for (let n = 0; n < 6; ++n) {
121
- b[i + n] = node[n];
122
- }
123
- return buf || unsafeStringify(b);
124
- }
125
- export default v1;
@@ -1,20 +0,0 @@
1
- import parse from './parse.js';
2
- import { unsafeStringify } from './stringify.js';
3
-
4
- /**
5
- * Convert a v1 UUID to a v6 UUID
6
- *
7
- * @param {string|Uint8Array} uuid - The v1 UUID to convert to v6
8
- * @returns {string|Uint8Array} The v6 UUID as the same type as the `uuid` arg
9
- * (string or Uint8Array)
10
- */
11
- export default function v1ToV6(uuid) {
12
- const v1Bytes = typeof uuid === 'string' ? parse(uuid) : uuid;
13
- const v6Bytes = _v1ToV6(v1Bytes);
14
- return typeof uuid === 'string' ? unsafeStringify(v6Bytes) : v6Bytes;
15
- }
16
-
17
- // Do the field transformation needed for v1 -> v6
18
- function _v1ToV6(v1Bytes, randomize = false) {
19
- return Uint8Array.of((v1Bytes[6] & 0x0f) << 4 | v1Bytes[7] >> 4 & 0x0f, (v1Bytes[7] & 0x0f) << 4 | (v1Bytes[4] & 0xf0) >> 4, (v1Bytes[4] & 0x0f) << 4 | (v1Bytes[5] & 0xf0) >> 4, (v1Bytes[5] & 0x0f) << 4 | (v1Bytes[0] & 0xf0) >> 4, (v1Bytes[0] & 0x0f) << 4 | (v1Bytes[1] & 0xf0) >> 4, (v1Bytes[1] & 0x0f) << 4 | (v1Bytes[2] & 0xf0) >> 4, 0x60 | v1Bytes[2] & 0x0f, v1Bytes[3], v1Bytes[8], v1Bytes[9], v1Bytes[10], v1Bytes[11], v1Bytes[12], v1Bytes[13], v1Bytes[14], v1Bytes[15]);
20
- }
@@ -1,4 +0,0 @@
1
- import v35 from './v35.js';
2
- import md5 from './md5.js';
3
- const v3 = v35('v3', 0x30, md5);
4
- export default v3;