@kaynooo/cli-workspace 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/audit-cli.js +1 -2
- package/dist/cli.js +1 -2
- package/dist/repos-cli.js +0 -1
- package/dist/sweep-cli.js +0 -1
- package/package.json +2 -2
package/dist/audit-cli.js
CHANGED
|
@@ -732,7 +732,6 @@ var DASHES = /^-+/;
|
|
|
732
732
|
function jsonOption(holds) {
|
|
733
733
|
return { type: "boolean", description: holds === undefined ? "print JSON" : `print JSON: ${holds}` };
|
|
734
734
|
}
|
|
735
|
-
|
|
736
735
|
class Exit extends Error {
|
|
737
736
|
code;
|
|
738
737
|
hint;
|
|
@@ -1626,7 +1625,7 @@ var OPTIONS = {
|
|
|
1626
1625
|
level: { type: "string", choices: SEVERITIES, default: "moderate", description: "only the advisories at least this severe: low, moderate, high or critical" },
|
|
1627
1626
|
prod: { type: "boolean", description: "only the packages a production dependency needs" },
|
|
1628
1627
|
ignore: { type: "string", multiple: true, description: "an advisory skipped by GHSA or numeric id, repeatable" },
|
|
1629
|
-
json: jsonOption("[{repo, path, findings: [{package, severity, scope, direct, via, fix, advisories: [{id, ghsa, url, title, severity, fixed}]}], error}]")
|
|
1628
|
+
json: jsonOption("[{repo, path, findings: [{package, severity, scope, direct, via, fix, advisories: [{id, ghsa, url, title, severity, fixed}]}], below: advisories under --level, warnings: what bun audit could not audit, error}]")
|
|
1630
1629
|
};
|
|
1631
1630
|
var MAX_DEPTH = 3;
|
|
1632
1631
|
var CONCURRENCY = 4;
|
package/dist/cli.js
CHANGED
|
@@ -743,7 +743,6 @@ var DASHES = /^-+/;
|
|
|
743
743
|
function jsonOption(holds) {
|
|
744
744
|
return { type: "boolean", description: holds === undefined ? "print JSON" : `print JSON: ${holds}` };
|
|
745
745
|
}
|
|
746
|
-
|
|
747
746
|
class Exit extends Error {
|
|
748
747
|
code;
|
|
749
748
|
hint;
|
|
@@ -1637,7 +1636,7 @@ var OPTIONS = {
|
|
|
1637
1636
|
level: { type: "string", choices: SEVERITIES, default: "moderate", description: "only the advisories at least this severe: low, moderate, high or critical" },
|
|
1638
1637
|
prod: { type: "boolean", description: "only the packages a production dependency needs" },
|
|
1639
1638
|
ignore: { type: "string", multiple: true, description: "an advisory skipped by GHSA or numeric id, repeatable" },
|
|
1640
|
-
json: jsonOption("[{repo, path, findings: [{package, severity, scope, direct, via, fix, advisories: [{id, ghsa, url, title, severity, fixed}]}], error}]")
|
|
1639
|
+
json: jsonOption("[{repo, path, findings: [{package, severity, scope, direct, via, fix, advisories: [{id, ghsa, url, title, severity, fixed}]}], below: advisories under --level, warnings: what bun audit could not audit, error}]")
|
|
1641
1640
|
};
|
|
1642
1641
|
var MAX_DEPTH = 3;
|
|
1643
1642
|
var CONCURRENCY = 4;
|
package/dist/repos-cli.js
CHANGED
package/dist/sweep-cli.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaynooo/cli-workspace",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.6.0",
|
|
5
5
|
"description": "ws, repos, sweep, audit: the repositories of the workspace that need attention, the folders worth reclaiming and their known vulnerabilities.",
|
|
6
6
|
"author": "Kaynooo <contact@kaynooo.fr>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -34,6 +34,6 @@
|
|
|
34
34
|
"audit": "$npm_execpath src/audit-cli.ts"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@kaynooo/cli-kit": "0.
|
|
37
|
+
"@kaynooo/cli-kit": "0.25.0"
|
|
38
38
|
}
|
|
39
39
|
}
|