Skip to content

Commit 7809669

Browse files
authored
Update babel dependencies (documentationjs#536)
This is to pick up bug fix for documentationjs#523 Fixes documentationjs#523
1 parent a5ac4a7 commit 7809669

5 files changed

+18
-18
lines changed

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
},
99
"dependencies": {
1010
"ansi-html": "0.0.5",
11-
"babel-core": "^6.13.0",
12-
"babel-plugin-transform-decorators-legacy": "1.3.4",
13-
"babel-preset-es2015": "^6.13.0",
14-
"babel-preset-react": "^6.11.0",
11+
"babel-core": "^6.14.0",
12+
"babel-plugin-transform-decorators-legacy": "^1.3.4",
13+
"babel-preset-es2015": "^6.14.0",
14+
"babel-preset-react": "^6.11.1",
1515
"babel-preset-stage-0": "^6.5.0",
16-
"babel-traverse": "^6.13.0",
17-
"babel-types": "^6.7.2",
18-
"babelify": "^7.2.0",
19-
"babylon": "^6.5.2",
16+
"babel-traverse": "^6.15.0",
17+
"babel-types": "^6.15.0",
18+
"babelify": "^7.3.0",
19+
"babylon": "^6.9.1",
2020
"chalk": "^1.1.1",
2121
"chokidar": "^1.2.0",
2222
"concat-stream": "^1.5.0",

test/fixture/literal_types.input.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* @param {'a' | "b" | '' | 0 | 42 | 3.14} x
2+
* @param {'a' | "b" | '' | 0 | -42 | 3.14} x
33
*/
44
function f(x) {}
55

66
/** */
7-
function g(x: 'a' | "b" | '' | 0 | 42 | 3.14) {}
7+
function g(x: 'a' | "b" | '' | 0 | -42 | 3.14) {}

test/fixture/literal_types.output.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
{
2929
"type": "NumericLiteralType",
30-
"value": 42
30+
"value": -42
3131
},
3232
{
3333
"type": "NumericLiteralType",
@@ -86,7 +86,7 @@
8686
},
8787
{
8888
"type": "NumericLiteralType",
89-
"value": 42
89+
"value": -42
9090
},
9191
{
9292
"type": "NumericLiteralType",
@@ -131,7 +131,7 @@
131131
},
132132
"end": {
133133
"line": 7,
134-
"column": 48
134+
"column": 49
135135
}
136136
}
137137
},
@@ -164,7 +164,7 @@
164164
},
165165
{
166166
"type": "NumericLiteralType",
167-
"value": 42
167+
"value": -42
168168
},
169169
{
170170
"type": "NumericLiteralType",

test/fixture/literal_types.output.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
**Parameters**
66

7-
- `x` **(`"a"` \| `"b"` \| `""` \| `0` \| `42` \| `3.14`)**
7+
- `x` **(`"a"` \| `"b"` \| `""` \| `0` \| `-42` \| `3.14`)**
88

99
# g
1010

1111
**Parameters**
1212

13-
- `x` **(`"a"` \| `"b"` \| `""` \| `0` \| `42` \| `3.14`)**
13+
- `x` **(`"a"` \| `"b"` \| `""` \| `0` \| `-42` \| `3.14`)**

test/fixture/literal_types.output.md.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
},
8484
{
8585
"type": "inlineCode",
86-
"value": "42"
86+
"value": "-42"
8787
},
8888
{
8989
"type": "text",
@@ -187,7 +187,7 @@
187187
},
188188
{
189189
"type": "inlineCode",
190-
"value": "42"
190+
"value": "-42"
191191
},
192192
{
193193
"type": "text",

0 commit comments

Comments
 (0)