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
@@ -1,44 +1,47 @@
1
1
  {
2
- "_from": "form-data@^4.0.0",
3
- "_id": "form-data@4.0.0",
4
- "_inBundle": false,
5
- "_integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
6
- "_location": "/node-red-contrib-takfiles/form-data",
7
- "_phantomChildren": {},
8
- "_requested": {
9
- "type": "range",
10
- "registry": true,
11
- "raw": "form-data@^4.0.0",
12
- "name": "form-data",
13
- "escapedName": "form-data",
14
- "rawSpec": "^4.0.0",
15
- "saveSpec": null,
16
- "fetchSpec": "^4.0.0"
17
- },
18
- "_requiredBy": [
19
- "/node-red-contrib-takfiles"
20
- ],
21
- "_resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
22
- "_shasum": "93919daeaf361ee529584b9b31664dc12c9fa452",
23
- "_spec": "form-data@^4.0.0",
24
- "_where": "/Users/conway//Projects/DCJNodes/takfile/",
25
- "author": {
26
- "name": "Felix Geisendörfer",
27
- "email": "felix@debuggable.com",
28
- "url": "http://debuggable.com/"
2
+ "author": "Felix Geisendörfer <felix@debuggable.com> (http://debuggable.com/)",
3
+ "name": "form-data",
4
+ "description": "A library to create readable \"multipart/form-data\" streams. Can be used to submit forms and file uploads to other web applications.",
5
+ "version": "4.0.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git://github.com/form-data/form-data.git"
29
9
  },
10
+ "main": "./lib/form_data",
30
11
  "browser": "./lib/browser",
31
- "bugs": {
32
- "url": "https://github.com/form-data/form-data/issues"
12
+ "typings": "./index.d.ts",
13
+ "scripts": {
14
+ "pretest": "rimraf coverage test/tmp",
15
+ "test": "istanbul cover test/run.js",
16
+ "posttest": "istanbul report lcov text",
17
+ "lint": "eslint lib/*.js test/*.js test/integration/*.js",
18
+ "report": "istanbul report lcov text",
19
+ "ci-lint": "is-node-modern 8 && npm run lint || is-node-not-modern 8",
20
+ "ci-test": "npm run test && npm run browser && npm run report",
21
+ "predebug": "rimraf coverage test/tmp",
22
+ "debug": "verbose=1 ./test/run.js",
23
+ "browser": "browserify -t browserify-istanbul test/run-browser.js | obake --coverage",
24
+ "check": "istanbul check-coverage coverage/coverage*.json",
25
+ "files": "pkgfiles --sort=name",
26
+ "get-version": "node -e \"console.log(require('./package.json').version)\"",
27
+ "update-readme": "sed -i.bak 's/\\/master\\.svg/\\/v'$(npm --silent run get-version)'.svg/g' README.md",
28
+ "restore-readme": "mv README.md.bak README.md",
29
+ "prepublish": "in-publish && npm run update-readme || not-in-publish",
30
+ "postpublish": "npm run restore-readme"
31
+ },
32
+ "pre-commit": [
33
+ "lint",
34
+ "ci-test",
35
+ "check"
36
+ ],
37
+ "engines": {
38
+ "node": ">= 6"
33
39
  },
34
- "bundleDependencies": false,
35
40
  "dependencies": {
36
41
  "asynckit": "^0.4.0",
37
42
  "combined-stream": "^1.0.8",
38
43
  "mime-types": "^2.1.12"
39
44
  },
40
- "deprecated": false,
41
- "description": "A library to create readable \"multipart/form-data\" streams. Can be used to submit forms and file uploads to other web applications.",
42
45
  "devDependencies": {
43
46
  "@types/node": "^12.0.10",
44
47
  "browserify": "^13.1.1",
@@ -53,49 +56,13 @@
53
56
  "is-node-modern": "^1.0.0",
54
57
  "istanbul": "^0.4.5",
55
58
  "obake": "^0.1.2",
59
+ "puppeteer": "^1.19.0",
56
60
  "pkgfiles": "^2.3.0",
57
61
  "pre-commit": "^1.1.3",
58
- "puppeteer": "^1.19.0",
59
62
  "request": "^2.88.0",
60
63
  "rimraf": "^2.7.1",
61
64
  "tape": "^4.6.2",
62
65
  "typescript": "^3.5.2"
63
66
  },
64
- "engines": {
65
- "node": ">= 6"
66
- },
67
- "homepage": "https://github.com/form-data/form-data#readme",
68
- "license": "MIT",
69
- "main": "./lib/form_data",
70
- "name": "form-data",
71
- "pre-commit": [
72
- "lint",
73
- "ci-test",
74
- "check"
75
- ],
76
- "repository": {
77
- "type": "git",
78
- "url": "git://github.com/form-data/form-data.git"
79
- },
80
- "scripts": {
81
- "browser": "browserify -t browserify-istanbul test/run-browser.js | obake --coverage",
82
- "check": "istanbul check-coverage coverage/coverage*.json",
83
- "ci-lint": "is-node-modern 8 && npm run lint || is-node-not-modern 8",
84
- "ci-test": "npm run test && npm run browser && npm run report",
85
- "debug": "verbose=1 ./test/run.js",
86
- "files": "pkgfiles --sort=name",
87
- "get-version": "node -e \"console.log(require('./package.json').version)\"",
88
- "lint": "eslint lib/*.js test/*.js test/integration/*.js",
89
- "postpublish": "npm run restore-readme",
90
- "posttest": "istanbul report lcov text",
91
- "predebug": "rimraf coverage test/tmp",
92
- "prepublish": "in-publish && npm run update-readme || not-in-publish",
93
- "pretest": "rimraf coverage test/tmp",
94
- "report": "istanbul report lcov text",
95
- "restore-readme": "mv README.md.bak README.md",
96
- "test": "istanbul cover test/run.js",
97
- "update-readme": "sed -i.bak 's/\\/master\\.svg/\\/v'$(npm --silent run get-version)'.svg/g' README.md"
98
- },
99
- "typings": "./index.d.ts",
100
- "version": "4.0.0"
67
+ "license": "MIT"
101
68
  }
@@ -1,38 +1,17 @@
1
1
  {
2
- "_from": "function-bind@^1.1.1",
3
- "_id": "function-bind@1.1.1",
4
- "_inBundle": false,
5
- "_integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
6
- "_location": "/function-bind",
7
- "_phantomChildren": {},
8
- "_requested": {
9
- "type": "range",
10
- "registry": true,
11
- "raw": "function-bind@^1.1.1",
12
- "name": "function-bind",
13
- "escapedName": "function-bind",
14
- "rawSpec": "^1.1.1",
15
- "saveSpec": null,
16
- "fetchSpec": "^1.1.1"
17
- },
18
- "_requiredBy": [
19
- "/call-bind",
20
- "/get-intrinsic",
21
- "/has"
2
+ "name": "function-bind",
3
+ "version": "1.1.1",
4
+ "description": "Implementation of Function.prototype.bind",
5
+ "keywords": [
6
+ "function",
7
+ "bind",
8
+ "shim",
9
+ "es5"
22
10
  ],
23
- "_resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
24
- "_shasum": "a56899d3ea3c9bab874bb9773b7c5ede92f4895d",
25
- "_spec": "function-bind@^1.1.1",
26
- "_where": "/Users/conway/Projects/TAKreg/node_modules/call-bind",
27
- "author": {
28
- "name": "Raynos",
29
- "email": "raynos2@gmail.com"
30
- },
31
- "bugs": {
32
- "url": "https://github.com/Raynos/function-bind/issues",
33
- "email": "raynos2@gmail.com"
34
- },
35
- "bundleDependencies": false,
11
+ "author": "Raynos <raynos2@gmail.com>",
12
+ "repository": "git://github.com/Raynos/function-bind.git",
13
+ "main": "index",
14
+ "homepage": "https://github.com/Raynos/function-bind",
36
15
  "contributors": [
37
16
  {
38
17
  "name": "Raynos"
@@ -42,9 +21,11 @@
42
21
  "url": "https://github.com/ljharb"
43
22
  }
44
23
  ],
24
+ "bugs": {
25
+ "url": "https://github.com/Raynos/function-bind/issues",
26
+ "email": "raynos2@gmail.com"
27
+ },
45
28
  "dependencies": {},
46
- "deprecated": false,
47
- "description": "Implementation of Function.prototype.bind",
48
29
  "devDependencies": {
49
30
  "@ljharb/eslint-config": "^12.2.1",
50
31
  "covert": "^1.1.0",
@@ -52,29 +33,16 @@
52
33
  "jscs": "^3.0.7",
53
34
  "tape": "^4.8.0"
54
35
  },
55
- "homepage": "https://github.com/Raynos/function-bind",
56
- "keywords": [
57
- "function",
58
- "bind",
59
- "shim",
60
- "es5"
61
- ],
62
36
  "license": "MIT",
63
- "main": "index",
64
- "name": "function-bind",
65
- "repository": {
66
- "type": "git",
67
- "url": "git://github.com/Raynos/function-bind.git"
68
- },
69
37
  "scripts": {
70
- "coverage": "covert test/*.js",
71
- "eslint": "eslint *.js */*.js",
72
- "jscs": "jscs *.js */*.js",
73
- "lint": "npm run jscs && npm run eslint",
74
- "posttest": "npm run coverage -- --quiet",
75
38
  "pretest": "npm run lint",
76
39
  "test": "npm run tests-only",
77
- "tests-only": "node test"
40
+ "posttest": "npm run coverage -- --quiet",
41
+ "tests-only": "node test",
42
+ "coverage": "covert test/*.js",
43
+ "lint": "npm run jscs && npm run eslint",
44
+ "jscs": "jscs *.js */*.js",
45
+ "eslint": "eslint *.js */*.js"
78
46
  },
79
47
  "testling": {
80
48
  "files": "test/index.js",
@@ -91,6 +59,5 @@
91
59
  "iphone/6.0..latest",
92
60
  "android-browser/4.2..latest"
93
61
  ]
94
- },
95
- "version": "1.1.1"
62
+ }
96
63
  }
@@ -0,0 +1,20 @@
1
+ root = true
2
+
3
+ [*]
4
+ indent_style = tab
5
+ indent_size = 4
6
+ end_of_line = lf
7
+ charset = utf-8
8
+ trim_trailing_whitespace = true
9
+ insert_final_newline = true
10
+ max_line_length = 150
11
+
12
+ [CHANGELOG.md]
13
+ indent_style = space
14
+ indent_size = 2
15
+
16
+ [*.json]
17
+ max_line_length = off
18
+
19
+ [Makefile]
20
+ max_line_length = off
@@ -0,0 +1,19 @@
1
+ {
2
+ "root": true,
3
+
4
+ "extends": "@ljharb",
5
+
6
+ "rules": {
7
+ "func-name-matching": [2, "always"],
8
+ "id-length": 1,
9
+ },
10
+
11
+ "overrides": [
12
+ {
13
+ "files": "test/**",
14
+ "rules": {
15
+ "func-name-matching": 0,
16
+ },
17
+ },
18
+ ],
19
+ }
@@ -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/functions-have-names
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']
@@ -0,0 +1,9 @@
1
+ {
2
+ "all": true,
3
+ "check-coverage": false,
4
+ "reporter": ["text-summary", "text", "html", "json"],
5
+ "exclude": [
6
+ "coverage",
7
+ "test"
8
+ ]
9
+ }
@@ -0,0 +1,89 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [v1.2.3](https://github.com/inspect-js/functions-have-names/compare/v1.2.2...v1.2.3) - 2022-04-19
9
+
10
+ ### Fixed
11
+
12
+ - [Fix] in IE 9-11, the descriptor is absent [`#11`](https://github.com/inspect-js/functions-have-names/issues/11) [`#25`](https://github.com/es-shims/RegExp.prototype.flags/issues/25)
13
+
14
+ ### Commits
15
+
16
+ - [actions] reuse common workflows [`4ed274a`](https://github.com/inspect-js/functions-have-names/commit/4ed274a2441c7fd38ff6add741c309e268550d97)
17
+ - [actions] use `node/install` instead of `node/run`; use `codecov` action [`96dfcaa`](https://github.com/inspect-js/functions-have-names/commit/96dfcaaf1c9c5305f2b66ef69f9cddf1d9d9a578)
18
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`9e674f8`](https://github.com/inspect-js/functions-have-names/commit/9e674f85520a93235e412a3fd7671d2356c6e45b)
19
+ - [readme] add github actions/codecov badges; update URLs [`d913f5b`](https://github.com/inspect-js/functions-have-names/commit/d913f5bf38ccab32d5fbea4a044b9cd93a4b9bec)
20
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `safe-publish-latest`, `tape` [`f61058f`](https://github.com/inspect-js/functions-have-names/commit/f61058fe1e34f2cfa9235283a4fc6c0c0172c91a)
21
+ - [actions] update codecov uploader [`3348839`](https://github.com/inspect-js/functions-have-names/commit/33488394e7cadbf499bee4775c627c1370d033d0)
22
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape` [`ee1a321`](https://github.com/inspect-js/functions-have-names/commit/ee1a3211a40902af59aa629e3ac41ec36360dc1b)
23
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`b8dc1a2`](https://github.com/inspect-js/functions-have-names/commit/b8dc1a277b08362bebedfeba2faca8964f68283b)
24
+ - [Dev Deps] update `@ljharb/eslint-config`, `tape` [`0e825c4`](https://github.com/inspect-js/functions-have-names/commit/0e825c4ba8525b02d9acaaf2511371f76c0562ce)
25
+ - [meta] use `prepublishOnly` script for npm 7+ [`9489d66`](https://github.com/inspect-js/functions-have-names/commit/9489d666c59702ea6bafd3ff611b3eadfee6570e)
26
+
27
+ ## [v1.2.2](https://github.com/inspect-js/functions-have-names/compare/v1.2.1...v1.2.2) - 2020-12-14
28
+
29
+ ### Commits
30
+
31
+ - [Tests] migrate tests to Github Actions [`39bf4fe`](https://github.com/inspect-js/functions-have-names/commit/39bf4fe5ae5b3610a80ba13726f3ee00e3c49e2f)
32
+ - [meta] do not publish github action workflow files [`45ab0cb`](https://github.com/inspect-js/functions-have-names/commit/45ab0cbdc0da2efd64f5deb9810be63009bac4a0)
33
+ - [readme] add docs, fix URLs [`fad3af6`](https://github.com/inspect-js/functions-have-names/commit/fad3af61e9cbc27f47d2097614f43c62ae1022dd)
34
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`82df94a`](https://github.com/inspect-js/functions-have-names/commit/82df94ae06f05a5fa321dda9b7d902ac9fc26424)
35
+ - [Tests] run `nyc` on all tests; use `tape` runner [`8038329`](https://github.com/inspect-js/functions-have-names/commit/8038329fec493043639d9d8c779141dcb7d00c2d)
36
+ - [actions] add automatic rebasing / merge commit blocking [`49795eb`](https://github.com/inspect-js/functions-have-names/commit/49795ebf38ae3ba724ff7ac5c53598ec66ab814b)
37
+ - [actions] add "Allow Edits" workflow [`2096fe6`](https://github.com/inspect-js/functions-have-names/commit/2096fe6d67d435c0e0da25f3cfe9ff02991c41e6)
38
+ - [actions] switch Automatic Rebase workflow to `pull_request_target` event [`ec1c6fe`](https://github.com/inspect-js/functions-have-names/commit/ec1c6fe209419c722d732cd512e4375c48366392)
39
+ - [Dev Deps] update `auto-changelog`; add `aud` [`79fdb23`](https://github.com/inspect-js/functions-have-names/commit/79fdb23d1ed2b4125f443be193c37330e634e654)
40
+ - [Tests] only audit prod deps [`d9ca245`](https://github.com/inspect-js/functions-have-names/commit/d9ca2455e26a45994024d1027344c268a06818bd)
41
+ - [Dev Deps] update `auto-changelog`, `tape` [`ac026d4`](https://github.com/inspect-js/functions-have-names/commit/ac026d4bda77e9820b74456fc752d2069e5b8a7f)
42
+ - [Dev Deps] update `tape` [`a8c5ee3`](https://github.com/inspect-js/functions-have-names/commit/a8c5ee3622b487938462f82698dae3ceb32da1a7)
43
+ - [Dev Deps] update `@ljharb/eslint-config` [`b25fafd`](https://github.com/inspect-js/functions-have-names/commit/b25fafd0923dcf53c3aeca92268e497ffd96ec34)
44
+
45
+ ## [v1.2.1](https://github.com/inspect-js/functions-have-names/compare/v1.2.0...v1.2.1) - 2020-01-19
46
+
47
+ ### Commits
48
+
49
+ - [Tests] use shared travis-ci configs [`612823a`](https://github.com/inspect-js/functions-have-names/commit/612823a064b4be4c61a1e52d1009abed4a4fc4fb)
50
+ - [Fix] IE 8 has a broken `Object.getOwnPropertyDescriptor` [`ba01c22`](https://github.com/inspect-js/functions-have-names/commit/ba01c22795162b787a698950ea34250ce68a7bb1)
51
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `auto-changelog`; add `safe-publish-latest` [`b28d9d2`](https://github.com/inspect-js/functions-have-names/commit/b28d9d2e8bc0b758671bcaf2f7aa0d4ad4b42046)
52
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`a62fbd6`](https://github.com/inspect-js/functions-have-names/commit/a62fbd69a34a2b1d1860acfa2afc6dcc839bc180)
53
+ - [meta] add `funding` field [`8734a94`](https://github.com/inspect-js/functions-have-names/commit/8734a940e39acdf7619eb89e358746bd278b4c90)
54
+
55
+ ## [v1.2.0](https://github.com/inspect-js/functions-have-names/compare/v1.1.1...v1.2.0) - 2019-10-20
56
+
57
+ ### Commits
58
+
59
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `auto-changelog` [`7e07444`](https://github.com/inspect-js/functions-have-names/commit/7e0744437789641ea462005d2e350ef476aa7141)
60
+ - [New] add `boundFunctionsHaveNames()` [`05661be`](https://github.com/inspect-js/functions-have-names/commit/05661be26c3c260bb3984e433dc9cea3fd82f9ac)
61
+
62
+ ## [v1.1.1](https://github.com/inspect-js/functions-have-names/compare/v1.1.0...v1.1.1) - 2019-07-24
63
+
64
+ ### Commits
65
+
66
+ - [Tests] fix linting errors [`0cb8017`](https://github.com/inspect-js/functions-have-names/commit/0cb8017203ae37d1e019bb1c99120f3f56a266a5)
67
+ - [Tests] fix tests when name is not configurable [`38a8aee`](https://github.com/inspect-js/functions-have-names/commit/38a8aeee0403bd7aa7f35da76dc433cbcdd3f85a)
68
+ - [Fix] ensure function name mangling does not break detection [`f6926ab`](https://github.com/inspect-js/functions-have-names/commit/f6926abaaebc81366f73cf0c3f874ad7e4ba16d2)
69
+
70
+ ## [v1.1.0](https://github.com/inspect-js/functions-have-names/compare/v1.0.0...v1.1.0) - 2019-07-23
71
+
72
+ ### Commits
73
+
74
+ - [New] add `functionsHaveConfigurableNames` function on main export [`ce73f75`](https://github.com/inspect-js/functions-have-names/commit/ce73f75891640a462326df7266d90b09519a5fca)
75
+
76
+ ## v1.0.0 - 2019-07-22
77
+
78
+ ### Commits
79
+
80
+ - [Tests] add travis.yml [`06ed096`](https://github.com/inspect-js/functions-have-names/commit/06ed09681a3dc067094562e8d21a31400a782add)
81
+ - Initial commit [`ced60bd`](https://github.com/inspect-js/functions-have-names/commit/ced60bd089539eb228c68fc2ad7c7bc04b959b02)
82
+ - npm init [`79088ab`](https://github.com/inspect-js/functions-have-names/commit/79088ab607e7e91a402e198ab6d1837a317c6fa9)
83
+ - add tests [`c9e8e09`](https://github.com/inspect-js/functions-have-names/commit/c9e8e09c5153797c97c324cca4b837540eddeff8)
84
+ - [Tests] add `npm run lint` [`988b924`](https://github.com/inspect-js/functions-have-names/commit/988b924a8a49ea5c0f30d5aa2b2ea9add0b39474)
85
+ - [meta] create FUNDING.yml [`2e443ef`](https://github.com/inspect-js/functions-have-names/commit/2e443ef67748214d05898b3da76f908a7e2d7488)
86
+ - [meta] add version scripts [`52005e3`](https://github.com/inspect-js/functions-have-names/commit/52005e3794fd0799db5963a5359846798cb95c14)
87
+ - implementation [`b7b4942`](https://github.com/inspect-js/functions-have-names/commit/b7b49421ef69fb5e042194a650cb4f71bb4996e4)
88
+ - Only apps should have lockfiles [`81d2e04`](https://github.com/inspect-js/functions-have-names/commit/81d2e04e7a43cbff2e46e72781bb0693dbb67800)
89
+ - [Tests] use `npx aud` [`baa92d8`](https://github.com/inspect-js/functions-have-names/commit/baa92d8aba331fe8821663bc14baf2e11685474a)
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2019 Jordan Harband
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,40 @@
1
+ # functions-have-names <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
2
+
3
+ [![github actions][actions-image]][actions-url]
4
+ [![coverage][codecov-image]][codecov-url]
5
+ [![dependency status][deps-svg]][deps-url]
6
+ [![dev dependency status][dev-deps-svg]][dev-deps-url]
7
+ [![License][license-image]][license-url]
8
+ [![Downloads][downloads-image]][downloads-url]
9
+
10
+ [![npm badge][npm-badge-png]][package-url]
11
+
12
+ Does this JS environment support the `name` property on functions?
13
+
14
+ ## Example
15
+
16
+ ```js
17
+ var functionsHaveNames = require('functions-have-names');
18
+ var assert = require('assert');
19
+
20
+ assert.equal(functionsHaveNames(), true); // will be `false` in IE 6-8
21
+ ```
22
+
23
+ ## Tests
24
+ Simply clone the repo, `npm install`, and run `npm test`
25
+
26
+ [package-url]: https://npmjs.org/package/functions-have-names
27
+ [npm-version-svg]: https://versionbadg.es/inspect-js/functions-have-names.svg
28
+ [deps-svg]: https://david-dm.org/inspect-js/functions-have-names.svg
29
+ [deps-url]: https://david-dm.org/inspect-js/functions-have-names
30
+ [dev-deps-svg]: https://david-dm.org/inspect-js/functions-have-names/dev-status.svg
31
+ [dev-deps-url]: https://david-dm.org/inspect-js/functions-have-names#info=devDependencies
32
+ [npm-badge-png]: https://nodei.co/npm/functions-have-names.png?downloads=true&stars=true
33
+ [license-image]: https://img.shields.io/npm/l/functions-have-names.svg
34
+ [license-url]: LICENSE
35
+ [downloads-image]: https://img.shields.io/npm/dm/functions-have-names.svg
36
+ [downloads-url]: https://npm-stat.com/charts.html?package=functions-have-names
37
+ [codecov-image]: https://codecov.io/gh/inspect-js/functions-have-names/branch/main/graphs/badge.svg
38
+ [codecov-url]: https://app.codecov.io/gh/inspect-js/functions-have-names/
39
+ [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/functions-have-names
40
+ [actions-url]: https://github.com/inspect-js/functions-have-names/actions
@@ -0,0 +1,31 @@
1
+ 'use strict';
2
+
3
+ var functionsHaveNames = function functionsHaveNames() {
4
+ return typeof function f() {}.name === 'string';
5
+ };
6
+
7
+ var gOPD = Object.getOwnPropertyDescriptor;
8
+ if (gOPD) {
9
+ try {
10
+ gOPD([], 'length');
11
+ } catch (e) {
12
+ // IE 8 has a broken gOPD
13
+ gOPD = null;
14
+ }
15
+ }
16
+
17
+ functionsHaveNames.functionsHaveConfigurableNames = function functionsHaveConfigurableNames() {
18
+ if (!functionsHaveNames() || !gOPD) {
19
+ return false;
20
+ }
21
+ var desc = gOPD(function () {}, 'name');
22
+ return !!desc && !!desc.configurable;
23
+ };
24
+
25
+ var $bind = Function.prototype.bind;
26
+
27
+ functionsHaveNames.boundFunctionsHaveNames = function boundFunctionsHaveNames() {
28
+ return functionsHaveNames() && typeof $bind === 'function' && function f() {}.bind().name !== '';
29
+ };
30
+
31
+ module.exports = functionsHaveNames;
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "functions-have-names",
3
+ "version": "1.2.3",
4
+ "description": "Does this JS environment support the `name` property on functions?",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "prepublish": "not-in-publish || npm run prepublishOnly",
8
+ "prepublishOnly": "safe-publish-latest",
9
+ "version": "auto-changelog && git add CHANGELOG.md",
10
+ "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
11
+ "lint": "eslint --ext=js,mjs .",
12
+ "pretest": "npm run lint",
13
+ "tests-only": "nyc tape 'test/**/*.js'",
14
+ "test": "npm run tests-only",
15
+ "posttest": "aud --production"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/inspect-js/functions-have-names.git"
20
+ },
21
+ "keywords": [
22
+ "function",
23
+ "name",
24
+ "es5",
25
+ "names",
26
+ "functions",
27
+ "ie"
28
+ ],
29
+ "author": "Jordan Harband <ljharb@gmail.com>",
30
+ "funding": {
31
+ "url": "https://github.com/sponsors/ljharb"
32
+ },
33
+ "license": "MIT",
34
+ "bugs": {
35
+ "url": "https://github.com/inspect-js/functions-have-names/issues"
36
+ },
37
+ "homepage": "https://github.com/inspect-js/functions-have-names#readme",
38
+ "devDependencies": {
39
+ "@ljharb/eslint-config": "^21.0.0",
40
+ "aud": "^2.0.0",
41
+ "auto-changelog": "^2.4.0",
42
+ "eslint": "=8.8.0",
43
+ "nyc": "^10.3.2",
44
+ "safe-publish-latest": "^2.0.0",
45
+ "tape": "^5.5.3"
46
+ },
47
+ "auto-changelog": {
48
+ "output": "CHANGELOG.md",
49
+ "template": "keepachangelog",
50
+ "unreleased": false,
51
+ "commitLimit": false,
52
+ "backfillLimit": false,
53
+ "hideCredit": true
54
+ }
55
+ }
@@ -0,0 +1,65 @@
1
+ 'use strict';
2
+
3
+ var test = require('tape');
4
+
5
+ var hasNames = require('../');
6
+
7
+ test('named functions', function (t) {
8
+ function f() {} // eslint-disable-line func-style
9
+ var g = function h() {};
10
+
11
+ t.equal(typeof hasNames, 'function', 'is a function');
12
+ t.equal(hasNames(), f.name === 'f' && g.name === 'h', 'functions have names or not as expected');
13
+
14
+ t.end();
15
+ });
16
+
17
+ var oDP = Object.defineProperty;
18
+ if (oDP) {
19
+ try {
20
+ oDP({}, 'a', { value: 1 });
21
+ } catch (e) {
22
+ oDP = null;
23
+ }
24
+ }
25
+
26
+ test('functionsHaveConfigurableNames', function (t) {
27
+ t.equal(typeof hasNames.functionsHaveConfigurableNames, 'function', 'is a function');
28
+
29
+ if (hasNames()) {
30
+ var fn = function f() {};
31
+ if (oDP) {
32
+ try {
33
+ oDP(fn, 'name', { configurable: true, value: 'foo' });
34
+ } catch (e) {}
35
+ if (fn.name === 'f') {
36
+ t.equal(hasNames.functionsHaveConfigurableNames(), false, 'function names are not configurable');
37
+ } else if (fn.name === 'foo') {
38
+ t.equal(hasNames.functionsHaveConfigurableNames(), true, 'function names are not configurable');
39
+ } else {
40
+ t.fail('functions have names, but something surprising has happened. Please report this!');
41
+ }
42
+ } else {
43
+ t.equal(hasNames.functionsHaveConfigurableNames(), false, 'function names are not configurable');
44
+ }
45
+ } else {
46
+ t.equal(hasNames.functionsHaveConfigurableNames(), false, 'functions do not have names');
47
+ }
48
+
49
+ t.end();
50
+ });
51
+
52
+ test('boundFunctionsHaveNames', function (t) {
53
+ t.equal(typeof hasNames.boundFunctionsHaveNames, 'function', 'is a function');
54
+
55
+ var fn = function f() {};
56
+ if (typeof fn.bind !== 'function') {
57
+ t.equal(hasNames.boundFunctionsHaveNames(), false, 'bound functions do not have names, because .bind does not exist');
58
+ } else if (hasNames()) {
59
+ t.equal(hasNames.boundFunctionsHaveNames(), fn.bind().name !== '', 'bound functions have names');
60
+ } else {
61
+ t.equal(hasNames.boundFunctionsHaveNames(), false, 'bound functions do not have names, because none do');
62
+ }
63
+
64
+ t.end();
65
+ });