@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.
- package/corellium-corellium-cli-1.0.3.tgz +0 -0
- package/netdump.pcap +0 -0
- package/node_modules/@babel/cli/node_modules/commander/package.json +27 -58
- package/node_modules/@babel/cli/node_modules/make-dir/package.json +62 -93
- package/node_modules/@babel/cli/node_modules/pify/package.json +54 -85
- package/node_modules/@babel/cli/node_modules/semver/package.json +20 -51
- package/node_modules/@babel/cli/node_modules/slash/package.json +37 -68
- package/node_modules/@babel/cli/package.json +37 -69
- package/node_modules/@corellium/client-api/package.json +15 -40
- package/node_modules/@jridgewell/resolve-uri/package.json +40 -75
- package/node_modules/@jridgewell/sourcemap-codec/package.json +43 -74
- package/node_modules/@jridgewell/trace-mapping/package.json +40 -72
- package/node_modules/@mapbox/node-pre-gyp/package.json +27 -61
- package/node_modules/@nicolo-ribaudo/chokidar-2/package.json +22 -55
- package/node_modules/abbrev/package.json +18 -52
- package/node_modules/agent-base/package.json +33 -62
- package/node_modules/ansi-regex/package.json +58 -89
- package/node_modules/ansi-styles/package.json +59 -95
- package/node_modules/anymatch/package.json +28 -56
- package/node_modules/aproba/package.json +23 -50
- package/node_modules/are-we-there-yet/node_modules/readable-stream/package.json +32 -60
- package/node_modules/are-we-there-yet/package.json +32 -62
- package/node_modules/ascii-art/package.json +51 -83
- package/node_modules/ascii-art-ansi/package.json +30 -61
- package/node_modules/ascii-art-braille/package.json +7 -32
- package/node_modules/ascii-art-font/package.json +17 -47
- package/node_modules/ascii-art-graph/package.json +10 -34
- package/node_modules/ascii-art-image/node_modules/ascii-art-braille/package.json +7 -32
- package/node_modules/ascii-art-image/package.json +11 -36
- package/node_modules/ascii-art-table/package.json +10 -35
- package/node_modules/ascii-art-utf/package.json +18 -47
- package/node_modules/async/package.json +29 -55
- package/node_modules/async-arrays/package.json +34 -62
- package/node_modules/asynckit/package.json +45 -74
- package/node_modules/axios/package.json +46 -72
- package/node_modules/balanced-match/package.json +22 -49
- package/node_modules/binary-extensions/package.json +41 -73
- package/node_modules/brace-expansion/package.json +23 -50
- package/node_modules/braces/package.json +30 -76
- package/node_modules/call-bind/package.json +83 -125
- package/node_modules/canvas/build/Release/.deps/Release/canvas.node.d +1 -1
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/Backends.o.d +362 -368
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/Canvas.o.d +365 -375
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/CanvasGradient.o.d +351 -353
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/CanvasPattern.o.d +682 -698
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/CanvasRenderingContext2d.o.d +690 -702
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/Image.o.d +684 -697
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/ImageData.o.d +50 -45
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/backend/Backend.o.d +59 -53
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/backend/ImageBackend.o.d +59 -54
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/backend/PdfBackend.o.d +363 -369
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/backend/SvgBackend.o.d +363 -369
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/bmp/BMPParser.o.d +2 -2
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/closure.o.d +357 -364
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/color.o.d +1 -1
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/init.o.d +715 -729
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/register_font.o.d +345 -346
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas.node.d +1 -0
- package/node_modules/canvas/build/Release/canvas.node +0 -0
- package/node_modules/canvas/build/Release/libcairo-gobject.so.2 +0 -0
- package/node_modules/canvas/build/Release/libcairo.so.2 +0 -0
- package/node_modules/canvas/build/Release/libexpat.so.1 +0 -0
- package/node_modules/canvas/build/Release/libffi.so.7 +0 -0
- package/node_modules/canvas/build/Release/libfontconfig.so.1 +0 -0
- package/node_modules/canvas/build/Release/libfreetype.so.6 +0 -0
- package/node_modules/canvas/build/Release/libfribidi.so.0 +0 -0
- package/node_modules/canvas/build/Release/libgdk_pixbuf-2.0.so.0 +0 -0
- package/node_modules/canvas/build/Release/libgif.so.7 +0 -0
- package/node_modules/canvas/build/Release/libgio-2.0.so.0 +0 -0
- package/node_modules/canvas/build/Release/libglib-2.0.so.0 +0 -0
- package/node_modules/canvas/build/Release/libgmodule-2.0.so.0 +0 -0
- package/node_modules/canvas/build/Release/libgobject-2.0.so.0 +0 -0
- package/node_modules/canvas/build/Release/{librsvg-2.2.dylib → libharfbuzz.so.0} +0 -0
- package/node_modules/canvas/build/Release/libjpeg.so.62 +0 -0
- package/node_modules/canvas/build/Release/libpango-1.0.so.0 +0 -0
- package/node_modules/canvas/build/Release/libpangocairo-1.0.so.0 +0 -0
- package/node_modules/canvas/build/Release/libpangoft2-1.0.so.0 +0 -0
- package/node_modules/canvas/build/Release/libpcre.so.1 +0 -0
- package/node_modules/canvas/build/Release/libpixman-1.so.0 +0 -0
- package/node_modules/canvas/build/Release/libpng16.so.16 +0 -0
- package/node_modules/canvas/build/Release/librsvg-2.so.2 +0 -0
- package/node_modules/canvas/build/Release/libstdc++.so.6 +0 -0
- package/node_modules/canvas/build/Release/libxml2.so.2 +0 -0
- package/node_modules/canvas/build/Release/libz.so.1 +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/Backends.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/Canvas.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/CanvasGradient.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/CanvasPattern.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/CanvasRenderingContext2d.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/Image.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/ImageData.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/backend/Backend.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/backend/ImageBackend.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/backend/PdfBackend.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/backend/SvgBackend.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/bmp/BMPParser.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/closure.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/color.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/init.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/register_font.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas.node +0 -0
- package/node_modules/canvas/package.json +43 -86
- package/node_modules/chokidar/package.json +40 -74
- package/node_modules/chownr/package.json +24 -56
- package/node_modules/cli/package.json +23 -70
- package/node_modules/cliui/package.json +53 -87
- package/node_modules/color/node_modules/color-convert/package.json +26 -60
- package/node_modules/color/node_modules/color-name/package.json +18 -45
- package/node_modules/color/package.json +26 -57
- package/node_modules/color-convert/package.json +25 -59
- package/node_modules/color-difference/package.json +26 -52
- package/node_modules/color-model/package.json +17 -44
- package/node_modules/color-name/package.json +32 -60
- package/node_modules/color-string/package.json +26 -67
- package/node_modules/color-support/package.json +26 -60
- package/node_modules/combined-stream/package.json +19 -52
- package/node_modules/component-emitter/package.json +17 -45
- package/node_modules/concat-map/package.json +45 -89
- package/node_modules/console-control-strings/package.json +22 -55
- package/node_modules/convert-source-map/package.json +28 -55
- package/node_modules/cookiejar/package.json +16 -44
- package/node_modules/core-util-is/package.json +21 -51
- package/node_modules/d3/package.json +43 -70
- package/node_modules/d3-array/package.json +24 -55
- package/node_modules/d3-axis/package.json +27 -54
- package/node_modules/d3-brush/package.json +33 -60
- package/node_modules/d3-chord/package.json +28 -55
- package/node_modules/d3-collection/package.json +25 -54
- package/node_modules/d3-color/package.json +28 -58
- package/node_modules/d3-contour/package.json +27 -54
- package/node_modules/d3-dispatch/package.json +28 -60
- package/node_modules/d3-drag/package.json +32 -61
- package/node_modules/d3-dsv/node_modules/commander/package.json +25 -56
- package/node_modules/d3-dsv/package.json +36 -64
- package/node_modules/d3-ease/package.json +28 -56
- package/node_modules/d3-fetch/package.json +31 -58
- package/node_modules/d3-force/package.json +30 -57
- package/node_modules/d3-format/package.json +29 -57
- package/node_modules/d3-geo/package.json +35 -62
- package/node_modules/d3-hierarchy/package.json +33 -60
- package/node_modules/d3-interpolate/package.json +31 -63
- package/node_modules/d3-path/package.json +28 -57
- package/node_modules/d3-polygon/package.json +28 -55
- package/node_modules/d3-quadtree/package.json +29 -57
- package/node_modules/d3-random/package.json +26 -53
- package/node_modules/d3-scale/package.json +29 -56
- package/node_modules/d3-scale-chromatic/package.json +33 -60
- package/node_modules/d3-selection/package.json +29 -60
- package/node_modules/d3-shape/package.json +32 -59
- package/node_modules/d3-time/package.json +28 -57
- package/node_modules/d3-time-format/package.json +33 -61
- package/node_modules/d3-timer/package.json +28 -57
- package/node_modules/d3-transition/package.json +35 -64
- package/node_modules/d3-voronoi/package.json +24 -51
- package/node_modules/d3-zoom/package.json +34 -61
- package/node_modules/debug/package.json +37 -87
- package/node_modules/decompress-response/package.json +53 -84
- package/node_modules/delayed-stream/package.json +19 -53
- package/node_modules/delegates/package.json +11 -45
- package/node_modules/detect-libc/package.json +26 -60
- package/node_modules/dirname-shim/package.json +26 -60
- package/node_modules/dotenv/package.json +37 -64
- package/node_modules/duplexer/package.json +18 -49
- package/node_modules/emoji-regex/package.json +32 -58
- package/node_modules/escalade/package.json +28 -59
- package/node_modules/extended-emitter/package.json +37 -65
- package/node_modules/fast-safe-stringify/package.json +33 -73
- package/node_modules/fill-range/package.json +28 -72
- package/node_modules/follow-redirects/package.json +42 -77
- package/node_modules/form-data/package.json +42 -74
- package/node_modules/formidable/package.json +22 -52
- package/node_modules/fs-minipass/package.json +24 -52
- package/node_modules/fs-readdir-recursive/package.json +20 -50
- package/node_modules/fs.realpath/package.json +21 -53
- package/node_modules/fsevents/package.json +38 -63
- package/node_modules/ftp-response-parser/node_modules/isarray/package.json +22 -54
- package/node_modules/ftp-response-parser/node_modules/readable-stream/package.json +22 -55
- package/node_modules/ftp-response-parser/node_modules/string_decoder/package.json +17 -45
- package/node_modules/ftp-response-parser/package.json +23 -64
- package/node_modules/function-bind/package.json +28 -61
- package/node_modules/gauge/package.json +25 -52
- package/node_modules/generate-password/package.json +28 -54
- package/node_modules/get-caller-file/package.json +27 -53
- package/node_modules/get-intrinsic/package.json +91 -124
- package/node_modules/glob/package.json +34 -68
- package/node_modules/glob-parent/package.json +27 -70
- package/node_modules/has/package.json +26 -55
- package/node_modules/has-symbols/package.json +104 -133
- package/node_modules/has-unicode/package.json +25 -52
- package/node_modules/https-proxy-agent/package.json +30 -59
- package/node_modules/iconv-lite/package.json +48 -77
- package/node_modules/inflight/package.json +20 -48
- package/node_modules/inherits/package.json +17 -54
- package/node_modules/is-binary-path/package.json +43 -75
- package/node_modules/is-extglob/package.json +22 -52
- package/node_modules/is-fullwidth-code-point/package.json +45 -79
- package/node_modules/is-glob/package.json +26 -68
- package/node_modules/is-number/package.json +26 -65
- package/node_modules/jsftp/node_modules/debug/package.json +28 -67
- package/node_modules/jsftp/package.json +22 -59
- package/node_modules/json2csv/node_modules/commander/package.json +25 -56
- package/node_modules/json2csv/package.json +37 -64
- package/node_modules/jsonparse/package.json +18 -53
- package/node_modules/lodash/package.json +15 -61
- package/node_modules/lodash.get/package.json +16 -67
- package/node_modules/lru-cache/package.json +27 -61
- package/node_modules/make-dir/node_modules/semver/package.json +20 -51
- package/node_modules/make-dir/package.json +62 -93
- package/node_modules/maplex/package.json +22 -54
- package/node_modules/methods/package.json +22 -64
- package/node_modules/mime/package.json +20 -48
- package/node_modules/mime-db/package.json +25 -67
- package/node_modules/mime-types/package.json +20 -64
- package/node_modules/mimic-response/package.json +45 -76
- package/node_modules/minimatch/package.json +25 -61
- package/node_modules/minipass/package.json +30 -64
- package/node_modules/minizlib/package.json +27 -59
- package/node_modules/mkdirp/package.json +27 -57
- package/node_modules/ms/package.json +24 -58
- package/node_modules/multi-progress/package.json +20 -46
- package/node_modules/nan/package.json +27 -87
- package/node_modules/node-fetch/package.json +77 -104
- package/node_modules/nopt/package.json +22 -54
- package/node_modules/normalize-path/package.json +25 -63
- package/node_modules/npmlog/package.json +23 -55
- package/node_modules/object-assign/package.json +20 -51
- package/node_modules/object-inspect/package.json +53 -81
- package/node_modules/once/package.json +19 -56
- package/node_modules/parse-listing/package.json +27 -56
- package/node_modules/path-is-absolute/package.json +16 -47
- package/node_modules/picomatch/package.json +28 -60
- package/node_modules/progress/package.json +21 -65
- package/node_modules/qs/package.json +78 -105
- package/node_modules/readdirp/package.json +47 -83
- package/node_modules/require-directory/package.json +29 -57
- package/node_modules/rimraf/package.json +23 -61
- package/node_modules/rw/package.json +19 -46
- package/node_modules/safe-buffer/package.json +10 -38
- package/node_modules/safer-buffer/package.json +18 -43
- package/node_modules/semver/package.json +36 -70
- package/node_modules/set-blocking/package.json +29 -56
- package/node_modules/side-channel/package.json +70 -98
- package/node_modules/sift/package.json +30 -62
- package/node_modules/signal-exit/package.json +29 -58
- package/node_modules/simple-concat/package.json +22 -46
- package/node_modules/simple-get/package.json +9 -33
- package/node_modules/simple-swizzle/node_modules/is-arrayish/package.json +28 -59
- package/node_modules/simple-swizzle/package.json +23 -57
- package/node_modules/strangler/package.json +39 -67
- package/node_modules/stream-combiner/package.json +15 -48
- package/node_modules/string-tools/package.json +16 -50
- package/node_modules/string-width/package.json +59 -97
- package/node_modules/string_decoder/package.json +18 -47
- package/node_modules/strip-ansi/package.json +57 -94
- package/node_modules/superagent/node_modules/form-data/package.json +42 -74
- package/node_modules/superagent/node_modules/readable-stream/package.json +32 -60
- package/node_modules/superagent/package.json +13 -59
- package/node_modules/tar/package.json +27 -59
- package/node_modules/through/package.json +17 -50
- package/node_modules/to-regex-range/package.json +25 -61
- package/node_modules/tr46/package.json +24 -51
- package/node_modules/unorm/package.json +34 -75
- package/node_modules/util-deprecate/package.json +19 -49
- package/node_modules/uuid/package.json +74 -102
- package/node_modules/webidl-conversions/package.json +18 -53
- package/node_modules/whatwg-url/package.json +15 -49
- package/node_modules/wide-align/package.json +21 -53
- package/node_modules/wolfy87-eventemitter/package.json +25 -49
- package/node_modules/wrap-ansi/package.json +65 -97
- package/node_modules/wrappy/package.json +21 -50
- package/node_modules/y18n/package.json +43 -73
- package/node_modules/yallist/package.json +20 -55
- package/node_modules/yargs/package.json +72 -99
- package/node_modules/yargs-parser/package.json +52 -83
- package/package.json +1 -1
- package/src/clients/Client.js +8 -1
- package/src/clients/Instance.js +2 -10
- package/src/commands/instances/netmon/download.js +1 -2
- package/t.log +0 -0
- package/node_modules/canvas/build/Release/libX11.6.dylib +0 -0
- package/node_modules/canvas/build/Release/libXau.6.dylib +0 -0
- package/node_modules/canvas/build/Release/libXdmcp.6.dylib +0 -0
- package/node_modules/canvas/build/Release/libXext.6.dylib +0 -0
- package/node_modules/canvas/build/Release/libXrender.1.dylib +0 -0
- package/node_modules/canvas/build/Release/libcairo-gobject.2.dylib +0 -0
- package/node_modules/canvas/build/Release/libcairo.2.dylib +0 -0
- package/node_modules/canvas/build/Release/libffi.8.dylib +0 -0
- package/node_modules/canvas/build/Release/libfontconfig.1.dylib +0 -0
- package/node_modules/canvas/build/Release/libfreetype.6.dylib +0 -0
- package/node_modules/canvas/build/Release/libfribidi.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libgdk_pixbuf-2.0.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libgif.7.2.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libgio-2.0.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libglib-2.0.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libgmodule-2.0.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libgobject-2.0.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libgraphite2.3.2.1.dylib +0 -0
- package/node_modules/canvas/build/Release/libharfbuzz.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libintl.8.dylib +0 -0
- package/node_modules/canvas/build/Release/libjpeg.9.dylib +0 -0
- package/node_modules/canvas/build/Release/libpango-1.0.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libpangocairo-1.0.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libpangoft2-1.0.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libpcre.1.dylib +0 -0
- package/node_modules/canvas/build/Release/libpixman-1.0.40.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libpng16.16.dylib +0 -0
- package/node_modules/canvas/build/Release/libxcb-render.0.0.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libxcb-shm.0.0.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libxcb.1.1.0.dylib +0 -0
@@ -1,41 +1,57 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
|
4
|
-
|
5
|
-
|
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
|
-
"
|
74
|
-
"
|
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
|
-
"
|
77
|
-
"
|
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
|
-
"
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
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
|
-
"
|
3
|
-
|
4
|
-
|
5
|
-
|
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
|
-
"
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
"
|
32
|
-
"
|
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
|
-
"
|
35
|
-
"
|
33
|
+
"repository": {
|
34
|
+
"type": "git",
|
35
|
+
"url": "https://github.com/yargs/yargs-parser.git"
|
36
36
|
},
|
37
|
-
"
|
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
|
-
"
|
81
|
-
|
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
|
-
|
122
|
-
|
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
package/src/clients/Client.js
CHANGED
@@ -55,7 +55,14 @@ class Client {
|
|
55
55
|
* @returns {wsstream.WebSocketDuplex}
|
56
56
|
*/
|
57
57
|
_fetchWSS = (token) => {
|
58
|
-
|
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
|
|
package/src/clients/Instance.js
CHANGED
@@ -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 (
|
72
|
-
return await this._fetchStream(`${this.
|
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
|
-
|
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
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|