Skip to content

Commit 5e9db52

Browse files
deps: review/remove/update
1 parent 35fefd6 commit 5e9db52

13 files changed

Lines changed: 797 additions & 1208 deletions

File tree

extensions/cli-ext-config-autocomplete/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"dependencies": {
1010
"@hyperone/cli-core": "link:../../packages/cli-core",
1111
"@hyperone/cli-framework": "link:../../packages/cli-framework",
12-
"shlex": "^2.0.2"
12+
"shlex": "^2.1.2"
1313
},
1414
"gitHead": "4e1b348977b45dd7741aff12b2b692cc1a16e74d",
1515
"publishConfig": {

extensions/cli-ext-config-extensions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"@hyperone/cli-core": "link:../../packages/cli-core",
1111
"@hyperone/cli-framework": "link:../../packages/cli-framework",
1212
"gunzip-maybe": "^1.4.2",
13-
"tar-fs": "^2.1.0"
13+
"tar-fs": "^2.1.1"
1414
},
1515
"gitHead": "4e1b348977b45dd7741aff12b2b692cc1a16e74d",
1616
"publishConfig": {

extensions/cli-ext-root-auth/commands/aws.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import { Command } from '@hyperone/cli-framework';
32
import { defaultProvider } from '@aws-sdk/credential-provider-node';
43
import aws4 from 'aws4';

extensions/cli-ext-root-auth/commands/azure.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import { Command } from '@hyperone/cli-framework';
32
import { DefaultAzureCredential } from '@azure/identity';
43
const generic_scope = 'https://management.azure.com';

extensions/cli-ext-root-auth/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"license": "MIT",
99
"gitHead": "a667a9fae1ba7945f8ca4a9f5e115254feb94831",
1010
"dependencies": {
11-
"@aws-sdk/credential-provider-node": "3.202.0",
11+
"@aws-sdk/credential-provider-node": "3.212.0",
1212
"@azure/identity": "^1.0.3",
1313
"@hyperone/cli-core": "link:../../packages/cli-core",
1414
"@hyperone/cli-framework": "link:../../packages/cli-framework",
15-
"aws4": "^1.10.0",
15+
"aws4": "^1.11.0",
1616
"google-auth-library": "^8.7.0"
1717
},
1818
"publishConfig": {

extensions/cli-ext-root-openapi-generator/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"author": "Adam Dobrawy",
88
"license": "MIT",
99
"dependencies": {
10-
"@aws-sdk/client-s3": "^3.209.0",
11-
"@aws-sdk/lib-storage": "^3.209.0",
10+
"@aws-sdk/client-s3": "^3.212.0",
11+
"@aws-sdk/lib-storage": "^3.212.0",
1212
"@hyperone/cli-core": "link:../../packages/cli-core",
1313
"@hyperone/cli-framework": "link:../../packages/cli-framework",
1414
"jsonpatch": "^3.1.0",

extensions/cli-ext-root-version/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"dependencies": {
1010
"@hyperone/cli-core": "link:../../packages/cli-core",
1111
"@hyperone/cli-framework": "link:../../packages/cli-framework",
12-
"semver": "^7.3.4"
12+
"semver": "^7.3.8"
1313
},
1414
"gitHead": "4e1b348977b45dd7741aff12b2b692cc1a16e74d",
1515
"publishConfig": {

packages/cli-core/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@
1111
"camel-case": "^4.1.2",
1212
"command-line-args": "^5.2.1",
1313
"command-line-usage": "^6.1.3",
14-
"jmespath": "^0.15.0",
15-
"js-yaml": "^3.14.0",
14+
"jmespath": "^0.16.0",
15+
"js-yaml": "^4.1.0",
1616
"json-schema-merge-allof": "^0.8.1",
1717
"jsonwebtoken": "^8.5.1",
18-
"meant": "^1.0.1",
1918
"tabula": "^1.10.0",
2019
"untildify": "^4.0.0"
2120
},

packages/cli-core/plugin/formatOutput.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import jmespath from 'jmespath';
1+
import { search } from 'jmespath';
22
// import tabula from 'tabula'
3-
import yaml from 'js-yaml';
3+
import { dump } from 'js-yaml';
44

55
const queryFilter = (query, result) => {
66
result = Array.isArray(result) ? result : [result];
77
if (query) {
8-
result = jmespath.search(result, query);
8+
result = search(result, query);
99
}
1010
return result;
1111
};
@@ -45,7 +45,7 @@ const outputFormat = {
4545
js: (result, query) => query ? queryFilter(query, result) : result,
4646
id: (result, query) => queryFilter(query, result).map(x => x.id).join('\n'),
4747
uri: (result, query) => queryFilter(query, result).map(x => x.uri).join('\n'),
48-
yaml: (result, query) => yaml.safeDump(query ? queryFilter(query, result) : result),
48+
yaml: (result, query) => dump(query ? queryFilter(query, result) : result),
4949
};
5050

5151
export default {

packages/cli-device-node/lib/tests.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import shlex from 'shlex';
1+
import { split } from 'shlex';
22
import pty from 'node-pty';
33

44
import { promises as fs } from 'node:fs';
@@ -21,7 +21,7 @@ const run = (cmd, options = {}) => new Promise((resolve, reject) => {
2121

2222
const args = [
2323
path.join(__dirname, '../bin/h1.js'),
24-
...shlex.split(cmd).slice(1),
24+
...split(cmd).slice(1),
2525
];
2626
options.env = {
2727
...options.env,
@@ -67,7 +67,7 @@ const runJson = async (cmd, options = {}) => {
6767
const runPty = async (cmd, inputs, options = {}) => new Promise((resolve, reject) => {
6868
const ptyProcess = pty.spawn(process.argv[0], [
6969
path.join(__dirname, '../bin/h1.js'),
70-
...shlex.split(cmd).slice(1),
70+
...split(cmd).slice(1),
7171
], options);
7272
const chunks = [];
7373

0 commit comments

Comments
 (0)