yargs 17.2.0 → 17.2.1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [17.2.1](https://www.github.com/yargs/yargs/compare/v17.2.0...v17.2.1) (2021-09-25)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **docs:** stop advertising .argv property ([#2036](https://www.github.com/yargs/yargs/issues/2036)) ([4f5ecc1](https://www.github.com/yargs/yargs/commit/4f5ecc1427ed6c83f23ea90ee6da75ce0c332f7a)), closes [#2035](https://www.github.com/yargs/yargs/issues/2035)
11
+
5
12
  ## [17.2.0](https://www.github.com/yargs/yargs/compare/v17.1.1...v17.2.0) (2021-09-23)
6
13
 
7
14
 
package/README.md CHANGED
@@ -103,7 +103,7 @@ yargs(hideBin(process.argv))
103
103
  type: 'boolean',
104
104
  description: 'Run with verbose logging'
105
105
  })
106
- .argv
106
+ .parse()
107
107
  ```
108
108
 
109
109
  Run the example above with `--help` to see the help for the application.
@@ -138,7 +138,7 @@ yargs(Deno.args)
138
138
  })
139
139
  .strictCommands()
140
140
  .demandCommand(1)
141
- .argv
141
+ .parse()
142
142
  ```
143
143
 
144
144
  ### ESM
@@ -154,7 +154,7 @@ yargs(hideBin(process.argv))
154
154
  console.info(argv)
155
155
  })
156
156
  .demandCommand(1)
157
- .argv
157
+ .parse()
158
158
  ```
159
159
 
160
160
  ### Usage in Browser
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yargs",
3
- "version": "17.2.0",
3
+ "version": "17.2.1",
4
4
  "description": "yargs the modern, pirate-themed, successor to optimist.",
5
5
  "main": "./index.cjs",
6
6
  "exports": {