@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
@@ -0,0 +1,196 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
var addSorting = (function() {
|
3
|
+
'use strict';
|
4
|
+
var cols,
|
5
|
+
currentSort = {
|
6
|
+
index: 0,
|
7
|
+
desc: false
|
8
|
+
};
|
9
|
+
|
10
|
+
// returns the summary table element
|
11
|
+
function getTable() {
|
12
|
+
return document.querySelector('.coverage-summary');
|
13
|
+
}
|
14
|
+
// returns the thead element of the summary table
|
15
|
+
function getTableHeader() {
|
16
|
+
return getTable().querySelector('thead tr');
|
17
|
+
}
|
18
|
+
// returns the tbody element of the summary table
|
19
|
+
function getTableBody() {
|
20
|
+
return getTable().querySelector('tbody');
|
21
|
+
}
|
22
|
+
// returns the th element for nth column
|
23
|
+
function getNthColumn(n) {
|
24
|
+
return getTableHeader().querySelectorAll('th')[n];
|
25
|
+
}
|
26
|
+
|
27
|
+
function onFilterInput() {
|
28
|
+
const searchValue = document.getElementById('fileSearch').value;
|
29
|
+
const rows = document.getElementsByTagName('tbody')[0].children;
|
30
|
+
for (let i = 0; i < rows.length; i++) {
|
31
|
+
const row = rows[i];
|
32
|
+
if (
|
33
|
+
row.textContent
|
34
|
+
.toLowerCase()
|
35
|
+
.includes(searchValue.toLowerCase())
|
36
|
+
) {
|
37
|
+
row.style.display = '';
|
38
|
+
} else {
|
39
|
+
row.style.display = 'none';
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
// loads the search box
|
45
|
+
function addSearchBox() {
|
46
|
+
var template = document.getElementById('filterTemplate');
|
47
|
+
var templateClone = template.content.cloneNode(true);
|
48
|
+
templateClone.getElementById('fileSearch').oninput = onFilterInput;
|
49
|
+
template.parentElement.appendChild(templateClone);
|
50
|
+
}
|
51
|
+
|
52
|
+
// loads all columns
|
53
|
+
function loadColumns() {
|
54
|
+
var colNodes = getTableHeader().querySelectorAll('th'),
|
55
|
+
colNode,
|
56
|
+
cols = [],
|
57
|
+
col,
|
58
|
+
i;
|
59
|
+
|
60
|
+
for (i = 0; i < colNodes.length; i += 1) {
|
61
|
+
colNode = colNodes[i];
|
62
|
+
col = {
|
63
|
+
key: colNode.getAttribute('data-col'),
|
64
|
+
sortable: !colNode.getAttribute('data-nosort'),
|
65
|
+
type: colNode.getAttribute('data-type') || 'string'
|
66
|
+
};
|
67
|
+
cols.push(col);
|
68
|
+
if (col.sortable) {
|
69
|
+
col.defaultDescSort = col.type === 'number';
|
70
|
+
colNode.innerHTML =
|
71
|
+
colNode.innerHTML + '<span class="sorter"></span>';
|
72
|
+
}
|
73
|
+
}
|
74
|
+
return cols;
|
75
|
+
}
|
76
|
+
// attaches a data attribute to every tr element with an object
|
77
|
+
// of data values keyed by column name
|
78
|
+
function loadRowData(tableRow) {
|
79
|
+
var tableCols = tableRow.querySelectorAll('td'),
|
80
|
+
colNode,
|
81
|
+
col,
|
82
|
+
data = {},
|
83
|
+
i,
|
84
|
+
val;
|
85
|
+
for (i = 0; i < tableCols.length; i += 1) {
|
86
|
+
colNode = tableCols[i];
|
87
|
+
col = cols[i];
|
88
|
+
val = colNode.getAttribute('data-value');
|
89
|
+
if (col.type === 'number') {
|
90
|
+
val = Number(val);
|
91
|
+
}
|
92
|
+
data[col.key] = val;
|
93
|
+
}
|
94
|
+
return data;
|
95
|
+
}
|
96
|
+
// loads all row data
|
97
|
+
function loadData() {
|
98
|
+
var rows = getTableBody().querySelectorAll('tr'),
|
99
|
+
i;
|
100
|
+
|
101
|
+
for (i = 0; i < rows.length; i += 1) {
|
102
|
+
rows[i].data = loadRowData(rows[i]);
|
103
|
+
}
|
104
|
+
}
|
105
|
+
// sorts the table using the data for the ith column
|
106
|
+
function sortByIndex(index, desc) {
|
107
|
+
var key = cols[index].key,
|
108
|
+
sorter = function(a, b) {
|
109
|
+
a = a.data[key];
|
110
|
+
b = b.data[key];
|
111
|
+
return a < b ? -1 : a > b ? 1 : 0;
|
112
|
+
},
|
113
|
+
finalSorter = sorter,
|
114
|
+
tableBody = document.querySelector('.coverage-summary tbody'),
|
115
|
+
rowNodes = tableBody.querySelectorAll('tr'),
|
116
|
+
rows = [],
|
117
|
+
i;
|
118
|
+
|
119
|
+
if (desc) {
|
120
|
+
finalSorter = function(a, b) {
|
121
|
+
return -1 * sorter(a, b);
|
122
|
+
};
|
123
|
+
}
|
124
|
+
|
125
|
+
for (i = 0; i < rowNodes.length; i += 1) {
|
126
|
+
rows.push(rowNodes[i]);
|
127
|
+
tableBody.removeChild(rowNodes[i]);
|
128
|
+
}
|
129
|
+
|
130
|
+
rows.sort(finalSorter);
|
131
|
+
|
132
|
+
for (i = 0; i < rows.length; i += 1) {
|
133
|
+
tableBody.appendChild(rows[i]);
|
134
|
+
}
|
135
|
+
}
|
136
|
+
// removes sort indicators for current column being sorted
|
137
|
+
function removeSortIndicators() {
|
138
|
+
var col = getNthColumn(currentSort.index),
|
139
|
+
cls = col.className;
|
140
|
+
|
141
|
+
cls = cls.replace(/ sorted$/, '').replace(/ sorted-desc$/, '');
|
142
|
+
col.className = cls;
|
143
|
+
}
|
144
|
+
// adds sort indicators for current column being sorted
|
145
|
+
function addSortIndicators() {
|
146
|
+
getNthColumn(currentSort.index).className += currentSort.desc
|
147
|
+
? ' sorted-desc'
|
148
|
+
: ' sorted';
|
149
|
+
}
|
150
|
+
// adds event listeners for all sorter widgets
|
151
|
+
function enableUI() {
|
152
|
+
var i,
|
153
|
+
el,
|
154
|
+
ithSorter = function ithSorter(i) {
|
155
|
+
var col = cols[i];
|
156
|
+
|
157
|
+
return function() {
|
158
|
+
var desc = col.defaultDescSort;
|
159
|
+
|
160
|
+
if (currentSort.index === i) {
|
161
|
+
desc = !currentSort.desc;
|
162
|
+
}
|
163
|
+
sortByIndex(i, desc);
|
164
|
+
removeSortIndicators();
|
165
|
+
currentSort.index = i;
|
166
|
+
currentSort.desc = desc;
|
167
|
+
addSortIndicators();
|
168
|
+
};
|
169
|
+
};
|
170
|
+
for (i = 0; i < cols.length; i += 1) {
|
171
|
+
if (cols[i].sortable) {
|
172
|
+
// add the click event handler on the th so users
|
173
|
+
// dont have to click on those tiny arrows
|
174
|
+
el = getNthColumn(i).querySelector('.sorter').parentElement;
|
175
|
+
if (el.addEventListener) {
|
176
|
+
el.addEventListener('click', ithSorter(i));
|
177
|
+
} else {
|
178
|
+
el.attachEvent('onclick', ithSorter(i));
|
179
|
+
}
|
180
|
+
}
|
181
|
+
}
|
182
|
+
}
|
183
|
+
// adds sorting functionality to the UI
|
184
|
+
return function() {
|
185
|
+
if (!getTable()) {
|
186
|
+
return;
|
187
|
+
}
|
188
|
+
cols = loadColumns();
|
189
|
+
loadData();
|
190
|
+
addSearchBox();
|
191
|
+
addSortIndicators();
|
192
|
+
enableUI();
|
193
|
+
};
|
194
|
+
})();
|
195
|
+
|
196
|
+
window.addEventListener('load', addSorting);
|
File without changes
|
package/index.js
CHANGED
@@ -2,12 +2,14 @@
|
|
2
2
|
const yargs = require('yargs/yargs')
|
3
3
|
const { hideBin } = require('yargs/helpers')
|
4
4
|
const commands = require('./src/commands')
|
5
|
+
const { subcommands } = require('./src/commands/instances')
|
5
6
|
|
6
7
|
require('dotenv').config()
|
7
8
|
|
8
9
|
async function run () {
|
9
10
|
return yargs(hideBin(process.argv))
|
10
11
|
.command(commands)
|
12
|
+
.command(subcommands)
|
11
13
|
.scriptName('corellium')
|
12
14
|
.usage('Usage: corellium [OPTIONS]')
|
13
15
|
.demandCommand(1, '') // empty string overrides yargs nag message about specifying a command
|
@@ -1,76 +1,41 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
|
4
|
-
"commander@4.1.1",
|
5
|
-
"/home/sam/source/corellium/corellium-cli"
|
6
|
-
]
|
7
|
-
],
|
8
|
-
"_from": "commander@4.1.1",
|
9
|
-
"_id": "commander@4.1.1",
|
10
|
-
"_inBundle": false,
|
11
|
-
"_integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
|
12
|
-
"_location": "/@babel/cli/commander",
|
13
|
-
"_phantomChildren": {},
|
14
|
-
"_requested": {
|
15
|
-
"type": "version",
|
16
|
-
"registry": true,
|
17
|
-
"raw": "commander@4.1.1",
|
18
|
-
"name": "commander",
|
19
|
-
"escapedName": "commander",
|
20
|
-
"rawSpec": "4.1.1",
|
21
|
-
"saveSpec": null,
|
22
|
-
"fetchSpec": "4.1.1"
|
23
|
-
},
|
24
|
-
"_requiredBy": [
|
25
|
-
"/@babel/cli"
|
26
|
-
],
|
27
|
-
"_resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
|
28
|
-
"_spec": "4.1.1",
|
29
|
-
"_where": "/home/sam/source/corellium/corellium-cli",
|
30
|
-
"author": {
|
31
|
-
"name": "TJ Holowaychuk",
|
32
|
-
"email": "tj@vision-media.ca"
|
33
|
-
},
|
34
|
-
"bugs": {
|
35
|
-
"url": "https://github.com/tj/commander.js/issues"
|
36
|
-
},
|
37
|
-
"dependencies": {},
|
2
|
+
"name": "commander",
|
3
|
+
"version": "4.1.1",
|
38
4
|
"description": "the complete solution for node.js command-line programs",
|
39
|
-
"devDependencies": {
|
40
|
-
"@types/jest": "^24.0.23",
|
41
|
-
"@types/node": "^12.12.11",
|
42
|
-
"eslint": "^6.7.0",
|
43
|
-
"eslint-plugin-jest": "^22.21.0",
|
44
|
-
"jest": "^24.8.0",
|
45
|
-
"standard": "^14.3.1",
|
46
|
-
"typescript": "^3.7.2"
|
47
|
-
},
|
48
|
-
"engines": {
|
49
|
-
"node": ">= 6"
|
50
|
-
},
|
51
|
-
"files": [
|
52
|
-
"index.js",
|
53
|
-
"typings/index.d.ts"
|
54
|
-
],
|
55
|
-
"homepage": "https://github.com/tj/commander.js#readme",
|
56
5
|
"keywords": [
|
57
6
|
"commander",
|
58
7
|
"command",
|
59
8
|
"option",
|
60
9
|
"parser"
|
61
10
|
],
|
11
|
+
"author": "TJ Holowaychuk <tj@vision-media.ca>",
|
62
12
|
"license": "MIT",
|
63
|
-
"main": "index",
|
64
|
-
"name": "commander",
|
65
13
|
"repository": {
|
66
14
|
"type": "git",
|
67
|
-
"url": "
|
15
|
+
"url": "https://github.com/tj/commander.js.git"
|
68
16
|
},
|
69
17
|
"scripts": {
|
70
18
|
"lint": "eslint index.js \"tests/**/*.js\"",
|
71
19
|
"test": "jest && npm run test-typings",
|
72
20
|
"test-typings": "tsc -p tsconfig.json"
|
73
21
|
},
|
22
|
+
"main": "index",
|
23
|
+
"files": [
|
24
|
+
"index.js",
|
25
|
+
"typings/index.d.ts"
|
26
|
+
],
|
27
|
+
"dependencies": {},
|
28
|
+
"devDependencies": {
|
29
|
+
"@types/jest": "^24.0.23",
|
30
|
+
"@types/node": "^12.12.11",
|
31
|
+
"eslint": "^6.7.0",
|
32
|
+
"eslint-plugin-jest": "^22.21.0",
|
33
|
+
"jest": "^24.8.0",
|
34
|
+
"standard": "^14.3.1",
|
35
|
+
"typescript": "^3.7.2"
|
36
|
+
},
|
74
37
|
"typings": "typings/index.d.ts",
|
75
|
-
"
|
38
|
+
"engines": {
|
39
|
+
"node": ">= 6"
|
40
|
+
}
|
76
41
|
}
|
@@ -1,94 +1,59 @@
|
|
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
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
"index.js",
|
60
|
-
"index.d.ts"
|
61
|
-
],
|
62
|
-
"homepage": "https://github.com/sindresorhus/make-dir#readme",
|
63
|
-
"keywords": [
|
64
|
-
"mkdir",
|
65
|
-
"mkdirp",
|
66
|
-
"make",
|
67
|
-
"directories",
|
68
|
-
"dir",
|
69
|
-
"dirs",
|
70
|
-
"folders",
|
71
|
-
"directory",
|
72
|
-
"folder",
|
73
|
-
"path",
|
74
|
-
"parent",
|
75
|
-
"parents",
|
76
|
-
"intermediate",
|
77
|
-
"recursively",
|
78
|
-
"recursive",
|
79
|
-
"create",
|
80
|
-
"fs",
|
81
|
-
"filesystem",
|
82
|
-
"file-system"
|
83
|
-
],
|
84
|
-
"license": "MIT",
|
85
|
-
"name": "make-dir",
|
86
|
-
"repository": {
|
87
|
-
"type": "git",
|
88
|
-
"url": "git+https://github.com/sindresorhus/make-dir.git"
|
89
|
-
},
|
90
|
-
"scripts": {
|
91
|
-
"test": "xo && nyc ava && tsd-check"
|
92
|
-
},
|
93
|
-
"version": "2.1.0"
|
2
|
+
"name": "make-dir",
|
3
|
+
"version": "2.1.0",
|
4
|
+
"description": "Make a directory and its parents if needed - Think `mkdir -p`",
|
5
|
+
"license": "MIT",
|
6
|
+
"repository": "sindresorhus/make-dir",
|
7
|
+
"author": {
|
8
|
+
"name": "Sindre Sorhus",
|
9
|
+
"email": "sindresorhus@gmail.com",
|
10
|
+
"url": "sindresorhus.com"
|
11
|
+
},
|
12
|
+
"engines": {
|
13
|
+
"node": ">=6"
|
14
|
+
},
|
15
|
+
"scripts": {
|
16
|
+
"test": "xo && nyc ava && tsd-check"
|
17
|
+
},
|
18
|
+
"files": [
|
19
|
+
"index.js",
|
20
|
+
"index.d.ts"
|
21
|
+
],
|
22
|
+
"keywords": [
|
23
|
+
"mkdir",
|
24
|
+
"mkdirp",
|
25
|
+
"make",
|
26
|
+
"directories",
|
27
|
+
"dir",
|
28
|
+
"dirs",
|
29
|
+
"folders",
|
30
|
+
"directory",
|
31
|
+
"folder",
|
32
|
+
"path",
|
33
|
+
"parent",
|
34
|
+
"parents",
|
35
|
+
"intermediate",
|
36
|
+
"recursively",
|
37
|
+
"recursive",
|
38
|
+
"create",
|
39
|
+
"fs",
|
40
|
+
"filesystem",
|
41
|
+
"file-system"
|
42
|
+
],
|
43
|
+
"dependencies": {
|
44
|
+
"pify": "^4.0.1",
|
45
|
+
"semver": "^5.6.0"
|
46
|
+
},
|
47
|
+
"devDependencies": {
|
48
|
+
"@types/graceful-fs": "^4.1.3",
|
49
|
+
"@types/node": "^11.10.4",
|
50
|
+
"ava": "^1.2.0",
|
51
|
+
"codecov": "^3.0.0",
|
52
|
+
"graceful-fs": "^4.1.11",
|
53
|
+
"nyc": "^13.1.0",
|
54
|
+
"path-type": "^3.0.0",
|
55
|
+
"tempy": "^0.2.1",
|
56
|
+
"tsd-check": "^0.3.0",
|
57
|
+
"xo": "^0.24.0"
|
58
|
+
}
|
94
59
|
}
|
@@ -1,86 +1,51 @@
|
|
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
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
"homepage": "https://github.com/sindresorhus/pify#readme",
|
52
|
-
"keywords": [
|
53
|
-
"promise",
|
54
|
-
"promises",
|
55
|
-
"promisify",
|
56
|
-
"all",
|
57
|
-
"denodify",
|
58
|
-
"denodeify",
|
59
|
-
"callback",
|
60
|
-
"cb",
|
61
|
-
"node",
|
62
|
-
"then",
|
63
|
-
"thenify",
|
64
|
-
"convert",
|
65
|
-
"transform",
|
66
|
-
"wrap",
|
67
|
-
"wrapper",
|
68
|
-
"bind",
|
69
|
-
"to",
|
70
|
-
"async",
|
71
|
-
"await",
|
72
|
-
"es2015",
|
73
|
-
"bluebird"
|
74
|
-
],
|
75
|
-
"license": "MIT",
|
76
|
-
"name": "pify",
|
77
|
-
"repository": {
|
78
|
-
"type": "git",
|
79
|
-
"url": "git+https://github.com/sindresorhus/pify.git"
|
80
|
-
},
|
81
|
-
"scripts": {
|
82
|
-
"optimization-test": "node --allow-natives-syntax optimization-test.js",
|
83
|
-
"test": "xo && ava"
|
84
|
-
},
|
85
|
-
"version": "4.0.1"
|
2
|
+
"name": "pify",
|
3
|
+
"version": "4.0.1",
|
4
|
+
"description": "Promisify a callback-style function",
|
5
|
+
"license": "MIT",
|
6
|
+
"repository": "sindresorhus/pify",
|
7
|
+
"author": {
|
8
|
+
"name": "Sindre Sorhus",
|
9
|
+
"email": "sindresorhus@gmail.com",
|
10
|
+
"url": "sindresorhus.com"
|
11
|
+
},
|
12
|
+
"engines": {
|
13
|
+
"node": ">=6"
|
14
|
+
},
|
15
|
+
"scripts": {
|
16
|
+
"test": "xo && ava",
|
17
|
+
"optimization-test": "node --allow-natives-syntax optimization-test.js"
|
18
|
+
},
|
19
|
+
"files": [
|
20
|
+
"index.js"
|
21
|
+
],
|
22
|
+
"keywords": [
|
23
|
+
"promise",
|
24
|
+
"promises",
|
25
|
+
"promisify",
|
26
|
+
"all",
|
27
|
+
"denodify",
|
28
|
+
"denodeify",
|
29
|
+
"callback",
|
30
|
+
"cb",
|
31
|
+
"node",
|
32
|
+
"then",
|
33
|
+
"thenify",
|
34
|
+
"convert",
|
35
|
+
"transform",
|
36
|
+
"wrap",
|
37
|
+
"wrapper",
|
38
|
+
"bind",
|
39
|
+
"to",
|
40
|
+
"async",
|
41
|
+
"await",
|
42
|
+
"es2015",
|
43
|
+
"bluebird"
|
44
|
+
],
|
45
|
+
"devDependencies": {
|
46
|
+
"ava": "^0.25.0",
|
47
|
+
"pinkie-promise": "^2.0.0",
|
48
|
+
"v8-natives": "^1.1.0",
|
49
|
+
"xo": "^0.23.0"
|
50
|
+
}
|
86
51
|
}
|