@oclif/core 4.2.8 → 4.2.10
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/lib/parser/index.d.ts +1 -0
- package/lib/parser/index.js +3 -1
- package/package.json +4 -4
package/lib/parser/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Input, OutputArgs, OutputFlags, ParserOutput } from '../interfaces/parser';
|
|
2
2
|
export type { ArgInput, FlagInput, Input, OutputArgs, OutputFlags, ParserOutput } from '../interfaces/parser';
|
|
3
3
|
export { flagUsages } from './help';
|
|
4
|
+
export { validate } from './validate';
|
|
4
5
|
export declare function parse<TFlags extends OutputFlags<any>, BFlags extends OutputFlags<any>, TArgs extends OutputArgs<any>>(argv: string[], options: Input<TFlags, BFlags, TArgs>): Promise<ParserOutput<TFlags, BFlags, TArgs>>;
|
package/lib/parser/index.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.flagUsages = void 0;
|
|
3
|
+
exports.validate = exports.flagUsages = void 0;
|
|
4
4
|
exports.parse = parse;
|
|
5
5
|
const parse_1 = require("./parse");
|
|
6
6
|
const validate_1 = require("./validate");
|
|
7
7
|
var help_1 = require("./help");
|
|
8
8
|
Object.defineProperty(exports, "flagUsages", { enumerable: true, get: function () { return help_1.flagUsages; } });
|
|
9
|
+
var validate_2 = require("./validate");
|
|
10
|
+
Object.defineProperty(exports, "validate", { enumerable: true, get: function () { return validate_2.validate; } });
|
|
9
11
|
async function parse(argv, options) {
|
|
10
12
|
const input = {
|
|
11
13
|
'--': options['--'],
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oclif/core",
|
|
3
3
|
"description": "base library for oclif CLIs",
|
|
4
|
-
"version": "4.2.
|
|
4
|
+
"version": "4.2.10",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/oclif/core/issues",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"ansi-escapes": "^4.3.2",
|
|
9
|
-
"ansis": "^3.
|
|
9
|
+
"ansis": "^3.17.0",
|
|
10
10
|
"clean-stack": "^3.0.1",
|
|
11
11
|
"cli-spinners": "^2.9.2",
|
|
12
12
|
"debug": "^4.4.0",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@commitlint/config-conventional": "^19",
|
|
29
|
-
"@eslint/compat": "^1.2.
|
|
29
|
+
"@eslint/compat": "^1.2.7",
|
|
30
30
|
"@oclif/plugin-help": "^6",
|
|
31
31
|
"@oclif/plugin-plugins": "^5",
|
|
32
32
|
"@oclif/prettier-config": "^0.2.1",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"madge": "^6.1.0",
|
|
59
59
|
"mocha": "^10.8.2",
|
|
60
60
|
"nyc": "^15.1.0",
|
|
61
|
-
"prettier": "^3.
|
|
61
|
+
"prettier": "^3.5.3",
|
|
62
62
|
"shx": "^0.3.4",
|
|
63
63
|
"sinon": "^18",
|
|
64
64
|
"ts-node": "^10.9.2",
|