@corellium/corellium-cli 1.2.0 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/.gitlab-ci.yml +46 -1
- package/ci/gitlab-build.sh +1 -1
- package/coverage/cobertura-coverage.xml +9 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +101 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov.info +0 -0
- package/index.js +2 -0
- package/node_modules/@babel/cli/node_modules/commander/package.json +22 -57
- package/node_modules/@babel/cli/node_modules/make-dir/package.json +57 -92
- package/node_modules/@babel/cli/node_modules/pify/package.json +49 -84
- package/node_modules/@babel/cli/node_modules/semver/package.json +15 -50
- package/node_modules/@babel/cli/node_modules/slash/package.json +32 -67
- package/node_modules/@babel/cli/package.json +33 -69
- package/node_modules/@corellium/client-api/package.json +10 -39
- package/node_modules/@jridgewell/resolve-uri/package.json +35 -74
- package/node_modules/@jridgewell/sourcemap-codec/package.json +38 -73
- package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +91 -57
- package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +1 -1
- package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +90 -56
- package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +1 -1
- package/node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts +5 -5
- package/node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts +12 -5
- package/node_modules/@jridgewell/trace-mapping/package.json +34 -71
- package/node_modules/@nicolo-ribaudo/chokidar-2/package.json +17 -54
- package/node_modules/ansi-regex/package.json +53 -88
- package/node_modules/ansi-styles/package.json +54 -94
- package/node_modules/anymatch/package.json +23 -55
- package/node_modules/asynckit/package.json +40 -73
- package/node_modules/axios/package.json +41 -71
- package/node_modules/balanced-match/package.json +17 -48
- package/node_modules/binary-extensions/package.json +36 -72
- package/node_modules/brace-expansion/package.json +18 -49
- package/node_modules/braces/package.json +25 -75
- package/node_modules/call-bind/package.json +78 -124
- package/node_modules/chokidar/package.json +35 -73
- package/node_modules/cliui/package.json +48 -86
- package/node_modules/color-convert/package.json +20 -58
- package/node_modules/color-name/package.json +28 -60
- package/node_modules/combined-stream/package.json +14 -51
- package/node_modules/component-emitter/package.json +12 -44
- package/node_modules/concat-map/package.json +40 -88
- package/node_modules/convert-source-map/package.json +23 -54
- package/node_modules/cookiejar/package.json +11 -43
- package/node_modules/debug/package.json +32 -86
- package/node_modules/delayed-stream/package.json +14 -52
- package/node_modules/dotenv/package.json +32 -63
- package/node_modules/emoji-regex/package.json +27 -57
- package/node_modules/escalade/package.json +23 -58
- package/node_modules/fast-safe-stringify/package.json +28 -72
- package/node_modules/fill-range/package.json +23 -71
- package/node_modules/follow-redirects/package.json +37 -76
- package/node_modules/form-data/package.json +37 -73
- package/node_modules/formidable/package.json +17 -51
- package/node_modules/fs-readdir-recursive/package.json +15 -49
- package/node_modules/fs.realpath/package.json +16 -52
- package/node_modules/function-bind/package.json +23 -60
- package/node_modules/get-caller-file/package.json +22 -52
- package/node_modules/get-intrinsic/package.json +86 -123
- package/node_modules/glob/package.json +29 -67
- package/node_modules/glob-parent/package.json +22 -69
- package/node_modules/has/package.json +21 -54
- package/node_modules/has-symbols/package.json +99 -132
- package/node_modules/inflight/package.json +15 -47
- package/node_modules/inherits/package.json +12 -53
- package/node_modules/is-binary-path/package.json +38 -74
- package/node_modules/is-extglob/package.json +17 -51
- package/node_modules/is-fullwidth-code-point/package.json +40 -78
- package/node_modules/is-glob/package.json +21 -67
- package/node_modules/is-number/package.json +21 -64
- package/node_modules/lru-cache/package.json +22 -60
- package/node_modules/methods/package.json +17 -63
- package/node_modules/mime/package.json +15 -47
- package/node_modules/mime-db/package.json +20 -66
- package/node_modules/mime-types/package.json +15 -63
- package/node_modules/minimatch/package.json +20 -60
- package/node_modules/ms/package.json +19 -57
- package/node_modules/multi-progress/package.json +15 -45
- package/node_modules/normalize-path/package.json +20 -62
- package/node_modules/object-inspect/package.json +48 -80
- package/node_modules/once/package.json +14 -55
- package/node_modules/path-is-absolute/package.json +11 -46
- package/node_modules/picomatch/package.json +23 -59
- package/node_modules/progress/package.json +16 -64
- package/node_modules/qs/package.json +73 -104
- package/node_modules/readdirp/package.json +42 -82
- package/node_modules/require-directory/package.json +24 -56
- package/node_modules/safe-buffer/package.json +5 -37
- package/node_modules/semver/package.json +31 -69
- package/node_modules/side-channel/package.json +65 -97
- package/node_modules/string-width/package.json +54 -96
- package/node_modules/string_decoder/package.json +13 -46
- package/node_modules/strip-ansi/package.json +52 -93
- package/node_modules/superagent/node_modules/form-data/package.json +37 -73
- package/node_modules/superagent/node_modules/readable-stream/package.json +27 -59
- package/node_modules/superagent/package.json +8 -58
- package/node_modules/to-regex-range/package.json +20 -60
- package/node_modules/util-deprecate/package.json +14 -48
- package/node_modules/uuid/package.json +69 -101
- package/node_modules/wrap-ansi/package.json +60 -96
- package/node_modules/wrappy/package.json +16 -49
- package/node_modules/y18n/package.json +38 -72
- package/node_modules/yallist/package.json +15 -54
- package/node_modules/yargs/package.json +67 -98
- package/node_modules/yargs-parser/package.json +47 -82
- package/package.json +62 -64
- package/src/clients/Instance.js +4 -0
- package/src/commands/extensions/delete.js +2 -1
- package/src/commands/extensions/list.js +3 -2
- package/src/commands/firmware/list.js +3 -2
- package/src/commands/images/create.js +2 -2
- package/src/commands/images/delete.js +1 -0
- package/src/commands/images/list.js +3 -2
- package/src/commands/index.js +0 -2
- package/src/commands/{agent → instances}/apps/index.js +3 -3
- package/src/commands/instances/create.js +9 -3
- package/src/commands/{agent → instances}/file.js +2 -2
- package/src/commands/instances/index.js +6 -1
- package/src/commands/instances/input.js +52 -0
- package/src/commands/instances/list.js +3 -2
- package/src/commands/instances/upgrade.js +2 -2
- package/src/commands/projects/create.js +2 -2
- package/src/commands/projects/delete.js +2 -1
- package/src/commands/projects/list.js +3 -2
- package/src/commands/webplayer/create.js +2 -2
- package/src/commands/webplayer/list.js +2 -2
- package/src/error.js +12 -6
- package/src/table.js +1 -1
- package/src/utils.js +19 -40
- package/node_modules/@jridgewell/trace-mapping/src/any-map.ts +0 -166
- package/node_modules/@jridgewell/trace-mapping/src/binary-search.ts +0 -115
- package/node_modules/@jridgewell/trace-mapping/src/by-source.ts +0 -64
- package/node_modules/@jridgewell/trace-mapping/src/resolve.ts +0 -10
- package/node_modules/@jridgewell/trace-mapping/src/sort.ts +0 -45
- package/node_modules/@jridgewell/trace-mapping/src/sourcemap-segment.ts +0 -23
- package/node_modules/@jridgewell/trace-mapping/src/strip-filename.ts +0 -8
- package/node_modules/@jridgewell/trace-mapping/src/trace-mapping.ts +0 -405
- package/node_modules/@jridgewell/trace-mapping/src/types.ts +0 -90
- package/node_modules/generate-password/.eslintrc.yml +0 -18
- package/node_modules/generate-password/.github/workflows/nodejs.yml +0 -33
- package/node_modules/generate-password/CHANGELOG.md +0 -79
- package/node_modules/generate-password/LICENSE +0 -21
- package/node_modules/generate-password/README.md +0 -61
- package/node_modules/generate-password/example.js +0 -28
- package/node_modules/generate-password/main.js +0 -1
- package/node_modules/generate-password/package.json +0 -68
- package/node_modules/generate-password/src/generate.d.ts +0 -51
- package/node_modules/generate-password/src/generate.js +0 -152
- package/node_modules/generate-password/test/coverage.sh +0 -17
- package/node_modules/generate-password/test/esm.mjs +0 -13
- package/node_modules/generate-password/test/generator.js +0 -164
- package/src/clients/TrialAccount.js +0 -76
- package/src/commands/agent/index.js +0 -27
- package/src/commands/signup.js +0 -104
- package/test.sh +0 -2
- /package/src/commands/{agent → instances}/apps/install.js +0 -0
- /package/src/commands/{agent → instances}/ready.js +0 -0
@@ -1,48 +1,8 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
|
4
|
-
"yallist@4.0.0",
|
5
|
-
"/home/sam/source/corellium/corellium-cli"
|
6
|
-
]
|
7
|
-
],
|
8
|
-
"_from": "yallist@4.0.0",
|
9
|
-
"_id": "yallist@4.0.0",
|
10
|
-
"_inBundle": false,
|
11
|
-
"_integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
|
12
|
-
"_location": "/yallist",
|
13
|
-
"_phantomChildren": {},
|
14
|
-
"_requested": {
|
15
|
-
"type": "version",
|
16
|
-
"registry": true,
|
17
|
-
"raw": "yallist@4.0.0",
|
18
|
-
"name": "yallist",
|
19
|
-
"escapedName": "yallist",
|
20
|
-
"rawSpec": "4.0.0",
|
21
|
-
"saveSpec": null,
|
22
|
-
"fetchSpec": "4.0.0"
|
23
|
-
},
|
24
|
-
"_requiredBy": [
|
25
|
-
"/lru-cache",
|
26
|
-
"/minipass",
|
27
|
-
"/minizlib",
|
28
|
-
"/tar"
|
29
|
-
],
|
30
|
-
"_resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
|
31
|
-
"_spec": "4.0.0",
|
32
|
-
"_where": "/home/sam/source/corellium/corellium-cli",
|
33
|
-
"author": {
|
34
|
-
"name": "Isaac Z. Schlueter",
|
35
|
-
"email": "i@izs.me",
|
36
|
-
"url": "http://blog.izs.me/"
|
37
|
-
},
|
38
|
-
"bugs": {
|
39
|
-
"url": "https://github.com/isaacs/yallist/issues"
|
40
|
-
},
|
41
|
-
"dependencies": {},
|
2
|
+
"name": "yallist",
|
3
|
+
"version": "4.0.0",
|
42
4
|
"description": "Yet Another Linked List",
|
43
|
-
"
|
44
|
-
"tap": "^12.1.0"
|
45
|
-
},
|
5
|
+
"main": "yallist.js",
|
46
6
|
"directories": {
|
47
7
|
"test": "test"
|
48
8
|
},
|
@@ -50,19 +10,20 @@
|
|
50
10
|
"yallist.js",
|
51
11
|
"iterator.js"
|
52
12
|
],
|
53
|
-
"
|
54
|
-
"
|
55
|
-
|
56
|
-
"name": "yallist",
|
57
|
-
"repository": {
|
58
|
-
"type": "git",
|
59
|
-
"url": "git+https://github.com/isaacs/yallist.git"
|
13
|
+
"dependencies": {},
|
14
|
+
"devDependencies": {
|
15
|
+
"tap": "^12.1.0"
|
60
16
|
},
|
61
17
|
"scripts": {
|
62
|
-
"
|
63
|
-
"postversion": "npm publish",
|
18
|
+
"test": "tap test/*.js --100",
|
64
19
|
"preversion": "npm test",
|
65
|
-
"
|
20
|
+
"postversion": "npm publish",
|
21
|
+
"postpublish": "git push origin --all; git push origin --tags"
|
22
|
+
},
|
23
|
+
"repository": {
|
24
|
+
"type": "git",
|
25
|
+
"url": "git+https://github.com/isaacs/yallist.git"
|
66
26
|
},
|
67
|
-
"
|
27
|
+
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
|
28
|
+
"license": "ISC"
|
68
29
|
}
|
@@ -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": "/home/sam/source/corellium/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,7 @@
|
|
125
117
|
"command"
|
126
118
|
],
|
127
119
|
"license": "MIT",
|
128
|
-
"
|
129
|
-
|
130
|
-
|
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"
|
120
|
+
"engines": {
|
121
|
+
"node": ">=12"
|
122
|
+
}
|
154
123
|
}
|
@@ -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,17 @@
|
|
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
|
-
"type": "module",
|
122
|
-
"version": "21.0.1"
|
87
|
+
}
|
123
88
|
}
|
package/package.json
CHANGED
@@ -1,67 +1,65 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
"
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
"hooks": {
|
48
|
-
"pre-commit": "./node_modules/.bin/lint-staged"
|
49
|
-
}
|
50
|
-
},
|
51
|
-
"devDependencies": {
|
52
|
-
"@types/node": "^12.20.55",
|
53
|
-
"@typescript-eslint/eslint-plugin": "5.27.1",
|
54
|
-
"@typescript-eslint/parser": "5.27.1",
|
55
|
-
"eslint": "7.24.0",
|
56
|
-
"eslint-config-standard": "16.0.2",
|
57
|
-
"eslint-plugin-import": "2.22.1",
|
58
|
-
"eslint-plugin-mocha": "8.1.0",
|
59
|
-
"eslint-plugin-no-floating-promise": "1.0.2",
|
60
|
-
"eslint-plugin-node": "11.1.0",
|
61
|
-
"eslint-plugin-promise": "4.3.1",
|
62
|
-
"husky": "^4.3.8",
|
63
|
-
"lint-staged": "^10.5.4",
|
64
|
-
"prettier": "^2.3.2",
|
65
|
-
"typescript": "^4.7.4"
|
2
|
+
"name": "@corellium/corellium-cli",
|
3
|
+
"version": "1.2.2",
|
4
|
+
"description": "Corellium CLI Tool",
|
5
|
+
"scripts": {
|
6
|
+
"corellium": "node index.js",
|
7
|
+
"lint": "eslint .",
|
8
|
+
"lint-staged": "lint-staged",
|
9
|
+
"lint:fix": "eslint --fix .",
|
10
|
+
"test:ci": "npx nyc report"
|
11
|
+
},
|
12
|
+
"bin": {
|
13
|
+
"corellium": "index.sh"
|
14
|
+
},
|
15
|
+
"repository": {
|
16
|
+
"type": "git",
|
17
|
+
"url": "https://git.corellium.co/middleware/corellium-cli.git"
|
18
|
+
},
|
19
|
+
"bundleDependencies": [
|
20
|
+
"@corellium/client-api",
|
21
|
+
"axios",
|
22
|
+
"dotenv",
|
23
|
+
"multi-progress",
|
24
|
+
"progress",
|
25
|
+
"uuid",
|
26
|
+
"yargs"
|
27
|
+
],
|
28
|
+
"dependencies": {
|
29
|
+
"@corellium/client-api": "^0.1.0",
|
30
|
+
"@corellium/corellium-api": "^1.7.3",
|
31
|
+
"axios": "^0.27.2",
|
32
|
+
"chalk": "^4.1.2",
|
33
|
+
"cli-progress": "^3.12.0",
|
34
|
+
"dotenv": "^16.0.1",
|
35
|
+
"multi-progress": "^4.0.0",
|
36
|
+
"progress": "^2.0.3",
|
37
|
+
"prompts": "^2.4.2",
|
38
|
+
"table": "^6.8.1",
|
39
|
+
"uuid": "^8.3.2",
|
40
|
+
"websocket-stream": "^5.5.2",
|
41
|
+
"xhr2": "^0.2.0",
|
42
|
+
"yargs": "^17.5.1"
|
43
|
+
},
|
44
|
+
"husky": {
|
45
|
+
"hooks": {
|
46
|
+
"pre-commit": "./node_modules/.bin/lint-staged"
|
66
47
|
}
|
48
|
+
},
|
49
|
+
"devDependencies": {
|
50
|
+
"@types/node": "^12.20.55",
|
51
|
+
"@typescript-eslint/eslint-plugin": "5.27.1",
|
52
|
+
"@typescript-eslint/parser": "5.27.1",
|
53
|
+
"eslint": "7.24.0",
|
54
|
+
"eslint-config-standard": "16.0.2",
|
55
|
+
"eslint-plugin-import": "2.22.1",
|
56
|
+
"eslint-plugin-mocha": "8.1.0",
|
57
|
+
"eslint-plugin-no-floating-promise": "1.0.2",
|
58
|
+
"eslint-plugin-node": "11.1.0",
|
59
|
+
"eslint-plugin-promise": "4.3.1",
|
60
|
+
"husky": "^4.3.8",
|
61
|
+
"lint-staged": "^10.5.4",
|
62
|
+
"prettier": "^2.3.2",
|
63
|
+
"typescript": "^4.7.4"
|
64
|
+
}
|
67
65
|
}
|
package/src/clients/Instance.js
CHANGED
@@ -71,6 +71,10 @@ class InstanceCLI extends Client {
|
|
71
71
|
info = async () => {
|
72
72
|
return await this._fetch('GET', `${this.instanceBasePath()}`, {})
|
73
73
|
}
|
74
|
+
|
75
|
+
input = async (data) => {
|
76
|
+
return await this._fetch('POST', `${this.instanceBasePath()}/input`, data)
|
77
|
+
}
|
74
78
|
}
|
75
79
|
|
76
80
|
module.exports = InstanceCLI
|
@@ -10,9 +10,9 @@ async function builder (yargs) {
|
|
10
10
|
describe: 'Console will receive verbose error output'
|
11
11
|
}).option('format', {
|
12
12
|
type: 'input',
|
13
|
-
describe: 'Output format (default is
|
13
|
+
describe: 'Output format (default is json) e.g. table',
|
14
14
|
string: true,
|
15
|
-
choices: ['json', 'csv']
|
15
|
+
choices: ['table', 'json', 'csv']
|
16
16
|
})
|
17
17
|
}
|
18
18
|
|
@@ -38,5 +38,6 @@ module.exports = {
|
|
38
38
|
builder,
|
39
39
|
handler,
|
40
40
|
command: 'list',
|
41
|
+
aliases: ['ls'],
|
41
42
|
describe: 'List all extensions'
|
42
43
|
}
|
@@ -9,9 +9,9 @@ async function builder (yargs) {
|
|
9
9
|
describe: 'Console will receive verbose error output'
|
10
10
|
}).option('format', {
|
11
11
|
type: 'input',
|
12
|
-
describe: 'Output format (default is
|
12
|
+
describe: 'Output format (default is json) e.g. table',
|
13
13
|
string: true,
|
14
|
-
choices: ['json', 'csv']
|
14
|
+
choices: ['table', 'json', 'csv']
|
15
15
|
})
|
16
16
|
}
|
17
17
|
|
@@ -55,5 +55,6 @@ module.exports = {
|
|
55
55
|
builder,
|
56
56
|
handler,
|
57
57
|
command: 'list',
|
58
|
+
aliases: ['ls'],
|
58
59
|
describe: 'List all firmware'
|
59
60
|
}
|
@@ -11,9 +11,9 @@ async function builder (yargs) {
|
|
11
11
|
})
|
12
12
|
.option('format', {
|
13
13
|
type: 'input',
|
14
|
-
describe: 'Output format (default is
|
14
|
+
describe: 'Output format (default is json) e.g. table',
|
15
15
|
string: true,
|
16
|
-
choices: ['json', 'csv']
|
16
|
+
choices: ['table', 'json', 'csv']
|
17
17
|
})
|
18
18
|
.option('verbose', {
|
19
19
|
alias: 'v',
|
@@ -10,9 +10,9 @@ async function builder (yargs) {
|
|
10
10
|
describe: 'Console will receive verbose error output'
|
11
11
|
}).option('format', {
|
12
12
|
type: 'input',
|
13
|
-
describe: 'Output format (default is
|
13
|
+
describe: 'Output format (default is json) e.g. table',
|
14
14
|
string: true,
|
15
|
-
choices: ['json', 'csv']
|
15
|
+
choices: ['table', 'json', 'csv']
|
16
16
|
})
|
17
17
|
}
|
18
18
|
|
@@ -30,5 +30,6 @@ module.exports = {
|
|
30
30
|
builder,
|
31
31
|
handler,
|
32
32
|
command: 'list',
|
33
|
+
aliases: ['ls'],
|
33
34
|
describe: 'List images'
|
34
35
|
}
|