node-red-contrib-tak-registration 0.3.2 → 0.6.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 (411) hide show
  1. package/node_modules/@turf/along/package.json +41 -69
  2. package/node_modules/@turf/angle/package.json +44 -75
  3. package/node_modules/@turf/area/package.json +38 -68
  4. package/node_modules/@turf/bbox/package.json +37 -81
  5. package/node_modules/@turf/bbox-clip/package.json +44 -81
  6. package/node_modules/@turf/bbox-polygon/package.json +36 -66
  7. package/node_modules/@turf/bearing/package.json +36 -70
  8. package/node_modules/@turf/bezier-spline/package.json +39 -67
  9. package/node_modules/@turf/boolean-clockwise/package.json +42 -83
  10. package/node_modules/@turf/boolean-contains/package.json +46 -80
  11. package/node_modules/@turf/boolean-crosses/package.json +45 -79
  12. package/node_modules/@turf/boolean-disjoint/package.json +44 -79
  13. package/node_modules/@turf/boolean-equal/package.json +47 -84
  14. package/node_modules/@turf/boolean-intersects/package.json +42 -77
  15. package/node_modules/@turf/boolean-overlap/package.json +48 -82
  16. package/node_modules/@turf/boolean-parallel/package.json +42 -73
  17. package/node_modules/@turf/boolean-point-in-polygon/package.json +37 -77
  18. package/node_modules/@turf/boolean-point-on-line/package.json +39 -73
  19. package/node_modules/@turf/boolean-within/package.json +46 -79
  20. package/node_modules/@turf/buffer/package.json +47 -84
  21. package/node_modules/@turf/center/package.json +42 -73
  22. package/node_modules/@turf/center-mean/package.json +45 -78
  23. package/node_modules/@turf/center-median/package.json +45 -76
  24. package/node_modules/@turf/center-of-mass/package.json +40 -68
  25. package/node_modules/@turf/centroid/package.json +40 -74
  26. package/node_modules/@turf/circle/package.json +41 -71
  27. package/node_modules/@turf/clean-coords/package.json +40 -75
  28. package/node_modules/@turf/clone/package.json +36 -81
  29. package/node_modules/@turf/clusters/package.json +39 -70
  30. package/node_modules/@turf/clusters-dbscan/package.json +51 -88
  31. package/node_modules/@turf/clusters-kmeans/package.json +53 -90
  32. package/node_modules/@turf/collect/package.json +42 -73
  33. package/node_modules/@turf/combine/package.json +37 -65
  34. package/node_modules/@turf/concave/package.json +56 -111
  35. package/node_modules/@turf/convex/package.json +39 -68
  36. package/node_modules/@turf/destination/package.json +41 -75
  37. package/node_modules/@turf/difference/package.json +35 -63
  38. package/node_modules/@turf/dissolve/package.json +38 -66
  39. package/node_modules/@turf/distance/package.json +38 -83
  40. package/node_modules/@turf/distance-weight/package.json +40 -72
  41. package/node_modules/@turf/ellipse/package.json +43 -75
  42. package/node_modules/@turf/envelope/package.json +36 -65
  43. package/node_modules/@turf/explode/package.json +36 -67
  44. package/node_modules/@turf/flatten/package.json +39 -73
  45. package/node_modules/@turf/flip/package.json +36 -64
  46. package/node_modules/@turf/great-circle/package.json +41 -78
  47. package/node_modules/@turf/helpers/package.json +38 -184
  48. package/node_modules/@turf/hex-grid/package.json +50 -97
  49. package/node_modules/@turf/interpolate/package.json +47 -78
  50. package/node_modules/@turf/intersect/package.json +39 -69
  51. package/node_modules/@turf/invariant/package.json +36 -126
  52. package/node_modules/@turf/isobands/package.json +52 -83
  53. package/node_modules/@turf/isolines/package.json +48 -79
  54. package/node_modules/@turf/kinks/package.json +35 -63
  55. package/node_modules/@turf/length/package.json +43 -78
  56. package/node_modules/@turf/line-arc/package.json +36 -65
  57. package/node_modules/@turf/line-chunk/package.json +44 -84
  58. package/node_modules/@turf/line-intersect/package.json +46 -85
  59. package/node_modules/@turf/line-offset/package.json +41 -78
  60. package/node_modules/@turf/line-overlap/package.json +48 -80
  61. package/node_modules/@turf/line-segment/package.json +38 -70
  62. package/node_modules/@turf/line-slice/package.json +39 -67
  63. package/node_modules/@turf/line-slice-along/package.json +36 -65
  64. package/node_modules/@turf/line-split/package.json +46 -77
  65. package/node_modules/@turf/line-to-polygon/package.json +43 -74
  66. package/node_modules/@turf/mask/package.json +35 -63
  67. package/node_modules/@turf/meta/package.json +39 -128
  68. package/node_modules/@turf/midpoint/package.json +36 -64
  69. package/node_modules/@turf/moran-index/package.json +39 -70
  70. package/node_modules/@turf/nearest-point/package.json +39 -69
  71. package/node_modules/@turf/nearest-point-on-line/package.json +40 -71
  72. package/node_modules/@turf/nearest-point-to-line/package.json +47 -78
  73. package/node_modules/@turf/planepoint/package.json +34 -62
  74. package/node_modules/@turf/point-grid/package.json +45 -80
  75. package/node_modules/@turf/point-on-feature/package.json +40 -68
  76. package/node_modules/@turf/point-to-line-distance/package.json +46 -78
  77. package/node_modules/@turf/points-within-polygon/package.json +35 -64
  78. package/node_modules/@turf/polygon-smooth/package.json +37 -68
  79. package/node_modules/@turf/polygon-tangents/package.json +43 -77
  80. package/node_modules/@turf/polygon-to-line/package.json +39 -69
  81. package/node_modules/@turf/polygonize/package.json +43 -77
  82. package/node_modules/@turf/projection/package.json +44 -77
  83. package/node_modules/@turf/random/package.json +34 -62
  84. package/node_modules/@turf/rectangle-grid/package.json +43 -77
  85. package/node_modules/@turf/rewind/package.json +43 -83
  86. package/node_modules/@turf/rhumb-bearing/package.json +43 -85
  87. package/node_modules/@turf/rhumb-destination/package.json +44 -85
  88. package/node_modules/@turf/rhumb-distance/package.json +44 -84
  89. package/node_modules/@turf/sample/package.json +32 -60
  90. package/node_modules/@turf/sector/package.json +37 -65
  91. package/node_modules/@turf/shortest-path/package.json +45 -79
  92. package/node_modules/@turf/simplify/package.json +43 -77
  93. package/node_modules/@turf/square/package.json +33 -62
  94. package/node_modules/@turf/square-grid/package.json +40 -69
  95. package/node_modules/@turf/standard-deviational-ellipse/package.json +43 -74
  96. package/node_modules/@turf/tag/package.json +38 -66
  97. package/node_modules/@turf/tesselate/package.json +40 -80
  98. package/node_modules/@turf/tin/package.json +34 -63
  99. package/node_modules/@turf/transform-rotate/package.json +45 -80
  100. package/node_modules/@turf/transform-scale/package.json +51 -86
  101. package/node_modules/@turf/transform-translate/package.json +44 -78
  102. package/node_modules/@turf/triangle-grid/package.json +42 -71
  103. package/node_modules/@turf/truncate/package.json +40 -72
  104. package/node_modules/@turf/turf/package.json +74 -102
  105. package/node_modules/@turf/union/package.json +39 -67
  106. package/node_modules/@turf/unkink-polygon/package.json +40 -68
  107. package/node_modules/@turf/voronoi/package.json +43 -83
  108. package/node_modules/@types/geojson/package.json +42 -66
  109. package/node_modules/adm-zip/LICENSE +21 -21
  110. package/node_modules/adm-zip/adm-zip.js +25 -22
  111. package/node_modules/adm-zip/headers/mainHeader.js +2 -1
  112. package/node_modules/adm-zip/package.json +28 -57
  113. package/node_modules/adm-zip/util/utils.js +1 -0
  114. package/node_modules/asynckit/package.json +40 -68
  115. package/node_modules/axios/CHANGELOG.md +473 -837
  116. package/node_modules/axios/LICENSE +4 -16
  117. package/node_modules/axios/MIGRATION_GUIDE.md +3 -0
  118. package/node_modules/axios/README.md +518 -114
  119. package/node_modules/axios/SECURITY.md +4 -3
  120. package/node_modules/axios/dist/axios.js +2759 -2070
  121. package/node_modules/axios/dist/axios.js.map +1 -0
  122. package/node_modules/axios/dist/axios.min.js +2 -2
  123. package/node_modules/axios/dist/axios.min.js.map +1 -0
  124. package/node_modules/axios/dist/browser/axios.cjs +3210 -0
  125. package/node_modules/axios/dist/browser/axios.cjs.map +1 -0
  126. package/node_modules/axios/dist/esm/axios.js +3232 -0
  127. package/node_modules/axios/dist/esm/axios.js.map +1 -0
  128. package/node_modules/axios/dist/esm/axios.min.js +2 -0
  129. package/node_modules/axios/dist/esm/axios.min.js.map +1 -0
  130. package/node_modules/axios/dist/node/axios.cjs +4237 -0
  131. package/node_modules/axios/dist/node/axios.cjs.map +1 -0
  132. package/node_modules/axios/index.d.cts +532 -0
  133. package/node_modules/axios/index.d.ts +398 -72
  134. package/node_modules/axios/index.js +41 -1
  135. package/node_modules/axios/lib/adapters/adapters.js +59 -0
  136. package/node_modules/axios/lib/adapters/http.js +479 -217
  137. package/node_modules/axios/lib/adapters/xhr.js +95 -54
  138. package/node_modules/axios/lib/axios.js +49 -20
  139. package/node_modules/axios/lib/cancel/CancelToken.js +91 -89
  140. package/node_modules/axios/lib/cancel/CanceledError.js +25 -0
  141. package/node_modules/axios/lib/cancel/isCancel.js +2 -2
  142. package/node_modules/axios/lib/core/Axios.js +155 -100
  143. package/node_modules/axios/lib/core/AxiosError.js +100 -0
  144. package/node_modules/axios/lib/core/AxiosHeaders.js +288 -0
  145. package/node_modules/axios/lib/core/InterceptorManager.js +62 -45
  146. package/node_modules/axios/lib/core/buildFullPath.js +5 -4
  147. package/node_modules/axios/lib/core/dispatchRequest.js +27 -33
  148. package/node_modules/axios/lib/core/mergeConfig.js +58 -52
  149. package/node_modules/axios/lib/core/settle.js +8 -6
  150. package/node_modules/axios/lib/core/transformData.js +15 -9
  151. package/node_modules/axios/lib/defaults/index.js +76 -41
  152. package/node_modules/axios/lib/defaults/transitional.js +1 -1
  153. package/node_modules/axios/lib/env/classes/FormData.js +2 -0
  154. package/node_modules/axios/lib/env/data.js +1 -3
  155. package/node_modules/axios/lib/helpers/AxiosTransformStream.js +191 -0
  156. package/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +58 -0
  157. package/node_modules/axios/lib/helpers/HttpStatusCode.js +71 -0
  158. package/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +28 -0
  159. package/node_modules/axios/lib/helpers/bind.js +3 -7
  160. package/node_modules/axios/lib/helpers/buildURL.js +26 -33
  161. package/node_modules/axios/lib/helpers/callbackify.js +16 -0
  162. package/node_modules/axios/lib/helpers/combineURLs.js +3 -2
  163. package/node_modules/axios/lib/helpers/cookies.js +43 -44
  164. package/node_modules/axios/lib/helpers/deprecatedMethod.js +4 -2
  165. package/node_modules/axios/lib/helpers/formDataToJSON.js +92 -0
  166. package/node_modules/axios/lib/helpers/formDataToStream.js +111 -0
  167. package/node_modules/axios/lib/helpers/fromDataURI.js +53 -0
  168. package/node_modules/axios/lib/helpers/isAbsoluteURL.js +3 -2
  169. package/node_modules/axios/lib/helpers/isAxiosError.js +4 -3
  170. package/node_modules/axios/lib/helpers/isURLSameOrigin.js +44 -45
  171. package/node_modules/axios/lib/helpers/null.js +2 -0
  172. package/node_modules/axios/lib/helpers/parseHeaders.js +24 -22
  173. package/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
  174. package/node_modules/axios/lib/helpers/readBlob.js +15 -0
  175. package/node_modules/axios/lib/helpers/speedometer.js +55 -0
  176. package/node_modules/axios/lib/helpers/spread.js +3 -2
  177. package/node_modules/axios/lib/helpers/throttle.js +33 -0
  178. package/node_modules/axios/lib/helpers/toFormData.js +203 -39
  179. package/node_modules/axios/lib/helpers/toURLEncodedForm.js +18 -0
  180. package/node_modules/axios/lib/helpers/validator.js +27 -18
  181. package/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
  182. package/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
  183. package/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +4 -0
  184. package/node_modules/axios/lib/platform/browser/index.js +64 -0
  185. package/node_modules/axios/lib/platform/index.js +3 -0
  186. package/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
  187. package/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +4 -0
  188. package/node_modules/axios/lib/platform/node/index.js +12 -0
  189. package/node_modules/axios/lib/utils.js +517 -144
  190. package/node_modules/axios/package.json +194 -93
  191. package/node_modules/call-bind/package.json +78 -109
  192. package/node_modules/combined-stream/package.json +14 -46
  193. package/node_modules/commander/package.json +20 -53
  194. package/node_modules/concaveman/node_modules/quickselect/package.json +43 -0
  195. package/node_modules/{@turf/collect → concaveman}/node_modules/rbush/README.md +22 -95
  196. package/node_modules/{@turf/unkink-polygon → concaveman}/node_modules/rbush/index.js +131 -181
  197. package/node_modules/concaveman/node_modules/rbush/package.json +56 -0
  198. package/node_modules/concaveman/node_modules/rbush/rbush.js +574 -0
  199. package/node_modules/concaveman/node_modules/rbush/rbush.min.js +1 -0
  200. package/node_modules/concaveman/package.json +15 -46
  201. package/node_modules/d3-array/package.json +19 -47
  202. package/node_modules/d3-geo/package.json +24 -52
  203. package/node_modules/d3-voronoi/package.json +19 -47
  204. package/node_modules/deep-equal/package.json +34 -64
  205. package/node_modules/define-properties/.eslintrc +10 -3
  206. package/node_modules/define-properties/.github/FUNDING.yml +12 -0
  207. package/node_modules/define-properties/.nycrc +9 -0
  208. package/node_modules/define-properties/CHANGELOG.md +39 -0
  209. package/node_modules/define-properties/README.md +11 -13
  210. package/node_modules/define-properties/index.js +12 -17
  211. package/node_modules/define-properties/package.json +85 -95
  212. package/node_modules/delayed-stream/package.json +14 -49
  213. package/node_modules/density-clustering/package.json +46 -70
  214. package/node_modules/earcut/README.md +12 -3
  215. package/node_modules/earcut/dist/earcut.dev.js +47 -50
  216. package/node_modules/earcut/dist/earcut.min.js +1 -1
  217. package/node_modules/earcut/package.json +26 -60
  218. package/node_modules/earcut/src/earcut.js +46 -49
  219. package/node_modules/follow-redirects/README.md +8 -1
  220. package/node_modules/follow-redirects/index.js +83 -36
  221. package/node_modules/follow-redirects/package.json +38 -74
  222. package/node_modules/form-data/package.json +37 -70
  223. package/node_modules/function-bind/package.json +23 -56
  224. package/node_modules/functions-have-names/.editorconfig +20 -0
  225. package/node_modules/functions-have-names/.eslintrc +19 -0
  226. package/node_modules/functions-have-names/.github/FUNDING.yml +12 -0
  227. package/node_modules/functions-have-names/.nycrc +9 -0
  228. package/node_modules/functions-have-names/CHANGELOG.md +89 -0
  229. package/node_modules/functions-have-names/LICENSE +21 -0
  230. package/node_modules/functions-have-names/README.md +40 -0
  231. package/node_modules/functions-have-names/index.js +31 -0
  232. package/node_modules/functions-have-names/package.json +55 -0
  233. package/node_modules/functions-have-names/test/index.js +65 -0
  234. package/node_modules/geojson-equality/package.json +23 -55
  235. package/node_modules/geojson-rbush/node_modules/quickselect/package.json +43 -0
  236. package/node_modules/{@turf/unkink-polygon → geojson-rbush}/node_modules/rbush/README.md +22 -95
  237. package/node_modules/{@turf/collect → geojson-rbush}/node_modules/rbush/index.js +131 -181
  238. package/node_modules/geojson-rbush/node_modules/rbush/package.json +56 -0
  239. package/node_modules/geojson-rbush/node_modules/rbush/rbush.js +574 -0
  240. package/node_modules/geojson-rbush/node_modules/rbush/rbush.min.js +1 -0
  241. package/node_modules/geojson-rbush/package.json +32 -71
  242. package/node_modules/get-intrinsic/.eslintrc +3 -8
  243. package/node_modules/get-intrinsic/.nycrc +0 -4
  244. package/node_modules/get-intrinsic/CHANGELOG.md +53 -0
  245. package/node_modules/get-intrinsic/README.md +7 -1
  246. package/node_modules/get-intrinsic/index.js +29 -8
  247. package/node_modules/get-intrinsic/package.json +91 -104
  248. package/node_modules/get-intrinsic/test/GetIntrinsic.js +26 -12
  249. package/node_modules/has/package.json +21 -46
  250. package/node_modules/has-property-descriptors/.eslintrc +13 -0
  251. package/node_modules/has-property-descriptors/.github/FUNDING.yml +12 -0
  252. package/node_modules/has-property-descriptors/.nycrc +9 -0
  253. package/node_modules/has-property-descriptors/CHANGELOG.md +16 -0
  254. package/node_modules/has-property-descriptors/LICENSE +21 -0
  255. package/node_modules/has-property-descriptors/README.md +43 -0
  256. package/node_modules/has-property-descriptors/index.js +33 -0
  257. package/node_modules/has-property-descriptors/package.json +70 -0
  258. package/node_modules/has-property-descriptors/test/index.js +57 -0
  259. package/node_modules/has-proto/.eslintrc +5 -0
  260. package/node_modules/has-proto/.github/FUNDING.yml +12 -0
  261. package/node_modules/has-proto/CHANGELOG.md +23 -0
  262. package/node_modules/has-proto/LICENSE +21 -0
  263. package/node_modules/has-proto/README.md +38 -0
  264. package/node_modules/has-proto/index.js +11 -0
  265. package/node_modules/has-proto/package.json +74 -0
  266. package/node_modules/has-proto/test/index.js +19 -0
  267. package/node_modules/has-symbols/package.json +99 -125
  268. package/node_modules/has-tostringtag/package.json +82 -109
  269. package/node_modules/is-arguments/package.json +89 -114
  270. package/node_modules/is-date-object/package.json +77 -108
  271. package/node_modules/is-regex/package.json +84 -112
  272. package/node_modules/mime-db/HISTORY.md +8 -0
  273. package/node_modules/mime-db/LICENSE +19 -18
  274. package/node_modules/mime-db/README.md +1 -1
  275. package/node_modules/mime-db/db.json +54 -6
  276. package/node_modules/mime-db/index.js +1 -0
  277. package/node_modules/mime-db/package.json +24 -66
  278. package/node_modules/mime-types/HISTORY.md +9 -0
  279. package/node_modules/mime-types/README.md +1 -1
  280. package/node_modules/mime-types/package.json +19 -62
  281. package/node_modules/object-assign/package.json +15 -49
  282. package/node_modules/object-is/package.json +85 -112
  283. package/node_modules/object-keys/package.json +86 -116
  284. package/node_modules/point-in-polygon/package.json +19 -48
  285. package/node_modules/polygon-clipping/package.json +41 -80
  286. package/node_modules/proxy-from-env/.eslintrc +29 -0
  287. package/node_modules/proxy-from-env/.travis.yml +10 -0
  288. package/node_modules/proxy-from-env/LICENSE +20 -0
  289. package/node_modules/proxy-from-env/README.md +131 -0
  290. package/node_modules/proxy-from-env/index.js +108 -0
  291. package/node_modules/proxy-from-env/package.json +34 -0
  292. package/node_modules/proxy-from-env/test.js +483 -0
  293. package/node_modules/quickselect/package.json +13 -41
  294. package/node_modules/rbush/README.md +95 -22
  295. package/node_modules/rbush/index.js +181 -131
  296. package/node_modules/rbush/package.json +39 -71
  297. package/node_modules/rbush/rbush.js +412 -360
  298. package/node_modules/rbush/rbush.min.js +1 -1
  299. package/node_modules/regexp.prototype.flags/.eslintrc +1 -0
  300. package/node_modules/regexp.prototype.flags/CHANGELOG.md +19 -0
  301. package/node_modules/regexp.prototype.flags/implementation.js +9 -0
  302. package/node_modules/regexp.prototype.flags/package.json +98 -122
  303. package/node_modules/regexp.prototype.flags/test/shimmed.js +2 -1
  304. package/node_modules/regexp.prototype.flags/test/tests.js +7 -5
  305. package/node_modules/robust-predicates/package.json +25 -52
  306. package/node_modules/skmeans/package.json +18 -53
  307. package/node_modules/splaytree/Readme.md +58 -57
  308. package/node_modules/splaytree/dist/splay.esm.js +21 -8
  309. package/node_modules/splaytree/dist/splay.esm.js.map +1 -1
  310. package/node_modules/splaytree/dist/splay.js +21 -8
  311. package/node_modules/splaytree/dist/splay.js.map +1 -1
  312. package/node_modules/splaytree/package.json +36 -68
  313. package/node_modules/splaytree/src/index.ts +16 -4
  314. package/node_modules/tinyqueue/package.json +34 -59
  315. package/node_modules/topojson-client/package.json +28 -56
  316. package/node_modules/topojson-server/package.json +27 -55
  317. package/node_modules/turf-jsts/package.json +33 -68
  318. package/node_modules/uuid/CHANGELOG.md +39 -0
  319. package/node_modules/uuid/README.md +30 -73
  320. package/node_modules/uuid/dist/commonjs-browser/index.js +79 -0
  321. package/node_modules/uuid/dist/commonjs-browser/md5.js +223 -0
  322. package/node_modules/uuid/dist/commonjs-browser/native.js +11 -0
  323. package/node_modules/uuid/dist/commonjs-browser/nil.js +8 -0
  324. package/node_modules/uuid/dist/commonjs-browser/parse.js +45 -0
  325. package/node_modules/uuid/dist/commonjs-browser/regex.js +8 -0
  326. package/node_modules/uuid/dist/commonjs-browser/rng.js +25 -0
  327. package/node_modules/uuid/dist/commonjs-browser/sha1.js +104 -0
  328. package/node_modules/uuid/dist/commonjs-browser/stringify.js +44 -0
  329. package/node_modules/uuid/dist/commonjs-browser/v1.js +107 -0
  330. package/node_modules/uuid/dist/commonjs-browser/v3.js +16 -0
  331. package/node_modules/uuid/dist/commonjs-browser/v35.js +80 -0
  332. package/node_modules/uuid/dist/commonjs-browser/v4.js +43 -0
  333. package/node_modules/uuid/dist/commonjs-browser/v5.js +16 -0
  334. package/node_modules/uuid/dist/commonjs-browser/validate.js +17 -0
  335. package/node_modules/uuid/dist/commonjs-browser/version.js +21 -0
  336. package/node_modules/uuid/dist/esm-browser/md5.js +23 -23
  337. package/node_modules/uuid/dist/esm-browser/native.js +4 -0
  338. package/node_modules/uuid/dist/esm-browser/parse.js +2 -2
  339. package/node_modules/uuid/dist/esm-browser/rng.js +4 -5
  340. package/node_modules/uuid/dist/esm-browser/sha1.js +26 -26
  341. package/node_modules/uuid/dist/esm-browser/stringify.js +9 -6
  342. package/node_modules/uuid/dist/esm-browser/v1.js +17 -17
  343. package/node_modules/uuid/dist/esm-browser/v3.js +1 -1
  344. package/node_modules/uuid/dist/esm-browser/v35.js +12 -10
  345. package/node_modules/uuid/dist/esm-browser/v4.js +9 -4
  346. package/node_modules/uuid/dist/esm-browser/v5.js +1 -1
  347. package/node_modules/uuid/dist/esm-browser/version.js +1 -1
  348. package/node_modules/uuid/dist/esm-node/native.js +4 -0
  349. package/node_modules/uuid/dist/esm-node/stringify.js +7 -3
  350. package/node_modules/uuid/dist/esm-node/v1.js +2 -2
  351. package/node_modules/uuid/dist/esm-node/v35.js +6 -4
  352. package/node_modules/uuid/dist/esm-node/v4.js +7 -2
  353. package/node_modules/uuid/dist/esm-node/version.js +1 -1
  354. package/node_modules/uuid/dist/index.js +18 -18
  355. package/node_modules/uuid/dist/native-browser.js +11 -0
  356. package/node_modules/uuid/dist/native.js +15 -0
  357. package/node_modules/uuid/dist/rng-browser.js +2 -3
  358. package/node_modules/uuid/dist/stringify.js +8 -3
  359. package/node_modules/uuid/dist/v1.js +2 -2
  360. package/node_modules/uuid/dist/v35.js +7 -5
  361. package/node_modules/uuid/dist/v4.js +8 -2
  362. package/node_modules/uuid/dist/version.js +1 -1
  363. package/node_modules/uuid/package.json +87 -120
  364. package/package.json +12 -8
  365. package/tak-ingest.html +40 -0
  366. package/tak-ingest.js +48 -0
  367. package/tak-registration.html +10 -0
  368. package/tak-registration.js +55 -7
  369. package/node_modules/@turf/collect/node_modules/quickselect/package.json +0 -69
  370. package/node_modules/@turf/collect/node_modules/rbush/package.json +0 -85
  371. package/node_modules/@turf/collect/node_modules/rbush/rbush.js +0 -626
  372. package/node_modules/@turf/collect/node_modules/rbush/rbush.min.js +0 -1
  373. package/node_modules/@turf/unkink-polygon/node_modules/quickselect/package.json +0 -69
  374. package/node_modules/@turf/unkink-polygon/node_modules/rbush/package.json +0 -85
  375. package/node_modules/@turf/unkink-polygon/node_modules/rbush/rbush.js +0 -626
  376. package/node_modules/@turf/unkink-polygon/node_modules/rbush/rbush.min.js +0 -1
  377. package/node_modules/axios/UPGRADE_GUIDE.md +0 -168
  378. package/node_modules/axios/dist/axios.map +0 -1
  379. package/node_modules/axios/dist/axios.min.map +0 -1
  380. package/node_modules/axios/lib/cancel/Cancel.js +0 -19
  381. package/node_modules/axios/lib/core/createError.js +0 -18
  382. package/node_modules/axios/lib/core/enhanceError.js +0 -43
  383. package/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
  384. package/node_modules/axios/tsconfig.json +0 -14
  385. package/node_modules/axios/tslint.json +0 -6
  386. package/node_modules/combined-stream/yarn.lock +0 -17
  387. package/node_modules/d3-array/yarn.lock +0 -939
  388. package/node_modules/define-properties/.jscs.json +0 -175
  389. package/node_modules/define-properties/.travis.yml +0 -233
  390. package/node_modules/define-properties/test/index.js +0 -125
  391. package/node_modules/get-intrinsic/.eslintignore +0 -1
  392. package/node_modules/uuid/dist/umd/uuid.min.js +0 -1
  393. package/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
  394. package/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
  395. package/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
  396. package/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
  397. package/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
  398. package/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
  399. package/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
  400. package/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
  401. package/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
  402. /package/node_modules/{@turf/collect → concaveman}/node_modules/quickselect/LICENSE +0 -0
  403. /package/node_modules/{@turf/collect → concaveman}/node_modules/quickselect/README.md +0 -0
  404. /package/node_modules/{@turf/collect → concaveman}/node_modules/quickselect/index.js +0 -0
  405. /package/node_modules/{@turf/collect → concaveman}/node_modules/quickselect/quickselect.js +0 -0
  406. /package/node_modules/{@turf/collect → concaveman}/node_modules/rbush/LICENSE +0 -0
  407. /package/node_modules/{@turf/unkink-polygon → geojson-rbush}/node_modules/quickselect/LICENSE +0 -0
  408. /package/node_modules/{@turf/unkink-polygon → geojson-rbush}/node_modules/quickselect/README.md +0 -0
  409. /package/node_modules/{@turf/unkink-polygon → geojson-rbush}/node_modules/quickselect/index.js +0 -0
  410. /package/node_modules/{@turf/unkink-polygon → geojson-rbush}/node_modules/quickselect/quickselect.js +0 -0
  411. /package/node_modules/{@turf/unkink-polygon → geojson-rbush}/node_modules/rbush/LICENSE +0 -0
@@ -8,26 +8,22 @@
8
8
  "es2017": true,
9
9
  "es2020": true,
10
10
  "es2021": true,
11
- },
12
-
13
- "globals": {
14
- "AggregateError": false,
11
+ "es2022": true,
15
12
  },
16
13
 
17
14
  "rules": {
18
15
  "array-bracket-newline": 0,
19
- "array-element-newline": 0,
20
16
  "complexity": 0,
21
17
  "eqeqeq": [2, "allow-null"],
22
18
  "func-name-matching": 0,
23
19
  "id-length": 0,
24
- "max-lines-per-function": [2, 80],
20
+ "max-lines": 0,
21
+ "max-lines-per-function": [2, 90],
25
22
  "max-params": [2, 4],
26
23
  "max-statements": 0,
27
24
  "max-statements-per-line": [2, { "max": 2 }],
28
25
  "multiline-comment-style": 0,
29
26
  "no-magic-numbers": 0,
30
- "operator-linebreak": [2, "before"],
31
27
  "sort-keys": 0,
32
28
  },
33
29
 
@@ -35,7 +31,6 @@
35
31
  {
36
32
  "files": "test/**",
37
33
  "rules": {
38
- "max-lines-per-function": 0,
39
34
  "new-cap": 0,
40
35
  },
41
36
  },
@@ -2,10 +2,6 @@
2
2
  "all": true,
3
3
  "check-coverage": false,
4
4
  "reporter": ["text-summary", "text", "html", "json"],
5
- "lines": 86,
6
- "statements": 85.93,
7
- "functions": 82.43,
8
- "branches": 76.06,
9
5
  "exclude": [
10
6
  "coverage",
11
7
  "test"
@@ -5,6 +5,59 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [v1.2.1](https://github.com/ljharb/get-intrinsic/compare/v1.2.0...v1.2.1) - 2023-05-13
9
+
10
+ ### Commits
11
+
12
+ - [Fix] avoid a crash in envs without `__proto__` [`7bad8d0`](https://github.com/ljharb/get-intrinsic/commit/7bad8d061bf8721733b58b73a2565af2b6756b64)
13
+ - [Dev Deps] update `es-abstract` [`c60e6b7`](https://github.com/ljharb/get-intrinsic/commit/c60e6b7b4cf9660c7f27ed970970fd55fac48dc5)
14
+
15
+ ## [v1.2.0](https://github.com/ljharb/get-intrinsic/compare/v1.1.3...v1.2.0) - 2023-01-19
16
+
17
+ ### Commits
18
+
19
+ - [actions] update checkout action [`ca6b12f`](https://github.com/ljharb/get-intrinsic/commit/ca6b12f31eaacea4ea3b055e744cd61623385ffb)
20
+ - [Dev Deps] update `@ljharb/eslint-config`, `es-abstract`, `object-inspect`, `tape` [`41a3727`](https://github.com/ljharb/get-intrinsic/commit/41a3727d0026fa04273ae216a5f8e12eefd72da8)
21
+ - [Fix] ensure `Error.prototype` is undeniable [`c511e97`](https://github.com/ljharb/get-intrinsic/commit/c511e97ae99c764c4524b540dee7a70757af8da3)
22
+ - [Dev Deps] update `aud`, `es-abstract`, `tape` [`1bef8a8`](https://github.com/ljharb/get-intrinsic/commit/1bef8a8fd439ebb80863199b6189199e0851ac67)
23
+ - [Dev Deps] update `aud`, `es-abstract` [`0d41f16`](https://github.com/ljharb/get-intrinsic/commit/0d41f16bcd500bc28b7bfc98043ebf61ea081c26)
24
+ - [New] add `BigInt64Array` and `BigUint64Array` [`a6cca25`](https://github.com/ljharb/get-intrinsic/commit/a6cca25f29635889b7e9bd669baf9e04be90e48c)
25
+ - [Tests] use `gopd` [`ecf7722`](https://github.com/ljharb/get-intrinsic/commit/ecf7722240d15cfd16edda06acf63359c10fb9bd)
26
+
27
+ ## [v1.1.3](https://github.com/ljharb/get-intrinsic/compare/v1.1.2...v1.1.3) - 2022-09-12
28
+
29
+ ### Commits
30
+
31
+ - [Dev Deps] update `es-abstract`, `es-value-fixtures`, `tape` [`07ff291`](https://github.com/ljharb/get-intrinsic/commit/07ff291816406ebe5a12d7f16965bde0942dd688)
32
+ - [Fix] properly check for % signs [`50ac176`](https://github.com/ljharb/get-intrinsic/commit/50ac1760fe99c227e64eabde76e9c0e44cd881b5)
33
+
34
+ ## [v1.1.2](https://github.com/ljharb/get-intrinsic/compare/v1.1.1...v1.1.2) - 2022-06-08
35
+
36
+ ### Fixed
37
+
38
+ - [Fix] properly validate against extra % signs [`#16`](https://github.com/ljharb/get-intrinsic/issues/16)
39
+
40
+ ### Commits
41
+
42
+ - [actions] reuse common workflows [`0972547`](https://github.com/ljharb/get-intrinsic/commit/0972547efd0abc863fe4c445a6ca7eb4f8c6901d)
43
+ - [meta] use `npmignore` to autogenerate an npmignore file [`5ba0b51`](https://github.com/ljharb/get-intrinsic/commit/5ba0b51d8d8d4f1c31d426d74abc0770fd106bad)
44
+ - [actions] use `node/install` instead of `node/run`; use `codecov` action [`c364492`](https://github.com/ljharb/get-intrinsic/commit/c364492af4af51333e6f81c0bf21fd3d602c3661)
45
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `es-abstract`, `object-inspect`, `tape` [`dc04dad`](https://github.com/ljharb/get-intrinsic/commit/dc04dad86f6e5608775a2640cb0db5927ae29ed9)
46
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `es-abstract`, `object-inspect`, `safe-publish-latest`, `tape` [`1c14059`](https://github.com/ljharb/get-intrinsic/commit/1c1405984e86dd2dc9366c15d8a0294a96a146a5)
47
+ - [Tests] use `mock-property` [`b396ef0`](https://github.com/ljharb/get-intrinsic/commit/b396ef05bb73b1d699811abd64b0d9b97997fdda)
48
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `object-inspect`, `tape` [`c2c758d`](https://github.com/ljharb/get-intrinsic/commit/c2c758d3b90af4fef0a76910d8d3c292ec8d1d3e)
49
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `es-abstract`, `es-value-fixtures`, `object-inspect`, `tape` [`29e3c09`](https://github.com/ljharb/get-intrinsic/commit/29e3c091c2bf3e17099969847e8729d0e46896de)
50
+ - [actions] update codecov uploader [`8cbc141`](https://github.com/ljharb/get-intrinsic/commit/8cbc1418940d7a8941f3a7985cbc4ac095c5e13d)
51
+ - [Dev Deps] update `@ljharb/eslint-config`, `es-abstract`, `es-value-fixtures`, `object-inspect`, `tape` [`10b6f5c`](https://github.com/ljharb/get-intrinsic/commit/10b6f5c02593fb3680c581d696ac124e30652932)
52
+ - [readme] add github actions/codecov badges [`4e25400`](https://github.com/ljharb/get-intrinsic/commit/4e25400d9f51ae9eb059cbe22d9144e70ea214e8)
53
+ - [Tests] use `for-each` instead of `foreach` [`c05b957`](https://github.com/ljharb/get-intrinsic/commit/c05b957ad9a7bc7721af7cc9e9be1edbfe057496)
54
+ - [Dev Deps] update `es-abstract` [`29b05ae`](https://github.com/ljharb/get-intrinsic/commit/29b05aec3e7330e9ad0b8e0f685a9112c20cdd97)
55
+ - [meta] use `prepublishOnly` script for npm 7+ [`95c285d`](https://github.com/ljharb/get-intrinsic/commit/95c285da810516057d3bbfa871176031af38f05d)
56
+ - [Deps] update `has-symbols` [`593cb4f`](https://github.com/ljharb/get-intrinsic/commit/593cb4fb38e7922e40e42c183f45274b636424cd)
57
+ - [readme] fix repo URLs [`1c8305b`](https://github.com/ljharb/get-intrinsic/commit/1c8305b5365827c9b6fc785434aac0e1328ff2f5)
58
+ - [Deps] update `has-symbols` [`c7138b6`](https://github.com/ljharb/get-intrinsic/commit/c7138b6c6d73132d859471fb8c13304e1e7c8b20)
59
+ - [Dev Deps] remove unused `has-bigints` [`bd63aff`](https://github.com/ljharb/get-intrinsic/commit/bd63aff6ad8f3a986c557fcda2914187bdaab359)
60
+
8
61
  ## [v1.1.1](https://github.com/ljharb/get-intrinsic/compare/v1.1.0...v1.1.1) - 2021-02-03
9
62
 
10
63
  ### Fixed
@@ -1,5 +1,7 @@
1
1
  # get-intrinsic <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
2
2
 
3
+ [![github actions][actions-image]][actions-url]
4
+ [![coverage][codecov-image]][codecov-url]
3
5
  [![dependency status][deps-svg]][deps-url]
4
6
  [![dev dependency status][dev-deps-svg]][dev-deps-url]
5
7
  [![License][license-image]][license-url]
@@ -53,7 +55,7 @@ Simply clone the repo, `npm install`, and run `npm test`
53
55
  Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report.
54
56
 
55
57
  [package-url]: https://npmjs.org/package/get-intrinsic
56
- [npm-version-svg]: http://versionbadg.es/ljharb/get-intrinsic.svg
58
+ [npm-version-svg]: https://versionbadg.es/ljharb/get-intrinsic.svg
57
59
  [deps-svg]: https://david-dm.org/ljharb/get-intrinsic.svg
58
60
  [deps-url]: https://david-dm.org/ljharb/get-intrinsic
59
61
  [dev-deps-svg]: https://david-dm.org/ljharb/get-intrinsic/dev-status.svg
@@ -63,3 +65,7 @@ Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/se
63
65
  [license-url]: LICENSE
64
66
  [downloads-image]: https://img.shields.io/npm/dm/get-intrinsic.svg
65
67
  [downloads-url]: https://npm-stat.com/charts.html?package=get-intrinsic
68
+ [codecov-image]: https://codecov.io/gh/ljharb/get-intrinsic/branch/main/graphs/badge.svg
69
+ [codecov-url]: https://app.codecov.io/gh/ljharb/get-intrinsic/
70
+ [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/get-intrinsic
71
+ [actions-url]: https://github.com/ljharb/get-intrinsic/actions
@@ -43,18 +43,23 @@ var ThrowTypeError = $gOPD
43
43
  : throwTypeError;
44
44
 
45
45
  var hasSymbols = require('has-symbols')();
46
+ var hasProto = require('has-proto')();
46
47
 
47
- var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
48
+ var getProto = Object.getPrototypeOf || (
49
+ hasProto
50
+ ? function (x) { return x.__proto__; } // eslint-disable-line no-proto
51
+ : null
52
+ );
48
53
 
49
54
  var needsEval = {};
50
55
 
51
- var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
56
+ var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
52
57
 
53
58
  var INTRINSICS = {
54
59
  '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
55
60
  '%Array%': Array,
56
61
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
57
- '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
62
+ '%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,
58
63
  '%AsyncFromSyncIteratorPrototype%': undefined,
59
64
  '%AsyncFunction%': needsEval,
60
65
  '%AsyncGenerator%': needsEval,
@@ -62,6 +67,8 @@ var INTRINSICS = {
62
67
  '%AsyncIteratorPrototype%': needsEval,
63
68
  '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
64
69
  '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
70
+ '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,
71
+ '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,
65
72
  '%Boolean%': Boolean,
66
73
  '%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
67
74
  '%Date%': Date,
@@ -82,10 +89,10 @@ var INTRINSICS = {
82
89
  '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
83
90
  '%isFinite%': isFinite,
84
91
  '%isNaN%': isNaN,
85
- '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
92
+ '%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,
86
93
  '%JSON%': typeof JSON === 'object' ? JSON : undefined,
87
94
  '%Map%': typeof Map === 'undefined' ? undefined : Map,
88
- '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
95
+ '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
89
96
  '%Math%': Math,
90
97
  '%Number%': Number,
91
98
  '%Object%': Object,
@@ -98,10 +105,10 @@ var INTRINSICS = {
98
105
  '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
99
106
  '%RegExp%': RegExp,
100
107
  '%Set%': typeof Set === 'undefined' ? undefined : Set,
101
- '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
108
+ '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),
102
109
  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
103
110
  '%String%': String,
104
- '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
111
+ '%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,
105
112
  '%Symbol%': hasSymbols ? Symbol : undefined,
106
113
  '%SyntaxError%': $SyntaxError,
107
114
  '%ThrowTypeError%': ThrowTypeError,
@@ -117,6 +124,16 @@ var INTRINSICS = {
117
124
  '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
118
125
  };
119
126
 
127
+ if (getProto) {
128
+ try {
129
+ null.error; // eslint-disable-line no-unused-expressions
130
+ } catch (e) {
131
+ // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
132
+ var errorProto = getProto(getProto(e));
133
+ INTRINSICS['%Error.prototype%'] = errorProto;
134
+ }
135
+ }
136
+
120
137
  var doEval = function doEval(name) {
121
138
  var value;
122
139
  if (name === '%AsyncFunction%') {
@@ -132,7 +149,7 @@ var doEval = function doEval(name) {
132
149
  }
133
150
  } else if (name === '%AsyncIteratorPrototype%') {
134
151
  var gen = doEval('%AsyncGenerator%');
135
- if (gen) {
152
+ if (gen && getProto) {
136
153
  value = getProto(gen.prototype);
137
154
  }
138
155
  }
@@ -202,6 +219,7 @@ var $concat = bind.call(Function.call, Array.prototype.concat);
202
219
  var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
203
220
  var $replace = bind.call(Function.call, String.prototype.replace);
204
221
  var $strSlice = bind.call(Function.call, String.prototype.slice);
222
+ var $exec = bind.call(Function.call, RegExp.prototype.exec);
205
223
 
206
224
  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
207
225
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
@@ -257,6 +275,9 @@ module.exports = function GetIntrinsic(name, allowMissing) {
257
275
  throw new $TypeError('"allowMissing" argument must be a boolean');
258
276
  }
259
277
 
278
+ if ($exec(/^%?[^%]*%?$/, name) === null) {
279
+ throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
280
+ }
260
281
  var parts = stringToPath(name);
261
282
  var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
262
283
 
@@ -1,106 +1,93 @@
1
1
  {
2
- "_from": "get-intrinsic@^1.0.2",
3
- "_id": "get-intrinsic@1.1.1",
4
- "_inBundle": false,
5
- "_integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==",
6
- "_location": "/get-intrinsic",
7
- "_phantomChildren": {},
8
- "_requested": {
9
- "type": "range",
10
- "registry": true,
11
- "raw": "get-intrinsic@^1.0.2",
12
- "name": "get-intrinsic",
13
- "escapedName": "get-intrinsic",
14
- "rawSpec": "^1.0.2",
15
- "saveSpec": null,
16
- "fetchSpec": "^1.0.2"
17
- },
18
- "_requiredBy": [
19
- "/call-bind"
20
- ],
21
- "_resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz",
22
- "_shasum": "15f59f376f855c446963948f0d24cd3637b4abc6",
23
- "_spec": "get-intrinsic@^1.0.2",
24
- "_where": "/Users/conway/Projects/TAKreg/node_modules/call-bind",
25
- "author": {
26
- "name": "Jordan Harband",
27
- "email": "ljharb@gmail.com"
28
- },
29
- "auto-changelog": {
30
- "output": "CHANGELOG.md",
31
- "template": "keepachangelog",
32
- "unreleased": false,
33
- "commitLimit": false,
34
- "backfillLimit": false,
35
- "hideCredit": true
36
- },
37
- "bugs": {
38
- "url": "https://github.com/ljharb/get-intrinsic/issues"
39
- },
40
- "bundleDependencies": false,
41
- "dependencies": {
42
- "function-bind": "^1.1.1",
43
- "has": "^1.0.3",
44
- "has-symbols": "^1.0.1"
45
- },
46
- "deprecated": false,
47
- "description": "Get and robustly cache all JS language-level intrinsics at first require time",
48
- "devDependencies": {
49
- "@ljharb/eslint-config": "^17.5.0",
50
- "aud": "^1.1.3",
51
- "auto-changelog": "^2.2.1",
52
- "call-bind": "^1.0.2",
53
- "es-abstract": "^1.18.0-next.2",
54
- "es-value-fixtures": "^1.0.0",
55
- "eslint": "^7.19.0",
56
- "evalmd": "^0.0.19",
57
- "foreach": "^2.0.5",
58
- "has-bigints": "^1.0.1",
59
- "make-async-function": "^1.0.0",
60
- "make-async-generator-function": "^1.0.0",
61
- "make-generator-function": "^2.0.0",
62
- "nyc": "^10.3.2",
63
- "object-inspect": "^1.9.0",
64
- "tape": "^5.1.1"
65
- },
66
- "exports": {
67
- ".": [
68
- {
69
- "default": "./index.js"
70
- },
71
- "./index.js"
72
- ],
73
- "./package.json": "./package.json"
74
- },
75
- "funding": {
76
- "url": "https://github.com/sponsors/ljharb"
77
- },
78
- "homepage": "https://github.com/ljharb/get-intrinsic#readme",
79
- "keywords": [
80
- "javascript",
81
- "ecmascript",
82
- "es",
83
- "js",
84
- "intrinsic",
85
- "getintrinsic",
86
- "es-abstract"
87
- ],
88
- "license": "MIT",
89
- "main": "index.js",
90
- "name": "get-intrinsic",
91
- "repository": {
92
- "type": "git",
93
- "url": "git+https://github.com/ljharb/get-intrinsic.git"
94
- },
95
- "scripts": {
96
- "lint": "eslint --ext=.js,.mjs .",
97
- "posttest": "aud --production",
98
- "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
99
- "prelint": "evalmd README.md",
100
- "pretest": "npm run lint",
101
- "test": "npm run tests-only",
102
- "tests-only": "nyc tape 'test/**/*.js'",
103
- "version": "auto-changelog && git add CHANGELOG.md"
104
- },
105
- "version": "1.1.1"
2
+ "name": "get-intrinsic",
3
+ "version": "1.2.1",
4
+ "description": "Get and robustly cache all JS language-level intrinsics at first require time",
5
+ "main": "index.js",
6
+ "exports": {
7
+ ".": [
8
+ {
9
+ "default": "./index.js"
10
+ },
11
+ "./index.js"
12
+ ],
13
+ "./package.json": "./package.json"
14
+ },
15
+ "scripts": {
16
+ "prepack": "npmignore --auto --commentLines=autogenerated",
17
+ "prepublish": "not-in-publish || npm run prepublishOnly",
18
+ "prepublishOnly": "safe-publish-latest",
19
+ "prelint": "evalmd README.md",
20
+ "lint": "eslint --ext=.js,.mjs .",
21
+ "pretest": "npm run lint",
22
+ "tests-only": "nyc tape 'test/**/*.js'",
23
+ "test": "npm run tests-only",
24
+ "posttest": "aud --production",
25
+ "version": "auto-changelog && git add CHANGELOG.md",
26
+ "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
27
+ },
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "git+https://github.com/ljharb/get-intrinsic.git"
31
+ },
32
+ "keywords": [
33
+ "javascript",
34
+ "ecmascript",
35
+ "es",
36
+ "js",
37
+ "intrinsic",
38
+ "getintrinsic",
39
+ "es-abstract"
40
+ ],
41
+ "author": "Jordan Harband <ljharb@gmail.com>",
42
+ "funding": {
43
+ "url": "https://github.com/sponsors/ljharb"
44
+ },
45
+ "license": "MIT",
46
+ "bugs": {
47
+ "url": "https://github.com/ljharb/get-intrinsic/issues"
48
+ },
49
+ "homepage": "https://github.com/ljharb/get-intrinsic#readme",
50
+ "devDependencies": {
51
+ "@ljharb/eslint-config": "^21.0.1",
52
+ "aud": "^2.0.2",
53
+ "auto-changelog": "^2.4.0",
54
+ "call-bind": "^1.0.2",
55
+ "es-abstract": "^1.21.2",
56
+ "es-value-fixtures": "^1.4.2",
57
+ "eslint": "=8.8.0",
58
+ "evalmd": "^0.0.19",
59
+ "for-each": "^0.3.3",
60
+ "gopd": "^1.0.1",
61
+ "make-async-function": "^1.0.0",
62
+ "make-async-generator-function": "^1.0.0",
63
+ "make-generator-function": "^2.0.0",
64
+ "mock-property": "^1.0.0",
65
+ "npmignore": "^0.3.0",
66
+ "nyc": "^10.3.2",
67
+ "object-inspect": "^1.12.3",
68
+ "safe-publish-latest": "^2.0.0",
69
+ "tape": "^5.6.3"
70
+ },
71
+ "auto-changelog": {
72
+ "output": "CHANGELOG.md",
73
+ "template": "keepachangelog",
74
+ "unreleased": false,
75
+ "commitLimit": false,
76
+ "backfillLimit": false,
77
+ "hideCredit": true
78
+ },
79
+ "dependencies": {
80
+ "function-bind": "^1.1.1",
81
+ "has": "^1.0.3",
82
+ "has-proto": "^1.0.1",
83
+ "has-symbols": "^1.0.3"
84
+ },
85
+ "testling": {
86
+ "files": "test/GetIntrinsic.js"
87
+ },
88
+ "publishConfig": {
89
+ "ignore": [
90
+ ".github/workflows"
91
+ ]
92
+ }
106
93
  }
@@ -3,16 +3,17 @@
3
3
  var GetIntrinsic = require('../');
4
4
 
5
5
  var test = require('tape');
6
- var forEach = require('foreach');
6
+ var forEach = require('for-each');
7
7
  var debug = require('object-inspect');
8
8
  var generatorFns = require('make-generator-function')();
9
9
  var asyncFns = require('make-async-function').list();
10
10
  var asyncGenFns = require('make-async-generator-function')();
11
+ var mockProperty = require('mock-property');
11
12
 
12
13
  var callBound = require('call-bind/callBound');
13
14
  var v = require('es-value-fixtures');
14
- var $gOPD = require('es-abstract/helpers/getOwnPropertyDescriptor');
15
- var defineProperty = require('es-abstract/test/helpers/defineProperty');
15
+ var $gOPD = require('gopd');
16
+ var DefinePropertyOrThrow = require('es-abstract/2021/DefinePropertyOrThrow');
16
17
 
17
18
  var $isProto = callBound('%Object.prototype.isPrototypeOf%');
18
19
 
@@ -66,6 +67,18 @@ test('throws', function (t) {
66
67
  "Throws when middle part doesn't exist (%Proxy.prototype.undefined%)"
67
68
  );
68
69
 
70
+ t['throws'](
71
+ function () { GetIntrinsic('%Array.prototype%garbage%'); },
72
+ SyntaxError,
73
+ 'Throws with extra percent signs'
74
+ );
75
+
76
+ t['throws'](
77
+ function () { GetIntrinsic('%Array.prototype%push%'); },
78
+ SyntaxError,
79
+ 'Throws with extra percent signs, even on an existing intrinsic'
80
+ );
81
+
69
82
  forEach(v.nonStrings, function (nonString) {
70
83
  t['throws'](
71
84
  function () { GetIntrinsic(nonString); },
@@ -123,15 +136,15 @@ test('dotted paths', function (t) {
123
136
  '%ObjProto_toString%',
124
137
  'ObjProto_toString'
125
138
  ], function (name) {
126
- defineProperty(Object.prototype, 'toString', {
127
- value: function toString() {
139
+ DefinePropertyOrThrow(Object.prototype, 'toString', {
140
+ '[[Value]]': function toString() {
128
141
  return original.apply(this, arguments);
129
142
  }
130
143
  });
131
144
  st.equal(GetIntrinsic(name), original, name + ' yields original Object.prototype.toString');
132
145
  });
133
146
 
134
- defineProperty(Object.prototype, 'toString', { value: original });
147
+ DefinePropertyOrThrow(Object.prototype, 'toString', { '[[Value]]': original });
135
148
  st.end();
136
149
  });
137
150
 
@@ -144,15 +157,16 @@ test('dotted paths', function (t) {
144
157
  '%ObjectPrototype.propertyIsEnumerable%',
145
158
  'ObjectPrototype.propertyIsEnumerable'
146
159
  ], function (name) {
147
- // eslint-disable-next-line no-extend-native
148
- Object.prototype.propertyIsEnumerable = function propertyIsEnumerable() {
149
- return original.apply(this, arguments);
150
- };
160
+ var restore = mockProperty(Object.prototype, 'propertyIsEnumerable', {
161
+ value: function propertyIsEnumerable() {
162
+ return original.apply(this, arguments);
163
+ }
164
+ });
151
165
  st.equal(GetIntrinsic(name), original, name + ' yields cached Object.prototype.propertyIsEnumerable');
166
+
167
+ restore();
152
168
  });
153
169
 
154
- // eslint-disable-next-line no-extend-native
155
- Object.prototype.propertyIsEnumerable = original;
156
170
  st.end();
157
171
  });
158
172
 
@@ -1,56 +1,26 @@
1
1
  {
2
- "_from": "has@^1.0.3",
3
- "_id": "has@1.0.3",
4
- "_inBundle": false,
5
- "_integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
6
- "_location": "/has",
7
- "_phantomChildren": {},
8
- "_requested": {
9
- "type": "range",
10
- "registry": true,
11
- "raw": "has@^1.0.3",
12
- "name": "has",
13
- "escapedName": "has",
14
- "rawSpec": "^1.0.3",
15
- "saveSpec": null,
16
- "fetchSpec": "^1.0.3"
17
- },
18
- "_requiredBy": [
19
- "/get-intrinsic"
20
- ],
21
- "_resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
22
- "_shasum": "722d7cbfc1f6aa8241f16dd814e011e1f41e8796",
23
- "_spec": "has@^1.0.3",
24
- "_where": "/Users/conway/Projects/TAKreg/node_modules/get-intrinsic",
2
+ "name": "has",
3
+ "description": "Object.prototype.hasOwnProperty.call shortcut",
4
+ "version": "1.0.3",
5
+ "homepage": "https://github.com/tarruda/has",
25
6
  "author": {
26
7
  "name": "Thiago de Arruda",
27
8
  "email": "tpadilha84@gmail.com"
28
9
  },
29
- "bugs": {
30
- "url": "https://github.com/tarruda/has/issues"
31
- },
32
- "bundleDependencies": false,
33
- "contributors": [
10
+ "contributors": [
34
11
  {
35
12
  "name": "Jordan Harband",
36
13
  "email": "ljharb@gmail.com",
37
14
  "url": "http://ljharb.codes"
38
15
  }
39
16
  ],
40
- "dependencies": {
41
- "function-bind": "^1.1.1"
42
- },
43
- "deprecated": false,
44
- "description": "Object.prototype.hasOwnProperty.call shortcut",
45
- "devDependencies": {
46
- "@ljharb/eslint-config": "^12.2.1",
47
- "eslint": "^4.19.1",
48
- "tape": "^4.9.0"
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git://github.com/tarruda/has.git"
49
20
  },
50
- "engines": {
51
- "node": ">= 0.4.0"
21
+ "bugs": {
22
+ "url": "https://github.com/tarruda/has/issues"
52
23
  },
53
- "homepage": "https://github.com/tarruda/has",
54
24
  "license": "MIT",
55
25
  "licenses": [
56
26
  {
@@ -59,15 +29,20 @@
59
29
  }
60
30
  ],
61
31
  "main": "./src",
62
- "name": "has",
63
- "repository": {
64
- "type": "git",
65
- "url": "git://github.com/tarruda/has.git"
32
+ "dependencies": {
33
+ "function-bind": "^1.1.1"
34
+ },
35
+ "devDependencies": {
36
+ "@ljharb/eslint-config": "^12.2.1",
37
+ "eslint": "^4.19.1",
38
+ "tape": "^4.9.0"
39
+ },
40
+ "engines": {
41
+ "node": ">= 0.4.0"
66
42
  },
67
43
  "scripts": {
68
44
  "lint": "eslint .",
69
45
  "pretest": "npm run lint",
70
46
  "test": "tape test"
71
- },
72
- "version": "1.0.3"
47
+ }
73
48
  }
@@ -0,0 +1,13 @@
1
+ {
2
+ "root": true,
3
+
4
+ "extends": "@ljharb",
5
+
6
+ "rules": {
7
+ "func-name-matching": 0,
8
+ "id-length": 0,
9
+ "new-cap": [2, {
10
+ "capIsNewExceptions": ["GetIntrinsic"],
11
+ }],
12
+ },
13
+ }
@@ -0,0 +1,12 @@
1
+ # These are supported funding model platforms
2
+
3
+ github: [ljharb]
4
+ patreon: # Replace with a single Patreon username
5
+ open_collective: # Replace with a single Open Collective username
6
+ ko_fi: # Replace with a single Ko-fi username
7
+ tidelift: npm/has-property-descriptors
8
+ community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
+ liberapay: # Replace with a single Liberapay username
10
+ issuehunt: # Replace with a single IssueHunt username
11
+ otechie: # Replace with a single Otechie username
12
+ custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']