Skip to content

Commit e4cb2ff

Browse files
committed
Force eslint bump, confirm its included bugfix. Fixes #204
1 parent 432151b commit e4cb2ff

6 files changed

+114
-4
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"babel-core": "^5.0.0",
2121
"brfs": "^1.4.0",
2222
"concat-stream": "^1.5.0",
23-
"doctrine": "^0.7.0",
23+
"doctrine": "^0.7.1",
2424
"documentation-theme-default": "^1.0.0",
2525
"extend": "^3.0.0",
2626
"get-comments": "^1.0.1",

Diff for: test/fixture/optional.input.js

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* @param {string} address - An IPv6 address string
55
* @param {number} [groups=8] - How many octets to parse
66
* @param {?number} third - A third argument
7+
* @param {Array} [foo=[1]] to properly be parsed
78
* @example
89
* var address = new Address6('2001::/32');
910
*/

Diff for: test/fixture/optional.output.custom.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Represents an IPv6 address
77
- `address` **string** An IPv6 address string
88
- `groups` **[number]** How many octets to parse (optional, default `8`)
99
- `third` **[number]** A third argument
10+
- `foo` **[Array]** to properly be parsed (optional, default `[1]`)
1011

1112
**Examples**
1213

Diff for: test/fixture/optional.output.json

+31-3
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,24 @@
4747
},
4848
"name": "third"
4949
},
50+
{
51+
"title": "param",
52+
"description": "to properly be parsed",
53+
"lineNumber": 6,
54+
"type": {
55+
"type": "OptionalType",
56+
"expression": {
57+
"type": "NameExpression",
58+
"name": "Array"
59+
}
60+
},
61+
"name": "foo",
62+
"default": "[1]"
63+
},
5064
{
5165
"title": "example",
5266
"description": "var address = new Address6('2001::/32');",
53-
"lineNumber": 6
67+
"lineNumber": 7
5468
}
5569
],
5670
"loc": {
@@ -59,7 +73,7 @@
5973
"column": 0
6074
},
6175
"end": {
62-
"line": 9,
76+
"line": 10,
6377
"column": 3
6478
}
6579
},
@@ -70,7 +84,7 @@
7084
"column": 0
7185
},
7286
"end": {
73-
"line": 10,
87+
"line": 11,
7488
"column": 0
7589
}
7690
}
@@ -117,6 +131,20 @@
117131
"prefix": true
118132
},
119133
"name": "third"
134+
},
135+
{
136+
"title": "param",
137+
"description": "to properly be parsed",
138+
"lineNumber": 6,
139+
"type": {
140+
"type": "OptionalType",
141+
"expression": {
142+
"type": "NameExpression",
143+
"name": "Array"
144+
}
145+
},
146+
"name": "foo",
147+
"default": "[1]"
120148
}
121149
],
122150
"examples": [

Diff for: test/fixture/optional.output.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Represents an IPv6 address
77
- `address` **string** An IPv6 address string
88
- `groups` **[number]** How many octets to parse (optional, default `8`)
99
- `third` **[number]** A third argument
10+
- `foo` **[Array]** to properly be parsed (optional, default `[1]`)
1011

1112
**Examples**
1213

Diff for: test/fixture/optional.output.md.json

+79
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,85 @@
257257
]
258258
}
259259
]
260+
},
261+
{
262+
"type": "listItem",
263+
"children": [
264+
{
265+
"type": "paragraph",
266+
"children": [
267+
{
268+
"type": "inlineCode",
269+
"value": "foo"
270+
},
271+
{
272+
"type": "text",
273+
"value": " "
274+
},
275+
{
276+
"type": "strong",
277+
"children": [
278+
{
279+
"type": "text",
280+
"value": "[Array]"
281+
}
282+
]
283+
},
284+
{
285+
"type": "text",
286+
"value": " "
287+
},
288+
{
289+
"type": "paragraph",
290+
"children": [
291+
{
292+
"type": "text",
293+
"value": "to properly be parsed",
294+
"position": {
295+
"start": {
296+
"line": 1,
297+
"column": 1
298+
},
299+
"end": {
300+
"line": 1,
301+
"column": 22
302+
},
303+
"indent": []
304+
}
305+
}
306+
],
307+
"position": {
308+
"start": {
309+
"line": 1,
310+
"column": 1
311+
},
312+
"end": {
313+
"line": 1,
314+
"column": 22
315+
},
316+
"indent": []
317+
}
318+
},
319+
{
320+
"type": "paragraph",
321+
"children": [
322+
{
323+
"type": "text",
324+
"value": " (optional, default "
325+
},
326+
{
327+
"type": "inlineCode",
328+
"value": "[1]"
329+
},
330+
{
331+
"type": "text",
332+
"value": ")"
333+
}
334+
]
335+
}
336+
]
337+
}
338+
]
260339
}
261340
]
262341
},

0 commit comments

Comments
 (0)