yargs 12.0.0 → 12.0.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 +8 -3
- package/README.md +6 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
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
|
+
<a name="12.0.1"></a>
|
|
6
|
+
## [12.0.1](https://github.com/yargs/yargs/compare/v12.0.0...v12.0.1) (2018-06-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
5
10
|
<a name="12.0.0"></a>
|
|
6
11
|
# [12.0.0](https://github.com/yargs/yargs/compare/v11.1.0...v12.0.0) (2018-06-26)
|
|
7
12
|
|
|
@@ -28,8 +33,8 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
28
33
|
|
|
29
34
|
### BREAKING CHANGES
|
|
30
35
|
|
|
31
|
-
* Options absent from `argv` (not set via CLI argument) are now absent from the parsed result object rather
|
|
32
|
-
* drop Node
|
|
36
|
+
* Options absent from `argv` (not set via CLI argument) are now absent from the parsed result object rather than being set with `undefined`
|
|
37
|
+
* drop Node 4 from testing matrix, such that we'll gradually start drifting away from supporting Node 4.
|
|
33
38
|
* yargs-parser does not populate 'false' when boolean flag is not passed
|
|
34
39
|
* tests that assert against help output will need to be updated
|
|
35
40
|
|
|
@@ -686,7 +691,7 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
686
691
|
- [#308](https://github.com/bcoe/yargs/pull/308) Yargs now handles environment variables (@nexdrew)
|
|
687
692
|
- [#302](https://github.com/bcoe/yargs/pull/302) Add Indonesian translation (@rilut)
|
|
688
693
|
- [#300](https://github.com/bcoe/yargs/pull/300) Add Turkish translation (@feyzo)
|
|
689
|
-
- [#298](https://github.com/bcoe/yargs/pull/298) Add Norwegian
|
|
694
|
+
- [#298](https://github.com/bcoe/yargs/pull/298) Add Norwegian Bokmål translation (@sindresorhus)
|
|
690
695
|
- [#297](https://github.com/bcoe/yargs/pull/297) Fix for layout of cjk characters (@disjukr)
|
|
691
696
|
- [#296](https://github.com/bcoe/yargs/pull/296) Add Korean translation (@disjukr)
|
|
692
697
|
|
package/README.md
CHANGED
|
@@ -30,10 +30,16 @@ It gives you:
|
|
|
30
30
|
|
|
31
31
|
## Installation
|
|
32
32
|
|
|
33
|
+
Stable version:
|
|
33
34
|
```bash
|
|
34
35
|
npm i yargs --save
|
|
35
36
|
```
|
|
36
37
|
|
|
38
|
+
Bleeding edge version with the most recent features:
|
|
39
|
+
```bash
|
|
40
|
+
npm i yargs@next --save
|
|
41
|
+
```
|
|
42
|
+
|
|
37
43
|
## Usage :
|
|
38
44
|
|
|
39
45
|
### Simple Example
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yargs",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.1",
|
|
4
4
|
"description": "yargs the modern, pirate-themed, successor to optimist.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"files": [
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
],
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"cliui": "^4.0.0",
|
|
16
|
-
"decamelize": "^
|
|
17
|
-
"find-up": "^
|
|
16
|
+
"decamelize": "^2.0.0",
|
|
17
|
+
"find-up": "^3.0.0",
|
|
18
18
|
"get-caller-file": "^1.0.1",
|
|
19
19
|
"os-locale": "^2.0.0",
|
|
20
20
|
"require-directory": "^2.1.1",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"string-width": "^2.0.0",
|
|
24
24
|
"which-module": "^2.0.0",
|
|
25
25
|
"y18n": "^3.2.1 || ^4.0.0",
|
|
26
|
-
"yargs-parser": "^10.
|
|
26
|
+
"yargs-parser": "^10.1.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"chai": "^4.1.2",
|
|
@@ -68,6 +68,6 @@
|
|
|
68
68
|
],
|
|
69
69
|
"license": "MIT",
|
|
70
70
|
"engine": {
|
|
71
|
-
"node": ">=
|
|
71
|
+
"node": ">=6"
|
|
72
72
|
}
|
|
73
73
|
}
|