@corellium/corellium-cli 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (309) hide show
  1. package/corellium-corellium-cli-1.0.3.tgz +0 -0
  2. package/netdump.pcap +0 -0
  3. package/node_modules/@babel/cli/node_modules/commander/package.json +27 -58
  4. package/node_modules/@babel/cli/node_modules/make-dir/package.json +62 -93
  5. package/node_modules/@babel/cli/node_modules/pify/package.json +54 -85
  6. package/node_modules/@babel/cli/node_modules/semver/package.json +20 -51
  7. package/node_modules/@babel/cli/node_modules/slash/package.json +37 -68
  8. package/node_modules/@babel/cli/package.json +37 -69
  9. package/node_modules/@corellium/client-api/package.json +15 -40
  10. package/node_modules/@jridgewell/resolve-uri/package.json +40 -75
  11. package/node_modules/@jridgewell/sourcemap-codec/package.json +43 -74
  12. package/node_modules/@jridgewell/trace-mapping/package.json +40 -72
  13. package/node_modules/@mapbox/node-pre-gyp/package.json +27 -61
  14. package/node_modules/@nicolo-ribaudo/chokidar-2/package.json +22 -55
  15. package/node_modules/abbrev/package.json +18 -52
  16. package/node_modules/agent-base/package.json +33 -62
  17. package/node_modules/ansi-regex/package.json +58 -89
  18. package/node_modules/ansi-styles/package.json +59 -95
  19. package/node_modules/anymatch/package.json +28 -56
  20. package/node_modules/aproba/package.json +23 -50
  21. package/node_modules/are-we-there-yet/node_modules/readable-stream/package.json +32 -60
  22. package/node_modules/are-we-there-yet/package.json +32 -62
  23. package/node_modules/ascii-art/package.json +51 -83
  24. package/node_modules/ascii-art-ansi/package.json +30 -61
  25. package/node_modules/ascii-art-braille/package.json +7 -32
  26. package/node_modules/ascii-art-font/package.json +17 -47
  27. package/node_modules/ascii-art-graph/package.json +10 -34
  28. package/node_modules/ascii-art-image/node_modules/ascii-art-braille/package.json +7 -32
  29. package/node_modules/ascii-art-image/package.json +11 -36
  30. package/node_modules/ascii-art-table/package.json +10 -35
  31. package/node_modules/ascii-art-utf/package.json +18 -47
  32. package/node_modules/async/package.json +29 -55
  33. package/node_modules/async-arrays/package.json +34 -62
  34. package/node_modules/asynckit/package.json +45 -74
  35. package/node_modules/axios/package.json +46 -72
  36. package/node_modules/balanced-match/package.json +22 -49
  37. package/node_modules/binary-extensions/package.json +41 -73
  38. package/node_modules/brace-expansion/package.json +23 -50
  39. package/node_modules/braces/package.json +30 -76
  40. package/node_modules/call-bind/package.json +83 -125
  41. package/node_modules/canvas/build/Release/.deps/Release/canvas.node.d +1 -1
  42. package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/Backends.o.d +362 -368
  43. package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/Canvas.o.d +365 -375
  44. package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/CanvasGradient.o.d +351 -353
  45. package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/CanvasPattern.o.d +682 -698
  46. package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/CanvasRenderingContext2d.o.d +690 -702
  47. package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/Image.o.d +684 -697
  48. package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/ImageData.o.d +50 -45
  49. package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/backend/Backend.o.d +59 -53
  50. package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/backend/ImageBackend.o.d +59 -54
  51. package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/backend/PdfBackend.o.d +363 -369
  52. package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/backend/SvgBackend.o.d +363 -369
  53. package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/bmp/BMPParser.o.d +2 -2
  54. package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/closure.o.d +357 -364
  55. package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/color.o.d +1 -1
  56. package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/init.o.d +715 -729
  57. package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/register_font.o.d +345 -346
  58. package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas.node.d +1 -0
  59. package/node_modules/canvas/build/Release/canvas.node +0 -0
  60. package/node_modules/canvas/build/Release/libcairo-gobject.so.2 +0 -0
  61. package/node_modules/canvas/build/Release/libcairo.so.2 +0 -0
  62. package/node_modules/canvas/build/Release/libexpat.so.1 +0 -0
  63. package/node_modules/canvas/build/Release/libffi.so.7 +0 -0
  64. package/node_modules/canvas/build/Release/libfontconfig.so.1 +0 -0
  65. package/node_modules/canvas/build/Release/libfreetype.so.6 +0 -0
  66. package/node_modules/canvas/build/Release/libfribidi.so.0 +0 -0
  67. package/node_modules/canvas/build/Release/libgdk_pixbuf-2.0.so.0 +0 -0
  68. package/node_modules/canvas/build/Release/libgif.so.7 +0 -0
  69. package/node_modules/canvas/build/Release/libgio-2.0.so.0 +0 -0
  70. package/node_modules/canvas/build/Release/libglib-2.0.so.0 +0 -0
  71. package/node_modules/canvas/build/Release/libgmodule-2.0.so.0 +0 -0
  72. package/node_modules/canvas/build/Release/libgobject-2.0.so.0 +0 -0
  73. package/node_modules/canvas/build/Release/{librsvg-2.2.dylib → libharfbuzz.so.0} +0 -0
  74. package/node_modules/canvas/build/Release/libjpeg.so.62 +0 -0
  75. package/node_modules/canvas/build/Release/libpango-1.0.so.0 +0 -0
  76. package/node_modules/canvas/build/Release/libpangocairo-1.0.so.0 +0 -0
  77. package/node_modules/canvas/build/Release/libpangoft2-1.0.so.0 +0 -0
  78. package/node_modules/canvas/build/Release/libpcre.so.1 +0 -0
  79. package/node_modules/canvas/build/Release/libpixman-1.so.0 +0 -0
  80. package/node_modules/canvas/build/Release/libpng16.so.16 +0 -0
  81. package/node_modules/canvas/build/Release/librsvg-2.so.2 +0 -0
  82. package/node_modules/canvas/build/Release/libstdc++.so.6 +0 -0
  83. package/node_modules/canvas/build/Release/libxml2.so.2 +0 -0
  84. package/node_modules/canvas/build/Release/libz.so.1 +0 -0
  85. package/node_modules/canvas/build/Release/obj.target/canvas/src/Backends.o +0 -0
  86. package/node_modules/canvas/build/Release/obj.target/canvas/src/Canvas.o +0 -0
  87. package/node_modules/canvas/build/Release/obj.target/canvas/src/CanvasGradient.o +0 -0
  88. package/node_modules/canvas/build/Release/obj.target/canvas/src/CanvasPattern.o +0 -0
  89. package/node_modules/canvas/build/Release/obj.target/canvas/src/CanvasRenderingContext2d.o +0 -0
  90. package/node_modules/canvas/build/Release/obj.target/canvas/src/Image.o +0 -0
  91. package/node_modules/canvas/build/Release/obj.target/canvas/src/ImageData.o +0 -0
  92. package/node_modules/canvas/build/Release/obj.target/canvas/src/backend/Backend.o +0 -0
  93. package/node_modules/canvas/build/Release/obj.target/canvas/src/backend/ImageBackend.o +0 -0
  94. package/node_modules/canvas/build/Release/obj.target/canvas/src/backend/PdfBackend.o +0 -0
  95. package/node_modules/canvas/build/Release/obj.target/canvas/src/backend/SvgBackend.o +0 -0
  96. package/node_modules/canvas/build/Release/obj.target/canvas/src/bmp/BMPParser.o +0 -0
  97. package/node_modules/canvas/build/Release/obj.target/canvas/src/closure.o +0 -0
  98. package/node_modules/canvas/build/Release/obj.target/canvas/src/color.o +0 -0
  99. package/node_modules/canvas/build/Release/obj.target/canvas/src/init.o +0 -0
  100. package/node_modules/canvas/build/Release/obj.target/canvas/src/register_font.o +0 -0
  101. package/node_modules/canvas/build/Release/obj.target/canvas.node +0 -0
  102. package/node_modules/canvas/package.json +43 -86
  103. package/node_modules/chokidar/package.json +40 -74
  104. package/node_modules/chownr/package.json +24 -56
  105. package/node_modules/cli/package.json +23 -70
  106. package/node_modules/cliui/package.json +53 -87
  107. package/node_modules/color/node_modules/color-convert/package.json +26 -60
  108. package/node_modules/color/node_modules/color-name/package.json +18 -45
  109. package/node_modules/color/package.json +26 -57
  110. package/node_modules/color-convert/package.json +25 -59
  111. package/node_modules/color-difference/package.json +26 -52
  112. package/node_modules/color-model/package.json +17 -44
  113. package/node_modules/color-name/package.json +32 -60
  114. package/node_modules/color-string/package.json +26 -67
  115. package/node_modules/color-support/package.json +26 -60
  116. package/node_modules/combined-stream/package.json +19 -52
  117. package/node_modules/component-emitter/package.json +17 -45
  118. package/node_modules/concat-map/package.json +45 -89
  119. package/node_modules/console-control-strings/package.json +22 -55
  120. package/node_modules/convert-source-map/package.json +28 -55
  121. package/node_modules/cookiejar/package.json +16 -44
  122. package/node_modules/core-util-is/package.json +21 -51
  123. package/node_modules/d3/package.json +43 -70
  124. package/node_modules/d3-array/package.json +24 -55
  125. package/node_modules/d3-axis/package.json +27 -54
  126. package/node_modules/d3-brush/package.json +33 -60
  127. package/node_modules/d3-chord/package.json +28 -55
  128. package/node_modules/d3-collection/package.json +25 -54
  129. package/node_modules/d3-color/package.json +28 -58
  130. package/node_modules/d3-contour/package.json +27 -54
  131. package/node_modules/d3-dispatch/package.json +28 -60
  132. package/node_modules/d3-drag/package.json +32 -61
  133. package/node_modules/d3-dsv/node_modules/commander/package.json +25 -56
  134. package/node_modules/d3-dsv/package.json +36 -64
  135. package/node_modules/d3-ease/package.json +28 -56
  136. package/node_modules/d3-fetch/package.json +31 -58
  137. package/node_modules/d3-force/package.json +30 -57
  138. package/node_modules/d3-format/package.json +29 -57
  139. package/node_modules/d3-geo/package.json +35 -62
  140. package/node_modules/d3-hierarchy/package.json +33 -60
  141. package/node_modules/d3-interpolate/package.json +31 -63
  142. package/node_modules/d3-path/package.json +28 -57
  143. package/node_modules/d3-polygon/package.json +28 -55
  144. package/node_modules/d3-quadtree/package.json +29 -57
  145. package/node_modules/d3-random/package.json +26 -53
  146. package/node_modules/d3-scale/package.json +29 -56
  147. package/node_modules/d3-scale-chromatic/package.json +33 -60
  148. package/node_modules/d3-selection/package.json +29 -60
  149. package/node_modules/d3-shape/package.json +32 -59
  150. package/node_modules/d3-time/package.json +28 -57
  151. package/node_modules/d3-time-format/package.json +33 -61
  152. package/node_modules/d3-timer/package.json +28 -57
  153. package/node_modules/d3-transition/package.json +35 -64
  154. package/node_modules/d3-voronoi/package.json +24 -51
  155. package/node_modules/d3-zoom/package.json +34 -61
  156. package/node_modules/debug/package.json +37 -87
  157. package/node_modules/decompress-response/package.json +53 -84
  158. package/node_modules/delayed-stream/package.json +19 -53
  159. package/node_modules/delegates/package.json +11 -45
  160. package/node_modules/detect-libc/package.json +26 -60
  161. package/node_modules/dirname-shim/package.json +26 -60
  162. package/node_modules/dotenv/package.json +37 -64
  163. package/node_modules/duplexer/package.json +18 -49
  164. package/node_modules/emoji-regex/package.json +32 -58
  165. package/node_modules/escalade/package.json +28 -59
  166. package/node_modules/extended-emitter/package.json +37 -65
  167. package/node_modules/fast-safe-stringify/package.json +33 -73
  168. package/node_modules/fill-range/package.json +28 -72
  169. package/node_modules/follow-redirects/package.json +42 -77
  170. package/node_modules/form-data/package.json +42 -74
  171. package/node_modules/formidable/package.json +22 -52
  172. package/node_modules/fs-minipass/package.json +24 -52
  173. package/node_modules/fs-readdir-recursive/package.json +20 -50
  174. package/node_modules/fs.realpath/package.json +21 -53
  175. package/node_modules/fsevents/package.json +38 -63
  176. package/node_modules/ftp-response-parser/node_modules/isarray/package.json +22 -54
  177. package/node_modules/ftp-response-parser/node_modules/readable-stream/package.json +22 -55
  178. package/node_modules/ftp-response-parser/node_modules/string_decoder/package.json +17 -45
  179. package/node_modules/ftp-response-parser/package.json +23 -64
  180. package/node_modules/function-bind/package.json +28 -61
  181. package/node_modules/gauge/package.json +25 -52
  182. package/node_modules/generate-password/package.json +28 -54
  183. package/node_modules/get-caller-file/package.json +27 -53
  184. package/node_modules/get-intrinsic/package.json +91 -124
  185. package/node_modules/glob/package.json +34 -68
  186. package/node_modules/glob-parent/package.json +27 -70
  187. package/node_modules/has/package.json +26 -55
  188. package/node_modules/has-symbols/package.json +104 -133
  189. package/node_modules/has-unicode/package.json +25 -52
  190. package/node_modules/https-proxy-agent/package.json +30 -59
  191. package/node_modules/iconv-lite/package.json +48 -77
  192. package/node_modules/inflight/package.json +20 -48
  193. package/node_modules/inherits/package.json +17 -54
  194. package/node_modules/is-binary-path/package.json +43 -75
  195. package/node_modules/is-extglob/package.json +22 -52
  196. package/node_modules/is-fullwidth-code-point/package.json +45 -79
  197. package/node_modules/is-glob/package.json +26 -68
  198. package/node_modules/is-number/package.json +26 -65
  199. package/node_modules/jsftp/node_modules/debug/package.json +28 -67
  200. package/node_modules/jsftp/package.json +22 -59
  201. package/node_modules/json2csv/node_modules/commander/package.json +25 -56
  202. package/node_modules/json2csv/package.json +37 -64
  203. package/node_modules/jsonparse/package.json +18 -53
  204. package/node_modules/lodash/package.json +15 -61
  205. package/node_modules/lodash.get/package.json +16 -67
  206. package/node_modules/lru-cache/package.json +27 -61
  207. package/node_modules/make-dir/node_modules/semver/package.json +20 -51
  208. package/node_modules/make-dir/package.json +62 -93
  209. package/node_modules/maplex/package.json +22 -54
  210. package/node_modules/methods/package.json +22 -64
  211. package/node_modules/mime/package.json +20 -48
  212. package/node_modules/mime-db/package.json +25 -67
  213. package/node_modules/mime-types/package.json +20 -64
  214. package/node_modules/mimic-response/package.json +45 -76
  215. package/node_modules/minimatch/package.json +25 -61
  216. package/node_modules/minipass/package.json +30 -64
  217. package/node_modules/minizlib/package.json +27 -59
  218. package/node_modules/mkdirp/package.json +27 -57
  219. package/node_modules/ms/package.json +24 -58
  220. package/node_modules/multi-progress/package.json +20 -46
  221. package/node_modules/nan/package.json +27 -87
  222. package/node_modules/node-fetch/package.json +77 -104
  223. package/node_modules/nopt/package.json +22 -54
  224. package/node_modules/normalize-path/package.json +25 -63
  225. package/node_modules/npmlog/package.json +23 -55
  226. package/node_modules/object-assign/package.json +20 -51
  227. package/node_modules/object-inspect/package.json +53 -81
  228. package/node_modules/once/package.json +19 -56
  229. package/node_modules/parse-listing/package.json +27 -56
  230. package/node_modules/path-is-absolute/package.json +16 -47
  231. package/node_modules/picomatch/package.json +28 -60
  232. package/node_modules/progress/package.json +21 -65
  233. package/node_modules/qs/package.json +78 -105
  234. package/node_modules/readdirp/package.json +47 -83
  235. package/node_modules/require-directory/package.json +29 -57
  236. package/node_modules/rimraf/package.json +23 -61
  237. package/node_modules/rw/package.json +19 -46
  238. package/node_modules/safe-buffer/package.json +10 -38
  239. package/node_modules/safer-buffer/package.json +18 -43
  240. package/node_modules/semver/package.json +36 -70
  241. package/node_modules/set-blocking/package.json +29 -56
  242. package/node_modules/side-channel/package.json +70 -98
  243. package/node_modules/sift/package.json +30 -62
  244. package/node_modules/signal-exit/package.json +29 -58
  245. package/node_modules/simple-concat/package.json +22 -46
  246. package/node_modules/simple-get/package.json +9 -33
  247. package/node_modules/simple-swizzle/node_modules/is-arrayish/package.json +28 -59
  248. package/node_modules/simple-swizzle/package.json +23 -57
  249. package/node_modules/strangler/package.json +39 -67
  250. package/node_modules/stream-combiner/package.json +15 -48
  251. package/node_modules/string-tools/package.json +16 -50
  252. package/node_modules/string-width/package.json +59 -97
  253. package/node_modules/string_decoder/package.json +18 -47
  254. package/node_modules/strip-ansi/package.json +57 -94
  255. package/node_modules/superagent/node_modules/form-data/package.json +42 -74
  256. package/node_modules/superagent/node_modules/readable-stream/package.json +32 -60
  257. package/node_modules/superagent/package.json +13 -59
  258. package/node_modules/tar/package.json +27 -59
  259. package/node_modules/through/package.json +17 -50
  260. package/node_modules/to-regex-range/package.json +25 -61
  261. package/node_modules/tr46/package.json +24 -51
  262. package/node_modules/unorm/package.json +34 -75
  263. package/node_modules/util-deprecate/package.json +19 -49
  264. package/node_modules/uuid/package.json +74 -102
  265. package/node_modules/webidl-conversions/package.json +18 -53
  266. package/node_modules/whatwg-url/package.json +15 -49
  267. package/node_modules/wide-align/package.json +21 -53
  268. package/node_modules/wolfy87-eventemitter/package.json +25 -49
  269. package/node_modules/wrap-ansi/package.json +65 -97
  270. package/node_modules/wrappy/package.json +21 -50
  271. package/node_modules/y18n/package.json +43 -73
  272. package/node_modules/yallist/package.json +20 -55
  273. package/node_modules/yargs/package.json +72 -99
  274. package/node_modules/yargs-parser/package.json +52 -83
  275. package/package.json +1 -1
  276. package/src/clients/Client.js +8 -1
  277. package/src/clients/Instance.js +2 -10
  278. package/src/commands/instances/netmon/download.js +1 -2
  279. package/t.log +0 -0
  280. package/node_modules/canvas/build/Release/libX11.6.dylib +0 -0
  281. package/node_modules/canvas/build/Release/libXau.6.dylib +0 -0
  282. package/node_modules/canvas/build/Release/libXdmcp.6.dylib +0 -0
  283. package/node_modules/canvas/build/Release/libXext.6.dylib +0 -0
  284. package/node_modules/canvas/build/Release/libXrender.1.dylib +0 -0
  285. package/node_modules/canvas/build/Release/libcairo-gobject.2.dylib +0 -0
  286. package/node_modules/canvas/build/Release/libcairo.2.dylib +0 -0
  287. package/node_modules/canvas/build/Release/libffi.8.dylib +0 -0
  288. package/node_modules/canvas/build/Release/libfontconfig.1.dylib +0 -0
  289. package/node_modules/canvas/build/Release/libfreetype.6.dylib +0 -0
  290. package/node_modules/canvas/build/Release/libfribidi.0.dylib +0 -0
  291. package/node_modules/canvas/build/Release/libgdk_pixbuf-2.0.0.dylib +0 -0
  292. package/node_modules/canvas/build/Release/libgif.7.2.0.dylib +0 -0
  293. package/node_modules/canvas/build/Release/libgio-2.0.0.dylib +0 -0
  294. package/node_modules/canvas/build/Release/libglib-2.0.0.dylib +0 -0
  295. package/node_modules/canvas/build/Release/libgmodule-2.0.0.dylib +0 -0
  296. package/node_modules/canvas/build/Release/libgobject-2.0.0.dylib +0 -0
  297. package/node_modules/canvas/build/Release/libgraphite2.3.2.1.dylib +0 -0
  298. package/node_modules/canvas/build/Release/libharfbuzz.0.dylib +0 -0
  299. package/node_modules/canvas/build/Release/libintl.8.dylib +0 -0
  300. package/node_modules/canvas/build/Release/libjpeg.9.dylib +0 -0
  301. package/node_modules/canvas/build/Release/libpango-1.0.0.dylib +0 -0
  302. package/node_modules/canvas/build/Release/libpangocairo-1.0.0.dylib +0 -0
  303. package/node_modules/canvas/build/Release/libpangoft2-1.0.0.dylib +0 -0
  304. package/node_modules/canvas/build/Release/libpcre.1.dylib +0 -0
  305. package/node_modules/canvas/build/Release/libpixman-1.0.40.0.dylib +0 -0
  306. package/node_modules/canvas/build/Release/libpng16.16.dylib +0 -0
  307. package/node_modules/canvas/build/Release/libxcb-render.0.0.0.dylib +0 -0
  308. package/node_modules/canvas/build/Release/libxcb-shm.0.0.0.dylib +0 -0
  309. package/node_modules/canvas/build/Release/libxcb.1.1.0.dylib +0 -0
@@ -1,41 +1,57 @@
1
1
  {
2
- "_args": [
3
- [
4
- "yargs@17.5.1",
5
- "/Users/haydenbleasel/GitHub/corellium-cli"
2
+ "name": "yargs",
3
+ "version": "17.5.1",
4
+ "description": "yargs the modern, pirate-themed, successor to optimist.",
5
+ "main": "./index.cjs",
6
+ "exports": {
7
+ "./package.json": "./package.json",
8
+ ".": [
9
+ {
10
+ "import": "./index.mjs",
11
+ "require": "./index.cjs"
12
+ },
13
+ "./index.cjs"
14
+ ],
15
+ "./helpers": {
16
+ "import": "./helpers/helpers.mjs",
17
+ "require": "./helpers/index.js"
18
+ },
19
+ "./browser": {
20
+ "import": "./browser.mjs",
21
+ "types": "./browser.d.ts"
22
+ },
23
+ "./yargs": [
24
+ {
25
+ "import": "./yargs.mjs",
26
+ "require": "./yargs"
27
+ },
28
+ "./yargs"
6
29
  ]
7
- ],
8
- "_from": "yargs@17.5.1",
9
- "_id": "yargs@17.5.1",
10
- "_inBundle": false,
11
- "_integrity": "sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA==",
12
- "_location": "/yargs",
13
- "_phantomChildren": {},
14
- "_requested": {
15
- "type": "version",
16
- "registry": true,
17
- "raw": "yargs@17.5.1",
18
- "name": "yargs",
19
- "escapedName": "yargs",
20
- "rawSpec": "17.5.1",
21
- "saveSpec": null,
22
- "fetchSpec": "17.5.1"
23
- },
24
- "_requiredBy": [
25
- "/"
26
- ],
27
- "_resolved": "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz",
28
- "_spec": "17.5.1",
29
- "_where": "/Users/haydenbleasel/GitHub/corellium-cli",
30
- "bugs": {
31
- "url": "https://github.com/yargs/yargs/issues"
32
30
  },
31
+ "type": "module",
32
+ "module": "./index.mjs",
33
33
  "contributors": [
34
34
  {
35
35
  "name": "Yargs Contributors",
36
36
  "url": "https://github.com/yargs/yargs/graphs/contributors"
37
37
  }
38
38
  ],
39
+ "files": [
40
+ "browser.mjs",
41
+ "browser.d.ts",
42
+ "index.cjs",
43
+ "helpers/*.js",
44
+ "helpers/*",
45
+ "index.mjs",
46
+ "yargs",
47
+ "yargs.mjs",
48
+ "build",
49
+ "locales",
50
+ "LICENSE",
51
+ "lib/platform-shims/*.mjs",
52
+ "!*.d.ts",
53
+ "!**/*.d.ts"
54
+ ],
39
55
  "dependencies": {
40
56
  "cliui": "^7.0.2",
41
57
  "escalade": "^3.1.1",
@@ -45,7 +61,6 @@
45
61
  "y18n": "^5.0.5",
46
62
  "yargs-parser": "^21.0.0"
47
63
  },
48
- "description": "yargs the modern, pirate-themed, successor to optimist.",
49
64
  "devDependencies": {
50
65
  "@types/chai": "^4.2.11",
51
66
  "@types/mocha": "^9.0.0",
@@ -70,50 +85,27 @@
70
85
  "which": "^2.0.0",
71
86
  "yargs-test-extends": "^1.0.1"
72
87
  },
73
- "engines": {
74
- "node": ">=12"
88
+ "scripts": {
89
+ "fix": "gts fix && npm run fix:js",
90
+ "fix:js": "eslint . --ext cjs --ext mjs --ext js --fix",
91
+ "posttest": "npm run check",
92
+ "test": "c8 mocha --enable-source-maps ./test/*.cjs --require ./test/before.cjs --timeout=12000 --check-leaks",
93
+ "test:esm": "c8 mocha --enable-source-maps ./test/esm/*.mjs --check-leaks",
94
+ "coverage": "c8 report --check-coverage",
95
+ "prepare": "npm run compile",
96
+ "pretest": "npm run compile -- -p tsconfig.test.json && cross-env NODE_ENV=test npm run build:cjs",
97
+ "compile": "rimraf build && tsc",
98
+ "postcompile": "npm run build:cjs",
99
+ "build:cjs": "rollup -c rollup.config.cjs",
100
+ "postbuild:cjs": "rimraf ./build/index.cjs.d.ts",
101
+ "check": "gts lint && npm run check:js",
102
+ "check:js": "eslint . --ext cjs --ext mjs --ext js",
103
+ "clean": "gts clean"
75
104
  },
76
- "exports": {
77
- "./package.json": "./package.json",
78
- ".": [
79
- {
80
- "import": "./index.mjs",
81
- "require": "./index.cjs"
82
- },
83
- "./index.cjs"
84
- ],
85
- "./helpers": {
86
- "import": "./helpers/helpers.mjs",
87
- "require": "./helpers/index.js"
88
- },
89
- "./browser": {
90
- "import": "./browser.mjs",
91
- "types": "./browser.d.ts"
92
- },
93
- "./yargs": [
94
- {
95
- "import": "./yargs.mjs",
96
- "require": "./yargs"
97
- },
98
- "./yargs"
99
- ]
105
+ "repository": {
106
+ "type": "git",
107
+ "url": "https://github.com/yargs/yargs.git"
100
108
  },
101
- "files": [
102
- "browser.mjs",
103
- "browser.d.ts",
104
- "index.cjs",
105
- "helpers/*.js",
106
- "helpers/*",
107
- "index.mjs",
108
- "yargs",
109
- "yargs.mjs",
110
- "build",
111
- "locales",
112
- "LICENSE",
113
- "lib/platform-shims/*.mjs",
114
- "!*.d.ts",
115
- "!**/*.d.ts"
116
- ],
117
109
  "homepage": "https://yargs.js.org/",
118
110
  "keywords": [
119
111
  "argument",
@@ -125,30 +117,11 @@
125
117
  "command"
126
118
  ],
127
119
  "license": "MIT",
128
- "main": "./index.cjs",
129
- "module": "./index.mjs",
130
- "name": "yargs",
131
- "repository": {
132
- "type": "git",
133
- "url": "git+https://github.com/yargs/yargs.git"
134
- },
135
- "scripts": {
136
- "build:cjs": "rollup -c rollup.config.cjs",
137
- "check": "gts lint && npm run check:js",
138
- "check:js": "eslint . --ext cjs --ext mjs --ext js",
139
- "clean": "gts clean",
140
- "compile": "rimraf build && tsc",
141
- "coverage": "c8 report --check-coverage",
142
- "fix": "gts fix && npm run fix:js",
143
- "fix:js": "eslint . --ext cjs --ext mjs --ext js --fix",
144
- "postbuild:cjs": "rimraf ./build/index.cjs.d.ts",
145
- "postcompile": "npm run build:cjs",
146
- "posttest": "npm run check",
147
- "prepare": "npm run compile",
148
- "pretest": "npm run compile -- -p tsconfig.test.json && cross-env NODE_ENV=test npm run build:cjs",
149
- "test": "c8 mocha --enable-source-maps ./test/*.cjs --require ./test/before.cjs --timeout=12000 --check-leaks",
150
- "test:esm": "c8 mocha --enable-source-maps ./test/esm/*.mjs --check-leaks"
151
- },
152
- "type": "module",
153
- "version": "17.5.1"
154
- }
120
+ "engines": {
121
+ "node": ">=12"
122
+ }
123
+
124
+ ,"_resolved": "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz"
125
+ ,"_integrity": "sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA=="
126
+ ,"_from": "yargs@17.5.1"
127
+ }
@@ -1,40 +1,52 @@
1
1
  {
2
- "_args": [
3
- [
4
- "yargs-parser@21.0.1",
5
- "/Users/haydenbleasel/GitHub/corellium-cli"
2
+ "name": "yargs-parser",
3
+ "version": "21.0.1",
4
+ "description": "the mighty option parser used by yargs",
5
+ "main": "build/index.cjs",
6
+ "exports": {
7
+ ".": [
8
+ {
9
+ "import": "./build/lib/index.js",
10
+ "require": "./build/index.cjs"
11
+ },
12
+ "./build/index.cjs"
6
13
  ]
7
- ],
8
- "_from": "yargs-parser@21.0.1",
9
- "_id": "yargs-parser@21.0.1",
10
- "_inBundle": false,
11
- "_integrity": "sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg==",
12
- "_location": "/yargs-parser",
13
- "_phantomChildren": {},
14
- "_requested": {
15
- "type": "version",
16
- "registry": true,
17
- "raw": "yargs-parser@21.0.1",
18
- "name": "yargs-parser",
19
- "escapedName": "yargs-parser",
20
- "rawSpec": "21.0.1",
21
- "saveSpec": null,
22
- "fetchSpec": "21.0.1"
23
14
  },
24
- "_requiredBy": [
25
- "/yargs"
26
- ],
27
- "_resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.0.1.tgz",
28
- "_spec": "21.0.1",
29
- "_where": "/Users/haydenbleasel/GitHub/corellium-cli",
30
- "author": {
31
- "name": "Ben Coe",
32
- "email": "ben@npmjs.com"
15
+ "type": "module",
16
+ "module": "./build/lib/index.js",
17
+ "scripts": {
18
+ "check": "standardx '**/*.ts' && standardx '**/*.js' && standardx '**/*.cjs'",
19
+ "fix": "standardx --fix '**/*.ts' && standardx --fix '**/*.js' && standardx --fix '**/*.cjs'",
20
+ "pretest": "rimraf build && tsc -p tsconfig.test.json && cross-env NODE_ENV=test npm run build:cjs",
21
+ "test": "c8 --reporter=text --reporter=html mocha test/*.cjs",
22
+ "test:esm": "c8 --reporter=text --reporter=html mocha test/*.mjs",
23
+ "test:browser": "start-server-and-test 'serve ./ -p 8080' http://127.0.0.1:8080/package.json 'node ./test/browser/yargs-test.cjs'",
24
+ "pretest:typescript": "npm run pretest",
25
+ "test:typescript": "c8 mocha ./build/test/typescript/*.js",
26
+ "coverage": "c8 report --check-coverage",
27
+ "precompile": "rimraf build",
28
+ "compile": "tsc",
29
+ "postcompile": "npm run build:cjs",
30
+ "build:cjs": "rollup -c",
31
+ "prepare": "npm run compile"
33
32
  },
34
- "bugs": {
35
- "url": "https://github.com/yargs/yargs-parser/issues"
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "https://github.com/yargs/yargs-parser.git"
36
36
  },
37
- "description": "the mighty option parser used by yargs",
37
+ "keywords": [
38
+ "argument",
39
+ "parser",
40
+ "yargs",
41
+ "command",
42
+ "cli",
43
+ "parsing",
44
+ "option",
45
+ "args",
46
+ "argument"
47
+ ],
48
+ "author": "Ben Coe <ben@npmjs.com>",
49
+ "license": "ISC",
38
50
  "devDependencies": {
39
51
  "@types/chai": "^4.2.11",
40
52
  "@types/mocha": "^9.0.0",
@@ -60,64 +72,21 @@
60
72
  "ts-transform-default-export": "^1.0.2",
61
73
  "typescript": "^4.0.0"
62
74
  },
63
- "engines": {
64
- "node": ">=12"
65
- },
66
- "exports": {
67
- ".": [
68
- {
69
- "import": "./build/lib/index.js",
70
- "require": "./build/index.cjs"
71
- },
72
- "./build/index.cjs"
73
- ]
74
- },
75
75
  "files": [
76
76
  "browser.js",
77
77
  "build",
78
78
  "!*.d.ts"
79
79
  ],
80
- "homepage": "https://github.com/yargs/yargs-parser#readme",
81
- "keywords": [
82
- "argument",
83
- "parser",
84
- "yargs",
85
- "command",
86
- "cli",
87
- "parsing",
88
- "option",
89
- "args",
90
- "argument"
91
- ],
92
- "license": "ISC",
93
- "main": "build/index.cjs",
94
- "module": "./build/lib/index.js",
95
- "name": "yargs-parser",
96
- "repository": {
97
- "type": "git",
98
- "url": "git+https://github.com/yargs/yargs-parser.git"
99
- },
100
- "scripts": {
101
- "build:cjs": "rollup -c",
102
- "check": "standardx '**/*.ts' && standardx '**/*.js' && standardx '**/*.cjs'",
103
- "compile": "tsc",
104
- "coverage": "c8 report --check-coverage",
105
- "fix": "standardx --fix '**/*.ts' && standardx --fix '**/*.js' && standardx --fix '**/*.cjs'",
106
- "postcompile": "npm run build:cjs",
107
- "precompile": "rimraf build",
108
- "prepare": "npm run compile",
109
- "pretest": "rimraf build && tsc -p tsconfig.test.json && cross-env NODE_ENV=test npm run build:cjs",
110
- "pretest:typescript": "npm run pretest",
111
- "test": "c8 --reporter=text --reporter=html mocha test/*.cjs",
112
- "test:browser": "start-server-and-test 'serve ./ -p 8080' http://127.0.0.1:8080/package.json 'node ./test/browser/yargs-test.cjs'",
113
- "test:esm": "c8 --reporter=text --reporter=html mocha test/*.mjs",
114
- "test:typescript": "c8 mocha ./build/test/typescript/*.js"
80
+ "engines": {
81
+ "node": ">=12"
115
82
  },
116
83
  "standardx": {
117
84
  "ignore": [
118
85
  "build"
119
86
  ]
120
- },
121
- "type": "module",
122
- "version": "21.0.1"
123
- }
87
+ }
88
+
89
+ ,"_resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.0.1.tgz"
90
+ ,"_integrity": "sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg=="
91
+ ,"_from": "yargs-parser@21.0.1"
92
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corellium/corellium-cli",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Corellium CLI Tool",
5
5
  "scripts": {
6
6
  "corellium": "node index.js",
@@ -55,7 +55,14 @@ class Client {
55
55
  * @returns {wsstream.WebSocketDuplex}
56
56
  */
57
57
  _fetchWSS = (token) => {
58
- const url = `wss://${this._profile.endpoint}/api/v1/agent/${token}`
58
+ /** @type {string} */
59
+ const endpoint = this._profile.endpoint
60
+ const match = endpoint.match(/^https?:\/\/([^/]+)$/)
61
+ if (!match) {
62
+ throw new Error('Unable to extract hostname from endpoint')
63
+ }
64
+ const host = match[1]
65
+ const url = `wss://${host}/api/v1/agent/${token}`
59
66
  return wsstream(url, ['binary'])
60
67
  }
61
68
 
@@ -56,20 +56,12 @@ class InstanceCLI extends Client {
56
56
  return await this._fetch('POST', `${this.instanceBasePath()}/netdump/disable`)
57
57
  }
58
58
 
59
- /**
60
- * Authorize pcap download
61
- * @returns {Promise<any>}
62
- */
63
- authorizePcap = async () => {
64
- return await this._fetch('POST', `${this.instanceBasePath()}/netdump-authorize`)
65
- }
66
-
67
59
  /**
68
60
  * Download file
69
61
  * @returns {Promise<any>}
70
62
  */
71
- download = async (token, file, outputFile) => {
72
- return await this._fetchStream(`${this.preauthedBasePath()}/${token}/${file}`, outputFile)
63
+ download = async (file, outputFile) => {
64
+ return await this._fetchStream(`${this.instanceBasePath()}/${file}`, outputFile)
73
65
  }
74
66
 
75
67
  /**
@@ -24,8 +24,7 @@ async function builder (yargs) {
24
24
  async function handler (argv) {
25
25
  try {
26
26
  const instance = new InstanceCLI(argv)
27
- const { token } = await instance.authorizePcap()
28
- await instance.download(token, 'netdump.pcap', argv.outputFile)
27
+ await instance.download('netdump.pcap', argv.outputFile)
29
28
  log.info(`Success, pcap saved to ${argv.outputFile}`)
30
29
  } catch (e) {
31
30
  if (e.response) {
package/t.log ADDED
Binary file