Skip to content

Commit f19c4fb

Browse files
committed
util,doc: mark parseArgs() as stable
Fixes: nodejs#46640
1 parent 9e840de commit f19c4fb

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

doc/api/util.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -1384,6 +1384,10 @@ added:
13841384
- v18.3.0
13851385
- v16.17.0
13861386
changes:
1387+
- version:
1388+
- REPLACEME
1389+
pr-url: https://github.com/nodejs/node/pull/46718
1390+
description: The API is no longer experimental.
13871391
- version:
13881392
- v18.11.0
13891393
- v16.19.0
@@ -1397,8 +1401,6 @@ changes:
13971401
using `tokens` in input `config` and returned properties.
13981402
-->
13991403

1400-
> Stability: 1 - Experimental
1401-
14021404
* `config` {Object} Used to provide arguments for parsing and to configure
14031405
the parser. `config` supports the following properties:
14041406
* `args` {string\[]} array of argument strings. **Default:** `process.argv`
@@ -1477,9 +1479,6 @@ console.log(values, positionals);
14771479
// Prints: [Object: null prototype] { foo: true, bar: 'b' } []
14781480
```
14791481

1480-
`util.parseArgs` is experimental and behavior may change. Join the
1481-
conversation in [pkgjs/parseargs][] to contribute to the design.
1482-
14831482
### `parseArgs` `tokens`
14841483

14851484
Detailed parse information is available for adding custom behaviours by
@@ -3341,6 +3340,5 @@ util.log('Timestamped message.');
33413340
[default sort]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort
33423341
[global symbol registry]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/for
33433342
[list of deprecated APIS]: deprecations.md#list-of-deprecated-apis
3344-
[pkgjs/parseargs]: https://github.com/pkgjs/parseargs
33453343
[semantically incompatible]: https://github.com/nodejs/node/issues/4179
33463344
[util.inspect.custom]: #utilinspectcustom

0 commit comments

Comments
 (0)