@@ -1384,6 +1384,10 @@ added:
1384
1384
- v18.3.0
1385
1385
- v16.17.0
1386
1386
changes:
1387
+ - version:
1388
+ - REPLACEME
1389
+ pr-url: https://github.com/nodejs/node/pull/46718
1390
+ description: The API is no longer experimental.
1387
1391
- version:
1388
1392
- v18.11.0
1389
1393
- v16.19.0
@@ -1397,8 +1401,6 @@ changes:
1397
1401
using `tokens` in input `config` and returned properties.
1398
1402
-->
1399
1403
1400
- > Stability: 1 - Experimental
1401
-
1402
1404
* ` config ` {Object} Used to provide arguments for parsing and to configure
1403
1405
the parser. ` config ` supports the following properties:
1404
1406
* ` args ` {string\[ ] } array of argument strings. ** Default:** ` process.argv `
@@ -1477,9 +1479,6 @@ console.log(values, positionals);
1477
1479
// Prints: [Object: null prototype] { foo: true, bar: 'b' } []
1478
1480
```
1479
1481
1480
- ` util.parseArgs ` is experimental and behavior may change. Join the
1481
- conversation in [ pkgjs/parseargs] [ ] to contribute to the design.
1482
-
1483
1482
### ` parseArgs ` ` tokens `
1484
1483
1485
1484
Detailed parse information is available for adding custom behaviours by
@@ -3341,6 +3340,5 @@ util.log('Timestamped message.');
3341
3340
[default sort]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort
3342
3341
[global symbol registry]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/for
3343
3342
[list of deprecated APIS]: deprecations.md#list-of-deprecated-apis
3344
- [pkgjs/parseargs]: https://github.com/pkgjs/parseargs
3345
3343
[semantically incompatible]: https://github.com/nodejs/node/issues/4179
3346
3344
[util.inspect.custom]: #utilinspectcustom
0 commit comments