shell-mirror 1.5.140 → 1.5.143

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 (2457) hide show
  1. package/auth.js +8 -2
  2. package/mac-agent/.env.example +9 -0
  3. package/mac-agent/agent.js +46 -18
  4. package/package.json +4 -1
  5. package/public/app/config.js +12 -0
  6. package/public/app/dashboard.html +1 -0
  7. package/public/app/dashboard.js +10 -4
  8. package/public/app/terminal.html +38 -10
  9. package/public/app/terminal.js +210 -59
  10. package/mac-agent/.env +0 -9
  11. package/mac-agent/agent-debug.log +0 -143
  12. package/mac-agent/authorized-users.json +0 -35
  13. package/mac-agent/logs/http-agent.log +0 -823
  14. package/mac-agent/node +0 -0
  15. package/mac-agent/node_modules/.package-lock.json +0 -2255
  16. package/mac-agent/node_modules/@colors/colors/LICENSE +0 -26
  17. package/mac-agent/node_modules/@colors/colors/README.md +0 -219
  18. package/mac-agent/node_modules/@colors/colors/examples/normal-usage.js +0 -83
  19. package/mac-agent/node_modules/@colors/colors/examples/safe-string.js +0 -80
  20. package/mac-agent/node_modules/@colors/colors/index.d.ts +0 -184
  21. package/mac-agent/node_modules/@colors/colors/lib/colors.js +0 -211
  22. package/mac-agent/node_modules/@colors/colors/lib/custom/trap.js +0 -46
  23. package/mac-agent/node_modules/@colors/colors/lib/custom/zalgo.js +0 -110
  24. package/mac-agent/node_modules/@colors/colors/lib/extendStringPrototype.js +0 -110
  25. package/mac-agent/node_modules/@colors/colors/lib/index.js +0 -13
  26. package/mac-agent/node_modules/@colors/colors/lib/maps/america.js +0 -10
  27. package/mac-agent/node_modules/@colors/colors/lib/maps/rainbow.js +0 -12
  28. package/mac-agent/node_modules/@colors/colors/lib/maps/random.js +0 -11
  29. package/mac-agent/node_modules/@colors/colors/lib/maps/zebra.js +0 -5
  30. package/mac-agent/node_modules/@colors/colors/lib/styles.js +0 -95
  31. package/mac-agent/node_modules/@colors/colors/lib/system/has-flag.js +0 -35
  32. package/mac-agent/node_modules/@colors/colors/lib/system/supports-colors.js +0 -151
  33. package/mac-agent/node_modules/@colors/colors/package.json +0 -45
  34. package/mac-agent/node_modules/@colors/colors/safe.d.ts +0 -64
  35. package/mac-agent/node_modules/@colors/colors/safe.js +0 -10
  36. package/mac-agent/node_modules/@colors/colors/themes/generic-logging.js +0 -12
  37. package/mac-agent/node_modules/@dabh/diagnostics/CHANGELOG.md +0 -26
  38. package/mac-agent/node_modules/@dabh/diagnostics/LICENSE +0 -20
  39. package/mac-agent/node_modules/@dabh/diagnostics/README.md +0 -473
  40. package/mac-agent/node_modules/@dabh/diagnostics/adapters/hash.js +0 -11
  41. package/mac-agent/node_modules/@dabh/diagnostics/adapters/index.js +0 -18
  42. package/mac-agent/node_modules/@dabh/diagnostics/adapters/localstorage.js +0 -11
  43. package/mac-agent/node_modules/@dabh/diagnostics/adapters/process.env.js +0 -11
  44. package/mac-agent/node_modules/@dabh/diagnostics/browser/development.js +0 -35
  45. package/mac-agent/node_modules/@dabh/diagnostics/browser/index.js +0 -8
  46. package/mac-agent/node_modules/@dabh/diagnostics/browser/override.js +0 -6
  47. package/mac-agent/node_modules/@dabh/diagnostics/browser/production.js +0 -24
  48. package/mac-agent/node_modules/@dabh/diagnostics/diagnostics.js +0 -212
  49. package/mac-agent/node_modules/@dabh/diagnostics/logger/console.js +0 -19
  50. package/mac-agent/node_modules/@dabh/diagnostics/modifiers/namespace-ansi.js +0 -20
  51. package/mac-agent/node_modules/@dabh/diagnostics/modifiers/namespace.js +0 -32
  52. package/mac-agent/node_modules/@dabh/diagnostics/node/development.js +0 -36
  53. package/mac-agent/node_modules/@dabh/diagnostics/node/index.js +0 -8
  54. package/mac-agent/node_modules/@dabh/diagnostics/node/override.js +0 -21
  55. package/mac-agent/node_modules/@dabh/diagnostics/node/production.js +0 -24
  56. package/mac-agent/node_modules/@dabh/diagnostics/package.json +0 -64
  57. package/mac-agent/node_modules/@koush/wrtc/CMakeLists.txt +0 -664
  58. package/mac-agent/node_modules/@koush/wrtc/LICENSE.md +0 -30
  59. package/mac-agent/node_modules/@koush/wrtc/NodeJS.cmake +0 -638
  60. package/mac-agent/node_modules/@koush/wrtc/README.md +0 -120
  61. package/mac-agent/node_modules/@koush/wrtc/THIRD_PARTY_LICENSES.md +0 -1314
  62. package/mac-agent/node_modules/@koush/wrtc/build/Release/wrtc.node +0 -0
  63. package/mac-agent/node_modules/@koush/wrtc/build-linux-variants.sh +0 -10
  64. package/mac-agent/node_modules/@koush/wrtc/build-mac-variants.sh +0 -14
  65. package/mac-agent/node_modules/@koush/wrtc/clean.sh +0 -2
  66. package/mac-agent/node_modules/@koush/wrtc/lib/binding.js +0 -7
  67. package/mac-agent/node_modules/@koush/wrtc/lib/browser.js +0 -18
  68. package/mac-agent/node_modules/@koush/wrtc/lib/datachannelevent.js +0 -26
  69. package/mac-agent/node_modules/@koush/wrtc/lib/datachannelmessageevent.js +0 -9
  70. package/mac-agent/node_modules/@koush/wrtc/lib/error.js +0 -20
  71. package/mac-agent/node_modules/@koush/wrtc/lib/eventtarget.js +0 -50
  72. package/mac-agent/node_modules/@koush/wrtc/lib/icecandidate.js +0 -28
  73. package/mac-agent/node_modules/@koush/wrtc/lib/index.js +0 -81
  74. package/mac-agent/node_modules/@koush/wrtc/lib/mediadevices.js +0 -24
  75. package/mac-agent/node_modules/@koush/wrtc/lib/peerconnection.js +0 -313
  76. package/mac-agent/node_modules/@koush/wrtc/lib/rtcpeerconnectioniceerrorevent.js +0 -36
  77. package/mac-agent/node_modules/@koush/wrtc/lib/rtcpeerconnectioniceevent.js +0 -20
  78. package/mac-agent/node_modules/@koush/wrtc/lib/sessiondescription.js +0 -10
  79. package/mac-agent/node_modules/@koush/wrtc/package.json +0 -95
  80. package/mac-agent/node_modules/@koush/wrtc/scripts/build-appveyor.bat +0 -73
  81. package/mac-agent/node_modules/@koush/wrtc/scripts/build-from-source.js +0 -45
  82. package/mac-agent/node_modules/@koush/wrtc/scripts/build-webrtc.bat +0 -20
  83. package/mac-agent/node_modules/@koush/wrtc/scripts/build-webrtc.sh +0 -23
  84. package/mac-agent/node_modules/@koush/wrtc/scripts/configure-webrtc.bat +0 -28
  85. package/mac-agent/node_modules/@koush/wrtc/scripts/configure-webrtc.sh +0 -25
  86. package/mac-agent/node_modules/@koush/wrtc/scripts/download-prebuilt-or-build-from-source.js +0 -25
  87. package/mac-agent/node_modules/@koush/wrtc/scripts/download-prebuilt.js +0 -35
  88. package/mac-agent/node_modules/@koush/wrtc/scripts/download-webrtc.bat +0 -47
  89. package/mac-agent/node_modules/@koush/wrtc/scripts/download-webrtc.sh +0 -21
  90. package/mac-agent/node_modules/@koush/wrtc/scripts/install-example.js +0 -80
  91. package/mac-agent/node_modules/@koush/wrtc/scripts/karma.js +0 -70
  92. package/mac-agent/node_modules/@koush/wrtc/scripts/pack-webrtc.bat +0 -1
  93. package/mac-agent/node_modules/@koush/wrtc/scripts/pack-webrtc.js +0 -93
  94. package/mac-agent/node_modules/@koush/wrtc/scripts/pack-webrtc.sh +0 -38
  95. package/mac-agent/node_modules/@koush/wrtc/scripts/publish-to-npm.js +0 -98
  96. package/mac-agent/node_modules/@koush/wrtc/scripts/publish.js +0 -26
  97. package/mac-agent/node_modules/@koush/wrtc/scripts/run-tests.bat +0 -25
  98. package/mac-agent/node_modules/@koush/wrtc/scripts/unpack-webrtc.bat +0 -1
  99. package/mac-agent/node_modules/@koush/wrtc/scripts/unpack-webrtc.js +0 -36
  100. package/mac-agent/node_modules/@koush/wrtc/scripts/unpack-webrtc.sh +0 -28
  101. package/mac-agent/node_modules/@mapbox/node-pre-gyp/.github/workflows/codeql.yml +0 -74
  102. package/mac-agent/node_modules/@mapbox/node-pre-gyp/CHANGELOG.md +0 -510
  103. package/mac-agent/node_modules/@mapbox/node-pre-gyp/LICENSE +0 -27
  104. package/mac-agent/node_modules/@mapbox/node-pre-gyp/README.md +0 -742
  105. package/mac-agent/node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp +0 -4
  106. package/mac-agent/node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp.cmd +0 -2
  107. package/mac-agent/node_modules/@mapbox/node-pre-gyp/contributing.md +0 -10
  108. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/build.js +0 -51
  109. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/clean.js +0 -31
  110. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/configure.js +0 -52
  111. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/info.js +0 -38
  112. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/install.js +0 -235
  113. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/main.js +0 -125
  114. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/node-pre-gyp.js +0 -309
  115. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/package.js +0 -73
  116. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/pre-binding.js +0 -34
  117. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/publish.js +0 -81
  118. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/rebuild.js +0 -20
  119. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/reinstall.js +0 -19
  120. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/reveal.js +0 -32
  121. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/testbinary.js +0 -79
  122. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/testpackage.js +0 -53
  123. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/unpublish.js +0 -41
  124. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/abi_crosswalk.json +0 -2602
  125. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js +0 -93
  126. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/handle_gyp_opts.js +0 -102
  127. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/napi.js +0 -205
  128. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/index.html +0 -26
  129. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/package.json +0 -9
  130. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/s3_setup.js +0 -163
  131. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/versioning.js +0 -335
  132. package/mac-agent/node_modules/@mapbox/node-pre-gyp/package.json +0 -62
  133. package/mac-agent/node_modules/@types/triple-beam/LICENSE +0 -21
  134. package/mac-agent/node_modules/@types/triple-beam/README.md +0 -36
  135. package/mac-agent/node_modules/@types/triple-beam/index.d.ts +0 -17
  136. package/mac-agent/node_modules/@types/triple-beam/package.json +0 -25
  137. package/mac-agent/node_modules/abbrev/LICENSE +0 -46
  138. package/mac-agent/node_modules/abbrev/README.md +0 -23
  139. package/mac-agent/node_modules/abbrev/abbrev.js +0 -61
  140. package/mac-agent/node_modules/abbrev/package.json +0 -21
  141. package/mac-agent/node_modules/agent-base/README.md +0 -145
  142. package/mac-agent/node_modules/agent-base/dist/src/index.d.ts +0 -78
  143. package/mac-agent/node_modules/agent-base/dist/src/index.js +0 -203
  144. package/mac-agent/node_modules/agent-base/dist/src/index.js.map +0 -1
  145. package/mac-agent/node_modules/agent-base/dist/src/promisify.d.ts +0 -4
  146. package/mac-agent/node_modules/agent-base/dist/src/promisify.js +0 -18
  147. package/mac-agent/node_modules/agent-base/dist/src/promisify.js.map +0 -1
  148. package/mac-agent/node_modules/agent-base/package.json +0 -64
  149. package/mac-agent/node_modules/agent-base/src/index.ts +0 -345
  150. package/mac-agent/node_modules/agent-base/src/promisify.ts +0 -33
  151. package/mac-agent/node_modules/ansi-regex/index.d.ts +0 -37
  152. package/mac-agent/node_modules/ansi-regex/index.js +0 -10
  153. package/mac-agent/node_modules/ansi-regex/license +0 -9
  154. package/mac-agent/node_modules/ansi-regex/package.json +0 -55
  155. package/mac-agent/node_modules/ansi-regex/readme.md +0 -78
  156. package/mac-agent/node_modules/anymatch/LICENSE +0 -15
  157. package/mac-agent/node_modules/anymatch/README.md +0 -87
  158. package/mac-agent/node_modules/anymatch/index.d.ts +0 -20
  159. package/mac-agent/node_modules/anymatch/index.js +0 -104
  160. package/mac-agent/node_modules/anymatch/package.json +0 -48
  161. package/mac-agent/node_modules/aproba/LICENSE +0 -14
  162. package/mac-agent/node_modules/aproba/README.md +0 -94
  163. package/mac-agent/node_modules/aproba/index.js +0 -105
  164. package/mac-agent/node_modules/aproba/package.json +0 -35
  165. package/mac-agent/node_modules/are-we-there-yet/LICENSE.md +0 -18
  166. package/mac-agent/node_modules/are-we-there-yet/README.md +0 -208
  167. package/mac-agent/node_modules/are-we-there-yet/lib/index.js +0 -4
  168. package/mac-agent/node_modules/are-we-there-yet/lib/tracker-base.js +0 -11
  169. package/mac-agent/node_modules/are-we-there-yet/lib/tracker-group.js +0 -116
  170. package/mac-agent/node_modules/are-we-there-yet/lib/tracker-stream.js +0 -36
  171. package/mac-agent/node_modules/are-we-there-yet/lib/tracker.js +0 -32
  172. package/mac-agent/node_modules/are-we-there-yet/package.json +0 -53
  173. package/mac-agent/node_modules/async/CHANGELOG.md +0 -351
  174. package/mac-agent/node_modules/async/LICENSE +0 -19
  175. package/mac-agent/node_modules/async/README.md +0 -59
  176. package/mac-agent/node_modules/async/all.js +0 -119
  177. package/mac-agent/node_modules/async/allLimit.js +0 -46
  178. package/mac-agent/node_modules/async/allSeries.js +0 -45
  179. package/mac-agent/node_modules/async/any.js +0 -122
  180. package/mac-agent/node_modules/async/anyLimit.js +0 -47
  181. package/mac-agent/node_modules/async/anySeries.js +0 -46
  182. package/mac-agent/node_modules/async/apply.js +0 -11
  183. package/mac-agent/node_modules/async/applyEach.js +0 -57
  184. package/mac-agent/node_modules/async/applyEachSeries.js +0 -37
  185. package/mac-agent/node_modules/async/asyncify.js +0 -118
  186. package/mac-agent/node_modules/async/auto.js +0 -333
  187. package/mac-agent/node_modules/async/autoInject.js +0 -182
  188. package/mac-agent/node_modules/async/bower.json +0 -17
  189. package/mac-agent/node_modules/async/cargo.js +0 -63
  190. package/mac-agent/node_modules/async/cargoQueue.js +0 -71
  191. package/mac-agent/node_modules/async/compose.js +0 -55
  192. package/mac-agent/node_modules/async/concat.js +0 -115
  193. package/mac-agent/node_modules/async/concatLimit.js +0 -60
  194. package/mac-agent/node_modules/async/concatSeries.js +0 -41
  195. package/mac-agent/node_modules/async/constant.js +0 -14
  196. package/mac-agent/node_modules/async/detect.js +0 -96
  197. package/mac-agent/node_modules/async/detectLimit.js +0 -48
  198. package/mac-agent/node_modules/async/detectSeries.js +0 -47
  199. package/mac-agent/node_modules/async/dir.js +0 -43
  200. package/mac-agent/node_modules/async/dist/async.js +0 -6061
  201. package/mac-agent/node_modules/async/dist/async.min.js +0 -1
  202. package/mac-agent/node_modules/async/dist/async.mjs +0 -5948
  203. package/mac-agent/node_modules/async/doDuring.js +0 -68
  204. package/mac-agent/node_modules/async/doUntil.js +0 -46
  205. package/mac-agent/node_modules/async/doWhilst.js +0 -68
  206. package/mac-agent/node_modules/async/during.js +0 -78
  207. package/mac-agent/node_modules/async/each.js +0 -129
  208. package/mac-agent/node_modules/async/eachLimit.js +0 -50
  209. package/mac-agent/node_modules/async/eachOf.js +0 -185
  210. package/mac-agent/node_modules/async/eachOfLimit.js +0 -47
  211. package/mac-agent/node_modules/async/eachOfSeries.js +0 -39
  212. package/mac-agent/node_modules/async/eachSeries.js +0 -44
  213. package/mac-agent/node_modules/async/ensureAsync.js +0 -67
  214. package/mac-agent/node_modules/async/every.js +0 -119
  215. package/mac-agent/node_modules/async/everyLimit.js +0 -46
  216. package/mac-agent/node_modules/async/everySeries.js +0 -45
  217. package/mac-agent/node_modules/async/filter.js +0 -93
  218. package/mac-agent/node_modules/async/filterLimit.js +0 -45
  219. package/mac-agent/node_modules/async/filterSeries.js +0 -43
  220. package/mac-agent/node_modules/async/find.js +0 -96
  221. package/mac-agent/node_modules/async/findLimit.js +0 -48
  222. package/mac-agent/node_modules/async/findSeries.js +0 -47
  223. package/mac-agent/node_modules/async/flatMap.js +0 -115
  224. package/mac-agent/node_modules/async/flatMapLimit.js +0 -60
  225. package/mac-agent/node_modules/async/flatMapSeries.js +0 -41
  226. package/mac-agent/node_modules/async/foldl.js +0 -153
  227. package/mac-agent/node_modules/async/foldr.js +0 -41
  228. package/mac-agent/node_modules/async/forEach.js +0 -129
  229. package/mac-agent/node_modules/async/forEachLimit.js +0 -50
  230. package/mac-agent/node_modules/async/forEachOf.js +0 -185
  231. package/mac-agent/node_modules/async/forEachOfLimit.js +0 -47
  232. package/mac-agent/node_modules/async/forEachOfSeries.js +0 -39
  233. package/mac-agent/node_modules/async/forEachSeries.js +0 -44
  234. package/mac-agent/node_modules/async/forever.js +0 -68
  235. package/mac-agent/node_modules/async/groupBy.js +0 -108
  236. package/mac-agent/node_modules/async/groupByLimit.js +0 -71
  237. package/mac-agent/node_modules/async/groupBySeries.js +0 -36
  238. package/mac-agent/node_modules/async/index.js +0 -588
  239. package/mac-agent/node_modules/async/inject.js +0 -153
  240. package/mac-agent/node_modules/async/internal/DoublyLinkedList.js +0 -92
  241. package/mac-agent/node_modules/async/internal/Heap.js +0 -120
  242. package/mac-agent/node_modules/async/internal/applyEach.js +0 -29
  243. package/mac-agent/node_modules/async/internal/asyncEachOfLimit.js +0 -75
  244. package/mac-agent/node_modules/async/internal/awaitify.js +0 -28
  245. package/mac-agent/node_modules/async/internal/breakLoop.js +0 -10
  246. package/mac-agent/node_modules/async/internal/consoleFunc.js +0 -31
  247. package/mac-agent/node_modules/async/internal/createTester.js +0 -40
  248. package/mac-agent/node_modules/async/internal/eachOfLimit.js +0 -90
  249. package/mac-agent/node_modules/async/internal/filter.js +0 -55
  250. package/mac-agent/node_modules/async/internal/getIterator.js +0 -11
  251. package/mac-agent/node_modules/async/internal/initialParams.js +0 -14
  252. package/mac-agent/node_modules/async/internal/isArrayLike.js +0 -10
  253. package/mac-agent/node_modules/async/internal/iterator.js +0 -57
  254. package/mac-agent/node_modules/async/internal/map.js +0 -30
  255. package/mac-agent/node_modules/async/internal/once.js +0 -17
  256. package/mac-agent/node_modules/async/internal/onlyOnce.js +0 -15
  257. package/mac-agent/node_modules/async/internal/parallel.js +0 -34
  258. package/mac-agent/node_modules/async/internal/promiseCallback.js +0 -23
  259. package/mac-agent/node_modules/async/internal/queue.js +0 -294
  260. package/mac-agent/node_modules/async/internal/range.js +0 -14
  261. package/mac-agent/node_modules/async/internal/reject.js +0 -26
  262. package/mac-agent/node_modules/async/internal/setImmediate.js +0 -34
  263. package/mac-agent/node_modules/async/internal/withoutIndex.js +0 -10
  264. package/mac-agent/node_modules/async/internal/wrapAsync.js +0 -34
  265. package/mac-agent/node_modules/async/log.js +0 -41
  266. package/mac-agent/node_modules/async/map.js +0 -142
  267. package/mac-agent/node_modules/async/mapLimit.js +0 -45
  268. package/mac-agent/node_modules/async/mapSeries.js +0 -44
  269. package/mac-agent/node_modules/async/mapValues.js +0 -152
  270. package/mac-agent/node_modules/async/mapValuesLimit.js +0 -61
  271. package/mac-agent/node_modules/async/mapValuesSeries.js +0 -37
  272. package/mac-agent/node_modules/async/memoize.js +0 -91
  273. package/mac-agent/node_modules/async/nextTick.js +0 -52
  274. package/mac-agent/node_modules/async/package.json +0 -75
  275. package/mac-agent/node_modules/async/parallel.js +0 -180
  276. package/mac-agent/node_modules/async/parallelLimit.js +0 -41
  277. package/mac-agent/node_modules/async/priorityQueue.js +0 -60
  278. package/mac-agent/node_modules/async/queue.js +0 -24
  279. package/mac-agent/node_modules/async/race.js +0 -67
  280. package/mac-agent/node_modules/async/reduce.js +0 -153
  281. package/mac-agent/node_modules/async/reduceRight.js +0 -41
  282. package/mac-agent/node_modules/async/reflect.js +0 -78
  283. package/mac-agent/node_modules/async/reflectAll.js +0 -93
  284. package/mac-agent/node_modules/async/reject.js +0 -87
  285. package/mac-agent/node_modules/async/rejectLimit.js +0 -45
  286. package/mac-agent/node_modules/async/rejectSeries.js +0 -43
  287. package/mac-agent/node_modules/async/retry.js +0 -159
  288. package/mac-agent/node_modules/async/retryable.js +0 -77
  289. package/mac-agent/node_modules/async/select.js +0 -93
  290. package/mac-agent/node_modules/async/selectLimit.js +0 -45
  291. package/mac-agent/node_modules/async/selectSeries.js +0 -43
  292. package/mac-agent/node_modules/async/seq.js +0 -79
  293. package/mac-agent/node_modules/async/series.js +0 -186
  294. package/mac-agent/node_modules/async/setImmediate.js +0 -45
  295. package/mac-agent/node_modules/async/some.js +0 -122
  296. package/mac-agent/node_modules/async/someLimit.js +0 -47
  297. package/mac-agent/node_modules/async/someSeries.js +0 -46
  298. package/mac-agent/node_modules/async/sortBy.js +0 -190
  299. package/mac-agent/node_modules/async/timeout.js +0 -89
  300. package/mac-agent/node_modules/async/times.js +0 -50
  301. package/mac-agent/node_modules/async/timesLimit.js +0 -43
  302. package/mac-agent/node_modules/async/timesSeries.js +0 -32
  303. package/mac-agent/node_modules/async/transform.js +0 -173
  304. package/mac-agent/node_modules/async/tryEach.js +0 -78
  305. package/mac-agent/node_modules/async/unmemoize.js +0 -25
  306. package/mac-agent/node_modules/async/until.js +0 -61
  307. package/mac-agent/node_modules/async/waterfall.js +0 -105
  308. package/mac-agent/node_modules/async/whilst.js +0 -78
  309. package/mac-agent/node_modules/async/wrapSync.js +0 -118
  310. package/mac-agent/node_modules/asynckit/LICENSE +0 -21
  311. package/mac-agent/node_modules/asynckit/README.md +0 -233
  312. package/mac-agent/node_modules/asynckit/bench.js +0 -76
  313. package/mac-agent/node_modules/asynckit/index.js +0 -6
  314. package/mac-agent/node_modules/asynckit/lib/abort.js +0 -29
  315. package/mac-agent/node_modules/asynckit/lib/async.js +0 -34
  316. package/mac-agent/node_modules/asynckit/lib/defer.js +0 -26
  317. package/mac-agent/node_modules/asynckit/lib/iterate.js +0 -75
  318. package/mac-agent/node_modules/asynckit/lib/readable_asynckit.js +0 -91
  319. package/mac-agent/node_modules/asynckit/lib/readable_parallel.js +0 -25
  320. package/mac-agent/node_modules/asynckit/lib/readable_serial.js +0 -25
  321. package/mac-agent/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
  322. package/mac-agent/node_modules/asynckit/lib/state.js +0 -37
  323. package/mac-agent/node_modules/asynckit/lib/streamify.js +0 -141
  324. package/mac-agent/node_modules/asynckit/lib/terminator.js +0 -29
  325. package/mac-agent/node_modules/asynckit/package.json +0 -63
  326. package/mac-agent/node_modules/asynckit/parallel.js +0 -43
  327. package/mac-agent/node_modules/asynckit/serial.js +0 -17
  328. package/mac-agent/node_modules/asynckit/serialOrdered.js +0 -75
  329. package/mac-agent/node_modules/asynckit/stream.js +0 -21
  330. package/mac-agent/node_modules/axios/CHANGELOG.md +0 -1220
  331. package/mac-agent/node_modules/axios/LICENSE +0 -7
  332. package/mac-agent/node_modules/axios/MIGRATION_GUIDE.md +0 -3
  333. package/mac-agent/node_modules/axios/README.md +0 -1682
  334. package/mac-agent/node_modules/axios/dist/axios.js +0 -4296
  335. package/mac-agent/node_modules/axios/dist/axios.js.map +0 -1
  336. package/mac-agent/node_modules/axios/dist/axios.min.js +0 -3
  337. package/mac-agent/node_modules/axios/dist/axios.min.js.map +0 -1
  338. package/mac-agent/node_modules/axios/dist/browser/axios.cjs +0 -3730
  339. package/mac-agent/node_modules/axios/dist/browser/axios.cjs.map +0 -1
  340. package/mac-agent/node_modules/axios/dist/esm/axios.js +0 -3753
  341. package/mac-agent/node_modules/axios/dist/esm/axios.js.map +0 -1
  342. package/mac-agent/node_modules/axios/dist/esm/axios.min.js +0 -3
  343. package/mac-agent/node_modules/axios/dist/esm/axios.min.js.map +0 -1
  344. package/mac-agent/node_modules/axios/dist/node/axios.cjs +0 -4787
  345. package/mac-agent/node_modules/axios/dist/node/axios.cjs.map +0 -1
  346. package/mac-agent/node_modules/axios/index.d.cts +0 -550
  347. package/mac-agent/node_modules/axios/index.d.ts +0 -572
  348. package/mac-agent/node_modules/axios/index.js +0 -43
  349. package/mac-agent/node_modules/axios/lib/adapters/README.md +0 -37
  350. package/mac-agent/node_modules/axios/lib/adapters/adapters.js +0 -79
  351. package/mac-agent/node_modules/axios/lib/adapters/fetch.js +0 -229
  352. package/mac-agent/node_modules/axios/lib/adapters/http.js +0 -695
  353. package/mac-agent/node_modules/axios/lib/adapters/xhr.js +0 -197
  354. package/mac-agent/node_modules/axios/lib/axios.js +0 -89
  355. package/mac-agent/node_modules/axios/lib/cancel/CancelToken.js +0 -135
  356. package/mac-agent/node_modules/axios/lib/cancel/CanceledError.js +0 -25
  357. package/mac-agent/node_modules/axios/lib/cancel/isCancel.js +0 -5
  358. package/mac-agent/node_modules/axios/lib/core/Axios.js +0 -242
  359. package/mac-agent/node_modules/axios/lib/core/AxiosError.js +0 -103
  360. package/mac-agent/node_modules/axios/lib/core/AxiosHeaders.js +0 -314
  361. package/mac-agent/node_modules/axios/lib/core/InterceptorManager.js +0 -71
  362. package/mac-agent/node_modules/axios/lib/core/README.md +0 -8
  363. package/mac-agent/node_modules/axios/lib/core/buildFullPath.js +0 -22
  364. package/mac-agent/node_modules/axios/lib/core/dispatchRequest.js +0 -81
  365. package/mac-agent/node_modules/axios/lib/core/mergeConfig.js +0 -106
  366. package/mac-agent/node_modules/axios/lib/core/settle.js +0 -27
  367. package/mac-agent/node_modules/axios/lib/core/transformData.js +0 -28
  368. package/mac-agent/node_modules/axios/lib/defaults/index.js +0 -161
  369. package/mac-agent/node_modules/axios/lib/defaults/transitional.js +0 -7
  370. package/mac-agent/node_modules/axios/lib/env/README.md +0 -3
  371. package/mac-agent/node_modules/axios/lib/env/classes/FormData.js +0 -2
  372. package/mac-agent/node_modules/axios/lib/env/data.js +0 -1
  373. package/mac-agent/node_modules/axios/lib/helpers/AxiosTransformStream.js +0 -143
  374. package/mac-agent/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -58
  375. package/mac-agent/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -71
  376. package/mac-agent/node_modules/axios/lib/helpers/README.md +0 -7
  377. package/mac-agent/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +0 -28
  378. package/mac-agent/node_modules/axios/lib/helpers/bind.js +0 -7
  379. package/mac-agent/node_modules/axios/lib/helpers/buildURL.js +0 -69
  380. package/mac-agent/node_modules/axios/lib/helpers/callbackify.js +0 -16
  381. package/mac-agent/node_modules/axios/lib/helpers/combineURLs.js +0 -15
  382. package/mac-agent/node_modules/axios/lib/helpers/composeSignals.js +0 -48
  383. package/mac-agent/node_modules/axios/lib/helpers/cookies.js +0 -42
  384. package/mac-agent/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -26
  385. package/mac-agent/node_modules/axios/lib/helpers/formDataToJSON.js +0 -95
  386. package/mac-agent/node_modules/axios/lib/helpers/formDataToStream.js +0 -112
  387. package/mac-agent/node_modules/axios/lib/helpers/fromDataURI.js +0 -53
  388. package/mac-agent/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -15
  389. package/mac-agent/node_modules/axios/lib/helpers/isAxiosError.js +0 -14
  390. package/mac-agent/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -14
  391. package/mac-agent/node_modules/axios/lib/helpers/null.js +0 -2
  392. package/mac-agent/node_modules/axios/lib/helpers/parseHeaders.js +0 -55
  393. package/mac-agent/node_modules/axios/lib/helpers/parseProtocol.js +0 -6
  394. package/mac-agent/node_modules/axios/lib/helpers/progressEventReducer.js +0 -44
  395. package/mac-agent/node_modules/axios/lib/helpers/readBlob.js +0 -15
  396. package/mac-agent/node_modules/axios/lib/helpers/resolveConfig.js +0 -57
  397. package/mac-agent/node_modules/axios/lib/helpers/speedometer.js +0 -55
  398. package/mac-agent/node_modules/axios/lib/helpers/spread.js +0 -28
  399. package/mac-agent/node_modules/axios/lib/helpers/throttle.js +0 -44
  400. package/mac-agent/node_modules/axios/lib/helpers/toFormData.js +0 -223
  401. package/mac-agent/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -18
  402. package/mac-agent/node_modules/axios/lib/helpers/trackStream.js +0 -87
  403. package/mac-agent/node_modules/axios/lib/helpers/validator.js +0 -99
  404. package/mac-agent/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -3
  405. package/mac-agent/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -3
  406. package/mac-agent/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -4
  407. package/mac-agent/node_modules/axios/lib/platform/browser/index.js +0 -13
  408. package/mac-agent/node_modules/axios/lib/platform/common/utils.js +0 -51
  409. package/mac-agent/node_modules/axios/lib/platform/index.js +0 -7
  410. package/mac-agent/node_modules/axios/lib/platform/node/classes/FormData.js +0 -3
  411. package/mac-agent/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -4
  412. package/mac-agent/node_modules/axios/lib/platform/node/index.js +0 -38
  413. package/mac-agent/node_modules/axios/lib/utils.js +0 -744
  414. package/mac-agent/node_modules/axios/package.json +0 -228
  415. package/mac-agent/node_modules/balanced-match/.github/FUNDING.yml +0 -2
  416. package/mac-agent/node_modules/balanced-match/LICENSE.md +0 -21
  417. package/mac-agent/node_modules/balanced-match/README.md +0 -97
  418. package/mac-agent/node_modules/balanced-match/index.js +0 -62
  419. package/mac-agent/node_modules/balanced-match/package.json +0 -48
  420. package/mac-agent/node_modules/binary-extensions/binary-extensions.json +0 -263
  421. package/mac-agent/node_modules/binary-extensions/binary-extensions.json.d.ts +0 -3
  422. package/mac-agent/node_modules/binary-extensions/index.d.ts +0 -14
  423. package/mac-agent/node_modules/binary-extensions/index.js +0 -1
  424. package/mac-agent/node_modules/binary-extensions/license +0 -10
  425. package/mac-agent/node_modules/binary-extensions/package.json +0 -40
  426. package/mac-agent/node_modules/binary-extensions/readme.md +0 -25
  427. package/mac-agent/node_modules/brace-expansion/LICENSE +0 -21
  428. package/mac-agent/node_modules/brace-expansion/README.md +0 -129
  429. package/mac-agent/node_modules/brace-expansion/index.js +0 -201
  430. package/mac-agent/node_modules/brace-expansion/package.json +0 -50
  431. package/mac-agent/node_modules/braces/LICENSE +0 -21
  432. package/mac-agent/node_modules/braces/README.md +0 -586
  433. package/mac-agent/node_modules/braces/index.js +0 -170
  434. package/mac-agent/node_modules/braces/lib/compile.js +0 -60
  435. package/mac-agent/node_modules/braces/lib/constants.js +0 -57
  436. package/mac-agent/node_modules/braces/lib/expand.js +0 -113
  437. package/mac-agent/node_modules/braces/lib/parse.js +0 -331
  438. package/mac-agent/node_modules/braces/lib/stringify.js +0 -32
  439. package/mac-agent/node_modules/braces/lib/utils.js +0 -122
  440. package/mac-agent/node_modules/braces/package.json +0 -77
  441. package/mac-agent/node_modules/call-bind/.eslintignore +0 -1
  442. package/mac-agent/node_modules/call-bind/.eslintrc +0 -16
  443. package/mac-agent/node_modules/call-bind/.github/FUNDING.yml +0 -12
  444. package/mac-agent/node_modules/call-bind/.nycrc +0 -9
  445. package/mac-agent/node_modules/call-bind/CHANGELOG.md +0 -106
  446. package/mac-agent/node_modules/call-bind/LICENSE +0 -21
  447. package/mac-agent/node_modules/call-bind/README.md +0 -64
  448. package/mac-agent/node_modules/call-bind/callBound.js +0 -15
  449. package/mac-agent/node_modules/call-bind/index.js +0 -24
  450. package/mac-agent/node_modules/call-bind/package.json +0 -93
  451. package/mac-agent/node_modules/call-bind/test/callBound.js +0 -54
  452. package/mac-agent/node_modules/call-bind/test/index.js +0 -74
  453. package/mac-agent/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
  454. package/mac-agent/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
  455. package/mac-agent/node_modules/call-bind-apply-helpers/.nycrc +0 -9
  456. package/mac-agent/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
  457. package/mac-agent/node_modules/call-bind-apply-helpers/LICENSE +0 -21
  458. package/mac-agent/node_modules/call-bind-apply-helpers/README.md +0 -62
  459. package/mac-agent/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
  460. package/mac-agent/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
  461. package/mac-agent/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
  462. package/mac-agent/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
  463. package/mac-agent/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
  464. package/mac-agent/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
  465. package/mac-agent/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
  466. package/mac-agent/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
  467. package/mac-agent/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
  468. package/mac-agent/node_modules/call-bind-apply-helpers/index.js +0 -15
  469. package/mac-agent/node_modules/call-bind-apply-helpers/package.json +0 -85
  470. package/mac-agent/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
  471. package/mac-agent/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
  472. package/mac-agent/node_modules/call-bind-apply-helpers/test/index.js +0 -63
  473. package/mac-agent/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
  474. package/mac-agent/node_modules/call-bound/.eslintrc +0 -13
  475. package/mac-agent/node_modules/call-bound/.github/FUNDING.yml +0 -12
  476. package/mac-agent/node_modules/call-bound/.nycrc +0 -9
  477. package/mac-agent/node_modules/call-bound/CHANGELOG.md +0 -42
  478. package/mac-agent/node_modules/call-bound/LICENSE +0 -21
  479. package/mac-agent/node_modules/call-bound/README.md +0 -53
  480. package/mac-agent/node_modules/call-bound/index.d.ts +0 -94
  481. package/mac-agent/node_modules/call-bound/index.js +0 -19
  482. package/mac-agent/node_modules/call-bound/package.json +0 -99
  483. package/mac-agent/node_modules/call-bound/test/index.js +0 -61
  484. package/mac-agent/node_modules/call-bound/tsconfig.json +0 -10
  485. package/mac-agent/node_modules/camelcase/index.js +0 -56
  486. package/mac-agent/node_modules/camelcase/license +0 -21
  487. package/mac-agent/node_modules/camelcase/package.json +0 -39
  488. package/mac-agent/node_modules/camelcase/readme.md +0 -57
  489. package/mac-agent/node_modules/chokidar/LICENSE +0 -21
  490. package/mac-agent/node_modules/chokidar/README.md +0 -308
  491. package/mac-agent/node_modules/chokidar/index.js +0 -973
  492. package/mac-agent/node_modules/chokidar/lib/constants.js +0 -66
  493. package/mac-agent/node_modules/chokidar/lib/fsevents-handler.js +0 -526
  494. package/mac-agent/node_modules/chokidar/lib/nodefs-handler.js +0 -654
  495. package/mac-agent/node_modules/chokidar/package.json +0 -70
  496. package/mac-agent/node_modules/chokidar/types/index.d.ts +0 -192
  497. package/mac-agent/node_modules/chownr/LICENSE +0 -15
  498. package/mac-agent/node_modules/chownr/README.md +0 -3
  499. package/mac-agent/node_modules/chownr/chownr.js +0 -167
  500. package/mac-agent/node_modules/chownr/package.json +0 -32
  501. package/mac-agent/node_modules/cliui/CHANGELOG.md +0 -15
  502. package/mac-agent/node_modules/cliui/LICENSE.txt +0 -14
  503. package/mac-agent/node_modules/cliui/README.md +0 -110
  504. package/mac-agent/node_modules/cliui/index.js +0 -316
  505. package/mac-agent/node_modules/cliui/node_modules/ansi-regex/index.js +0 -4
  506. package/mac-agent/node_modules/cliui/node_modules/ansi-regex/license +0 -21
  507. package/mac-agent/node_modules/cliui/node_modules/ansi-regex/package.json +0 -64
  508. package/mac-agent/node_modules/cliui/node_modules/ansi-regex/readme.md +0 -39
  509. package/mac-agent/node_modules/cliui/node_modules/is-fullwidth-code-point/index.js +0 -46
  510. package/mac-agent/node_modules/cliui/node_modules/is-fullwidth-code-point/license +0 -21
  511. package/mac-agent/node_modules/cliui/node_modules/is-fullwidth-code-point/package.json +0 -45
  512. package/mac-agent/node_modules/cliui/node_modules/is-fullwidth-code-point/readme.md +0 -39
  513. package/mac-agent/node_modules/cliui/node_modules/string-width/index.js +0 -37
  514. package/mac-agent/node_modules/cliui/node_modules/string-width/license +0 -21
  515. package/mac-agent/node_modules/cliui/node_modules/string-width/package.json +0 -56
  516. package/mac-agent/node_modules/cliui/node_modules/string-width/readme.md +0 -42
  517. package/mac-agent/node_modules/cliui/node_modules/strip-ansi/index.js +0 -6
  518. package/mac-agent/node_modules/cliui/node_modules/strip-ansi/license +0 -21
  519. package/mac-agent/node_modules/cliui/node_modules/strip-ansi/package.json +0 -57
  520. package/mac-agent/node_modules/cliui/node_modules/strip-ansi/readme.md +0 -33
  521. package/mac-agent/node_modules/cliui/package.json +0 -64
  522. package/mac-agent/node_modules/code-point-at/index.js +0 -32
  523. package/mac-agent/node_modules/code-point-at/license +0 -21
  524. package/mac-agent/node_modules/code-point-at/package.json +0 -38
  525. package/mac-agent/node_modules/code-point-at/readme.md +0 -32
  526. package/mac-agent/node_modules/color/LICENSE +0 -21
  527. package/mac-agent/node_modules/color/README.md +0 -123
  528. package/mac-agent/node_modules/color/index.js +0 -482
  529. package/mac-agent/node_modules/color/package.json +0 -40
  530. package/mac-agent/node_modules/color-convert/CHANGELOG.md +0 -54
  531. package/mac-agent/node_modules/color-convert/LICENSE +0 -21
  532. package/mac-agent/node_modules/color-convert/README.md +0 -68
  533. package/mac-agent/node_modules/color-convert/conversions.js +0 -868
  534. package/mac-agent/node_modules/color-convert/index.js +0 -78
  535. package/mac-agent/node_modules/color-convert/package.json +0 -46
  536. package/mac-agent/node_modules/color-convert/route.js +0 -97
  537. package/mac-agent/node_modules/color-name/.eslintrc.json +0 -43
  538. package/mac-agent/node_modules/color-name/LICENSE +0 -8
  539. package/mac-agent/node_modules/color-name/README.md +0 -11
  540. package/mac-agent/node_modules/color-name/index.js +0 -152
  541. package/mac-agent/node_modules/color-name/package.json +0 -25
  542. package/mac-agent/node_modules/color-name/test.js +0 -7
  543. package/mac-agent/node_modules/color-string/LICENSE +0 -21
  544. package/mac-agent/node_modules/color-string/README.md +0 -62
  545. package/mac-agent/node_modules/color-string/index.js +0 -242
  546. package/mac-agent/node_modules/color-string/package.json +0 -39
  547. package/mac-agent/node_modules/color-support/LICENSE +0 -15
  548. package/mac-agent/node_modules/color-support/README.md +0 -129
  549. package/mac-agent/node_modules/color-support/bin.js +0 -3
  550. package/mac-agent/node_modules/color-support/browser.js +0 -14
  551. package/mac-agent/node_modules/color-support/index.js +0 -134
  552. package/mac-agent/node_modules/color-support/package.json +0 -36
  553. package/mac-agent/node_modules/colorspace/LICENSE.md +0 -20
  554. package/mac-agent/node_modules/colorspace/README.md +0 -43
  555. package/mac-agent/node_modules/colorspace/index.js +0 -29
  556. package/mac-agent/node_modules/colorspace/package.json +0 -37
  557. package/mac-agent/node_modules/combined-stream/License +0 -19
  558. package/mac-agent/node_modules/combined-stream/Readme.md +0 -138
  559. package/mac-agent/node_modules/combined-stream/lib/combined_stream.js +0 -208
  560. package/mac-agent/node_modules/combined-stream/package.json +0 -25
  561. package/mac-agent/node_modules/combined-stream/yarn.lock +0 -17
  562. package/mac-agent/node_modules/concat-map/.travis.yml +0 -4
  563. package/mac-agent/node_modules/concat-map/LICENSE +0 -18
  564. package/mac-agent/node_modules/concat-map/README.markdown +0 -62
  565. package/mac-agent/node_modules/concat-map/example/map.js +0 -6
  566. package/mac-agent/node_modules/concat-map/index.js +0 -13
  567. package/mac-agent/node_modules/concat-map/package.json +0 -43
  568. package/mac-agent/node_modules/concat-map/test/map.js +0 -39
  569. package/mac-agent/node_modules/console-control-strings/LICENSE +0 -13
  570. package/mac-agent/node_modules/console-control-strings/README.md +0 -145
  571. package/mac-agent/node_modules/console-control-strings/README.md~ +0 -140
  572. package/mac-agent/node_modules/console-control-strings/index.js +0 -125
  573. package/mac-agent/node_modules/console-control-strings/package.json +0 -27
  574. package/mac-agent/node_modules/debug/LICENSE +0 -20
  575. package/mac-agent/node_modules/debug/README.md +0 -481
  576. package/mac-agent/node_modules/debug/package.json +0 -64
  577. package/mac-agent/node_modules/debug/src/browser.js +0 -272
  578. package/mac-agent/node_modules/debug/src/common.js +0 -292
  579. package/mac-agent/node_modules/debug/src/index.js +0 -10
  580. package/mac-agent/node_modules/debug/src/node.js +0 -263
  581. package/mac-agent/node_modules/decamelize/index.js +0 -13
  582. package/mac-agent/node_modules/decamelize/license +0 -21
  583. package/mac-agent/node_modules/decamelize/package.json +0 -38
  584. package/mac-agent/node_modules/decamelize/readme.md +0 -48
  585. package/mac-agent/node_modules/define-data-property/.eslintrc +0 -24
  586. package/mac-agent/node_modules/define-data-property/.github/FUNDING.yml +0 -12
  587. package/mac-agent/node_modules/define-data-property/.nycrc +0 -13
  588. package/mac-agent/node_modules/define-data-property/CHANGELOG.md +0 -70
  589. package/mac-agent/node_modules/define-data-property/LICENSE +0 -21
  590. package/mac-agent/node_modules/define-data-property/README.md +0 -67
  591. package/mac-agent/node_modules/define-data-property/index.d.ts +0 -12
  592. package/mac-agent/node_modules/define-data-property/index.js +0 -56
  593. package/mac-agent/node_modules/define-data-property/package.json +0 -106
  594. package/mac-agent/node_modules/define-data-property/test/index.js +0 -392
  595. package/mac-agent/node_modules/define-data-property/tsconfig.json +0 -59
  596. package/mac-agent/node_modules/define-properties/.editorconfig +0 -13
  597. package/mac-agent/node_modules/define-properties/.eslintrc +0 -19
  598. package/mac-agent/node_modules/define-properties/.github/FUNDING.yml +0 -12
  599. package/mac-agent/node_modules/define-properties/.nycrc +0 -9
  600. package/mac-agent/node_modules/define-properties/CHANGELOG.md +0 -91
  601. package/mac-agent/node_modules/define-properties/LICENSE +0 -21
  602. package/mac-agent/node_modules/define-properties/README.md +0 -84
  603. package/mac-agent/node_modules/define-properties/index.js +0 -47
  604. package/mac-agent/node_modules/define-properties/package.json +0 -88
  605. package/mac-agent/node_modules/delayed-stream/License +0 -19
  606. package/mac-agent/node_modules/delayed-stream/Makefile +0 -7
  607. package/mac-agent/node_modules/delayed-stream/Readme.md +0 -141
  608. package/mac-agent/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
  609. package/mac-agent/node_modules/delayed-stream/package.json +0 -27
  610. package/mac-agent/node_modules/delegates/History.md +0 -22
  611. package/mac-agent/node_modules/delegates/License +0 -20
  612. package/mac-agent/node_modules/delegates/Makefile +0 -8
  613. package/mac-agent/node_modules/delegates/Readme.md +0 -94
  614. package/mac-agent/node_modules/delegates/index.js +0 -121
  615. package/mac-agent/node_modules/delegates/package.json +0 -13
  616. package/mac-agent/node_modules/delegates/test/index.js +0 -94
  617. package/mac-agent/node_modules/detect-libc/LICENSE +0 -201
  618. package/mac-agent/node_modules/detect-libc/README.md +0 -163
  619. package/mac-agent/node_modules/detect-libc/index.d.ts +0 -14
  620. package/mac-agent/node_modules/detect-libc/lib/detect-libc.js +0 -267
  621. package/mac-agent/node_modules/detect-libc/lib/filesystem.js +0 -41
  622. package/mac-agent/node_modules/detect-libc/lib/process.js +0 -24
  623. package/mac-agent/node_modules/detect-libc/package.json +0 -41
  624. package/mac-agent/node_modules/domexception/LICENSE.txt +0 -21
  625. package/mac-agent/node_modules/domexception/README.md +0 -19
  626. package/mac-agent/node_modules/domexception/lib/DOMException-impl.js +0 -22
  627. package/mac-agent/node_modules/domexception/lib/DOMException.js +0 -368
  628. package/mac-agent/node_modules/domexception/lib/legacy-error-codes.json +0 -27
  629. package/mac-agent/node_modules/domexception/lib/public-api.js +0 -5
  630. package/mac-agent/node_modules/domexception/lib/utils.js +0 -86
  631. package/mac-agent/node_modules/domexception/package.json +0 -36
  632. package/mac-agent/node_modules/dotenv/CHANGELOG.md +0 -520
  633. package/mac-agent/node_modules/dotenv/LICENSE +0 -23
  634. package/mac-agent/node_modules/dotenv/README-es.md +0 -411
  635. package/mac-agent/node_modules/dotenv/README.md +0 -645
  636. package/mac-agent/node_modules/dotenv/SECURITY.md +0 -1
  637. package/mac-agent/node_modules/dotenv/config.d.ts +0 -1
  638. package/mac-agent/node_modules/dotenv/config.js +0 -9
  639. package/mac-agent/node_modules/dotenv/lib/cli-options.js +0 -17
  640. package/mac-agent/node_modules/dotenv/lib/env-options.js +0 -28
  641. package/mac-agent/node_modules/dotenv/lib/main.d.ts +0 -162
  642. package/mac-agent/node_modules/dotenv/lib/main.js +0 -386
  643. package/mac-agent/node_modules/dotenv/package.json +0 -62
  644. package/mac-agent/node_modules/dunder-proto/.eslintrc +0 -5
  645. package/mac-agent/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
  646. package/mac-agent/node_modules/dunder-proto/.nycrc +0 -13
  647. package/mac-agent/node_modules/dunder-proto/CHANGELOG.md +0 -24
  648. package/mac-agent/node_modules/dunder-proto/LICENSE +0 -21
  649. package/mac-agent/node_modules/dunder-proto/README.md +0 -54
  650. package/mac-agent/node_modules/dunder-proto/get.d.ts +0 -5
  651. package/mac-agent/node_modules/dunder-proto/get.js +0 -30
  652. package/mac-agent/node_modules/dunder-proto/package.json +0 -76
  653. package/mac-agent/node_modules/dunder-proto/set.d.ts +0 -5
  654. package/mac-agent/node_modules/dunder-proto/set.js +0 -35
  655. package/mac-agent/node_modules/dunder-proto/test/get.js +0 -34
  656. package/mac-agent/node_modules/dunder-proto/test/index.js +0 -4
  657. package/mac-agent/node_modules/dunder-proto/test/set.js +0 -50
  658. package/mac-agent/node_modules/dunder-proto/tsconfig.json +0 -9
  659. package/mac-agent/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  660. package/mac-agent/node_modules/emoji-regex/README.md +0 -73
  661. package/mac-agent/node_modules/emoji-regex/es2015/index.js +0 -6
  662. package/mac-agent/node_modules/emoji-regex/es2015/text.js +0 -6
  663. package/mac-agent/node_modules/emoji-regex/index.d.ts +0 -23
  664. package/mac-agent/node_modules/emoji-regex/index.js +0 -6
  665. package/mac-agent/node_modules/emoji-regex/package.json +0 -50
  666. package/mac-agent/node_modules/emoji-regex/text.js +0 -6
  667. package/mac-agent/node_modules/enabled/.travis.yml +0 -9
  668. package/mac-agent/node_modules/enabled/LICENSE +0 -20
  669. package/mac-agent/node_modules/enabled/README.md +0 -68
  670. package/mac-agent/node_modules/enabled/index.js +0 -34
  671. package/mac-agent/node_modules/enabled/package.json +0 -33
  672. package/mac-agent/node_modules/enabled/test.js +0 -39
  673. package/mac-agent/node_modules/error-ex/LICENSE +0 -21
  674. package/mac-agent/node_modules/error-ex/README.md +0 -144
  675. package/mac-agent/node_modules/error-ex/index.js +0 -141
  676. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/.editorconfig +0 -18
  677. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/.istanbul.yml +0 -4
  678. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/.travis.yml +0 -17
  679. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/LICENSE +0 -21
  680. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/README.md +0 -16
  681. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/index.js +0 -10
  682. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/package.json +0 -34
  683. package/mac-agent/node_modules/error-ex/package.json +0 -46
  684. package/mac-agent/node_modules/es-define-property/.eslintrc +0 -13
  685. package/mac-agent/node_modules/es-define-property/.github/FUNDING.yml +0 -12
  686. package/mac-agent/node_modules/es-define-property/.nycrc +0 -9
  687. package/mac-agent/node_modules/es-define-property/CHANGELOG.md +0 -29
  688. package/mac-agent/node_modules/es-define-property/LICENSE +0 -21
  689. package/mac-agent/node_modules/es-define-property/README.md +0 -49
  690. package/mac-agent/node_modules/es-define-property/index.d.ts +0 -3
  691. package/mac-agent/node_modules/es-define-property/index.js +0 -14
  692. package/mac-agent/node_modules/es-define-property/package.json +0 -81
  693. package/mac-agent/node_modules/es-define-property/test/index.js +0 -56
  694. package/mac-agent/node_modules/es-define-property/tsconfig.json +0 -10
  695. package/mac-agent/node_modules/es-errors/.eslintrc +0 -5
  696. package/mac-agent/node_modules/es-errors/.github/FUNDING.yml +0 -12
  697. package/mac-agent/node_modules/es-errors/CHANGELOG.md +0 -40
  698. package/mac-agent/node_modules/es-errors/LICENSE +0 -21
  699. package/mac-agent/node_modules/es-errors/README.md +0 -55
  700. package/mac-agent/node_modules/es-errors/eval.d.ts +0 -3
  701. package/mac-agent/node_modules/es-errors/eval.js +0 -4
  702. package/mac-agent/node_modules/es-errors/index.d.ts +0 -3
  703. package/mac-agent/node_modules/es-errors/index.js +0 -4
  704. package/mac-agent/node_modules/es-errors/package.json +0 -80
  705. package/mac-agent/node_modules/es-errors/range.d.ts +0 -3
  706. package/mac-agent/node_modules/es-errors/range.js +0 -4
  707. package/mac-agent/node_modules/es-errors/ref.d.ts +0 -3
  708. package/mac-agent/node_modules/es-errors/ref.js +0 -4
  709. package/mac-agent/node_modules/es-errors/syntax.d.ts +0 -3
  710. package/mac-agent/node_modules/es-errors/syntax.js +0 -4
  711. package/mac-agent/node_modules/es-errors/test/index.js +0 -19
  712. package/mac-agent/node_modules/es-errors/tsconfig.json +0 -49
  713. package/mac-agent/node_modules/es-errors/type.d.ts +0 -3
  714. package/mac-agent/node_modules/es-errors/type.js +0 -4
  715. package/mac-agent/node_modules/es-errors/uri.d.ts +0 -3
  716. package/mac-agent/node_modules/es-errors/uri.js +0 -4
  717. package/mac-agent/node_modules/es-object-atoms/.eslintrc +0 -16
  718. package/mac-agent/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
  719. package/mac-agent/node_modules/es-object-atoms/CHANGELOG.md +0 -37
  720. package/mac-agent/node_modules/es-object-atoms/LICENSE +0 -21
  721. package/mac-agent/node_modules/es-object-atoms/README.md +0 -63
  722. package/mac-agent/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
  723. package/mac-agent/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
  724. package/mac-agent/node_modules/es-object-atoms/ToObject.d.ts +0 -7
  725. package/mac-agent/node_modules/es-object-atoms/ToObject.js +0 -10
  726. package/mac-agent/node_modules/es-object-atoms/index.d.ts +0 -3
  727. package/mac-agent/node_modules/es-object-atoms/index.js +0 -4
  728. package/mac-agent/node_modules/es-object-atoms/isObject.d.ts +0 -3
  729. package/mac-agent/node_modules/es-object-atoms/isObject.js +0 -6
  730. package/mac-agent/node_modules/es-object-atoms/package.json +0 -80
  731. package/mac-agent/node_modules/es-object-atoms/test/index.js +0 -38
  732. package/mac-agent/node_modules/es-object-atoms/tsconfig.json +0 -6
  733. package/mac-agent/node_modules/es-set-tostringtag/.eslintrc +0 -13
  734. package/mac-agent/node_modules/es-set-tostringtag/.nycrc +0 -9
  735. package/mac-agent/node_modules/es-set-tostringtag/CHANGELOG.md +0 -67
  736. package/mac-agent/node_modules/es-set-tostringtag/LICENSE +0 -21
  737. package/mac-agent/node_modules/es-set-tostringtag/README.md +0 -53
  738. package/mac-agent/node_modules/es-set-tostringtag/index.d.ts +0 -10
  739. package/mac-agent/node_modules/es-set-tostringtag/index.js +0 -35
  740. package/mac-agent/node_modules/es-set-tostringtag/package.json +0 -78
  741. package/mac-agent/node_modules/es-set-tostringtag/test/index.js +0 -85
  742. package/mac-agent/node_modules/es-set-tostringtag/tsconfig.json +0 -9
  743. package/mac-agent/node_modules/fecha/LICENSE +0 -22
  744. package/mac-agent/node_modules/fecha/README.md +0 -320
  745. package/mac-agent/node_modules/fecha/dist/fecha.min.js +0 -2
  746. package/mac-agent/node_modules/fecha/dist/fecha.min.js.map +0 -1
  747. package/mac-agent/node_modules/fecha/lib/fecha.d.ts +0 -52
  748. package/mac-agent/node_modules/fecha/lib/fecha.js +0 -403
  749. package/mac-agent/node_modules/fecha/lib/fecha.js.map +0 -1
  750. package/mac-agent/node_modules/fecha/lib/fecha.umd.js +0 -418
  751. package/mac-agent/node_modules/fecha/lib/fecha.umd.js.map +0 -1
  752. package/mac-agent/node_modules/fecha/package.json +0 -55
  753. package/mac-agent/node_modules/fecha/src/fecha.ts +0 -524
  754. package/mac-agent/node_modules/fill-range/LICENSE +0 -21
  755. package/mac-agent/node_modules/fill-range/README.md +0 -237
  756. package/mac-agent/node_modules/fill-range/index.js +0 -248
  757. package/mac-agent/node_modules/fill-range/package.json +0 -74
  758. package/mac-agent/node_modules/find-up/index.js +0 -53
  759. package/mac-agent/node_modules/find-up/license +0 -21
  760. package/mac-agent/node_modules/find-up/package.json +0 -51
  761. package/mac-agent/node_modules/find-up/readme.md +0 -72
  762. package/mac-agent/node_modules/fn.name/.gitattributes +0 -1
  763. package/mac-agent/node_modules/fn.name/.travis.yml +0 -10
  764. package/mac-agent/node_modules/fn.name/LICENSE +0 -22
  765. package/mac-agent/node_modules/fn.name/README.md +0 -42
  766. package/mac-agent/node_modules/fn.name/index.js +0 -42
  767. package/mac-agent/node_modules/fn.name/package.json +0 -37
  768. package/mac-agent/node_modules/fn.name/test.js +0 -73
  769. package/mac-agent/node_modules/follow-redirects/LICENSE +0 -18
  770. package/mac-agent/node_modules/follow-redirects/README.md +0 -155
  771. package/mac-agent/node_modules/follow-redirects/debug.js +0 -15
  772. package/mac-agent/node_modules/follow-redirects/http.js +0 -1
  773. package/mac-agent/node_modules/follow-redirects/https.js +0 -1
  774. package/mac-agent/node_modules/follow-redirects/index.js +0 -686
  775. package/mac-agent/node_modules/follow-redirects/package.json +0 -58
  776. package/mac-agent/node_modules/form-data/License +0 -19
  777. package/mac-agent/node_modules/form-data/README.md.bak +0 -355
  778. package/mac-agent/node_modules/form-data/Readme.md +0 -355
  779. package/mac-agent/node_modules/form-data/index.d.ts +0 -62
  780. package/mac-agent/node_modules/form-data/lib/browser.js +0 -4
  781. package/mac-agent/node_modules/form-data/lib/form_data.js +0 -498
  782. package/mac-agent/node_modules/form-data/lib/populate.js +0 -10
  783. package/mac-agent/node_modules/form-data/package.json +0 -66
  784. package/mac-agent/node_modules/fs-minipass/LICENSE +0 -15
  785. package/mac-agent/node_modules/fs-minipass/README.md +0 -70
  786. package/mac-agent/node_modules/fs-minipass/index.js +0 -422
  787. package/mac-agent/node_modules/fs-minipass/node_modules/minipass/LICENSE +0 -15
  788. package/mac-agent/node_modules/fs-minipass/node_modules/minipass/README.md +0 -728
  789. package/mac-agent/node_modules/fs-minipass/node_modules/minipass/index.d.ts +0 -155
  790. package/mac-agent/node_modules/fs-minipass/node_modules/minipass/index.js +0 -649
  791. package/mac-agent/node_modules/fs-minipass/node_modules/minipass/package.json +0 -56
  792. package/mac-agent/node_modules/fs-minipass/package.json +0 -39
  793. package/mac-agent/node_modules/fs.realpath/LICENSE +0 -43
  794. package/mac-agent/node_modules/fs.realpath/README.md +0 -33
  795. package/mac-agent/node_modules/fs.realpath/index.js +0 -66
  796. package/mac-agent/node_modules/fs.realpath/old.js +0 -303
  797. package/mac-agent/node_modules/fs.realpath/package.json +0 -26
  798. package/mac-agent/node_modules/fsevents/LICENSE +0 -22
  799. package/mac-agent/node_modules/fsevents/README.md +0 -89
  800. package/mac-agent/node_modules/fsevents/fsevents.d.ts +0 -46
  801. package/mac-agent/node_modules/fsevents/fsevents.js +0 -83
  802. package/mac-agent/node_modules/fsevents/fsevents.node +0 -0
  803. package/mac-agent/node_modules/fsevents/package.json +0 -62
  804. package/mac-agent/node_modules/function-bind/.eslintrc +0 -21
  805. package/mac-agent/node_modules/function-bind/.github/FUNDING.yml +0 -12
  806. package/mac-agent/node_modules/function-bind/.github/SECURITY.md +0 -3
  807. package/mac-agent/node_modules/function-bind/.nycrc +0 -13
  808. package/mac-agent/node_modules/function-bind/CHANGELOG.md +0 -136
  809. package/mac-agent/node_modules/function-bind/LICENSE +0 -20
  810. package/mac-agent/node_modules/function-bind/README.md +0 -46
  811. package/mac-agent/node_modules/function-bind/implementation.js +0 -84
  812. package/mac-agent/node_modules/function-bind/index.js +0 -5
  813. package/mac-agent/node_modules/function-bind/package.json +0 -87
  814. package/mac-agent/node_modules/function-bind/test/.eslintrc +0 -9
  815. package/mac-agent/node_modules/function-bind/test/index.js +0 -252
  816. package/mac-agent/node_modules/gauge/CHANGELOG.md +0 -163
  817. package/mac-agent/node_modules/gauge/LICENSE +0 -13
  818. package/mac-agent/node_modules/gauge/README.md +0 -402
  819. package/mac-agent/node_modules/gauge/base-theme.js +0 -14
  820. package/mac-agent/node_modules/gauge/error.js +0 -24
  821. package/mac-agent/node_modules/gauge/has-color.js +0 -4
  822. package/mac-agent/node_modules/gauge/index.js +0 -233
  823. package/mac-agent/node_modules/gauge/package.json +0 -66
  824. package/mac-agent/node_modules/gauge/plumbing.js +0 -48
  825. package/mac-agent/node_modules/gauge/process.js +0 -3
  826. package/mac-agent/node_modules/gauge/progress-bar.js +0 -35
  827. package/mac-agent/node_modules/gauge/render-template.js +0 -178
  828. package/mac-agent/node_modules/gauge/set-immediate.js +0 -7
  829. package/mac-agent/node_modules/gauge/set-interval.js +0 -3
  830. package/mac-agent/node_modules/gauge/spin.js +0 -5
  831. package/mac-agent/node_modules/gauge/template-item.js +0 -72
  832. package/mac-agent/node_modules/gauge/theme-set.js +0 -114
  833. package/mac-agent/node_modules/gauge/themes.js +0 -56
  834. package/mac-agent/node_modules/gauge/wide-truncate.js +0 -25
  835. package/mac-agent/node_modules/get-caller-file/LICENSE.md +0 -6
  836. package/mac-agent/node_modules/get-caller-file/README.md +0 -4
  837. package/mac-agent/node_modules/get-caller-file/index.js +0 -20
  838. package/mac-agent/node_modules/get-caller-file/package.json +0 -31
  839. package/mac-agent/node_modules/get-intrinsic/.eslintrc +0 -42
  840. package/mac-agent/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
  841. package/mac-agent/node_modules/get-intrinsic/.nycrc +0 -9
  842. package/mac-agent/node_modules/get-intrinsic/CHANGELOG.md +0 -186
  843. package/mac-agent/node_modules/get-intrinsic/LICENSE +0 -21
  844. package/mac-agent/node_modules/get-intrinsic/README.md +0 -71
  845. package/mac-agent/node_modules/get-intrinsic/index.js +0 -378
  846. package/mac-agent/node_modules/get-intrinsic/package.json +0 -97
  847. package/mac-agent/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
  848. package/mac-agent/node_modules/get-proto/.eslintrc +0 -10
  849. package/mac-agent/node_modules/get-proto/.github/FUNDING.yml +0 -12
  850. package/mac-agent/node_modules/get-proto/.nycrc +0 -9
  851. package/mac-agent/node_modules/get-proto/CHANGELOG.md +0 -21
  852. package/mac-agent/node_modules/get-proto/LICENSE +0 -21
  853. package/mac-agent/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
  854. package/mac-agent/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
  855. package/mac-agent/node_modules/get-proto/README.md +0 -50
  856. package/mac-agent/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
  857. package/mac-agent/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
  858. package/mac-agent/node_modules/get-proto/index.d.ts +0 -5
  859. package/mac-agent/node_modules/get-proto/index.js +0 -27
  860. package/mac-agent/node_modules/get-proto/package.json +0 -81
  861. package/mac-agent/node_modules/get-proto/test/index.js +0 -68
  862. package/mac-agent/node_modules/get-proto/tsconfig.json +0 -9
  863. package/mac-agent/node_modules/glob/LICENSE +0 -21
  864. package/mac-agent/node_modules/glob/README.md +0 -378
  865. package/mac-agent/node_modules/glob/common.js +0 -238
  866. package/mac-agent/node_modules/glob/glob.js +0 -790
  867. package/mac-agent/node_modules/glob/package.json +0 -55
  868. package/mac-agent/node_modules/glob/sync.js +0 -486
  869. package/mac-agent/node_modules/glob-parent/CHANGELOG.md +0 -110
  870. package/mac-agent/node_modules/glob-parent/LICENSE +0 -15
  871. package/mac-agent/node_modules/glob-parent/README.md +0 -137
  872. package/mac-agent/node_modules/glob-parent/index.js +0 -42
  873. package/mac-agent/node_modules/glob-parent/package.json +0 -48
  874. package/mac-agent/node_modules/gopd/.eslintrc +0 -16
  875. package/mac-agent/node_modules/gopd/.github/FUNDING.yml +0 -12
  876. package/mac-agent/node_modules/gopd/CHANGELOG.md +0 -45
  877. package/mac-agent/node_modules/gopd/LICENSE +0 -21
  878. package/mac-agent/node_modules/gopd/README.md +0 -40
  879. package/mac-agent/node_modules/gopd/gOPD.d.ts +0 -1
  880. package/mac-agent/node_modules/gopd/gOPD.js +0 -4
  881. package/mac-agent/node_modules/gopd/index.d.ts +0 -5
  882. package/mac-agent/node_modules/gopd/index.js +0 -15
  883. package/mac-agent/node_modules/gopd/package.json +0 -77
  884. package/mac-agent/node_modules/gopd/test/index.js +0 -36
  885. package/mac-agent/node_modules/gopd/tsconfig.json +0 -9
  886. package/mac-agent/node_modules/graceful-fs/LICENSE +0 -15
  887. package/mac-agent/node_modules/graceful-fs/README.md +0 -143
  888. package/mac-agent/node_modules/graceful-fs/clone.js +0 -23
  889. package/mac-agent/node_modules/graceful-fs/graceful-fs.js +0 -448
  890. package/mac-agent/node_modules/graceful-fs/legacy-streams.js +0 -118
  891. package/mac-agent/node_modules/graceful-fs/package.json +0 -53
  892. package/mac-agent/node_modules/graceful-fs/polyfills.js +0 -355
  893. package/mac-agent/node_modules/has-flag/index.js +0 -8
  894. package/mac-agent/node_modules/has-flag/license +0 -9
  895. package/mac-agent/node_modules/has-flag/package.json +0 -44
  896. package/mac-agent/node_modules/has-flag/readme.md +0 -70
  897. package/mac-agent/node_modules/has-property-descriptors/.eslintrc +0 -13
  898. package/mac-agent/node_modules/has-property-descriptors/.github/FUNDING.yml +0 -12
  899. package/mac-agent/node_modules/has-property-descriptors/.nycrc +0 -9
  900. package/mac-agent/node_modules/has-property-descriptors/CHANGELOG.md +0 -35
  901. package/mac-agent/node_modules/has-property-descriptors/LICENSE +0 -21
  902. package/mac-agent/node_modules/has-property-descriptors/README.md +0 -43
  903. package/mac-agent/node_modules/has-property-descriptors/index.js +0 -22
  904. package/mac-agent/node_modules/has-property-descriptors/package.json +0 -77
  905. package/mac-agent/node_modules/has-property-descriptors/test/index.js +0 -57
  906. package/mac-agent/node_modules/has-symbols/.eslintrc +0 -11
  907. package/mac-agent/node_modules/has-symbols/.github/FUNDING.yml +0 -12
  908. package/mac-agent/node_modules/has-symbols/.nycrc +0 -9
  909. package/mac-agent/node_modules/has-symbols/CHANGELOG.md +0 -91
  910. package/mac-agent/node_modules/has-symbols/LICENSE +0 -21
  911. package/mac-agent/node_modules/has-symbols/README.md +0 -46
  912. package/mac-agent/node_modules/has-symbols/index.d.ts +0 -3
  913. package/mac-agent/node_modules/has-symbols/index.js +0 -14
  914. package/mac-agent/node_modules/has-symbols/package.json +0 -111
  915. package/mac-agent/node_modules/has-symbols/shams.d.ts +0 -3
  916. package/mac-agent/node_modules/has-symbols/shams.js +0 -45
  917. package/mac-agent/node_modules/has-symbols/test/index.js +0 -22
  918. package/mac-agent/node_modules/has-symbols/test/shams/core-js.js +0 -29
  919. package/mac-agent/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
  920. package/mac-agent/node_modules/has-symbols/test/tests.js +0 -58
  921. package/mac-agent/node_modules/has-symbols/tsconfig.json +0 -10
  922. package/mac-agent/node_modules/has-tostringtag/.eslintrc +0 -5
  923. package/mac-agent/node_modules/has-tostringtag/.github/FUNDING.yml +0 -12
  924. package/mac-agent/node_modules/has-tostringtag/.nycrc +0 -13
  925. package/mac-agent/node_modules/has-tostringtag/CHANGELOG.md +0 -42
  926. package/mac-agent/node_modules/has-tostringtag/LICENSE +0 -21
  927. package/mac-agent/node_modules/has-tostringtag/README.md +0 -46
  928. package/mac-agent/node_modules/has-tostringtag/index.d.ts +0 -3
  929. package/mac-agent/node_modules/has-tostringtag/index.js +0 -8
  930. package/mac-agent/node_modules/has-tostringtag/package.json +0 -108
  931. package/mac-agent/node_modules/has-tostringtag/shams.d.ts +0 -3
  932. package/mac-agent/node_modules/has-tostringtag/shams.js +0 -8
  933. package/mac-agent/node_modules/has-tostringtag/test/index.js +0 -21
  934. package/mac-agent/node_modules/has-tostringtag/test/shams/core-js.js +0 -31
  935. package/mac-agent/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +0 -30
  936. package/mac-agent/node_modules/has-tostringtag/test/tests.js +0 -15
  937. package/mac-agent/node_modules/has-tostringtag/tsconfig.json +0 -49
  938. package/mac-agent/node_modules/has-unicode/LICENSE +0 -14
  939. package/mac-agent/node_modules/has-unicode/README.md +0 -43
  940. package/mac-agent/node_modules/has-unicode/index.js +0 -16
  941. package/mac-agent/node_modules/has-unicode/package.json +0 -30
  942. package/mac-agent/node_modules/hasown/.eslintrc +0 -5
  943. package/mac-agent/node_modules/hasown/.github/FUNDING.yml +0 -12
  944. package/mac-agent/node_modules/hasown/.nycrc +0 -13
  945. package/mac-agent/node_modules/hasown/CHANGELOG.md +0 -40
  946. package/mac-agent/node_modules/hasown/LICENSE +0 -21
  947. package/mac-agent/node_modules/hasown/README.md +0 -40
  948. package/mac-agent/node_modules/hasown/index.d.ts +0 -3
  949. package/mac-agent/node_modules/hasown/index.js +0 -8
  950. package/mac-agent/node_modules/hasown/package.json +0 -92
  951. package/mac-agent/node_modules/hasown/tsconfig.json +0 -6
  952. package/mac-agent/node_modules/hosted-git-info/CHANGELOG.md +0 -151
  953. package/mac-agent/node_modules/hosted-git-info/LICENSE +0 -13
  954. package/mac-agent/node_modules/hosted-git-info/README.md +0 -133
  955. package/mac-agent/node_modules/hosted-git-info/git-host-info.js +0 -79
  956. package/mac-agent/node_modules/hosted-git-info/git-host.js +0 -156
  957. package/mac-agent/node_modules/hosted-git-info/index.js +0 -148
  958. package/mac-agent/node_modules/hosted-git-info/package.json +0 -40
  959. package/mac-agent/node_modules/https-proxy-agent/README.md +0 -137
  960. package/mac-agent/node_modules/https-proxy-agent/dist/agent.d.ts +0 -30
  961. package/mac-agent/node_modules/https-proxy-agent/dist/agent.js +0 -177
  962. package/mac-agent/node_modules/https-proxy-agent/dist/agent.js.map +0 -1
  963. package/mac-agent/node_modules/https-proxy-agent/dist/index.d.ts +0 -23
  964. package/mac-agent/node_modules/https-proxy-agent/dist/index.js +0 -14
  965. package/mac-agent/node_modules/https-proxy-agent/dist/index.js.map +0 -1
  966. package/mac-agent/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +0 -7
  967. package/mac-agent/node_modules/https-proxy-agent/dist/parse-proxy-response.js +0 -66
  968. package/mac-agent/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +0 -1
  969. package/mac-agent/node_modules/https-proxy-agent/package.json +0 -56
  970. package/mac-agent/node_modules/ignore-by-default/LICENSE +0 -14
  971. package/mac-agent/node_modules/ignore-by-default/README.md +0 -26
  972. package/mac-agent/node_modules/ignore-by-default/index.js +0 -12
  973. package/mac-agent/node_modules/ignore-by-default/package.json +0 -34
  974. package/mac-agent/node_modules/inflight/LICENSE +0 -15
  975. package/mac-agent/node_modules/inflight/README.md +0 -37
  976. package/mac-agent/node_modules/inflight/inflight.js +0 -54
  977. package/mac-agent/node_modules/inflight/package.json +0 -29
  978. package/mac-agent/node_modules/inherits/LICENSE +0 -16
  979. package/mac-agent/node_modules/inherits/README.md +0 -42
  980. package/mac-agent/node_modules/inherits/inherits.js +0 -9
  981. package/mac-agent/node_modules/inherits/inherits_browser.js +0 -27
  982. package/mac-agent/node_modules/inherits/package.json +0 -29
  983. package/mac-agent/node_modules/invert-kv/index.js +0 -15
  984. package/mac-agent/node_modules/invert-kv/package.json +0 -33
  985. package/mac-agent/node_modules/invert-kv/readme.md +0 -25
  986. package/mac-agent/node_modules/is-arrayish/LICENSE +0 -21
  987. package/mac-agent/node_modules/is-arrayish/README.md +0 -16
  988. package/mac-agent/node_modules/is-arrayish/index.js +0 -9
  989. package/mac-agent/node_modules/is-arrayish/package.json +0 -45
  990. package/mac-agent/node_modules/is-arrayish/yarn-error.log +0 -1443
  991. package/mac-agent/node_modules/is-binary-path/index.d.ts +0 -17
  992. package/mac-agent/node_modules/is-binary-path/index.js +0 -7
  993. package/mac-agent/node_modules/is-binary-path/license +0 -9
  994. package/mac-agent/node_modules/is-binary-path/package.json +0 -40
  995. package/mac-agent/node_modules/is-binary-path/readme.md +0 -34
  996. package/mac-agent/node_modules/is-core-module/.eslintrc +0 -18
  997. package/mac-agent/node_modules/is-core-module/.nycrc +0 -9
  998. package/mac-agent/node_modules/is-core-module/CHANGELOG.md +0 -218
  999. package/mac-agent/node_modules/is-core-module/LICENSE +0 -20
  1000. package/mac-agent/node_modules/is-core-module/README.md +0 -40
  1001. package/mac-agent/node_modules/is-core-module/core.json +0 -162
  1002. package/mac-agent/node_modules/is-core-module/index.js +0 -69
  1003. package/mac-agent/node_modules/is-core-module/package.json +0 -76
  1004. package/mac-agent/node_modules/is-core-module/test/index.js +0 -157
  1005. package/mac-agent/node_modules/is-extglob/LICENSE +0 -21
  1006. package/mac-agent/node_modules/is-extglob/README.md +0 -107
  1007. package/mac-agent/node_modules/is-extglob/index.js +0 -20
  1008. package/mac-agent/node_modules/is-extglob/package.json +0 -69
  1009. package/mac-agent/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  1010. package/mac-agent/node_modules/is-fullwidth-code-point/index.js +0 -50
  1011. package/mac-agent/node_modules/is-fullwidth-code-point/license +0 -9
  1012. package/mac-agent/node_modules/is-fullwidth-code-point/package.json +0 -42
  1013. package/mac-agent/node_modules/is-fullwidth-code-point/readme.md +0 -39
  1014. package/mac-agent/node_modules/is-glob/LICENSE +0 -21
  1015. package/mac-agent/node_modules/is-glob/README.md +0 -206
  1016. package/mac-agent/node_modules/is-glob/index.js +0 -150
  1017. package/mac-agent/node_modules/is-glob/package.json +0 -81
  1018. package/mac-agent/node_modules/is-number/LICENSE +0 -21
  1019. package/mac-agent/node_modules/is-number/README.md +0 -187
  1020. package/mac-agent/node_modules/is-number/index.js +0 -18
  1021. package/mac-agent/node_modules/is-number/package.json +0 -82
  1022. package/mac-agent/node_modules/is-stream/index.d.ts +0 -79
  1023. package/mac-agent/node_modules/is-stream/index.js +0 -28
  1024. package/mac-agent/node_modules/is-stream/license +0 -9
  1025. package/mac-agent/node_modules/is-stream/package.json +0 -42
  1026. package/mac-agent/node_modules/is-stream/readme.md +0 -60
  1027. package/mac-agent/node_modules/is-utf8/LICENSE +0 -9
  1028. package/mac-agent/node_modules/is-utf8/README.md +0 -16
  1029. package/mac-agent/node_modules/is-utf8/is-utf8.js +0 -76
  1030. package/mac-agent/node_modules/is-utf8/package.json +0 -19
  1031. package/mac-agent/node_modules/isexe/LICENSE +0 -15
  1032. package/mac-agent/node_modules/isexe/README.md +0 -51
  1033. package/mac-agent/node_modules/isexe/index.js +0 -57
  1034. package/mac-agent/node_modules/isexe/mode.js +0 -41
  1035. package/mac-agent/node_modules/isexe/package.json +0 -31
  1036. package/mac-agent/node_modules/isexe/test/basic.js +0 -221
  1037. package/mac-agent/node_modules/isexe/windows.js +0 -42
  1038. package/mac-agent/node_modules/kuler/.travis.yml +0 -5
  1039. package/mac-agent/node_modules/kuler/LICENSE +0 -7
  1040. package/mac-agent/node_modules/kuler/README.md +0 -40
  1041. package/mac-agent/node_modules/kuler/index.js +0 -118
  1042. package/mac-agent/node_modules/kuler/package.json +0 -34
  1043. package/mac-agent/node_modules/kuler/test.js +0 -23
  1044. package/mac-agent/node_modules/lcid/index.js +0 -22
  1045. package/mac-agent/node_modules/lcid/lcid.json +0 -203
  1046. package/mac-agent/node_modules/lcid/license +0 -21
  1047. package/mac-agent/node_modules/lcid/package.json +0 -46
  1048. package/mac-agent/node_modules/lcid/readme.md +0 -35
  1049. package/mac-agent/node_modules/load-json-file/index.js +0 -21
  1050. package/mac-agent/node_modules/load-json-file/license +0 -21
  1051. package/mac-agent/node_modules/load-json-file/package.json +0 -46
  1052. package/mac-agent/node_modules/load-json-file/readme.md +0 -45
  1053. package/mac-agent/node_modules/logform/.babelrc +0 -3
  1054. package/mac-agent/node_modules/logform/.eslintrc +0 -7
  1055. package/mac-agent/node_modules/logform/.gitattributes +0 -1
  1056. package/mac-agent/node_modules/logform/CHANGELOG.md +0 -309
  1057. package/mac-agent/node_modules/logform/LICENSE +0 -21
  1058. package/mac-agent/node_modules/logform/README.md +0 -653
  1059. package/mac-agent/node_modules/logform/align.js +0 -14
  1060. package/mac-agent/node_modules/logform/browser.js +0 -38
  1061. package/mac-agent/node_modules/logform/cli.js +0 -52
  1062. package/mac-agent/node_modules/logform/colorize.js +0 -122
  1063. package/mac-agent/node_modules/logform/combine.js +0 -66
  1064. package/mac-agent/node_modules/logform/dist/align.js +0 -14
  1065. package/mac-agent/node_modules/logform/dist/browser.js +0 -72
  1066. package/mac-agent/node_modules/logform/dist/cli.js +0 -62
  1067. package/mac-agent/node_modules/logform/dist/colorize.js +0 -131
  1068. package/mac-agent/node_modules/logform/dist/combine.js +0 -62
  1069. package/mac-agent/node_modules/logform/dist/errors.js +0 -44
  1070. package/mac-agent/node_modules/logform/dist/format.js +0 -70
  1071. package/mac-agent/node_modules/logform/dist/index.js +0 -86
  1072. package/mac-agent/node_modules/logform/dist/json.js +0 -30
  1073. package/mac-agent/node_modules/logform/dist/label.js +0 -18
  1074. package/mac-agent/node_modules/logform/dist/levels.js +0 -13
  1075. package/mac-agent/node_modules/logform/dist/logstash.js +0 -28
  1076. package/mac-agent/node_modules/logform/dist/metadata.js +0 -56
  1077. package/mac-agent/node_modules/logform/dist/ms.js +0 -18
  1078. package/mac-agent/node_modules/logform/dist/pad-levels.js +0 -110
  1079. package/mac-agent/node_modules/logform/dist/pretty-print.js +0 -32
  1080. package/mac-agent/node_modules/logform/dist/printf.js +0 -33
  1081. package/mac-agent/node_modules/logform/dist/simple.js +0 -32
  1082. package/mac-agent/node_modules/logform/dist/splat.js +0 -143
  1083. package/mac-agent/node_modules/logform/dist/timestamp.js +0 -26
  1084. package/mac-agent/node_modules/logform/dist/uncolorize.js +0 -25
  1085. package/mac-agent/node_modules/logform/errors.js +0 -41
  1086. package/mac-agent/node_modules/logform/format.js +0 -52
  1087. package/mac-agent/node_modules/logform/index.d.ts +0 -201
  1088. package/mac-agent/node_modules/logform/index.js +0 -52
  1089. package/mac-agent/node_modules/logform/json.js +0 -30
  1090. package/mac-agent/node_modules/logform/label.js +0 -19
  1091. package/mac-agent/node_modules/logform/levels.js +0 -12
  1092. package/mac-agent/node_modules/logform/logstash.js +0 -29
  1093. package/mac-agent/node_modules/logform/metadata.js +0 -61
  1094. package/mac-agent/node_modules/logform/ms.js +0 -18
  1095. package/mac-agent/node_modules/logform/package.json +0 -53
  1096. package/mac-agent/node_modules/logform/pad-levels.js +0 -83
  1097. package/mac-agent/node_modules/logform/pretty-print.js +0 -29
  1098. package/mac-agent/node_modules/logform/printf.js +0 -26
  1099. package/mac-agent/node_modules/logform/simple.js +0 -33
  1100. package/mac-agent/node_modules/logform/splat.js +0 -132
  1101. package/mac-agent/node_modules/logform/timestamp.js +0 -30
  1102. package/mac-agent/node_modules/logform/tsconfig.json +0 -22
  1103. package/mac-agent/node_modules/logform/uncolorize.js +0 -27
  1104. package/mac-agent/node_modules/make-dir/index.d.ts +0 -66
  1105. package/mac-agent/node_modules/make-dir/index.js +0 -156
  1106. package/mac-agent/node_modules/make-dir/license +0 -9
  1107. package/mac-agent/node_modules/make-dir/node_modules/semver/LICENSE +0 -15
  1108. package/mac-agent/node_modules/make-dir/node_modules/semver/README.md +0 -443
  1109. package/mac-agent/node_modules/make-dir/node_modules/semver/bin/semver.js +0 -174
  1110. package/mac-agent/node_modules/make-dir/node_modules/semver/package.json +0 -38
  1111. package/mac-agent/node_modules/make-dir/node_modules/semver/range.bnf +0 -16
  1112. package/mac-agent/node_modules/make-dir/node_modules/semver/semver.js +0 -1643
  1113. package/mac-agent/node_modules/make-dir/package.json +0 -59
  1114. package/mac-agent/node_modules/make-dir/readme.md +0 -125
  1115. package/mac-agent/node_modules/math-intrinsics/.eslintrc +0 -16
  1116. package/mac-agent/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
  1117. package/mac-agent/node_modules/math-intrinsics/CHANGELOG.md +0 -24
  1118. package/mac-agent/node_modules/math-intrinsics/LICENSE +0 -21
  1119. package/mac-agent/node_modules/math-intrinsics/README.md +0 -50
  1120. package/mac-agent/node_modules/math-intrinsics/abs.d.ts +0 -1
  1121. package/mac-agent/node_modules/math-intrinsics/abs.js +0 -4
  1122. package/mac-agent/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
  1123. package/mac-agent/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
  1124. package/mac-agent/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
  1125. package/mac-agent/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
  1126. package/mac-agent/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
  1127. package/mac-agent/node_modules/math-intrinsics/constants/maxValue.js +0 -5
  1128. package/mac-agent/node_modules/math-intrinsics/floor.d.ts +0 -1
  1129. package/mac-agent/node_modules/math-intrinsics/floor.js +0 -4
  1130. package/mac-agent/node_modules/math-intrinsics/isFinite.d.ts +0 -3
  1131. package/mac-agent/node_modules/math-intrinsics/isFinite.js +0 -12
  1132. package/mac-agent/node_modules/math-intrinsics/isInteger.d.ts +0 -3
  1133. package/mac-agent/node_modules/math-intrinsics/isInteger.js +0 -16
  1134. package/mac-agent/node_modules/math-intrinsics/isNaN.d.ts +0 -1
  1135. package/mac-agent/node_modules/math-intrinsics/isNaN.js +0 -6
  1136. package/mac-agent/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
  1137. package/mac-agent/node_modules/math-intrinsics/isNegativeZero.js +0 -6
  1138. package/mac-agent/node_modules/math-intrinsics/max.d.ts +0 -1
  1139. package/mac-agent/node_modules/math-intrinsics/max.js +0 -4
  1140. package/mac-agent/node_modules/math-intrinsics/min.d.ts +0 -1
  1141. package/mac-agent/node_modules/math-intrinsics/min.js +0 -4
  1142. package/mac-agent/node_modules/math-intrinsics/mod.d.ts +0 -3
  1143. package/mac-agent/node_modules/math-intrinsics/mod.js +0 -9
  1144. package/mac-agent/node_modules/math-intrinsics/package.json +0 -86
  1145. package/mac-agent/node_modules/math-intrinsics/pow.d.ts +0 -1
  1146. package/mac-agent/node_modules/math-intrinsics/pow.js +0 -4
  1147. package/mac-agent/node_modules/math-intrinsics/round.d.ts +0 -1
  1148. package/mac-agent/node_modules/math-intrinsics/round.js +0 -4
  1149. package/mac-agent/node_modules/math-intrinsics/sign.d.ts +0 -3
  1150. package/mac-agent/node_modules/math-intrinsics/sign.js +0 -11
  1151. package/mac-agent/node_modules/math-intrinsics/test/index.js +0 -192
  1152. package/mac-agent/node_modules/math-intrinsics/tsconfig.json +0 -3
  1153. package/mac-agent/node_modules/mime-db/HISTORY.md +0 -507
  1154. package/mac-agent/node_modules/mime-db/LICENSE +0 -23
  1155. package/mac-agent/node_modules/mime-db/README.md +0 -100
  1156. package/mac-agent/node_modules/mime-db/db.json +0 -8519
  1157. package/mac-agent/node_modules/mime-db/index.js +0 -12
  1158. package/mac-agent/node_modules/mime-db/package.json +0 -60
  1159. package/mac-agent/node_modules/mime-types/HISTORY.md +0 -397
  1160. package/mac-agent/node_modules/mime-types/LICENSE +0 -23
  1161. package/mac-agent/node_modules/mime-types/README.md +0 -113
  1162. package/mac-agent/node_modules/mime-types/index.js +0 -188
  1163. package/mac-agent/node_modules/mime-types/package.json +0 -44
  1164. package/mac-agent/node_modules/minimatch/LICENSE +0 -15
  1165. package/mac-agent/node_modules/minimatch/README.md +0 -230
  1166. package/mac-agent/node_modules/minimatch/minimatch.js +0 -947
  1167. package/mac-agent/node_modules/minimatch/package.json +0 -33
  1168. package/mac-agent/node_modules/minipass/LICENSE +0 -15
  1169. package/mac-agent/node_modules/minipass/README.md +0 -769
  1170. package/mac-agent/node_modules/minipass/index.d.ts +0 -152
  1171. package/mac-agent/node_modules/minipass/index.js +0 -702
  1172. package/mac-agent/node_modules/minipass/index.mjs +0 -702
  1173. package/mac-agent/node_modules/minipass/package.json +0 -76
  1174. package/mac-agent/node_modules/minizlib/LICENSE +0 -26
  1175. package/mac-agent/node_modules/minizlib/README.md +0 -60
  1176. package/mac-agent/node_modules/minizlib/constants.js +0 -115
  1177. package/mac-agent/node_modules/minizlib/index.js +0 -348
  1178. package/mac-agent/node_modules/minizlib/node_modules/minipass/LICENSE +0 -15
  1179. package/mac-agent/node_modules/minizlib/node_modules/minipass/README.md +0 -728
  1180. package/mac-agent/node_modules/minizlib/node_modules/minipass/index.d.ts +0 -155
  1181. package/mac-agent/node_modules/minizlib/node_modules/minipass/index.js +0 -649
  1182. package/mac-agent/node_modules/minizlib/node_modules/minipass/package.json +0 -56
  1183. package/mac-agent/node_modules/minizlib/package.json +0 -42
  1184. package/mac-agent/node_modules/mkdirp/CHANGELOG.md +0 -15
  1185. package/mac-agent/node_modules/mkdirp/LICENSE +0 -21
  1186. package/mac-agent/node_modules/mkdirp/bin/cmd.js +0 -68
  1187. package/mac-agent/node_modules/mkdirp/index.js +0 -31
  1188. package/mac-agent/node_modules/mkdirp/lib/find-made.js +0 -29
  1189. package/mac-agent/node_modules/mkdirp/lib/mkdirp-manual.js +0 -64
  1190. package/mac-agent/node_modules/mkdirp/lib/mkdirp-native.js +0 -39
  1191. package/mac-agent/node_modules/mkdirp/lib/opts-arg.js +0 -23
  1192. package/mac-agent/node_modules/mkdirp/lib/path-arg.js +0 -29
  1193. package/mac-agent/node_modules/mkdirp/lib/use-native.js +0 -10
  1194. package/mac-agent/node_modules/mkdirp/package.json +0 -44
  1195. package/mac-agent/node_modules/mkdirp/readme.markdown +0 -266
  1196. package/mac-agent/node_modules/ms/index.js +0 -162
  1197. package/mac-agent/node_modules/ms/license.md +0 -21
  1198. package/mac-agent/node_modules/ms/package.json +0 -38
  1199. package/mac-agent/node_modules/ms/readme.md +0 -59
  1200. package/mac-agent/node_modules/nan/.github/workflows/ci.yml +0 -52
  1201. package/mac-agent/node_modules/nan/CHANGELOG.md +0 -577
  1202. package/mac-agent/node_modules/nan/CMakeLists.txt +0 -138
  1203. package/mac-agent/node_modules/nan/LICENSE.md +0 -9
  1204. package/mac-agent/node_modules/nan/README.md +0 -455
  1205. package/mac-agent/node_modules/nan/doc/asyncworker.md +0 -146
  1206. package/mac-agent/node_modules/nan/doc/buffers.md +0 -54
  1207. package/mac-agent/node_modules/nan/doc/callback.md +0 -76
  1208. package/mac-agent/node_modules/nan/doc/converters.md +0 -41
  1209. package/mac-agent/node_modules/nan/doc/errors.md +0 -226
  1210. package/mac-agent/node_modules/nan/doc/json.md +0 -62
  1211. package/mac-agent/node_modules/nan/doc/maybe_types.md +0 -583
  1212. package/mac-agent/node_modules/nan/doc/methods.md +0 -672
  1213. package/mac-agent/node_modules/nan/doc/new.md +0 -147
  1214. package/mac-agent/node_modules/nan/doc/node_misc.md +0 -123
  1215. package/mac-agent/node_modules/nan/doc/object_wrappers.md +0 -263
  1216. package/mac-agent/node_modules/nan/doc/persistent.md +0 -296
  1217. package/mac-agent/node_modules/nan/doc/scopes.md +0 -73
  1218. package/mac-agent/node_modules/nan/doc/script.md +0 -58
  1219. package/mac-agent/node_modules/nan/doc/string_bytes.md +0 -62
  1220. package/mac-agent/node_modules/nan/doc/v8_internals.md +0 -199
  1221. package/mac-agent/node_modules/nan/doc/v8_misc.md +0 -85
  1222. package/mac-agent/node_modules/nan/include_dirs.js +0 -1
  1223. package/mac-agent/node_modules/nan/nan.h +0 -3049
  1224. package/mac-agent/node_modules/nan/nan_callbacks.h +0 -128
  1225. package/mac-agent/node_modules/nan/nan_callbacks_12_inl.h +0 -676
  1226. package/mac-agent/node_modules/nan/nan_callbacks_pre_12_inl.h +0 -520
  1227. package/mac-agent/node_modules/nan/nan_converters.h +0 -72
  1228. package/mac-agent/node_modules/nan/nan_converters_43_inl.h +0 -68
  1229. package/mac-agent/node_modules/nan/nan_converters_pre_43_inl.h +0 -42
  1230. package/mac-agent/node_modules/nan/nan_define_own_property_helper.h +0 -29
  1231. package/mac-agent/node_modules/nan/nan_implementation_12_inl.h +0 -430
  1232. package/mac-agent/node_modules/nan/nan_implementation_pre_12_inl.h +0 -263
  1233. package/mac-agent/node_modules/nan/nan_json.h +0 -166
  1234. package/mac-agent/node_modules/nan/nan_maybe_43_inl.h +0 -356
  1235. package/mac-agent/node_modules/nan/nan_maybe_pre_43_inl.h +0 -268
  1236. package/mac-agent/node_modules/nan/nan_new.h +0 -340
  1237. package/mac-agent/node_modules/nan/nan_object_wrap.h +0 -156
  1238. package/mac-agent/node_modules/nan/nan_persistent_12_inl.h +0 -132
  1239. package/mac-agent/node_modules/nan/nan_persistent_pre_12_inl.h +0 -242
  1240. package/mac-agent/node_modules/nan/nan_private.h +0 -73
  1241. package/mac-agent/node_modules/nan/nan_scriptorigin.h +0 -95
  1242. package/mac-agent/node_modules/nan/nan_string_bytes.h +0 -305
  1243. package/mac-agent/node_modules/nan/nan_typedarray_contents.h +0 -96
  1244. package/mac-agent/node_modules/nan/nan_weak.h +0 -437
  1245. package/mac-agent/node_modules/nan/package.json +0 -38
  1246. package/mac-agent/node_modules/nan/tools/1to2.js +0 -412
  1247. package/mac-agent/node_modules/nan/tools/README.md +0 -14
  1248. package/mac-agent/node_modules/nan/tools/package.json +0 -19
  1249. package/mac-agent/node_modules/node-addon-api/.editorconfig +0 -8
  1250. package/mac-agent/node_modules/node-addon-api/.travis.yml +0 -65
  1251. package/mac-agent/node_modules/node-addon-api/CHANGELOG.md +0 -325
  1252. package/mac-agent/node_modules/node-addon-api/CODE_OF_CONDUCT.md +0 -4
  1253. package/mac-agent/node_modules/node-addon-api/CONTRIBUTING.md +0 -66
  1254. package/mac-agent/node_modules/node-addon-api/LICENSE.md +0 -13
  1255. package/mac-agent/node_modules/node-addon-api/README.md +0 -200
  1256. package/mac-agent/node_modules/node-addon-api/appveyor.yml +0 -48
  1257. package/mac-agent/node_modules/node-addon-api/doc/Doxyfile +0 -2450
  1258. package/mac-agent/node_modules/node-addon-api/doc/array_buffer.md +0 -129
  1259. package/mac-agent/node_modules/node-addon-api/doc/async_context.md +0 -76
  1260. package/mac-agent/node_modules/node-addon-api/doc/async_operations.md +0 -31
  1261. package/mac-agent/node_modules/node-addon-api/doc/async_worker.md +0 -397
  1262. package/mac-agent/node_modules/node-addon-api/doc/basic_types.md +0 -415
  1263. package/mac-agent/node_modules/node-addon-api/doc/bigint.md +0 -92
  1264. package/mac-agent/node_modules/node-addon-api/doc/boolean.md +0 -64
  1265. package/mac-agent/node_modules/node-addon-api/doc/buffer.md +0 -140
  1266. package/mac-agent/node_modules/node-addon-api/doc/callback_scope.md +0 -54
  1267. package/mac-agent/node_modules/node-addon-api/doc/callbackinfo.md +0 -97
  1268. package/mac-agent/node_modules/node-addon-api/doc/checker-tool.md +0 -32
  1269. package/mac-agent/node_modules/node-addon-api/doc/class_property_descriptor.md +0 -118
  1270. package/mac-agent/node_modules/node-addon-api/doc/cmake-js.md +0 -19
  1271. package/mac-agent/node_modules/node-addon-api/doc/conversion-tool.md +0 -28
  1272. package/mac-agent/node_modules/node-addon-api/doc/creating_a_release.md +0 -62
  1273. package/mac-agent/node_modules/node-addon-api/doc/dataview.md +0 -244
  1274. package/mac-agent/node_modules/node-addon-api/doc/env.md +0 -63
  1275. package/mac-agent/node_modules/node-addon-api/doc/error.md +0 -115
  1276. package/mac-agent/node_modules/node-addon-api/doc/error_handling.md +0 -186
  1277. package/mac-agent/node_modules/node-addon-api/doc/escapable_handle_scope.md +0 -82
  1278. package/mac-agent/node_modules/node-addon-api/doc/external.md +0 -59
  1279. package/mac-agent/node_modules/node-addon-api/doc/function.md +0 -294
  1280. package/mac-agent/node_modules/node-addon-api/doc/function_reference.md +0 -238
  1281. package/mac-agent/node_modules/node-addon-api/doc/generator.md +0 -13
  1282. package/mac-agent/node_modules/node-addon-api/doc/handle_scope.md +0 -65
  1283. package/mac-agent/node_modules/node-addon-api/doc/memory_management.md +0 -27
  1284. package/mac-agent/node_modules/node-addon-api/doc/node-gyp.md +0 -82
  1285. package/mac-agent/node_modules/node-addon-api/doc/number.md +0 -163
  1286. package/mac-agent/node_modules/node-addon-api/doc/object.md +0 -202
  1287. package/mac-agent/node_modules/node-addon-api/doc/object_lifetime_management.md +0 -83
  1288. package/mac-agent/node_modules/node-addon-api/doc/object_reference.md +0 -117
  1289. package/mac-agent/node_modules/node-addon-api/doc/object_wrap.md +0 -546
  1290. package/mac-agent/node_modules/node-addon-api/doc/prebuild_tools.md +0 -16
  1291. package/mac-agent/node_modules/node-addon-api/doc/promises.md +0 -74
  1292. package/mac-agent/node_modules/node-addon-api/doc/property_descriptor.md +0 -231
  1293. package/mac-agent/node_modules/node-addon-api/doc/range_error.md +0 -59
  1294. package/mac-agent/node_modules/node-addon-api/doc/reference.md +0 -111
  1295. package/mac-agent/node_modules/node-addon-api/doc/setup.md +0 -82
  1296. package/mac-agent/node_modules/node-addon-api/doc/string.md +0 -89
  1297. package/mac-agent/node_modules/node-addon-api/doc/symbol.md +0 -44
  1298. package/mac-agent/node_modules/node-addon-api/doc/threadsafe_function.md +0 -303
  1299. package/mac-agent/node_modules/node-addon-api/doc/type_error.md +0 -59
  1300. package/mac-agent/node_modules/node-addon-api/doc/typed_array.md +0 -74
  1301. package/mac-agent/node_modules/node-addon-api/doc/typed_array_of.md +0 -133
  1302. package/mac-agent/node_modules/node-addon-api/doc/value.md +0 -269
  1303. package/mac-agent/node_modules/node-addon-api/doc/version_management.md +0 -43
  1304. package/mac-agent/node_modules/node-addon-api/doc/working_with_javascript_values.md +0 -14
  1305. package/mac-agent/node_modules/node-addon-api/external-napi/node_api.h +0 -7
  1306. package/mac-agent/node_modules/node-addon-api/index.js +0 -45
  1307. package/mac-agent/node_modules/node-addon-api/napi-inl.deprecated.h +0 -192
  1308. package/mac-agent/node_modules/node-addon-api/napi-inl.h +0 -4097
  1309. package/mac-agent/node_modules/node-addon-api/napi.h +0 -2053
  1310. package/mac-agent/node_modules/node-addon-api/package.json +0 -79
  1311. package/mac-agent/node_modules/node-addon-api/src/node_api.cc +0 -3655
  1312. package/mac-agent/node_modules/node-addon-api/src/node_api.gyp +0 -21
  1313. package/mac-agent/node_modules/node-addon-api/src/node_api.h +0 -588
  1314. package/mac-agent/node_modules/node-addon-api/src/node_api_types.h +0 -115
  1315. package/mac-agent/node_modules/node-addon-api/src/node_internals.cc +0 -142
  1316. package/mac-agent/node_modules/node-addon-api/src/node_internals.h +0 -157
  1317. package/mac-agent/node_modules/node-addon-api/src/nothing.c +0 -0
  1318. package/mac-agent/node_modules/node-addon-api/src/util-inl.h +0 -38
  1319. package/mac-agent/node_modules/node-addon-api/src/util.h +0 -7
  1320. package/mac-agent/node_modules/node-addon-api/tools/README.md +0 -67
  1321. package/mac-agent/node_modules/node-addon-api/tools/check-napi.js +0 -100
  1322. package/mac-agent/node_modules/node-addon-api/tools/conversion.js +0 -313
  1323. package/mac-agent/node_modules/node-cmake/.jshintrc +0 -20
  1324. package/mac-agent/node_modules/node-cmake/LICENSE.txt +0 -15
  1325. package/mac-agent/node_modules/node-cmake/NodeJS.cmake +0 -637
  1326. package/mac-agent/node_modules/node-cmake/README.md +0 -93
  1327. package/mac-agent/node_modules/node-cmake/docs/Nan.md +0 -9
  1328. package/mac-agent/node_modules/node-cmake/docs/NcmakeManual.md +0 -83
  1329. package/mac-agent/node_modules/node-cmake/docs/NodeJSCmakeManual.md +0 -107
  1330. package/mac-agent/node_modules/node-cmake/example/CMakeLists.txt +0 -8
  1331. package/mac-agent/node_modules/node-cmake/example/README.md +0 -28
  1332. package/mac-agent/node_modules/node-cmake/example/index.js +0 -2
  1333. package/mac-agent/node_modules/node-cmake/example/package.json +0 -20
  1334. package/mac-agent/node_modules/node-cmake/example/src/hello.cc +0 -16
  1335. package/mac-agent/node_modules/node-cmake/index.js +0 -44
  1336. package/mac-agent/node_modules/node-cmake/lib/embed.js +0 -17
  1337. package/mac-agent/node_modules/node-cmake/lib/ncmake.js +0 -284
  1338. package/mac-agent/node_modules/node-cmake/package.json +0 -34
  1339. package/mac-agent/node_modules/node-cmake/src/win_delay_load_hook.c +0 -68
  1340. package/mac-agent/node_modules/node-fetch/LICENSE.md +0 -22
  1341. package/mac-agent/node_modules/node-fetch/README.md +0 -634
  1342. package/mac-agent/node_modules/node-fetch/browser.js +0 -25
  1343. package/mac-agent/node_modules/node-fetch/lib/index.es.js +0 -1777
  1344. package/mac-agent/node_modules/node-fetch/lib/index.js +0 -1787
  1345. package/mac-agent/node_modules/node-fetch/lib/index.mjs +0 -1775
  1346. package/mac-agent/node_modules/node-fetch/package.json +0 -89
  1347. package/mac-agent/node_modules/node-pty/LICENSE +0 -69
  1348. package/mac-agent/node_modules/node-pty/README.md +0 -163
  1349. package/mac-agent/node_modules/node-pty/binding.gyp +0 -117
  1350. package/mac-agent/node_modules/node-pty/build/Makefile +0 -352
  1351. package/mac-agent/node_modules/node-pty/build/Release/pty.node +0 -0
  1352. package/mac-agent/node_modules/node-pty/build/Release/spawn-helper +0 -0
  1353. package/mac-agent/node_modules/node-pty/build/binding.Makefile +0 -6
  1354. package/mac-agent/node_modules/node-pty/build/gyp-mac-tool +0 -768
  1355. package/mac-agent/node_modules/node-pty/build/pty.target.mk +0 -183
  1356. package/mac-agent/node_modules/node-pty/build/spawn-helper.target.mk +0 -172
  1357. package/mac-agent/node_modules/node-pty/deps/.editorconfig +0 -2
  1358. package/mac-agent/node_modules/node-pty/deps/winpty/.drone.yml +0 -17
  1359. package/mac-agent/node_modules/node-pty/deps/winpty/.gitattributes +0 -19
  1360. package/mac-agent/node_modules/node-pty/deps/winpty/LICENSE +0 -21
  1361. package/mac-agent/node_modules/node-pty/deps/winpty/Makefile +0 -166
  1362. package/mac-agent/node_modules/node-pty/deps/winpty/README.md +0 -151
  1363. package/mac-agent/node_modules/node-pty/deps/winpty/RELEASES.md +0 -280
  1364. package/mac-agent/node_modules/node-pty/deps/winpty/VERSION.txt +0 -1
  1365. package/mac-agent/node_modules/node-pty/deps/winpty/configure +0 -167
  1366. package/mac-agent/node_modules/node-pty/deps/winpty/misc/BufferResizeTests.cc +0 -90
  1367. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ChangeScreenBuffer.cc +0 -53
  1368. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ClearConsole.cc +0 -72
  1369. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ConinMode.cc +0 -117
  1370. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ConinMode.ps1 +0 -116
  1371. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ConoutMode.cc +0 -113
  1372. package/mac-agent/node_modules/node-pty/deps/winpty/misc/DebugClient.py +0 -42
  1373. package/mac-agent/node_modules/node-pty/deps/winpty/misc/DebugServer.py +0 -63
  1374. package/mac-agent/node_modules/node-pty/deps/winpty/misc/DumpLines.py +0 -5
  1375. package/mac-agent/node_modules/node-pty/deps/winpty/misc/EnableExtendedFlags.txt +0 -46
  1376. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Consolas.txt +0 -528
  1377. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Lucida.txt +0 -633
  1378. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP932.txt +0 -630
  1379. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP936.txt +0 -630
  1380. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP949.txt +0 -630
  1381. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP950.txt +0 -630
  1382. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/MinimumWindowWidths.txt +0 -16
  1383. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Results.txt +0 -4
  1384. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Windows10SetFontBugginess.txt +0 -144
  1385. package/mac-agent/node_modules/node-pty/deps/winpty/misc/FontSurvey.cc +0 -100
  1386. package/mac-agent/node_modules/node-pty/deps/winpty/misc/FormatChar.h +0 -21
  1387. package/mac-agent/node_modules/node-pty/deps/winpty/misc/FreezePerfTest.cc +0 -62
  1388. package/mac-agent/node_modules/node-pty/deps/winpty/misc/GetCh.cc +0 -20
  1389. package/mac-agent/node_modules/node-pty/deps/winpty/misc/GetConsolePos.cc +0 -41
  1390. package/mac-agent/node_modules/node-pty/deps/winpty/misc/GetFont.cc +0 -261
  1391. package/mac-agent/node_modules/node-pty/deps/winpty/misc/IdentifyConsoleWindow.ps1 +0 -51
  1392. package/mac-agent/node_modules/node-pty/deps/winpty/misc/IsNewConsole.cc +0 -87
  1393. package/mac-agent/node_modules/node-pty/deps/winpty/misc/MouseInputNotes.txt +0 -90
  1394. package/mac-agent/node_modules/node-pty/deps/winpty/misc/MoveConsoleWindow.cc +0 -34
  1395. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Notes.txt +0 -219
  1396. package/mac-agent/node_modules/node-pty/deps/winpty/misc/OSVersion.cc +0 -27
  1397. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ScreenBufferFreezeInactive.cc +0 -101
  1398. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest.cc +0 -671
  1399. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest2.cc +0 -151
  1400. package/mac-agent/node_modules/node-pty/deps/winpty/misc/SelectAllTest.cc +0 -45
  1401. package/mac-agent/node_modules/node-pty/deps/winpty/misc/SetBufferSize.cc +0 -32
  1402. package/mac-agent/node_modules/node-pty/deps/winpty/misc/SetCursorPos.cc +0 -10
  1403. package/mac-agent/node_modules/node-pty/deps/winpty/misc/SetFont.cc +0 -145
  1404. package/mac-agent/node_modules/node-pty/deps/winpty/misc/SetWindowRect.cc +0 -36
  1405. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ShowArgv.cc +0 -12
  1406. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ShowConsoleInput.cc +0 -40
  1407. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Spew.py +0 -5
  1408. package/mac-agent/node_modules/node-pty/deps/winpty/misc/TestUtil.cc +0 -172
  1409. package/mac-agent/node_modules/node-pty/deps/winpty/misc/UnicodeDoubleWidthTest.cc +0 -102
  1410. package/mac-agent/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest1.cc +0 -246
  1411. package/mac-agent/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest2.cc +0 -130
  1412. package/mac-agent/node_modules/node-pty/deps/winpty/misc/UnixEcho.cc +0 -89
  1413. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Utf16Echo.cc +0 -46
  1414. package/mac-agent/node_modules/node-pty/deps/winpty/misc/VeryLargeRead.cc +0 -122
  1415. package/mac-agent/node_modules/node-pty/deps/winpty/misc/VkEscapeTest.cc +0 -56
  1416. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win10ResizeWhileFrozen.cc +0 -52
  1417. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win10WrapTest1.cc +0 -57
  1418. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win10WrapTest2.cc +0 -30
  1419. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win32Echo1.cc +0 -26
  1420. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win32Echo2.cc +0 -19
  1421. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win32Test1.cc +0 -46
  1422. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win32Test2.cc +0 -70
  1423. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win32Test3.cc +0 -78
  1424. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win32Write1.cc +0 -44
  1425. package/mac-agent/node_modules/node-pty/deps/winpty/misc/WindowsBugCrashReader.cc +0 -27
  1426. package/mac-agent/node_modules/node-pty/deps/winpty/misc/WriteConsole.cc +0 -106
  1427. package/mac-agent/node_modules/node-pty/deps/winpty/misc/build32.sh +0 -9
  1428. package/mac-agent/node_modules/node-pty/deps/winpty/misc/build64.sh +0 -9
  1429. package/mac-agent/node_modules/node-pty/deps/winpty/misc/color-test.sh +0 -212
  1430. package/mac-agent/node_modules/node-pty/deps/winpty/misc/font-notes.txt +0 -300
  1431. package/mac-agent/node_modules/node-pty/deps/winpty/misc/winbug-15048.cc +0 -201
  1432. package/mac-agent/node_modules/node-pty/deps/winpty/ship/build-pty4j-libpty.bat +0 -36
  1433. package/mac-agent/node_modules/node-pty/deps/winpty/ship/common_ship.py +0 -53
  1434. package/mac-agent/node_modules/node-pty/deps/winpty/ship/make_msvc_package.py +0 -165
  1435. package/mac-agent/node_modules/node-pty/deps/winpty/ship/ship.py +0 -108
  1436. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Agent.cc +0 -605
  1437. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Agent.h +0 -103
  1438. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.cc +0 -84
  1439. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.h +0 -28
  1440. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.cc +0 -632
  1441. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.h +0 -28
  1442. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.cc +0 -852
  1443. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.h +0 -109
  1444. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.cc +0 -121
  1445. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.h +0 -36
  1446. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.cc +0 -152
  1447. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.h +0 -41
  1448. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Coord.h +0 -87
  1449. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.cc +0 -239
  1450. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.h +0 -32
  1451. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.cc +0 -422
  1452. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.h +0 -28
  1453. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/DsrSender.h +0 -30
  1454. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/EventLoop.cc +0 -99
  1455. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/EventLoop.h +0 -47
  1456. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/InputMap.cc +0 -246
  1457. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/InputMap.h +0 -114
  1458. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.cc +0 -71
  1459. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.h +0 -68
  1460. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.cc +0 -378
  1461. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.h +0 -125
  1462. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Scraper.cc +0 -699
  1463. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Scraper.h +0 -103
  1464. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/SimplePool.h +0 -75
  1465. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/SmallRect.h +0 -143
  1466. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Terminal.cc +0 -535
  1467. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Terminal.h +0 -69
  1468. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncoding.h +0 -157
  1469. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncodingTest.cc +0 -189
  1470. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Win32Console.cc +0 -107
  1471. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Win32Console.h +0 -67
  1472. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.cc +0 -193
  1473. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.h +0 -99
  1474. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/main.cc +0 -114
  1475. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/subdir.mk +0 -61
  1476. package/mac-agent/node_modules/node-pty/deps/winpty/src/configurations.gypi +0 -60
  1477. package/mac-agent/node_modules/node-pty/deps/winpty/src/debugserver/DebugServer.cc +0 -117
  1478. package/mac-agent/node_modules/node-pty/deps/winpty/src/debugserver/subdir.mk +0 -41
  1479. package/mac-agent/node_modules/node-pty/deps/winpty/src/include/winpty.h +0 -242
  1480. package/mac-agent/node_modules/node-pty/deps/winpty/src/include/winpty_constants.h +0 -131
  1481. package/mac-agent/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.cc +0 -75
  1482. package/mac-agent/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.h +0 -28
  1483. package/mac-agent/node_modules/node-pty/deps/winpty/src/libwinpty/LibWinptyException.h +0 -54
  1484. package/mac-agent/node_modules/node-pty/deps/winpty/src/libwinpty/WinptyInternal.h +0 -72
  1485. package/mac-agent/node_modules/node-pty/deps/winpty/src/libwinpty/subdir.mk +0 -46
  1486. package/mac-agent/node_modules/node-pty/deps/winpty/src/libwinpty/winpty.cc +0 -970
  1487. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/AgentMsg.h +0 -38
  1488. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.cc +0 -122
  1489. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.h +0 -73
  1490. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/Buffer.cc +0 -103
  1491. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/Buffer.h +0 -102
  1492. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/DebugClient.cc +0 -187
  1493. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/DebugClient.h +0 -38
  1494. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/GenRandom.cc +0 -138
  1495. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/GenRandom.h +0 -55
  1496. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/GetCommitHash.bat +0 -13
  1497. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/Mutex.h +0 -54
  1498. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/OsModule.h +0 -63
  1499. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.cc +0 -36
  1500. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.h +0 -45
  1501. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/PrecompiledHeader.h +0 -43
  1502. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/StringBuilder.h +0 -227
  1503. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/StringBuilderTest.cc +0 -114
  1504. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/StringUtil.cc +0 -55
  1505. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/StringUtil.h +0 -80
  1506. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/TimeMeasurement.h +0 -63
  1507. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/UnixCtrlChars.h +0 -45
  1508. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/UpdateGenVersion.bat +0 -20
  1509. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.cc +0 -460
  1510. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.h +0 -104
  1511. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.cc +0 -252
  1512. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.h +0 -29
  1513. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.cc +0 -55
  1514. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.h +0 -64
  1515. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WinptyException.cc +0 -57
  1516. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WinptyException.h +0 -43
  1517. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.cc +0 -42
  1518. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.h +0 -27
  1519. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/winpty_snprintf.h +0 -99
  1520. package/mac-agent/node_modules/node-pty/deps/winpty/src/subdir.mk +0 -5
  1521. package/mac-agent/node_modules/node-pty/deps/winpty/src/tests/subdir.mk +0 -28
  1522. package/mac-agent/node_modules/node-pty/deps/winpty/src/tests/trivial_test.cc +0 -158
  1523. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.cc +0 -114
  1524. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.h +0 -56
  1525. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.cc +0 -80
  1526. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.h +0 -53
  1527. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.cc +0 -86
  1528. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.h +0 -31
  1529. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.cc +0 -70
  1530. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.h +0 -42
  1531. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/main.cc +0 -729
  1532. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/subdir.mk +0 -41
  1533. package/mac-agent/node_modules/node-pty/deps/winpty/src/winpty.gyp +0 -206
  1534. package/mac-agent/node_modules/node-pty/deps/winpty/vcbuild.bat +0 -83
  1535. package/mac-agent/node_modules/node-pty/lib/conpty_console_list_agent.js +0 -20
  1536. package/mac-agent/node_modules/node-pty/lib/conpty_console_list_agent.js.map +0 -1
  1537. package/mac-agent/node_modules/node-pty/lib/eventEmitter2.js +0 -47
  1538. package/mac-agent/node_modules/node-pty/lib/eventEmitter2.js.map +0 -1
  1539. package/mac-agent/node_modules/node-pty/lib/eventEmitter2.test.js +0 -30
  1540. package/mac-agent/node_modules/node-pty/lib/eventEmitter2.test.js.map +0 -1
  1541. package/mac-agent/node_modules/node-pty/lib/index.js +0 -51
  1542. package/mac-agent/node_modules/node-pty/lib/index.js.map +0 -1
  1543. package/mac-agent/node_modules/node-pty/lib/interfaces.js +0 -7
  1544. package/mac-agent/node_modules/node-pty/lib/interfaces.js.map +0 -1
  1545. package/mac-agent/node_modules/node-pty/lib/shared/conout.js +0 -11
  1546. package/mac-agent/node_modules/node-pty/lib/shared/conout.js.map +0 -1
  1547. package/mac-agent/node_modules/node-pty/lib/terminal.js +0 -190
  1548. package/mac-agent/node_modules/node-pty/lib/terminal.js.map +0 -1
  1549. package/mac-agent/node_modules/node-pty/lib/terminal.test.js +0 -139
  1550. package/mac-agent/node_modules/node-pty/lib/terminal.test.js.map +0 -1
  1551. package/mac-agent/node_modules/node-pty/lib/testUtils.test.js +0 -28
  1552. package/mac-agent/node_modules/node-pty/lib/testUtils.test.js.map +0 -1
  1553. package/mac-agent/node_modules/node-pty/lib/types.js +0 -7
  1554. package/mac-agent/node_modules/node-pty/lib/types.js.map +0 -1
  1555. package/mac-agent/node_modules/node-pty/lib/unixTerminal.js +0 -304
  1556. package/mac-agent/node_modules/node-pty/lib/unixTerminal.js.map +0 -1
  1557. package/mac-agent/node_modules/node-pty/lib/unixTerminal.test.js +0 -330
  1558. package/mac-agent/node_modules/node-pty/lib/unixTerminal.test.js.map +0 -1
  1559. package/mac-agent/node_modules/node-pty/lib/utils.js +0 -17
  1560. package/mac-agent/node_modules/node-pty/lib/utils.js.map +0 -1
  1561. package/mac-agent/node_modules/node-pty/lib/windowsConoutConnection.js +0 -122
  1562. package/mac-agent/node_modules/node-pty/lib/windowsConoutConnection.js.map +0 -1
  1563. package/mac-agent/node_modules/node-pty/lib/windowsPtyAgent.js +0 -324
  1564. package/mac-agent/node_modules/node-pty/lib/windowsPtyAgent.js.map +0 -1
  1565. package/mac-agent/node_modules/node-pty/lib/windowsPtyAgent.test.js +0 -90
  1566. package/mac-agent/node_modules/node-pty/lib/windowsPtyAgent.test.js.map +0 -1
  1567. package/mac-agent/node_modules/node-pty/lib/windowsTerminal.js +0 -201
  1568. package/mac-agent/node_modules/node-pty/lib/windowsTerminal.js.map +0 -1
  1569. package/mac-agent/node_modules/node-pty/lib/windowsTerminal.test.js +0 -203
  1570. package/mac-agent/node_modules/node-pty/lib/windowsTerminal.test.js.map +0 -1
  1571. package/mac-agent/node_modules/node-pty/lib/worker/conoutSocketWorker.js +0 -22
  1572. package/mac-agent/node_modules/node-pty/lib/worker/conoutSocketWorker.js.map +0 -1
  1573. package/mac-agent/node_modules/node-pty/package.json +0 -59
  1574. package/mac-agent/node_modules/node-pty/scripts/post-install.js +0 -42
  1575. package/mac-agent/node_modules/node-pty/scripts/publish.js +0 -62
  1576. package/mac-agent/node_modules/node-pty/src/conpty_console_list_agent.ts +0 -19
  1577. package/mac-agent/node_modules/node-pty/src/eventEmitter2.test.ts +0 -30
  1578. package/mac-agent/node_modules/node-pty/src/eventEmitter2.ts +0 -48
  1579. package/mac-agent/node_modules/node-pty/src/index.ts +0 -51
  1580. package/mac-agent/node_modules/node-pty/src/interfaces.ts +0 -129
  1581. package/mac-agent/node_modules/node-pty/src/native.d.ts +0 -56
  1582. package/mac-agent/node_modules/node-pty/src/shared/conout.ts +0 -15
  1583. package/mac-agent/node_modules/node-pty/src/terminal.test.ts +0 -119
  1584. package/mac-agent/node_modules/node-pty/src/terminal.ts +0 -211
  1585. package/mac-agent/node_modules/node-pty/src/testUtils.test.ts +0 -23
  1586. package/mac-agent/node_modules/node-pty/src/tsconfig.json +0 -22
  1587. package/mac-agent/node_modules/node-pty/src/types.ts +0 -15
  1588. package/mac-agent/node_modules/node-pty/src/unix/pty.cc +0 -826
  1589. package/mac-agent/node_modules/node-pty/src/unix/spawn-helper.cc +0 -23
  1590. package/mac-agent/node_modules/node-pty/src/unixTerminal.test.ts +0 -335
  1591. package/mac-agent/node_modules/node-pty/src/unixTerminal.ts +0 -320
  1592. package/mac-agent/node_modules/node-pty/src/utils.ts +0 -9
  1593. package/mac-agent/node_modules/node-pty/src/win/conpty.cc +0 -498
  1594. package/mac-agent/node_modules/node-pty/src/win/conpty_console_list.cc +0 -43
  1595. package/mac-agent/node_modules/node-pty/src/win/path_util.cc +0 -73
  1596. package/mac-agent/node_modules/node-pty/src/win/path_util.h +0 -22
  1597. package/mac-agent/node_modules/node-pty/src/win/winpty.cc +0 -312
  1598. package/mac-agent/node_modules/node-pty/src/windowsConoutConnection.ts +0 -79
  1599. package/mac-agent/node_modules/node-pty/src/windowsPtyAgent.test.ts +0 -94
  1600. package/mac-agent/node_modules/node-pty/src/windowsPtyAgent.ts +0 -323
  1601. package/mac-agent/node_modules/node-pty/src/windowsTerminal.test.ts +0 -214
  1602. package/mac-agent/node_modules/node-pty/src/windowsTerminal.ts +0 -208
  1603. package/mac-agent/node_modules/node-pty/src/worker/conoutSocketWorker.ts +0 -22
  1604. package/mac-agent/node_modules/node-pty/typings/node-pty.d.ts +0 -203
  1605. package/mac-agent/node_modules/nodemon/.prettierrc.json +0 -3
  1606. package/mac-agent/node_modules/nodemon/LICENSE +0 -21
  1607. package/mac-agent/node_modules/nodemon/README.md +0 -441
  1608. package/mac-agent/node_modules/nodemon/bin/nodemon.js +0 -16
  1609. package/mac-agent/node_modules/nodemon/bin/windows-kill.exe +0 -0
  1610. package/mac-agent/node_modules/nodemon/doc/cli/authors.txt +0 -8
  1611. package/mac-agent/node_modules/nodemon/doc/cli/config.txt +0 -44
  1612. package/mac-agent/node_modules/nodemon/doc/cli/help.txt +0 -29
  1613. package/mac-agent/node_modules/nodemon/doc/cli/logo.txt +0 -20
  1614. package/mac-agent/node_modules/nodemon/doc/cli/options.txt +0 -36
  1615. package/mac-agent/node_modules/nodemon/doc/cli/topics.txt +0 -8
  1616. package/mac-agent/node_modules/nodemon/doc/cli/usage.txt +0 -3
  1617. package/mac-agent/node_modules/nodemon/doc/cli/whoami.txt +0 -9
  1618. package/mac-agent/node_modules/nodemon/index.d.ts +0 -125
  1619. package/mac-agent/node_modules/nodemon/jsconfig.json +0 -7
  1620. package/mac-agent/node_modules/nodemon/lib/cli/index.js +0 -49
  1621. package/mac-agent/node_modules/nodemon/lib/cli/parse.js +0 -230
  1622. package/mac-agent/node_modules/nodemon/lib/config/command.js +0 -43
  1623. package/mac-agent/node_modules/nodemon/lib/config/defaults.js +0 -34
  1624. package/mac-agent/node_modules/nodemon/lib/config/exec.js +0 -234
  1625. package/mac-agent/node_modules/nodemon/lib/config/index.js +0 -93
  1626. package/mac-agent/node_modules/nodemon/lib/config/load.js +0 -225
  1627. package/mac-agent/node_modules/nodemon/lib/help/index.js +0 -27
  1628. package/mac-agent/node_modules/nodemon/lib/index.js +0 -1
  1629. package/mac-agent/node_modules/nodemon/lib/monitor/index.js +0 -4
  1630. package/mac-agent/node_modules/nodemon/lib/monitor/match.js +0 -287
  1631. package/mac-agent/node_modules/nodemon/lib/monitor/run.js +0 -562
  1632. package/mac-agent/node_modules/nodemon/lib/monitor/signals.js +0 -34
  1633. package/mac-agent/node_modules/nodemon/lib/monitor/watch.js +0 -244
  1634. package/mac-agent/node_modules/nodemon/lib/nodemon.js +0 -317
  1635. package/mac-agent/node_modules/nodemon/lib/rules/add.js +0 -89
  1636. package/mac-agent/node_modules/nodemon/lib/rules/index.js +0 -53
  1637. package/mac-agent/node_modules/nodemon/lib/rules/parse.js +0 -43
  1638. package/mac-agent/node_modules/nodemon/lib/spawn.js +0 -74
  1639. package/mac-agent/node_modules/nodemon/lib/utils/bus.js +0 -44
  1640. package/mac-agent/node_modules/nodemon/lib/utils/clone.js +0 -40
  1641. package/mac-agent/node_modules/nodemon/lib/utils/colour.js +0 -26
  1642. package/mac-agent/node_modules/nodemon/lib/utils/index.js +0 -103
  1643. package/mac-agent/node_modules/nodemon/lib/utils/log.js +0 -82
  1644. package/mac-agent/node_modules/nodemon/lib/utils/merge.js +0 -47
  1645. package/mac-agent/node_modules/nodemon/lib/version.js +0 -100
  1646. package/mac-agent/node_modules/nodemon/package.json +0 -75
  1647. package/mac-agent/node_modules/nopt/CHANGELOG.md +0 -58
  1648. package/mac-agent/node_modules/nopt/LICENSE +0 -15
  1649. package/mac-agent/node_modules/nopt/README.md +0 -213
  1650. package/mac-agent/node_modules/nopt/bin/nopt.js +0 -54
  1651. package/mac-agent/node_modules/nopt/lib/nopt.js +0 -441
  1652. package/mac-agent/node_modules/nopt/package.json +0 -34
  1653. package/mac-agent/node_modules/normalize-package-data/AUTHORS +0 -4
  1654. package/mac-agent/node_modules/normalize-package-data/LICENSE +0 -30
  1655. package/mac-agent/node_modules/normalize-package-data/README.md +0 -106
  1656. package/mac-agent/node_modules/normalize-package-data/lib/extract_description.js +0 -14
  1657. package/mac-agent/node_modules/normalize-package-data/lib/fixer.js +0 -418
  1658. package/mac-agent/node_modules/normalize-package-data/lib/make_warning.js +0 -23
  1659. package/mac-agent/node_modules/normalize-package-data/lib/normalize.js +0 -39
  1660. package/mac-agent/node_modules/normalize-package-data/lib/safe_format.js +0 -9
  1661. package/mac-agent/node_modules/normalize-package-data/lib/typos.json +0 -25
  1662. package/mac-agent/node_modules/normalize-package-data/lib/warning_messages.json +0 -30
  1663. package/mac-agent/node_modules/normalize-package-data/node_modules/semver/LICENSE +0 -15
  1664. package/mac-agent/node_modules/normalize-package-data/node_modules/semver/README.md +0 -412
  1665. package/mac-agent/node_modules/normalize-package-data/node_modules/semver/bin/semver +0 -160
  1666. package/mac-agent/node_modules/normalize-package-data/node_modules/semver/package.json +0 -38
  1667. package/mac-agent/node_modules/normalize-package-data/node_modules/semver/range.bnf +0 -16
  1668. package/mac-agent/node_modules/normalize-package-data/node_modules/semver/semver.js +0 -1525
  1669. package/mac-agent/node_modules/normalize-package-data/package.json +0 -31
  1670. package/mac-agent/node_modules/normalize-path/LICENSE +0 -21
  1671. package/mac-agent/node_modules/normalize-path/README.md +0 -127
  1672. package/mac-agent/node_modules/normalize-path/index.js +0 -35
  1673. package/mac-agent/node_modules/normalize-path/package.json +0 -77
  1674. package/mac-agent/node_modules/npmlog/LICENSE +0 -15
  1675. package/mac-agent/node_modules/npmlog/README.md +0 -216
  1676. package/mac-agent/node_modules/npmlog/log.js +0 -403
  1677. package/mac-agent/node_modules/npmlog/package.json +0 -33
  1678. package/mac-agent/node_modules/number-is-nan/index.js +0 -4
  1679. package/mac-agent/node_modules/number-is-nan/license +0 -21
  1680. package/mac-agent/node_modules/number-is-nan/package.json +0 -35
  1681. package/mac-agent/node_modules/number-is-nan/readme.md +0 -28
  1682. package/mac-agent/node_modules/object-assign/index.js +0 -90
  1683. package/mac-agent/node_modules/object-assign/license +0 -21
  1684. package/mac-agent/node_modules/object-assign/package.json +0 -42
  1685. package/mac-agent/node_modules/object-assign/readme.md +0 -61
  1686. package/mac-agent/node_modules/object-keys/.editorconfig +0 -13
  1687. package/mac-agent/node_modules/object-keys/.eslintrc +0 -17
  1688. package/mac-agent/node_modules/object-keys/.travis.yml +0 -277
  1689. package/mac-agent/node_modules/object-keys/CHANGELOG.md +0 -232
  1690. package/mac-agent/node_modules/object-keys/LICENSE +0 -21
  1691. package/mac-agent/node_modules/object-keys/README.md +0 -76
  1692. package/mac-agent/node_modules/object-keys/implementation.js +0 -122
  1693. package/mac-agent/node_modules/object-keys/index.js +0 -32
  1694. package/mac-agent/node_modules/object-keys/isArguments.js +0 -17
  1695. package/mac-agent/node_modules/object-keys/package.json +0 -88
  1696. package/mac-agent/node_modules/object-keys/test/index.js +0 -5
  1697. package/mac-agent/node_modules/object.assign/.editorconfig +0 -20
  1698. package/mac-agent/node_modules/object.assign/.eslintrc +0 -28
  1699. package/mac-agent/node_modules/object.assign/.github/FUNDING.yml +0 -12
  1700. package/mac-agent/node_modules/object.assign/.nycrc +0 -9
  1701. package/mac-agent/node_modules/object.assign/CHANGELOG.md +0 -246
  1702. package/mac-agent/node_modules/object.assign/LICENSE +0 -21
  1703. package/mac-agent/node_modules/object.assign/README.md +0 -136
  1704. package/mac-agent/node_modules/object.assign/auto.js +0 -3
  1705. package/mac-agent/node_modules/object.assign/dist/browser.js +0 -1304
  1706. package/mac-agent/node_modules/object.assign/hasSymbols.js +0 -43
  1707. package/mac-agent/node_modules/object.assign/implementation.js +0 -46
  1708. package/mac-agent/node_modules/object.assign/index.js +0 -22
  1709. package/mac-agent/node_modules/object.assign/package.json +0 -96
  1710. package/mac-agent/node_modules/object.assign/polyfill.js +0 -55
  1711. package/mac-agent/node_modules/object.assign/shim.js +0 -14
  1712. package/mac-agent/node_modules/object.assign/test/implementation.js +0 -19
  1713. package/mac-agent/node_modules/object.assign/test/index.js +0 -17
  1714. package/mac-agent/node_modules/object.assign/test/native.js +0 -49
  1715. package/mac-agent/node_modules/object.assign/test/ses-compat.js +0 -12
  1716. package/mac-agent/node_modules/object.assign/test/shimmed.js +0 -52
  1717. package/mac-agent/node_modules/object.assign/test/tests.js +0 -232
  1718. package/mac-agent/node_modules/once/LICENSE +0 -15
  1719. package/mac-agent/node_modules/once/README.md +0 -79
  1720. package/mac-agent/node_modules/once/once.js +0 -42
  1721. package/mac-agent/node_modules/once/package.json +0 -33
  1722. package/mac-agent/node_modules/one-time/LICENSE +0 -22
  1723. package/mac-agent/node_modules/one-time/README.md +0 -88
  1724. package/mac-agent/node_modules/one-time/async.js +0 -43
  1725. package/mac-agent/node_modules/one-time/index.js +0 -42
  1726. package/mac-agent/node_modules/one-time/package.json +0 -34
  1727. package/mac-agent/node_modules/os-locale/index.js +0 -127
  1728. package/mac-agent/node_modules/os-locale/license +0 -21
  1729. package/mac-agent/node_modules/os-locale/package.json +0 -43
  1730. package/mac-agent/node_modules/os-locale/readme.md +0 -47
  1731. package/mac-agent/node_modules/parse-json/index.js +0 -35
  1732. package/mac-agent/node_modules/parse-json/license +0 -21
  1733. package/mac-agent/node_modules/parse-json/package.json +0 -46
  1734. package/mac-agent/node_modules/parse-json/readme.md +0 -83
  1735. package/mac-agent/node_modules/parse-json/vendor/parse.js +0 -752
  1736. package/mac-agent/node_modules/parse-json/vendor/unicode.js +0 -71
  1737. package/mac-agent/node_modules/path-exists/index.js +0 -24
  1738. package/mac-agent/node_modules/path-exists/license +0 -21
  1739. package/mac-agent/node_modules/path-exists/package.json +0 -40
  1740. package/mac-agent/node_modules/path-exists/readme.md +0 -45
  1741. package/mac-agent/node_modules/path-is-absolute/index.js +0 -20
  1742. package/mac-agent/node_modules/path-is-absolute/license +0 -21
  1743. package/mac-agent/node_modules/path-is-absolute/package.json +0 -43
  1744. package/mac-agent/node_modules/path-is-absolute/readme.md +0 -59
  1745. package/mac-agent/node_modules/path-parse/LICENSE +0 -21
  1746. package/mac-agent/node_modules/path-parse/README.md +0 -42
  1747. package/mac-agent/node_modules/path-parse/index.js +0 -75
  1748. package/mac-agent/node_modules/path-parse/package.json +0 -33
  1749. package/mac-agent/node_modules/path-type/index.js +0 -29
  1750. package/mac-agent/node_modules/path-type/license +0 -21
  1751. package/mac-agent/node_modules/path-type/package.json +0 -52
  1752. package/mac-agent/node_modules/path-type/readme.md +0 -42
  1753. package/mac-agent/node_modules/picomatch/CHANGELOG.md +0 -136
  1754. package/mac-agent/node_modules/picomatch/LICENSE +0 -21
  1755. package/mac-agent/node_modules/picomatch/README.md +0 -708
  1756. package/mac-agent/node_modules/picomatch/index.js +0 -3
  1757. package/mac-agent/node_modules/picomatch/lib/constants.js +0 -179
  1758. package/mac-agent/node_modules/picomatch/lib/parse.js +0 -1091
  1759. package/mac-agent/node_modules/picomatch/lib/picomatch.js +0 -342
  1760. package/mac-agent/node_modules/picomatch/lib/scan.js +0 -391
  1761. package/mac-agent/node_modules/picomatch/lib/utils.js +0 -64
  1762. package/mac-agent/node_modules/picomatch/package.json +0 -81
  1763. package/mac-agent/node_modules/pify/index.js +0 -68
  1764. package/mac-agent/node_modules/pify/license +0 -21
  1765. package/mac-agent/node_modules/pify/package.json +0 -48
  1766. package/mac-agent/node_modules/pify/readme.md +0 -119
  1767. package/mac-agent/node_modules/pinkie/index.js +0 -292
  1768. package/mac-agent/node_modules/pinkie/license +0 -21
  1769. package/mac-agent/node_modules/pinkie/package.json +0 -36
  1770. package/mac-agent/node_modules/pinkie/readme.md +0 -83
  1771. package/mac-agent/node_modules/pinkie-promise/index.js +0 -3
  1772. package/mac-agent/node_modules/pinkie-promise/license +0 -21
  1773. package/mac-agent/node_modules/pinkie-promise/package.json +0 -35
  1774. package/mac-agent/node_modules/pinkie-promise/readme.md +0 -28
  1775. package/mac-agent/node_modules/proxy-from-env/.eslintrc +0 -29
  1776. package/mac-agent/node_modules/proxy-from-env/.travis.yml +0 -10
  1777. package/mac-agent/node_modules/proxy-from-env/LICENSE +0 -20
  1778. package/mac-agent/node_modules/proxy-from-env/README.md +0 -131
  1779. package/mac-agent/node_modules/proxy-from-env/index.js +0 -108
  1780. package/mac-agent/node_modules/proxy-from-env/package.json +0 -34
  1781. package/mac-agent/node_modules/proxy-from-env/test.js +0 -483
  1782. package/mac-agent/node_modules/pstree.remy/.travis.yml +0 -8
  1783. package/mac-agent/node_modules/pstree.remy/LICENSE +0 -7
  1784. package/mac-agent/node_modules/pstree.remy/README.md +0 -26
  1785. package/mac-agent/node_modules/pstree.remy/lib/index.js +0 -37
  1786. package/mac-agent/node_modules/pstree.remy/lib/tree.js +0 -37
  1787. package/mac-agent/node_modules/pstree.remy/lib/utils.js +0 -53
  1788. package/mac-agent/node_modules/pstree.remy/package.json +0 -33
  1789. package/mac-agent/node_modules/pstree.remy/tests/fixtures/index.js +0 -13
  1790. package/mac-agent/node_modules/pstree.remy/tests/fixtures/out1 +0 -10
  1791. package/mac-agent/node_modules/pstree.remy/tests/fixtures/out2 +0 -29
  1792. package/mac-agent/node_modules/pstree.remy/tests/index.test.js +0 -51
  1793. package/mac-agent/node_modules/read-pkg/index.js +0 -48
  1794. package/mac-agent/node_modules/read-pkg/license +0 -21
  1795. package/mac-agent/node_modules/read-pkg/package.json +0 -42
  1796. package/mac-agent/node_modules/read-pkg/readme.md +0 -79
  1797. package/mac-agent/node_modules/read-pkg-up/index.js +0 -31
  1798. package/mac-agent/node_modules/read-pkg-up/license +0 -21
  1799. package/mac-agent/node_modules/read-pkg-up/package.json +0 -59
  1800. package/mac-agent/node_modules/read-pkg-up/readme.md +0 -79
  1801. package/mac-agent/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  1802. package/mac-agent/node_modules/readable-stream/GOVERNANCE.md +0 -136
  1803. package/mac-agent/node_modules/readable-stream/LICENSE +0 -47
  1804. package/mac-agent/node_modules/readable-stream/README.md +0 -106
  1805. package/mac-agent/node_modules/readable-stream/errors-browser.js +0 -127
  1806. package/mac-agent/node_modules/readable-stream/errors.js +0 -116
  1807. package/mac-agent/node_modules/readable-stream/experimentalWarning.js +0 -17
  1808. package/mac-agent/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
  1809. package/mac-agent/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
  1810. package/mac-agent/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
  1811. package/mac-agent/node_modules/readable-stream/lib/_stream_transform.js +0 -190
  1812. package/mac-agent/node_modules/readable-stream/lib/_stream_writable.js +0 -641
  1813. package/mac-agent/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
  1814. package/mac-agent/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
  1815. package/mac-agent/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
  1816. package/mac-agent/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
  1817. package/mac-agent/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
  1818. package/mac-agent/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
  1819. package/mac-agent/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
  1820. package/mac-agent/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
  1821. package/mac-agent/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  1822. package/mac-agent/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  1823. package/mac-agent/node_modules/readable-stream/package.json +0 -68
  1824. package/mac-agent/node_modules/readable-stream/readable-browser.js +0 -9
  1825. package/mac-agent/node_modules/readable-stream/readable.js +0 -16
  1826. package/mac-agent/node_modules/readdirp/LICENSE +0 -21
  1827. package/mac-agent/node_modules/readdirp/README.md +0 -122
  1828. package/mac-agent/node_modules/readdirp/index.d.ts +0 -43
  1829. package/mac-agent/node_modules/readdirp/index.js +0 -287
  1830. package/mac-agent/node_modules/readdirp/package.json +0 -122
  1831. package/mac-agent/node_modules/require-directory/.jshintrc +0 -67
  1832. package/mac-agent/node_modules/require-directory/.travis.yml +0 -3
  1833. package/mac-agent/node_modules/require-directory/LICENSE +0 -22
  1834. package/mac-agent/node_modules/require-directory/README.markdown +0 -184
  1835. package/mac-agent/node_modules/require-directory/index.js +0 -86
  1836. package/mac-agent/node_modules/require-directory/package.json +0 -40
  1837. package/mac-agent/node_modules/require-main-filename/.travis.yml +0 -8
  1838. package/mac-agent/node_modules/require-main-filename/LICENSE.txt +0 -14
  1839. package/mac-agent/node_modules/require-main-filename/README.md +0 -26
  1840. package/mac-agent/node_modules/require-main-filename/index.js +0 -18
  1841. package/mac-agent/node_modules/require-main-filename/package.json +0 -30
  1842. package/mac-agent/node_modules/require-main-filename/test.js +0 -36
  1843. package/mac-agent/node_modules/resolve/.editorconfig +0 -37
  1844. package/mac-agent/node_modules/resolve/.eslintrc +0 -65
  1845. package/mac-agent/node_modules/resolve/.github/FUNDING.yml +0 -12
  1846. package/mac-agent/node_modules/resolve/LICENSE +0 -21
  1847. package/mac-agent/node_modules/resolve/SECURITY.md +0 -3
  1848. package/mac-agent/node_modules/resolve/async.js +0 -3
  1849. package/mac-agent/node_modules/resolve/bin/resolve +0 -50
  1850. package/mac-agent/node_modules/resolve/example/async.js +0 -5
  1851. package/mac-agent/node_modules/resolve/example/sync.js +0 -3
  1852. package/mac-agent/node_modules/resolve/index.js +0 -6
  1853. package/mac-agent/node_modules/resolve/lib/async.js +0 -329
  1854. package/mac-agent/node_modules/resolve/lib/caller.js +0 -8
  1855. package/mac-agent/node_modules/resolve/lib/core.js +0 -12
  1856. package/mac-agent/node_modules/resolve/lib/core.json +0 -162
  1857. package/mac-agent/node_modules/resolve/lib/homedir.js +0 -24
  1858. package/mac-agent/node_modules/resolve/lib/is-core.js +0 -5
  1859. package/mac-agent/node_modules/resolve/lib/node-modules-paths.js +0 -42
  1860. package/mac-agent/node_modules/resolve/lib/normalize-options.js +0 -10
  1861. package/mac-agent/node_modules/resolve/lib/sync.js +0 -208
  1862. package/mac-agent/node_modules/resolve/package.json +0 -75
  1863. package/mac-agent/node_modules/resolve/readme.markdown +0 -301
  1864. package/mac-agent/node_modules/resolve/sync.js +0 -3
  1865. package/mac-agent/node_modules/resolve/test/core.js +0 -88
  1866. package/mac-agent/node_modules/resolve/test/dotdot/abc/index.js +0 -2
  1867. package/mac-agent/node_modules/resolve/test/dotdot/index.js +0 -1
  1868. package/mac-agent/node_modules/resolve/test/dotdot.js +0 -29
  1869. package/mac-agent/node_modules/resolve/test/faulty_basedir.js +0 -29
  1870. package/mac-agent/node_modules/resolve/test/filter.js +0 -34
  1871. package/mac-agent/node_modules/resolve/test/filter_sync.js +0 -33
  1872. package/mac-agent/node_modules/resolve/test/home_paths.js +0 -127
  1873. package/mac-agent/node_modules/resolve/test/home_paths_sync.js +0 -114
  1874. package/mac-agent/node_modules/resolve/test/mock.js +0 -315
  1875. package/mac-agent/node_modules/resolve/test/mock_sync.js +0 -214
  1876. package/mac-agent/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +0 -1
  1877. package/mac-agent/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +0 -1
  1878. package/mac-agent/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +0 -1
  1879. package/mac-agent/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +0 -3
  1880. package/mac-agent/node_modules/resolve/test/module_dir.js +0 -56
  1881. package/mac-agent/node_modules/resolve/test/node-modules-paths.js +0 -143
  1882. package/mac-agent/node_modules/resolve/test/node_path/x/aaa/index.js +0 -1
  1883. package/mac-agent/node_modules/resolve/test/node_path/x/ccc/index.js +0 -1
  1884. package/mac-agent/node_modules/resolve/test/node_path/y/bbb/index.js +0 -1
  1885. package/mac-agent/node_modules/resolve/test/node_path/y/ccc/index.js +0 -1
  1886. package/mac-agent/node_modules/resolve/test/node_path.js +0 -70
  1887. package/mac-agent/node_modules/resolve/test/nonstring.js +0 -9
  1888. package/mac-agent/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
  1889. package/mac-agent/node_modules/resolve/test/pathfilter.js +0 -75
  1890. package/mac-agent/node_modules/resolve/test/precedence/aaa/index.js +0 -1
  1891. package/mac-agent/node_modules/resolve/test/precedence/aaa/main.js +0 -1
  1892. package/mac-agent/node_modules/resolve/test/precedence/aaa.js +0 -1
  1893. package/mac-agent/node_modules/resolve/test/precedence/bbb/main.js +0 -1
  1894. package/mac-agent/node_modules/resolve/test/precedence/bbb.js +0 -1
  1895. package/mac-agent/node_modules/resolve/test/precedence.js +0 -23
  1896. package/mac-agent/node_modules/resolve/test/resolver/baz/doom.js +0 -0
  1897. package/mac-agent/node_modules/resolve/test/resolver/baz/package.json +0 -4
  1898. package/mac-agent/node_modules/resolve/test/resolver/baz/quux.js +0 -1
  1899. package/mac-agent/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
  1900. package/mac-agent/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
  1901. package/mac-agent/node_modules/resolve/test/resolver/browser_field/package.json +0 -5
  1902. package/mac-agent/node_modules/resolve/test/resolver/cup.coffee +0 -1
  1903. package/mac-agent/node_modules/resolve/test/resolver/dot_main/index.js +0 -1
  1904. package/mac-agent/node_modules/resolve/test/resolver/dot_main/package.json +0 -3
  1905. package/mac-agent/node_modules/resolve/test/resolver/dot_slash_main/index.js +0 -1
  1906. package/mac-agent/node_modules/resolve/test/resolver/dot_slash_main/package.json +0 -3
  1907. package/mac-agent/node_modules/resolve/test/resolver/false_main/index.js +0 -0
  1908. package/mac-agent/node_modules/resolve/test/resolver/false_main/package.json +0 -4
  1909. package/mac-agent/node_modules/resolve/test/resolver/foo.js +0 -1
  1910. package/mac-agent/node_modules/resolve/test/resolver/incorrect_main/index.js +0 -2
  1911. package/mac-agent/node_modules/resolve/test/resolver/incorrect_main/package.json +0 -3
  1912. package/mac-agent/node_modules/resolve/test/resolver/invalid_main/package.json +0 -7
  1913. package/mac-agent/node_modules/resolve/test/resolver/mug.coffee +0 -0
  1914. package/mac-agent/node_modules/resolve/test/resolver/mug.js +0 -0
  1915. package/mac-agent/node_modules/resolve/test/resolver/multirepo/lerna.json +0 -6
  1916. package/mac-agent/node_modules/resolve/test/resolver/multirepo/package.json +0 -20
  1917. package/mac-agent/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +0 -35
  1918. package/mac-agent/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +0 -14
  1919. package/mac-agent/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
  1920. package/mac-agent/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +0 -14
  1921. package/mac-agent/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +0 -26
  1922. package/mac-agent/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +0 -15
  1923. package/mac-agent/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +0 -12
  1924. package/mac-agent/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
  1925. package/mac-agent/node_modules/resolve/test/resolver/other_path/root.js +0 -0
  1926. package/mac-agent/node_modules/resolve/test/resolver/quux/foo/index.js +0 -1
  1927. package/mac-agent/node_modules/resolve/test/resolver/same_names/foo/index.js +0 -1
  1928. package/mac-agent/node_modules/resolve/test/resolver/same_names/foo.js +0 -1
  1929. package/mac-agent/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
  1930. package/mac-agent/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep +0 -0
  1931. package/mac-agent/node_modules/resolve/test/resolver/symlinked/package/bar.js +0 -1
  1932. package/mac-agent/node_modules/resolve/test/resolver/symlinked/package/package.json +0 -3
  1933. package/mac-agent/node_modules/resolve/test/resolver/without_basedir/main.js +0 -5
  1934. package/mac-agent/node_modules/resolve/test/resolver.js +0 -597
  1935. package/mac-agent/node_modules/resolve/test/resolver_sync.js +0 -730
  1936. package/mac-agent/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
  1937. package/mac-agent/node_modules/resolve/test/shadowed_core.js +0 -54
  1938. package/mac-agent/node_modules/resolve/test/subdirs.js +0 -13
  1939. package/mac-agent/node_modules/resolve/test/symlinks.js +0 -176
  1940. package/mac-agent/node_modules/rimraf/CHANGELOG.md +0 -65
  1941. package/mac-agent/node_modules/rimraf/LICENSE +0 -15
  1942. package/mac-agent/node_modules/rimraf/README.md +0 -101
  1943. package/mac-agent/node_modules/rimraf/bin.js +0 -68
  1944. package/mac-agent/node_modules/rimraf/package.json +0 -32
  1945. package/mac-agent/node_modules/rimraf/rimraf.js +0 -360
  1946. package/mac-agent/node_modules/safe-buffer/LICENSE +0 -21
  1947. package/mac-agent/node_modules/safe-buffer/README.md +0 -584
  1948. package/mac-agent/node_modules/safe-buffer/index.d.ts +0 -187
  1949. package/mac-agent/node_modules/safe-buffer/index.js +0 -65
  1950. package/mac-agent/node_modules/safe-buffer/package.json +0 -51
  1951. package/mac-agent/node_modules/safe-stable-stringify/LICENSE +0 -21
  1952. package/mac-agent/node_modules/safe-stable-stringify/esm/package.json +0 -4
  1953. package/mac-agent/node_modules/safe-stable-stringify/esm/wrapper.d.ts +0 -4
  1954. package/mac-agent/node_modules/safe-stable-stringify/esm/wrapper.js +0 -6
  1955. package/mac-agent/node_modules/safe-stable-stringify/index.d.ts +0 -22
  1956. package/mac-agent/node_modules/safe-stable-stringify/index.js +0 -625
  1957. package/mac-agent/node_modules/safe-stable-stringify/package.json +0 -65
  1958. package/mac-agent/node_modules/safe-stable-stringify/readme.md +0 -179
  1959. package/mac-agent/node_modules/semver/LICENSE +0 -15
  1960. package/mac-agent/node_modules/semver/README.md +0 -664
  1961. package/mac-agent/node_modules/semver/bin/semver.js +0 -191
  1962. package/mac-agent/node_modules/semver/classes/comparator.js +0 -143
  1963. package/mac-agent/node_modules/semver/classes/index.js +0 -7
  1964. package/mac-agent/node_modules/semver/classes/range.js +0 -556
  1965. package/mac-agent/node_modules/semver/classes/semver.js +0 -319
  1966. package/mac-agent/node_modules/semver/functions/clean.js +0 -8
  1967. package/mac-agent/node_modules/semver/functions/cmp.js +0 -54
  1968. package/mac-agent/node_modules/semver/functions/coerce.js +0 -62
  1969. package/mac-agent/node_modules/semver/functions/compare-build.js +0 -9
  1970. package/mac-agent/node_modules/semver/functions/compare-loose.js +0 -5
  1971. package/mac-agent/node_modules/semver/functions/compare.js +0 -7
  1972. package/mac-agent/node_modules/semver/functions/diff.js +0 -60
  1973. package/mac-agent/node_modules/semver/functions/eq.js +0 -5
  1974. package/mac-agent/node_modules/semver/functions/gt.js +0 -5
  1975. package/mac-agent/node_modules/semver/functions/gte.js +0 -5
  1976. package/mac-agent/node_modules/semver/functions/inc.js +0 -21
  1977. package/mac-agent/node_modules/semver/functions/lt.js +0 -5
  1978. package/mac-agent/node_modules/semver/functions/lte.js +0 -5
  1979. package/mac-agent/node_modules/semver/functions/major.js +0 -5
  1980. package/mac-agent/node_modules/semver/functions/minor.js +0 -5
  1981. package/mac-agent/node_modules/semver/functions/neq.js +0 -5
  1982. package/mac-agent/node_modules/semver/functions/parse.js +0 -18
  1983. package/mac-agent/node_modules/semver/functions/patch.js +0 -5
  1984. package/mac-agent/node_modules/semver/functions/prerelease.js +0 -8
  1985. package/mac-agent/node_modules/semver/functions/rcompare.js +0 -5
  1986. package/mac-agent/node_modules/semver/functions/rsort.js +0 -5
  1987. package/mac-agent/node_modules/semver/functions/satisfies.js +0 -12
  1988. package/mac-agent/node_modules/semver/functions/sort.js +0 -5
  1989. package/mac-agent/node_modules/semver/functions/valid.js +0 -8
  1990. package/mac-agent/node_modules/semver/index.js +0 -91
  1991. package/mac-agent/node_modules/semver/internal/constants.js +0 -37
  1992. package/mac-agent/node_modules/semver/internal/debug.js +0 -11
  1993. package/mac-agent/node_modules/semver/internal/identifiers.js +0 -25
  1994. package/mac-agent/node_modules/semver/internal/lrucache.js +0 -42
  1995. package/mac-agent/node_modules/semver/internal/parse-options.js +0 -17
  1996. package/mac-agent/node_modules/semver/internal/re.js +0 -223
  1997. package/mac-agent/node_modules/semver/package.json +0 -78
  1998. package/mac-agent/node_modules/semver/preload.js +0 -4
  1999. package/mac-agent/node_modules/semver/range.bnf +0 -16
  2000. package/mac-agent/node_modules/semver/ranges/gtr.js +0 -6
  2001. package/mac-agent/node_modules/semver/ranges/intersects.js +0 -9
  2002. package/mac-agent/node_modules/semver/ranges/ltr.js +0 -6
  2003. package/mac-agent/node_modules/semver/ranges/max-satisfying.js +0 -27
  2004. package/mac-agent/node_modules/semver/ranges/min-satisfying.js +0 -26
  2005. package/mac-agent/node_modules/semver/ranges/min-version.js +0 -63
  2006. package/mac-agent/node_modules/semver/ranges/outside.js +0 -82
  2007. package/mac-agent/node_modules/semver/ranges/simplify.js +0 -49
  2008. package/mac-agent/node_modules/semver/ranges/subset.js +0 -249
  2009. package/mac-agent/node_modules/semver/ranges/to-comparators.js +0 -10
  2010. package/mac-agent/node_modules/semver/ranges/valid.js +0 -13
  2011. package/mac-agent/node_modules/set-blocking/CHANGELOG.md +0 -26
  2012. package/mac-agent/node_modules/set-blocking/LICENSE.txt +0 -14
  2013. package/mac-agent/node_modules/set-blocking/README.md +0 -31
  2014. package/mac-agent/node_modules/set-blocking/index.js +0 -7
  2015. package/mac-agent/node_modules/set-blocking/package.json +0 -42
  2016. package/mac-agent/node_modules/set-function-length/.eslintrc +0 -27
  2017. package/mac-agent/node_modules/set-function-length/.github/FUNDING.yml +0 -12
  2018. package/mac-agent/node_modules/set-function-length/.nycrc +0 -13
  2019. package/mac-agent/node_modules/set-function-length/CHANGELOG.md +0 -70
  2020. package/mac-agent/node_modules/set-function-length/LICENSE +0 -21
  2021. package/mac-agent/node_modules/set-function-length/README.md +0 -56
  2022. package/mac-agent/node_modules/set-function-length/env.d.ts +0 -9
  2023. package/mac-agent/node_modules/set-function-length/env.js +0 -25
  2024. package/mac-agent/node_modules/set-function-length/index.d.ts +0 -7
  2025. package/mac-agent/node_modules/set-function-length/index.js +0 -42
  2026. package/mac-agent/node_modules/set-function-length/package.json +0 -102
  2027. package/mac-agent/node_modules/set-function-length/tsconfig.json +0 -9
  2028. package/mac-agent/node_modules/signal-exit/LICENSE.txt +0 -16
  2029. package/mac-agent/node_modules/signal-exit/README.md +0 -39
  2030. package/mac-agent/node_modules/signal-exit/index.js +0 -202
  2031. package/mac-agent/node_modules/signal-exit/package.json +0 -38
  2032. package/mac-agent/node_modules/signal-exit/signals.js +0 -53
  2033. package/mac-agent/node_modules/simple-swizzle/LICENSE +0 -21
  2034. package/mac-agent/node_modules/simple-swizzle/README.md +0 -39
  2035. package/mac-agent/node_modules/simple-swizzle/index.js +0 -29
  2036. package/mac-agent/node_modules/simple-swizzle/package.json +0 -36
  2037. package/mac-agent/node_modules/simple-update-notifier/LICENSE +0 -21
  2038. package/mac-agent/node_modules/simple-update-notifier/README.md +0 -82
  2039. package/mac-agent/node_modules/simple-update-notifier/build/index.d.ts +0 -13
  2040. package/mac-agent/node_modules/simple-update-notifier/build/index.js +0 -210
  2041. package/mac-agent/node_modules/simple-update-notifier/package.json +0 -100
  2042. package/mac-agent/node_modules/simple-update-notifier/src/borderedText.ts +0 -12
  2043. package/mac-agent/node_modules/simple-update-notifier/src/cache.spec.ts +0 -17
  2044. package/mac-agent/node_modules/simple-update-notifier/src/cache.ts +0 -44
  2045. package/mac-agent/node_modules/simple-update-notifier/src/getDistVersion.spec.ts +0 -35
  2046. package/mac-agent/node_modules/simple-update-notifier/src/getDistVersion.ts +0 -29
  2047. package/mac-agent/node_modules/simple-update-notifier/src/hasNewVersion.spec.ts +0 -82
  2048. package/mac-agent/node_modules/simple-update-notifier/src/hasNewVersion.ts +0 -40
  2049. package/mac-agent/node_modules/simple-update-notifier/src/index.spec.ts +0 -27
  2050. package/mac-agent/node_modules/simple-update-notifier/src/index.ts +0 -34
  2051. package/mac-agent/node_modules/simple-update-notifier/src/isNpmOrYarn.ts +0 -12
  2052. package/mac-agent/node_modules/simple-update-notifier/src/types.ts +0 -8
  2053. package/mac-agent/node_modules/spdx-correct/LICENSE +0 -202
  2054. package/mac-agent/node_modules/spdx-correct/README.md +0 -22
  2055. package/mac-agent/node_modules/spdx-correct/index.js +0 -386
  2056. package/mac-agent/node_modules/spdx-correct/package.json +0 -32
  2057. package/mac-agent/node_modules/spdx-exceptions/README.md +0 -36
  2058. package/mac-agent/node_modules/spdx-exceptions/deprecated.json +0 -3
  2059. package/mac-agent/node_modules/spdx-exceptions/index.json +0 -68
  2060. package/mac-agent/node_modules/spdx-exceptions/package.json +0 -19
  2061. package/mac-agent/node_modules/spdx-expression-parse/AUTHORS +0 -4
  2062. package/mac-agent/node_modules/spdx-expression-parse/LICENSE +0 -22
  2063. package/mac-agent/node_modules/spdx-expression-parse/README.md +0 -91
  2064. package/mac-agent/node_modules/spdx-expression-parse/index.js +0 -8
  2065. package/mac-agent/node_modules/spdx-expression-parse/package.json +0 -39
  2066. package/mac-agent/node_modules/spdx-expression-parse/parse.js +0 -138
  2067. package/mac-agent/node_modules/spdx-expression-parse/scan.js +0 -131
  2068. package/mac-agent/node_modules/spdx-license-ids/README.md +0 -51
  2069. package/mac-agent/node_modules/spdx-license-ids/deprecated.json +0 -28
  2070. package/mac-agent/node_modules/spdx-license-ids/index.json +0 -650
  2071. package/mac-agent/node_modules/spdx-license-ids/package.json +0 -29
  2072. package/mac-agent/node_modules/stack-trace/License +0 -19
  2073. package/mac-agent/node_modules/stack-trace/Makefile +0 -11
  2074. package/mac-agent/node_modules/stack-trace/Readme.md +0 -98
  2075. package/mac-agent/node_modules/stack-trace/lib/stack-trace.js +0 -136
  2076. package/mac-agent/node_modules/stack-trace/package.json +0 -21
  2077. package/mac-agent/node_modules/string-width/index.d.ts +0 -29
  2078. package/mac-agent/node_modules/string-width/index.js +0 -47
  2079. package/mac-agent/node_modules/string-width/license +0 -9
  2080. package/mac-agent/node_modules/string-width/package.json +0 -56
  2081. package/mac-agent/node_modules/string-width/readme.md +0 -50
  2082. package/mac-agent/node_modules/string_decoder/LICENSE +0 -48
  2083. package/mac-agent/node_modules/string_decoder/README.md +0 -47
  2084. package/mac-agent/node_modules/string_decoder/lib/string_decoder.js +0 -296
  2085. package/mac-agent/node_modules/string_decoder/package.json +0 -34
  2086. package/mac-agent/node_modules/strip-ansi/index.d.ts +0 -17
  2087. package/mac-agent/node_modules/strip-ansi/index.js +0 -4
  2088. package/mac-agent/node_modules/strip-ansi/license +0 -9
  2089. package/mac-agent/node_modules/strip-ansi/package.json +0 -54
  2090. package/mac-agent/node_modules/strip-ansi/readme.md +0 -46
  2091. package/mac-agent/node_modules/strip-bom/index.js +0 -17
  2092. package/mac-agent/node_modules/strip-bom/license +0 -21
  2093. package/mac-agent/node_modules/strip-bom/package.json +0 -42
  2094. package/mac-agent/node_modules/strip-bom/readme.md +0 -39
  2095. package/mac-agent/node_modules/supports-color/browser.js +0 -5
  2096. package/mac-agent/node_modules/supports-color/index.js +0 -131
  2097. package/mac-agent/node_modules/supports-color/license +0 -9
  2098. package/mac-agent/node_modules/supports-color/package.json +0 -53
  2099. package/mac-agent/node_modules/supports-color/readme.md +0 -66
  2100. package/mac-agent/node_modules/supports-preserve-symlinks-flag/.eslintrc +0 -14
  2101. package/mac-agent/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +0 -12
  2102. package/mac-agent/node_modules/supports-preserve-symlinks-flag/.nycrc +0 -9
  2103. package/mac-agent/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +0 -22
  2104. package/mac-agent/node_modules/supports-preserve-symlinks-flag/LICENSE +0 -21
  2105. package/mac-agent/node_modules/supports-preserve-symlinks-flag/README.md +0 -42
  2106. package/mac-agent/node_modules/supports-preserve-symlinks-flag/browser.js +0 -3
  2107. package/mac-agent/node_modules/supports-preserve-symlinks-flag/index.js +0 -9
  2108. package/mac-agent/node_modules/supports-preserve-symlinks-flag/package.json +0 -70
  2109. package/mac-agent/node_modules/supports-preserve-symlinks-flag/test/index.js +0 -29
  2110. package/mac-agent/node_modules/tar/LICENSE +0 -15
  2111. package/mac-agent/node_modules/tar/README.md +0 -1080
  2112. package/mac-agent/node_modules/tar/index.js +0 -18
  2113. package/mac-agent/node_modules/tar/lib/create.js +0 -111
  2114. package/mac-agent/node_modules/tar/lib/extract.js +0 -113
  2115. package/mac-agent/node_modules/tar/lib/get-write-flag.js +0 -20
  2116. package/mac-agent/node_modules/tar/lib/header.js +0 -304
  2117. package/mac-agent/node_modules/tar/lib/high-level-opt.js +0 -29
  2118. package/mac-agent/node_modules/tar/lib/large-numbers.js +0 -104
  2119. package/mac-agent/node_modules/tar/lib/list.js +0 -139
  2120. package/mac-agent/node_modules/tar/lib/mkdir.js +0 -229
  2121. package/mac-agent/node_modules/tar/lib/mode-fix.js +0 -27
  2122. package/mac-agent/node_modules/tar/lib/normalize-unicode.js +0 -12
  2123. package/mac-agent/node_modules/tar/lib/normalize-windows-path.js +0 -8
  2124. package/mac-agent/node_modules/tar/lib/pack.js +0 -432
  2125. package/mac-agent/node_modules/tar/lib/parse.js +0 -552
  2126. package/mac-agent/node_modules/tar/lib/path-reservations.js +0 -156
  2127. package/mac-agent/node_modules/tar/lib/pax.js +0 -150
  2128. package/mac-agent/node_modules/tar/lib/read-entry.js +0 -107
  2129. package/mac-agent/node_modules/tar/lib/replace.js +0 -246
  2130. package/mac-agent/node_modules/tar/lib/strip-absolute-path.js +0 -24
  2131. package/mac-agent/node_modules/tar/lib/strip-trailing-slashes.js +0 -13
  2132. package/mac-agent/node_modules/tar/lib/types.js +0 -44
  2133. package/mac-agent/node_modules/tar/lib/unpack.js +0 -923
  2134. package/mac-agent/node_modules/tar/lib/update.js +0 -40
  2135. package/mac-agent/node_modules/tar/lib/warn-mixin.js +0 -24
  2136. package/mac-agent/node_modules/tar/lib/winchars.js +0 -23
  2137. package/mac-agent/node_modules/tar/lib/write-entry.js +0 -546
  2138. package/mac-agent/node_modules/tar/package.json +0 -70
  2139. package/mac-agent/node_modules/text-hex/LICENSE +0 -21
  2140. package/mac-agent/node_modules/text-hex/README.md +0 -20
  2141. package/mac-agent/node_modules/text-hex/index.js +0 -24
  2142. package/mac-agent/node_modules/text-hex/package.json +0 -30
  2143. package/mac-agent/node_modules/text-hex/test.js +0 -11
  2144. package/mac-agent/node_modules/to-regex-range/LICENSE +0 -21
  2145. package/mac-agent/node_modules/to-regex-range/README.md +0 -305
  2146. package/mac-agent/node_modules/to-regex-range/index.js +0 -288
  2147. package/mac-agent/node_modules/to-regex-range/package.json +0 -88
  2148. package/mac-agent/node_modules/touch/LICENSE +0 -15
  2149. package/mac-agent/node_modules/touch/README.md +0 -52
  2150. package/mac-agent/node_modules/touch/bin/nodetouch.js +0 -112
  2151. package/mac-agent/node_modules/touch/index.js +0 -224
  2152. package/mac-agent/node_modules/touch/package.json +0 -25
  2153. package/mac-agent/node_modules/tr46/index.js +0 -193
  2154. package/mac-agent/node_modules/tr46/lib/.gitkeep +0 -0
  2155. package/mac-agent/node_modules/tr46/lib/mappingTable.json +0 -1
  2156. package/mac-agent/node_modules/tr46/package.json +0 -31
  2157. package/mac-agent/node_modules/triple-beam/.nyc_output/c579bf8f-6820-47a5-b2da-a11267eb8435.json +0 -1
  2158. package/mac-agent/node_modules/triple-beam/.nyc_output/processinfo/c579bf8f-6820-47a5-b2da-a11267eb8435.json +0 -1
  2159. package/mac-agent/node_modules/triple-beam/.nyc_output/processinfo/index.json +0 -1
  2160. package/mac-agent/node_modules/triple-beam/CHANGELOG.md +0 -22
  2161. package/mac-agent/node_modules/triple-beam/LICENSE +0 -21
  2162. package/mac-agent/node_modules/triple-beam/README.md +0 -34
  2163. package/mac-agent/node_modules/triple-beam/config/cli.js +0 -42
  2164. package/mac-agent/node_modules/triple-beam/config/index.js +0 -32
  2165. package/mac-agent/node_modules/triple-beam/config/npm.js +0 -36
  2166. package/mac-agent/node_modules/triple-beam/config/syslog.js +0 -38
  2167. package/mac-agent/node_modules/triple-beam/index.js +0 -46
  2168. package/mac-agent/node_modules/triple-beam/package.json +0 -40
  2169. package/mac-agent/node_modules/undefsafe/.github/workflows/release.yml +0 -25
  2170. package/mac-agent/node_modules/undefsafe/.jscsrc +0 -13
  2171. package/mac-agent/node_modules/undefsafe/.jshintrc +0 -16
  2172. package/mac-agent/node_modules/undefsafe/.travis.yml +0 -18
  2173. package/mac-agent/node_modules/undefsafe/LICENSE +0 -22
  2174. package/mac-agent/node_modules/undefsafe/README.md +0 -63
  2175. package/mac-agent/node_modules/undefsafe/example.js +0 -14
  2176. package/mac-agent/node_modules/undefsafe/lib/undefsafe.js +0 -125
  2177. package/mac-agent/node_modules/undefsafe/package.json +0 -34
  2178. package/mac-agent/node_modules/util-deprecate/History.md +0 -16
  2179. package/mac-agent/node_modules/util-deprecate/LICENSE +0 -24
  2180. package/mac-agent/node_modules/util-deprecate/README.md +0 -53
  2181. package/mac-agent/node_modules/util-deprecate/browser.js +0 -67
  2182. package/mac-agent/node_modules/util-deprecate/node.js +0 -6
  2183. package/mac-agent/node_modules/util-deprecate/package.json +0 -27
  2184. package/mac-agent/node_modules/uuid/CHANGELOG.md +0 -229
  2185. package/mac-agent/node_modules/uuid/CONTRIBUTING.md +0 -18
  2186. package/mac-agent/node_modules/uuid/LICENSE.md +0 -9
  2187. package/mac-agent/node_modules/uuid/README.md +0 -505
  2188. package/mac-agent/node_modules/uuid/dist/bin/uuid +0 -2
  2189. package/mac-agent/node_modules/uuid/dist/esm-browser/index.js +0 -9
  2190. package/mac-agent/node_modules/uuid/dist/esm-browser/md5.js +0 -215
  2191. package/mac-agent/node_modules/uuid/dist/esm-browser/nil.js +0 -1
  2192. package/mac-agent/node_modules/uuid/dist/esm-browser/parse.js +0 -35
  2193. package/mac-agent/node_modules/uuid/dist/esm-browser/regex.js +0 -1
  2194. package/mac-agent/node_modules/uuid/dist/esm-browser/rng.js +0 -19
  2195. package/mac-agent/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
  2196. package/mac-agent/node_modules/uuid/dist/esm-browser/stringify.js +0 -30
  2197. package/mac-agent/node_modules/uuid/dist/esm-browser/v1.js +0 -95
  2198. package/mac-agent/node_modules/uuid/dist/esm-browser/v3.js +0 -4
  2199. package/mac-agent/node_modules/uuid/dist/esm-browser/v35.js +0 -64
  2200. package/mac-agent/node_modules/uuid/dist/esm-browser/v4.js +0 -24
  2201. package/mac-agent/node_modules/uuid/dist/esm-browser/v5.js +0 -4
  2202. package/mac-agent/node_modules/uuid/dist/esm-browser/validate.js +0 -7
  2203. package/mac-agent/node_modules/uuid/dist/esm-browser/version.js +0 -11
  2204. package/mac-agent/node_modules/uuid/dist/esm-node/index.js +0 -9
  2205. package/mac-agent/node_modules/uuid/dist/esm-node/md5.js +0 -13
  2206. package/mac-agent/node_modules/uuid/dist/esm-node/nil.js +0 -1
  2207. package/mac-agent/node_modules/uuid/dist/esm-node/parse.js +0 -35
  2208. package/mac-agent/node_modules/uuid/dist/esm-node/regex.js +0 -1
  2209. package/mac-agent/node_modules/uuid/dist/esm-node/rng.js +0 -12
  2210. package/mac-agent/node_modules/uuid/dist/esm-node/sha1.js +0 -13
  2211. package/mac-agent/node_modules/uuid/dist/esm-node/stringify.js +0 -29
  2212. package/mac-agent/node_modules/uuid/dist/esm-node/v1.js +0 -95
  2213. package/mac-agent/node_modules/uuid/dist/esm-node/v3.js +0 -4
  2214. package/mac-agent/node_modules/uuid/dist/esm-node/v35.js +0 -64
  2215. package/mac-agent/node_modules/uuid/dist/esm-node/v4.js +0 -24
  2216. package/mac-agent/node_modules/uuid/dist/esm-node/v5.js +0 -4
  2217. package/mac-agent/node_modules/uuid/dist/esm-node/validate.js +0 -7
  2218. package/mac-agent/node_modules/uuid/dist/esm-node/version.js +0 -11
  2219. package/mac-agent/node_modules/uuid/dist/index.js +0 -79
  2220. package/mac-agent/node_modules/uuid/dist/md5-browser.js +0 -223
  2221. package/mac-agent/node_modules/uuid/dist/md5.js +0 -23
  2222. package/mac-agent/node_modules/uuid/dist/nil.js +0 -8
  2223. package/mac-agent/node_modules/uuid/dist/parse.js +0 -45
  2224. package/mac-agent/node_modules/uuid/dist/regex.js +0 -8
  2225. package/mac-agent/node_modules/uuid/dist/rng-browser.js +0 -26
  2226. package/mac-agent/node_modules/uuid/dist/rng.js +0 -24
  2227. package/mac-agent/node_modules/uuid/dist/sha1-browser.js +0 -104
  2228. package/mac-agent/node_modules/uuid/dist/sha1.js +0 -23
  2229. package/mac-agent/node_modules/uuid/dist/stringify.js +0 -39
  2230. package/mac-agent/node_modules/uuid/dist/umd/uuid.min.js +0 -1
  2231. package/mac-agent/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
  2232. package/mac-agent/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
  2233. package/mac-agent/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
  2234. package/mac-agent/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
  2235. package/mac-agent/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
  2236. package/mac-agent/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
  2237. package/mac-agent/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
  2238. package/mac-agent/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
  2239. package/mac-agent/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
  2240. package/mac-agent/node_modules/uuid/dist/uuid-bin.js +0 -85
  2241. package/mac-agent/node_modules/uuid/dist/v1.js +0 -107
  2242. package/mac-agent/node_modules/uuid/dist/v3.js +0 -16
  2243. package/mac-agent/node_modules/uuid/dist/v35.js +0 -78
  2244. package/mac-agent/node_modules/uuid/dist/v4.js +0 -37
  2245. package/mac-agent/node_modules/uuid/dist/v5.js +0 -16
  2246. package/mac-agent/node_modules/uuid/dist/validate.js +0 -17
  2247. package/mac-agent/node_modules/uuid/dist/version.js +0 -21
  2248. package/mac-agent/node_modules/uuid/package.json +0 -135
  2249. package/mac-agent/node_modules/uuid/wrapper.mjs +0 -10
  2250. package/mac-agent/node_modules/validate-npm-package-license/LICENSE +0 -202
  2251. package/mac-agent/node_modules/validate-npm-package-license/README.md +0 -113
  2252. package/mac-agent/node_modules/validate-npm-package-license/index.js +0 -86
  2253. package/mac-agent/node_modules/validate-npm-package-license/package.json +0 -28
  2254. package/mac-agent/node_modules/webidl-conversions/LICENSE.md +0 -12
  2255. package/mac-agent/node_modules/webidl-conversions/README.md +0 -80
  2256. package/mac-agent/node_modules/webidl-conversions/lib/index.js +0 -332
  2257. package/mac-agent/node_modules/webidl-conversions/package.json +0 -27
  2258. package/mac-agent/node_modules/whatwg-url/LICENSE.txt +0 -21
  2259. package/mac-agent/node_modules/whatwg-url/README.md +0 -67
  2260. package/mac-agent/node_modules/whatwg-url/lib/URL-impl.js +0 -200
  2261. package/mac-agent/node_modules/whatwg-url/lib/URL.js +0 -196
  2262. package/mac-agent/node_modules/whatwg-url/lib/public-api.js +0 -11
  2263. package/mac-agent/node_modules/whatwg-url/lib/url-state-machine.js +0 -1297
  2264. package/mac-agent/node_modules/whatwg-url/lib/utils.js +0 -20
  2265. package/mac-agent/node_modules/whatwg-url/node_modules/webidl-conversions/LICENSE.md +0 -12
  2266. package/mac-agent/node_modules/whatwg-url/node_modules/webidl-conversions/README.md +0 -53
  2267. package/mac-agent/node_modules/whatwg-url/node_modules/webidl-conversions/lib/index.js +0 -189
  2268. package/mac-agent/node_modules/whatwg-url/node_modules/webidl-conversions/package.json +0 -23
  2269. package/mac-agent/node_modules/whatwg-url/package.json +0 -32
  2270. package/mac-agent/node_modules/which/CHANGELOG.md +0 -152
  2271. package/mac-agent/node_modules/which/LICENSE +0 -15
  2272. package/mac-agent/node_modules/which/README.md +0 -51
  2273. package/mac-agent/node_modules/which/bin/which +0 -52
  2274. package/mac-agent/node_modules/which/package.json +0 -30
  2275. package/mac-agent/node_modules/which/which.js +0 -135
  2276. package/mac-agent/node_modules/which-module/CHANGELOG.md +0 -11
  2277. package/mac-agent/node_modules/which-module/LICENSE +0 -13
  2278. package/mac-agent/node_modules/which-module/README.md +0 -55
  2279. package/mac-agent/node_modules/which-module/index.js +0 -9
  2280. package/mac-agent/node_modules/which-module/package.json +0 -41
  2281. package/mac-agent/node_modules/wide-align/LICENSE +0 -14
  2282. package/mac-agent/node_modules/wide-align/README.md +0 -47
  2283. package/mac-agent/node_modules/wide-align/align.js +0 -65
  2284. package/mac-agent/node_modules/wide-align/package.json +0 -33
  2285. package/mac-agent/node_modules/winston/LICENSE +0 -19
  2286. package/mac-agent/node_modules/winston/README.md +0 -1271
  2287. package/mac-agent/node_modules/winston/dist/winston/common.js +0 -44
  2288. package/mac-agent/node_modules/winston/dist/winston/config/index.js +0 -36
  2289. package/mac-agent/node_modules/winston/dist/winston/container.js +0 -141
  2290. package/mac-agent/node_modules/winston/dist/winston/create-logger.js +0 -123
  2291. package/mac-agent/node_modules/winston/dist/winston/exception-handler.js +0 -265
  2292. package/mac-agent/node_modules/winston/dist/winston/exception-stream.js +0 -75
  2293. package/mac-agent/node_modules/winston/dist/winston/logger.js +0 -672
  2294. package/mac-agent/node_modules/winston/dist/winston/profiler.js +0 -65
  2295. package/mac-agent/node_modules/winston/dist/winston/rejection-handler.js +0 -265
  2296. package/mac-agent/node_modules/winston/dist/winston/rejection-stream.js +0 -72
  2297. package/mac-agent/node_modules/winston/dist/winston/tail-file.js +0 -113
  2298. package/mac-agent/node_modules/winston/dist/winston/transports/console.js +0 -143
  2299. package/mac-agent/node_modules/winston/dist/winston/transports/file.js +0 -788
  2300. package/mac-agent/node_modules/winston/dist/winston/transports/http.js +0 -288
  2301. package/mac-agent/node_modules/winston/dist/winston/transports/index.js +0 -56
  2302. package/mac-agent/node_modules/winston/dist/winston/transports/stream.js +0 -86
  2303. package/mac-agent/node_modules/winston/dist/winston.js +0 -171
  2304. package/mac-agent/node_modules/winston/index.d.ts +0 -208
  2305. package/mac-agent/node_modules/winston/lib/winston/common.js +0 -46
  2306. package/mac-agent/node_modules/winston/lib/winston/config/index.d.ts +0 -99
  2307. package/mac-agent/node_modules/winston/lib/winston/config/index.js +0 -35
  2308. package/mac-agent/node_modules/winston/lib/winston/container.js +0 -118
  2309. package/mac-agent/node_modules/winston/lib/winston/create-logger.js +0 -104
  2310. package/mac-agent/node_modules/winston/lib/winston/exception-handler.js +0 -245
  2311. package/mac-agent/node_modules/winston/lib/winston/exception-stream.js +0 -54
  2312. package/mac-agent/node_modules/winston/lib/winston/logger.js +0 -677
  2313. package/mac-agent/node_modules/winston/lib/winston/profiler.js +0 -53
  2314. package/mac-agent/node_modules/winston/lib/winston/rejection-handler.js +0 -251
  2315. package/mac-agent/node_modules/winston/lib/winston/rejection-stream.js +0 -52
  2316. package/mac-agent/node_modules/winston/lib/winston/tail-file.js +0 -124
  2317. package/mac-agent/node_modules/winston/lib/winston/transports/console.js +0 -125
  2318. package/mac-agent/node_modules/winston/lib/winston/transports/file.js +0 -763
  2319. package/mac-agent/node_modules/winston/lib/winston/transports/http.js +0 -262
  2320. package/mac-agent/node_modules/winston/lib/winston/transports/index.d.ts +0 -117
  2321. package/mac-agent/node_modules/winston/lib/winston/transports/index.js +0 -56
  2322. package/mac-agent/node_modules/winston/lib/winston/transports/stream.js +0 -63
  2323. package/mac-agent/node_modules/winston/lib/winston.js +0 -191
  2324. package/mac-agent/node_modules/winston/package.json +0 -74
  2325. package/mac-agent/node_modules/winston-transport/.babelrc +0 -3
  2326. package/mac-agent/node_modules/winston-transport/.eslintrc +0 -7
  2327. package/mac-agent/node_modules/winston-transport/.gitattributes +0 -1
  2328. package/mac-agent/node_modules/winston-transport/.nyc_output/68e78020-c804-4f37-a68a-a967c6380da9.json +0 -1
  2329. package/mac-agent/node_modules/winston-transport/.nyc_output/processinfo/68e78020-c804-4f37-a68a-a967c6380da9.json +0 -1
  2330. package/mac-agent/node_modules/winston-transport/.nyc_output/processinfo/index.json +0 -1
  2331. package/mac-agent/node_modules/winston-transport/CHANGELOG.md +0 -126
  2332. package/mac-agent/node_modules/winston-transport/LICENSE +0 -22
  2333. package/mac-agent/node_modules/winston-transport/README.md +0 -50
  2334. package/mac-agent/node_modules/winston-transport/dist/index.js +0 -8
  2335. package/mac-agent/node_modules/winston-transport/dist/legacy.js +0 -116
  2336. package/mac-agent/node_modules/winston-transport/dist/modern.js +0 -212
  2337. package/mac-agent/node_modules/winston-transport/index.d.ts +0 -39
  2338. package/mac-agent/node_modules/winston-transport/index.js +0 -7
  2339. package/mac-agent/node_modules/winston-transport/legacy.js +0 -119
  2340. package/mac-agent/node_modules/winston-transport/modern.js +0 -211
  2341. package/mac-agent/node_modules/winston-transport/package.json +0 -52
  2342. package/mac-agent/node_modules/wrap-ansi/index.js +0 -168
  2343. package/mac-agent/node_modules/wrap-ansi/license +0 -21
  2344. package/mac-agent/node_modules/wrap-ansi/node_modules/ansi-regex/index.js +0 -4
  2345. package/mac-agent/node_modules/wrap-ansi/node_modules/ansi-regex/license +0 -21
  2346. package/mac-agent/node_modules/wrap-ansi/node_modules/ansi-regex/package.json +0 -64
  2347. package/mac-agent/node_modules/wrap-ansi/node_modules/ansi-regex/readme.md +0 -39
  2348. package/mac-agent/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/index.js +0 -46
  2349. package/mac-agent/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/license +0 -21
  2350. package/mac-agent/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/package.json +0 -45
  2351. package/mac-agent/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/readme.md +0 -39
  2352. package/mac-agent/node_modules/wrap-ansi/node_modules/string-width/index.js +0 -37
  2353. package/mac-agent/node_modules/wrap-ansi/node_modules/string-width/license +0 -21
  2354. package/mac-agent/node_modules/wrap-ansi/node_modules/string-width/package.json +0 -56
  2355. package/mac-agent/node_modules/wrap-ansi/node_modules/string-width/readme.md +0 -42
  2356. package/mac-agent/node_modules/wrap-ansi/node_modules/strip-ansi/index.js +0 -6
  2357. package/mac-agent/node_modules/wrap-ansi/node_modules/strip-ansi/license +0 -21
  2358. package/mac-agent/node_modules/wrap-ansi/node_modules/strip-ansi/package.json +0 -57
  2359. package/mac-agent/node_modules/wrap-ansi/node_modules/strip-ansi/readme.md +0 -33
  2360. package/mac-agent/node_modules/wrap-ansi/package.json +0 -68
  2361. package/mac-agent/node_modules/wrap-ansi/readme.md +0 -73
  2362. package/mac-agent/node_modules/wrappy/LICENSE +0 -15
  2363. package/mac-agent/node_modules/wrappy/README.md +0 -36
  2364. package/mac-agent/node_modules/wrappy/package.json +0 -29
  2365. package/mac-agent/node_modules/wrappy/wrappy.js +0 -33
  2366. package/mac-agent/node_modules/ws/LICENSE +0 -20
  2367. package/mac-agent/node_modules/ws/README.md +0 -548
  2368. package/mac-agent/node_modules/ws/browser.js +0 -8
  2369. package/mac-agent/node_modules/ws/index.js +0 -13
  2370. package/mac-agent/node_modules/ws/lib/buffer-util.js +0 -131
  2371. package/mac-agent/node_modules/ws/lib/constants.js +0 -18
  2372. package/mac-agent/node_modules/ws/lib/event-target.js +0 -292
  2373. package/mac-agent/node_modules/ws/lib/extension.js +0 -203
  2374. package/mac-agent/node_modules/ws/lib/limiter.js +0 -55
  2375. package/mac-agent/node_modules/ws/lib/permessage-deflate.js +0 -528
  2376. package/mac-agent/node_modules/ws/lib/receiver.js +0 -706
  2377. package/mac-agent/node_modules/ws/lib/sender.js +0 -602
  2378. package/mac-agent/node_modules/ws/lib/stream.js +0 -161
  2379. package/mac-agent/node_modules/ws/lib/subprotocol.js +0 -62
  2380. package/mac-agent/node_modules/ws/lib/validation.js +0 -152
  2381. package/mac-agent/node_modules/ws/lib/websocket-server.js +0 -550
  2382. package/mac-agent/node_modules/ws/lib/websocket.js +0 -1388
  2383. package/mac-agent/node_modules/ws/package.json +0 -69
  2384. package/mac-agent/node_modules/ws/wrapper.mjs +0 -8
  2385. package/mac-agent/node_modules/y18n/CHANGELOG.md +0 -6
  2386. package/mac-agent/node_modules/y18n/LICENSE +0 -13
  2387. package/mac-agent/node_modules/y18n/README.md +0 -91
  2388. package/mac-agent/node_modules/y18n/index.js +0 -172
  2389. package/mac-agent/node_modules/y18n/package.json +0 -37
  2390. package/mac-agent/node_modules/yallist/LICENSE +0 -15
  2391. package/mac-agent/node_modules/yallist/README.md +0 -204
  2392. package/mac-agent/node_modules/yallist/iterator.js +0 -8
  2393. package/mac-agent/node_modules/yallist/package.json +0 -29
  2394. package/mac-agent/node_modules/yallist/yallist.js +0 -426
  2395. package/mac-agent/node_modules/yargs/CHANGELOG.md +0 -928
  2396. package/mac-agent/node_modules/yargs/LICENSE +0 -22
  2397. package/mac-agent/node_modules/yargs/README.md +0 -2017
  2398. package/mac-agent/node_modules/yargs/completion.sh.hbs +0 -28
  2399. package/mac-agent/node_modules/yargs/index.js +0 -31
  2400. package/mac-agent/node_modules/yargs/lib/apply-extends.js +0 -41
  2401. package/mac-agent/node_modules/yargs/lib/argsert.js +0 -72
  2402. package/mac-agent/node_modules/yargs/lib/assign.js +0 -15
  2403. package/mac-agent/node_modules/yargs/lib/command.js +0 -334
  2404. package/mac-agent/node_modules/yargs/lib/completion.js +0 -104
  2405. package/mac-agent/node_modules/yargs/lib/levenshtein.js +0 -47
  2406. package/mac-agent/node_modules/yargs/lib/obj-filter.js +0 -10
  2407. package/mac-agent/node_modules/yargs/lib/usage.js +0 -489
  2408. package/mac-agent/node_modules/yargs/lib/validation.js +0 -363
  2409. package/mac-agent/node_modules/yargs/lib/yerror.js +0 -10
  2410. package/mac-agent/node_modules/yargs/locales/be.json +0 -39
  2411. package/mac-agent/node_modules/yargs/locales/de.json +0 -39
  2412. package/mac-agent/node_modules/yargs/locales/en.json +0 -40
  2413. package/mac-agent/node_modules/yargs/locales/es.json +0 -39
  2414. package/mac-agent/node_modules/yargs/locales/fr.json +0 -37
  2415. package/mac-agent/node_modules/yargs/locales/hi.json +0 -39
  2416. package/mac-agent/node_modules/yargs/locales/hu.json +0 -39
  2417. package/mac-agent/node_modules/yargs/locales/id.json +0 -40
  2418. package/mac-agent/node_modules/yargs/locales/it.json +0 -39
  2419. package/mac-agent/node_modules/yargs/locales/ja.json +0 -39
  2420. package/mac-agent/node_modules/yargs/locales/ko.json +0 -39
  2421. package/mac-agent/node_modules/yargs/locales/nb.json +0 -37
  2422. package/mac-agent/node_modules/yargs/locales/nl.json +0 -39
  2423. package/mac-agent/node_modules/yargs/locales/pirate.json +0 -12
  2424. package/mac-agent/node_modules/yargs/locales/pl.json +0 -39
  2425. package/mac-agent/node_modules/yargs/locales/pt.json +0 -38
  2426. package/mac-agent/node_modules/yargs/locales/pt_BR.json +0 -40
  2427. package/mac-agent/node_modules/yargs/locales/ru.json +0 -39
  2428. package/mac-agent/node_modules/yargs/locales/th.json +0 -39
  2429. package/mac-agent/node_modules/yargs/locales/tr.json +0 -39
  2430. package/mac-agent/node_modules/yargs/locales/zh_CN.json +0 -37
  2431. package/mac-agent/node_modules/yargs/locales/zh_TW.json +0 -40
  2432. package/mac-agent/node_modules/yargs/node_modules/ansi-regex/index.js +0 -4
  2433. package/mac-agent/node_modules/yargs/node_modules/ansi-regex/license +0 -21
  2434. package/mac-agent/node_modules/yargs/node_modules/ansi-regex/package.json +0 -64
  2435. package/mac-agent/node_modules/yargs/node_modules/ansi-regex/readme.md +0 -39
  2436. package/mac-agent/node_modules/yargs/node_modules/is-fullwidth-code-point/index.js +0 -46
  2437. package/mac-agent/node_modules/yargs/node_modules/is-fullwidth-code-point/license +0 -21
  2438. package/mac-agent/node_modules/yargs/node_modules/is-fullwidth-code-point/package.json +0 -45
  2439. package/mac-agent/node_modules/yargs/node_modules/is-fullwidth-code-point/readme.md +0 -39
  2440. package/mac-agent/node_modules/yargs/node_modules/string-width/index.js +0 -37
  2441. package/mac-agent/node_modules/yargs/node_modules/string-width/license +0 -21
  2442. package/mac-agent/node_modules/yargs/node_modules/string-width/package.json +0 -56
  2443. package/mac-agent/node_modules/yargs/node_modules/string-width/readme.md +0 -42
  2444. package/mac-agent/node_modules/yargs/node_modules/strip-ansi/index.js +0 -6
  2445. package/mac-agent/node_modules/yargs/node_modules/strip-ansi/license +0 -21
  2446. package/mac-agent/node_modules/yargs/node_modules/strip-ansi/package.json +0 -57
  2447. package/mac-agent/node_modules/yargs/node_modules/strip-ansi/readme.md +0 -33
  2448. package/mac-agent/node_modules/yargs/package.json +0 -80
  2449. package/mac-agent/node_modules/yargs/yargs.js +0 -1126
  2450. package/mac-agent/node_modules/yargs-parser/CHANGELOG.md +0 -176
  2451. package/mac-agent/node_modules/yargs-parser/LICENSE.txt +0 -14
  2452. package/mac-agent/node_modules/yargs-parser/README.md +0 -257
  2453. package/mac-agent/node_modules/yargs-parser/index.js +0 -753
  2454. package/mac-agent/node_modules/yargs-parser/lib/tokenize-arg-string.js +0 -34
  2455. package/mac-agent/node_modules/yargs-parser/package.json +0 -44
  2456. package/mac-agent/package-lock.json +0 -2272
  2457. package/mac-agent/shell-mirror@1.5.7 +0 -0
@@ -1,2053 +0,0 @@
1
- #ifndef SRC_NAPI_H_
2
- #define SRC_NAPI_H_
3
-
4
- #include <node_api.h>
5
- #include <functional>
6
- #include <initializer_list>
7
- #include <memory>
8
- #include <string>
9
- #include <vector>
10
-
11
- // VS2015 RTM has bugs with constexpr, so require min of VS2015 Update 3 (known good version)
12
- #if !defined(_MSC_VER) || _MSC_FULL_VER >= 190024210
13
- #define NAPI_HAS_CONSTEXPR 1
14
- #endif
15
-
16
- // VS2013 does not support char16_t literal strings, so we'll work around it using wchar_t strings
17
- // and casting them. This is safe as long as the character sizes are the same.
18
- #if defined(_MSC_VER) && _MSC_VER <= 1800
19
- static_assert(sizeof(char16_t) == sizeof(wchar_t), "Size mismatch between char16_t and wchar_t");
20
- #define NAPI_WIDE_TEXT(x) reinterpret_cast<char16_t*>(L ## x)
21
- #else
22
- #define NAPI_WIDE_TEXT(x) u ## x
23
- #endif
24
-
25
- // If C++ exceptions are not explicitly enabled or disabled, enable them
26
- // if exceptions were enabled in the compiler settings.
27
- #if !defined(NAPI_CPP_EXCEPTIONS) && !defined(NAPI_DISABLE_CPP_EXCEPTIONS)
28
- #if defined(_CPPUNWIND) || defined (__EXCEPTIONS)
29
- #define NAPI_CPP_EXCEPTIONS
30
- #else
31
- #error Exception support not detected. \
32
- Define either NAPI_CPP_EXCEPTIONS or NAPI_DISABLE_CPP_EXCEPTIONS.
33
- #endif
34
- #endif
35
-
36
- #ifdef _NOEXCEPT
37
- #define NAPI_NOEXCEPT _NOEXCEPT
38
- #else
39
- #define NAPI_NOEXCEPT noexcept
40
- #endif
41
-
42
- #ifdef NAPI_CPP_EXCEPTIONS
43
-
44
- // When C++ exceptions are enabled, Errors are thrown directly. There is no need
45
- // to return anything after the throw statements. The variadic parameter is an
46
- // optional return value that is ignored.
47
- // We need _VOID versions of the macros to avoid warnings resulting from
48
- // leaving the NAPI_THROW_* `...` argument empty.
49
-
50
- #define NAPI_THROW(e, ...) throw e
51
- #define NAPI_THROW_VOID(e) throw e
52
-
53
- #define NAPI_THROW_IF_FAILED(env, status, ...) \
54
- if ((status) != napi_ok) throw Napi::Error::New(env);
55
-
56
- #define NAPI_THROW_IF_FAILED_VOID(env, status) \
57
- if ((status) != napi_ok) throw Napi::Error::New(env);
58
-
59
- #else // NAPI_CPP_EXCEPTIONS
60
-
61
- // When C++ exceptions are disabled, Errors are thrown as JavaScript exceptions,
62
- // which are pending until the callback returns to JS. The variadic parameter
63
- // is an optional return value; usually it is an empty result.
64
- // We need _VOID versions of the macros to avoid warnings resulting from
65
- // leaving the NAPI_THROW_* `...` argument empty.
66
-
67
- #define NAPI_THROW(e, ...) \
68
- do { \
69
- (e).ThrowAsJavaScriptException(); \
70
- return __VA_ARGS__; \
71
- } while (0)
72
-
73
- #define NAPI_THROW_VOID(e) \
74
- do { \
75
- (e).ThrowAsJavaScriptException(); \
76
- return; \
77
- } while (0)
78
-
79
- #define NAPI_THROW_IF_FAILED(env, status, ...) \
80
- if ((status) != napi_ok) { \
81
- Napi::Error::New(env).ThrowAsJavaScriptException(); \
82
- return __VA_ARGS__; \
83
- }
84
-
85
- #define NAPI_THROW_IF_FAILED_VOID(env, status) \
86
- if ((status) != napi_ok) { \
87
- Napi::Error::New(env).ThrowAsJavaScriptException(); \
88
- return; \
89
- }
90
-
91
- #endif // NAPI_CPP_EXCEPTIONS
92
-
93
- #define NAPI_FATAL_IF_FAILED(status, location, message) \
94
- do { \
95
- if ((status) != napi_ok) { \
96
- Napi::Error::Fatal((location), (message)); \
97
- } \
98
- } while (0)
99
-
100
- ////////////////////////////////////////////////////////////////////////////////
101
- /// N-API C++ Wrapper Classes
102
- ///
103
- /// These classes wrap the "N-API" ABI-stable C APIs for Node.js, providing a
104
- /// C++ object model and C++ exception-handling semantics with low overhead.
105
- /// The wrappers are all header-only so that they do not affect the ABI.
106
- ////////////////////////////////////////////////////////////////////////////////
107
- namespace Napi {
108
-
109
- // Forward declarations
110
- class Env;
111
- class Value;
112
- class Boolean;
113
- class Number;
114
- // currently experimental guard with version of NAPI_VERSION that it is
115
- // released in once it is no longer experimental
116
- #if (NAPI_VERSION > 2147483646)
117
- class BigInt;
118
- #endif // NAPI_EXPERIMENTAL
119
- class String;
120
- class Object;
121
- class Array;
122
- class Function;
123
- template <typename T> class Buffer;
124
- class Error;
125
- class PropertyDescriptor;
126
- class CallbackInfo;
127
- template <typename T> class Reference;
128
- class TypedArray;
129
- template <typename T> class TypedArrayOf;
130
-
131
- typedef TypedArrayOf<int8_t> Int8Array; ///< Typed-array of signed 8-bit integers
132
- typedef TypedArrayOf<uint8_t> Uint8Array; ///< Typed-array of unsigned 8-bit integers
133
- typedef TypedArrayOf<int16_t> Int16Array; ///< Typed-array of signed 16-bit integers
134
- typedef TypedArrayOf<uint16_t> Uint16Array; ///< Typed-array of unsigned 16-bit integers
135
- typedef TypedArrayOf<int32_t> Int32Array; ///< Typed-array of signed 32-bit integers
136
- typedef TypedArrayOf<uint32_t> Uint32Array; ///< Typed-array of unsigned 32-bit integers
137
- typedef TypedArrayOf<float> Float32Array; ///< Typed-array of 32-bit floating-point values
138
- typedef TypedArrayOf<double> Float64Array; ///< Typed-array of 64-bit floating-point values
139
- // currently experimental guard with version of NAPI_VERSION that it is
140
- // released in once it is no longer experimental
141
- #if (NAPI_VERSION > 2147483646)
142
- typedef TypedArrayOf<int64_t> BigInt64Array; ///< Typed array of signed 64-bit integers
143
- typedef TypedArrayOf<uint64_t> BigUint64Array; ///< Typed array of unsigned 64-bit integers
144
- #endif // NAPI_EXPERIMENTAL
145
-
146
- /// Defines the signature of a N-API C++ module's registration callback (init) function.
147
- typedef Object (*ModuleRegisterCallback)(Env env, Object exports);
148
-
149
- class MemoryManagement;
150
-
151
- /// Environment for N-API values and operations.
152
- ///
153
- /// All N-API values and operations must be associated with an environment. An environment
154
- /// instance is always provided to callback functions; that environment must then be used for any
155
- /// creation of N-API values or other N-API operations within the callback. (Many methods infer
156
- /// the environment from the `this` instance that the method is called on.)
157
- ///
158
- /// In the future, multiple environments per process may be supported, although current
159
- /// implementations only support one environment per process.
160
- ///
161
- /// In the V8 JavaScript engine, a N-API environment approximately corresponds to an Isolate.
162
- class Env {
163
- public:
164
- Env(napi_env env);
165
-
166
- operator napi_env() const;
167
-
168
- Object Global() const;
169
- Value Undefined() const;
170
- Value Null() const;
171
-
172
- bool IsExceptionPending() const;
173
- Error GetAndClearPendingException();
174
-
175
- private:
176
- napi_env _env;
177
- };
178
-
179
- /// A JavaScript value of unknown type.
180
- ///
181
- /// For type-specific operations, convert to one of the Value subclasses using a `To*` or `As()`
182
- /// method. The `To*` methods do type coercion; the `As()` method does not.
183
- ///
184
- /// Napi::Value value = ...
185
- /// if (!value.IsString()) throw Napi::TypeError::New(env, "Invalid arg...");
186
- /// Napi::String str = value.As<Napi::String>(); // Cast to a string value
187
- ///
188
- /// Napi::Value anotherValue = ...
189
- /// bool isTruthy = anotherValue.ToBoolean(); // Coerce to a boolean value
190
- class Value {
191
- public:
192
- Value(); ///< Creates a new _empty_ Value instance.
193
- Value(napi_env env, napi_value value); ///< Wraps a N-API value primitive.
194
-
195
- /// Creates a JS value from a C++ primitive.
196
- ///
197
- /// `value` may be any of:
198
- /// - bool
199
- /// - Any integer type
200
- /// - Any floating point type
201
- /// - const char* (encoded using UTF-8, null-terminated)
202
- /// - const char16_t* (encoded using UTF-16-LE, null-terminated)
203
- /// - std::string (encoded using UTF-8)
204
- /// - std::u16string
205
- /// - napi::Value
206
- /// - napi_value
207
- template <typename T>
208
- static Value From(napi_env env, const T& value);
209
-
210
- /// Converts to a N-API value primitive.
211
- ///
212
- /// If the instance is _empty_, this returns `nullptr`.
213
- operator napi_value() const;
214
-
215
- /// Tests if this value strictly equals another value.
216
- bool operator ==(const Value& other) const;
217
-
218
- /// Tests if this value does not strictly equal another value.
219
- bool operator !=(const Value& other) const;
220
-
221
- /// Tests if this value strictly equals another value.
222
- bool StrictEquals(const Value& other) const;
223
-
224
- /// Gets the environment the value is associated with.
225
- Napi::Env Env() const;
226
-
227
- /// Checks if the value is empty (uninitialized).
228
- ///
229
- /// An empty value is invalid, and most attempts to perform an operation on an empty value
230
- /// will result in an exception. Note an empty value is distinct from JavaScript `null` or
231
- /// `undefined`, which are valid values.
232
- ///
233
- /// When C++ exceptions are disabled at compile time, a method with a `Value` return type may
234
- /// return an empty value to indicate a pending exception. So when not using C++ exceptions,
235
- /// callers should check whether the value is empty before attempting to use it.
236
- bool IsEmpty() const;
237
-
238
- napi_valuetype Type() const; ///< Gets the type of the value.
239
-
240
- bool IsUndefined() const; ///< Tests if a value is an undefined JavaScript value.
241
- bool IsNull() const; ///< Tests if a value is a null JavaScript value.
242
- bool IsBoolean() const; ///< Tests if a value is a JavaScript boolean.
243
- bool IsNumber() const; ///< Tests if a value is a JavaScript number.
244
- // currently experimental guard with version of NAPI_VERSION that it is
245
- // released in once it is no longer experimental
246
- #if (NAPI_VERSION > 2147483646)
247
- bool IsBigInt() const; ///< Tests if a value is a JavaScript bigint.
248
- #endif // NAPI_EXPERIMENTAL
249
- bool IsString() const; ///< Tests if a value is a JavaScript string.
250
- bool IsSymbol() const; ///< Tests if a value is a JavaScript symbol.
251
- bool IsArray() const; ///< Tests if a value is a JavaScript array.
252
- bool IsArrayBuffer() const; ///< Tests if a value is a JavaScript array buffer.
253
- bool IsTypedArray() const; ///< Tests if a value is a JavaScript typed array.
254
- bool IsObject() const; ///< Tests if a value is a JavaScript object.
255
- bool IsFunction() const; ///< Tests if a value is a JavaScript function.
256
- bool IsPromise() const; ///< Tests if a value is a JavaScript promise.
257
- bool IsDataView() const; ///< Tests if a value is a JavaScript data view.
258
- bool IsBuffer() const; ///< Tests if a value is a Node buffer.
259
- bool IsExternal() const; ///< Tests if a value is a pointer to external data.
260
-
261
- /// Casts to another type of `Napi::Value`, when the actual type is known or assumed.
262
- ///
263
- /// This conversion does NOT coerce the type. Calling any methods inappropriate for the actual
264
- /// value type will throw `Napi::Error`.
265
- template <typename T> T As() const;
266
-
267
- Boolean ToBoolean() const; ///< Coerces a value to a JavaScript boolean.
268
- Number ToNumber() const; ///< Coerces a value to a JavaScript number.
269
- String ToString() const; ///< Coerces a value to a JavaScript string.
270
- Object ToObject() const; ///< Coerces a value to a JavaScript object.
271
-
272
- protected:
273
- /// !cond INTERNAL
274
- napi_env _env;
275
- napi_value _value;
276
- /// !endcond
277
- };
278
-
279
- /// A JavaScript boolean value.
280
- class Boolean : public Value {
281
- public:
282
- static Boolean New(
283
- napi_env env, ///< N-API environment
284
- bool value ///< Boolean value
285
- );
286
-
287
- Boolean(); ///< Creates a new _empty_ Boolean instance.
288
- Boolean(napi_env env, napi_value value); ///< Wraps a N-API value primitive.
289
-
290
- operator bool() const; ///< Converts a Boolean value to a boolean primitive.
291
- bool Value() const; ///< Converts a Boolean value to a boolean primitive.
292
- };
293
-
294
- /// A JavaScript number value.
295
- class Number : public Value {
296
- public:
297
- static Number New(
298
- napi_env env, ///< N-API environment
299
- double value ///< Number value
300
- );
301
-
302
- Number(); ///< Creates a new _empty_ Number instance.
303
- Number(napi_env env, napi_value value); ///< Wraps a N-API value primitive.
304
-
305
- operator int32_t() const; ///< Converts a Number value to a 32-bit signed integer value.
306
- operator uint32_t() const; ///< Converts a Number value to a 32-bit unsigned integer value.
307
- operator int64_t() const; ///< Converts a Number value to a 64-bit signed integer value.
308
- operator float() const; ///< Converts a Number value to a 32-bit floating-point value.
309
- operator double() const; ///< Converts a Number value to a 64-bit floating-point value.
310
-
311
- int32_t Int32Value() const; ///< Converts a Number value to a 32-bit signed integer value.
312
- uint32_t Uint32Value() const; ///< Converts a Number value to a 32-bit unsigned integer value.
313
- int64_t Int64Value() const; ///< Converts a Number value to a 64-bit signed integer value.
314
- float FloatValue() const; ///< Converts a Number value to a 32-bit floating-point value.
315
- double DoubleValue() const; ///< Converts a Number value to a 64-bit floating-point value.
316
- };
317
-
318
- // currently experimental guard with version of NAPI_VERSION that it is
319
- // released in once it is no longer experimental
320
- #if (NAPI_VERSION > 2147483646)
321
- /// A JavaScript bigint value.
322
- class BigInt : public Value {
323
- public:
324
- static BigInt New(
325
- napi_env env, ///< N-API environment
326
- int64_t value ///< Number value
327
- );
328
- static BigInt New(
329
- napi_env env, ///< N-API environment
330
- uint64_t value ///< Number value
331
- );
332
-
333
- /// Creates a new BigInt object using a specified sign bit and a
334
- /// specified list of digits/words.
335
- /// The resulting number is calculated as:
336
- /// (-1)^sign_bit * (words[0] * (2^64)^0 + words[1] * (2^64)^1 + ...)
337
- static BigInt New(
338
- napi_env env, ///< N-API environment
339
- int sign_bit, ///< Sign bit. 1 if negative.
340
- size_t word_count, ///< Number of words in array
341
- const uint64_t* words ///< Array of words
342
- );
343
-
344
- BigInt(); ///< Creates a new _empty_ BigInt instance.
345
- BigInt(napi_env env, napi_value value); ///< Wraps a N-API value primitive.
346
-
347
- int64_t Int64Value(bool* lossless) const; ///< Converts a BigInt value to a 64-bit signed integer value.
348
- uint64_t Uint64Value(bool* lossless) const; ///< Converts a BigInt value to a 64-bit unsigned integer value.
349
-
350
- size_t WordCount() const; ///< The number of 64-bit words needed to store the result of ToWords().
351
-
352
- /// Writes the contents of this BigInt to a specified memory location.
353
- /// `sign_bit` must be provided and will be set to 1 if this BigInt is negative.
354
- /// `*word_count` has to be initialized to the length of the `words` array.
355
- /// Upon return, it will be set to the actual number of words that would
356
- /// be needed to store this BigInt (i.e. the return value of `WordCount()`).
357
- void ToWords(int* sign_bit, size_t* word_count, uint64_t* words);
358
- };
359
- #endif // NAPI_EXPERIMENTAL
360
-
361
- /// A JavaScript string or symbol value (that can be used as a property name).
362
- class Name : public Value {
363
- public:
364
- Name(); ///< Creates a new _empty_ Name instance.
365
- Name(napi_env env, napi_value value); ///< Wraps a N-API value primitive.
366
- };
367
-
368
- /// A JavaScript string value.
369
- class String : public Name {
370
- public:
371
- /// Creates a new String value from a UTF-8 encoded C++ string.
372
- static String New(
373
- napi_env env, ///< N-API environment
374
- const std::string& value ///< UTF-8 encoded C++ string
375
- );
376
-
377
- /// Creates a new String value from a UTF-16 encoded C++ string.
378
- static String New(
379
- napi_env env, ///< N-API environment
380
- const std::u16string& value ///< UTF-16 encoded C++ string
381
- );
382
-
383
- /// Creates a new String value from a UTF-8 encoded C string.
384
- static String New(
385
- napi_env env, ///< N-API environment
386
- const char* value ///< UTF-8 encoded null-terminated C string
387
- );
388
-
389
- /// Creates a new String value from a UTF-16 encoded C string.
390
- static String New(
391
- napi_env env, ///< N-API environment
392
- const char16_t* value ///< UTF-16 encoded null-terminated C string
393
- );
394
-
395
- /// Creates a new String value from a UTF-8 encoded C string with specified length.
396
- static String New(
397
- napi_env env, ///< N-API environment
398
- const char* value, ///< UTF-8 encoded C string (not necessarily null-terminated)
399
- size_t length ///< length of the string in bytes
400
- );
401
-
402
- /// Creates a new String value from a UTF-16 encoded C string with specified length.
403
- static String New(
404
- napi_env env, ///< N-API environment
405
- const char16_t* value, ///< UTF-16 encoded C string (not necessarily null-terminated)
406
- size_t length ///< Length of the string in 2-byte code units
407
- );
408
-
409
- /// Creates a new String based on the original object's type.
410
- ///
411
- /// `value` may be any of:
412
- /// - const char* (encoded using UTF-8, null-terminated)
413
- /// - const char16_t* (encoded using UTF-16-LE, null-terminated)
414
- /// - std::string (encoded using UTF-8)
415
- /// - std::u16string
416
- template <typename T>
417
- static String From(napi_env env, const T& value);
418
-
419
- String(); ///< Creates a new _empty_ String instance.
420
- String(napi_env env, napi_value value); ///< Wraps a N-API value primitive.
421
-
422
- operator std::string() const; ///< Converts a String value to a UTF-8 encoded C++ string.
423
- operator std::u16string() const; ///< Converts a String value to a UTF-16 encoded C++ string.
424
- std::string Utf8Value() const; ///< Converts a String value to a UTF-8 encoded C++ string.
425
- std::u16string Utf16Value() const; ///< Converts a String value to a UTF-16 encoded C++ string.
426
- };
427
-
428
- /// A JavaScript symbol value.
429
- class Symbol : public Name {
430
- public:
431
- /// Creates a new Symbol value with an optional description.
432
- static Symbol New(
433
- napi_env env, ///< N-API environment
434
- const char* description = nullptr ///< Optional UTF-8 encoded null-terminated C string
435
- /// describing the symbol
436
- );
437
-
438
- /// Creates a new Symbol value with a description.
439
- static Symbol New(
440
- napi_env env, ///< N-API environment
441
- const std::string& description ///< UTF-8 encoded C++ string describing the symbol
442
- );
443
-
444
- /// Creates a new Symbol value with a description.
445
- static Symbol New(
446
- napi_env env, ///< N-API environment
447
- String description ///< String value describing the symbol
448
- );
449
-
450
- /// Creates a new Symbol value with a description.
451
- static Symbol New(
452
- napi_env env, ///< N-API environment
453
- napi_value description ///< String value describing the symbol
454
- );
455
-
456
- /// Get a public Symbol (e.g. Symbol.iterator).
457
- static Symbol WellKnown(napi_env, const std::string& name);
458
-
459
- Symbol(); ///< Creates a new _empty_ Symbol instance.
460
- Symbol(napi_env env, napi_value value); ///< Wraps a N-API value primitive.
461
- };
462
-
463
- /// A JavaScript object value.
464
- class Object : public Value {
465
- public:
466
- /// Enables property and element assignments using indexing syntax.
467
- ///
468
- /// Example:
469
- ///
470
- /// Napi::Value propertyValue = object1['A'];
471
- /// object2['A'] = propertyValue;
472
- /// Napi::Value elementValue = array[0];
473
- /// array[1] = elementValue;
474
- template <typename Key>
475
- class PropertyLValue {
476
- public:
477
- /// Converts an L-value to a value.
478
- operator Value() const;
479
-
480
- /// Assigns a value to the property. The type of value can be
481
- /// anything supported by `Object::Set`.
482
- template <typename ValueType>
483
- PropertyLValue& operator =(ValueType value);
484
-
485
- private:
486
- PropertyLValue() = delete;
487
- PropertyLValue(Object object, Key key);
488
- napi_env _env;
489
- napi_value _object;
490
- Key _key;
491
-
492
- friend class Napi::Object;
493
- };
494
-
495
- /// Creates a new Object value.
496
- static Object New(
497
- napi_env env ///< N-API environment
498
- );
499
-
500
- Object(); ///< Creates a new _empty_ Object instance.
501
- Object(napi_env env, napi_value value); ///< Wraps a N-API value primitive.
502
-
503
- /// Gets or sets a named property.
504
- PropertyLValue<std::string> operator [](
505
- const char* utf8name ///< UTF-8 encoded null-terminated property name
506
- );
507
-
508
- /// Gets or sets a named property.
509
- PropertyLValue<std::string> operator [](
510
- const std::string& utf8name ///< UTF-8 encoded property name
511
- );
512
-
513
- /// Gets or sets an indexed property or array element.
514
- PropertyLValue<uint32_t> operator [](
515
- uint32_t index /// Property / element index
516
- );
517
-
518
- /// Gets a named property.
519
- Value operator [](
520
- const char* utf8name ///< UTF-8 encoded null-terminated property name
521
- ) const;
522
-
523
- /// Gets a named property.
524
- Value operator [](
525
- const std::string& utf8name ///< UTF-8 encoded property name
526
- ) const;
527
-
528
- /// Gets an indexed property or array element.
529
- Value operator [](
530
- uint32_t index ///< Property / element index
531
- ) const;
532
-
533
- /// Checks whether a property is present.
534
- bool Has(
535
- napi_value key ///< Property key primitive
536
- ) const;
537
-
538
- /// Checks whether a property is present.
539
- bool Has(
540
- Value key ///< Property key
541
- ) const;
542
-
543
- /// Checks whether a named property is present.
544
- bool Has(
545
- const char* utf8name ///< UTF-8 encoded null-terminated property name
546
- ) const;
547
-
548
- /// Checks whether a named property is present.
549
- bool Has(
550
- const std::string& utf8name ///< UTF-8 encoded property name
551
- ) const;
552
-
553
- /// Checks whether a own property is present.
554
- bool HasOwnProperty(
555
- napi_value key ///< Property key primitive
556
- ) const;
557
-
558
- /// Checks whether a own property is present.
559
- bool HasOwnProperty(
560
- Value key ///< Property key
561
- ) const;
562
-
563
- /// Checks whether a own property is present.
564
- bool HasOwnProperty(
565
- const char* utf8name ///< UTF-8 encoded null-terminated property name
566
- ) const;
567
-
568
- /// Checks whether a own property is present.
569
- bool HasOwnProperty(
570
- const std::string& utf8name ///< UTF-8 encoded property name
571
- ) const;
572
-
573
- /// Gets a property.
574
- Value Get(
575
- napi_value key ///< Property key primitive
576
- ) const;
577
-
578
- /// Gets a property.
579
- Value Get(
580
- Value key ///< Property key
581
- ) const;
582
-
583
- /// Gets a named property.
584
- Value Get(
585
- const char* utf8name ///< UTF-8 encoded null-terminated property name
586
- ) const;
587
-
588
- /// Gets a named property.
589
- Value Get(
590
- const std::string& utf8name ///< UTF-8 encoded property name
591
- ) const;
592
-
593
- /// Sets a property.
594
- template <typename ValueType>
595
- void Set(
596
- napi_value key, ///< Property key primitive
597
- const ValueType& value ///< Property value primitive
598
- );
599
-
600
- /// Sets a property.
601
- template <typename ValueType>
602
- void Set(
603
- Value key, ///< Property key
604
- const ValueType& value ///< Property value
605
- );
606
-
607
- /// Sets a named property.
608
- template <typename ValueType>
609
- void Set(
610
- const char* utf8name, ///< UTF-8 encoded null-terminated property name
611
- const ValueType& value
612
- );
613
-
614
- /// Sets a named property.
615
- template <typename ValueType>
616
- void Set(
617
- const std::string& utf8name, ///< UTF-8 encoded property name
618
- const ValueType& value ///< Property value primitive
619
- );
620
-
621
- /// Delete property.
622
- bool Delete(
623
- napi_value key ///< Property key primitive
624
- );
625
-
626
- /// Delete property.
627
- bool Delete(
628
- Value key ///< Property key
629
- );
630
-
631
- /// Delete property.
632
- bool Delete(
633
- const char* utf8name ///< UTF-8 encoded null-terminated property name
634
- );
635
-
636
- /// Delete property.
637
- bool Delete(
638
- const std::string& utf8name ///< UTF-8 encoded property name
639
- );
640
-
641
- /// Checks whether an indexed property is present.
642
- bool Has(
643
- uint32_t index ///< Property / element index
644
- ) const;
645
-
646
- /// Gets an indexed property or array element.
647
- Value Get(
648
- uint32_t index ///< Property / element index
649
- ) const;
650
-
651
- /// Sets an indexed property or array element.
652
- template <typename ValueType>
653
- void Set(
654
- uint32_t index, ///< Property / element index
655
- const ValueType& value ///< Property value primitive
656
- );
657
-
658
- /// Deletes an indexed property or array element.
659
- bool Delete(
660
- uint32_t index ///< Property / element index
661
- );
662
-
663
- Array GetPropertyNames() const; ///< Get all property names
664
-
665
- /// Defines a property on the object.
666
- void DefineProperty(
667
- const PropertyDescriptor& property ///< Descriptor for the property to be defined
668
- );
669
-
670
- /// Defines properties on the object.
671
- void DefineProperties(
672
- const std::initializer_list<PropertyDescriptor>& properties
673
- ///< List of descriptors for the properties to be defined
674
- );
675
-
676
- /// Defines properties on the object.
677
- void DefineProperties(
678
- const std::vector<PropertyDescriptor>& properties
679
- ///< Vector of descriptors for the properties to be defined
680
- );
681
-
682
- /// Checks if an object is an instance created by a constructor function.
683
- ///
684
- /// This is equivalent to the JavaScript `instanceof` operator.
685
- bool InstanceOf(
686
- const Function& constructor ///< Constructor function
687
- ) const;
688
- };
689
-
690
- template <typename T>
691
- class External : public Value {
692
- public:
693
- static External New(napi_env env, T* data);
694
-
695
- // Finalizer must implement `void operator()(Env env, T* data)`.
696
- template <typename Finalizer>
697
- static External New(napi_env env,
698
- T* data,
699
- Finalizer finalizeCallback);
700
- // Finalizer must implement `void operator()(Env env, T* data, Hint* hint)`.
701
- template <typename Finalizer, typename Hint>
702
- static External New(napi_env env,
703
- T* data,
704
- Finalizer finalizeCallback,
705
- Hint* finalizeHint);
706
-
707
- External();
708
- External(napi_env env, napi_value value);
709
-
710
- T* Data() const;
711
- };
712
-
713
- class Array : public Object {
714
- public:
715
- static Array New(napi_env env);
716
- static Array New(napi_env env, size_t length);
717
-
718
- Array();
719
- Array(napi_env env, napi_value value);
720
-
721
- uint32_t Length() const;
722
- };
723
-
724
- /// A JavaScript array buffer value.
725
- class ArrayBuffer : public Object {
726
- public:
727
- /// Creates a new ArrayBuffer instance over a new automatically-allocated buffer.
728
- static ArrayBuffer New(
729
- napi_env env, ///< N-API environment
730
- size_t byteLength ///< Length of the buffer to be allocated, in bytes
731
- );
732
-
733
- /// Creates a new ArrayBuffer instance, using an external buffer with specified byte length.
734
- static ArrayBuffer New(
735
- napi_env env, ///< N-API environment
736
- void* externalData, ///< Pointer to the external buffer to be used by the array
737
- size_t byteLength ///< Length of the external buffer to be used by the array, in bytes
738
- );
739
-
740
- /// Creates a new ArrayBuffer instance, using an external buffer with specified byte length.
741
- template <typename Finalizer>
742
- static ArrayBuffer New(
743
- napi_env env, ///< N-API environment
744
- void* externalData, ///< Pointer to the external buffer to be used by the array
745
- size_t byteLength, ///< Length of the external buffer to be used by the array,
746
- /// in bytes
747
- Finalizer finalizeCallback ///< Function to be called when the array buffer is destroyed;
748
- /// must implement `void operator()(Env env, void* externalData)`
749
- );
750
-
751
- /// Creates a new ArrayBuffer instance, using an external buffer with specified byte length.
752
- template <typename Finalizer, typename Hint>
753
- static ArrayBuffer New(
754
- napi_env env, ///< N-API environment
755
- void* externalData, ///< Pointer to the external buffer to be used by the array
756
- size_t byteLength, ///< Length of the external buffer to be used by the array,
757
- /// in bytes
758
- Finalizer finalizeCallback, ///< Function to be called when the array buffer is destroyed;
759
- /// must implement `void operator()(Env env, void* externalData, Hint* hint)`
760
- Hint* finalizeHint ///< Hint (second parameter) to be passed to the finalize callback
761
- );
762
-
763
- ArrayBuffer(); ///< Creates a new _empty_ ArrayBuffer instance.
764
- ArrayBuffer(napi_env env, napi_value value); ///< Wraps a N-API value primitive.
765
-
766
- void* Data(); ///< Gets a pointer to the data buffer.
767
- size_t ByteLength(); ///< Gets the length of the array buffer in bytes.
768
-
769
- private:
770
- mutable void* _data;
771
- mutable size_t _length;
772
-
773
- ArrayBuffer(napi_env env, napi_value value, void* data, size_t length);
774
- void EnsureInfo() const;
775
- };
776
-
777
- /// A JavaScript typed-array value with unknown array type.
778
- ///
779
- /// For type-specific operations, cast to a `TypedArrayOf<T>` instance using the `As()`
780
- /// method:
781
- ///
782
- /// Napi::TypedArray array = ...
783
- /// if (t.TypedArrayType() == napi_int32_array) {
784
- /// Napi::Int32Array int32Array = t.As<Napi::Int32Array>();
785
- /// }
786
- class TypedArray : public Object {
787
- public:
788
- TypedArray(); ///< Creates a new _empty_ TypedArray instance.
789
- TypedArray(napi_env env, napi_value value); ///< Wraps a N-API value primitive.
790
-
791
- napi_typedarray_type TypedArrayType() const; ///< Gets the type of this typed-array.
792
- Napi::ArrayBuffer ArrayBuffer() const; ///< Gets the backing array buffer.
793
-
794
- uint8_t ElementSize() const; ///< Gets the size in bytes of one element in the array.
795
- size_t ElementLength() const; ///< Gets the number of elements in the array.
796
- size_t ByteOffset() const; ///< Gets the offset into the buffer where the array starts.
797
- size_t ByteLength() const; ///< Gets the length of the array in bytes.
798
-
799
- protected:
800
- /// !cond INTERNAL
801
- napi_typedarray_type _type;
802
- size_t _length;
803
-
804
- TypedArray(napi_env env, napi_value value, napi_typedarray_type type, size_t length);
805
-
806
- static const napi_typedarray_type unknown_array_type = static_cast<napi_typedarray_type>(-1);
807
-
808
- template <typename T>
809
- static
810
- #if defined(NAPI_HAS_CONSTEXPR)
811
- constexpr
812
- #endif
813
- napi_typedarray_type TypedArrayTypeForPrimitiveType() {
814
- return std::is_same<T, int8_t>::value ? napi_int8_array
815
- : std::is_same<T, uint8_t>::value ? napi_uint8_array
816
- : std::is_same<T, int16_t>::value ? napi_int16_array
817
- : std::is_same<T, uint16_t>::value ? napi_uint16_array
818
- : std::is_same<T, int32_t>::value ? napi_int32_array
819
- : std::is_same<T, uint32_t>::value ? napi_uint32_array
820
- : std::is_same<T, float>::value ? napi_float32_array
821
- : std::is_same<T, double>::value ? napi_float64_array
822
- // currently experimental guard with version of NAPI_VERSION that it is
823
- // released in once it is no longer experimental
824
- #if (NAPI_VERSION > 2147483646)
825
- : std::is_same<T, int64_t>::value ? napi_bigint64_array
826
- : std::is_same<T, uint64_t>::value ? napi_biguint64_array
827
- #endif // NAPI_EXPERIMENTAL
828
- : unknown_array_type;
829
- }
830
- /// !endcond
831
- };
832
-
833
- /// A JavaScript typed-array value with known array type.
834
- ///
835
- /// Note while it is possible to create and access Uint8 "clamped" arrays using this class,
836
- /// the _clamping_ behavior is only applied in JavaScript.
837
- template <typename T>
838
- class TypedArrayOf : public TypedArray {
839
- public:
840
- /// Creates a new TypedArray instance over a new automatically-allocated array buffer.
841
- ///
842
- /// The array type parameter can normally be omitted (because it is inferred from the template
843
- /// parameter T), except when creating a "clamped" array:
844
- ///
845
- /// Uint8Array::New(env, length, napi_uint8_clamped_array)
846
- static TypedArrayOf New(
847
- napi_env env, ///< N-API environment
848
- size_t elementLength, ///< Length of the created array, as a number of elements
849
- #if defined(NAPI_HAS_CONSTEXPR)
850
- napi_typedarray_type type = TypedArray::TypedArrayTypeForPrimitiveType<T>()
851
- #else
852
- napi_typedarray_type type
853
- #endif
854
- ///< Type of array, if different from the default array type for the template parameter T.
855
- );
856
-
857
- /// Creates a new TypedArray instance over a provided array buffer.
858
- ///
859
- /// The array type parameter can normally be omitted (because it is inferred from the template
860
- /// parameter T), except when creating a "clamped" array:
861
- ///
862
- /// Uint8Array::New(env, length, buffer, 0, napi_uint8_clamped_array)
863
- static TypedArrayOf New(
864
- napi_env env, ///< N-API environment
865
- size_t elementLength, ///< Length of the created array, as a number of elements
866
- Napi::ArrayBuffer arrayBuffer, ///< Backing array buffer instance to use
867
- size_t bufferOffset, ///< Offset into the array buffer where the typed-array starts
868
- #if defined(NAPI_HAS_CONSTEXPR)
869
- napi_typedarray_type type = TypedArray::TypedArrayTypeForPrimitiveType<T>()
870
- #else
871
- napi_typedarray_type type
872
- #endif
873
- ///< Type of array, if different from the default array type for the template parameter T.
874
- );
875
-
876
- TypedArrayOf(); ///< Creates a new _empty_ TypedArrayOf instance.
877
- TypedArrayOf(napi_env env, napi_value value); ///< Wraps a N-API value primitive.
878
-
879
- T& operator [](size_t index); ///< Gets or sets an element in the array.
880
- const T& operator [](size_t index) const; ///< Gets an element in the array.
881
-
882
- /// Gets a pointer to the array's backing buffer.
883
- ///
884
- /// This is not necessarily the same as the `ArrayBuffer::Data()` pointer, because the
885
- /// typed-array may have a non-zero `ByteOffset()` into the `ArrayBuffer`.
886
- T* Data();
887
-
888
- /// Gets a pointer to the array's backing buffer.
889
- ///
890
- /// This is not necessarily the same as the `ArrayBuffer::Data()` pointer, because the
891
- /// typed-array may have a non-zero `ByteOffset()` into the `ArrayBuffer`.
892
- const T* Data() const;
893
-
894
- private:
895
- T* _data;
896
-
897
- TypedArrayOf(napi_env env,
898
- napi_value value,
899
- napi_typedarray_type type,
900
- size_t length,
901
- T* data);
902
- };
903
-
904
- /// The DataView provides a low-level interface for reading/writing multiple
905
- /// number types in an ArrayBuffer irrespective of the platform's endianness.
906
- class DataView : public Object {
907
- public:
908
- static DataView New(napi_env env,
909
- Napi::ArrayBuffer arrayBuffer);
910
- static DataView New(napi_env env,
911
- Napi::ArrayBuffer arrayBuffer,
912
- size_t byteOffset);
913
- static DataView New(napi_env env,
914
- Napi::ArrayBuffer arrayBuffer,
915
- size_t byteOffset,
916
- size_t byteLength);
917
-
918
- DataView(); ///< Creates a new _empty_ DataView instance.
919
- DataView(napi_env env, napi_value value); ///< Wraps a N-API value primitive.
920
-
921
- Napi::ArrayBuffer ArrayBuffer() const; ///< Gets the backing array buffer.
922
- size_t ByteOffset() const; ///< Gets the offset into the buffer where the array starts.
923
- size_t ByteLength() const; ///< Gets the length of the array in bytes.
924
-
925
- void* Data() const;
926
-
927
- float GetFloat32(size_t byteOffset) const;
928
- double GetFloat64(size_t byteOffset) const;
929
- int8_t GetInt8(size_t byteOffset) const;
930
- int16_t GetInt16(size_t byteOffset) const;
931
- int32_t GetInt32(size_t byteOffset) const;
932
- uint8_t GetUint8(size_t byteOffset) const;
933
- uint16_t GetUint16(size_t byteOffset) const;
934
- uint32_t GetUint32(size_t byteOffset) const;
935
-
936
- void SetFloat32(size_t byteOffset, float value) const;
937
- void SetFloat64(size_t byteOffset, double value) const;
938
- void SetInt8(size_t byteOffset, int8_t value) const;
939
- void SetInt16(size_t byteOffset, int16_t value) const;
940
- void SetInt32(size_t byteOffset, int32_t value) const;
941
- void SetUint8(size_t byteOffset, uint8_t value) const;
942
- void SetUint16(size_t byteOffset, uint16_t value) const;
943
- void SetUint32(size_t byteOffset, uint32_t value) const;
944
-
945
- private:
946
- template <typename T>
947
- T ReadData(size_t byteOffset) const;
948
-
949
- template <typename T>
950
- void WriteData(size_t byteOffset, T value) const;
951
-
952
- void* _data;
953
- size_t _length;
954
- };
955
-
956
- class Function : public Object {
957
- public:
958
- /// Callable must implement operator() accepting a const CallbackInfo&
959
- /// and return either void or Value.
960
- template <typename Callable>
961
- static Function New(napi_env env,
962
- Callable cb,
963
- const char* utf8name = nullptr,
964
- void* data = nullptr);
965
- /// Callable must implement operator() accepting a const CallbackInfo&
966
- /// and return either void or Value.
967
- template <typename Callable>
968
- static Function New(napi_env env,
969
- Callable cb,
970
- const std::string& utf8name,
971
- void* data = nullptr);
972
-
973
- Function();
974
- Function(napi_env env, napi_value value);
975
-
976
- Value operator ()(const std::initializer_list<napi_value>& args) const;
977
-
978
- Value Call(const std::initializer_list<napi_value>& args) const;
979
- Value Call(const std::vector<napi_value>& args) const;
980
- Value Call(size_t argc, const napi_value* args) const;
981
- Value Call(napi_value recv, const std::initializer_list<napi_value>& args) const;
982
- Value Call(napi_value recv, const std::vector<napi_value>& args) const;
983
- Value Call(napi_value recv, size_t argc, const napi_value* args) const;
984
-
985
- Value MakeCallback(napi_value recv,
986
- const std::initializer_list<napi_value>& args,
987
- napi_async_context context = nullptr) const;
988
- Value MakeCallback(napi_value recv,
989
- const std::vector<napi_value>& args,
990
- napi_async_context context = nullptr) const;
991
- Value MakeCallback(napi_value recv,
992
- size_t argc,
993
- const napi_value* args,
994
- napi_async_context context = nullptr) const;
995
-
996
- Object New(const std::initializer_list<napi_value>& args) const;
997
- Object New(const std::vector<napi_value>& args) const;
998
- Object New(size_t argc, const napi_value* args) const;
999
- };
1000
-
1001
- class Promise : public Object {
1002
- public:
1003
- class Deferred {
1004
- public:
1005
- static Deferred New(napi_env env);
1006
- Deferred(napi_env env);
1007
-
1008
- Napi::Promise Promise() const;
1009
- Napi::Env Env() const;
1010
-
1011
- void Resolve(napi_value value) const;
1012
- void Reject(napi_value value) const;
1013
-
1014
- private:
1015
- napi_env _env;
1016
- napi_deferred _deferred;
1017
- napi_value _promise;
1018
- };
1019
-
1020
- Promise(napi_env env, napi_value value);
1021
- };
1022
-
1023
- template <typename T>
1024
- class Buffer : public Uint8Array {
1025
- public:
1026
- static Buffer<T> New(napi_env env, size_t length);
1027
- static Buffer<T> New(napi_env env, T* data, size_t length);
1028
-
1029
- // Finalizer must implement `void operator()(Env env, T* data)`.
1030
- template <typename Finalizer>
1031
- static Buffer<T> New(napi_env env, T* data,
1032
- size_t length,
1033
- Finalizer finalizeCallback);
1034
- // Finalizer must implement `void operator()(Env env, T* data, Hint* hint)`.
1035
- template <typename Finalizer, typename Hint>
1036
- static Buffer<T> New(napi_env env, T* data,
1037
- size_t length,
1038
- Finalizer finalizeCallback,
1039
- Hint* finalizeHint);
1040
-
1041
- static Buffer<T> Copy(napi_env env, const T* data, size_t length);
1042
-
1043
- Buffer();
1044
- Buffer(napi_env env, napi_value value);
1045
- size_t Length() const;
1046
- T* Data() const;
1047
-
1048
- private:
1049
- mutable size_t _length;
1050
- mutable T* _data;
1051
-
1052
- Buffer(napi_env env, napi_value value, size_t length, T* data);
1053
- void EnsureInfo() const;
1054
- };
1055
-
1056
- /// Holds a counted reference to a value; initially a weak reference unless otherwise specified,
1057
- /// may be changed to/from a strong reference by adjusting the refcount.
1058
- ///
1059
- /// The referenced value is not immediately destroyed when the reference count is zero; it is
1060
- /// merely then eligible for garbage-collection if there are no other references to the value.
1061
- template <typename T>
1062
- class Reference {
1063
- public:
1064
- static Reference<T> New(const T& value, uint32_t initialRefcount = 0);
1065
-
1066
- Reference();
1067
- Reference(napi_env env, napi_ref ref);
1068
- ~Reference();
1069
-
1070
- // A reference can be moved but cannot be copied.
1071
- Reference(Reference<T>&& other);
1072
- Reference<T>& operator =(Reference<T>&& other);
1073
- Reference<T>& operator =(Reference<T>&) = delete;
1074
-
1075
- operator napi_ref() const;
1076
- bool operator ==(const Reference<T> &other) const;
1077
- bool operator !=(const Reference<T> &other) const;
1078
-
1079
- Napi::Env Env() const;
1080
- bool IsEmpty() const;
1081
-
1082
- // Note when getting the value of a Reference it is usually correct to do so
1083
- // within a HandleScope so that the value handle gets cleaned up efficiently.
1084
- T Value() const;
1085
-
1086
- uint32_t Ref();
1087
- uint32_t Unref();
1088
- void Reset();
1089
- void Reset(const T& value, uint32_t refcount = 0);
1090
-
1091
- // Call this on a reference that is declared as static data, to prevent its destructor
1092
- // from running at program shutdown time, which would attempt to reset the reference when
1093
- // the environment is no longer valid.
1094
- void SuppressDestruct();
1095
-
1096
- protected:
1097
- Reference(const Reference<T>&);
1098
-
1099
- /// !cond INTERNAL
1100
- napi_env _env;
1101
- napi_ref _ref;
1102
- /// !endcond
1103
-
1104
- private:
1105
- bool _suppressDestruct;
1106
- };
1107
-
1108
- class ObjectReference: public Reference<Object> {
1109
- public:
1110
- ObjectReference();
1111
- ObjectReference(napi_env env, napi_ref ref);
1112
-
1113
- // A reference can be moved but cannot be copied.
1114
- ObjectReference(Reference<Object>&& other);
1115
- ObjectReference& operator =(Reference<Object>&& other);
1116
- ObjectReference(ObjectReference&& other);
1117
- ObjectReference& operator =(ObjectReference&& other);
1118
- ObjectReference& operator =(ObjectReference&) = delete;
1119
-
1120
- Napi::Value Get(const char* utf8name) const;
1121
- Napi::Value Get(const std::string& utf8name) const;
1122
- void Set(const char* utf8name, napi_value value);
1123
- void Set(const char* utf8name, Napi::Value value);
1124
- void Set(const char* utf8name, const char* utf8value);
1125
- void Set(const char* utf8name, bool boolValue);
1126
- void Set(const char* utf8name, double numberValue);
1127
- void Set(const std::string& utf8name, napi_value value);
1128
- void Set(const std::string& utf8name, Napi::Value value);
1129
- void Set(const std::string& utf8name, std::string& utf8value);
1130
- void Set(const std::string& utf8name, bool boolValue);
1131
- void Set(const std::string& utf8name, double numberValue);
1132
-
1133
- Napi::Value Get(uint32_t index) const;
1134
- void Set(uint32_t index, const napi_value value);
1135
- void Set(uint32_t index, const Napi::Value value);
1136
- void Set(uint32_t index, const char* utf8value);
1137
- void Set(uint32_t index, const std::string& utf8value);
1138
- void Set(uint32_t index, bool boolValue);
1139
- void Set(uint32_t index, double numberValue);
1140
-
1141
- protected:
1142
- ObjectReference(const ObjectReference&);
1143
- };
1144
-
1145
- class FunctionReference: public Reference<Function> {
1146
- public:
1147
- FunctionReference();
1148
- FunctionReference(napi_env env, napi_ref ref);
1149
-
1150
- // A reference can be moved but cannot be copied.
1151
- FunctionReference(Reference<Function>&& other);
1152
- FunctionReference& operator =(Reference<Function>&& other);
1153
- FunctionReference(FunctionReference&& other);
1154
- FunctionReference& operator =(FunctionReference&& other);
1155
- FunctionReference(const FunctionReference&) = delete;
1156
- FunctionReference& operator =(FunctionReference&) = delete;
1157
-
1158
- Napi::Value operator ()(const std::initializer_list<napi_value>& args) const;
1159
-
1160
- Napi::Value Call(const std::initializer_list<napi_value>& args) const;
1161
- Napi::Value Call(const std::vector<napi_value>& args) const;
1162
- Napi::Value Call(napi_value recv, const std::initializer_list<napi_value>& args) const;
1163
- Napi::Value Call(napi_value recv, const std::vector<napi_value>& args) const;
1164
- Napi::Value Call(napi_value recv, size_t argc, const napi_value* args) const;
1165
-
1166
- Napi::Value MakeCallback(napi_value recv,
1167
- const std::initializer_list<napi_value>& args,
1168
- napi_async_context context = nullptr) const;
1169
- Napi::Value MakeCallback(napi_value recv,
1170
- const std::vector<napi_value>& args,
1171
- napi_async_context context = nullptr) const;
1172
- Napi::Value MakeCallback(napi_value recv,
1173
- size_t argc,
1174
- const napi_value* args,
1175
- napi_async_context context = nullptr) const;
1176
-
1177
- Object New(const std::initializer_list<napi_value>& args) const;
1178
- Object New(const std::vector<napi_value>& args) const;
1179
- };
1180
-
1181
- // Shortcuts to creating a new reference with inferred type and refcount = 0.
1182
- template <typename T> Reference<T> Weak(T value);
1183
- ObjectReference Weak(Object value);
1184
- FunctionReference Weak(Function value);
1185
-
1186
- // Shortcuts to creating a new reference with inferred type and refcount = 1.
1187
- template <typename T> Reference<T> Persistent(T value);
1188
- ObjectReference Persistent(Object value);
1189
- FunctionReference Persistent(Function value);
1190
-
1191
- /// A persistent reference to a JavaScript error object. Use of this class depends somewhat
1192
- /// on whether C++ exceptions are enabled at compile time.
1193
- ///
1194
- /// ### Handling Errors With C++ Exceptions
1195
- ///
1196
- /// If C++ exceptions are enabled, then the `Error` class extends `std::exception` and enables
1197
- /// integrated error-handling for C++ exceptions and JavaScript exceptions.
1198
- ///
1199
- /// If a N-API call fails without executing any JavaScript code (for example due to an invalid
1200
- /// argument), then the N-API wrapper automatically converts and throws the error as a C++
1201
- /// exception of type `Napi::Error`. Or if a JavaScript function called by C++ code via N-API
1202
- /// throws a JavaScript exception, then the N-API wrapper automatically converts and throws it as
1203
- /// a C++ exception of type `Napi::Error`.
1204
- ///
1205
- /// If a C++ exception of type `Napi::Error` escapes from a N-API C++ callback, then the N-API
1206
- /// wrapper automatically converts and throws it as a JavaScript exception. Therefore, catching
1207
- /// a C++ exception of type `Napi::Error` prevents a JavaScript exception from being thrown.
1208
- ///
1209
- /// #### Example 1A - Throwing a C++ exception:
1210
- ///
1211
- /// Napi::Env env = ...
1212
- /// throw Napi::Error::New(env, "Example exception");
1213
- ///
1214
- /// Following C++ statements will not be executed. The exception will bubble up as a C++
1215
- /// exception of type `Napi::Error`, until it is either caught while still in C++, or else
1216
- /// automatically propataged as a JavaScript exception when the callback returns to JavaScript.
1217
- ///
1218
- /// #### Example 2A - Propagating a N-API C++ exception:
1219
- ///
1220
- /// Napi::Function jsFunctionThatThrows = someObj.As<Napi::Function>();
1221
- /// Napi::Value result = jsFunctionThatThrows({ arg1, arg2 });
1222
- ///
1223
- /// Following C++ statements will not be executed. The exception will bubble up as a C++
1224
- /// exception of type `Napi::Error`, until it is either caught while still in C++, or else
1225
- /// automatically propagated as a JavaScript exception when the callback returns to JavaScript.
1226
- ///
1227
- /// #### Example 3A - Handling a N-API C++ exception:
1228
- ///
1229
- /// Napi::Function jsFunctionThatThrows = someObj.As<Napi::Function>();
1230
- /// Napi::Value result;
1231
- /// try {
1232
- /// result = jsFunctionThatThrows({ arg1, arg2 });
1233
- /// } catch (const Napi::Error& e) {
1234
- /// cerr << "Caught JavaScript exception: " + e.what();
1235
- /// }
1236
- ///
1237
- /// Since the exception was caught here, it will not be propagated as a JavaScript exception.
1238
- ///
1239
- /// ### Handling Errors Without C++ Exceptions
1240
- ///
1241
- /// If C++ exceptions are disabled (by defining `NAPI_DISABLE_CPP_EXCEPTIONS`) then this class
1242
- /// does not extend `std::exception`, and APIs in the `Napi` namespace do not throw C++
1243
- /// exceptions when they fail. Instead, they raise _pending_ JavaScript exceptions and
1244
- /// return _empty_ `Value`s. Calling code should check `Value::IsEmpty()` before attempting
1245
- /// to use a returned value, and may use methods on the `Env` class to check for, get, and
1246
- /// clear a pending JavaScript exception. If the pending exception is not cleared, it will
1247
- /// be thrown when the native callback returns to JavaScript.
1248
- ///
1249
- /// #### Example 1B - Throwing a JS exception
1250
- ///
1251
- /// Napi::Env env = ...
1252
- /// Napi::Error::New(env, "Example exception").ThrowAsJavaScriptException();
1253
- /// return;
1254
- ///
1255
- /// After throwing a JS exception, the code should generally return immediately from the native
1256
- /// callback, after performing any necessary cleanup.
1257
- ///
1258
- /// #### Example 2B - Propagating a N-API JS exception:
1259
- ///
1260
- /// Napi::Function jsFunctionThatThrows = someObj.As<Napi::Function>();
1261
- /// Napi::Value result = jsFunctionThatThrows({ arg1, arg2 });
1262
- /// if (result.IsEmpty()) return;
1263
- ///
1264
- /// An empty value result from a N-API call indicates an error occurred, and a JavaScript
1265
- /// exception is pending. To let the exception propagate, the code should generally return
1266
- /// immediately from the native callback, after performing any necessary cleanup.
1267
- ///
1268
- /// #### Example 3B - Handling a N-API JS exception:
1269
- ///
1270
- /// Napi::Function jsFunctionThatThrows = someObj.As<Napi::Function>();
1271
- /// Napi::Value result = jsFunctionThatThrows({ arg1, arg2 });
1272
- /// if (result.IsEmpty()) {
1273
- /// Napi::Error e = env.GetAndClearPendingException();
1274
- /// cerr << "Caught JavaScript exception: " + e.Message();
1275
- /// }
1276
- ///
1277
- /// Since the exception was cleared here, it will not be propagated as a JavaScript exception
1278
- /// after the native callback returns.
1279
- class Error : public ObjectReference
1280
- #ifdef NAPI_CPP_EXCEPTIONS
1281
- , public std::exception
1282
- #endif // NAPI_CPP_EXCEPTIONS
1283
- {
1284
- public:
1285
- static Error New(napi_env env);
1286
- static Error New(napi_env env, const char* message);
1287
- static Error New(napi_env env, const std::string& message);
1288
-
1289
- static NAPI_NO_RETURN void Fatal(const char* location, const char* message);
1290
-
1291
- Error();
1292
- Error(napi_env env, napi_value value);
1293
-
1294
- // An error can be moved or copied.
1295
- Error(Error&& other);
1296
- Error& operator =(Error&& other);
1297
- Error(const Error&);
1298
- Error& operator =(Error&);
1299
-
1300
- const std::string& Message() const NAPI_NOEXCEPT;
1301
- void ThrowAsJavaScriptException() const;
1302
-
1303
- #ifdef NAPI_CPP_EXCEPTIONS
1304
- const char* what() const NAPI_NOEXCEPT override;
1305
- #endif // NAPI_CPP_EXCEPTIONS
1306
-
1307
- protected:
1308
- /// !cond INTERNAL
1309
- typedef napi_status (*create_error_fn)(napi_env envb, napi_value code, napi_value msg, napi_value* result);
1310
-
1311
- template <typename TError>
1312
- static TError New(napi_env env,
1313
- const char* message,
1314
- size_t length,
1315
- create_error_fn create_error);
1316
- /// !endcond
1317
-
1318
- private:
1319
- mutable std::string _message;
1320
- };
1321
-
1322
- class TypeError : public Error {
1323
- public:
1324
- static TypeError New(napi_env env, const char* message);
1325
- static TypeError New(napi_env env, const std::string& message);
1326
-
1327
- TypeError();
1328
- TypeError(napi_env env, napi_value value);
1329
- };
1330
-
1331
- class RangeError : public Error {
1332
- public:
1333
- static RangeError New(napi_env env, const char* message);
1334
- static RangeError New(napi_env env, const std::string& message);
1335
-
1336
- RangeError();
1337
- RangeError(napi_env env, napi_value value);
1338
- };
1339
-
1340
- class CallbackInfo {
1341
- public:
1342
- CallbackInfo(napi_env env, napi_callback_info info);
1343
- ~CallbackInfo();
1344
-
1345
- // Disallow copying to prevent multiple free of _dynamicArgs
1346
- CallbackInfo(CallbackInfo const &) = delete;
1347
- void operator=(CallbackInfo const &) = delete;
1348
-
1349
- Napi::Env Env() const;
1350
- Value NewTarget() const;
1351
- bool IsConstructCall() const;
1352
- size_t Length() const;
1353
- const Value operator [](size_t index) const;
1354
- Value This() const;
1355
- void* Data() const;
1356
- void SetData(void* data);
1357
-
1358
- private:
1359
- const size_t _staticArgCount = 6;
1360
- napi_env _env;
1361
- napi_callback_info _info;
1362
- napi_value _this;
1363
- size_t _argc;
1364
- napi_value* _argv;
1365
- napi_value _staticArgs[6];
1366
- napi_value* _dynamicArgs;
1367
- void* _data;
1368
- };
1369
-
1370
- class PropertyDescriptor {
1371
- public:
1372
- #ifndef NODE_ADDON_API_DISABLE_DEPRECATED
1373
- template <typename Getter>
1374
- static PropertyDescriptor Accessor(const char* utf8name,
1375
- Getter getter,
1376
- napi_property_attributes attributes = napi_default,
1377
- void* data = nullptr);
1378
- template <typename Getter>
1379
- static PropertyDescriptor Accessor(const std::string& utf8name,
1380
- Getter getter,
1381
- napi_property_attributes attributes = napi_default,
1382
- void* data = nullptr);
1383
- template <typename Getter>
1384
- static PropertyDescriptor Accessor(napi_value name,
1385
- Getter getter,
1386
- napi_property_attributes attributes = napi_default,
1387
- void* data = nullptr);
1388
- template <typename Getter>
1389
- static PropertyDescriptor Accessor(Name name,
1390
- Getter getter,
1391
- napi_property_attributes attributes = napi_default,
1392
- void* data = nullptr);
1393
- template <typename Getter, typename Setter>
1394
- static PropertyDescriptor Accessor(const char* utf8name,
1395
- Getter getter,
1396
- Setter setter,
1397
- napi_property_attributes attributes = napi_default,
1398
- void* data = nullptr);
1399
- template <typename Getter, typename Setter>
1400
- static PropertyDescriptor Accessor(const std::string& utf8name,
1401
- Getter getter,
1402
- Setter setter,
1403
- napi_property_attributes attributes = napi_default,
1404
- void* data = nullptr);
1405
- template <typename Getter, typename Setter>
1406
- static PropertyDescriptor Accessor(napi_value name,
1407
- Getter getter,
1408
- Setter setter,
1409
- napi_property_attributes attributes = napi_default,
1410
- void* data = nullptr);
1411
- template <typename Getter, typename Setter>
1412
- static PropertyDescriptor Accessor(Name name,
1413
- Getter getter,
1414
- Setter setter,
1415
- napi_property_attributes attributes = napi_default,
1416
- void* data = nullptr);
1417
- template <typename Callable>
1418
- static PropertyDescriptor Function(const char* utf8name,
1419
- Callable cb,
1420
- napi_property_attributes attributes = napi_default,
1421
- void* data = nullptr);
1422
- template <typename Callable>
1423
- static PropertyDescriptor Function(const std::string& utf8name,
1424
- Callable cb,
1425
- napi_property_attributes attributes = napi_default,
1426
- void* data = nullptr);
1427
- template <typename Callable>
1428
- static PropertyDescriptor Function(napi_value name,
1429
- Callable cb,
1430
- napi_property_attributes attributes = napi_default,
1431
- void* data = nullptr);
1432
- template <typename Callable>
1433
- static PropertyDescriptor Function(Name name,
1434
- Callable cb,
1435
- napi_property_attributes attributes = napi_default,
1436
- void* data = nullptr);
1437
- #endif // !NODE_ADDON_API_DISABLE_DEPRECATED
1438
-
1439
- template <typename Getter>
1440
- static PropertyDescriptor Accessor(Napi::Env env,
1441
- Napi::Object object,
1442
- const char* utf8name,
1443
- Getter getter,
1444
- napi_property_attributes attributes = napi_default,
1445
- void* data = nullptr);
1446
- template <typename Getter>
1447
- static PropertyDescriptor Accessor(Napi::Env env,
1448
- Napi::Object object,
1449
- const std::string& utf8name,
1450
- Getter getter,
1451
- napi_property_attributes attributes = napi_default,
1452
- void* data = nullptr);
1453
- template <typename Getter>
1454
- static PropertyDescriptor Accessor(Napi::Env env,
1455
- Napi::Object object,
1456
- Name name,
1457
- Getter getter,
1458
- napi_property_attributes attributes = napi_default,
1459
- void* data = nullptr);
1460
- template <typename Getter, typename Setter>
1461
- static PropertyDescriptor Accessor(Napi::Env env,
1462
- Napi::Object object,
1463
- const char* utf8name,
1464
- Getter getter,
1465
- Setter setter,
1466
- napi_property_attributes attributes = napi_default,
1467
- void* data = nullptr);
1468
- template <typename Getter, typename Setter>
1469
- static PropertyDescriptor Accessor(Napi::Env env,
1470
- Napi::Object object,
1471
- const std::string& utf8name,
1472
- Getter getter,
1473
- Setter setter,
1474
- napi_property_attributes attributes = napi_default,
1475
- void* data = nullptr);
1476
- template <typename Getter, typename Setter>
1477
- static PropertyDescriptor Accessor(Napi::Env env,
1478
- Napi::Object object,
1479
- Name name,
1480
- Getter getter,
1481
- Setter setter,
1482
- napi_property_attributes attributes = napi_default,
1483
- void* data = nullptr);
1484
- template <typename Callable>
1485
- static PropertyDescriptor Function(Napi::Env env,
1486
- Napi::Object object,
1487
- const char* utf8name,
1488
- Callable cb,
1489
- napi_property_attributes attributes = napi_default,
1490
- void* data = nullptr);
1491
- template <typename Callable>
1492
- static PropertyDescriptor Function(Napi::Env env,
1493
- Napi::Object object,
1494
- const std::string& utf8name,
1495
- Callable cb,
1496
- napi_property_attributes attributes = napi_default,
1497
- void* data = nullptr);
1498
- template <typename Callable>
1499
- static PropertyDescriptor Function(Napi::Env env,
1500
- Napi::Object object,
1501
- Name name,
1502
- Callable cb,
1503
- napi_property_attributes attributes = napi_default,
1504
- void* data = nullptr);
1505
- static PropertyDescriptor Value(const char* utf8name,
1506
- napi_value value,
1507
- napi_property_attributes attributes = napi_default);
1508
- static PropertyDescriptor Value(const std::string& utf8name,
1509
- napi_value value,
1510
- napi_property_attributes attributes = napi_default);
1511
- static PropertyDescriptor Value(napi_value name,
1512
- napi_value value,
1513
- napi_property_attributes attributes = napi_default);
1514
- static PropertyDescriptor Value(Name name,
1515
- Napi::Value value,
1516
- napi_property_attributes attributes = napi_default);
1517
-
1518
- PropertyDescriptor(napi_property_descriptor desc);
1519
-
1520
- operator napi_property_descriptor&();
1521
- operator const napi_property_descriptor&() const;
1522
-
1523
- private:
1524
- napi_property_descriptor _desc;
1525
- };
1526
-
1527
- /// Property descriptor for use with `ObjectWrap::DefineClass()`.
1528
- ///
1529
- /// This is different from the standalone `PropertyDescriptor` because it is specific to each
1530
- /// `ObjectWrap<T>` subclass. This prevents using descriptors from a different class when
1531
- /// defining a new class (preventing the callbacks from having incorrect `this` pointers).
1532
- template <typename T>
1533
- class ClassPropertyDescriptor {
1534
- public:
1535
- ClassPropertyDescriptor(napi_property_descriptor desc) : _desc(desc) {}
1536
-
1537
- operator napi_property_descriptor&() { return _desc; }
1538
- operator const napi_property_descriptor&() const { return _desc; }
1539
-
1540
- private:
1541
- napi_property_descriptor _desc;
1542
- };
1543
-
1544
- /// Base class to be extended by C++ classes exposed to JavaScript; each C++ class instance gets
1545
- /// "wrapped" by a JavaScript object that is managed by this class.
1546
- ///
1547
- /// At initialization time, the `DefineClass()` method must be used to
1548
- /// hook up the accessor and method callbacks. It takes a list of
1549
- /// property descriptors, which can be constructed via the various
1550
- /// static methods on the base class.
1551
- ///
1552
- /// #### Example:
1553
- ///
1554
- /// class Example: public Napi::ObjectWrap<Example> {
1555
- /// public:
1556
- /// static void Initialize(Napi::Env& env, Napi::Object& target) {
1557
- /// Napi::Function constructor = DefineClass(env, "Example", {
1558
- /// InstanceAccessor("value", &Example::GetSomething, &Example::SetSomething),
1559
- /// InstanceMethod("doSomething", &Example::DoSomething),
1560
- /// });
1561
- /// target.Set("Example", constructor);
1562
- /// }
1563
- ///
1564
- /// Example(const Napi::CallbackInfo& info); // Constructor
1565
- /// Napi::Value GetSomething(const Napi::CallbackInfo& info);
1566
- /// void SetSomething(const Napi::CallbackInfo& info, const Napi::Value& value);
1567
- /// Napi::Value DoSomething(const Napi::CallbackInfo& info);
1568
- /// }
1569
- template <typename T>
1570
- class ObjectWrap : public Reference<Object> {
1571
- public:
1572
- ObjectWrap(const CallbackInfo& callbackInfo);
1573
-
1574
- static T* Unwrap(Object wrapper);
1575
-
1576
- // Methods exposed to JavaScript must conform to one of these callback signatures.
1577
- typedef void (*StaticVoidMethodCallback)(const CallbackInfo& info);
1578
- typedef Napi::Value (*StaticMethodCallback)(const CallbackInfo& info);
1579
- typedef Napi::Value (*StaticGetterCallback)(const CallbackInfo& info);
1580
- typedef void (*StaticSetterCallback)(const CallbackInfo& info, const Napi::Value& value);
1581
- typedef void (T::*InstanceVoidMethodCallback)(const CallbackInfo& info);
1582
- typedef Napi::Value (T::*InstanceMethodCallback)(const CallbackInfo& info);
1583
- typedef Napi::Value (T::*InstanceGetterCallback)(const CallbackInfo& info);
1584
- typedef void (T::*InstanceSetterCallback)(const CallbackInfo& info, const Napi::Value& value);
1585
-
1586
- typedef ClassPropertyDescriptor<T> PropertyDescriptor;
1587
-
1588
- static Function DefineClass(Napi::Env env,
1589
- const char* utf8name,
1590
- const std::initializer_list<PropertyDescriptor>& properties,
1591
- void* data = nullptr);
1592
- static Function DefineClass(Napi::Env env,
1593
- const char* utf8name,
1594
- const std::vector<PropertyDescriptor>& properties,
1595
- void* data = nullptr);
1596
- static PropertyDescriptor StaticMethod(const char* utf8name,
1597
- StaticVoidMethodCallback method,
1598
- napi_property_attributes attributes = napi_default,
1599
- void* data = nullptr);
1600
- static PropertyDescriptor StaticMethod(const char* utf8name,
1601
- StaticMethodCallback method,
1602
- napi_property_attributes attributes = napi_default,
1603
- void* data = nullptr);
1604
- static PropertyDescriptor StaticMethod(Symbol name,
1605
- StaticVoidMethodCallback method,
1606
- napi_property_attributes attributes = napi_default,
1607
- void* data = nullptr);
1608
- static PropertyDescriptor StaticMethod(Symbol name,
1609
- StaticMethodCallback method,
1610
- napi_property_attributes attributes = napi_default,
1611
- void* data = nullptr);
1612
- static PropertyDescriptor StaticAccessor(const char* utf8name,
1613
- StaticGetterCallback getter,
1614
- StaticSetterCallback setter,
1615
- napi_property_attributes attributes = napi_default,
1616
- void* data = nullptr);
1617
- static PropertyDescriptor StaticAccessor(Symbol name,
1618
- StaticGetterCallback getter,
1619
- StaticSetterCallback setter,
1620
- napi_property_attributes attributes = napi_default,
1621
- void* data = nullptr);
1622
- static PropertyDescriptor InstanceMethod(const char* utf8name,
1623
- InstanceVoidMethodCallback method,
1624
- napi_property_attributes attributes = napi_default,
1625
- void* data = nullptr);
1626
- static PropertyDescriptor InstanceMethod(const char* utf8name,
1627
- InstanceMethodCallback method,
1628
- napi_property_attributes attributes = napi_default,
1629
- void* data = nullptr);
1630
- static PropertyDescriptor InstanceMethod(Symbol name,
1631
- InstanceVoidMethodCallback method,
1632
- napi_property_attributes attributes = napi_default,
1633
- void* data = nullptr);
1634
- static PropertyDescriptor InstanceMethod(Symbol name,
1635
- InstanceMethodCallback method,
1636
- napi_property_attributes attributes = napi_default,
1637
- void* data = nullptr);
1638
- static PropertyDescriptor InstanceAccessor(const char* utf8name,
1639
- InstanceGetterCallback getter,
1640
- InstanceSetterCallback setter,
1641
- napi_property_attributes attributes = napi_default,
1642
- void* data = nullptr);
1643
- static PropertyDescriptor InstanceAccessor(Symbol name,
1644
- InstanceGetterCallback getter,
1645
- InstanceSetterCallback setter,
1646
- napi_property_attributes attributes = napi_default,
1647
- void* data = nullptr);
1648
- static PropertyDescriptor StaticValue(const char* utf8name,
1649
- Napi::Value value,
1650
- napi_property_attributes attributes = napi_default);
1651
- static PropertyDescriptor StaticValue(Symbol name,
1652
- Napi::Value value,
1653
- napi_property_attributes attributes = napi_default);
1654
- static PropertyDescriptor InstanceValue(const char* utf8name,
1655
- Napi::Value value,
1656
- napi_property_attributes attributes = napi_default);
1657
- static PropertyDescriptor InstanceValue(Symbol name,
1658
- Napi::Value value,
1659
- napi_property_attributes attributes = napi_default);
1660
-
1661
- private:
1662
- static napi_value ConstructorCallbackWrapper(napi_env env, napi_callback_info info);
1663
- static napi_value StaticVoidMethodCallbackWrapper(napi_env env, napi_callback_info info);
1664
- static napi_value StaticMethodCallbackWrapper(napi_env env, napi_callback_info info);
1665
- static napi_value StaticGetterCallbackWrapper(napi_env env, napi_callback_info info);
1666
- static napi_value StaticSetterCallbackWrapper(napi_env env, napi_callback_info info);
1667
- static napi_value InstanceVoidMethodCallbackWrapper(napi_env env, napi_callback_info info);
1668
- static napi_value InstanceMethodCallbackWrapper(napi_env env, napi_callback_info info);
1669
- static napi_value InstanceGetterCallbackWrapper(napi_env env, napi_callback_info info);
1670
- static napi_value InstanceSetterCallbackWrapper(napi_env env, napi_callback_info info);
1671
- static void FinalizeCallback(napi_env env, void* data, void* hint);
1672
- static Function DefineClass(Napi::Env env,
1673
- const char* utf8name,
1674
- const size_t props_count,
1675
- const napi_property_descriptor* props,
1676
- void* data = nullptr);
1677
-
1678
- template <typename TCallback>
1679
- struct MethodCallbackData {
1680
- TCallback callback;
1681
- void* data;
1682
- };
1683
- typedef MethodCallbackData<StaticVoidMethodCallback> StaticVoidMethodCallbackData;
1684
- typedef MethodCallbackData<StaticMethodCallback> StaticMethodCallbackData;
1685
- typedef MethodCallbackData<InstanceVoidMethodCallback> InstanceVoidMethodCallbackData;
1686
- typedef MethodCallbackData<InstanceMethodCallback> InstanceMethodCallbackData;
1687
-
1688
- template <typename TGetterCallback, typename TSetterCallback>
1689
- struct AccessorCallbackData {
1690
- TGetterCallback getterCallback;
1691
- TSetterCallback setterCallback;
1692
- void* data;
1693
- };
1694
- typedef AccessorCallbackData<StaticGetterCallback, StaticSetterCallback>
1695
- StaticAccessorCallbackData;
1696
- typedef AccessorCallbackData<InstanceGetterCallback, InstanceSetterCallback>
1697
- InstanceAccessorCallbackData;
1698
- };
1699
-
1700
- class HandleScope {
1701
- public:
1702
- HandleScope(napi_env env, napi_handle_scope scope);
1703
- explicit HandleScope(Napi::Env env);
1704
- ~HandleScope();
1705
-
1706
- operator napi_handle_scope() const;
1707
-
1708
- Napi::Env Env() const;
1709
-
1710
- private:
1711
- napi_env _env;
1712
- napi_handle_scope _scope;
1713
- };
1714
-
1715
- class EscapableHandleScope {
1716
- public:
1717
- EscapableHandleScope(napi_env env, napi_escapable_handle_scope scope);
1718
- explicit EscapableHandleScope(Napi::Env env);
1719
- ~EscapableHandleScope();
1720
-
1721
- operator napi_escapable_handle_scope() const;
1722
-
1723
- Napi::Env Env() const;
1724
- Value Escape(napi_value escapee);
1725
-
1726
- private:
1727
- napi_env _env;
1728
- napi_escapable_handle_scope _scope;
1729
- };
1730
-
1731
- #if (NAPI_VERSION > 2)
1732
- class CallbackScope {
1733
- public:
1734
- CallbackScope(napi_env env, napi_callback_scope scope);
1735
- CallbackScope(napi_env env, napi_async_context context);
1736
- virtual ~CallbackScope();
1737
-
1738
- operator napi_callback_scope() const;
1739
-
1740
- Napi::Env Env() const;
1741
-
1742
- private:
1743
- napi_env _env;
1744
- napi_callback_scope _scope;
1745
- };
1746
- #endif
1747
-
1748
- class AsyncContext {
1749
- public:
1750
- explicit AsyncContext(napi_env env, const char* resource_name);
1751
- explicit AsyncContext(napi_env env, const char* resource_name, const Object& resource);
1752
- virtual ~AsyncContext();
1753
-
1754
- AsyncContext(AsyncContext&& other);
1755
- AsyncContext& operator =(AsyncContext&& other);
1756
- AsyncContext(const AsyncContext&) = delete;
1757
- AsyncContext& operator =(AsyncContext&) = delete;
1758
-
1759
- operator napi_async_context() const;
1760
-
1761
- private:
1762
- napi_env _env;
1763
- napi_async_context _context;
1764
- };
1765
-
1766
- class AsyncWorker {
1767
- public:
1768
- virtual ~AsyncWorker();
1769
-
1770
- // An async worker can be moved but cannot be copied.
1771
- AsyncWorker(AsyncWorker&& other);
1772
- AsyncWorker& operator =(AsyncWorker&& other);
1773
- AsyncWorker(const AsyncWorker&) = delete;
1774
- AsyncWorker& operator =(AsyncWorker&) = delete;
1775
-
1776
- operator napi_async_work() const;
1777
-
1778
- Napi::Env Env() const;
1779
-
1780
- void Queue();
1781
- void Cancel();
1782
- void SuppressDestruct();
1783
-
1784
- ObjectReference& Receiver();
1785
- FunctionReference& Callback();
1786
-
1787
- protected:
1788
- explicit AsyncWorker(const Function& callback);
1789
- explicit AsyncWorker(const Function& callback,
1790
- const char* resource_name);
1791
- explicit AsyncWorker(const Function& callback,
1792
- const char* resource_name,
1793
- const Object& resource);
1794
- explicit AsyncWorker(const Object& receiver,
1795
- const Function& callback);
1796
- explicit AsyncWorker(const Object& receiver,
1797
- const Function& callback,
1798
- const char* resource_name);
1799
- explicit AsyncWorker(const Object& receiver,
1800
- const Function& callback,
1801
- const char* resource_name,
1802
- const Object& resource);
1803
-
1804
- explicit AsyncWorker(Napi::Env env);
1805
- explicit AsyncWorker(Napi::Env env,
1806
- const char* resource_name);
1807
- explicit AsyncWorker(Napi::Env env,
1808
- const char* resource_name,
1809
- const Object& resource);
1810
-
1811
- virtual void Execute() = 0;
1812
- virtual void OnOK();
1813
- virtual void OnError(const Error& e);
1814
- virtual void Destroy();
1815
- virtual std::vector<napi_value> GetResult(Napi::Env env);
1816
-
1817
- void SetError(const std::string& error);
1818
-
1819
- private:
1820
- static void OnExecute(napi_env env, void* this_pointer);
1821
- static void OnWorkComplete(napi_env env,
1822
- napi_status status,
1823
- void* this_pointer);
1824
-
1825
- napi_env _env;
1826
- napi_async_work _work;
1827
- ObjectReference _receiver;
1828
- FunctionReference _callback;
1829
- std::string _error;
1830
- bool _suppress_destruct;
1831
- };
1832
-
1833
- #if (NAPI_VERSION > 3)
1834
- class ThreadSafeFunction {
1835
- public:
1836
- // This API may only be called from the main thread.
1837
- template <typename ResourceString>
1838
- static ThreadSafeFunction New(napi_env env,
1839
- const Function& callback,
1840
- ResourceString resourceName,
1841
- size_t maxQueueSize,
1842
- size_t initialThreadCount);
1843
-
1844
- // This API may only be called from the main thread.
1845
- template <typename ResourceString, typename ContextType>
1846
- static ThreadSafeFunction New(napi_env env,
1847
- const Function& callback,
1848
- ResourceString resourceName,
1849
- size_t maxQueueSize,
1850
- size_t initialThreadCount,
1851
- ContextType* context);
1852
-
1853
- // This API may only be called from the main thread.
1854
- template <typename ResourceString, typename Finalizer>
1855
- static ThreadSafeFunction New(napi_env env,
1856
- const Function& callback,
1857
- ResourceString resourceName,
1858
- size_t maxQueueSize,
1859
- size_t initialThreadCount,
1860
- Finalizer finalizeCallback);
1861
-
1862
- // This API may only be called from the main thread.
1863
- template <typename ResourceString, typename Finalizer,
1864
- typename FinalizerDataType>
1865
- static ThreadSafeFunction New(napi_env env,
1866
- const Function& callback,
1867
- ResourceString resourceName,
1868
- size_t maxQueueSize,
1869
- size_t initialThreadCount,
1870
- Finalizer finalizeCallback,
1871
- FinalizerDataType* data);
1872
-
1873
- // This API may only be called from the main thread.
1874
- template <typename ResourceString, typename ContextType, typename Finalizer>
1875
- static ThreadSafeFunction New(napi_env env,
1876
- const Function& callback,
1877
- ResourceString resourceName,
1878
- size_t maxQueueSize,
1879
- size_t initialThreadCount,
1880
- ContextType* context,
1881
- Finalizer finalizeCallback);
1882
-
1883
- // This API may only be called from the main thread.
1884
- template <typename ResourceString, typename ContextType,
1885
- typename Finalizer, typename FinalizerDataType>
1886
- static ThreadSafeFunction New(napi_env env,
1887
- const Function& callback,
1888
- ResourceString resourceName,
1889
- size_t maxQueueSize,
1890
- size_t initialThreadCount,
1891
- ContextType* context,
1892
- Finalizer finalizeCallback,
1893
- FinalizerDataType* data);
1894
-
1895
- // This API may only be called from the main thread.
1896
- template <typename ResourceString>
1897
- static ThreadSafeFunction New(napi_env env,
1898
- const Function& callback,
1899
- const Object& resource,
1900
- ResourceString resourceName,
1901
- size_t maxQueueSize,
1902
- size_t initialThreadCount);
1903
-
1904
- // This API may only be called from the main thread.
1905
- template <typename ResourceString, typename ContextType>
1906
- static ThreadSafeFunction New(napi_env env,
1907
- const Function& callback,
1908
- const Object& resource,
1909
- ResourceString resourceName,
1910
- size_t maxQueueSize,
1911
- size_t initialThreadCount,
1912
- ContextType* context);
1913
-
1914
- // This API may only be called from the main thread.
1915
- template <typename ResourceString, typename Finalizer>
1916
- static ThreadSafeFunction New(napi_env env,
1917
- const Function& callback,
1918
- const Object& resource,
1919
- ResourceString resourceName,
1920
- size_t maxQueueSize,
1921
- size_t initialThreadCount,
1922
- Finalizer finalizeCallback);
1923
-
1924
- // This API may only be called from the main thread.
1925
- template <typename ResourceString, typename Finalizer,
1926
- typename FinalizerDataType>
1927
- static ThreadSafeFunction New(napi_env env,
1928
- const Function& callback,
1929
- const Object& resource,
1930
- ResourceString resourceName,
1931
- size_t maxQueueSize,
1932
- size_t initialThreadCount,
1933
- Finalizer finalizeCallback,
1934
- FinalizerDataType* data);
1935
-
1936
- // This API may only be called from the main thread.
1937
- template <typename ResourceString, typename ContextType, typename Finalizer>
1938
- static ThreadSafeFunction New(napi_env env,
1939
- const Function& callback,
1940
- const Object& resource,
1941
- ResourceString resourceName,
1942
- size_t maxQueueSize,
1943
- size_t initialThreadCount,
1944
- ContextType* context,
1945
- Finalizer finalizeCallback);
1946
-
1947
- // This API may only be called from the main thread.
1948
- template <typename ResourceString, typename ContextType,
1949
- typename Finalizer, typename FinalizerDataType>
1950
- static ThreadSafeFunction New(napi_env env,
1951
- const Function& callback,
1952
- const Object& resource,
1953
- ResourceString resourceName,
1954
- size_t maxQueueSize,
1955
- size_t initialThreadCount,
1956
- ContextType* context,
1957
- Finalizer finalizeCallback,
1958
- FinalizerDataType* data);
1959
-
1960
- ThreadSafeFunction();
1961
- ThreadSafeFunction(napi_threadsafe_function tsFunctionValue);
1962
-
1963
- ThreadSafeFunction(ThreadSafeFunction&& other);
1964
- ThreadSafeFunction& operator=(ThreadSafeFunction&& other);
1965
-
1966
- // This API may be called from any thread.
1967
- napi_status BlockingCall() const;
1968
-
1969
- // This API may be called from any thread.
1970
- template <typename Callback>
1971
- napi_status BlockingCall(Callback callback) const;
1972
-
1973
- // This API may be called from any thread.
1974
- template <typename DataType, typename Callback>
1975
- napi_status BlockingCall(DataType* data, Callback callback) const;
1976
-
1977
- // This API may be called from any thread.
1978
- napi_status NonBlockingCall() const;
1979
-
1980
- // This API may be called from any thread.
1981
- template <typename Callback>
1982
- napi_status NonBlockingCall(Callback callback) const;
1983
-
1984
- // This API may be called from any thread.
1985
- template <typename DataType, typename Callback>
1986
- napi_status NonBlockingCall(DataType* data, Callback callback) const;
1987
-
1988
- // This API may be called from any thread.
1989
- napi_status Acquire() const;
1990
-
1991
- // This API may be called from any thread.
1992
- napi_status Release();
1993
-
1994
- // This API may be called from any thread.
1995
- napi_status Abort();
1996
-
1997
- struct ConvertibleContext
1998
- {
1999
- template <class T>
2000
- operator T*() { return static_cast<T*>(context); }
2001
- void* context;
2002
- };
2003
-
2004
- // This API may be called from any thread.
2005
- ConvertibleContext GetContext() const;
2006
-
2007
- private:
2008
- using CallbackWrapper = std::function<void(Napi::Env, Napi::Function)>;
2009
-
2010
- template <typename ResourceString, typename ContextType,
2011
- typename Finalizer, typename FinalizerDataType>
2012
- static ThreadSafeFunction New(napi_env env,
2013
- const Function& callback,
2014
- const Object& resource,
2015
- ResourceString resourceName,
2016
- size_t maxQueueSize,
2017
- size_t initialThreadCount,
2018
- ContextType* context,
2019
- Finalizer finalizeCallback,
2020
- FinalizerDataType* data,
2021
- napi_finalize wrapper);
2022
-
2023
- napi_status CallInternal(CallbackWrapper* callbackWrapper,
2024
- napi_threadsafe_function_call_mode mode) const;
2025
-
2026
- static void CallJS(napi_env env,
2027
- napi_value jsCallback,
2028
- void* context,
2029
- void* data);
2030
-
2031
- std::unique_ptr<napi_threadsafe_function> _tsfn;
2032
- };
2033
- #endif
2034
-
2035
- // Memory management.
2036
- class MemoryManagement {
2037
- public:
2038
- static int64_t AdjustExternalMemory(Env env, int64_t change_in_bytes);
2039
- };
2040
-
2041
- // Version management
2042
- class VersionManagement {
2043
- public:
2044
- static uint32_t GetNapiVersion(Env env);
2045
- static const napi_node_version* GetNodeVersion(Env env);
2046
- };
2047
-
2048
- } // namespace Napi
2049
-
2050
- // Inline implementations of all the above class methods are included here.
2051
- #include "napi-inl.h"
2052
-
2053
- #endif // SRC_NAPI_H_