diff --git a/.eslintrc b/.eslintrc index 10e1dc860..2bf300124 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,8 +1,8 @@ { "root": true, - "parser": "babel-eslint", "parserOptions": { - "sourceType": "module" + "sourceType": "module", + "ecmaVersion": 2020 }, "rules": { "no-var": 2, @@ -26,10 +26,7 @@ "no-shadow": 0, "no-undef": 2 }, - "extends": [ - "eslint:recommended", - "prettier" - ], + "extends": ["eslint:recommended", "prettier"], "env": { "node": true, "es6": true diff --git a/CHANGELOG.md b/CHANGELOG.md index fbd3e6c3c..103a9f76f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ 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. +### [13.2.2](https://github.com/documentationjs/documentation/compare/v13.2.1...v13.2.2) (2021-04-20) + + +### Bug Fixes + +* [@see](https://github.com/see) tags incorrectly formatted in markdown ouput fixed [#1337](https://github.com/documentationjs/documentation/issues/1337) ([5d8d450](https://github.com/documentationjs/documentation/commit/5d8d4504d52a5bb0a0432bf399bbd82d9e5ea7fc)) + ### [13.2.1](https://github.com/documentationjs/documentation/compare/v13.2.0...v13.2.1) (2021-04-06) ## [13.2.0](https://github.com/documentationjs/documentation/compare/v13.1.1...v13.2.0) (2021-03-13) diff --git a/README.md b/README.md index b3cab6472..0f3aa1288 100644 --- a/README.md +++ b/README.md @@ -56,8 +56,8 @@ Usage: # generate markdown docs for index.js and files it references documentation build index.js -f md -# generate html docs for all files in src -documentation build src/** -f html -o docs +# generate html docs for all files in src, and include links to source files in github +documentation build src/** -f html --github -o docs # document index.js, ignoring any files it requires or imports documentation build index.js -f md --shallow diff --git a/__tests__/__snapshots__/bin-readme.js.snap b/__tests__/__snapshots__/bin-readme.js.snap index f82e9545f..d5272a090 100644 --- a/__tests__/__snapshots__/bin-readme.js.snap +++ b/__tests__/__snapshots__/bin-readme.js.snap @@ -9,10 +9,10 @@ exports[`readme autodetection of different filenames updates readme.markdown 1`] ### Table of Contents -- [foo](#foo) - - [Parameters](#parameters) -- [bar](#bar) - - [Parameters](#parameters-1) +* [foo](#foo) + * [Parameters](#parameters) +* [bar](#bar) + * [Parameters](#parameters-1) ## foo @@ -20,7 +20,7 @@ A function with documentation. ### Parameters -- \`a\` {string} blah +* \`a\` {string} blah Returns **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** answer @@ -30,7 +30,7 @@ A second function with docs ### Parameters -- \`b\` +* \`b\` # Another section " @@ -45,10 +45,10 @@ exports[`readme command --readme-file 1`] = ` ### Table of Contents -- [foo](#foo) - - [Parameters](#parameters) -- [bar](#bar) - - [Parameters](#parameters-1) +* [foo](#foo) + * [Parameters](#parameters) +* [bar](#bar) + * [Parameters](#parameters-1) ## foo @@ -56,7 +56,7 @@ A function with documentation. ### Parameters -- \`a\` {string} blah +* \`a\` {string} blah Returns **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** answer @@ -66,7 +66,7 @@ A second function with docs ### Parameters -- \`b\` +* \`b\` # Another section " @@ -81,10 +81,10 @@ exports[`readme command updates README.md 1`] = ` ### Table of Contents -- [foo](#foo) - - [Parameters](#parameters) -- [bar](#bar) - - [Parameters](#parameters-1) +* [foo](#foo) + * [Parameters](#parameters) +* [bar](#bar) + * [Parameters](#parameters-1) ## foo @@ -92,7 +92,7 @@ A function with documentation. ### Parameters -- \`a\` {string} blah +* \`a\` {string} blah Returns **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** answer @@ -102,7 +102,7 @@ A second function with docs ### Parameters -- \`b\` +* \`b\` # Another section " diff --git a/__tests__/__snapshots__/bin.js.snap b/__tests__/__snapshots__/bin.js.snap index 7d7219631..04c9b6fcc 100644 --- a/__tests__/__snapshots__/bin.js.snap +++ b/__tests__/__snapshots__/bin.js.snap @@ -1563,51 +1563,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Bananas are yellow", }, ], - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "examples": Array [], @@ -1665,51 +1627,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Carrots are awesome", }, ], - "position": Object { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "examples": Array [], @@ -1767,51 +1691,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Apples are red", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "examples": Array [], @@ -2110,51 +1996,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "test", }, ], - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "examples": Array [], @@ -2190,18 +2038,6 @@ Array [ Object { "description": Object { "children": Array [], - "position": Object { - "end": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -2251,51 +2087,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "test", }, ], - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "examples": Array [], @@ -2331,18 +2129,6 @@ Array [ Object { "description": Object { "children": Array [], - "position": Object { - "end": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -2387,51 +2173,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "test", }, ], - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "examples": Array [], @@ -2467,18 +2215,6 @@ Array [ Object { "description": Object { "children": Array [], - "position": Object { - "end": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", diff --git a/__tests__/__snapshots__/index.js.snap b/__tests__/__snapshots__/index.js.snap index 4f02e2c1d..bd494ced1 100644 --- a/__tests__/__snapshots__/index.js.snap +++ b/__tests__/__snapshots__/index.js.snap @@ -9,51 +9,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "hi", }, ], - "position": Position { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -118,49 +80,11 @@ exports[`build 3`] = ` \\"children\\": [ { \\"type\\": \\"text\\", - \\"value\\": \\"hi\\", - \\"position\\": { - \\"start\\": { - \\"line\\": 1, - \\"column\\": 1, - \\"offset\\": 0 - }, - \\"end\\": { - \\"line\\": 1, - \\"column\\": 3, - \\"offset\\": 2 - }, - \\"indent\\": [] - } + \\"value\\": \\"hi\\" } - ], - \\"position\\": { - \\"start\\": { - \\"line\\": 1, - \\"column\\": 1, - \\"offset\\": 0 - }, - \\"end\\": { - \\"line\\": 1, - \\"column\\": 3, - \\"offset\\": 2 - }, - \\"indent\\": [] - } - } - ], - \\"position\\": { - \\"start\\": { - \\"line\\": 1, - \\"column\\": 1, - \\"offset\\": 0 - }, - \\"end\\": { - \\"line\\": 1, - \\"column\\": 3, - \\"offset\\": 2 + ] } - } + ] }, \\"tags\\": [], \\"loc\\": { diff --git a/__tests__/__snapshots__/test.js.snap b/__tests__/__snapshots__/test.js.snap index 56200d84d..139870905 100644 --- a/__tests__/__snapshots__/test.js.snap +++ b/__tests__/__snapshots__/test.js.snap @@ -23,51 +23,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This Vue Component is a test", }, ], - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [ @@ -113,51 +75,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "vue-tested component", }, ], - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -204,51 +128,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a number", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [ @@ -324,51 +210,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This Vue Component is a test", }, ], - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -410,51 +258,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "vue-tested component", }, ], - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -501,51 +311,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "props", }, ], - "position": Position { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [ @@ -596,51 +368,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a number", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -725,7 +459,7 @@ This is my class, a demo thing. ### Properties -- \`howMany\` **[number][1]** how many things it contains +* \`howMany\` **[number][1]** how many things it contains ### getFoo @@ -733,7 +467,7 @@ Get the number 42 #### Parameters -- \`getIt\` **[boolean][2]** whether to get the number +* \`getIt\` **[boolean][2]** whether to get the number Returns **[number][1]** forty-two @@ -747,7 +481,6 @@ Returns **[undefined][3]** does not return anything. World - [1]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number [2]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean @@ -763,7 +496,6 @@ exports[`config with nested sections 1`] = ` - ### third This function is third @@ -780,12 +512,10 @@ forgot a memberof here... sure hope that doesn't crash anything! Contains a subsection! - ### Charlie Second is in here - #### second This class has some members @@ -796,7 +526,7 @@ second::foo ###### Parameters -- \`pork\` +* \`pork\` ##### bar @@ -804,8 +534,8 @@ second::bar ###### Parameters -- \`beans\` -- \`rice\` +* \`beans\` +* \`rice\` ## AClass @@ -839,85 +569,21 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "I am in ", }, Object { - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - }, "type": "inlineCode", "value": "external.input.js", }, Object { - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - }, "type": "text", "value": ".", }, ], - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -981,51 +647,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -1068,51 +696,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -1159,51 +749,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -1246,51 +798,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -1346,51 +860,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -1433,51 +909,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -1549,8 +987,8 @@ myFoo.foo(42); } \`\`\` -- Throws **[Error][1]** if you give it something -- Throws **[TypeError][2]** if you give it something else +* Throws **[Error][1]** if you give it something +* Throws **[TypeError][2]** if you give it something else Returns **[Number][3]** numberone @@ -3058,51 +2496,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number plus two.", }, ], - "position": Position { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -3142,51 +2542,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the number", }, ], - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 3, @@ -3212,51 +2574,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numbertwo", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -3319,51 +2643,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -3406,51 +2692,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -3578,15 +2826,15 @@ exports[`outputs boolean-literal-type.input.js markdown 1`] = ` ### Table of Contents -- [f][1] - - [Parameters][2] +* [f][1] + * [Parameters][2] ## f ### Parameters -- \`t\` **\`true\`** -- \`f\` **\`false\`** +* \`t\` **\`true\`** +* \`f\` **\`false\`** Returns **\\\\[\`true\`, \`false\`]** @@ -3689,6 +2937,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -3755,51 +3004,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is my class, a demo thing.", }, ], - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -3851,51 +3062,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Get the number 42", }, ], - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -3929,51 +3102,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "whether to get the number", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -4004,51 +3139,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "forty-two", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -4104,51 +3201,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Get undefined", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -4195,51 +3254,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "does not return anything.", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -4283,51 +3304,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "how many things it contains", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 4, @@ -4382,11 +3365,11 @@ exports[`outputs class.input.js markdown 1`] = ` ### Table of Contents -- [MyClass][1] - - [Properties][2] - - [getFoo][3] - - [Parameters][4] - - [getUndefined][5] +* [MyClass][1] + * [Properties][2] + * [getFoo][3] + * [Parameters][4] + * [getUndefined][5] ## MyClass @@ -4394,7 +3377,7 @@ This is my class, a demo thing. ### Properties -- \`howMany\` **[number][6]** how many things it contains +* \`howMany\` **[number][6]** how many things it contains ### getFoo @@ -4402,7 +3385,7 @@ Get the number 42 #### Parameters -- \`getIt\` **[boolean][7]** whether to get the number +* \`getIt\` **[boolean][7]** whether to get the number Returns **[number][6]** forty-two @@ -4450,36 +3433,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is my class, a demo thing.", }, ], - "position": Position { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -4529,36 +3486,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "how many things it contains", }, ], - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -4569,6 +3500,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -4584,36 +3516,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Get the number 42", }, ], - "position": Position { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -4663,36 +3569,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "whether to get the number", }, ], - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -4703,6 +3583,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -4734,36 +3615,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "forty-two", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -4782,36 +3637,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Get undefined", }, ], - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -4843,36 +3672,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "does not return anything.", }, ], - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -4922,51 +3725,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "i am foo", }, ], - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -5026,51 +3791,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "i am foo's son", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [ @@ -5127,8 +3854,8 @@ exports[`outputs default-export-function.input.js markdown 1`] = ` ### Table of Contents -- [default-export-function.input][1] -- [bar][2] +* [default-export-function.input][1] +* [bar][2] ## default-export-function.input @@ -5164,36 +3891,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "i am foo", }, ], - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -5209,36 +3910,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "i am foo's son", }, ], - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -5985,51 +4660,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Description of y3", }, ], - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -6908,51 +5545,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "f5 comment", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -7122,50 +5721,50 @@ exports[`outputs document-exported.input.js markdown 1`] = ` ### Table of Contents -- [x][1] - - [Parameters][2] -- [z][3] - - [zMethod][4] -- [Class][5] - - [Parameters][6] - - [classMethod][7] - - [classGetter][8] - - [classSetter][9] - - [Parameters][10] - - [staticMethod][11] - - [staticGetter][12] - - [staticSetter][13] - - [Parameters][14] -- [T5][15] -- [y2Default][16] -- [y4][17] - - [Parameters][18] -- [object][19] - - [method][20] - - [getter][21] - - [setter][22] - - [Parameters][23] - - [prop][24] - - [func][25] -- [f1][26] -- [f3][27] -- [T][28] -- [T2][29] -- [T4][30] -- [f4][31] - - [Parameters][32] -- [o1][33] - - [om1][34] -- [f5][35] - - [Parameters][36] -- [o2][37] - - [om2][38] +* [x][1] + * [Parameters][2] +* [z][3] + * [zMethod][4] +* [Class][5] + * [Parameters][6] + * [classMethod][7] + * [classGetter][8] + * [classSetter][9] + * [Parameters][10] + * [staticMethod][11] + * [staticGetter][12] + * [staticSetter][13] + * [Parameters][14] +* [T5][15] +* [y2Default][16] +* [y4][17] + * [Parameters][18] +* [object][19] + * [method][20] + * [getter][21] + * [setter][22] + * [Parameters][23] + * [prop][24] + * [func][25] +* [f1][26] +* [f3][27] +* [T][28] +* [T2][29] +* [T4][30] +* [f4][31] + * [Parameters][32] +* [o1][33] + * [om1][34] +* [f5][35] + * [Parameters][36] +* [o2][37] + * [om2][38] ## x ### Parameters -- \`yparam\` +* \`yparam\` ## z @@ -7175,7 +5774,7 @@ exports[`outputs document-exported.input.js markdown 1`] = ` ### Parameters -- \`a\` **[string][39]** +* \`a\` **[string][39]** ### classMethod @@ -7185,7 +5784,7 @@ exports[`outputs document-exported.input.js markdown 1`] = ` #### Parameters -- \`v\` +* \`v\` ### staticMethod @@ -7195,7 +5794,7 @@ exports[`outputs document-exported.input.js markdown 1`] = ` #### Parameters -- \`v\` +* \`v\` ## T5 @@ -7209,7 +5808,7 @@ Description of y3 ### Parameters -- \`p\` **[number][41]** +* \`p\` **[number][41]** Returns **void** @@ -7223,7 +5822,7 @@ Returns **void** #### Parameters -- \`v\` +* \`v\` ### prop @@ -7249,7 +5848,7 @@ Type: [string][39] ### Parameters -- \`x\` **X** +* \`x\` **X** ## o1 @@ -7261,7 +5860,7 @@ f5 comment ### Parameters -- \`y\` **Y** +* \`y\` **Y** ## o2 @@ -7404,6 +6003,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -7488,6 +6088,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -7556,6 +6157,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -7624,6 +6226,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -7679,36 +6282,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Description of y3", }, ], - "position": Position { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -7763,6 +6340,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -7863,6 +6441,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -8050,6 +6629,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -8085,36 +6665,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "f5 comment", }, ], - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -8162,6 +6716,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -8327,8 +6882,8 @@ exports[`outputs document-exported-export-default-object.input.js markdown 1`] = ### Table of Contents -- [document-exported-export-default-object.input][1] -- [x][2] +* [document-exported-export-default-object.input][1] +* [x][2] ## document-exported-export-default-object.input @@ -8433,7 +6988,7 @@ exports[`outputs document-exported-export-default-value.input.js markdown 1`] = ### Table of Contents -- [document-exported-export-default-value.input][1] +* [document-exported-export-default-value.input][1] ## document-exported-export-default-value.input @@ -8484,56 +7039,14 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 33, - "line": 2, - "offset": 88, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function destructures with defaults. It should not have any parameter descriptions.", }, ], - "position": Object { - "end": Object { - "column": 33, - "line": 2, - "offset": 88, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 33, - "line": 2, - "offset": 88, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -8626,51 +7139,13 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Similar, but with an array", }, ], - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -8771,51 +7246,13 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -8848,51 +7285,13 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "an array of numbers", }, ], - "position": Object { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -8932,51 +7331,13 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -9040,51 +7401,13 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a sink", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -9133,51 +7456,13 @@ class A { Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a property of the sink.", }, ], - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -9244,51 +7529,13 @@ class A { Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Is it empty", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -9355,51 +7602,13 @@ class A { Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 39, - "line": 1, - "offset": 38, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This uses the class property transform", }, ], - "position": Object { - "end": Object { - "column": 39, - "line": 1, - "offset": 38, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 39, - "line": 1, - "offset": 38, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -9484,56 +7693,14 @@ class A { Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 15, - "line": 2, - "offset": 63, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a getter method: it should be documented as a property.", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 2, - "offset": 63, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 2, - "offset": 63, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -9602,51 +7769,13 @@ as a property.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method says hello", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -9705,51 +7834,13 @@ as a property.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the height of the thing", }, ], - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -9766,51 +7857,13 @@ as a property.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the width of the thing", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 3, @@ -9885,51 +7938,13 @@ class A { Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 61, - "line": 1, - "offset": 60, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method returns a basket. The type should not be linked.", }, ], - "position": Object { - "end": Object { - "column": 61, - "line": 1, - "offset": 60, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 61, - "line": 1, - "offset": 60, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -9970,51 +7985,13 @@ class A { Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "a basket", }, ], - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -10059,19 +8036,6 @@ class A { Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method returns a ", }, @@ -10083,39 +8047,11 @@ class A { }, ], "jsdoc": true, - "position": Object { - "end": Object { - "column": 40, - "line": 1, - "offset": 39, - }, - "indent": Array [], - "start": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - }, "title": null, "type": "link", "url": "Sink", }, Object { - "position": Object { - "end": Object { - "column": 12, - "line": 2, - "offset": 79, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 40, - "line": 1, - "offset": 39, - }, - }, "type": "text", "value": ". The type should be linked. It takes a ", @@ -10128,71 +8064,18 @@ It takes a ", }, ], "jsdoc": true, - "position": Object { - "end": Object { - "column": 26, - "line": 2, - "offset": 93, - }, - "indent": Array [], - "start": Object { - "column": 12, - "line": 2, - "offset": 79, - }, - }, "title": null, "type": "link", "url": "number", }, Object { - "position": Object { - "end": Object { - "column": 55, - "line": 2, - "offset": 122, - }, - "indent": Array [], - "start": Object { - "column": 26, - "line": 2, - "offset": 93, - }, - }, "type": "text", "value": " which should also be linked.", }, ], - "position": Object { - "end": Object { - "column": 55, - "line": 2, - "offset": 122, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 55, - "line": 2, - "offset": 122, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -10233,51 +8116,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 7, - "line": 1, - "offset": 6, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "a sink", }, ], - "position": Object { - "end": Object { - "column": 7, - "line": 1, - "offset": 6, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 7, - "line": 1, - "offset": 6, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -10322,51 +8167,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function takes rest params", }, ], - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -10435,51 +8242,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "So does this one, with types", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -10553,51 +8322,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is an async method", }, ], - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -10657,51 +8388,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -10742,51 +8435,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -10831,51 +8486,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 53, - "line": 1, - "offset": 52, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This tests our support of optional parameters in ES6", }, ], - "position": Object { - "end": Object { - "column": 53, - "line": 1, - "offset": 52, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 53, - "line": 1, - "offset": 52, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -10943,51 +8560,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A protected function", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -11054,51 +8633,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A public function", }, ], - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -11164,51 +8705,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is re-exported", }, ], - "position": Object { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -11266,51 +8769,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Regression check for #498", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -11446,51 +8911,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Regression check for #749", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -11568,51 +8995,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "babel parser plugins", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -11661,40 +9050,40 @@ exports[`outputs es6.input.js markdown 1`] = ` ### Table of Contents -- [destructure][1] - - [Parameters][2] -- [destructure2][3] - - [Parameters][4] - - [Examples][5] -- [multiply][6] - - [Parameters][7] -- [Sink][8] - - [Parameters][9] - - [Examples][10] - - [staticProp][11] - - [empty][12] - - [classprop][13] - - [Parameters][14] - - [aGetter][15] - - [hello][16] -- [makeABasket][17] -- [makeASink][18] -- [functionWithRest][19] - - [Parameters][20] -- [functionWithRestAndType][21] - - [Parameters][22] -- [foo][23] -- [es6.input][24] -- [veryImportantTransform][25] - - [Parameters][26] -- [iAmProtected][27] -- [iAmPublic][28] -- [execute][29] -- [isArrayEqualWith][30] - - [Parameters][31] -- [paramWithMemberType][32] - - [Parameters][33] -- [A][34] +* [destructure][1] + * [Parameters][2] +* [destructure2][3] + * [Parameters][4] + * [Examples][5] +* [multiply][6] + * [Parameters][7] +* [Sink][8] + * [Parameters][9] + * [Examples][10] + * [staticProp][11] + * [empty][12] + * [classprop][13] + * [Parameters][14] + * [aGetter][15] + * [hello][16] +* [makeABasket][17] +* [makeASink][18] +* [functionWithRest][19] + * [Parameters][20] +* [functionWithRestAndType][21] + * [Parameters][22] +* [foo][23] +* [es6.input][24] +* [veryImportantTransform][25] + * [Parameters][26] +* [iAmProtected][27] +* [iAmPublic][28] +* [execute][29] +* [isArrayEqualWith][30] + * [Parameters][31] +* [paramWithMemberType][32] + * [Parameters][33] +* [A][34] ## destructure @@ -11703,10 +9092,11 @@ have any parameter descriptions. ### Parameters -- \`$0\` **[Object][35]** (optional, default \`{}\`) - - \`$0.phoneNumbers\` (optional, default \`[]\`) - - \`$0.emailAddresses\` (optional, default \`[]\`) - - \`$0.params\` **...any** +* \`$0\` **[Object][35]** (optional, default \`{}\`) + + * \`$0.phoneNumbers\` (optional, default \`[]\`) + * \`$0.emailAddresses\` (optional, default \`[]\`) + * \`$0.params\` **...any** ## destructure2 @@ -11714,11 +9104,12 @@ Similar, but with an array ### Parameters -- \`$0\` **[Array][36]** - - \`$0.0\` - - \`$0.1\` - - \`$0.2\` - - \`$0.3\` +* \`$0\` **[Array][36]** + + * \`$0.0\` + * \`$0.1\` + * \`$0.2\` + * \`$0.3\` ### Examples @@ -11732,8 +9123,8 @@ This function returns the number one. ### Parameters -- \`a\` **[Array][36]<[Number][37]>** an array of numbers -- \`b\` +* \`a\` **[Array][36]<[Number][37]>** an array of numbers +* \`b\` Returns **[Number][37]** numberone @@ -11743,8 +9134,8 @@ This is a sink ### Parameters -- \`height\` **[number][37]** the height of the thing -- \`width\` **[number][37]** the width of the thing +* \`height\` **[number][37]** the height of the thing +* \`width\` **[number][37]** the width of the thing ### Examples @@ -11770,7 +9161,7 @@ This uses the class property transform #### Parameters -- \`a\` **[number][37]** +* \`a\` **[number][37]** Returns **[string][38]** @@ -11802,7 +9193,7 @@ This function takes rest params ### Parameters -- \`someParams\` **...any** +* \`someParams\` **...any** ## functionWithRestAndType @@ -11810,7 +9201,7 @@ So does this one, with types ### Parameters -- \`someParams\` **...[number][37]** +* \`someParams\` **...[number][37]** ## foo @@ -11828,7 +9219,7 @@ This tests our support of optional parameters in ES6 ### Parameters -- \`foo\` (optional, default \`'bar'\`) +* \`foo\` (optional, default \`'bar'\`) ## iAmProtected @@ -11848,9 +9239,9 @@ Regression check for #498 ### Parameters -- \`array1\` **[Array][36]<T>** -- \`array2\` **[Array][36]<T>** -- \`compareFunction\` **function (a: T, b: T): [boolean][41]** (optional, default \`(a:T,b:T):boolean=>a===b\`) +* \`array1\` **[Array][36]\\\\** +* \`array2\` **[Array][36]\\\\** +* \`compareFunction\` **function (a: T, b: T): [boolean][41]** (optional, default \`(a:T,b:T):boolean=>a===b\`) Returns **[boolean][41]** @@ -11860,7 +9251,7 @@ Regression check for #749 ### Parameters -- \`a\` **atype.property** +* \`a\` **atype.property** Returns **[boolean][41]** @@ -11972,41 +9363,11 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 33, - "line": 2, - "offset": 88, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function destructures with defaults. It should not have any parameter descriptions.", }, ], - "position": Position { - "end": Object { - "column": 33, - "line": 2, - "offset": 88, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -12190,6 +9551,7 @@ have any parameter descriptions.", }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -12197,6 +9559,7 @@ have any parameter descriptions.", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -12212,36 +9575,10 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Similar, but with an array", }, ], - "position": Position { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -12383,6 +9720,7 @@ have any parameter descriptions.", }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -12390,6 +9728,7 @@ have any parameter descriptions.", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -12420,36 +9759,10 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -12518,36 +9831,10 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "an array of numbers", }, ], - "position": Position { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -12580,6 +9867,7 @@ have any parameter descriptions.", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -12611,36 +9899,10 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -12659,36 +9921,10 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a sink", }, ], - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -12738,36 +9974,10 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the height of the thing", }, ], - "position": Position { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -12811,36 +10021,10 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the width of the thing", }, ], - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -12851,6 +10035,7 @@ have any parameter descriptions.", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -12885,36 +10070,10 @@ class A { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a property of the sink.", }, ], - "position": Position { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -12930,36 +10089,10 @@ class A { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Is it empty", }, ], - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -12975,36 +10108,10 @@ class A { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 39, - "line": 1, - "offset": 38, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This uses the class property transform", }, ], - "position": Position { - "end": Object { - "column": 39, - "line": 1, - "offset": 38, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13059,6 +10166,7 @@ class A { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -13103,41 +10211,11 @@ class A { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 15, - "line": 2, - "offset": 63, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a getter method: it should be documented as a property.", }, ], - "position": Position { - "end": Object { - "column": 15, - "line": 2, - "offset": 63, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13153,36 +10231,10 @@ as a property.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method says hello", }, ], - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13198,36 +10250,10 @@ as a property.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 61, - "line": 1, - "offset": 60, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method returns a basket. The type should not be linked.", }, ], - "position": Position { - "end": Object { - "column": 61, - "line": 1, - "offset": 60, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13252,36 +10278,10 @@ as a property.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "a basket", }, ], - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -13300,19 +10300,6 @@ as a property.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method returns a ", }, @@ -13328,21 +10315,6 @@ as a property.", "type": "linkReference", }, Object { - "position": Position { - "end": Object { - "column": 12, - "line": 2, - "offset": 79, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 40, - "line": 1, - "offset": 39, - }, - }, "type": "text", "value": ". The type should be linked. It takes a ", @@ -13359,38 +10331,10 @@ It takes a ", "type": "linkReference", }, Object { - "position": Position { - "end": Object { - "column": 55, - "line": 2, - "offset": 122, - }, - "indent": Array [], - "start": Object { - "column": 26, - "line": 2, - "offset": 93, - }, - }, "type": "text", "value": " which should also be linked.", }, ], - "position": Position { - "end": Object { - "column": 55, - "line": 2, - "offset": 122, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13422,36 +10366,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 7, - "line": 1, - "offset": 6, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "a sink", }, ], - "position": Position { - "end": Object { - "column": 7, - "line": 1, - "offset": 6, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -13470,36 +10388,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function takes rest params", }, ], - "position": Position { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13551,6 +10443,7 @@ It takes a ", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -13566,36 +10459,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "So does this one, with types", }, ], - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13654,6 +10521,7 @@ It takes a ", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -13669,36 +10537,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is an async method", }, ], - "position": Position { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13714,36 +10556,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13775,36 +10591,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -13823,36 +10613,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 53, - "line": 1, - "offset": 52, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This tests our support of optional parameters in ES6", }, ], - "position": Position { - "end": Object { - "column": 53, - "line": 1, - "offset": 52, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13908,6 +10672,7 @@ It takes a ", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -13923,36 +10688,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A protected function", }, ], - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13968,36 +10707,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A public function", }, ], - "position": Position { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -14013,36 +10726,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is re-exported", }, ], - "position": Position { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -14058,36 +10745,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Regression check for #498", }, ], - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -14291,6 +10952,7 @@ It takes a ", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -14335,36 +10997,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Regression check for #749", }, ], - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -14412,6 +11048,7 @@ It takes a ", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -14456,36 +11093,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "babel parser plugins", }, ], - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -14569,51 +11180,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 46, - "line": 1, - "offset": 45, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is my component. This is from issue #458", }, ], - "position": Object { - "end": Object { - "column": 46, - "line": 1, - "offset": 45, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 46, - "line": 1, - "offset": 45, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -14673,51 +11246,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Does nothing. This is from issue #556", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -14758,51 +11293,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A useless property", }, ], - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -14922,51 +11419,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 54, - "line": 1, - "offset": 53, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This class has fully inferred constructor parameters.", }, ], - "position": Object { - "end": Object { - "column": 54, - "line": 1, - "offset": 53, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 54, - "line": 1, - "offset": 53, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -15043,12 +11502,12 @@ exports[`outputs es6-class.input.js markdown 1`] = ` ### Table of Contents -- [Foo][1] -- [Bar][2] - - [Parameters][3] - - [bar][4] -- [Baz][5] - - [Parameters][6] +* [Foo][1] +* [Bar][2] + * [Parameters][3] + * [bar][4] +* [Baz][5] + * [Parameters][6] ## Foo @@ -15062,7 +11521,7 @@ Does nothing. This is from issue #556 ### Parameters -- \`str\` **[string][7]** +* \`str\` **[string][7]** ### bar @@ -15076,8 +11535,8 @@ This class has fully inferred constructor parameters. ### Parameters -- \`n\` **[number][8]** -- \`l\` **[Array][9]<[string][7]>** +* \`n\` **[number][8]** +* \`l\` **[Array][9]<[string][7]>** [1]: #foo @@ -15137,36 +11596,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 46, - "line": 1, - "offset": 45, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is my component. This is from issue #458", }, ], - "position": Position { - "end": Object { - "column": 46, - "line": 1, - "offset": 45, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -15182,36 +11615,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Does nothing. This is from issue #556", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -15266,6 +11673,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -15281,36 +11689,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A useless property", }, ], - "position": Position { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -15346,36 +11728,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 54, - "line": 1, - "offset": 53, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This class has fully inferred constructor parameters.", }, ], - "position": Position { - "end": Object { - "column": 54, - "line": 1, - "offset": 53, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -15487,6 +11843,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -15533,51 +11890,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is for issue 906.", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -15618,51 +11937,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 31, - "line": 1, - "offset": 30, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a read-write property.", }, ], - "position": Object { - "end": Object { - "column": 31, - "line": 1, - "offset": 30, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 31, - "line": 1, - "offset": 30, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -15743,51 +12024,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 30, - "line": 1, - "offset": 29, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a read-only property.", }, ], - "position": Object { - "end": Object { - "column": 30, - "line": 1, - "offset": 29, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 30, - "line": 1, - "offset": 29, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -15883,9 +12126,9 @@ exports[`outputs es6-class-property.input.js markdown 1`] = ` ### Table of Contents -- [Issue906][1] - - [readWriteProp][2] - - [readOnlyProp][3] +* [Issue906][1] + * [readWriteProp][2] + * [readOnlyProp][3] ## Issue906 @@ -15935,36 +12178,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is for issue 906.", }, ], - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -15980,36 +12197,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 31, - "line": 1, - "offset": 30, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a read-write property.", }, ], - "position": Position { - "end": Object { - "column": 31, - "line": 1, - "offset": 30, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -16045,36 +12236,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 30, - "line": 1, - "offset": 29, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a read-only property.", }, ], - "position": Position { - "end": Object { - "column": 30, - "line": 1, - "offset": 29, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -16190,14 +12355,14 @@ exports[`outputs es6-default2.input.js markdown 1`] = ` ### Table of Contents -- [es6-default2.input][1] - - [Parameters][2] +* [es6-default2.input][1] + * [Parameters][2] ## es6-default2.input ### Parameters -- \`thisIsTheArgument\` +* \`thisIsTheArgument\` [1]: #es6-default2input @@ -16258,6 +12423,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -16286,51 +12452,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -16377,51 +12505,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -16466,51 +12556,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 34, - "line": 1, - "offset": 33, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is the default export frogs!", }, ], - "position": Object { - "end": Object { - "column": 34, - "line": 1, - "offset": 33, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 34, - "line": 1, - "offset": 33, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -16568,51 +12620,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -16653,51 +12667,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -16731,10 +12707,10 @@ exports[`outputs es6-import.input.js markdown 1`] = ` ### Table of Contents -- [multiplyTwice][1] - - [Parameters][2] -- [es6-ext][3] -- [simple.input][4] +* [multiplyTwice][1] + * [Parameters][2] +* [es6-ext][3] +* [simple.input][4] ## multiplyTwice @@ -16742,7 +12718,7 @@ This function returns the number one. ### Parameters -- \`a\` +* \`a\` Returns **[Number][5]** numberone @@ -16788,36 +12764,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -16856,6 +12806,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -16887,36 +12838,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -16935,36 +12860,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 34, - "line": 1, - "offset": 33, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is the default export frogs!", }, ], - "position": Position { - "end": Object { - "column": 34, - "line": 1, - "offset": 33, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -16980,36 +12879,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -17041,36 +12914,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -17108,51 +12955,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Mouse event", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -17192,51 +13001,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the pixel location of the event", }, ], - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 5, @@ -17253,51 +13024,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the original DOM event", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 6, @@ -17363,8 +13096,8 @@ exports[`outputs event.input.js markdown 1`] = ` ### Table of Contents -- [Map#mousemove][1] - - [Properties][2] +* [Map#mousemove][1] + * [Properties][2] ## Map#mousemove @@ -17374,8 +13107,8 @@ Type: [Object][3] ### Properties -- \`point\` **Point** the pixel location of the event -- \`originalEvent\` **[Event][4]** the original DOM event +* \`point\` **Point** the pixel location of the event +* \`originalEvent\` **[Event][4]** the original DOM event [1]: #mapmousemove @@ -17407,36 +13140,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Mouse event", }, ], - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -17499,36 +13206,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the pixel location of the event", }, ], - "position": Position { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -17572,36 +13253,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the original DOM event", }, ], - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -17612,6 +13267,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -17652,51 +13308,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -17707,51 +13325,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "demonstrates how to run foo", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "description": "foo(1);", @@ -17793,51 +13373,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -17877,8 +13419,8 @@ exports[`outputs example-caption.input.js markdown 1`] = ` ### Table of Contents -- [foo][1] - - [Examples][2] +* [foo][1] + * [Examples][2] ## foo @@ -17888,7 +13430,6 @@ This function returns the number one. demonstrates how to run foo - \`\`\`javascript foo(1); \`\`\` @@ -17923,36 +13464,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -17972,51 +13487,13 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "demonstrates how to run foo", }, ], - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, ], @@ -18056,36 +13533,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -18123,85 +13574,21 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "I am in ", }, Object { - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - }, "type": "inlineCode", "value": "external.input.js", }, Object { - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - }, "type": "text", "value": ".", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -18250,7 +13637,7 @@ exports[`outputs external.input.js markdown 1`] = ` ### Table of Contents -- [foo][1] +* [foo][1] ## foo @@ -18280,70 +13667,18 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "I am in ", }, Object { - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - }, "type": "inlineCode", "value": "external.input.js", }, Object { - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - }, "type": "text", "value": ".", }, ], - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -18372,51 +13707,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "an area chart generator", }, ], - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -18457,51 +13754,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "chart", }, ], - "position": Object { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -18607,51 +13866,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Sets the chart data.", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [ @@ -18721,10 +13942,10 @@ exports[`outputs factory.input.js markdown 1`] = ` ### Table of Contents -- [area][1] -- [area][2] -- [data][3] - - [Parameters][4] +* [area][1] +* [area][2] +* [data][3] + * [Parameters][4] ## area @@ -18740,7 +13961,7 @@ Sets the chart data. ### Parameters -- \`_\` +* \`_\` [1]: #area @@ -18774,36 +13995,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "an area chart generator", }, ], - "position": Position { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -18835,36 +14030,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "chart", }, ], - "position": Position { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -18893,36 +14062,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Sets the chart data.", }, ], - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -18961,6 +14104,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -18995,51 +14139,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 30, - "line": 1, - "offset": 29, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "MyOpaqueType Description Here", }, ], - "position": Object { - "end": Object { - "column": 30, - "line": 1, - "offset": 29, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 30, - "line": 1, - "offset": 29, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -19086,7 +14192,7 @@ exports[`outputs flow-exported-opaque-type.input.js markdown 1`] = ` ### Table of Contents -- [MyOpaqueType][1] +* [MyOpaqueType][1] ## MyOpaqueType @@ -19116,36 +14222,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 30, - "line": 1, - "offset": 29, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "MyOpaqueType Description Here", }, ], - "position": Position { - "end": Object { - "column": 30, - "line": 1, - "offset": 29, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -19174,51 +14254,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 4, - "line": 1, - "offset": 3, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "foo", }, ], - "position": Object { - "end": Object { - "column": 4, - "line": 1, - "offset": 3, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 4, - "line": 1, - "offset": 3, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -19306,51 +14348,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "value", }, ], - "position": Object { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -19399,8 +14403,8 @@ exports[`outputs flow-optional-chaining.input.js markdown 1`] = ` ### Table of Contents -- [foo][1] -- [value][2] +* [foo][1] +* [value][2] ## foo @@ -19440,36 +14444,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 4, - "line": 1, - "offset": 3, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "foo", }, ], - "position": Position { - "end": Object { - "column": 4, - "line": 1, - "offset": 3, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -19537,36 +14515,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "value", }, ], - "position": Position { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -19601,51 +14553,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "x", }, ], - "position": Object { - "end": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -19720,51 +14634,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "x2", }, ], - "position": Object { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -19839,51 +14715,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "T", }, ], - "position": Object { - "end": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -19978,51 +14816,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "T2", }, ], - "position": Object { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -20117,51 +14917,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "T3", }, ], - "position": Object { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -20236,11 +14998,11 @@ exports[`outputs flow-unnamed-params.input.js markdown 1`] = ` ### Table of Contents -- [x][1] -- [x2][2] -- [T][3] -- [T2][4] -- [T3][5] +* [x][1] +* [x2][2] +* [T][3] +* [T2][4] +* [T3][5] ## x @@ -20258,13 +15020,13 @@ Type: function (a: [T][6]): [string][7] T -Type: function ([Array][8]<[string][7]>): {num: [number][9]} +Type: function ([Array][8]<[string][7]>): {num: [number][9]} ## T2 T2 -Type: function (a: [Array][8]<[string][7]>): {num: [number][9]} +Type: function (a: [Array][8]<[string][7]>): {num: [number][9]} ## T3 @@ -20312,36 +15074,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "x", }, ], - "position": Position { - "end": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -20400,36 +15136,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "x2", }, ], - "position": Position { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -20492,36 +15202,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "T", }, ], - "position": Position { - "end": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -20611,36 +15295,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "T2", }, ], - "position": Position { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -20734,36 +15392,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "T3", }, ], - "position": Position { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -20896,51 +15528,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "C description", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -20981,51 +15575,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "m description", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -21101,8 +15657,8 @@ exports[`outputs infer-private.input.js markdown 1`] = ` ### Table of Contents -- [C][1] - - [m][2] +* [C][1] + * [m][2] ## C @@ -21138,36 +15694,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "C description", }, ], - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -21183,36 +15713,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "m description", }, ], - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -21246,51 +15750,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 41, - "line": 1, - "offset": 40, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "With ES6, built-in types are extensible!", }, ], - "position": Object { - "end": Object { - "column": 41, - "line": 1, - "offset": 40, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 41, - "line": 1, - "offset": 40, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -21400,8 +15866,8 @@ exports[`outputs inheritance.input.js markdown 1`] = ` ### Table of Contents -- [SpecialArray][1] -- [Foo][2] +* [SpecialArray][1] +* [Foo][2] ## SpecialArray @@ -21455,36 +15921,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 41, - "line": 1, - "offset": 40, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "With ES6, built-in types are extensible!", }, ], - "position": Position { - "end": Object { - "column": 41, - "line": 1, - "offset": 40, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -21523,51 +15963,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Adds one to a number", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -21600,51 +16002,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the input", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -21670,51 +16034,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the output", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -21769,21 +16095,6 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 1, - "line": 2, - "offset": 60, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one. Internally, this uses ", @@ -21796,39 +16107,11 @@ Array [ }, ], "jsdoc": true, - "position": Object { - "end": Object { - "column": 15, - "line": 2, - "offset": 74, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 2, - "offset": 60, - }, - }, "title": null, "type": "link", "url": "addOne", }, Object { - "position": Object { - "end": Object { - "column": 1, - "line": 3, - "offset": 109, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 15, - "line": 2, - "offset": 74, - }, - }, "type": "text", "value": " to do the math. This demonstrates ", @@ -21841,39 +16124,11 @@ Array [ }, ], "jsdoc": true, - "position": Object { - "end": Object { - "column": 56, - "line": 3, - "offset": 164, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 3, - "offset": 109, - }, - }, "title": null, "type": "link", "url": "https://en.wikipedia.org/wiki/Addition", }, Object { - "position": Object { - "end": Object { - "column": 5, - "line": 4, - "offset": 169, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 56, - "line": 3, - "offset": 164, - }, - }, "type": "text", "value": " and ", @@ -21886,59 +16141,16 @@ and ", }, ], "jsdoc": true, - "position": Object { - "end": Object { - "column": 51, - "line": 4, - "offset": 215, - }, - "indent": Array [], - "start": Object { - "column": 5, - "line": 4, - "offset": 169, - }, - }, "title": null, "type": "link", "url": "https://en.wikipedia.org/wiki/Addition", }, ], - "position": Object { - "end": Object { - "column": 51, - "line": 4, - "offset": 215, - }, - "indent": Array [ - 1, - 1, - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 30, - "line": 6, - "offset": 246, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 6, - "offset": 217, - }, - }, "type": "text", "value": "This link refers to nothing: ", }, @@ -21950,52 +16162,14 @@ and ", }, ], "jsdoc": true, - "position": Object { - "end": Object { - "column": 45, - "line": 6, - "offset": 261, - }, - "indent": Array [], - "start": Object { - "column": 30, - "line": 6, - "offset": 246, - }, - }, "title": null, "type": "link", "url": "nothing", }, ], - "position": Object { - "end": Object { - "column": 45, - "line": 6, - "offset": 261, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 6, - "offset": 217, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 45, - "line": 6, - "offset": 261, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -22028,51 +16202,13 @@ and ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the input", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 8, @@ -22098,51 +16234,13 @@ and ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -22186,10 +16284,10 @@ exports[`outputs inline-link.input.js markdown 1`] = ` ### Table of Contents -- [addOne][1] - - [Parameters][2] -- [inline-link.input][3] - - [Parameters][4] +* [addOne][1] + * [Parameters][2] +* [inline-link.input][3] + * [Parameters][4] ## addOne @@ -22197,7 +16295,7 @@ Adds one to a number ### Parameters -- \`a\` **[number][5]** the input +* \`a\` **[number][5]** the input Returns **[number][5]** the output @@ -22212,7 +16310,7 @@ This link refers to nothing: [nothing][7] ### Parameters -- \`a\` **[number][5]** the input +* \`a\` **[number][5]** the input Returns **[number][5]** numberone @@ -22252,36 +16350,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Adds one to a number", }, ], - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -22331,36 +16403,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the input", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -22371,6 +16417,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -22402,36 +16449,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the output", }, ], - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -22450,21 +16471,6 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 1, - "line": 2, - "offset": 60, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one. Internally, this uses ", @@ -22481,21 +16487,6 @@ Object { "type": "linkReference", }, Object { - "position": Position { - "end": Object { - "column": 1, - "line": 3, - "offset": 109, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 15, - "line": 2, - "offset": 74, - }, - }, "type": "text", "value": " to do the math. This demonstrates ", @@ -22512,21 +16503,6 @@ Object { "type": "linkReference", }, Object { - "position": Position { - "end": Object { - "column": 5, - "line": 4, - "offset": 169, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 56, - "line": 3, - "offset": 164, - }, - }, "type": "text", "value": " and ", @@ -22543,41 +16519,11 @@ and ", "type": "linkReference", }, ], - "position": Position { - "end": Object { - "column": 51, - "line": 4, - "offset": 215, - }, - "indent": Array [ - 1, - 1, - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 30, - "line": 6, - "offset": 246, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 6, - "offset": 217, - }, - }, "type": "text", "value": "This link refers to nothing: ", }, @@ -22593,19 +16539,6 @@ and ", "type": "linkReference", }, ], - "position": Position { - "end": Object { - "column": 45, - "line": 6, - "offset": 261, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 6, - "offset": 217, - }, - }, "type": "paragraph", }, Object { @@ -22655,36 +16588,10 @@ and ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the input", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -22695,6 +16602,7 @@ and ", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -22726,36 +16634,10 @@ and ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -22820,51 +16702,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 22, - "line": 1, - "offset": 21, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is my interface.", }, ], - "position": Object { - "end": Object { - "column": 22, - "line": 1, - "offset": 21, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 22, - "line": 1, - "offset": 21, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -22905,51 +16749,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is prop 1", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -23020,51 +16826,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is prop 2", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -23144,9 +16912,9 @@ exports[`outputs interface.input.js markdown 1`] = ` ### Table of Contents -- [Foo][1] - - [prop1][2] - - [prop2][3] +* [Foo][1] + * [prop1][2] + * [prop2][3] ## Foo @@ -23216,36 +16984,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 22, - "line": 1, - "offset": 21, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is my interface.", }, ], - "position": Position { - "end": Object { - "column": 22, - "line": 1, - "offset": 21, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -23261,36 +17003,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is prop 1", }, ], - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -23326,36 +17042,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is prop 2", }, ], - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -23416,85 +17106,21 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "I am in ", }, Object { - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - }, "type": "inlineCode", "value": "external.input.js", }, Object { - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - }, "type": "text", "value": ".", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -23543,7 +17169,7 @@ exports[`outputs internal.input.js markdown 1`] = ` ### Table of Contents -- [foo][1] +* [foo][1] ## foo @@ -23573,70 +17199,18 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "I am in ", }, Object { - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - }, "type": "inlineCode", "value": "external.input.js", }, Object { - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - }, "type": "text", "value": ".", }, ], - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -23673,51 +17247,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A neat layout view", }, ], - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -23758,51 +17294,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "My field", }, ], - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -23867,51 +17365,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "My neat function", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -23945,51 +17405,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "your word", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -24020,51 +17442,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "your word but one better", }, ], - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -24120,51 +17504,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "My neat function", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -24198,51 +17544,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "your word", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -24273,51 +17581,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "your word but one better", }, ], - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -24397,12 +17667,12 @@ exports[`outputs lends.input.js markdown 1`] = ` ### Table of Contents -- [TheClass][1] - - [my-field][2] - - [foo][3] - - [Parameters][4] - - [bar][5] - - [Parameters][6] +* [TheClass][1] + * [my-field][2] + * [foo][3] + * [Parameters][4] + * [bar][5] + * [Parameters][6] ## TheClass @@ -24420,7 +17690,7 @@ My neat function #### Parameters -- \`word\` **[string][7]** your word +* \`word\` **[string][7]** your word Returns **[string][7]** your word but one better @@ -24430,7 +17700,7 @@ My neat function #### Parameters -- \`word\` **[string][7]** your word +* \`word\` **[string][7]** your word Returns **[string][7]** your word but one better @@ -24488,36 +17758,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A neat layout view", }, ], - "position": Position { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -24533,36 +17777,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "My field", }, ], - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -24578,36 +17796,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "My neat function", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -24657,36 +17849,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "your word", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -24697,6 +17863,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -24728,36 +17895,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "your word but one better", }, ], - "position": Position { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -24776,36 +17917,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "My neat function", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -24855,36 +17970,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "your word", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -24895,6 +17984,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -24926,36 +18016,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "your word but one better", }, ], - "position": Position { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -25194,22 +18258,22 @@ exports[`outputs literal_types.input.js markdown 1`] = ` ### Table of Contents -- [f][1] - - [Parameters][2] -- [g][3] - - [Parameters][4] +* [f][1] + * [Parameters][2] +* [g][3] + * [Parameters][4] ## f ### Parameters -- \`x\` **(\`\\"a\\"\` \\\\| \`\\"b\\"\` \\\\| \`\\"\\"\` \\\\| \`0\` \\\\| \`-42\` \\\\| \`3.14\`)** +* \`x\` **(\`\\"a\\"\` | \`\\"b\\"\` | \`\\"\\"\` | \`0\` | \`-42\` | \`3.14\`)** ## g ### Parameters -- \`x\` **(\`\\"a\\"\` \\\\| \`\\"b\\"\` \\\\| \`\\"\\"\` \\\\| \`0\` \\\\| \`-42\` \\\\| \`3.14\`)** +* \`x\` **(\`\\"a\\"\` | \`\\"b\\"\` | \`\\"\\"\` | \`0\` | \`-42\` | \`3.14\`)** [1]: #f @@ -25331,6 +18395,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -25436,6 +18501,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -25464,51 +18530,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is my class, a demo thing.", }, ], - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [ @@ -25555,51 +18583,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Get the number 42", }, ], - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -25633,51 +18623,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "whether to get the number", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 3, @@ -25708,51 +18660,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "forty-two", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -25810,51 +18724,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Get undefined", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -25901,51 +18777,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "does not return anything.", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -26010,10 +18848,10 @@ exports[`outputs memberedclass.input.js markdown 1`] = ` ### Table of Contents -- [MyClass][1] - - [getFoo][2] - - [Parameters][3] - - [getUndefined][4] +* [MyClass][1] + * [getFoo][2] + * [Parameters][3] + * [getUndefined][4] ## MyClass @@ -26025,7 +18863,7 @@ Get the number 42 #### Parameters -- \`getIt\` **[boolean][5]** whether to get the number +* \`getIt\` **[boolean][5]** whether to get the number Returns **[number][6]** forty-two @@ -26071,36 +18909,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is my class, a demo thing.", }, ], - "position": Position { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -26116,36 +18928,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Get the number 42", }, ], - "position": Position { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -26195,36 +18981,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "whether to get the number", }, ], - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -26235,6 +18995,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -26266,36 +19027,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "forty-two", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -26314,36 +19049,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Get undefined", }, ], - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -26375,36 +19084,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "does not return anything.", }, ], - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -26454,85 +19137,21 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Add five to ", }, Object { - "position": Object { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "indent": Array [], - "start": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - }, "type": "inlineCode", "value": "x", }, Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - }, "type": "text", "value": ".", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -26565,51 +19184,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The number to add five to.", }, ], - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 3, @@ -26635,51 +19216,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "x plus five.", }, ], - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -26717,8 +19260,8 @@ exports[`outputs merge-infered-type.input.js markdown 1`] = ` ### Table of Contents -- [addFive][1] - - [Parameters][2] +* [addFive][1] + * [Parameters][2] ## addFive @@ -26726,7 +19269,7 @@ Add five to \`x\`. ### Parameters -- \`x\` **[number][3]** The number to add five to. +* \`x\` **[number][3]** The number to add five to. Returns **[number][3]** x plus five. @@ -26758,70 +19301,18 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Add five to ", }, Object { - "position": Position { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "indent": Array [], - "start": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - }, "type": "inlineCode", "value": "x", }, Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - }, "type": "text", "value": ".", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -26871,36 +19362,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The number to add five to.", }, ], - "position": Position { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -26911,6 +19376,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -26942,36 +19408,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "x plus five.", }, ], - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -27009,51 +19449,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Tom MacWright", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "description": Object { @@ -27061,51 +19463,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -27147,51 +19511,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -27210,69 +19536,18 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - }, "type": "text", "value": "markdown link", }, ], - "position": Object { - "end": Object { - "column": 33, - "line": 1, - "offset": 32, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "title": null, "type": "link", "url": "http://foo.com/", }, ], - "position": Object { - "end": Object { - "column": 33, - "line": 1, - "offset": 32, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 33, - "line": 1, - "offset": 32, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "sees", @@ -27333,12 +19608,11 @@ exports[`outputs meta.input.js markdown 1`] = ` ### Table of Contents -- [meta.input][1] +* [meta.input][1] ## meta.input -- **See: [markdown link][2] - ** +* **See**: [markdown link][2] This function returns the number one. @@ -27346,11 +19620,10 @@ Returns **[number][3]** numberone **Meta** -- **version**: 1.0.0 -- **since**: 2.0.0 -- **copyright**: Tom MacWright - -- **license**: BSD +* **version**: 1.0.0 +* **since**: 2.0.0 +* **copyright**: Tom MacWright +* **license**: BSD [1]: #metainput @@ -27383,9 +19656,18 @@ Object { "children": Array [ Object { "children": Array [ + Object { + "children": Array [ + Object { + "type": "text", + "value": "See", + }, + ], + "type": "strong", + }, Object { "type": "text", - "value": "See: ", + "value": ": ", }, Object { "children": Array [ @@ -27394,19 +19676,6 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - }, "type": "text", "value": "markdown link", }, @@ -27416,79 +19685,29 @@ Object { "type": "linkReference", }, ], - "position": Position { - "end": Object { - "column": 33, - "line": 1, - "offset": 32, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 33, - "line": 1, - "offset": 32, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, ], - "type": "strong", + "type": "paragraph", }, ], "type": "listItem", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -27520,36 +19739,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -27642,51 +19835,13 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Tom MacWright", }, ], - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, ], @@ -27724,6 +19879,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -27764,51 +19920,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Get the time", }, ], - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -27855,51 +19973,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the current date", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -27944,51 +20024,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Set the time", }, ], - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -28021,51 +20063,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the current time", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -28091,51 +20095,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 8, - "line": 1, - "offset": 7, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "nothing", }, ], - "position": Object { - "end": Object { - "column": 8, - "line": 1, - "offset": 7, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 8, - "line": 1, - "offset": 7, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -28177,10 +20143,10 @@ exports[`outputs multisignature.input.js markdown 1`] = ` ### Table of Contents -- [getTheTime][1] - - [Parameters][2] -- [getTheTime][3] - - [Parameters][4] +* [getTheTime][1] + * [Parameters][2] +* [getTheTime][3] + * [Parameters][4] ## getTheTime @@ -28188,7 +20154,7 @@ Get the time ### Parameters -- \`time\` +* \`time\` Returns **[Date][5]** the current date @@ -28198,7 +20164,7 @@ Set the time ### Parameters -- \`time\` **[Date][5]** the current time +* \`time\` **[Date][5]** the current time Returns **[undefined][6]** nothing @@ -28236,36 +20202,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Get the time", }, ], - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -28304,6 +20244,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -28335,36 +20276,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the current date", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -28383,36 +20298,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Set the time", }, ], - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -28462,36 +20351,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the current time", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -28502,6 +20365,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -28533,36 +20397,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 8, - "line": 1, - "offset": 7, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "nothing", }, ], - "position": Position { - "end": Object { - "column": 8, - "line": 1, - "offset": 7, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -28606,51 +20444,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 73, - "line": 1, - "offset": 72, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Attempt to establish a cookie-based session in exchange for credentials.", }, ], - "position": Object { - "end": Object { - "column": 73, - "line": 1, - "offset": 72, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 73, - "line": 1, - "offset": 72, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -28687,119 +20487,29 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 34, - "line": 1, - "offset": 33, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Login username. Also accepted as ", }, Object { - "position": Object { - "end": Object { - "column": 44, - "line": 1, - "offset": 43, - }, - "indent": Array [], - "start": Object { - "column": 34, - "line": 1, - "offset": 33, - }, - }, "type": "inlineCode", "value": "username", }, Object { - "position": Object { - "end": Object { - "column": 48, - "line": 1, - "offset": 47, - }, - "indent": Array [], - "start": Object { - "column": 44, - "line": 1, - "offset": 43, - }, - }, "type": "text", "value": " or ", }, Object { - "position": Object { - "end": Object { - "column": 55, - "line": 1, - "offset": 54, - }, - "indent": Array [], - "start": Object { - "column": 48, - "line": 1, - "offset": 47, - }, - }, "type": "inlineCode", "value": "email", }, Object { - "position": Object { - "end": Object { - "column": 56, - "line": 1, - "offset": 55, - }, - "indent": Array [], - "start": Object { - "column": 55, - "line": 1, - "offset": 54, - }, - }, "type": "text", "value": ".", }, ], - "position": Object { - "end": Object { - "column": 56, - "line": 1, - "offset": 55, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 56, - "line": 1, - "offset": 55, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 4, @@ -28816,51 +20526,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Login password", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 5, @@ -28884,85 +20556,21 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Gets passed ", }, Object { - "position": Object { - "end": Object { - "column": 41, - "line": 1, - "offset": 40, - }, - "indent": Array [], - "start": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - }, "type": "inlineCode", "value": "(err, { success:Boolean })", }, Object { - "position": Object { - "end": Object { - "column": 42, - "line": 1, - "offset": 41, - }, - "indent": Array [], - "start": Object { - "column": 41, - "line": 1, - "offset": 40, - }, - }, "type": "text", "value": ".", }, ], - "position": Object { - "end": Object { - "column": 42, - "line": 1, - "offset": 41, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 42, - "line": 1, - "offset": 41, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 6, @@ -28991,51 +20599,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 58, - "line": 1, - "offset": 57, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "promise, to be resolved on success or rejected on failure", }, ], - "position": Object { - "end": Object { - "column": 58, - "line": 1, - "offset": 57, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 58, - "line": 1, - "offset": 57, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -29124,8 +20694,8 @@ exports[`outputs nearby_params.input.js markdown 1`] = ` ### Table of Contents -- [sessions.create][1] - - [Parameters][2] +* [sessions.create][1] + * [Parameters][2] ## sessions.create @@ -29133,10 +20703,11 @@ Attempt to establish a cookie-based session in exchange for credentials. ### Parameters -- \`credentials\` **[object][3]** - - \`credentials.name\` **[string][4]** Login username. Also accepted as \`username\` or \`email\`. - - \`credentials.password\` **[string][4]** Login password -- \`callback\` **[function][5]?** Gets passed \`(err, { success:Boolean })\`. +* \`credentials\` **[object][3]** + + * \`credentials.name\` **[string][4]** Login username. Also accepted as \`username\` or \`email\`. + * \`credentials.password\` **[string][4]** Login password +* \`callback\` **[function][5]?** Gets passed \`(err, { success:Boolean })\`. Returns **[Promise][6]** promise, to be resolved on success or rejected on failure @@ -29174,36 +20745,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 73, - "line": 1, - "offset": 72, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Attempt to establish a cookie-based session in exchange for credentials.", }, ], - "position": Position { - "end": Object { - "column": 73, - "line": 1, - "offset": 72, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -29290,104 +20835,26 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 34, - "line": 1, - "offset": 33, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Login username. Also accepted as ", }, Object { - "position": Position { - "end": Object { - "column": 44, - "line": 1, - "offset": 43, - }, - "indent": Array [], - "start": Object { - "column": 34, - "line": 1, - "offset": 33, - }, - }, "type": "inlineCode", "value": "username", }, Object { - "position": Position { - "end": Object { - "column": 48, - "line": 1, - "offset": 47, - }, - "indent": Array [], - "start": Object { - "column": 44, - "line": 1, - "offset": 43, - }, - }, "type": "text", "value": " or ", }, Object { - "position": Position { - "end": Object { - "column": 55, - "line": 1, - "offset": 54, - }, - "indent": Array [], - "start": Object { - "column": 48, - "line": 1, - "offset": 47, - }, - }, "type": "inlineCode", "value": "email", }, Object { - "position": Position { - "end": Object { - "column": 56, - "line": 1, - "offset": 55, - }, - "indent": Array [], - "start": Object { - "column": 55, - "line": 1, - "offset": 54, - }, - }, "type": "text", "value": ".", }, ], - "position": Position { - "end": Object { - "column": 56, - "line": 1, - "offset": 55, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -29431,36 +20898,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Login password", }, ], - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -29471,6 +20912,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -29515,70 +20957,18 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Gets passed ", }, Object { - "position": Position { - "end": Object { - "column": 41, - "line": 1, - "offset": 40, - }, - "indent": Array [], - "start": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - }, "type": "inlineCode", "value": "(err, { success:Boolean })", }, Object { - "position": Position { - "end": Object { - "column": 42, - "line": 1, - "offset": 41, - }, - "indent": Array [], - "start": Object { - "column": 41, - "line": 1, - "offset": 40, - }, - }, "type": "text", "value": ".", }, ], - "position": Position { - "end": Object { - "column": 42, - "line": 1, - "offset": 41, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -29589,6 +20979,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -29620,36 +21011,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 58, - "line": 1, - "offset": 57, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "promise, to be resolved on success or rejected on failure", }, ], - "position": Position { - "end": Object { - "column": 58, - "line": 1, - "offset": 57, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -29705,51 +21070,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Klass description", }, ], - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -29787,51 +21114,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Klass event", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -29927,8 +21216,8 @@ exports[`outputs nest_events.input.js markdown 1`] = ` ### Table of Contents -- [Klass][1] - - [bar][2] +* [Klass][1] + * [bar][2] ## Klass @@ -29964,36 +21253,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Klass description", }, ], - "position": Position { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -30009,36 +21272,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Klass event", }, ], - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -30093,51 +21330,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 51, - "line": 1, - "offset": 50, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The employees who are responsible for the project.", }, ], - "position": Object { - "end": Object { - "column": 51, - "line": 1, - "offset": 50, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 51, - "line": 1, - "offset": 50, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 1, @@ -30149,51 +21348,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The name of an employee.", }, ], - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -30210,51 +21371,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The employee's department.", }, ], - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 3, @@ -30288,51 +21411,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The employee's type.", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 4, @@ -30456,51 +21541,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "some options", }, ], - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -30512,51 +21559,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "how much", }, ], - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 3, @@ -30580,51 +21589,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "something else", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 4, @@ -30648,51 +21619,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the current time", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 5, @@ -30740,51 +21673,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "foo something else", }, ], - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -30894,35 +21789,38 @@ exports[`outputs nest_params.input.js markdown 1`] = ` ### Table of Contents -- [foo][1] - - [Parameters][2] -- [foo][3] - - [Parameters][4] - - [Properties][5] +* [foo][1] + * [Parameters][2] +* [foo][3] + * [Parameters][4] + * [Properties][5] ## foo ### Parameters -- \`employees\` **[Array][6]<[Object][7]>** The employees who are responsible for the project. - - \`employees[].name\` **[string][8]** The name of an employee. - - \`employees[].department\` **[string][8]** The employee's department. -- \`type\` **[string][8]** The employee's type. (optional, default \`minion\`) +* \`employees\` **[Array][6]<[Object][7]>** The employees who are responsible for the project. + + * \`employees[].name\` **[string][8]** The name of an employee. + * \`employees[].department\` **[string][8]** The employee's department. +* \`type\` **[string][8]** The employee's type. (optional, default \`minion\`) ## foo ### Parameters -- \`options\` **[Object][7]** some options - - \`options.much\` **[number][9]** how much -- \`bar\` **[number][9]** something else +* \`options\` **[Object][7]** some options + + * \`options.much\` **[number][9]** how much +* \`bar\` **[number][9]** something else ### Properties -- \`theTime\` **[Object][7]** the current time - - \`theTime.hours\` **[number][9]** - - \`theTime.minutes\` **[number][9]** - - \`theTime.seconds\` **[number][9]** +* \`theTime\` **[Object][7]** the current time + + * \`theTime.hours\` **[number][9]** + * \`theTime.minutes\` **[number][9]** + * \`theTime.seconds\` **[number][9]** Returns **[Object][7]** foo something else @@ -31029,36 +21927,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 51, - "line": 1, - "offset": 50, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The employees who are responsible for the project.", }, ], - "position": Position { - "end": Object { - "column": 51, - "line": 1, - "offset": 50, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -31101,36 +21973,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The name of an employee.", }, ], - "position": Position { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -31174,36 +22020,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The employee's department.", }, ], - "position": Position { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -31214,6 +22034,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -31254,36 +22075,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The employee's type.", }, ], - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -31311,6 +22106,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -31370,36 +22166,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "some options", }, ], - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -31442,36 +22212,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "how much", }, ], - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -31482,6 +22226,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -31522,36 +22267,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "something else", }, ], - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -31562,6 +22281,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -31611,36 +22331,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the current time", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -31764,6 +22458,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -31771,6 +22466,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -31802,36 +22498,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "foo something else", }, ], - "position": Position { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -31887,51 +22557,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A function.", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [ @@ -31966,59 +22598,15 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 34, - "line": 3, - "offset": 132, - }, - "indent": Array [ - 1, - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The input to the function. I should be able to continue the description on a new line, and have it still work in the markdown table.", }, ], - "position": Object { - "end": Object { - "column": 34, - "line": 3, - "offset": 132, - }, - "indent": Array [ - 1, - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 34, - "line": 3, - "offset": 132, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -32060,15 +22648,15 @@ exports[`outputs newline-in-description.input.js markdown 1`] = ` ### Table of Contents -- [Parameters][1] +* [Parameters][1] -## +## A function. ### Parameters -- \`a\` **[Number][2]** The input to the function. +* \`a\` **[Number][2]** The input to the function. I should be able to continue the description on a new line, and have it still work in the markdown table. @@ -32098,36 +22686,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A function.", }, ], - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -32177,44 +22739,12 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 34, - "line": 3, - "offset": 132, - }, - "indent": Array [ - 1, - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The input to the function. I should be able to continue the description on a new line, and have it still work in the markdown table.", }, ], - "position": Position { - "end": Object { - "column": 34, - "line": 3, - "offset": 132, - }, - "indent": Array [ - 1, - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -32225,6 +22755,7 @@ still work in the markdown table.", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -32259,51 +22790,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Set the time", }, ], - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [ @@ -32370,15 +22863,15 @@ exports[`outputs no-name.input.js markdown 1`] = ` ### Table of Contents -- [Parameters][1] +* [Parameters][1] -## +## Set the time ### Parameters -- \`bar\` **[number][2]** +* \`bar\` **[number][2]** [1]: #parameters @@ -32406,36 +22899,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Set the time", }, ], - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -32490,6 +22957,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -32588,15 +23056,15 @@ exports[`outputs optional-record-field-type.input.js markdown 1`] = ` ### Table of Contents -- [Record][1] - - [Properties][2] +* [Record][1] + * [Properties][2] ## Record ### Properties -- \`opt\` **[number][3]?** -- \`req\` **[string][4]** +* \`opt\` **[number][3]?** +* \`req\` **[string][4]** [1]: #record @@ -32719,6 +23187,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -32759,51 +23228,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -32841,51 +23272,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the second param", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -32972,51 +23365,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 42, - "line": 1, - "offset": 41, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method has partially inferred params", }, ], - "position": Object { - "end": Object { - "column": 42, - "line": 1, - "offset": 41, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 42, - "line": 1, - "offset": 41, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -33053,51 +23408,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "number of kinds of fish", }, ], - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 3, @@ -33175,51 +23492,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 68, - "line": 1, - "offset": 67, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method has a type in the description and a default in the code", }, ], - "position": Object { - "end": Object { - "column": 68, - "line": 1, - "offset": 67, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 68, - "line": 1, - "offset": 67, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -33301,51 +23580,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is foo's documentation", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -33386,51 +23627,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The method", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -33464,51 +23667,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Param to method", }, ], - "position": Object { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -33590,51 +23755,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Traditional object", }, ], - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -33675,51 +23802,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 39, - "line": 1, - "offset": 38, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method should acquire the param x", }, ], - "position": Object { - "end": Object { - "column": 39, - "line": 1, - "offset": 38, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 39, - "line": 1, - "offset": 38, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -33809,86 +23898,22 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Represents an IPv6 address", }, ], - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 47, - "line": 3, - "offset": 74, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 3, - "offset": 28, - }, - }, "type": "text", "value": "This tests our support of optional parameters", }, ], - "position": Object { - "end": Object { - "column": 47, - "line": 3, - "offset": 74, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 3, - "offset": 28, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 47, - "line": 3, - "offset": 74, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -33925,51 +23950,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "An IPv6 address string", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 5, @@ -33987,51 +23974,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "How many octets to parse", }, ], - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 6, @@ -34048,51 +23997,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A third argument", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 7, @@ -34114,51 +24025,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 22, - "line": 1, - "offset": 21, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "to properly be parsed", }, ], - "position": Object { - "end": Object { - "column": 22, - "line": 1, - "offset": 21, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 22, - "line": 1, - "offset": 21, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 8, @@ -34268,86 +24141,22 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 62, - "line": 1, - "offset": 61, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Create a GeoJSON data source instance given an options object", }, ], - "position": Object { - "end": Object { - "column": 62, - "line": 1, - "offset": 61, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 44, - "line": 3, - "offset": 106, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 3, - "offset": 63, - }, - }, "type": "text", "value": "This tests our support of nested parameters", }, ], - "position": Object { - "end": Object { - "column": 44, - "line": 3, - "offset": 106, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 3, - "offset": 63, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 44, - "line": 3, - "offset": 106, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -34380,51 +24189,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "optional options", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 5, @@ -34436,56 +24207,14 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 57, - "line": 2, - "offset": 92, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A GeoJSON data object or URL to it. The latter is preferable in case of large GeoJSON files.", }, ], - "position": Object { - "end": Object { - "column": 57, - "line": 2, - "offset": 92, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 57, - "line": 2, - "offset": 92, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 6, @@ -34512,51 +24241,13 @@ The latter is preferable in case of large GeoJSON files.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 36, - "line": 1, - "offset": 35, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Maximum zoom to preserve detail at.", }, ], - "position": Object { - "end": Object { - "column": 36, - "line": 1, - "offset": 35, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 36, - "line": 1, - "offset": 35, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 8, @@ -34573,51 +24264,13 @@ The latter is preferable in case of large GeoJSON files.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Tile buffer on each side.", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 9, @@ -34637,51 +24290,13 @@ The latter is preferable in case of large GeoJSON files.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 49, - "line": 1, - "offset": 48, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Simplification tolerance (higher means simpler).", }, ], - "position": Object { - "end": Object { - "column": 49, - "line": 1, - "offset": 48, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 49, - "line": 1, - "offset": 48, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 10, @@ -34820,56 +24435,14 @@ The latter is preferable in case of large GeoJSON files.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 26, - "line": 2, - "offset": 100, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This tests our support for parameters with explicit types but with default values specified in code.", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 2, - "offset": 100, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 2, - "offset": 100, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -34903,51 +24476,13 @@ values specified in code.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "an argument", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 4, @@ -34973,51 +24508,13 @@ values specified in code.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "some", }, ], - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -35072,56 +24569,14 @@ values specified in code.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 57, - "line": 2, - "offset": 125, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This tests our support of JSDoc param tags without type information, or any type information we could infer from annotations.", }, ], - "position": Object { - "end": Object { - "column": 57, - "line": 2, - "offset": 125, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 57, - "line": 2, - "offset": 125, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -35154,51 +24609,13 @@ or any type information we could infer from annotations.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "An IPv6 address string", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 4, @@ -35247,56 +24664,14 @@ or any type information we could infer from annotations.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 35, - "line": 2, - "offset": 85, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This tests our support for iterator rest inside an iterator destructure (RestElement)", }, ], - "position": Object { - "end": Object { - "column": 35, - "line": 2, - "offset": 85, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 35, - "line": 2, - "offset": 85, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -35333,51 +24708,13 @@ iterator destructure (RestElement)", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "head of iterator", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 5, @@ -35394,51 +24731,13 @@ iterator destructure (RestElement)", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "body of iterator", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 6, @@ -35474,51 +24773,13 @@ iterator destructure (RestElement)", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 49, - "line": 1, - "offset": 48, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "rotated such that the last element was the first", }, ], - "position": Object { - "end": Object { - "column": 49, - "line": 1, - "offset": 48, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 49, - "line": 1, - "offset": 48, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -35603,29 +24864,29 @@ exports[`outputs params.input.js markdown 1`] = ` ### Table of Contents -- [addThem][1] - - [Parameters][2] -- [fishesAndFoxes][3] - - [Parameters][4] -- [withDefault][5] - - [Parameters][6] -- [Foo][7] - - [method][8] - - [Parameters][9] -- [TraditionalObject][10] - - [traditionalMethod][11] - - [Parameters][12] -- [Address6][13] - - [Parameters][14] - - [Examples][15] -- [GeoJSONSource][16] - - [Parameters][17] -- [myfunc][18] - - [Parameters][19] -- [foo][20] - - [Parameters][21] -- [rotate][22] - - [Parameters][23] +* [addThem][1] + * [Parameters][2] +* [fishesAndFoxes][3] + * [Parameters][4] +* [withDefault][5] + * [Parameters][6] +* [Foo][7] + * [method][8] + * [Parameters][9] +* [TraditionalObject][10] + * [traditionalMethod][11] + * [Parameters][12] +* [Address6][13] + * [Parameters][14] + * [Examples][15] +* [GeoJSONSource][16] + * [Parameters][17] +* [myfunc][18] + * [Parameters][19] +* [foo][20] + * [Parameters][21] +* [rotate][22] + * [Parameters][23] ## addThem @@ -35633,13 +24894,14 @@ This function returns the number one. ### Parameters -- \`a\` -- \`b\` **[number][24]** the second param -- \`c\` -- \`$3\` **[Object][25]** - - \`$3.d\` - - \`$3.e\` - - \`$3.f\` +* \`a\` +* \`b\` **[number][24]** the second param +* \`c\` +* \`$3\` **[Object][25]** + + * \`$3.d\` + * \`$3.e\` + * \`$3.f\` ## fishesAndFoxes @@ -35647,9 +24909,10 @@ This method has partially inferred params ### Parameters -- \`options\` **[Object][25]** - - \`options.fishes\` **[String][26]** number of kinds of fish - - \`options.foxes\` +* \`options\` **[Object][25]** + + * \`options.fishes\` **[String][26]** number of kinds of fish + * \`options.foxes\` ## withDefault @@ -35657,7 +24920,7 @@ This method has a type in the description and a default in the code ### Parameters -- \`x\` **[number][24]** (optional, default \`2\`) +* \`x\` **[number][24]** (optional, default \`2\`) ## Foo @@ -35669,7 +24932,7 @@ The method #### Parameters -- \`x\` **[number][24]** Param to method +* \`x\` **[number][24]** Param to method ## TraditionalObject @@ -35681,7 +24944,7 @@ This method should acquire the param x #### Parameters -- \`x\` +* \`x\` ## Address6 @@ -35691,10 +24954,10 @@ This tests our support of optional parameters ### Parameters -- \`address\` **[string][26]** An IPv6 address string -- \`groups\` **[number][24]** How many octets to parse (optional, default \`8\`) -- \`third\` **[number][24]?** A third argument -- \`foo\` **[Array][27]** to properly be parsed (optional, default \`[1]\`) +* \`address\` **[string][26]** An IPv6 address string +* \`groups\` **[number][24]** How many octets to parse (optional, default \`8\`) +* \`third\` **[number][24]?** A third argument +* \`foo\` **[Array][27]** to properly be parsed (optional, default \`[1]\`) ### Examples @@ -35710,12 +24973,13 @@ This tests our support of nested parameters ### Parameters -- \`options\` **[Object][25]?** optional options - - \`options.data\` **([Object][25] \\\\| [string][26])** A GeoJSON data object or URL to it. +* \`options\` **[Object][25]?** optional options + + * \`options.data\` **([Object][25] | [string][26])** A GeoJSON data object or URL to it. The latter is preferable in case of large GeoJSON files. - - \`options.maxzoom\` **[number][24]** Maximum zoom to preserve detail at. (optional, default \`14\`) - - \`options.buffer\` **[number][24]?** Tile buffer on each side. - - \`options.tolerance\` **[number][24]?** Simplification tolerance (higher means simpler). + * \`options.maxzoom\` **[number][24]** Maximum zoom to preserve detail at. (optional, default \`14\`) + * \`options.buffer\` **[number][24]?** Tile buffer on each side. + * \`options.tolerance\` **[number][24]?** Simplification tolerance (higher means simpler). ## myfunc @@ -35724,7 +24988,7 @@ values specified in code. ### Parameters -- \`x\` **[number][24]** an argument (optional, default \`123\`) +* \`x\` **[number][24]** an argument (optional, default \`123\`) Returns **[number][24]** some @@ -35735,7 +24999,7 @@ or any type information we could infer from annotations. ### Parameters -- \`address\` An IPv6 address string +* \`address\` An IPv6 address string ## rotate @@ -35744,11 +25008,12 @@ iterator destructure (RestElement) ### Parameters -- \`input\` **[Array][27]** - - \`input.0\` **any** head of iterator - - \`input.xs\` **...any** body of iterator +* \`input\` **[Array][27]** -Returns **[Array][27]<any>** rotated such that the last element was the first + * \`input.0\` **any** head of iterator + * \`input.xs\` **...any** body of iterator + +Returns **[Array][27]\\\\** rotated such that the last element was the first [1]: #addthem @@ -35826,36 +25091,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -35927,36 +25166,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the second param", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -36092,6 +25305,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -36099,6 +25313,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -36114,36 +25329,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 42, - "line": 1, - "offset": 41, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method has partially inferred params", }, ], - "position": Position { - "end": Object { - "column": 42, - "line": 1, - "offset": 41, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -36230,36 +25419,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "number of kinds of fish", }, ], - "position": Position { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -36292,6 +25455,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -36299,6 +25463,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -36314,36 +25479,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 68, - "line": 1, - "offset": 67, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method has a type in the description and a default in the code", }, ], - "position": Position { - "end": Object { - "column": 68, - "line": 1, - "offset": 67, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -36415,6 +25554,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -36430,36 +25570,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is foo's documentation", }, ], - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -36475,36 +25589,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The method", }, ], - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -36554,36 +25642,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Param to method", }, ], - "position": Position { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -36594,6 +25656,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -36609,36 +25672,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Traditional object", }, ], - "position": Position { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -36654,36 +25691,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 39, - "line": 1, - "offset": 38, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method should acquire the param x", }, ], - "position": Position { - "end": Object { - "column": 39, - "line": 1, - "offset": 38, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -36722,6 +25733,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -36737,71 +25749,19 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Represents an IPv6 address", }, ], - "position": Position { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 47, - "line": 3, - "offset": 74, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 3, - "offset": 28, - }, - }, "type": "text", "value": "This tests our support of optional parameters", }, ], - "position": Position { - "end": Object { - "column": 47, - "line": 3, - "offset": 74, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 3, - "offset": 28, - }, - }, "type": "paragraph", }, Object { @@ -36851,36 +25811,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "An IPv6 address string", }, ], - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -36924,36 +25858,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "How many octets to parse", }, ], - "position": Position { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -37018,36 +25926,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A third argument", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -37091,36 +25973,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 22, - "line": 1, - "offset": 21, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "to properly be parsed", }, ], - "position": Position { - "end": Object { - "column": 22, - "line": 1, - "offset": 21, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -37148,6 +26004,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -37178,71 +26035,19 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 62, - "line": 1, - "offset": 61, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Create a GeoJSON data source instance given an options object", }, ], - "position": Position { - "end": Object { - "column": 62, - "line": 1, - "offset": 61, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 44, - "line": 3, - "offset": 106, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 3, - "offset": 63, - }, - }, "type": "text", "value": "This tests our support of nested parameters", }, ], - "position": Position { - "end": Object { - "column": 44, - "line": 3, - "offset": 106, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 3, - "offset": 63, - }, - }, "type": "paragraph", }, Object { @@ -37296,36 +26101,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "optional options", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -37391,41 +26170,11 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 57, - "line": 2, - "offset": 92, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A GeoJSON data object or URL to it. The latter is preferable in case of large GeoJSON files.", }, ], - "position": Position { - "end": Object { - "column": 57, - "line": 2, - "offset": 92, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -37469,36 +26218,10 @@ The latter is preferable in case of large GeoJSON files.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 36, - "line": 1, - "offset": 35, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Maximum zoom to preserve detail at.", }, ], - "position": Position { - "end": Object { - "column": 36, - "line": 1, - "offset": 35, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -37563,36 +26286,10 @@ The latter is preferable in case of large GeoJSON files.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Tile buffer on each side.", }, ], - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -37640,36 +26337,10 @@ The latter is preferable in case of large GeoJSON files.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 49, - "line": 1, - "offset": 48, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Simplification tolerance (higher means simpler).", }, ], - "position": Position { - "end": Object { - "column": 49, - "line": 1, - "offset": 48, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -37680,6 +26351,7 @@ The latter is preferable in case of large GeoJSON files.", }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -37687,6 +26359,7 @@ The latter is preferable in case of large GeoJSON files.", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -37702,41 +26375,11 @@ The latter is preferable in case of large GeoJSON files.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 26, - "line": 2, - "offset": 100, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This tests our support for parameters with explicit types but with default values specified in code.", }, ], - "position": Position { - "end": Object { - "column": 26, - "line": 2, - "offset": 100, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -37786,36 +26429,10 @@ values specified in code.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "an argument", }, ], - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -37843,6 +26460,7 @@ values specified in code.", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -37874,36 +26492,10 @@ values specified in code.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "some", }, ], - "position": Position { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -37922,41 +26514,11 @@ values specified in code.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 57, - "line": 2, - "offset": 125, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This tests our support of JSDoc param tags without type information, or any type information we could infer from annotations.", }, ], - "position": Position { - "end": Object { - "column": 57, - "line": 2, - "offset": 125, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -37990,36 +26552,10 @@ or any type information we could infer from annotations.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "An IPv6 address string", }, ], - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -38030,6 +26566,7 @@ or any type information we could infer from annotations.", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -38045,41 +26582,11 @@ or any type information we could infer from annotations.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 35, - "line": 2, - "offset": 85, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This tests our support for iterator rest inside an iterator destructure (RestElement)", }, ], - "position": Position { - "end": Object { - "column": 35, - "line": 2, - "offset": 85, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -38159,36 +26666,10 @@ iterator destructure (RestElement)", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "head of iterator", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -38229,36 +26710,10 @@ iterator destructure (RestElement)", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "body of iterator", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -38269,6 +26724,7 @@ iterator destructure (RestElement)", }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -38276,6 +26732,7 @@ iterator destructure (RestElement)", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -38319,36 +26776,10 @@ iterator destructure (RestElement)", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 49, - "line": 1, - "offset": 48, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "rotated such that the last element was the first", }, ], - "position": Position { - "end": Object { - "column": 49, - "line": 1, - "offset": 48, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -38404,51 +26835,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 7, - "line": 1, - "offset": 6, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "apples", }, ], - "position": Object { - "end": Object { - "column": 7, - "line": 1, - "offset": 6, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 7, - "line": 1, - "offset": 6, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -38497,7 +26890,7 @@ exports[`outputs react-jsx.input.js markdown 1`] = ` ### Table of Contents -- [apples][1] +* [apples][1] ## apples @@ -38527,36 +26920,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 7, - "line": 1, - "offset": 6, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "apples", }, ], - "position": Position { - "end": Object { - "column": 7, - "line": 1, - "offset": 6, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -38627,51 +26994,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function is first", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -38731,51 +27060,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 65, - "line": 1, - "offset": 64, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "forgot a memberof here... sure hope that doesn't crash anything!", }, ], - "position": Object { - "end": Object { - "column": 65, - "line": 1, - "offset": 64, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 65, - "line": 1, - "offset": 64, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -38876,56 +27167,14 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 29, - "line": 2, - "offset": 99, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "shares a name with a top level item referenced in the TOC... sure hope that doesn't crash anything!", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 2, - "offset": 99, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 2, - "offset": 99, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -39012,51 +27261,13 @@ that doesn't crash anything!", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This class has some members", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -39097,51 +27308,13 @@ that doesn't crash anything!", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "second::foo", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -39214,51 +27387,13 @@ that doesn't crash anything!", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "second::bar", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -39356,51 +27491,13 @@ that doesn't crash anything!", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function is third", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -39449,16 +27546,16 @@ exports[`outputs sections.input.js markdown 1`] = ` ### Table of Contents -- [first][1] -- [first][2] -- [AClass][3] - - [second][4] -- [second][5] - - [foo][6] - - [Parameters][7] - - [bar][8] - - [Parameters][9] -- [third][10] +* [first][1] +* [first][2] +* [AClass][3] + * [second][4] +* [second][5] + * [foo][6] + * [Parameters][7] + * [bar][8] + * [Parameters][9] +* [third][10] ## first @@ -39485,7 +27582,7 @@ second::foo #### Parameters -- \`pork\` +* \`pork\` ### bar @@ -39493,8 +27590,8 @@ second::bar #### Parameters -- \`beans\` -- \`rice\` +* \`beans\` +* \`rice\` ## third @@ -39542,36 +27639,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function is first", }, ], - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -39587,36 +27658,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 65, - "line": 1, - "offset": 64, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "forgot a memberof here... sure hope that doesn't crash anything!", }, ], - "position": Position { - "end": Object { - "column": 65, - "line": 1, - "offset": 64, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -39642,41 +27687,11 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 29, - "line": 2, - "offset": 99, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "shares a name with a top level item referenced in the TOC... sure hope that doesn't crash anything!", }, ], - "position": Position { - "end": Object { - "column": 29, - "line": 2, - "offset": 99, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -39692,36 +27707,10 @@ that doesn't crash anything!", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This class has some members", }, ], - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -39737,36 +27726,10 @@ that doesn't crash anything!", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "second::foo", }, ], - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -39805,6 +27768,7 @@ that doesn't crash anything!", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -39820,36 +27784,10 @@ that doesn't crash anything!", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "second::bar", }, ], - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -39910,6 +27848,7 @@ that doesn't crash anything!", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -39925,36 +27864,10 @@ that doesn't crash anything!", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function is third", }, ], - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -39983,51 +27896,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -40068,51 +27943,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -40146,7 +27983,7 @@ exports[`outputs simple.input.js markdown 1`] = ` ### Table of Contents -- [simple.input][1] +* [simple.input][1] ## simple.input @@ -40180,36 +28017,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -40241,36 +28052,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -40308,56 +28093,14 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 8, - "line": 2, - "offset": 81, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This takes a number and a callback and calls the callback with the number plus 3.", }, ], - "position": Object { - "end": Object { - "column": 8, - "line": 2, - "offset": 81, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 8, - "line": 2, - "offset": 81, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -40390,51 +28133,13 @@ plus 3.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The number.", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 4, @@ -40451,51 +28156,13 @@ plus 3.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The callback.", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 5, @@ -40561,51 +28228,13 @@ plus 3.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This callback takes an error and a number.", }, ], - "position": Object { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -40638,51 +28267,13 @@ plus 3.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The error.", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 4, @@ -40703,51 +28294,13 @@ plus 3.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The number.", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 5, @@ -40815,10 +28368,10 @@ exports[`outputs simple-callback.input.js markdown 1`] = ` ### Table of Contents -- [takesSimpleCallback][1] - - [Parameters][2] -- [simpleCallback][3] - - [Parameters][4] +* [takesSimpleCallback][1] + * [Parameters][2] +* [simpleCallback][3] + * [Parameters][4] ## takesSimpleCallback @@ -40827,8 +28380,8 @@ plus 3. ### Parameters -- \`n\` **[Number][5]** The number. -- \`cb\` **[simpleCallback][6]** The callback. +* \`n\` **[Number][5]** The number. +* \`cb\` **[simpleCallback][6]** The callback. ## simpleCallback @@ -40838,8 +28391,8 @@ Type: [Function][7] ### Parameters -- \`err\` **[Error][8]?** The error. -- \`n\` **[Number][5]** The number. +* \`err\` **[Error][8]?** The error. +* \`n\` **[Number][5]** The number. [1]: #takessimplecallback @@ -40879,41 +28432,11 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 8, - "line": 2, - "offset": 81, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This takes a number and a callback and calls the callback with the number plus 3.", }, ], - "position": Position { - "end": Object { - "column": 8, - "line": 2, - "offset": 81, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -40963,36 +28486,10 @@ plus 3.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The number.", }, ], - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -41036,36 +28533,10 @@ plus 3.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The callback.", }, ], - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -41076,6 +28547,7 @@ plus 3.", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -41091,36 +28563,10 @@ plus 3.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This callback takes an error and a number.", }, ], - "position": Position { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -41194,36 +28640,10 @@ plus 3.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The error.", }, ], - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -41267,36 +28687,10 @@ plus 3.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The number.", }, ], - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -41307,6 +28701,7 @@ plus 3.", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -41359,51 +28754,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -41444,51 +28801,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -41522,7 +28841,7 @@ exports[`outputs simple-hashbang.input.js markdown 1`] = ` ### Table of Contents -- [simple-hashbang.input][1] +* [simple-hashbang.input][1] ## simple-hashbang.input @@ -41556,36 +28875,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -41617,36 +28910,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -41747,51 +29014,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number plus two.", }, ], - "position": Object { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -41829,51 +29058,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the number", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 3, @@ -41899,51 +29090,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numbertwo", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -41993,9 +29146,9 @@ exports[`outputs simple-two.input.js markdown 1`] = ` ### Table of Contents -- [returnTwo][1] - - [Parameters][2] - - [Examples][3] +* [returnTwo][1] + * [Parameters][2] + * [Examples][3] ## returnTwo @@ -42003,7 +29156,7 @@ This function returns the number plus two. ### Parameters -- \`a\` **[Number][4]** the number +* \`a\` **[Number][4]** the number ### Examples @@ -42044,36 +29197,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number plus two.", }, ], - "position": Position { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -42123,36 +29250,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the number", }, ], - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -42163,6 +29264,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -42210,36 +29312,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numbertwo", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -42960,18 +30036,18 @@ exports[`outputs sort-order-alpha.input.js markdown 1`] = ` ### Table of Contents -- [C][1] - - [A][2] - - [a][3] - - [B][4] - - [b][5] -- [D][6] - - [A][7] - - [a][8] - - [B][9] - - [b][10] -- [a][11] -- [b][12] +* [C][1] + * [A][2] + * [a][3] + * [B][4] + * [b][5] +* [D][6] + * [A][7] + * [a][8] + * [B][9] + * [b][10] +* [a][11] +* [b][12] ## C @@ -43237,51 +30313,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The foo property", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [ @@ -43336,8 +30374,8 @@ exports[`outputs string-literal-key.input.js markdown 1`] = ` ### Table of Contents -- [MyContainerObject][1] -- [foo][2] +* [MyContainerObject][1] +* [foo][2] ## MyContainerObject @@ -43381,36 +30419,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The foo property", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -43534,51 +30546,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The title of the book.", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -43710,51 +30684,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The title of the bookshelf.", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -43841,13 +30777,13 @@ exports[`outputs this-class.input.js markdown 1`] = ` ### Table of Contents -- [bookshelf][1] -- [Book][2] - - [Parameters][3] - - [title][4] -- [BookShelf][5] - - [Parameters][6] - - [title][7] +* [bookshelf][1] +* [Book][2] + * [Parameters][3] + * [title][4] +* [BookShelf][5] + * [Parameters][6] + * [title][7] ## bookshelf @@ -43855,7 +30791,7 @@ exports[`outputs this-class.input.js markdown 1`] = ` ### Parameters -- \`title\` +* \`title\` ### title @@ -43865,7 +30801,7 @@ The title of the book. ### Parameters -- \`title\` +* \`title\` ### title @@ -43950,6 +30886,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -43965,36 +30902,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The title of the book.", }, ], - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -44043,6 +30954,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -44058,36 +30970,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The title of the bookshelf.", }, ], - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -44116,51 +31002,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Represents an IPv6 address", }, ], - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -44193,51 +31041,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "An IPv6 address string", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 3, @@ -44307,8 +31117,8 @@ exports[`outputs type_application.input.js markdown 1`] = ` ### Table of Contents -- [Address6][1] - - [Parameters][2] +* [Address6][1] + * [Parameters][2] ## Address6 @@ -44316,7 +31126,7 @@ Represents an IPv6 address ### Parameters -- \`address\` **[Array][3]<[string][4]>** An IPv6 address string +* \`address\` **[Array][3]<[string][4]>** An IPv6 address string [1]: #address6 @@ -44348,36 +31158,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Represents an IPv6 address", }, ], - "position": Position { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -44446,36 +31230,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "An IPv6 address string", }, ], - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -44486,6 +31244,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -44586,14 +31345,14 @@ exports[`outputs var-function-param-return.input.js markdown 1`] = ` ### Table of Contents -- [f][1] - - [Parameters][2] +* [f][1] + * [Parameters][2] ## f ### Parameters -- \`x\` **[number][3]** +* \`x\` **[number][3]** Returns **[boolean][4]** @@ -44676,6 +31435,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { diff --git a/__tests__/format_type.js b/__tests__/format_type.js index 3b3abdf4e..d9932a960 100644 --- a/__tests__/format_type.js +++ b/__tests__/format_type.js @@ -23,18 +23,18 @@ test('formatType', function () { ['namedType.typeProperty', 'namedType.typeProperty'], [ 'Array|undefined', - '([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array) \\| [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))' + '([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array) | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))' ], [ 'Array', - '[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)>' + '[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)>' ], [ 'number!', '[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)!' ], - ["('pre'|'post')", '(`"pre"` \\| `"post"`)'], - ["'pre'|'post'", '(`"pre"` \\| `"post"`)'], + ["('pre'|'post')", '(`"pre"` | `"post"`)'], + ["'pre'|'post'", '(`"pre"` | `"post"`)'], [ 'function(string, boolean)', 'function ([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean))' @@ -88,7 +88,7 @@ test('formatType', function () { parse('@param {' + example[0] + '} a', { sloppy: true }).tags[0].type ) ) - ).toEqual(example[1]); + ).toEqual(example[1] + '\n'); }); expect( @@ -96,7 +96,7 @@ test('formatType', function () { formatType(parse('@param {number} [a=1]', { sloppy: true }).tags[0].type) ) ).toEqual( - '[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?' + '[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?\n' ); expect( @@ -110,9 +110,9 @@ test('formatType', function () { }).tags[0].type ) ) - ).toEqual('[Foo](FOO)'); + ).toEqual('[Foo](FOO)\n'); - expect(stringify(formatType())).toEqual('any'); + expect(stringify(formatType())).toEqual('any\n'); expect(function () { formatType({}); diff --git a/__tests__/lib/__snapshots__/sort.js.snap b/__tests__/lib/__snapshots__/sort.js.snap index 26a127dbb..1353e4e87 100644 --- a/__tests__/lib/__snapshots__/sort.js.snap +++ b/__tests__/lib/__snapshots__/sort.js.snap @@ -8,52 +8,14 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "indent": Array [], - "start": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - }, "type": "text", "value": "The Snowflake", }, ], "depth": 1, - "position": Position { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "heading", }, ], - "position": Object { - "end": Object { - "column": 1, - "line": 2, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "kind": "note", @@ -94,52 +56,14 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "indent": Array [], - "start": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - }, "type": "text", "value": "The Snowflake", }, ], "depth": 1, - "position": Position { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "heading", }, ], - "position": Object { - "end": Object { - "column": 1, - "line": 2, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "kind": "note", diff --git a/__tests__/lib/infer/__snapshots__/params.js.snap b/__tests__/lib/infer/__snapshots__/params.js.snap index 498783741..25abe170d 100644 --- a/__tests__/lib/infer/__snapshots__/params.js.snap +++ b/__tests__/lib/infer/__snapshots__/params.js.snap @@ -334,51 +334,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "renamed destructuring param", }, ], - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, diff --git a/__tests__/lib/parse.js b/__tests__/lib/parse.js index 9ad0ef3b4..9bf05d320 100644 --- a/__tests__/lib/parse.js +++ b/__tests__/lib/parse.js @@ -1,10 +1,14 @@ const parse = require('../../src/parsers/javascript'); -const remark = require('remark'); +const remarkP = require('remark')().parse; +const removePosition = require('../../src/remark-remove-position')(); const visit = require('unist-util-visit'); +const remarkParse = function (str) { + return removePosition(remarkP(str)); +}; function pick(obj, props) { if (Array.isArray(props)) { - return props.reduce(function(memo, prop) { + return props.reduce(function (memo, prop) { if (obj[prop] !== undefined) { memo[prop] = obj[prop]; } @@ -25,79 +29,72 @@ function evaluate(fn, filename) { } function addJSDocTag(tree) { - visit(tree, 'link', function(node) { + visit(tree, 'link', function (node) { node.jsdoc = true; }); return tree; } -function removePosition(tree) { - visit(tree, function(node) { - delete node.position; - }); - return tree; -} - -test('parse - @abstract', function() { +test('parse - @abstract', function () { expect( - evaluate(function() { + evaluate(function () { /** @abstract */ })[0].abstract ).toBe(true); }); -test('parse - @access', function() { +test('parse - @access', function () { expect( - evaluate(function() { + evaluate(function () { /** @access public */ })[0].access ).toBe('public'); expect( - evaluate(function() { + evaluate(function () { /** @access protected */ })[0].access ).toBe('protected'); expect( - evaluate(function() { + evaluate(function () { /** @access private */ })[0].access ).toBe('private'); }); -test('parse - @alias', function() {}); +test('parse - @alias', function () {}); -test('parse - @arg', function() {}); +test('parse - @arg', function () {}); -test('parse - @argument', function() {}); +test('parse - @argument', function () {}); -test('parse - @async', function() { +test('parse - @async', function () { expect( - evaluate(function() { + evaluate(function () { /** @async */ })[0].async ).toBe(true); }); -test('parse - @augments', function() { +test('parse - @augments', function () { expect( - evaluate(function() { + evaluate(function () { /** @augments Foo */ })[0].augments[0].name ).toBe('Foo'); }); -test('parse - @description', function() { +test('parse - @description', function () { expect( - evaluate(function() { + evaluate(function () { /** * This is a free-form description * @description This tagged description wins, and [is markdown](http://markdown.com). */ })[0].description ).toEqual( - remark().parse( + remarkParse( 'This tagged description wins, and [is markdown](http://markdown.com).' ) ); @@ -107,30 +104,30 @@ test('parse - @description', function() { * Dossier-style augments tag * https://github.com/google/closure-library/issues/746 */ -test('parse - @augments in dossier style', function() { +test('parse - @augments in dossier style', function () { expect( - evaluate(function() { + evaluate(function () { /** @augments {Foo} */ })[0].augments[0].name ).toBe('Foo'); }); -test('parse - @augments of complex passes through', function() { +test('parse - @augments of complex passes through', function () { expect( - evaluate(function() { + evaluate(function () { /** @augments {function()} */ })[0].augments ).toEqual([]); }); -test('parse - @author', function() {}); +test('parse - @author', function () {}); -test('parse - @borrows', function() {}); +test('parse - @borrows', function () {}); -test('parse - @callback', function() { +test('parse - @callback', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @callback name */ })[0], ['kind', 'name', 'type'] @@ -145,10 +142,10 @@ test('parse - @callback', function() { }); }); -test('parse - @class', function() { +test('parse - @class', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @class */ })[0], ['kind', 'name', 'type'] @@ -159,7 +156,7 @@ test('parse - @class', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @class name */ })[0], ['kind', 'name', 'type'] @@ -171,7 +168,7 @@ test('parse - @class', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @class {Object} name */ })[0], ['kind', 'name', 'type'] @@ -186,20 +183,20 @@ test('parse - @class', function() { }); }); -test('parse - @classdesc', function() { +test('parse - @classdesc', function () { expect( - evaluate(function() { + evaluate(function () { /** @classdesc test */ })[0].classdesc - ).toEqual(remark().parse('test')); + ).toEqual(remarkParse('test')); }); -test('parse - @const', function() {}); +test('parse - @const', function () {}); -test('parse - @constant', function() { +test('parse - @constant', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @constant */ })[0], ['kind', 'name', 'type'] @@ -210,7 +207,7 @@ test('parse - @constant', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @constant name */ })[0], ['kind', 'name', 'type'] @@ -222,7 +219,7 @@ test('parse - @constant', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @constant {Object} */ })[0], ['kind', 'name', 'type'] @@ -237,7 +234,7 @@ test('parse - @constant', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @constant {Object} name */ })[0], ['kind', 'name', 'type'] @@ -252,60 +249,60 @@ test('parse - @constant', function() { }); }); -test('parse - @constructor', function() {}); +test('parse - @constructor', function () {}); -test('parse - @constructs', function() {}); +test('parse - @constructs', function () {}); -test('parse - @copyright', function() { +test('parse - @copyright', function () { expect( - evaluate(function() { + evaluate(function () { /** @copyright test */ })[0].copyright - ).toEqual(remark().parse('test')); + ).toEqual(remarkParse('test')); }); -test('parse - @default', function() {}); +test('parse - @default', function () {}); -test('parse - @defaultvalue', function() {}); +test('parse - @defaultvalue', function () {}); -test('parse - @deprecated', function() { +test('parse - @deprecated', function () { expect( - evaluate(function() { + evaluate(function () { /** @deprecated test */ })[0].deprecated - ).toEqual(remark().parse('test')); + ).toEqual(remarkParse('test')); }); -test('parse - @desc', function() { +test('parse - @desc', function () { expect( - evaluate(function() { + evaluate(function () { /** @desc test */ })[0].description - ).toEqual(remark().parse('test')); + ).toEqual(remarkParse('test')); }); -test('parse - @description', function() { +test('parse - @description', function () { expect( - evaluate(function() { + evaluate(function () { /** @description test */ })[0].description - ).toEqual(remark().parse('test')); + ).toEqual(remarkParse('test')); }); -test('parse - description', function() { +test('parse - description', function () { expect( - evaluate(function() { + evaluate(function () { /** test */ })[0].description - ).toEqual(remark().parse('test')); + ).toEqual(remarkParse('test')); }); -test('parse - @emits', function() {}); +test('parse - @emits', function () {}); -test('parse - @enum', function() { +test('parse - @enum', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @enum {string} */ })[0], ['kind', 'type'] @@ -319,10 +316,10 @@ test('parse - @enum', function() { }); }); -test('parse - @event', function() { +test('parse - @event', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @event name */ })[0], ['kind', 'name'] @@ -333,9 +330,9 @@ test('parse - @event', function() { }); }); -test('parse - @example', function() { +test('parse - @example', function () { expect( - evaluate(function() { + evaluate(function () { /** @example test */ })[0].examples[0] ).toEqual({ @@ -343,7 +340,7 @@ test('parse - @example', function() { }); expect( - evaluate(function() { + evaluate(function () { /** * @example * a @@ -355,7 +352,7 @@ test('parse - @example', function() { }); expect( - evaluate(function() { + evaluate(function () { /** * @example caption * a @@ -364,11 +361,11 @@ test('parse - @example', function() { })[0].examples[0] ).toEqual({ description: 'a\nb', - caption: remark().parse('caption') + caption: remarkParse('caption') }); expect( - evaluate(function() { + evaluate(function () { /** @example */ })[0].errors[0] ).toEqual({ @@ -377,22 +374,22 @@ test('parse - @example', function() { }); }); -test('parse - @exception', function() {}); +test('parse - @exception', function () {}); -test('parse - @exports', function() {}); +test('parse - @exports', function () {}); -test('parse - @extends', function() { +test('parse - @extends', function () { expect( - evaluate(function() { + evaluate(function () { /** @extends Foo */ })[0].augments[0].name ).toEqual('Foo'); }); -test('parse - @external', function() { +test('parse - @external', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @external name */ })[0], ['kind', 'name'] @@ -403,10 +400,10 @@ test('parse - @external', function() { }); }); -test('parse - @file', function() { +test('parse - @file', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @file */ })[0], ['kind'] @@ -417,27 +414,27 @@ test('parse - @file', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @file desc */ })[0], ['kind', 'description'] ) ).toEqual({ kind: 'file', - description: remark().parse('desc') + description: remarkParse('desc') }); }); -test('parse - @fileoverview', function() {}); +test('parse - @fileoverview', function () {}); -test('parse - @fires', function() {}); +test('parse - @fires', function () {}); -test('parse - @func', function() {}); +test('parse - @func', function () {}); -test('parse - @function', function() { +test('parse - @function', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @function */ })[0], ['kind', 'name'] @@ -448,7 +445,7 @@ test('parse - @function', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @function name */ })[0], ['kind', 'name'] @@ -461,110 +458,110 @@ test('parse - @function', function() { // When @function takes a name, it is acting as a shorthand for @name and // should detach from code the same way @name does. expect( - evaluate(function() { + evaluate(function () { /** @function */ function foo() {} })[0].context.ast ).toBeDefined(); expect( - evaluate(function() { + evaluate(function () { /** @function name */ function foo() {} })[0].context.ast ).toBeUndefined(); }); -test('parse - @generator', function() { +test('parse - @generator', function () { expect( - evaluate(function() { + evaluate(function () { /** @generator */ })[0].generator ).toBe(true); }); -test('parse - @global', function() { +test('parse - @global', function () { expect( - evaluate(function() { + evaluate(function () { /** @global */ })[0].scope ).toBe('global'); }); -test('parse - @hideconstructor', function() { +test('parse - @hideconstructor', function () { expect( - evaluate(function() { + evaluate(function () { /** @hideconstructor */ })[0].hideconstructor ).toBe(true); }); -test('parse - @host', function() {}); +test('parse - @host', function () {}); -test('parse - @ignore', function() { +test('parse - @ignore', function () { expect( - evaluate(function() { + evaluate(function () { /** @ignore */ })[0].ignore ).toBe(true); }); -test('parse - @implements', function() { +test('parse - @implements', function () { expect( - evaluate(function() { + evaluate(function () { /** @implements {Foo} */ })[0].implements[0].name ).toEqual('Foo'); }); -test('parse - @inheritdoc', function() {}); +test('parse - @inheritdoc', function () {}); -test('parse - @inner', function() { +test('parse - @inner', function () { expect( - evaluate(function() { + evaluate(function () { /** @inner*/ })[0].scope ).toBe('inner'); }); -test('parse - @instance', function() { +test('parse - @instance', function () { expect( - evaluate(function() { + evaluate(function () { /** @instance*/ })[0].scope ).toBe('instance'); }); -test('parse - @interface', function() { +test('parse - @interface', function () { expect( - evaluate(function() { + evaluate(function () { /** @interface */ })[0].kind ).toEqual('interface'); expect( - evaluate(function() { + evaluate(function () { /** @interface Foo */ })[0].name ).toEqual('Foo'); }); -test('parse - @kind', function() { +test('parse - @kind', function () { expect( - evaluate(function() { + evaluate(function () { /** @kind class */ })[0].kind ).toBe('class'); }); -test('parse - @license', function() {}); +test('parse - @license', function () {}); -test('parse - @listens', function() {}); +test('parse - @listens', function () {}); -test('parse - @member', function() { +test('parse - @member', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @member */ })[0], ['kind', 'name', 'type'] @@ -575,7 +572,7 @@ test('parse - @member', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @member name */ })[0], ['kind', 'name', 'type'] @@ -587,7 +584,7 @@ test('parse - @member', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @member {Object} */ })[0], ['kind', 'name', 'type'] @@ -602,7 +599,7 @@ test('parse - @member', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @member {Object} name */ })[0], ['kind', 'name', 'type'] @@ -617,22 +614,22 @@ test('parse - @member', function() { }); }); -test('parse - @memberof', function() { +test('parse - @memberof', function () { expect( - evaluate(function() { + evaluate(function () { /** @memberof test */ })[0].memberof ).toBe('test'); }); -test('parse - @method', function() {}); +test('parse - @method', function () {}); -test('parse - @mixes', function() {}); +test('parse - @mixes', function () {}); -test('parse - @mixin', function() { +test('parse - @mixin', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @mixin */ })[0], ['kind', 'name'] @@ -643,7 +640,7 @@ test('parse - @mixin', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @mixin name */ })[0], ['kind', 'name'] @@ -654,10 +651,10 @@ test('parse - @mixin', function() { }); }); -test('parse - @module', function() { +test('parse - @module', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @module */ })[0], ['kind', 'name', 'type'] @@ -668,7 +665,7 @@ test('parse - @module', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @module name */ })[0], ['kind', 'name', 'type'] @@ -680,7 +677,7 @@ test('parse - @module', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @module {Object} name */ })[0], ['kind', 'name', 'type'] @@ -695,25 +692,25 @@ test('parse - @module', function() { }); }); -test('parse - @name', function() { +test('parse - @name', function () { expect( - evaluate(function() { + evaluate(function () { /** @name test */ })[0].name ).toBe('test'); expect( - evaluate(function() { + evaluate(function () { /** @name foo */ const bar = 0; })[0].context.ast ).toBeUndefined(); }); -test('parse - @namespace', function() { +test('parse - @namespace', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @namespace */ })[0], ['kind', 'name', 'type'] @@ -724,7 +721,7 @@ test('parse - @namespace', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @namespace name */ })[0], ['kind', 'name', 'type'] @@ -736,7 +733,7 @@ test('parse - @namespace', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @namespace {Object} name */ })[0], ['kind', 'name', 'type'] @@ -751,19 +748,19 @@ test('parse - @namespace', function() { }); }); -test('parse - @override', function() { +test('parse - @override', function () { expect( - evaluate(function() { + evaluate(function () { /** @override */ })[0].override ).toBe(true); }); -test('parse - @overview', function() {}); +test('parse - @overview', function () {}); -test('parse - @param', function() { +test('parse - @param', function () { expect( - evaluate(function() { + evaluate(function () { /** @param test */ })[0].params[0] ).toEqual({ @@ -773,7 +770,7 @@ test('parse - @param', function() { }); expect( - evaluate(function() { + evaluate(function () { /** @param {number} test */ })[0].params[0] ).toEqual({ @@ -787,7 +784,7 @@ test('parse - @param', function() { }); expect( - evaluate(function() { + evaluate(function () { /** @param {number} test - desc */ })[0].params[0] ).toEqual({ @@ -797,22 +794,22 @@ test('parse - @param', function() { name: 'number', type: 'NameExpression' }, - description: remark().parse('desc'), + description: remarkParse('desc'), lineNumber: 0 }); }); -test('parse - @private', function() { +test('parse - @private', function () { expect( - evaluate(function() { + evaluate(function () { /** @private */ })[0].access ).toBe('private'); }); -test('parse - @prop', function() { +test('parse - @prop', function () { expect( - evaluate(function() { + evaluate(function () { /** @prop {number} test */ })[0].properties[0] ).toEqual({ @@ -826,7 +823,7 @@ test('parse - @prop', function() { }); expect( - evaluate(function() { + evaluate(function () { /** @prop {number} test - desc */ })[0].properties[0] ).toEqual({ @@ -836,14 +833,14 @@ test('parse - @prop', function() { name: 'number', type: 'NameExpression' }, - description: remark().parse('desc'), + description: remarkParse('desc'), lineNumber: 0 }); }); -test('parse - @property', function() { +test('parse - @property', function () { expect( - evaluate(function() { + evaluate(function () { /** @property {number} test */ })[0].properties[0] ).toEqual({ @@ -857,7 +854,7 @@ test('parse - @property', function() { }); expect( - evaluate(function() { + evaluate(function () { /** @property {number} test - desc */ })[0].properties[0] ).toEqual({ @@ -867,47 +864,47 @@ test('parse - @property', function() { name: 'number', type: 'NameExpression' }, - description: remark().parse('desc'), + description: remarkParse('desc'), lineNumber: 0 }); }); -test('parse - @protected', function() { +test('parse - @protected', function () { expect( - evaluate(function() { + evaluate(function () { /** @protected */ })[0].access ).toBe('protected'); }); -test('parse - @public', function() {}); +test('parse - @public', function () {}); -test('parse - @readonly', function() { +test('parse - @readonly', function () { expect( - evaluate(function() { + evaluate(function () { /** @readonly */ })[0].readonly ).toBe(true); }); -test('parse - @requires', function() {}); +test('parse - @requires', function () {}); -test('parse - @return', function() { +test('parse - @return', function () { expect( - evaluate(function() { + evaluate(function () { /** @return test */ })[0].returns[0] ).toEqual({ title: 'returns', - description: remark().parse('test') + description: remarkParse('test') }); expect( - evaluate(function() { + evaluate(function () { /** @return {number} test */ })[0].returns[0] ).toEqual({ - description: remark().parse('test'), + description: remarkParse('test'), title: 'returns', type: { name: 'number', @@ -916,22 +913,22 @@ test('parse - @return', function() { }); }); -test('parse - @returns', function() { +test('parse - @returns', function () { expect( - evaluate(function() { + evaluate(function () { /** @returns test */ })[0].returns[0] ).toEqual({ title: 'returns', - description: remark().parse('test') + description: remarkParse('test') }); expect( - evaluate(function() { + evaluate(function () { /** @returns {number} test */ })[0].returns[0] ).toEqual({ - description: remark().parse('test'), + description: remarkParse('test'), title: 'returns', type: { name: 'number', @@ -940,20 +937,20 @@ test('parse - @returns', function() { }); }); -test('parse - @see', function() { +test('parse - @see', function () { expect( - evaluate(function() { + evaluate(function () { /** @see [test](#test) */ })[0].sees ).toEqual([ { title: 'sees', - description: remark().parse('[test](#test)') + description: remarkParse('[test](#test)') } ]); expect( - evaluate(function() { + evaluate(function () { /** * @see [a](#a) * @see [b](#b) @@ -962,46 +959,46 @@ test('parse - @see', function() { ).toEqual([ { title: 'sees', - description: remark().parse('[a](#a)') + description: remarkParse('[a](#a)') }, { title: 'sees', - description: remark().parse('[b](#b)') + description: remarkParse('[b](#b)') } ]); }); -test('parse - @since', function() {}); +test('parse - @since', function () {}); -test('parse - @static', function() { +test('parse - @static', function () { expect( - evaluate(function() { + evaluate(function () { /** @static */ })[0].scope ).toBe('static'); }); -test('parse - @summary', function() { +test('parse - @summary', function () { expect( - evaluate(function() { + evaluate(function () { /** @summary test */ })[0].summary - ).toEqual(remark().parse('test')); + ).toEqual(remarkParse('test')); }); -test('parse - @this', function() {}); +test('parse - @this', function () {}); -test('parse - @throws', function() { +test('parse - @throws', function () { expect( - evaluate(function() { + evaluate(function () { /** @throws desc */ })[0].throws[0] ).toEqual({ - description: remark().parse('desc') + description: remarkParse('desc') }); expect( - evaluate(function() { + evaluate(function () { /** @throws {Error} */ })[0].throws[0] ).toEqual({ @@ -1012,7 +1009,7 @@ test('parse - @throws', function() { }); expect( - evaluate(function() { + evaluate(function () { /** @throws {Error} desc */ })[0].throws[0] ).toEqual({ @@ -1020,11 +1017,11 @@ test('parse - @throws', function() { name: 'Error', type: 'NameExpression' }, - description: remark().parse('desc') + description: remarkParse('desc') }); expect( - evaluate(function() { + evaluate(function () { /** * @throws a * @throws b @@ -1032,39 +1029,39 @@ test('parse - @throws', function() { })[0].throws ).toEqual([ { - description: remark().parse('a') + description: remarkParse('a') }, { - description: remark().parse('b') + description: remarkParse('b') } ]); }); -test('parse - @todo', function() { +test('parse - @todo', function () { expect( - evaluate(function() { + evaluate(function () { /** @todo test */ })[0].todos - ).toEqual([remark().parse('test')]); + ).toEqual([remarkParse('test')]); expect( - evaluate(function() { + evaluate(function () { /** * @todo a * @todo b */ })[0].todos - ).toEqual([remark().parse('a'), remark().parse('b')]); + ).toEqual([remarkParse('a'), remarkParse('b')]); }); -test('parse - @tutorial', function() {}); +test('parse - @tutorial', function () {}); -test('parse - @type', function() {}); +test('parse - @type', function () {}); -test('parse - @typedef', function() { +test('parse - @typedef', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @typedef {Object} name */ })[0], ['kind', 'name', 'type'] @@ -1079,36 +1076,36 @@ test('parse - @typedef', function() { }); }); -test('parse - @var', function() {}); +test('parse - @var', function () {}); -test('parse - @variation', function() { +test('parse - @variation', function () { expect( - evaluate(function() { + evaluate(function () { /** @variation 1 */ })[0].variation ).toBe(1); }); -test('parse - @version', function() {}); +test('parse - @version', function () {}); -test('parse - @virtual', function() {}); +test('parse - @virtual', function () {}); -test('parse - @yield', function() { +test('parse - @yield', function () { expect( - evaluate(function() { + evaluate(function () { /** @yield test */ })[0].yields[0] ).toEqual({ title: 'yields', - description: remark().parse('test') + description: remarkParse('test') }); expect( - evaluate(function() { + evaluate(function () { /** @yield {number} test */ })[0].yields[0] ).toEqual({ - description: remark().parse('test'), + description: remarkParse('test'), title: 'yields', type: { name: 'number', @@ -1117,22 +1114,22 @@ test('parse - @yield', function() { }); }); -test('parse - @yields', function() { +test('parse - @yields', function () { expect( - evaluate(function() { + evaluate(function () { /** @yields test */ })[0].yields[0] ).toEqual({ title: 'yields', - description: remark().parse('test') + description: remarkParse('test') }); expect( - evaluate(function() { + evaluate(function () { /** @yields {number} test */ })[0].yields[0] ).toEqual({ - description: remark().parse('test'), + description: remarkParse('test'), title: 'yields', type: { name: 'number', @@ -1141,9 +1138,9 @@ test('parse - @yields', function() { }); }); -test('parse - unknown tag', function() { +test('parse - unknown tag', function () { expect( - evaluate(function() { + evaluate(function () { /** @unknown */ })[0].errors[0] ).toEqual({ @@ -1152,43 +1149,35 @@ test('parse - unknown tag', function() { }); }); -test('parse - {@link}', function() { +test('parse - {@link}', function () { expect( - removePosition( - evaluate(function() { - /** {@link Foo} */ - })[0].description - ) - ).toEqual(addJSDocTag(removePosition(remark().parse('[Foo](Foo)')))); + evaluate(function () { + /** {@link Foo} */ + })[0].description + ).toEqual(addJSDocTag(remarkParse('[Foo](Foo)'))); expect( - removePosition( - evaluate(function() { - /** {@link Foo|text} */ - })[0].description - ) - ).toEqual(addJSDocTag(removePosition(remark().parse('[text](Foo)')))); + evaluate(function () { + /** {@link Foo|text} */ + })[0].description + ).toEqual(addJSDocTag(remarkParse('[text](Foo)'))); expect( - removePosition( - evaluate(function() { - /** {@link Foo text} */ - })[0].description - ) - ).toEqual(addJSDocTag(removePosition(remark().parse('[text](Foo)')))); + evaluate(function () { + /** {@link Foo text} */ + })[0].description + ).toEqual(addJSDocTag(remarkParse('[text](Foo)'))); }); -test('parse - {@linkcode}', function() {}); +test('parse - {@linkcode}', function () {}); -test('parse - {@linkplain}', function() {}); +test('parse - {@linkplain}', function () {}); -test('parse - {@tutorial}', function() { +test('parse - {@tutorial}', function () { expect( - removePosition( - evaluate(function() { - /** {@tutorial id} */ - })[0].description - ) + evaluate(function () { + /** {@tutorial id} */ + })[0].description ).toEqual({ type: 'root', children: [ @@ -1213,11 +1202,9 @@ test('parse - {@tutorial}', function() { }); expect( - removePosition( - evaluate(function() { - /** {@tutorial id|text} */ - })[0].description - ) + evaluate(function () { + /** {@tutorial id|text} */ + })[0].description ).toEqual({ type: 'root', children: [ @@ -1242,11 +1229,9 @@ test('parse - {@tutorial}', function() { }); expect( - removePosition( - evaluate(function() { - /** {@tutorial id text} */ - })[0].description - ) + evaluate(function () { + /** {@tutorial id text} */ + })[0].description ).toEqual({ type: 'root', children: [ diff --git a/__tests__/lib/parsers/javascript.js b/__tests__/lib/parsers/javascript.js index 1f92d4c62..25d7baeb5 100644 --- a/__tests__/lib/parsers/javascript.js +++ b/__tests__/lib/parsers/javascript.js @@ -1,5 +1,9 @@ -const remark = require('remark'); +const remarkP = require('remark')().parse; +const removePosition = require('../../../src/remark-remove-position')(); const parse = require('../../../src/parsers/javascript'); +const remarkParse = function (str) { + return removePosition(remarkP(str)); +}; function toComments(source, filename, opts) { source = typeof source === 'string' ? source : '(' + source.toString() + ')'; @@ -12,41 +16,41 @@ function toComments(source, filename, opts) { ); } -test('parse - leading comment', function() { +test('parse - leading comment', function () { expect( - toComments(function() { + toComments(function () { /** one */ /** two */ function two() {} - }).map(function(c) { + }).map(function (c) { return c.description; }) - ).toEqual([remark().parse('one'), remark().parse('two')]); + ).toEqual([remarkParse('one'), remarkParse('two')]); }); -test('parse - trailing comment', function() { +test('parse - trailing comment', function () { expect( - toComments(function() { + toComments(function () { /** one */ function one() {} /** two */ - }).map(function(c) { + }).map(function (c) { return c.description; }) - ).toEqual([remark().parse('one'), remark().parse('two')]); + ).toEqual([remarkParse('one'), remarkParse('two')]); }); -test('parse - unknown tag', function() { +test('parse - unknown tag', function () { expect( - toComments(function() { + toComments(function () { /** @unknown */ })[0].tags[0].title ).toBe('unknown'); }); -test('parse - error', function() { +test('parse - error', function () { expect( - toComments(function() { + toComments(function () { /** @param {foo */ })[0].errors ).toEqual([ @@ -55,7 +59,7 @@ test('parse - error', function() { ]); }); -test('parse - document exported', function() { +test('parse - document exported', function () { expect( toComments( ` @@ -85,7 +89,7 @@ test('parse - document exported', function() { ).toBe(2); }); -test('parse - constructor comments', function() { +test('parse - constructor comments', function () { expect( toComments(` class Test { diff --git a/__tests__/lib/sort.js b/__tests__/lib/sort.js index 015a0d43f..3941daf87 100644 --- a/__tests__/lib/sort.js +++ b/__tests__/lib/sort.js @@ -1,7 +1,7 @@ const sort = require('../../src/sort'); const path = require('path'); -test('sort stream alphanumeric', function() { +test('sort stream alphanumeric', function () { const apples = { context: { sortKey: 'a' }, name: 'apples' }; const carrot = { context: { sortKey: 'b' }, name: 'carrot' }; const banana = { context: { sortKey: 'c' }, name: 'bananas' }; @@ -11,7 +11,7 @@ test('sort stream alphanumeric', function() { expect(sort([carrot, apples, banana])).toEqual([apples, carrot, banana]); }); -test('sort stream with configuration', function() { +test('sort stream with configuration', function () { const apples = { context: { sortKey: 'a' }, name: 'apples' }; const carrot = { context: { sortKey: 'b' }, name: 'carrot' }; const bananas = { context: { sortKey: 'c' }, name: 'bananas' }; @@ -23,7 +23,7 @@ test('sort stream with configuration', function() { ).toEqual([carrot, bananas, apples]); }); -test('sort stream with configuration and a section', function() { +test('sort stream with configuration and a section', function () { const apples = { context: { sortKey: 'a' }, name: 'apples' }; const carrot = { context: { sortKey: 'b' }, name: 'carrot' }; const bananas = { context: { sortKey: 'c' }, name: 'bananas' }; @@ -43,49 +43,11 @@ test('sort stream with configuration and a section', function() { children: [ { type: 'text', - value: 'here lies bananas', - position: { - start: { - line: 1, - column: 1, - offset: 0 - }, - end: { - line: 1, - column: 18, - offset: 17 - }, - indent: [] - } + value: 'here lies bananas' } - ], - position: { - start: { - line: 1, - column: 1, - offset: 0 - }, - end: { - line: 1, - column: 18, - offset: 17 - }, - indent: [] - } + ] } - ], - position: { - start: { - line: 1, - column: 1, - offset: 0 - }, - end: { - line: 1, - column: 18, - offset: 17 - } - } + ] }, kind: 'note', path: [ @@ -103,7 +65,7 @@ test('sort stream with configuration and a section', function() { ).toEqual([carrot, sectionMarkdown, bananas, apples]); }); -test('sort an already-sorted stream containing a section/description', function() { +test('sort an already-sorted stream containing a section/description', function () { // this happens in the 'serve' task const apples = { context: { sortKey: 'a' }, name: 'apples' }; const carrot = { context: { sortKey: 'b' }, name: 'carrot' }; @@ -123,49 +85,11 @@ test('sort an already-sorted stream containing a section/description', function( children: [ { type: 'text', - value: 'here lies bananas', - position: { - start: { - line: 1, - column: 1, - offset: 0 - }, - end: { - line: 1, - column: 18, - offset: 17 - }, - indent: [] - } + value: 'here lies bananas' } - ], - position: { - start: { - line: 1, - column: 1, - offset: 0 - }, - end: { - line: 1, - column: 18, - offset: 17 - }, - indent: [] - } + ] } - ], - position: { - start: { - line: 1, - column: 1, - offset: 0 - }, - end: { - line: 1, - column: 18, - offset: 17 - } - } + ] }, kind: 'note', path: [ @@ -185,7 +109,7 @@ test('sort an already-sorted stream containing a section/description', function( expect(sortTwice).toEqual([carrot, sectionMarkdown, bananas, apples]); }); -test('sort toc with files', function() { +test('sort toc with files', function () { const apples = { context: { sortKey: 'a' }, name: 'apples' }; const carrot = { context: { sortKey: 'b' }, name: 'carrot' }; const bananas = { context: { sortKey: 'c' }, name: 'bananas' }; @@ -202,7 +126,7 @@ test('sort toc with files', function() { ).toMatchSnapshot(); }); -test('sort toc with files absolute path', function() { +test('sort toc with files absolute path', function () { const apples = { context: { sortKey: 'a' }, name: 'apples' }; const carrot = { context: { sortKey: 'b' }, name: 'carrot' }; const bananas = { context: { sortKey: 'c' }, name: 'bananas' }; @@ -218,7 +142,7 @@ test('sort toc with files absolute path', function() { ).toMatchSnapshot(); }); -test('sort toc with files absolute path', function() { +test('sort toc with files absolute path', function () { const apples = { context: { sortKey: 'a' }, name: 'apples', diff --git a/docs/NODE_API.md b/docs/NODE_API.md index 9cc0659f3..59e2e5284 100644 --- a/docs/NODE_API.md +++ b/docs/NODE_API.md @@ -29,6 +29,7 @@ of lint information intended for human-readable output. - `indexes` **([Array][17]<[string][18]> | [string][18])** files to process - `args` **[Object][19]** args + - `args.external` **[Array][17]<[string][18]>** a string regex / glob match pattern that defines what external modules will be whitelisted and included in the generated documentation. @@ -65,6 +66,7 @@ comments, given a root file as a path. - `indexes` **([Array][17]<[string][18]> | [string][18])** files to process - `args` **[Object][19]** args + - `args.external` **[Array][17]<[string][18]>** a string regex / glob match pattern that defines what external modules will be whitelisted and included in the generated documentation. @@ -75,6 +77,7 @@ comments, given a root file as a path. - `args.access` **[Array][17]<[string][18]>** an array of access levels to output in documentation (optional, default `[]`) - `args.hljs` **[Object][19]?** hljs optional args + - `args.hljs.highlightAuto` **[boolean][20]** hljs automatically detect language (optional, default `false`) - `args.hljs.languages` **[Array][17]?** languages for hljs to choose from - `args.inferPrivate` **[string][18]?** a valid regular expression string @@ -116,6 +119,7 @@ Formats documentation as HTML. - `comments` **[Array][17]<[Comment][22]>** parsed comments - `config` **[Object][19]** Options that can customize the output + - `config.theme` **[string][18]** Name of a module used for an HTML theme. (optional, default `'default_theme'`) ### Examples diff --git a/package.json b/package.json index 251fa8985..538c11906 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "documentation", "description": "a documentation generator", - "version": "13.2.1", + "version": "13.2.2", "author": "Tom MacWright", "homepage": "https://documentation.js.org", "bin": { @@ -19,14 +19,9 @@ "@babel/plugin-proposal-function-bind": "^7.12.1", "@babel/plugin-proposal-function-sent": "^7.12.1", "@babel/plugin-proposal-json-strings": "^7.12.1", - "@babel/plugin-proposal-logical-assignment-operators": "^7.12.1", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1", - "@babel/plugin-proposal-numeric-separator": "^7.12.1", - "@babel/plugin-proposal-optional-chaining": "^7.12.1", "@babel/plugin-proposal-pipeline-operator": "^7.12.1", "@babel/plugin-proposal-private-methods": "^7.12.1", "@babel/plugin-proposal-throw-expressions": "^7.12.1", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-syntax-import-meta": "^7.10.4", "@babel/preset-env": "^7.12.1", "@babel/preset-flow": "^7.9.0", @@ -50,6 +45,7 @@ "ini": "^1.3.5", "js-yaml": "^3.10.0", "lodash": "^4.17.10", + "mdast-util-find-and-replace": "^1.1.1", "mdast-util-inject": "^1.1.0", "micromatch": "^3.1.5", "mime": "^2.2.0", @@ -57,16 +53,16 @@ "parse-filepath": "^1.0.2", "pify": "^5.0.0", "read-pkg-up": "^4.0.0", - "remark": "^9.0.0", - "remark-html": "^8.0.0", - "remark-reference-links": "^4.0.1", - "remark-toc": "^5.0.0", + "remark": "^13.0.0", + "remark-html": "^13.0.1", + "remark-reference-links": "^5.0.0", + "remark-toc": "^7.2.0", "resolve": "^1.8.1", "stream-array": "^1.1.2", "strip-json-comments": "^2.0.1", "tiny-lr": "^1.1.0", - "unist-builder": "^1.0.2", - "unist-util-visit": "^1.3.0", + "unist-builder": "^2.0.3", + "unist-util-visit": "^2.0.3", "vfile": "^4.0.0", "vfile-reporter": "^6.0.0", "vfile-sort": "^2.1.0", @@ -76,13 +72,11 @@ "yargs": "^15.3.1" }, "devDependencies": { - "babel-core": "^7.0.0-bridge.0", - "babel-eslint": "^10.1.0", "chdir": "0.0.0", "cz-conventional-changelog": "2.1.0", "documentation-schema": "0.0.1", - "eslint": "^7.1.0", - "eslint-config-prettier": "^6.11.0", + "eslint": "^7.23.0", + "eslint-config-prettier": "^8.1.0", "fs-extra": "^9.0.0", "husky": "^1.3.1", "jest": "^26.0.0", @@ -90,8 +84,8 @@ "lint-staged": "^7.2.0", "mock-fs": "^4.4.2", "p-event": "^4.1.0", - "prettier": "^2.0.5", - "standard-version": "^8.0.0", + "prettier": "^2.2.1", + "standard-version": "^9.2.0", "tmp": "^0.2.1" }, "keywords": [ diff --git a/src/inline_tokenizer.js b/src/inline_tokenizer.js deleted file mode 100644 index d5f65911a..000000000 --- a/src/inline_tokenizer.js +++ /dev/null @@ -1,69 +0,0 @@ -/** - * Create a tokenizer method for Remark, our Markdown processor, - * that is able to parse JSDoc inline tokens - * - * @private - * @param {string} type the destination type of the parsed objects - * @param {RegExp} regex regular expression for extracting content - * from text - * @returns {Function} tokenizer - */ -function makeTokenizer(type, regex) { - const tokenizer = function (eat, value) { - const match = regex.exec(value); - - if (!match) { - return; - } - - return eat(match[0])({ - type, - url: match[1], - title: null, - jsdoc: true, - children: [ - { - type: 'text', - value: match[2] || match[1] - } - ] - }); - }; - - tokenizer.notInLink = true; - tokenizer.locator = function (value, fromIndex) { - return value.indexOf('{@' + type, fromIndex); - }; - - return tokenizer; -} - -const tokenizeLink = makeTokenizer('link', /^\{@link\s+(.+?)(?:[\s|](.*?))?\}/); -const tokenizeTutorial = makeTokenizer( - 'tutorial', - /^\{@tutorial\s+(.+?)(?:[\s|](.*?))?\}/ -); - -/** - * A remark plugin that installs - * [tokenizers](https://github.com/wooorm/remark/blob/master/doc/remarkplugin.3.md#function-tokenizereat-value-silent) - * and [locators](https://github.com/wooorm/remark/blob/master/doc/remarkplugin.3.md#function-locatorvalue-fromindex) - * for JSDoc inline `{@link}` and `{@tutorial}` tags. - * - * This does not handle the `[text]({@link url})` and `[text]({@tutorial url})` forms of these tags. - * That's a JSDoc misfeature; just use regular markdown syntax instead: `[text](url)`. - * - * @returns {undefined} - */ -module.exports = function (/* options: Object*/) { - const proto = this.Parser.prototype; - proto.inlineTokenizers.tokenizeLink = tokenizeLink; - proto.inlineTokenizers.tokenizeTutorial = tokenizeTutorial; - const methods = proto.inlineMethods; - methods.splice( - methods.indexOf('inlineText'), - 0, - 'tokenizeLink', - 'tokenizeTutorial' - ); -}; diff --git a/src/input/dependency.js b/src/input/dependency.js index 54168680c..3593719a7 100644 --- a/src/input/dependency.js +++ b/src/input/dependency.js @@ -17,19 +17,14 @@ const STANDARD_BABEL_CONFIG = { '@babel/plugin-proposal-function-bind', // Stage 1 '@babel/plugin-proposal-export-default-from', - '@babel/plugin-proposal-logical-assignment-operators', - '@babel/plugin-proposal-optional-chaining', ['@babel/plugin-proposal-pipeline-operator', { proposal: 'minimal' }], - ['@babel/plugin-proposal-nullish-coalescing-operator', { loose: false }], '@babel/plugin-proposal-do-expressions', // Stage 2 ['@babel/plugin-proposal-decorators', { decoratorsBeforeExport: true }], '@babel/plugin-proposal-function-sent', '@babel/plugin-proposal-export-namespace-from', - '@babel/plugin-proposal-numeric-separator', '@babel/plugin-proposal-throw-expressions', // Stage 3 - '@babel/plugin-syntax-dynamic-import', '@babel/plugin-syntax-import-meta', ['@babel/plugin-proposal-class-properties', { loose: false }], '@babel/plugin-proposal-private-methods', diff --git a/src/output/markdown_ast.js b/src/output/markdown_ast.js index 4893566ba..f1241bcba 100644 --- a/src/output/markdown_ast.js +++ b/src/output/markdown_ast.js @@ -73,7 +73,7 @@ function buildMarkdownAST(comments, config) { if (params.length === 0) return []; return u( 'list', - { ordered: false }, + { ordered: false, spread: false }, params.map(param => u( 'listItem', @@ -126,7 +126,7 @@ function buildMarkdownAST(comments, config) { function propertyList(properties) { return u( 'list', - { ordered: false }, + { ordered: false, spread: false }, properties.map(property => u( 'listItem', @@ -192,7 +192,7 @@ function buildMarkdownAST(comments, config) { comment.throws.length > 0 && u( 'list', - { ordered: false }, + { ordered: false, spread: false }, comment.throws.map(returns => u('listItem', [ u( @@ -223,15 +223,20 @@ function buildMarkdownAST(comments, config) { ); } - function seeLink(comment) { + function seeLink({ sees = [] }) { return ( - comment.sees.length > 0 && + sees.length > 0 && u( 'list', - { ordered: false }, - comment.sees.map(see => + { ordered: false, spread: false }, + sees.map(see => u('listItem', [ - u('strong', [u('text', 'See: ')].concat(see.description)) + u( + 'paragraph', + [u('strong', [u('text', 'See')]), u('text', ': ')].concat( + see.description + ) + ) ]) ) ) @@ -278,7 +283,7 @@ function buildMarkdownAST(comments, config) { [u('strong', [u('text', 'Meta')])].concat( u( 'list', - { ordered: false }, + { ordered: false, spread: false }, meta.map(tag => { let metaContent; if (tag === 'copyright' || tag === 'deprecated') { diff --git a/src/parse.js b/src/parse.js index 6f6ce2306..653c28387 100644 --- a/src/parse.js +++ b/src/parse.js @@ -1,5 +1,5 @@ const doctrine = require('doctrine-temporary-fork'); -const parseMarkdown = require('./parse_markdown'); +const parseMarkdown = require('./remark-parse'); /** * Flatteners: these methods simplify the structure of JSDoc comments diff --git a/src/parse_markdown.js b/src/parse_markdown.js deleted file mode 100644 index aee24bec9..000000000 --- a/src/parse_markdown.js +++ /dev/null @@ -1,16 +0,0 @@ -const remark = require('remark'); -const inlineTokenizer = require('./inline_tokenizer'); - -/** - * Parse a string of Markdown into a Remark - * abstract syntax tree. - * - * @param {string} string markdown text - * @returns {Object} abstract syntax tree - * @private - */ -function parseMarkdown(string) { - return remark().use(inlineTokenizer).parse(string); -} - -module.exports = parseMarkdown; diff --git a/src/remark-jsDoc-link.js b/src/remark-jsDoc-link.js new file mode 100644 index 000000000..8bb5c0d8e --- /dev/null +++ b/src/remark-jsDoc-link.js @@ -0,0 +1,36 @@ +const findAndReplace = require('mdast-util-find-and-replace'); + +/** + * A remark plugin that installs + * for JSDoc inline `{@link}` and `{@tutorial}` tags. + * + * This does not handle the `[text]({@link url})` and `[text]({@tutorial url})` forms of these tags. + * That's a JSDoc misfeature; just use regular markdown syntax instead: `[text](url)`. + * + * @returns {Function} + */ +module.exports = function () { + function replace(type) { + return (match, matchUrl, matchValue) => { + return { + type, + url: matchUrl, + title: null, + jsdoc: true, + children: [ + { + type: 'text', + value: matchValue || matchUrl + } + ] + }; + }; + } + + return function transform(markdownAST) { + return findAndReplace(markdownAST, [ + [/\{@link\s+(.+?)(?:[\s|](.*?))?\}/g, replace('link')], + [/\{@tutorial\s+(.+?)(?:[\s|](.*?))?\}/g, replace('tutorial')] + ]); + }; +}; diff --git a/src/remark-parse.js b/src/remark-parse.js new file mode 100644 index 000000000..ba45b2616 --- /dev/null +++ b/src/remark-parse.js @@ -0,0 +1,18 @@ +const remark = require('remark'); +const removePosition = require('./remark-remove-position')(); +const jsDocLink = require('./remark-jsDoc-link')(); + +/** + * Parse a string of Markdown into a Remark + * abstract syntax tree. + * + * @param {string} string markdown text + * @returns {Object} abstract syntax tree + * @private + */ +module.exports = function (string) { + const treeAst = remark().parse(string); + removePosition(treeAst); + jsDocLink(treeAst); + return treeAst; +}; diff --git a/src/remark-remove-position.js b/src/remark-remove-position.js new file mode 100644 index 000000000..425e67a6a --- /dev/null +++ b/src/remark-remove-position.js @@ -0,0 +1,8 @@ +const visit = require('unist-util-visit'); + +module.exports = function () { + return function transform(markdownAST) { + visit(markdownAST, node => delete node.position); + return markdownAST; + }; +}; diff --git a/src/sort.js b/src/sort.js index 7f4de9c75..e016f8da4 100644 --- a/src/sort.js +++ b/src/sort.js @@ -1,4 +1,4 @@ -const parseMarkdown = require('./parse_markdown'); +const parseMarkdown = require('./remark-parse'); const chalk = require('chalk'); const path = require('path'); const fs = require('fs'); diff --git a/yarn.lock b/yarn.lock index 6794f2728..7c1abccbd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,6 +2,13 @@ # yarn lockfile v1 +"@babel/code-frame@7.12.11": + version "7.12.11" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f" + integrity sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw== + dependencies: + "@babel/highlight" "^7.10.4" + "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.10.4.tgz#168da1a36e90da68ae8d49c0f1b48c7c6249213a" @@ -286,7 +293,7 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.12.3.tgz#a305415ebe7a6c7023b40b5122a0662d928334cd" integrity sha512-kFsOS0IbsuhO5ojF8Hc8z/8vEIOkylVBrjiZUbLTE3XFe0Qi+uu6HjzQixkFaqr0ZPAMZcBVxEwmsnsLPZ2Xsw== -"@babel/parser@^7.1.0", "@babel/parser@^7.10.4", "@babel/parser@^7.12.3", "@babel/parser@^7.12.5", "@babel/parser@^7.7.0": +"@babel/parser@^7.1.0", "@babel/parser@^7.10.4", "@babel/parser@^7.12.3", "@babel/parser@^7.12.5": version "7.12.5" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.12.5.tgz#b4af32ddd473c0bfa643bd7ff0728b8e71b81ea0" integrity sha512-FVM6RZQ0mn2KCf1VUED7KepYeUWoVShczewOCfm3nzoBybaih51h+sYVVGthW9M6lPByEPTQf+xm27PBdlpwmQ== @@ -496,7 +503,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-dynamic-import@^7.8.0", "@babel/plugin-syntax-dynamic-import@^7.8.3": +"@babel/plugin-syntax-dynamic-import@^7.8.0": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz#62bf98b2da3cd21d626154fc96ee5b3cb68eacb3" integrity sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ== @@ -1053,7 +1060,7 @@ "@babel/parser" "^7.10.4" "@babel/types" "^7.10.4" -"@babel/traverse@^7.1.0", "@babel/traverse@^7.10.4", "@babel/traverse@^7.12.1", "@babel/traverse@^7.12.5", "@babel/traverse@^7.7.0": +"@babel/traverse@^7.1.0", "@babel/traverse@^7.10.4", "@babel/traverse@^7.12.1", "@babel/traverse@^7.12.5": version "7.12.5" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.12.5.tgz#78a0c68c8e8a35e4cacfd31db8bb303d5606f095" integrity sha512-xa15FbQnias7z9a62LwYAA5SZZPkHIXpd42C6uW68o8uTuua96FHZy1y61Va5P/i83FAAcMpW8+A/QayntzuqA== @@ -1083,7 +1090,7 @@ globals "^11.1.0" lodash "^4.17.19" -"@babel/types@^7.0.0", "@babel/types@^7.10.4", "@babel/types@^7.10.5", "@babel/types@^7.11.0", "@babel/types@^7.12.1", "@babel/types@^7.12.5", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.7.0": +"@babel/types@^7.0.0", "@babel/types@^7.10.4", "@babel/types@^7.10.5", "@babel/types@^7.11.0", "@babel/types@^7.12.1", "@babel/types@^7.12.5", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": version "7.12.6" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.12.6.tgz#ae0e55ef1cce1fbc881cd26f8234eb3e657edc96" integrity sha512-hwyjw6GvjBLiyy3W0YQf0Z5Zf4NpYejUnKFcfcUhZCSffoBBp30w6wP2Wn6pk31jMYZvcOrB/1b7cGXvEoKogA== @@ -1114,10 +1121,10 @@ exec-sh "^0.3.2" minimist "^1.2.0" -"@eslint/eslintrc@^0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.2.1.tgz#f72069c330461a06684d119384435e12a5d76e3c" - integrity sha512-XRUeBZ5zBWLYgSANMpThFddrZZkEbGHgUdt5UJjZfnlN9BGCiUBrf+nvbRupSjMvqzwnQN0qwCmOxITt1cfywA== +"@eslint/eslintrc@^0.4.0": + version "0.4.0" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.0.tgz#99cc0a0584d72f1df38b900fb062ba995f395547" + integrity sha512-2ZPCc+uNbjV5ERJr+aKSPRwZgKd2z11x0EgLvb1PURmUrn9QNRXFqje0Ldq454PfAVyaJYyrDvvIKSFP4NnBog== dependencies: ajv "^6.12.4" debug "^4.1.1" @@ -1126,7 +1133,6 @@ ignore "^4.0.6" import-fresh "^3.2.1" js-yaml "^3.13.1" - lodash "^4.17.19" minimatch "^3.0.4" strip-json-comments "^3.1.1" @@ -1397,6 +1403,13 @@ dependencies: "@types/istanbul-lib-report" "*" +"@types/mdast@^3.0.0", "@types/mdast@^3.0.3": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@types/mdast/-/mdast-3.0.3.tgz#2d7d671b1cd1ea3deb306ea75036c2a0407d2deb" + integrity sha512-SXPBMnFVQg1s00dlMCc/jCdvPqdE4mXaMMCeRlxLDmTAEoegHT53xKtkDnzDTOcmMHUfcjyf36/YYZ6SxRdnsw== + dependencies: + "@types/unist" "*" + "@types/minimist@^1.2.0": version "1.2.1" resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.1.tgz#283f669ff76d7b8260df8ab7a4262cc83d988256" @@ -1422,7 +1435,7 @@ resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.0.tgz#7036640b4e21cc2f259ae826ce843d277dad8cff" integrity sha512-RJJrrySY7A8havqpGObOB4W92QXKJo63/jFLLgpvOtsGUqbQZ9Sbgl35KMm1DjC6j7AvmmU2bIno+3IyEaemaw== -"@types/unist@^2.0.0", "@types/unist@^2.0.2": +"@types/unist@*", "@types/unist@^2.0.0", "@types/unist@^2.0.2", "@types/unist@^2.0.3": version "2.0.3" resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.3.tgz#9c088679876f374eb5983f150d4787aa6fb32d7e" integrity sha512-FvUupuM3rlRsRtCN+fDudtmytGO6iHJuuRKS1Ss0pG5z8oX0diNEw94UEL7hgDbpN94rgaK5R7sWm6RrSkZuAQ== @@ -1460,7 +1473,7 @@ acorn-globals@^6.0.0: acorn "^7.1.1" acorn-walk "^7.1.1" -acorn-jsx@^5.2.0: +acorn-jsx@^5.2.0, acorn-jsx@^5.3.1: version "5.3.1" resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.1.tgz#fc8661e11b7ac1539c47dbfea2e72b3af34d267b" integrity sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng== @@ -1489,7 +1502,7 @@ add-stream@^1.0.0: resolved "https://registry.yarnpkg.com/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa" integrity sha1-anmQQ3ynNtXhKI25K9MmbV9csqo= -ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.3, ajv@^6.12.4: +ajv@^6.10.0, ajv@^6.12.3, ajv@^6.12.4: version "6.12.6" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== @@ -1499,6 +1512,16 @@ ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.3, ajv@^6.12.4: json-schema-traverse "^0.4.1" uri-js "^4.2.2" +ajv@^8.0.1: + version "8.0.5" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.0.5.tgz#f07d6fdeffcdbb80485570ce3f1bc845fcc812b9" + integrity sha512-RkiLa/AeJx7+9OvniQ/qeWu0w74A8DiPPBclQ6ji3ZQkv5KamO+QGpqmi7O4JIw3rHGUXZ6CoP9tsAkn3gyazg== + dependencies: + fast-deep-equal "^3.1.1" + json-schema-traverse "^1.0.0" + require-from-string "^2.0.2" + uri-js "^4.2.2" + ansi-colors@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" @@ -1531,11 +1554,6 @@ ansi-regex@^3.0.0: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg= -ansi-regex@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997" - integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== - ansi-regex@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" @@ -1647,10 +1665,10 @@ assign-symbols@^1.0.0: resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" integrity sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c= -astral-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9" - integrity sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg== +astral-regex@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31" + integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ== asynckit@^0.4.0: version "0.4.0" @@ -1677,23 +1695,6 @@ aws4@^1.8.0: resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59" integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== -babel-core@^7.0.0-bridge.0: - version "7.0.0-bridge.0" - resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece" - integrity sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg== - -babel-eslint@^10.1.0: - version "10.1.0" - resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-10.1.0.tgz#6968e568a910b78fb3779cdd8b6ac2f479943232" - integrity sha512-ifWaTHQ0ce+448CYop8AdrQiBsGrnC+bMgfyKFdi6EsPLTAWG+QfyDeM6OH+FmWnKvEq5NnBMLvlBUPKQZoDSg== - dependencies: - "@babel/code-frame" "^7.0.0" - "@babel/parser" "^7.7.0" - "@babel/traverse" "^7.7.0" - "@babel/types" "^7.7.0" - eslint-visitor-keys "^1.0.0" - resolve "^1.12.0" - babel-jest@^26.6.3: version "26.6.3" resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-26.6.3.tgz#d87d25cb0037577a0c89f82e5755c5d293c01056" @@ -2130,6 +2131,15 @@ cliui@^6.0.0: strip-ansi "^6.0.0" wrap-ansi "^6.2.0" +cliui@^7.0.2: + version "7.0.4" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" + integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^7.0.0" + clone-buffer@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz#e3e25b207ac4e701af721e2cb5a16792cac3dc58" @@ -2164,11 +2174,6 @@ code-point-at@^1.0.0: resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= -collapse-white-space@^1.0.0, collapse-white-space@^1.0.2: - version "1.0.6" - resolved "https://registry.yarnpkg.com/collapse-white-space/-/collapse-white-space-1.0.6.tgz#e63629c0016665792060dbbeb79c42239d2c5287" - integrity sha512-jEovNnrhMuqyCcjfEJA56v0Xq8SkIoPKDyaHahwo3POf4qcSXqMYuwNcOTzp74vTsR9Tn08z4MxWqAhcekogkQ== - collect-v8-coverage@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz#cc2c8e94fc18bbdffe64d6534570c8a673b27f59" @@ -2218,7 +2223,7 @@ combined-stream@^1.0.6, combined-stream@~1.0.6: dependencies: delayed-stream "~1.0.0" -comma-separated-tokens@^1.0.1: +comma-separated-tokens@^1.0.0: version "1.0.8" resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-1.0.8.tgz#632b80b6117867a158f1080ad498b2fbe7e3f5ea" integrity sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw== @@ -2228,14 +2233,6 @@ commander@^2.14.1, commander@^2.9.0: resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== -compare-func@^1.3.1: - version "1.3.4" - resolved "https://registry.yarnpkg.com/compare-func/-/compare-func-1.3.4.tgz#6b07c4c5e8341119baf44578085bda0f4a823516" - integrity sha512-sq2sWtrqKPkEXAC8tEJA1+BqAH9GbFkGBtUOqrUX57VSfwp8xyktctk+uLoRy5eccTdxzDcVIztlYDpKs3Jv1Q== - dependencies: - array-ify "^1.0.0" - dot-prop "^3.0.0" - compare-func@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/compare-func/-/compare-func-2.0.0.tgz#fb65e75edbddfd2e568554e8b5b05fff7a51fcb3" @@ -2288,7 +2285,7 @@ continuable-cache@^0.3.1: resolved "https://registry.yarnpkg.com/continuable-cache/-/continuable-cache-0.3.1.tgz#bd727a7faed77e71ff3985ac93351a912733ad0f" integrity sha1-vXJ6f67XfnH/OYWskzUakSczrQ8= -conventional-changelog-angular@^5.0.10, conventional-changelog-angular@^5.0.11: +conventional-changelog-angular@^5.0.11, conventional-changelog-angular@^5.0.12: version "5.0.12" resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-5.0.12.tgz#c979b8b921cbfe26402eb3da5bbfda02d865a2b9" integrity sha512-5GLsbnkR/7A89RyHLvvoExbiGbd9xKdKqDTrArnPbOqBqG/2wIosu0fHwpeIRI8Tl94MhVNBXcLJZl92ZQ5USw== @@ -2296,14 +2293,14 @@ conventional-changelog-angular@^5.0.10, conventional-changelog-angular@^5.0.11: compare-func "^2.0.0" q "^1.5.1" -conventional-changelog-atom@^2.0.7: +conventional-changelog-atom@^2.0.7, conventional-changelog-atom@^2.0.8: version "2.0.8" resolved "https://registry.yarnpkg.com/conventional-changelog-atom/-/conventional-changelog-atom-2.0.8.tgz#a759ec61c22d1c1196925fca88fe3ae89fd7d8de" integrity sha512-xo6v46icsFTK3bb7dY/8m2qvc8sZemRgdqLb/bjpBsH2UyOS8rKNTgcb5025Hri6IpANPApbXMg15QLb1LJpBw== dependencies: q "^1.5.1" -conventional-changelog-codemirror@^2.0.7: +conventional-changelog-codemirror@^2.0.7, conventional-changelog-codemirror@^2.0.8: version "2.0.8" resolved "https://registry.yarnpkg.com/conventional-changelog-codemirror/-/conventional-changelog-codemirror-2.0.8.tgz#398e9530f08ce34ec4640af98eeaf3022eb1f7dc" integrity sha512-z5DAsn3uj1Vfp7po3gpt2Boc+Bdwmw2++ZHa5Ak9k0UKsYAO5mH1UBTN0qSCuJZREIhX6WU4E1p3IW2oRCNzQw== @@ -2315,15 +2312,6 @@ conventional-changelog-config-spec@2.1.0: resolved "https://registry.yarnpkg.com/conventional-changelog-config-spec/-/conventional-changelog-config-spec-2.1.0.tgz#874a635287ef8b581fd8558532bf655d4fb59f2d" integrity sha512-IpVePh16EbbB02V+UA+HQnnPIohgXvJRxHcS5+Uwk4AT5LjzCZJm5sp/yqs5C6KZJ1jMsV4paEV13BN1pvDuxQ== -conventional-changelog-conventionalcommits@4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.3.0.tgz#c4205a659f7ca9d7881f29ee78a4e7d6aeb8b3c2" - integrity sha512-oYHydvZKU+bS8LnGqTMlNrrd7769EsuEHKy4fh1oMdvvDi7fem8U+nvfresJ1IDB8K00Mn4LpiA/lR+7Gs6rgg== - dependencies: - compare-func "^1.3.1" - lodash "^4.17.15" - q "^1.5.1" - conventional-changelog-conventionalcommits@4.4.0: version "4.4.0" resolved "https://registry.yarnpkg.com/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.4.0.tgz#8d96687141c9bbd725a89b95c04966d364194cd4" @@ -2333,7 +2321,7 @@ conventional-changelog-conventionalcommits@4.4.0: lodash "^4.17.15" q "^1.5.1" -conventional-changelog-conventionalcommits@^4.3.0, conventional-changelog-conventionalcommits@^4.4.0: +conventional-changelog-conventionalcommits@4.5.0, conventional-changelog-conventionalcommits@^4.4.0, conventional-changelog-conventionalcommits@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.5.0.tgz#a02e0b06d11d342fdc0f00c91d78265ed0bc0a62" integrity sha512-buge9xDvjjOxJlyxUnar/+6i/aVEVGA7EEh4OafBCXPlLUQPGbRUBhBUveWRxzvR8TEjhKEP4BdepnpG2FSZXw== @@ -2342,7 +2330,7 @@ conventional-changelog-conventionalcommits@^4.3.0, conventional-changelog-conven lodash "^4.17.15" q "^1.5.1" -conventional-changelog-core@^4.1.7, conventional-changelog-core@^4.2.0: +conventional-changelog-core@^4.2.0: version "4.2.1" resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-4.2.1.tgz#f811ad98ab2ff080becafc61407509420c9b447d" integrity sha512-8cH8/DEoD3e5Q6aeogdR5oaaKs0+mG6+f+Om0ZYt3PNv7Zo0sQhu4bMDRsqAF+UTekTAtP1W/C41jH/fkm8Jtw== @@ -2363,35 +2351,56 @@ conventional-changelog-core@^4.1.7, conventional-changelog-core@^4.2.0: shelljs "^0.8.3" through2 "^4.0.0" -conventional-changelog-ember@^2.0.8: +conventional-changelog-core@^4.2.1: + version "4.2.2" + resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-4.2.2.tgz#f0897df6d53b5d63dec36b9442bd45354f8b3ce5" + integrity sha512-7pDpRUiobQDNkwHyJG7k9f6maPo9tfPzkSWbRq97GGiZqisElhnvUZSvyQH20ogfOjntB5aadvv6NNcKL1sReg== + dependencies: + add-stream "^1.0.0" + conventional-changelog-writer "^4.0.18" + conventional-commits-parser "^3.2.0" + dateformat "^3.0.0" + get-pkg-repo "^1.0.0" + git-raw-commits "^2.0.8" + git-remote-origin-url "^2.0.0" + git-semver-tags "^4.1.1" + lodash "^4.17.15" + normalize-package-data "^3.0.0" + q "^1.5.1" + read-pkg "^3.0.0" + read-pkg-up "^3.0.0" + shelljs "^0.8.3" + through2 "^4.0.0" + +conventional-changelog-ember@^2.0.8, conventional-changelog-ember@^2.0.9: version "2.0.9" resolved "https://registry.yarnpkg.com/conventional-changelog-ember/-/conventional-changelog-ember-2.0.9.tgz#619b37ec708be9e74a220f4dcf79212ae1c92962" integrity sha512-ulzIReoZEvZCBDhcNYfDIsLTHzYHc7awh+eI44ZtV5cx6LVxLlVtEmcO+2/kGIHGtw+qVabJYjdI5cJOQgXh1A== dependencies: q "^1.5.1" -conventional-changelog-eslint@^3.0.8: +conventional-changelog-eslint@^3.0.8, conventional-changelog-eslint@^3.0.9: version "3.0.9" resolved "https://registry.yarnpkg.com/conventional-changelog-eslint/-/conventional-changelog-eslint-3.0.9.tgz#689bd0a470e02f7baafe21a495880deea18b7cdb" integrity sha512-6NpUCMgU8qmWmyAMSZO5NrRd7rTgErjrm4VASam2u5jrZS0n38V7Y9CzTtLT2qwz5xEChDR4BduoWIr8TfwvXA== dependencies: q "^1.5.1" -conventional-changelog-express@^2.0.5: +conventional-changelog-express@^2.0.5, conventional-changelog-express@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/conventional-changelog-express/-/conventional-changelog-express-2.0.6.tgz#420c9d92a347b72a91544750bffa9387665a6ee8" integrity sha512-SDez2f3iVJw6V563O3pRtNwXtQaSmEfTCaTBPCqn0oG0mfkq0rX4hHBq5P7De2MncoRixrALj3u3oQsNK+Q0pQ== dependencies: q "^1.5.1" -conventional-changelog-jquery@^3.0.10: +conventional-changelog-jquery@^3.0.10, conventional-changelog-jquery@^3.0.11: version "3.0.11" resolved "https://registry.yarnpkg.com/conventional-changelog-jquery/-/conventional-changelog-jquery-3.0.11.tgz#d142207400f51c9e5bb588596598e24bba8994bf" integrity sha512-x8AWz5/Td55F7+o/9LQ6cQIPwrCjfJQ5Zmfqi8thwUEKHstEn4kTIofXub7plf1xvFA2TqhZlq7fy5OmV6BOMw== dependencies: q "^1.5.1" -conventional-changelog-jshint@^2.0.7, conventional-changelog-jshint@^2.0.8: +conventional-changelog-jshint@^2.0.8, conventional-changelog-jshint@^2.0.9: version "2.0.9" resolved "https://registry.yarnpkg.com/conventional-changelog-jshint/-/conventional-changelog-jshint-2.0.9.tgz#f2d7f23e6acd4927a238555d92c09b50fe3852ff" integrity sha512-wMLdaIzq6TNnMHMy31hql02OEQ8nCQfExw1SE0hYL5KvU+JCTuPaDO+7JiogGT2gJAxiUGATdtYYfh+nT+6riA== @@ -2420,23 +2429,6 @@ conventional-changelog-writer@^4.0.18: split "^1.0.0" through2 "^4.0.0" -conventional-changelog@3.1.21: - version "3.1.21" - resolved "https://registry.yarnpkg.com/conventional-changelog/-/conventional-changelog-3.1.21.tgz#4a774e6bf503acfd7e4685bb750da8c0eccf1e0d" - integrity sha512-ZGecVZPEo3aC75VVE4nu85589dDhpMyqfqgUM5Myq6wfKWiNqhDJLSDMsc8qKXshZoY7dqs1hR0H/15kI/G2jQ== - dependencies: - conventional-changelog-angular "^5.0.10" - conventional-changelog-atom "^2.0.7" - conventional-changelog-codemirror "^2.0.7" - conventional-changelog-conventionalcommits "^4.3.0" - conventional-changelog-core "^4.1.7" - conventional-changelog-ember "^2.0.8" - conventional-changelog-eslint "^3.0.8" - conventional-changelog-express "^2.0.5" - conventional-changelog-jquery "^3.0.10" - conventional-changelog-jshint "^2.0.7" - conventional-changelog-preset-loader "^2.3.4" - conventional-changelog@3.1.23: version "3.1.23" resolved "https://registry.yarnpkg.com/conventional-changelog/-/conventional-changelog-3.1.23.tgz#d696408021b579a3814aba79b38729ed86478aea" @@ -2454,6 +2446,23 @@ conventional-changelog@3.1.23: conventional-changelog-jshint "^2.0.8" conventional-changelog-preset-loader "^2.3.4" +conventional-changelog@3.1.24: + version "3.1.24" + resolved "https://registry.yarnpkg.com/conventional-changelog/-/conventional-changelog-3.1.24.tgz#ebd180b0fd1b2e1f0095c4b04fd088698348a464" + integrity sha512-ed6k8PO00UVvhExYohroVPXcOJ/K1N0/drJHx/faTH37OIZthlecuLIRX/T6uOp682CAoVoFpu+sSEaeuH6Asg== + dependencies: + conventional-changelog-angular "^5.0.12" + conventional-changelog-atom "^2.0.8" + conventional-changelog-codemirror "^2.0.8" + conventional-changelog-conventionalcommits "^4.5.0" + conventional-changelog-core "^4.2.1" + conventional-changelog-ember "^2.0.9" + conventional-changelog-eslint "^3.0.9" + conventional-changelog-express "^2.0.6" + conventional-changelog-jquery "^3.0.11" + conventional-changelog-jshint "^2.0.9" + conventional-changelog-preset-loader "^2.3.4" + conventional-commit-types@^2.0.0: version "2.3.0" resolved "https://registry.yarnpkg.com/conventional-commit-types/-/conventional-commit-types-2.3.0.tgz#bc3c8ebba0a9e4b3ecc548f1d0674e251ab8be22" @@ -2494,18 +2503,18 @@ conventional-recommended-bump@6.0.10: meow "^7.0.0" q "^1.5.1" -conventional-recommended-bump@6.0.9: - version "6.0.9" - resolved "https://registry.yarnpkg.com/conventional-recommended-bump/-/conventional-recommended-bump-6.0.9.tgz#49ee74f52fbafcc63e89e2297d020279fea318f0" - integrity sha512-DpRmW1k8CpRrcsXHOPGgHgOd4BMGiq2gtXAveGM8B9pSd9b4r4WKnqp1Fd0vkDtk8l973mIk8KKKUYnKRr9SFw== +conventional-recommended-bump@6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/conventional-recommended-bump/-/conventional-recommended-bump-6.1.0.tgz#cfa623285d1de554012f2ffde70d9c8a22231f55" + integrity sha512-uiApbSiNGM/kkdL9GTOLAqC4hbptObFo4wW2QRyHsKciGAfQuLU1ShZ1BIVI/+K2BE/W1AWYQMCXAsv4dyKPaw== dependencies: concat-stream "^2.0.0" conventional-changelog-preset-loader "^2.3.4" - conventional-commits-filter "^2.0.6" - conventional-commits-parser "^3.1.0" - git-raw-commits "2.0.0" - git-semver-tags "^4.0.0" - meow "^7.0.0" + conventional-commits-filter "^2.0.7" + conventional-commits-parser "^3.2.0" + git-raw-commits "^2.0.8" + git-semver-tags "^4.1.1" + meow "^8.0.0" q "^1.5.1" convert-source-map@^1.4.0, convert-source-map@^1.5.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: @@ -2614,6 +2623,11 @@ dargs@^4.0.1: dependencies: number-is-nan "^1.0.0" +dargs@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/dargs/-/dargs-7.0.0.tgz#04015c41de0bcb69ec84050f3d9be0caf8d6d5cc" + integrity sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg== + dashdash@^1.12.0: version "1.14.1" resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" @@ -2659,6 +2673,13 @@ debug@^3.1.0: dependencies: ms "^2.1.1" +debug@^4.0.0: + version "4.3.1" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee" + integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ== + dependencies: + ms "2.1.2" + debug@^4.0.1, debug@^4.1.0, debug@^4.1.1: version "4.2.0" resolved "https://registry.yarnpkg.com/debug/-/debug-4.2.0.tgz#7f150f93920e94c58f5574c2fd01a3110effe7f1" @@ -2743,13 +2764,6 @@ delayed-stream@~1.0.0: resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= -detab@^2.0.0: - version "2.0.4" - resolved "https://registry.yarnpkg.com/detab/-/detab-2.0.4.tgz#b927892069aff405fbb9a186fe97a44a92a94b43" - integrity sha512-8zdsQA5bIkoRECvCrNKPla84lyoR7DSAyf7p0YgXzBO9PDJx8KntPUay7NS6yp+KdxdVtiE5SpHKtbp2ZQyA9g== - dependencies: - repeat-string "^1.5.4" - detect-indent@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-6.0.0.tgz#0abd0f549f69fc6659a254fe96786186b6f528fd" @@ -2805,13 +2819,6 @@ domexception@^2.0.1: dependencies: webidl-conversions "^5.0.0" -dot-prop@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-3.0.0.tgz#1b708af094a49c9a0e7dbcad790aba539dac1177" - integrity sha1-G3CK8JSknJoOfbyteQq6U52sEXc= - dependencies: - is-obj "^1.0.0" - dot-prop@^5.1.0: version "5.3.0" resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-5.3.0.tgz#90ccce708cd9cd82cc4dc8c3ddd9abdd55b20e88" @@ -2872,11 +2879,6 @@ emittery@^0.7.1: resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-6.1.1.tgz#c6cd0ec1b0642e2a3c67a1137efc5e796da4f88e" integrity sha1-xs0OwbBkLio8Z6ETfvxeeW2k+I4= -emoji-regex@^7.0.1: - version "7.0.3" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" - integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== - emoji-regex@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" @@ -2925,6 +2927,11 @@ escape-string-regexp@^2.0.0: resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== +escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + escodegen@^1.14.1: version "1.14.3" resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.14.3.tgz#4e7b81fba61581dc97582ed78cab7f0e8d63f503" @@ -2937,12 +2944,10 @@ escodegen@^1.14.1: optionalDependencies: source-map "~0.6.1" -eslint-config-prettier@^6.11.0: - version "6.15.0" - resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.15.0.tgz#7f93f6cb7d45a92f1537a70ecc06366e1ac6fed9" - integrity sha512-a1+kOYLR8wMGustcgAjdydMsQ2A/2ipRPwRKUmfYaSxc9ZPcrku080Ctl6zrZzZNs/U82MjSv+qKREkoq3bJaw== - dependencies: - get-stdin "^6.0.0" +eslint-config-prettier@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.1.0.tgz#4ef1eaf97afe5176e6a75ddfb57c335121abc5a6" + integrity sha512-oKMhGv3ihGbCIimCAjqkdzx2Q+jthoqnXSP+d86M9tptwugycmTFdVR4IpLgq2c4SHifbwO90z2fQ8/Aio73yw== eslint-scope@^5.1.1: version "5.1.1" @@ -2959,7 +2964,7 @@ eslint-utils@^2.1.0: dependencies: eslint-visitor-keys "^1.1.0" -eslint-visitor-keys@^1.0.0, eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.3.0: +eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== @@ -2969,13 +2974,13 @@ eslint-visitor-keys@^2.0.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz#21fdc8fbcd9c795cc0321f0563702095751511a8" integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ== -eslint@^7.1.0: - version "7.13.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.13.0.tgz#7f180126c0dcdef327bfb54b211d7802decc08da" - integrity sha512-uCORMuOO8tUzJmsdRtrvcGq5qposf7Rw0LwkTJkoDbOycVQtQjmnhZSuLQnozLE4TmAzlMVV45eCHmQ1OpDKUQ== +eslint@^7.23.0: + version "7.23.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.23.0.tgz#8d029d252f6e8cf45894b4bee08f5493f8e94325" + integrity sha512-kqvNVbdkjzpFy0XOszNwjkKzZ+6TcwCQ/h+ozlcIWwaimBBuhlQ4nN6kbiM2L+OjDcznkTJxzYfRFH92sx4a0Q== dependencies: - "@babel/code-frame" "^7.0.0" - "@eslint/eslintrc" "^0.2.1" + "@babel/code-frame" "7.12.11" + "@eslint/eslintrc" "^0.4.0" ajv "^6.10.0" chalk "^4.0.0" cross-spawn "^7.0.2" @@ -2985,13 +2990,13 @@ eslint@^7.1.0: eslint-scope "^5.1.1" eslint-utils "^2.1.0" eslint-visitor-keys "^2.0.0" - espree "^7.3.0" - esquery "^1.2.0" + espree "^7.3.1" + esquery "^1.4.0" esutils "^2.0.2" - file-entry-cache "^5.0.1" + file-entry-cache "^6.0.1" functional-red-black-tree "^1.0.1" glob-parent "^5.0.0" - globals "^12.1.0" + globals "^13.6.0" ignore "^4.0.6" import-fresh "^3.0.0" imurmurhash "^0.1.4" @@ -2999,7 +3004,7 @@ eslint@^7.1.0: js-yaml "^3.13.1" json-stable-stringify-without-jsonify "^1.0.1" levn "^0.4.1" - lodash "^4.17.19" + lodash "^4.17.21" minimatch "^3.0.4" natural-compare "^1.4.0" optionator "^0.9.1" @@ -3008,7 +3013,7 @@ eslint@^7.1.0: semver "^7.2.1" strip-ansi "^6.0.0" strip-json-comments "^3.1.0" - table "^5.2.3" + table "^6.0.4" text-table "^0.2.0" v8-compile-cache "^2.0.3" @@ -3021,15 +3026,24 @@ espree@^7.3.0: acorn-jsx "^5.2.0" eslint-visitor-keys "^1.3.0" +espree@^7.3.1: + version "7.3.1" + resolved "https://registry.yarnpkg.com/espree/-/espree-7.3.1.tgz#f2df330b752c6f55019f8bd89b7660039c1bbbb6" + integrity sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g== + dependencies: + acorn "^7.4.0" + acorn-jsx "^5.3.1" + eslint-visitor-keys "^1.3.0" + esprima@^4.0.0, esprima@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== -esquery@^1.2.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.3.1.tgz#b78b5828aa8e214e29fb74c4d5b752e1c033da57" - integrity sha512-olpvt9QG0vniUBZspVRN6lwB7hOZoTRtT+jzR+tS4ffYx2mzbw+z0XCOk44aaLYKApNX5nMm+E+P6o25ip/DHQ== +esquery@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.4.0.tgz#2148ffc38b82e8c7057dfed48425b3e61f0f24a5" + integrity sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w== dependencies: estraverse "^5.1.0" @@ -3146,7 +3160,7 @@ extend-shallow@^3.0.0, extend-shallow@^3.0.2: assign-symbols "^1.0.0" is-extendable "^1.0.1" -extend@^3.0.0, extend@~3.0.2: +extend@^3.0.0, extend@^3.0.2, extend@~3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== @@ -3226,12 +3240,12 @@ figures@^3.1.0: dependencies: escape-string-regexp "^1.0.5" -file-entry-cache@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-5.0.1.tgz#ca0f6efa6dd3d561333fb14515065c2fafdf439c" - integrity sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g== +file-entry-cache@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" + integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== dependencies: - flat-cache "^2.0.1" + flat-cache "^3.0.4" fill-range@^4.0.0: version "4.0.0" @@ -3285,19 +3299,26 @@ find-up@^4.0.0, find-up@^4.1.0: locate-path "^5.0.0" path-exists "^4.0.0" -flat-cache@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-2.0.1.tgz#5d296d6f04bda44a4630a301413bdbc2ec085ec0" - integrity sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA== +find-up@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== dependencies: - flatted "^2.0.0" - rimraf "2.6.3" - write "1.0.3" + locate-path "^6.0.0" + path-exists "^4.0.0" -flatted@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138" - integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA== +flat-cache@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" + integrity sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg== + dependencies: + flatted "^3.1.0" + rimraf "^3.0.2" + +flatted@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.1.1.tgz#c4b489e80096d9df1dfc97c79871aea7c617c469" + integrity sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA== flush-write-stream@^1.0.2: version "1.1.1" @@ -3388,7 +3409,7 @@ gensync@^1.0.0-beta.1: resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== -get-caller-file@^2.0.1: +get-caller-file@^2.0.1, get-caller-file@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== @@ -3480,6 +3501,17 @@ git-raw-commits@2.0.0: split2 "^2.0.0" through2 "^2.0.0" +git-raw-commits@^2.0.8: + version "2.0.10" + resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-2.0.10.tgz#e2255ed9563b1c9c3ea6bd05806410290297bbc1" + integrity sha512-sHhX5lsbG9SOO6yXdlwgEMQ/ljIn7qMpAbJZCGfXX2fq5T8M5SrDnpYk9/4HswTildcIqatsWa91vty6VhWSaQ== + dependencies: + dargs "^7.0.0" + lodash "^4.17.15" + meow "^8.0.0" + split2 "^3.0.0" + through2 "^4.0.0" + git-remote-origin-url@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz#5282659dae2107145a11126112ad3216ec5fa65f" @@ -3525,7 +3557,7 @@ github-slugger@1.2.0: dependencies: emoji-regex ">=6.0.0 <=6.1.1" -github-slugger@^1.0.0, github-slugger@^1.2.1: +github-slugger@^1.2.1: version "1.3.0" resolved "https://registry.yarnpkg.com/github-slugger/-/github-slugger-1.3.0.tgz#9bd0a95c5efdfc46005e82a906ef8e2a059124c9" integrity sha512-gwJScWVNhFYSRDvURk/8yhcFBee6aFjye2a7Lhb2bUyRulpIoek9p0I9Kt7PT67d/nUlZbFu8L9RLiA0woQN8Q== @@ -3592,6 +3624,13 @@ globals@^12.1.0: dependencies: type-fest "^0.8.1" +globals@^13.6.0: + version "13.7.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-13.7.0.tgz#aed3bcefd80ad3ec0f0be2cf0c895110c0591795" + integrity sha512-Aipsz6ZKRxa/xQkZhNg0qIWXT6x6rD46f6x/PCnBomlttdIyAPak4YD9jTmKpZ72uROSMU87qJtcgpgHaVchiA== + dependencies: + type-fest "^0.20.2" + graceful-fs@^4.0.0, graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4: version "4.2.4" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.4.tgz#2256bde14d3632958c465ebc96dc467ca07a29fb" @@ -3697,28 +3736,28 @@ hast-util-is-element@^1.0.0: resolved "https://registry.yarnpkg.com/hast-util-is-element/-/hast-util-is-element-1.1.0.tgz#3b3ed5159a2707c6137b48637fbfe068e175a425" integrity sha512-oUmNua0bFbdrD/ELDSSEadRVtWZOf3iF6Lbv81naqsIV99RnSCieTbWuWCY8BAeEfKJTKl0gRdokv+dELutHGQ== -hast-util-sanitize@^1.0.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/hast-util-sanitize/-/hast-util-sanitize-1.3.1.tgz#4e60d66336bd67e52354d581967467029a933f2e" - integrity sha512-AIeKHuHx0Wk45nSkGVa2/ujQYTksnDl8gmmKo/mwQi7ag7IBZ8cM3nJ2G86SajbjGP/HRpud6kMkPtcM2i0Tlw== +hast-util-sanitize@^3.0.0: + version "3.0.2" + resolved "https://registry.yarnpkg.com/hast-util-sanitize/-/hast-util-sanitize-3.0.2.tgz#b0b783220af528ba8fe6999f092d138908678520" + integrity sha512-+2I0x2ZCAyiZOO/sb4yNLFmdwPBnyJ4PBkVTUMKMqBwYNA+lXSgOmoRXlJFazoyid9QPogRRKgKhVEodv181sA== dependencies: - xtend "^4.0.1" + xtend "^4.0.0" -hast-util-to-html@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/hast-util-to-html/-/hast-util-to-html-4.0.1.tgz#3666b05afb62bd69f8f5e6c94db04dea19438e2a" - integrity sha512-2emzwyf0xEsc4TBIPmDJmBttIw8R4SXAJiJZoiRR/s47ODYWgOqNoDbf2SJAbMbfNdFWMiCSOrI3OVnX6Qq2Mg== +hast-util-to-html@^7.0.0: + version "7.1.2" + resolved "https://registry.yarnpkg.com/hast-util-to-html/-/hast-util-to-html-7.1.2.tgz#db677f0ee483658cea0eecc9dec30aba42b67111" + integrity sha512-pu73bvORzdF6XZgwl9eID/0RjBb/jtRfoGRRSykpR1+o9rCdiAHpgkSukZsQBRlIqMg6ylAcd7F0F7myJUb09Q== dependencies: ccount "^1.0.0" - comma-separated-tokens "^1.0.1" + comma-separated-tokens "^1.0.0" hast-util-is-element "^1.0.0" hast-util-whitespace "^1.0.0" html-void-elements "^1.0.0" - property-information "^4.0.0" + property-information "^5.0.0" space-separated-tokens "^1.0.0" - stringify-entities "^1.0.1" - unist-util-is "^2.0.0" - xtend "^4.0.1" + stringify-entities "^3.0.1" + unist-util-is "^4.0.0" + xtend "^4.0.0" hast-util-whitespace@^1.0.0: version "1.0.4" @@ -3865,7 +3904,7 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@^2.0.0, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.1, inherits@~2.0.3: +inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.1, inherits@~2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -3912,11 +3951,6 @@ is-alphabetical@^1.0.0: resolved "https://registry.yarnpkg.com/is-alphabetical/-/is-alphabetical-1.0.4.tgz#9e7d6b94916be22153745d184c298cbf986a686d" integrity sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg== -is-alphanumeric@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-alphanumeric/-/is-alphanumeric-1.0.0.tgz#4a9cef71daf4c001c1d81d63d140cf53fd6889f4" - integrity sha1-Spzvcdr0wAHB2B1j0UDPU/1oifQ= - is-alphanumerical@^1.0.0: version "1.0.4" resolved "https://registry.yarnpkg.com/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz#7eb9a2431f855f6b1ef1a78e326df515696c4dbf" @@ -3937,7 +3971,14 @@ is-binary-path@~2.1.0: dependencies: binary-extensions "^2.0.0" -is-buffer@^1.1.4, is-buffer@^1.1.5: +is-boolean-object@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.0.tgz#e2aaad3a3a8fca34c28f6eee135b156ed2587ff0" + integrity sha512-a7Uprx8UtD+HWdyYwnD1+ExtTgqQtD2k/1yJgtXP6wnMm8byhkoTZRl+95LLThpzNZJ5aEvi46cdH+ayMFRwmA== + dependencies: + call-bind "^1.0.0" + +is-buffer@^1.1.5: version "1.1.6" resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== @@ -4076,6 +4117,11 @@ is-negated-glob@^1.0.0: resolved "https://registry.yarnpkg.com/is-negated-glob/-/is-negated-glob-1.0.0.tgz#6910bca5da8c95e784b5751b976cf5a10fee36d2" integrity sha1-aRC8pdqMleeEtXUbl2z1oQ/uNtI= +is-number-object@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.4.tgz#36ac95e741cf18b283fc1ddf5e83da798e3ec197" + integrity sha512-zohwelOAur+5uXtk8O3GPQ1eAcu4ZX3UwxQhUlfFFMNpUd83gXgjbhJh6HmB6LUNV/ieOLQuDwJO3dWJosUeMw== + is-number@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" @@ -4088,7 +4134,7 @@ is-number@^7.0.0: resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== -is-obj@^1.0.0, is-obj@^1.0.1: +is-obj@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8= @@ -4110,6 +4156,11 @@ is-plain-obj@^1.1.0: resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4= +is-plain-obj@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" + integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== + is-plain-object@^2.0.3, is-plain-object@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" @@ -4156,6 +4207,11 @@ is-stream@^2.0.0: resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.0.tgz#bde9c32680d6fae04129d6ac9d921ce7815f78e3" integrity sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw== +is-string@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.5.tgz#40493ed198ef3ff477b8c7f92f644ec82a5cd3a6" + integrity sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ== + is-text-path@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-text-path/-/is-text-path-1.0.1.tgz#4e1aa0fb51bfbcb3e92688001397202c1775b66e" @@ -4185,21 +4241,11 @@ is-valid-glob@^1.0.0: resolved "https://registry.yarnpkg.com/is-valid-glob/-/is-valid-glob-1.0.0.tgz#29bf3eff701be2d4d315dbacc39bc39fe8f601aa" integrity sha1-Kb8+/3Ab4tTTFdusw5vDn+j2Aao= -is-whitespace-character@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-whitespace-character/-/is-whitespace-character-1.0.4.tgz#0858edd94a95594c7c9dd0b5c174ec6e45ee4aa7" - integrity sha512-SDweEzfIZM0SJV0EUga669UTKlmL0Pq8Lno0QDQsPnvECB3IM2aP0gdx5TrU0A01MAPfViaZiI2V1QMZLaKK5w== - is-windows@^1.0.1, is-windows@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== -is-word-character@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-word-character/-/is-word-character-1.0.4.tgz#ce0e73216f98599060592f62ff31354ddbeb0230" - integrity sha512-5SMO8RVennx3nZrqtKwCGyyetPE9VDba5ugvKLaD4KopPG5kR4mQ7tNt/r7feL5yt5h3lpuBbIUmCOG2eSzXHA== - is-wsl@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" @@ -4738,6 +4784,11 @@ json-schema-traverse@^0.4.1: resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== +json-schema-traverse@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" + integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== + json-schema@0.2.3: version "0.2.3" resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" @@ -4992,11 +5043,28 @@ locate-path@^5.0.0: dependencies: p-locate "^4.1.0" +locate-path@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" + integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== + dependencies: + p-locate "^5.0.0" + lodash._reinterpolate@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" integrity sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0= +lodash.clonedeep@^4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" + integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8= + +lodash.flatten@^4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f" + integrity sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8= + lodash.ismatch@^4.4.0: version "4.4.0" resolved "https://registry.yarnpkg.com/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz#756cb5150ca3ba6f11085a78849645f188f85f37" @@ -5027,11 +5095,21 @@ lodash.templatesettings@^4.0.0: dependencies: lodash._reinterpolate "^3.0.0" -lodash@^4.17.10, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.5: +lodash.truncate@^4.4.2: + version "4.4.2" + resolved "https://registry.yarnpkg.com/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193" + integrity sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM= + +lodash@^4.17.10, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.5: version "4.17.20" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52" integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA== +lodash@^4.17.21: + version "4.17.21" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + log-symbols@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18" @@ -5055,7 +5133,7 @@ log-update@^2.3.0: cli-cursor "^2.0.0" wrap-ansi "^3.0.1" -longest-streak@^2.0.1: +longest-streak@^2.0.0: version "2.0.4" resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-2.0.4.tgz#b8599957da5b5dab64dee3fe316fa774597d90e4" integrity sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg== @@ -5129,29 +5207,32 @@ map-visit@^1.0.0: dependencies: object-visit "^1.0.0" -markdown-escapes@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/markdown-escapes/-/markdown-escapes-1.0.4.tgz#c95415ef451499d7602b91095f3c8e8975f78535" - integrity sha512-8z4efJYk43E0upd0NbVXwgSTQs6cT3T06etieCMEg7dRbzCbxUCK/GHlX8mhHRDcp+OLlHkPKsvqQTCvsRl2cg== - -markdown-table@^1.1.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-1.1.3.tgz#9fcb69bcfdb8717bfd0398c6ec2d93036ef8de60" - integrity sha512-1RUZVgQlpJSPWYbFSpmudq5nHY1doEIv89gBtF0s4gW1GF2XorxcA/70M5vq7rLv0a6mhOUccRsqkwhwLCIQ2Q== - -mdast-util-compact@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/mdast-util-compact/-/mdast-util-compact-1.0.4.tgz#d531bb7667b5123abf20859be086c4d06c894593" - integrity sha512-3YDMQHI5vRiS2uygEFYaqckibpJtKq5Sj2c8JioeOQBU6INpKbdWzfyLqFFnDwEcEnRFIdMsguzs5pC1Jp4Isg== +mdast-util-definitions@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/mdast-util-definitions/-/mdast-util-definitions-4.0.0.tgz#c5c1a84db799173b4dcf7643cda999e440c24db2" + integrity sha512-k8AJ6aNnUkB7IE+5azR9h81O5EQ/cTDXtWdMq9Kk5KcEW/8ritU5CeLg/9HhOC++nALHBlaogJ5jz0Ybk3kPMQ== dependencies: - unist-util-visit "^1.1.0" + unist-util-visit "^2.0.0" -mdast-util-definitions@^1.2.0: - version "1.2.5" - resolved "https://registry.yarnpkg.com/mdast-util-definitions/-/mdast-util-definitions-1.2.5.tgz#3fe622a4171c774ebd06f11e9f8af7ec53ea5c74" - integrity sha512-CJXEdoLfiISCDc2JB6QLb79pYfI6+GcIH+W2ox9nMc7od0Pz+bovcHsiq29xAQY6ayqe/9CsK2VzkSJdg1pFYA== - dependencies: - unist-util-visit "^1.0.0" +mdast-util-find-and-replace@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/mdast-util-find-and-replace/-/mdast-util-find-and-replace-1.1.1.tgz#b7db1e873f96f66588c321f1363069abf607d1b5" + integrity sha512-9cKl33Y21lyckGzpSmEQnIDjEfeeWelN5s1kUW1LwdB0Fkuq2u+4GdqcGEygYxJE8GVqCl0741bYXHgamfWAZA== + dependencies: + escape-string-regexp "^4.0.0" + unist-util-is "^4.0.0" + unist-util-visit-parents "^3.0.0" + +mdast-util-from-markdown@^0.8.0: + version "0.8.5" + resolved "https://registry.yarnpkg.com/mdast-util-from-markdown/-/mdast-util-from-markdown-0.8.5.tgz#d1ef2ca42bc377ecb0463a987910dae89bd9a28c" + integrity sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ== + dependencies: + "@types/mdast" "^3.0.0" + mdast-util-to-string "^2.0.0" + micromark "~2.11.0" + parse-entities "^2.0.0" + unist-util-stringify-position "^2.0.0" mdast-util-inject@^1.1.0: version "1.1.0" @@ -5160,39 +5241,56 @@ mdast-util-inject@^1.1.0: dependencies: mdast-util-to-string "^1.0.0" -mdast-util-to-hast@^3.0.0: - version "3.0.4" - resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-3.0.4.tgz#132001b266031192348d3366a6b011f28e54dc40" - integrity sha512-/eIbly2YmyVgpJNo+bFLLMCI1XgolO/Ffowhf+pHDq3X4/V6FntC9sGQCDLM147eTS+uSXv5dRzJyFn+o0tazA== - dependencies: - collapse-white-space "^1.0.0" - detab "^2.0.0" - mdast-util-definitions "^1.2.0" - mdurl "^1.0.1" - trim "0.0.1" - trim-lines "^1.0.0" - unist-builder "^1.0.1" - unist-util-generated "^1.1.0" +mdast-util-to-hast@^10.0.0: + version "10.2.0" + resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-10.2.0.tgz#61875526a017d8857b71abc9333942700b2d3604" + integrity sha512-JoPBfJ3gBnHZ18icCwHR50orC9kNH81tiR1gs01D8Q5YpV6adHNO9nKNuFBCJQ941/32PT1a63UF/DitmS3amQ== + dependencies: + "@types/mdast" "^3.0.0" + "@types/unist" "^2.0.0" + mdast-util-definitions "^4.0.0" + mdurl "^1.0.0" + unist-builder "^2.0.0" + unist-util-generated "^1.0.0" unist-util-position "^3.0.0" - unist-util-visit "^1.1.0" - xtend "^4.0.1" + unist-util-visit "^2.0.0" -mdast-util-to-string@^1.0.0, mdast-util-to-string@^1.0.5: +mdast-util-to-markdown@^0.6.0: + version "0.6.5" + resolved "https://registry.yarnpkg.com/mdast-util-to-markdown/-/mdast-util-to-markdown-0.6.5.tgz#b33f67ca820d69e6cc527a93d4039249b504bebe" + integrity sha512-XeV9sDE7ZlOQvs45C9UKMtfTcctcaj/pGwH8YLbMHoMOXNNCn2LsqVQOqrF1+/NU8lKDAqozme9SCXWyo9oAcQ== + dependencies: + "@types/unist" "^2.0.0" + longest-streak "^2.0.0" + mdast-util-to-string "^2.0.0" + parse-entities "^2.0.0" + repeat-string "^1.0.0" + zwitch "^1.0.0" + +mdast-util-to-string@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-1.1.0.tgz#27055500103f51637bd07d01da01eb1967a43527" integrity sha512-jVU0Nr2B9X3MU4tSK7JP1CMkSvOj7X5l/GboG1tKRw52lLF1x2Ju92Ms9tNetCcbfX3hzlM73zYo2NKkWSfF/A== -mdast-util-toc@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/mdast-util-toc/-/mdast-util-toc-3.1.0.tgz#395eeb877f067f9d2165d990d77c7eea6f740934" - integrity sha512-Za0hqL1PqWrvxGtA/3NH9D5nhGAUS9grMM4obEAz5+zsk1RIw/vWUchkaoDLNdrwk05A0CSC5eEXng36/1qE5w== +mdast-util-to-string@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-2.0.0.tgz#b8cfe6a713e1091cb5b728fc48885a4767f8b97b" + integrity sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w== + +mdast-util-toc@^5.0.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/mdast-util-toc/-/mdast-util-toc-5.1.0.tgz#3af0f9c9a764b993538af03f1f79f4e3cec22736" + integrity sha512-csimbRIVkiqc+PpFeKDGQ/Ck2N4f9FYH3zzBMMJzcxoKL8m+cM0n94xXm0I9eaxHnKdY9n145SGTdyJC7i273g== dependencies: + "@types/mdast" "^3.0.3" + "@types/unist" "^2.0.3" + extend "^3.0.2" github-slugger "^1.2.1" - mdast-util-to-string "^1.0.5" - unist-util-is "^2.1.2" - unist-util-visit "^1.1.0" + mdast-util-to-string "^2.0.0" + unist-util-is "^4.0.0" + unist-util-visit "^2.0.0" -mdurl@^1.0.1: +mdurl@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e" integrity sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4= @@ -5267,6 +5365,14 @@ merge-stream@^2.0.0: resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== +micromark@~2.11.0: + version "2.11.4" + resolved "https://registry.yarnpkg.com/micromark/-/micromark-2.11.4.tgz#d13436138eea826383e822449c9a5c50ee44665a" + integrity sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA== + dependencies: + debug "^4.0.0" + parse-entities "^2.0.0" + micromatch@^3.1.4, micromatch@^3.1.5, micromatch@^3.1.8: version "3.1.10" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" @@ -5363,13 +5469,6 @@ mixin-deep@^1.2.0: for-in "^1.0.2" is-extendable "^1.0.1" -mkdirp@^0.5.1: - version "0.5.5" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def" - integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ== - dependencies: - minimist "^1.2.5" - mock-fs@^4.4.2: version "4.13.0" resolved "https://registry.yarnpkg.com/mock-fs/-/mock-fs-4.13.0.tgz#31c02263673ec3789f90eb7b6963676aa407a598" @@ -5691,6 +5790,13 @@ p-limit@^2.0.0, p-limit@^2.2.0: dependencies: p-try "^2.0.0" +p-limit@^3.0.2: + version "3.1.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" + integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== + dependencies: + yocto-queue "^0.1.0" + p-locate@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" @@ -5712,6 +5818,13 @@ p-locate@^4.1.0: dependencies: p-limit "^2.2.0" +p-locate@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" + integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== + dependencies: + p-limit "^3.0.2" + p-map@^1.1.1: version "1.2.0" resolved "https://registry.yarnpkg.com/p-map/-/p-map-1.2.0.tgz#e4e94f311eabbc8633a1e79908165fca26241b6b" @@ -5746,10 +5859,10 @@ parent-module@^1.0.0: dependencies: callsites "^3.0.0" -parse-entities@^1.0.2, parse-entities@^1.1.0: - version "1.2.2" - resolved "https://registry.yarnpkg.com/parse-entities/-/parse-entities-1.2.2.tgz#c31bf0f653b6661354f8973559cb86dd1d5edf50" - integrity sha512-NzfpbxW/NPrzZ/yYSoQxyqUZMZXIdCfE0OIN4ESsnptHJECoUk3FZktxNuzQf4tjt5UEopnxpYJbvYuxIFDdsg== +parse-entities@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/parse-entities/-/parse-entities-2.0.0.tgz#53c6eb5b9314a1f4ec99fa0fdf7ce01ecda0cbe8" + integrity sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ== dependencies: character-entities "^1.0.0" character-entities-legacy "^1.0.0" @@ -5980,10 +6093,10 @@ prelude-ls@~1.1.2: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= -prettier@^2.0.5: - version "2.1.2" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.1.2.tgz#3050700dae2e4c8b67c4c3f666cdb8af405e1ce5" - integrity sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg== +prettier@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5" + integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q== pretty-format@^23.6.0: version "23.6.0" @@ -6026,12 +6139,12 @@ prompts@^2.0.1: kleur "^3.0.3" sisteransi "^1.0.5" -property-information@^4.0.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/property-information/-/property-information-4.2.0.tgz#f0e66e07cbd6fed31d96844d958d153ad3eb486e" - integrity sha512-TlgDPagHh+eBKOnH2VYvk8qbwsCG/TAJdmTL7f1PROUcSO8qt/KSmShEQ/OKvock8X9tFjtqjCScyOkkkvIKVQ== +property-information@^5.0.0: + version "5.6.0" + resolved "https://registry.yarnpkg.com/property-information/-/property-information-5.6.0.tgz#61675545fb23002f245c6540ec46077d4da3ed69" + integrity sha512-YUHSPk+A30YPv+0Qf8i9Mbfe/C0hdPXk1s1jPVToV8pk8BQtpw10ct89Eo7OWkutrwqvT0eicAxlOg3dOAu8JA== dependencies: - xtend "^4.0.1" + xtend "^4.0.0" protocols@^1.1.0, protocols@^1.4.0: version "1.4.8" @@ -6186,7 +6299,7 @@ read-pkg@^5.2.0: parse-json "^5.0.0" type-fest "^0.6.0" -readable-stream@3, readable-stream@^3.0.2: +readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.0.2: version "3.6.0" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== @@ -6332,89 +6445,52 @@ regjsparser@^0.6.4: dependencies: jsesc "~0.5.0" -remark-html@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/remark-html/-/remark-html-8.0.0.tgz#9fcb859a6f3cb40f3ef15402950f1a62ec301b3a" - integrity sha512-3V2391GL3hxKhrkzYOyfPpxJ6taIKLCfuLVqumeWQOk3H9nTtSQ8St8kMYkBVIEAquXN1chT83qJ/2lAW+dpEg== +remark-html@^13.0.1: + version "13.0.1" + resolved "https://registry.yarnpkg.com/remark-html/-/remark-html-13.0.1.tgz#d5b2d8be01203e61fc37403167ca7584879ad675" + integrity sha512-K5KQCXWVz+harnyC+UVM/J9eJWCgjYRqFeZoZf2NgP0iFbuuw/RgMZv3MA34b/OEpGnstl3oiOUtZzD3tJ+CBw== dependencies: - hast-util-sanitize "^1.0.0" - hast-util-to-html "^4.0.0" - mdast-util-to-hast "^3.0.0" - xtend "^4.0.1" + hast-util-sanitize "^3.0.0" + hast-util-to-html "^7.0.0" + mdast-util-to-hast "^10.0.0" -remark-parse@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-5.0.0.tgz#4c077f9e499044d1d5c13f80d7a98cf7b9285d95" - integrity sha512-b3iXszZLH1TLoyUzrATcTQUZrwNl1rE70rVdSruJFlDaJ9z5aMkhrG43Pp68OgfHndL/ADz6V69Zow8cTQu+JA== - dependencies: - collapse-white-space "^1.0.2" - is-alphabetical "^1.0.0" - is-decimal "^1.0.0" - is-whitespace-character "^1.0.0" - is-word-character "^1.0.0" - markdown-escapes "^1.0.0" - parse-entities "^1.1.0" - repeat-string "^1.5.4" - state-toggle "^1.0.0" - trim "0.0.1" - trim-trailing-lines "^1.0.0" - unherit "^1.0.4" - unist-util-remove-position "^1.0.0" - vfile-location "^2.0.0" - xtend "^4.0.1" - -remark-reference-links@^4.0.1: - version "4.0.4" - resolved "https://registry.yarnpkg.com/remark-reference-links/-/remark-reference-links-4.0.4.tgz#190579a0d6b002859d6cdbdc5aeb8bbdae4e06ab" - integrity sha512-+2X8hwSQqxG4tvjYZNrTcEC+bXp8shQvwRGG6J/rnFTvBoU4G0BBviZoqKGZizLh/DG+0gSYhiDDWCqyxXW1iQ== - dependencies: - unist-util-visit "^1.0.0" - -remark-slug@^5.0.0: - version "5.1.2" - resolved "https://registry.yarnpkg.com/remark-slug/-/remark-slug-5.1.2.tgz#715ecdef8df1226786204b1887d31ab16aa24609" - integrity sha512-DWX+Kd9iKycqyD+/B+gEFO3jjnt7Yg1O05lygYSNTe5i5PIxxxPjp5qPBDxPIzp5wreF7+1ROCwRgjEcqmzr3A== +remark-parse@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-9.0.0.tgz#4d20a299665880e4f4af5d90b7c7b8a935853640" + integrity sha512-geKatMwSzEXKHuzBNU1z676sGcDcFoChMK38TgdHJNAYfFtsfHDQG7MoJAjs6sgYMqyLduCYWDIWZIxiPeafEw== dependencies: - github-slugger "^1.0.0" - mdast-util-to-string "^1.0.0" - unist-util-visit "^1.0.0" + mdast-util-from-markdown "^0.8.0" -remark-stringify@^5.0.0: +remark-reference-links@^5.0.0: version "5.0.0" - resolved "https://registry.yarnpkg.com/remark-stringify/-/remark-stringify-5.0.0.tgz#336d3a4d4a6a3390d933eeba62e8de4bd280afba" - integrity sha512-Ws5MdA69ftqQ/yhRF9XhVV29mhxbfGhbz0Rx5bQH+oJcNhhSM6nCu1EpLod+DjrFGrU0BMPs+czVmJZU7xiS7w== + resolved "https://registry.yarnpkg.com/remark-reference-links/-/remark-reference-links-5.0.0.tgz#2c75b60a99c53251f25193566953b0c71e096b8d" + integrity sha512-oSIo6lfDyG/1yYl2jPZNXmD9dgyPxp07mSd7snJagVMsDU6NRlD8i54MwHWUgMoOHTs8lIKPkwaUok/tbr5syQ== dependencies: - ccount "^1.0.0" - is-alphanumeric "^1.0.0" - is-decimal "^1.0.0" - is-whitespace-character "^1.0.0" - longest-streak "^2.0.1" - markdown-escapes "^1.0.0" - markdown-table "^1.1.0" - mdast-util-compact "^1.0.0" - parse-entities "^1.0.2" - repeat-string "^1.5.4" - state-toggle "^1.0.0" - stringify-entities "^1.0.1" - unherit "^1.0.4" - xtend "^4.0.1" - -remark-toc@^5.0.0: - version "5.1.1" - resolved "https://registry.yarnpkg.com/remark-toc/-/remark-toc-5.1.1.tgz#8c229d6f834cdb43fde6685e2d43248d3fc82d78" - integrity sha512-vCPW4YOsm2CfyuScdktM9KDnJXVHJsd/ZeRtst+dnBU3B3KKvt8bc+bs5syJjyptAHfqo7H+5Uhz+2blWBfwow== + unist-util-visit "^2.0.0" + +remark-stringify@^9.0.0: + version "9.0.1" + resolved "https://registry.yarnpkg.com/remark-stringify/-/remark-stringify-9.0.1.tgz#576d06e910548b0a7191a71f27b33f1218862894" + integrity sha512-mWmNg3ZtESvZS8fv5PTvaPckdL4iNlCHTt8/e/8oN08nArHRHjNZMKzA/YW3+p7/lYqIw4nx1XsjCBo/AxNChg== dependencies: - mdast-util-toc "^3.0.0" - remark-slug "^5.0.0" + mdast-util-to-markdown "^0.6.0" -remark@^9.0.0: - version "9.0.0" - resolved "https://registry.yarnpkg.com/remark/-/remark-9.0.0.tgz#c5cfa8ec535c73a67c4b0f12bfdbd3a67d8b2f60" - integrity sha512-amw8rGdD5lHbMEakiEsllmkdBP+/KpjW/PRK6NSGPZKCQowh0BT4IWXDAkRMyG3SB9dKPXWMviFjNusXzXNn3A== +remark-toc@^7.2.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/remark-toc/-/remark-toc-7.2.0.tgz#1c5159e9091826150db14c97ac00c2ad5a7f1523" + integrity sha512-ppHepvpbg7j5kPFmU5rzDC4k2GTcPDvWcxXyr/7BZzO1cBSPk0stKtEJdsgAyw2WHKPGxadcHIZRjb2/sHxjkg== dependencies: - remark-parse "^5.0.0" - remark-stringify "^5.0.0" - unified "^6.0.0" + "@types/unist" "^2.0.3" + mdast-util-toc "^5.0.0" + +remark@^13.0.0: + version "13.0.0" + resolved "https://registry.yarnpkg.com/remark/-/remark-13.0.0.tgz#d15d9bf71a402f40287ebe36067b66d54868e425" + integrity sha512-HDz1+IKGtOyWN+QgBiAT0kn+2s6ovOxHyPAFGKVE81VSzJ+mq7RwHFledEvB5F1p4iJvOah/LOKdFuzvRnNLCA== + dependencies: + remark-parse "^9.0.0" + remark-stringify "^9.0.0" + unified "^9.1.0" remove-bom-buffer@^3.0.0: version "3.0.0" @@ -6443,7 +6519,7 @@ repeat-element@^1.1.2: resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.3.tgz#782e0d825c0c5a3bb39731f84efee6b742e6b1ce" integrity sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g== -repeat-string@^1.5.0, repeat-string@^1.5.4, repeat-string@^1.6.1: +repeat-string@^1.0.0, repeat-string@^1.5.0, repeat-string@^1.6.1: version "1.6.1" resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc= @@ -6512,6 +6588,11 @@ require-directory@^2.1.1: resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= +require-from-string@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" + integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== + require-main-filename@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" @@ -6556,7 +6637,7 @@ resolve@1.1.7: resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs= -resolve@^1.1.3, resolve@^1.1.6, resolve@^1.10.0, resolve@^1.12.0, resolve@^1.17.0, resolve@^1.18.1, resolve@^1.3.2, resolve@^1.8.1: +resolve@^1.1.3, resolve@^1.1.6, resolve@^1.10.0, resolve@^1.17.0, resolve@^1.18.1, resolve@^1.3.2, resolve@^1.8.1: version "1.19.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.19.0.tgz#1af5bf630409734a067cae29318aac7fa29a267c" integrity sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg== @@ -6582,14 +6663,7 @@ right-pad@^1.0.1: resolved "https://registry.yarnpkg.com/right-pad/-/right-pad-1.0.1.tgz#8ca08c2cbb5b55e74dafa96bf7fd1a27d568c8d0" integrity sha1-jKCMLLtbVedNr6lr9/0aJ9VoyNA= -rimraf@2.6.3: - version "2.6.3" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" - integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== - dependencies: - glob "^7.1.3" - -rimraf@^3.0.0: +rimraf@^3.0.0, rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== @@ -6765,14 +6839,14 @@ slice-ansi@0.0.4: resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" integrity sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU= -slice-ansi@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-2.1.0.tgz#cacd7693461a637a5788d92a7dd4fba068e81636" - integrity sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ== +slice-ansi@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-4.0.0.tgz#500e8dd0fd55b05815086255b3195adf2a45fe6b" + integrity sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ== dependencies: - ansi-styles "^3.2.0" - astral-regex "^1.0.0" - is-fullwidth-code-point "^2.0.0" + ansi-styles "^4.0.0" + astral-regex "^2.0.0" + is-fullwidth-code-point "^3.0.0" snapdragon-node@^2.0.1: version "2.1.1" @@ -6888,6 +6962,13 @@ split2@^2.0.0: dependencies: through2 "^2.0.2" +split2@^3.0.0: + version "3.2.2" + resolved "https://registry.yarnpkg.com/split2/-/split2-3.2.2.tgz#bf2cf2a37d838312c249c89206fd7a17dd12365f" + integrity sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg== + dependencies: + readable-stream "^3.0.0" + split@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9" @@ -6927,16 +7008,16 @@ staged-git-files@1.1.1: resolved "https://registry.yarnpkg.com/staged-git-files/-/staged-git-files-1.1.1.tgz#37c2218ef0d6d26178b1310719309a16a59f8f7b" integrity sha512-H89UNKr1rQJvI1c/PIR3kiAMBV23yvR7LItZiV74HWZwzt7f3YHuujJ9nJZlt58WlFox7XQsOahexwk7nTe69A== -standard-version@^8.0.0: - version "8.0.2" - resolved "https://registry.yarnpkg.com/standard-version/-/standard-version-8.0.2.tgz#02ed7131f83046bd04358dc54f97d42c4b2fd828" - integrity sha512-L8X9KFq2SmVmaeZgUmWHFJMOsEWpjgFAwqic6yIIoveM1kdw1vH4Io03WWxUDjypjGqGU6qUtcJoR8UvOv5w3g== +standard-version@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/standard-version/-/standard-version-9.0.0.tgz#814055add91eec8679a773768927f927183fc818" + integrity sha512-eRR04IscMP3xW9MJTykwz13HFNYs8jS33AGuDiBKgfo5YrO0qX0Nxb4rjupVwT5HDYL/aR+MBEVLjlmVFmFEDQ== dependencies: chalk "^2.4.2" - conventional-changelog "3.1.21" + conventional-changelog "3.1.23" conventional-changelog-config-spec "2.1.0" - conventional-changelog-conventionalcommits "4.3.0" - conventional-recommended-bump "6.0.9" + conventional-changelog-conventionalcommits "4.4.0" + conventional-recommended-bump "6.0.10" detect-indent "^6.0.0" detect-newline "^3.1.0" dotgitignore "^2.1.0" @@ -6948,31 +7029,26 @@ standard-version@^8.0.0: stringify-package "^1.0.1" yargs "^15.3.1" -standard-version@^9.0.0: - version "9.0.0" - resolved "https://registry.yarnpkg.com/standard-version/-/standard-version-9.0.0.tgz#814055add91eec8679a773768927f927183fc818" - integrity sha512-eRR04IscMP3xW9MJTykwz13HFNYs8jS33AGuDiBKgfo5YrO0qX0Nxb4rjupVwT5HDYL/aR+MBEVLjlmVFmFEDQ== +standard-version@^9.2.0: + version "9.2.0" + resolved "https://registry.yarnpkg.com/standard-version/-/standard-version-9.2.0.tgz#d4e64b201ec1abb8a677b265d8755e5e8b9e33a3" + integrity sha512-utJcqjk/wR4sePSwDoRcc5CzJ6S+kec5Hd0+1TJI+j1TRYuuptweAnEUdkkjGf2vYoGab2ezefyVtW065HZ1Uw== dependencies: chalk "^2.4.2" - conventional-changelog "3.1.23" + conventional-changelog "3.1.24" conventional-changelog-config-spec "2.1.0" - conventional-changelog-conventionalcommits "4.4.0" - conventional-recommended-bump "6.0.10" + conventional-changelog-conventionalcommits "4.5.0" + conventional-recommended-bump "6.1.0" detect-indent "^6.0.0" detect-newline "^3.1.0" dotgitignore "^2.1.0" figures "^3.1.0" - find-up "^4.1.0" + find-up "^5.0.0" fs-access "^1.0.1" git-semver-tags "^4.0.0" semver "^7.1.1" stringify-package "^1.0.1" - yargs "^15.3.1" - -state-toggle@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/state-toggle/-/state-toggle-1.0.3.tgz#e123b16a88e143139b09c6852221bc9815917dfe" - integrity sha512-d/5Z4/2iiCnHw6Xzghyhb+GcmF89bxwgXG60wjIiZaxnymbyOmI8Hk4VqHXiVVp6u2ysaskFfXg3ekCj4WNftQ== + yargs "^16.0.0" static-extend@^0.1.1: version "0.1.2" @@ -7042,15 +7118,6 @@ string-width@^2.1.1: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" -string-width@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" - integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== - dependencies: - emoji-regex "^7.0.1" - is-fullwidth-code-point "^2.0.0" - strip-ansi "^5.1.0" - string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" @@ -7079,15 +7146,14 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -stringify-entities@^1.0.1: - version "1.3.2" - resolved "https://registry.yarnpkg.com/stringify-entities/-/stringify-entities-1.3.2.tgz#a98417e5471fd227b3e45d3db1861c11caf668f7" - integrity sha512-nrBAQClJAPN2p+uGCVJRPIPakKeKWZ9GtBCmormE7pWOSlHat7+x5A8gx85M7HM5Dt0BP3pP5RhVW77WdbJJ3A== +stringify-entities@^3.0.1: + version "3.1.0" + resolved "https://registry.yarnpkg.com/stringify-entities/-/stringify-entities-3.1.0.tgz#b8d3feac256d9ffcc9fa1fefdcf3ca70576ee903" + integrity sha512-3FP+jGMmMV/ffZs86MoghGqAoqXAdxLrJP4GUdrDN1aIScYih5tuIO3eF4To5AJZ79KDZ8Fpdy7QJnK8SsL1Vg== dependencies: character-entities-html4 "^1.0.0" character-entities-legacy "^1.0.0" - is-alphanumerical "^1.0.0" - is-hexadecimal "^1.0.0" + xtend "^4.0.0" stringify-object@^3.2.2: version "3.3.0" @@ -7117,13 +7183,6 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" -strip-ansi@^5.1.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" - integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== - dependencies: - ansi-regex "^4.1.0" - strip-ansi@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" @@ -7238,15 +7297,20 @@ symbol-tree@^3.2.4: resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== -table@^5.2.3: - version "5.4.6" - resolved "https://registry.yarnpkg.com/table/-/table-5.4.6.tgz#1292d19500ce3f86053b05f0e8e7e4a3bb21079e" - integrity sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug== - dependencies: - ajv "^6.10.2" - lodash "^4.17.14" - slice-ansi "^2.1.0" - string-width "^3.0.0" +table@^6.0.4: + version "6.0.9" + resolved "https://registry.yarnpkg.com/table/-/table-6.0.9.tgz#790a12bf1e09b87b30e60419bafd6a1fd85536fb" + integrity sha512-F3cLs9a3hL1Z7N4+EkSscsel3z55XT950AvB05bwayrNg5T1/gykXtigioTAjbltvbMSJvvhFCbnf6mX+ntnJQ== + dependencies: + ajv "^8.0.1" + is-boolean-object "^1.1.0" + is-number-object "^1.0.4" + is-string "^1.0.5" + lodash.clonedeep "^4.5.0" + lodash.flatten "^4.4.0" + lodash.truncate "^4.4.2" + slice-ansi "^4.0.0" + string-width "^4.2.0" terminal-link@^2.0.0: version "2.1.1" @@ -7408,11 +7472,6 @@ tr46@^2.0.2: dependencies: punycode "^2.1.1" -trim-lines@^1.0.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/trim-lines/-/trim-lines-1.1.3.tgz#839514be82428fd9e7ec89e35081afe8f6f93115" - integrity sha512-E0ZosSWYK2mkSu+KEtQ9/KqarVjA9HztOSX+9FDdNacRAq29RRV6ZQNgob3iuW8Htar9vAfEa6yyt5qBAHZDBA== - trim-newlines@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613" @@ -7433,16 +7492,6 @@ trim-off-newlines@^1.0.0: resolved "https://registry.yarnpkg.com/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz#9f9ba9d9efa8764c387698bcbfeb2c848f11adb3" integrity sha1-n5up2e+odkw4dpi8v+sshI8RrbM= -trim-trailing-lines@^1.0.0: - version "1.1.4" - resolved "https://registry.yarnpkg.com/trim-trailing-lines/-/trim-trailing-lines-1.1.4.tgz#bd4abbec7cc880462f10b2c8b5ce1d8d1ec7c2c0" - integrity sha512-rjUWSqnfTNrjbB9NQWfPMH/xRK1deHeGsHoVfpxJ++XeYXE0d6B1En37AHfw3jtfTU7dzMzZL2jjpe8Qb5gLIQ== - -trim@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/trim/-/trim-0.0.1.tgz#5858547f6b290757ee95cccc666fb50084c460dd" - integrity sha1-WFhUf2spB1fulczMZm+1AITEYN0= - trough@^1.0.0: version "1.0.5" resolved "https://registry.yarnpkg.com/trough/-/trough-1.0.5.tgz#b8b639cefad7d0bb2abd37d433ff8293efa5f406" @@ -7499,6 +7548,11 @@ type-fest@^0.18.0: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.18.1.tgz#db4bc151a4a2cf4eebf9add5db75508db6cc841f" integrity sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw== +type-fest@^0.20.2: + version "0.20.2" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" + integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== + type-fest@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b" @@ -7531,14 +7585,6 @@ unc-path-regex@^0.1.2: resolved "https://registry.yarnpkg.com/unc-path-regex/-/unc-path-regex-0.1.2.tgz#e73dd3d7b0d7c5ed86fbac6b0ae7d8c6a69d50fa" integrity sha1-5z3T17DXxe2G+6xrCufYxqadUPo= -unherit@^1.0.4: - version "1.1.3" - resolved "https://registry.yarnpkg.com/unherit/-/unherit-1.1.3.tgz#6c9b503f2b41b262330c80e91c8614abdaa69c22" - integrity sha512-Ft16BJcnapDKp0+J/rqFC3Rrk6Y/Ng4nzsC028k2jdDII/rdZ7Wd3pPT/6+vIIxRagwRc9K0IUX0Ra4fKvw+WQ== - dependencies: - inherits "^2.0.0" - xtend "^4.0.0" - unicode-canonical-property-names-ecmascript@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz#2619800c4c825800efdd8343af7dd9933cbe2818" @@ -7562,17 +7608,17 @@ unicode-property-aliases-ecmascript@^1.0.4: resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.1.0.tgz#dd57a99f6207bedff4628abefb94c50db941c8f4" integrity sha512-PqSoPh/pWetQ2phoj5RLiaqIk4kCNwoV3CI+LfGmWLKI3rE3kl1h59XpX2BjgDrmbxD9ARtQobPGU1SguCYuQg== -unified@^6.0.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/unified/-/unified-6.2.0.tgz#7fbd630f719126d67d40c644b7e3f617035f6dba" - integrity sha512-1k+KPhlVtqmG99RaTbAv/usu85fcSRu3wY8X+vnsEhIxNP5VbVIDiXnLqyKIG+UMdyTg0ZX9EI6k2AfjJkHPtA== +unified@^9.1.0: + version "9.2.1" + resolved "https://registry.yarnpkg.com/unified/-/unified-9.2.1.tgz#ae18d5674c114021bfdbdf73865ca60f410215a3" + integrity sha512-juWjuI8Z4xFg8pJbnEZ41b5xjGUWGHqXALmBZ3FC3WX0PIx1CZBIIJ6mXbYMcf6Yw4Fi0rFUTA1cdz/BglbOhA== dependencies: bail "^1.0.0" extend "^3.0.0" - is-plain-obj "^1.1.0" + is-buffer "^2.0.0" + is-plain-obj "^2.0.0" trough "^1.0.0" - vfile "^2.0.0" - x-is-string "^0.1.0" + vfile "^4.0.0" union-value@^1.0.0: version "1.0.1" @@ -7592,45 +7638,26 @@ unique-stream@^2.0.2: json-stable-stringify-without-jsonify "^1.0.1" through2-filter "^3.0.0" -unist-builder@^1.0.1, unist-builder@^1.0.2: - version "1.0.4" - resolved "https://registry.yarnpkg.com/unist-builder/-/unist-builder-1.0.4.tgz#e1808aed30bd72adc3607f25afecebef4dd59e17" - integrity sha512-v6xbUPP7ILrT15fHGrNyHc1Xda8H3xVhP7/HAIotHOhVPjH5dCXA097C3Rry1Q2O+HbOLCao4hfPB+EYEjHgVg== - dependencies: - object-assign "^4.1.0" +unist-builder@^2.0.0, unist-builder@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/unist-builder/-/unist-builder-2.0.3.tgz#77648711b5d86af0942f334397a33c5e91516436" + integrity sha512-f98yt5pnlMWlzP539tPc4grGMsFaQQlP/vM396b00jngsiINumNmsY8rkXjfoi1c6QaM8nQ3vaGDuoKWbe/1Uw== -unist-util-generated@^1.1.0: +unist-util-generated@^1.0.0: version "1.1.6" resolved "https://registry.yarnpkg.com/unist-util-generated/-/unist-util-generated-1.1.6.tgz#5ab51f689e2992a472beb1b35f2ce7ff2f324d4b" integrity sha512-cln2Mm1/CZzN5ttGK7vkoGw+RZ8VcUH6BtGbq98DDtRGquAAOXig1mrBQYelOwMXYS8rK+vZDyyojSjp7JX+Lg== -unist-util-is@^2.0.0, unist-util-is@^2.1.2: - version "2.1.3" - resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-2.1.3.tgz#459182db31f4742fceaea88d429693cbf0043d20" - integrity sha512-4WbQX2iwfr/+PfM4U3zd2VNXY+dWtZsN1fLnWEi2QQXA4qyDYAZcDMfXUX0Cu6XZUHHAO9q4nyxxLT4Awk1qUA== - -unist-util-is@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-3.0.0.tgz#d9e84381c2468e82629e4a5be9d7d05a2dd324cd" - integrity sha512-sVZZX3+kspVNmLWBPAB6r+7D9ZgAFPNWm66f7YNb420RlQSbn+n8rG8dGZSkrER7ZIXGQYNm5pqC3v3HopH24A== +unist-util-is@^4.0.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-4.1.0.tgz#976e5f462a7a5de73d94b706bac1b90671b57797" + integrity sha512-ZOQSsnce92GrxSqlnEEseX0gi7GH9zTJZ0p9dtu87WRb/37mMPO2Ilx1s/t9vBHrFhbgweUwb+t7cIn5dxPhZg== unist-util-position@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/unist-util-position/-/unist-util-position-3.1.0.tgz#1c42ee6301f8d52f47d14f62bbdb796571fa2d47" integrity sha512-w+PkwCbYSFw8vpgWD0v7zRCl1FpY3fjDSQ3/N/wNd9Ffa4gPi8+4keqt99N3XW6F99t/mUzp2xAhNmfKWp95QA== -unist-util-remove-position@^1.0.0: - version "1.1.4" - resolved "https://registry.yarnpkg.com/unist-util-remove-position/-/unist-util-remove-position-1.1.4.tgz#ec037348b6102c897703eee6d0294ca4755a2020" - integrity sha512-tLqd653ArxJIPnKII6LMZwH+mb5q+n/GtXQZo6S6csPRs5zB0u79Yw8ouR3wTw8wxvdJFhpP6Y7jorWdCgLO0A== - dependencies: - unist-util-visit "^1.1.0" - -unist-util-stringify-position@^1.0.0, unist-util-stringify-position@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-1.1.2.tgz#3f37fcf351279dcbca7480ab5889bb8a832ee1c6" - integrity sha512-pNCVrk64LZv1kElr0N1wPiHEUoXNVFERp+mlTg/s9R5Lwg87f9bM/3sQB99w+N9D/qnM9ar3+AKDBwo/gm/iQQ== - unist-util-stringify-position@^2.0.0: version "2.0.3" resolved "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-2.0.3.tgz#cce3bfa1cdf85ba7375d1d5b17bdc4cada9bd9da" @@ -7638,19 +7665,22 @@ unist-util-stringify-position@^2.0.0: dependencies: "@types/unist" "^2.0.2" -unist-util-visit-parents@^2.0.0: - version "2.1.2" - resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-2.1.2.tgz#25e43e55312166f3348cae6743588781d112c1e9" - integrity sha512-DyN5vD4NE3aSeB+PXYNKxzGsfocxp6asDc2XXE3b0ekO2BaRUpBicbbUygfSvYfUz1IkmjFR1YF7dPklraMZ2g== +unist-util-visit-parents@^3.0.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-3.1.1.tgz#65a6ce698f78a6b0f56aa0e88f13801886cdaef6" + integrity sha512-1KROIZWo6bcMrZEwiH2UrXDyalAa0uqzWCxCJj6lPOvTve2WkfgCytoDTPaMnodXh1WrXOq0haVYHj99ynJlsg== dependencies: - unist-util-is "^3.0.0" + "@types/unist" "^2.0.0" + unist-util-is "^4.0.0" -unist-util-visit@^1.0.0, unist-util-visit@^1.1.0, unist-util-visit@^1.3.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-1.4.1.tgz#4724aaa8486e6ee6e26d7ff3c8685960d560b1e3" - integrity sha512-AvGNk7Bb//EmJZyhtRUnNMEpId/AZ5Ph/KUpTI09WHQuDZHKovQ1oEv3mfmKpWKtoMzyMC4GLBm1Zy5k12fjIw== +unist-util-visit@^2.0.0, unist-util-visit@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-2.0.3.tgz#c3703893146df47203bb8a9795af47d7b971208c" + integrity sha512-iJ4/RczbJMkD0712mGktuGpm/U4By4FfDonL7N/9tATGIF4imikjOuagyMY53tnZq3NP6BcmlrHhEKAfGWjh7Q== dependencies: - unist-util-visit-parents "^2.0.0" + "@types/unist" "^2.0.0" + unist-util-is "^4.0.0" + unist-util-visit-parents "^3.0.0" universalify@^1.0.0: version "1.0.0" @@ -7738,18 +7768,6 @@ verror@1.10.0: core-util-is "1.0.2" extsprintf "^1.2.0" -vfile-location@^2.0.0: - version "2.0.6" - resolved "https://registry.yarnpkg.com/vfile-location/-/vfile-location-2.0.6.tgz#8a274f39411b8719ea5728802e10d9e0dff1519e" - integrity sha512-sSFdyCP3G6Ka0CEmN83A2YCMKIieHx0EDaj5IDP4g1pa5ZJ4FJDvpO0WODLxo4LUX4oe52gmSCK7Jw4SBghqxA== - -vfile-message@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/vfile-message/-/vfile-message-1.1.1.tgz#5833ae078a1dfa2d96e9647886cd32993ab313e1" - integrity sha512-1WmsopSGhWt5laNir+633LszXvZ+Z/lxveBf6yhGsqnQIhlhzooZae7zV6YVM1Sdkw68dtAW3ow0pOdPANugvA== - dependencies: - unist-util-stringify-position "^1.1.1" - vfile-message@^2.0.0: version "2.0.4" resolved "https://registry.yarnpkg.com/vfile-message/-/vfile-message-2.0.4.tgz#5b43b88171d409eae58477d13f23dd41d52c371a" @@ -7780,16 +7798,6 @@ vfile-statistics@^1.1.0: resolved "https://registry.yarnpkg.com/vfile-statistics/-/vfile-statistics-1.1.4.tgz#b99fd15ecf0f44ba088cc973425d666cb7a9f245" integrity sha512-lXhElVO0Rq3frgPvFBwahmed3X03vjPF8OcjKMy8+F1xU/3Q3QU3tKEDp743SFtb74PdF0UWpxPvtOP0GCLheA== -vfile@^2.0.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/vfile/-/vfile-2.3.0.tgz#e62d8e72b20e83c324bc6c67278ee272488bf84a" - integrity sha512-ASt4mBUHcTpMKD/l5Q+WJXNtshlWxOogYyGYYrg4lt/vuRjC1EFQtlAofL5VmtVNIZJzWYFJjzGWZ0Gw8pzW1w== - dependencies: - is-buffer "^1.1.4" - replace-ext "1.0.0" - unist-util-stringify-position "^1.0.0" - vfile-message "^1.0.0" - vfile@^4.0.0: version "4.2.0" resolved "https://registry.yarnpkg.com/vfile/-/vfile-4.2.0.tgz#26c78ac92eb70816b01d4565e003b7e65a2a0e01" @@ -7969,6 +7977,15 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" @@ -7984,23 +8001,11 @@ write-file-atomic@^3.0.0: signal-exit "^3.0.2" typedarray-to-buffer "^3.1.5" -write@1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/write/-/write-1.0.3.tgz#0800e14523b923a387e415123c865616aae0f5c3" - integrity sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig== - dependencies: - mkdirp "^0.5.1" - ws@^7.2.3: version "7.4.0" resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.0.tgz#a5dd76a24197940d4a8bb9e0e152bb4503764da7" integrity sha512-kyFwXuV/5ymf+IXhS6f0+eAFvydbaBW3zjpT6hUdAh/hbVjTIB5EHBGi0bPoCLSK2wcuz3BrEkB9LrYv1Nm4NQ== -x-is-string@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/x-is-string/-/x-is-string-0.1.0.tgz#474b50865af3a49a9c4657f05acd145458f77d82" - integrity sha1-R0tQhlrzpJqcRlfwWs0UVFj3fYI= - xml-name-validator@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a" @@ -8011,7 +8016,7 @@ xmlchars@^2.2.0: resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== -xtend@^4.0.0, xtend@^4.0.1, xtend@^4.0.2, xtend@~4.0.0, xtend@~4.0.1: +xtend@^4.0.0, xtend@^4.0.2, xtend@~4.0.0, xtend@~4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== @@ -8021,6 +8026,11 @@ y18n@^4.0.0: resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== +y18n@^5.0.5: + version "5.0.7" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.7.tgz#0c514aba53fc40e2db911aeb8b51566a3374efe7" + integrity sha512-oOhslryvNcA1lB9WYr+M6TMyLkLg81Dgmyb48ZDU0lvR+5bmNDTMz7iobM1QXooaLhbbrcHrlNaABhI6Vo6StQ== + yallist@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" @@ -8039,6 +8049,11 @@ yargs-parser@^18.1.2, yargs-parser@^18.1.3: camelcase "^5.0.0" decamelize "^1.2.0" +yargs-parser@^20.2.2: + version "20.2.7" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.7.tgz#61df85c113edfb5a7a4e36eb8aa60ef423cbc90a" + integrity sha512-FiNkvbeHzB/syOjIUxFDCnhSfzAL8R5vs40MgLFBorXACCOAEaWu0gRZl14vG8MR9AOJIZbmkjhusqBYZ3HTHw== + yargs-parser@^20.2.3: version "20.2.4" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" @@ -8060,3 +8075,26 @@ yargs@^15.3.1, yargs@^15.4.1: which-module "^2.0.0" y18n "^4.0.0" yargs-parser "^18.1.2" + +yargs@^16.0.0: + version "16.2.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" + integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== + dependencies: + cliui "^7.0.2" + escalade "^3.1.1" + get-caller-file "^2.0.5" + require-directory "^2.1.1" + string-width "^4.2.0" + y18n "^5.0.5" + yargs-parser "^20.2.2" + +yocto-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" + integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== + +zwitch@^1.0.0: + version "1.0.5" + resolved "https://registry.yarnpkg.com/zwitch/-/zwitch-1.0.5.tgz#d11d7381ffed16b742f6af7b3f223d5cd9fe9920" + integrity sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==