From 89fd1888560b5264cada630c69be98131859d07f Mon Sep 17 00:00:00 2001 From: Benny Lichtner Date: Tue, 6 Apr 2021 17:06:18 -0600 Subject: [PATCH 1/8] docs: Include --github flag in README (#1364) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From 2d9f28a48b57d62a3c89bf60ae185d0f47dd3526 Mon Sep 17 00:00:00 2001 From: Anton Shchekota Date: Wed, 7 Apr 2021 10:30:01 +0300 Subject: [PATCH 2/8] deps: remove deps which already in stage 4 --- package.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/package.json b/package.json index 251fa8985..7a42e08f7 100644 --- a/package.json +++ b/package.json @@ -19,10 +19,6 @@ "@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", From 5d8d4504d52a5bb0a0432bf399bbd82d9e5ea7fc Mon Sep 17 00:00:00 2001 From: Anton Shchekota Date: Wed, 7 Apr 2021 15:28:32 +0300 Subject: [PATCH 3/8] fix: @see tags incorrectly formatted in markdown ouput fixed #1337 --- __tests__/__snapshots__/test.js.snap | 17 +++++++++++++---- src/output/markdown_ast.js | 13 +++++++++---- 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/__tests__/__snapshots__/test.js.snap b/__tests__/__snapshots__/test.js.snap index 56200d84d..6fb4aa1df 100644 --- a/__tests__/__snapshots__/test.js.snap +++ b/__tests__/__snapshots__/test.js.snap @@ -27337,8 +27337,8 @@ exports[`outputs meta.input.js markdown 1`] = ` ## meta.input -- **See: [markdown link][2] - ** +- **See**: [markdown link][2] + This function returns the number one. @@ -27383,9 +27383,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 [ @@ -27447,7 +27456,7 @@ Object { "type": "root", }, ], - "type": "strong", + "type": "paragraph", }, ], "type": "listItem", diff --git a/src/output/markdown_ast.js b/src/output/markdown_ast.js index 4893566ba..ce97ffe8b 100644 --- a/src/output/markdown_ast.js +++ b/src/output/markdown_ast.js @@ -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 => + 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 + ) + ) ]) ) ) From 3babb4a0f4dff80d25e877881861e11deb4a10f5 Mon Sep 17 00:00:00 2001 From: Anton Shchekota Date: Wed, 7 Apr 2021 18:16:08 +0300 Subject: [PATCH 4/8] deps: udpate remark and remove babel-eslint parser --- .eslintrc | 9 +- __tests__/__snapshots__/test.js.snap | 10 + docs/NODE_API.md | 4 + package.json | 17 +- yarn.lock | 913 +++++++++++++++------------ 5 files changed, 539 insertions(+), 414 deletions(-) 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/__tests__/__snapshots__/test.js.snap b/__tests__/__snapshots__/test.js.snap index 6fb4aa1df..1fa3f1495 100644 --- a/__tests__/__snapshots__/test.js.snap +++ b/__tests__/__snapshots__/test.js.snap @@ -11704,6 +11704,7 @@ have any parameter descriptions. ### Parameters - \`$0\` **[Object][35]** (optional, default \`{}\`) + - \`$0.phoneNumbers\` (optional, default \`[]\`) - \`$0.emailAddresses\` (optional, default \`[]\`) - \`$0.params\` **...any** @@ -11715,6 +11716,7 @@ Similar, but with an array ### Parameters - \`$0\` **[Array][36]** + - \`$0.0\` - \`$0.1\` - \`$0.2\` @@ -29143,6 +29145,7 @@ 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 })\`. @@ -30914,6 +30917,7 @@ exports[`outputs nest_params.input.js markdown 1`] = ` ### 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\`) @@ -30923,12 +30927,14 @@ exports[`outputs nest_params.input.js markdown 1`] = ` ### Parameters - \`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]** @@ -35646,6 +35652,7 @@ This function returns the number one. - \`b\` **[number][24]** the second param - \`c\` - \`$3\` **[Object][25]** + - \`$3.d\` - \`$3.e\` - \`$3.f\` @@ -35657,6 +35664,7 @@ This method has partially inferred params ### Parameters - \`options\` **[Object][25]** + - \`options.fishes\` **[String][26]** number of kinds of fish - \`options.foxes\` @@ -35720,6 +35728,7 @@ 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. The latter is preferable in case of large GeoJSON files. - \`options.maxzoom\` **[number][24]** Maximum zoom to preserve detail at. (optional, default \`14\`) @@ -35754,6 +35763,7 @@ iterator destructure (RestElement) ### Parameters - \`input\` **[Array][27]** + - \`input.0\` **any** head of iterator - \`input.xs\` **...any** body of iterator 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 7a42e08f7..6661f464c 100644 --- a/package.json +++ b/package.json @@ -53,10 +53,10 @@ "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": "^12.0.0", + "remark-html": "^12.0.0", + "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", @@ -73,12 +73,11 @@ }, "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", @@ -86,8 +85,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/yarn.lock b/yarn.lock index 6794f2728..c64062a73 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== @@ -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" @@ -1682,18 +1700,6 @@ babel-core@^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 +2136,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,7 +2179,7 @@ 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: +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== @@ -2218,7 +2233,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 +2243,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 +2295,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 +2303,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 +2322,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 +2331,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 +2340,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 +2361,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 +2439,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 +2456,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 +2513,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 +2633,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" @@ -2743,13 +2767,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 +2822,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 +2882,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" @@ -2937,12 +2942,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 +2962,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 +2972,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 +2988,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 +3002,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 +3011,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 +3024,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 +3158,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 +3238,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 +3297,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 +3407,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 +3499,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 +3555,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 +3622,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 +3734,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" @@ -3937,7 +3974,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 +4120,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 +4137,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 +4159,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 +4210,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" @@ -4738,6 +4797,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 +5056,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 +5108,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" @@ -5134,24 +5225,26 @@ markdown-escapes@^1.0.0: 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== +markdown-table@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-2.0.0.tgz#194a90ced26d31fe753d8b9434430214c011865b" + integrity sha512-Ezda85ToJUBhM6WGaG6veasyym+Tbs3cMAw/ZhOPqXiYsr0jgocBV3j3nx+4lk47plLlIqjwuTm/ywVI+zjJ/A== + dependencies: + repeat-string "^1.0.0" -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-compact@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/mdast-util-compact/-/mdast-util-compact-2.0.1.tgz#cabc69a2f43103628326f35b1acf735d55c99490" + integrity sha512-7GlnT24gEwDrdAwEHrU4Vv5lLWrEer4KOkAiKT9nYstsTad7Oc1TwqT2zIMKRdZF7cTuaf+GA1E4Kv7jJh8mPA== 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== +mdast-util-definitions@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/mdast-util-definitions/-/mdast-util-definitions-3.0.1.tgz#06af6c49865fc63d6d7d30125569e2f7ae3d0a86" + integrity sha512-BAv2iUm/e6IK/b2/t+Fx69EL/AGcq/IG2S+HxHjDJGfLJtd6i9SZUS76aC9cig+IEucsqxKTR0ot3m933R3iuA== dependencies: - unist-util-visit "^1.0.0" + unist-util-visit "^2.0.0" mdast-util-inject@^1.1.0: version "1.1.0" @@ -5160,39 +5253,44 @@ 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== +mdast-util-to-hast@^9.0.0: + version "9.1.2" + resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-9.1.2.tgz#10fa5ed9d45bf3755891e5801d0f32e2584a9423" + integrity sha512-OpkFLBC2VnNAb2FNKcKWu9FMbJhQKog+FCT8nuKmQNIKXyT1n3SIskE7uWDep6x+cA20QXlK5AETHQtYmQmxtQ== 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" + "@types/mdast" "^3.0.0" + "@types/unist" "^2.0.0" + mdast-util-definitions "^3.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-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= @@ -5363,13 +5461,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 +5782,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 +5810,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 +5851,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 +6085,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 +6131,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 +6291,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,57 +6437,49 @@ 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@^12.0.0: + version "12.0.0" + resolved "https://registry.yarnpkg.com/remark-html/-/remark-html-12.0.0.tgz#f39d2a5e173cce777981cb4171b4ea860313d72a" + integrity sha512-M104NMHs48+uswChJkCDXCdabzxAinpHikpt6kS3gmGMyIvPZ5kn53tB9shFsL2O4HUJ9DIEsah1SX1Ve5FXHA== dependencies: - hast-util-sanitize "^1.0.0" - hast-util-to-html "^4.0.0" - mdast-util-to-hast "^3.0.0" + hast-util-sanitize "^3.0.0" + hast-util-to-html "^7.0.0" + mdast-util-to-hast "^9.0.0" xtend "^4.0.1" -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== +remark-parse@^8.0.0: + version "8.0.3" + resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-8.0.3.tgz#9c62aa3b35b79a486454c690472906075f40c7e1" + integrity sha512-E1K9+QLGgggHxCQtLt++uXltxEprmWzNfg+MxpfHsZlrddKzZ/hZyWHDbK3/Ap8HJQqYJRXP+jHczdL6q6i85Q== dependencies: + ccount "^1.0.0" 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" + parse-entities "^2.0.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" + unist-util-remove-position "^2.0.0" + vfile-location "^3.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-reference-links@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/remark-reference-links/-/remark-reference-links-5.0.0.tgz#2c75b60a99c53251f25193566953b0c71e096b8d" + integrity sha512-oSIo6lfDyG/1yYl2jPZNXmD9dgyPxp07mSd7snJagVMsDU6NRlD8i54MwHWUgMoOHTs8lIKPkwaUok/tbr5syQ== dependencies: - github-slugger "^1.0.0" - mdast-util-to-string "^1.0.0" - unist-util-visit "^1.0.0" + unist-util-visit "^2.0.0" -remark-stringify@^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== +remark-stringify@^8.0.0: + version "8.1.1" + resolved "https://registry.yarnpkg.com/remark-stringify/-/remark-stringify-8.1.1.tgz#e2a9dc7a7bf44e46a155ec78996db896780d8ce5" + integrity sha512-q4EyPZT3PcA3Eq7vPpT6bIdokXzFGp9i85igjmhRyXWmPs0Y6/d2FYwUNotKAWyLch7g0ASZJn/KHHcHZQ163A== dependencies: ccount "^1.0.0" is-alphanumeric "^1.0.0" @@ -6390,31 +6487,31 @@ remark-stringify@^5.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" + markdown-table "^2.0.0" + mdast-util-compact "^2.0.0" + parse-entities "^2.0.0" repeat-string "^1.5.4" state-toggle "^1.0.0" - stringify-entities "^1.0.1" + stringify-entities "^3.0.0" 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== +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: - mdast-util-toc "^3.0.0" - remark-slug "^5.0.0" + "@types/unist" "^2.0.3" + mdast-util-toc "^5.0.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@^12.0.0: + version "12.0.1" + resolved "https://registry.yarnpkg.com/remark/-/remark-12.0.1.tgz#f1ddf68db7be71ca2bad0a33cd3678b86b9c709f" + integrity sha512-gS7HDonkdIaHmmP/+shCPejCEEW+liMp/t/QwmF0Xt47Rpuhl32lLtDV1uKWvGoq+kxr5jSgg5oAIpGuyULjUw== dependencies: - remark-parse "^5.0.0" - remark-stringify "^5.0.0" - unified "^6.0.0" + remark-parse "^8.0.0" + remark-stringify "^8.0.0" + unified "^9.0.0" remove-bom-buffer@^3.0.0: version "3.0.0" @@ -6443,7 +6540,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.5.4, 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 +6609,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 +6658,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 +6684,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 +6860,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 +6983,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 +7029,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,26 +7050,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" + yargs "^16.0.0" state-toggle@^1.0.0: version "1.0.3" @@ -7042,15 +7144,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 +7172,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.0, 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 +7209,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 +7323,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 +7498,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" @@ -7499,6 +7584,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" @@ -7562,17 +7652,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.0.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,44 +7682,44 @@ 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: +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-util-generated@^1.1.0: +unist-builder@^2.0.0: + 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.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== +unist-util-remove-position@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/unist-util-remove-position/-/unist-util-remove-position-2.0.1.tgz#5d19ca79fdba712301999b2b73553ca8f3b352cc" + integrity sha512-fDZsLYIe2uT+oGFnuZmy73K6ZxOPG/Qcm+w7jbEjaFcJgbQ6cqjs/eSPzXhsmGpAsWPkqZM9pYjww5QTn3LHMA== 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-visit "^2.0.0" unist-util-stringify-position@^2.0.0: version "2.0.3" @@ -7645,13 +7735,30 @@ unist-util-visit-parents@^2.0.0: dependencies: unist-util-is "^3.0.0" -unist-util-visit@^1.0.0, unist-util-visit@^1.1.0, unist-util-visit@^1.3.0: +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: + "@types/unist" "^2.0.0" + unist-util-is "^4.0.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== dependencies: unist-util-visit-parents "^2.0.0" +unist-util-visit@^2.0.0: + 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: + "@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" resolved "https://registry.yarnpkg.com/universalify/-/universalify-1.0.0.tgz#b61a1da173e8435b2fe3c67d29b9adf8594bd16d" @@ -7738,17 +7845,10 @@ 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-location@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/vfile-location/-/vfile-location-3.2.0.tgz#d8e41fbcbd406063669ebf6c33d56ae8721d0f3c" + integrity sha512-aLEIZKv/oxuCDZ8lkJGhuhztf/BW4M+iHdCwglA/eWc+vtuRFJj8EtgceYFX4LRjOhCAAiNHsKGssC6onJ+jbA== vfile-message@^2.0.0: version "2.0.4" @@ -7780,16 +7880,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 +8059,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 +8083,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" @@ -8021,6 +8108,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 +8131,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 +8157,21 @@ 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== From 061b9064251c131ef359f271bf69edc49c38df77 Mon Sep 17 00:00:00 2001 From: Anton Shchekota Date: Wed, 7 Apr 2021 22:18:17 +0300 Subject: [PATCH 5/8] deps: remove deps which already in stage 4 --- package.json | 1 - src/input/dependency.js | 5 ----- yarn.lock | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/package.json b/package.json index 6661f464c..86e95e746 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,6 @@ "@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", 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/yarn.lock b/yarn.lock index c64062a73..2ad4f3ff8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -503,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== From f2fa522070f7fa5518352be6903500f976b48342 Mon Sep 17 00:00:00 2001 From: Anton Date: Fri, 16 Apr 2021 18:18:06 +0300 Subject: [PATCH 6/8] refactor: switch off position for remark, it is reduce size of tests and check on position (#1369) --- __tests__/__snapshots__/bin.js.snap | 264 - __tests__/__snapshots__/index.js.snap | 82 +- __tests__/__snapshots__/test.js.snap | 13327 ---------------- __tests__/lib/__snapshots__/sort.js.snap | 76 - .../lib/infer/__snapshots__/params.js.snap | 38 - __tests__/lib/parse.js | 500 +- __tests__/lib/parsers/javascript.js | 29 +- __tests__/lib/sort.js | 102 +- package.json | 5 +- src/parse_markdown.js | 4 +- yarn.lock | 35 +- 11 files changed, 279 insertions(+), 14183 deletions(-) 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 1fa3f1495..e59c04741 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 [], @@ -839,85 +573,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 +651,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 +700,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 +753,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 +802,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 +864,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 +913,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", @@ -3058,51 +2500,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 +2546,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 +2578,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 +2647,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 +2696,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", @@ -3755,51 +3007,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 +3065,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 +3105,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 +3142,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 +3204,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 +3257,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 +3307,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, @@ -4450,36 +3436,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 +3489,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", }, ], @@ -4584,36 +3518,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 +3571,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", }, ], @@ -4734,36 +3616,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 +3638,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 +3673,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 +3726,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 +3792,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 [ @@ -5164,36 +3892,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 +3911,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 +4661,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 +5546,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 [], @@ -7679,36 +6279,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 { @@ -8085,36 +6659,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 { @@ -8484,56 +7032,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 +7132,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 +7239,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 +7278,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 +7324,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 +7394,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 +7449,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 +7522,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 +7595,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 +7686,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 +7762,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 +7827,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 +7850,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 +7931,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 +7978,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 +8029,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 +8040,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 +8057,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 +8109,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 +8160,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 +8235,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 +8315,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 +8381,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 +8428,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 +8479,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 +8553,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 +8626,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 +8698,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 +8762,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 +8904,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 +8988,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 [], @@ -11974,41 +9356,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 { @@ -12214,36 +9566,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 { @@ -12422,36 +9748,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 { @@ -12520,36 +9820,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", }, ], @@ -12613,36 +9887,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", }, ], @@ -12661,36 +9909,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 { @@ -12740,36 +9962,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", }, ], @@ -12813,36 +10009,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", }, ], @@ -12887,36 +10057,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 { @@ -12932,36 +10076,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 { @@ -12977,36 +10095,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 { @@ -13105,41 +10197,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 { @@ -13155,36 +10217,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 { @@ -13200,36 +10236,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 { @@ -13254,36 +10264,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", }, ], @@ -13302,19 +10286,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 ", }, @@ -13330,21 +10301,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 ", @@ -13361,38 +10317,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 { @@ -13424,36 +10352,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", }, ], @@ -13472,36 +10374,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 { @@ -13568,36 +10444,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 { @@ -13671,36 +10521,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 { @@ -13716,36 +10540,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 { @@ -13777,36 +10575,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", }, ], @@ -13825,36 +10597,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 { @@ -13925,36 +10671,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 { @@ -13970,36 +10690,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 { @@ -14015,36 +10709,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 { @@ -14060,36 +10728,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 { @@ -14337,36 +10979,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 { @@ -14458,36 +11074,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 { @@ -14571,51 +11161,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 [], @@ -14675,51 +11227,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 [], @@ -14760,51 +11274,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 [], @@ -14924,51 +11400,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 [], @@ -15139,36 +11577,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 { @@ -15184,36 +11596,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 { @@ -15283,36 +11669,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 { @@ -15348,36 +11708,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 { @@ -15535,51 +11869,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 [], @@ -15620,51 +11916,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 [], @@ -15745,51 +12003,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 [], @@ -15937,36 +12157,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 { @@ -15982,36 +12176,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 { @@ -16047,36 +12215,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 { @@ -16288,51 +12430,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 [], @@ -16379,51 +12483,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", @@ -16468,51 +12534,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 [], @@ -16570,51 +12598,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 [], @@ -16655,51 +12645,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", @@ -16790,36 +12742,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 { @@ -16889,36 +12815,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", }, ], @@ -16937,36 +12837,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 { @@ -16982,36 +12856,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 { @@ -17043,36 +12891,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", }, ], @@ -17110,51 +12932,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 [], @@ -17194,51 +12978,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, @@ -17255,51 +13001,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, @@ -17409,36 +13117,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 { @@ -17501,36 +13183,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", }, ], @@ -17574,36 +13230,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", }, ], @@ -17654,51 +13284,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 [], @@ -17709,51 +13301,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);", @@ -17795,51 +13349,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", @@ -17925,36 +13441,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 { @@ -17974,51 +13464,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", }, ], @@ -18058,36 +13510,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", }, ], @@ -18125,85 +13551,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 [], @@ -18282,70 +13644,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", }, ], @@ -18374,51 +13684,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 [], @@ -18459,51 +13731,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", @@ -18609,51 +13843,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 [ @@ -18776,36 +13972,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 { @@ -18837,36 +14007,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", }, ], @@ -18895,36 +14039,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 { @@ -18997,51 +14115,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 [], @@ -19118,36 +14198,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", }, ], @@ -19176,51 +14230,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 [], @@ -19308,51 +14324,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 [], @@ -19442,36 +14420,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 { @@ -19539,36 +14491,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 { @@ -19603,51 +14529,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 [], @@ -19722,51 +14610,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 [], @@ -19841,51 +14691,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 [], @@ -19980,51 +14792,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 [], @@ -20119,51 +14893,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 [], @@ -20314,36 +15050,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 { @@ -20402,36 +15112,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 { @@ -20494,36 +15178,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 { @@ -20613,36 +15271,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 { @@ -20736,36 +15368,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 { @@ -20898,51 +15504,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 [], @@ -20983,51 +15551,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 [], @@ -21140,36 +15670,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 { @@ -21185,36 +15689,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", }, ], @@ -21248,51 +15726,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 [], @@ -21457,36 +15897,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 { @@ -21525,51 +15939,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 [], @@ -21602,51 +15978,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, @@ -21672,51 +16010,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", @@ -21771,21 +16071,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 ", @@ -21798,39 +16083,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 ", @@ -21843,39 +16100,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 ", @@ -21888,59 +16117,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: ", }, @@ -21952,52 +16138,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 [], @@ -22030,51 +16178,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, @@ -22100,51 +16210,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", @@ -22254,36 +16326,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 { @@ -22333,36 +16379,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", }, ], @@ -22404,36 +16424,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", }, ], @@ -22452,21 +16446,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 ", @@ -22483,21 +16462,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 ", @@ -22514,21 +16478,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 ", @@ -22545,41 +16494,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: ", }, @@ -22595,19 +16514,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 { @@ -22657,36 +16563,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", }, ], @@ -22728,36 +16608,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", }, ], @@ -22822,51 +16676,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 [], @@ -22907,51 +16723,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 [], @@ -23022,51 +16800,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 [], @@ -23218,36 +16958,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 { @@ -23263,36 +16977,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 { @@ -23328,36 +17016,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 { @@ -23418,85 +17080,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 [], @@ -23575,70 +17173,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", }, ], @@ -23675,51 +17221,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 [], @@ -23760,51 +17268,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 [], @@ -23869,51 +17339,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 [], @@ -23947,51 +17379,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, @@ -24022,51 +17416,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", @@ -24122,51 +17478,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 [], @@ -24200,51 +17518,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, @@ -24275,51 +17555,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", @@ -24490,36 +17732,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 { @@ -24535,36 +17751,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 { @@ -24580,36 +17770,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 { @@ -24659,36 +17823,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", }, ], @@ -24730,36 +17868,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", }, ], @@ -24778,36 +17890,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 { @@ -24857,36 +17943,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", }, ], @@ -24928,36 +17988,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", }, ], @@ -25466,51 +18500,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 [ @@ -25557,51 +18553,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 [], @@ -25635,51 +18593,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, @@ -25710,51 +18630,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", @@ -25812,51 +18694,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 [], @@ -25903,51 +18747,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", @@ -26073,36 +18879,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 { @@ -26118,36 +18898,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 { @@ -26197,36 +18951,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", }, ], @@ -26268,36 +18996,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", }, ], @@ -26316,36 +19018,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 { @@ -26377,36 +19053,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", }, ], @@ -26456,85 +19106,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 [], @@ -26567,51 +19153,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, @@ -26637,51 +19185,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", @@ -26760,70 +19270,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 { @@ -26873,36 +19331,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", }, ], @@ -26944,36 +19376,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", }, ], @@ -27011,51 +19417,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 { @@ -27063,51 +19431,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 [], @@ -27149,51 +19479,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", @@ -27212,69 +19504,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", @@ -27405,19 +19646,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", }, @@ -27427,34 +19655,9 @@ 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", }, ], @@ -27470,36 +19673,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 { @@ -27531,36 +19708,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", }, ], @@ -27653,51 +19804,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", }, ], @@ -27775,51 +19888,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 [], @@ -27866,51 +19941,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", @@ -27955,51 +19992,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 [], @@ -28032,51 +20031,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, @@ -28102,51 +20063,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", @@ -28247,36 +20170,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 { @@ -28346,36 +20243,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", }, ], @@ -28394,36 +20265,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 { @@ -28473,36 +20318,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", }, ], @@ -28544,36 +20363,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", }, ], @@ -28617,51 +20410,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 [], @@ -28698,119 +20453,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, @@ -28827,51 +20492,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, @@ -28895,85 +20522,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, @@ -29002,51 +20565,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", @@ -29186,36 +20711,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 { @@ -29302,104 +20801,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", }, ], @@ -29443,36 +20864,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", }, ], @@ -29527,70 +20922,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", }, ], @@ -29632,36 +20975,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", }, ], @@ -29717,51 +21034,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 [], @@ -29799,51 +21078,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 [], @@ -29976,36 +21217,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 { @@ -30021,36 +21236,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", }, ], @@ -30105,51 +21294,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, @@ -30161,51 +21312,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, @@ -30222,51 +21335,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, @@ -30300,51 +21375,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, @@ -30468,51 +21505,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, @@ -30524,51 +21523,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, @@ -30592,51 +21553,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, @@ -30660,51 +21583,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, @@ -30752,51 +21637,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", @@ -31044,36 +21891,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", }, ], @@ -31116,36 +21937,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", }, ], @@ -31189,36 +21984,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", }, ], @@ -31269,36 +22038,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 { @@ -31385,36 +22128,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", }, ], @@ -31457,36 +22174,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", }, ], @@ -31537,36 +22228,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", }, ], @@ -31626,36 +22291,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", }, ], @@ -31817,36 +22456,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", }, ], @@ -31902,51 +22515,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 [ @@ -31981,59 +22556,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, @@ -32113,36 +22644,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 { @@ -32192,44 +22697,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", }, ], @@ -32274,51 +22747,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 [ @@ -32421,36 +22856,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 { @@ -32774,51 +23183,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 [], @@ -32856,51 +23227,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, @@ -32987,51 +23320,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 [], @@ -33068,51 +23363,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, @@ -33190,51 +23447,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 [], @@ -33316,51 +23535,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 [], @@ -33401,51 +23582,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 [], @@ -33479,51 +23622,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, @@ -33605,51 +23710,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 [], @@ -33690,51 +23757,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 [], @@ -33824,86 +23853,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 [], @@ -33940,51 +23905,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, @@ -34002,51 +23929,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, @@ -34063,51 +23952,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, @@ -34129,51 +23980,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, @@ -34283,86 +24096,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 [], @@ -34395,51 +24144,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, @@ -34451,56 +24162,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, @@ -34527,51 +24196,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, @@ -34588,51 +24219,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, @@ -34652,51 +24245,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, @@ -34835,56 +24390,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 [], @@ -34918,51 +24431,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, @@ -34988,51 +24463,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", @@ -35087,56 +24524,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 [], @@ -35169,51 +24564,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, @@ -35262,56 +24619,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 [], @@ -35348,51 +24663,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, @@ -35409,51 +24686,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, @@ -35489,51 +24728,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", @@ -35845,36 +25046,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 { @@ -35946,36 +25121,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", }, ], @@ -36133,36 +25282,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 { @@ -36249,36 +25372,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", }, ], @@ -36333,36 +25430,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 { @@ -36449,36 +25520,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 { @@ -36494,36 +25539,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 { @@ -36573,36 +25592,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", }, ], @@ -36628,36 +25621,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 { @@ -36673,36 +25640,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 { @@ -36756,71 +25697,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 { @@ -36870,36 +25759,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", }, ], @@ -36943,36 +25806,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 { @@ -37037,36 +25874,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", }, ], @@ -37110,36 +25921,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 { @@ -37197,71 +25982,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 { @@ -37315,36 +26048,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", }, ], @@ -37410,41 +26117,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", }, ], @@ -37488,36 +26165,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 { @@ -37582,36 +26233,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", }, ], @@ -37659,36 +26284,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", }, ], @@ -37721,41 +26320,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 { @@ -37805,36 +26374,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 { @@ -37893,36 +26436,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", }, ], @@ -37941,41 +26458,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 { @@ -38009,36 +26496,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", }, ], @@ -38064,41 +26525,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 { @@ -38178,36 +26609,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", }, ], @@ -38248,36 +26653,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", }, ], @@ -38338,36 +26717,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", }, ], @@ -38423,51 +26776,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 [], @@ -38546,36 +26861,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", }, ], @@ -38646,51 +26935,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 [], @@ -38750,51 +27001,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 [], @@ -38895,56 +27108,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 [], @@ -39031,51 +27202,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 [], @@ -39116,51 +27249,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 [], @@ -39233,51 +27328,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 [], @@ -39375,51 +27432,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 [], @@ -39561,36 +27580,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 { @@ -39606,36 +27599,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 { @@ -39661,41 +27628,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 { @@ -39711,36 +27648,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 { @@ -39756,36 +27667,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 { @@ -39839,36 +27724,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 { @@ -39944,36 +27803,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", }, ], @@ -40002,51 +27835,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 [], @@ -40087,51 +27882,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", @@ -40199,36 +27956,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 { @@ -40260,36 +27991,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", }, ], @@ -40327,56 +28032,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 [], @@ -40409,51 +28072,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, @@ -40470,51 +28095,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, @@ -40580,51 +28167,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 [], @@ -40657,51 +28206,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, @@ -40722,51 +28233,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, @@ -40898,41 +28371,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 { @@ -40982,36 +28425,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", }, ], @@ -41055,36 +28472,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", }, ], @@ -41110,36 +28501,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 { @@ -41213,36 +28578,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", }, ], @@ -41286,36 +28625,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", }, ], @@ -41378,51 +28691,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 [], @@ -41463,51 +28738,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", @@ -41575,36 +28812,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 { @@ -41636,36 +28847,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", }, ], @@ -41766,51 +28951,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 [], @@ -41848,51 +28995,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, @@ -41918,51 +29027,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", @@ -42063,36 +29134,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 { @@ -42142,36 +29187,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", }, ], @@ -42229,36 +29248,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", }, ], @@ -43256,51 +30249,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 [ @@ -43400,36 +30355,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", }, ], @@ -43553,51 +30482,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 [], @@ -43729,51 +30620,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 [], @@ -43984,36 +30837,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 { @@ -44077,36 +30904,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", }, ], @@ -44135,51 +30936,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 [], @@ -44212,51 +30975,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, @@ -44367,36 +31092,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 { @@ -44465,36 +31164,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", }, ], 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..b9d18842c 100644 --- a/__tests__/lib/parse.js +++ b/__tests__/lib/parse.js @@ -1,10 +1,11 @@ const parse = require('../../src/parsers/javascript'); const remark = require('remark'); const visit = require('unist-util-visit'); +const remarkParse = remark().use({ settings: { position: false } }).parse; 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 +26,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 +101,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 +139,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 +153,7 @@ test('parse - @class', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @class name */ })[0], ['kind', 'name', 'type'] @@ -171,7 +165,7 @@ test('parse - @class', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @class {Object} name */ })[0], ['kind', 'name', 'type'] @@ -186,20 +180,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 +204,7 @@ test('parse - @constant', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @constant name */ })[0], ['kind', 'name', 'type'] @@ -222,7 +216,7 @@ test('parse - @constant', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @constant {Object} */ })[0], ['kind', 'name', 'type'] @@ -237,7 +231,7 @@ test('parse - @constant', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @constant {Object} name */ })[0], ['kind', 'name', 'type'] @@ -252,60 +246,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 +313,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 +327,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 +337,7 @@ test('parse - @example', function() { }); expect( - evaluate(function() { + evaluate(function () { /** * @example * a @@ -355,7 +349,7 @@ test('parse - @example', function() { }); expect( - evaluate(function() { + evaluate(function () { /** * @example caption * a @@ -364,11 +358,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 +371,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 +397,10 @@ test('parse - @external', function() { }); }); -test('parse - @file', function() { +test('parse - @file', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @file */ })[0], ['kind'] @@ -417,27 +411,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 +442,7 @@ test('parse - @function', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @function name */ })[0], ['kind', 'name'] @@ -461,110 +455,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 +569,7 @@ test('parse - @member', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @member name */ })[0], ['kind', 'name', 'type'] @@ -587,7 +581,7 @@ test('parse - @member', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @member {Object} */ })[0], ['kind', 'name', 'type'] @@ -602,7 +596,7 @@ test('parse - @member', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @member {Object} name */ })[0], ['kind', 'name', 'type'] @@ -617,22 +611,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 +637,7 @@ test('parse - @mixin', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @mixin name */ })[0], ['kind', 'name'] @@ -654,10 +648,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 +662,7 @@ test('parse - @module', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @module name */ })[0], ['kind', 'name', 'type'] @@ -680,7 +674,7 @@ test('parse - @module', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @module {Object} name */ })[0], ['kind', 'name', 'type'] @@ -695,25 +689,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 +718,7 @@ test('parse - @namespace', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @namespace name */ })[0], ['kind', 'name', 'type'] @@ -736,7 +730,7 @@ test('parse - @namespace', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @namespace {Object} name */ })[0], ['kind', 'name', 'type'] @@ -751,19 +745,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 +767,7 @@ test('parse - @param', function() { }); expect( - evaluate(function() { + evaluate(function () { /** @param {number} test */ })[0].params[0] ).toEqual({ @@ -787,7 +781,7 @@ test('parse - @param', function() { }); expect( - evaluate(function() { + evaluate(function () { /** @param {number} test - desc */ })[0].params[0] ).toEqual({ @@ -797,22 +791,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 +820,7 @@ test('parse - @prop', function() { }); expect( - evaluate(function() { + evaluate(function () { /** @prop {number} test - desc */ })[0].properties[0] ).toEqual({ @@ -836,14 +830,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 +851,7 @@ test('parse - @property', function() { }); expect( - evaluate(function() { + evaluate(function () { /** @property {number} test - desc */ })[0].properties[0] ).toEqual({ @@ -867,47 +861,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 +910,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 +934,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 +956,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 +1006,7 @@ test('parse - @throws', function() { }); expect( - evaluate(function() { + evaluate(function () { /** @throws {Error} desc */ })[0].throws[0] ).toEqual({ @@ -1020,11 +1014,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 +1026,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 +1073,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 +1111,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 +1135,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 +1146,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 +1199,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 +1226,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..a7a4b3eea 100644 --- a/__tests__/lib/parsers/javascript.js +++ b/__tests__/lib/parsers/javascript.js @@ -1,5 +1,6 @@ const remark = require('remark'); const parse = require('../../../src/parsers/javascript'); +const remarkParse = remark().use({ settings: { position: false } }).parse; function toComments(source, filename, opts) { source = typeof source === 'string' ? source : '(' + source.toString() + ')'; @@ -12,41 +13,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 +56,7 @@ test('parse - error', function() { ]); }); -test('parse - document exported', function() { +test('parse - document exported', function () { expect( toComments( ` @@ -85,7 +86,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/package.json b/package.json index 86e95e746..be4b9a89f 100644 --- a/package.json +++ b/package.json @@ -60,8 +60,8 @@ "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", @@ -71,7 +71,6 @@ "yargs": "^15.3.1" }, "devDependencies": { - "babel-core": "^7.0.0-bridge.0", "chdir": "0.0.0", "cz-conventional-changelog": "2.1.0", "documentation-schema": "0.0.1", diff --git a/src/parse_markdown.js b/src/parse_markdown.js index aee24bec9..666661952 100644 --- a/src/parse_markdown.js +++ b/src/parse_markdown.js @@ -10,7 +10,9 @@ const inlineTokenizer = require('./inline_tokenizer'); * @private */ function parseMarkdown(string) { - return remark().use(inlineTokenizer).parse(string); + return remark() + .use({ plugins: [inlineTokenizer], settings: { position: false } }) + .parse(string); } module.exports = parseMarkdown; diff --git a/yarn.lock b/yarn.lock index 2ad4f3ff8..7f8b150be 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1695,11 +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-jest@^26.6.3: version "26.6.3" resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-26.6.3.tgz#d87d25cb0037577a0c89f82e5755c5d293c01056" @@ -7682,14 +7677,7 @@ unique-stream@^2.0.2: json-stable-stringify-without-jsonify "^1.0.1" through2-filter "^3.0.0" -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.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== @@ -7699,11 +7687,6 @@ unist-util-generated@^1.0.0: 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@^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" @@ -7728,13 +7711,6 @@ 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== - dependencies: - unist-util-is "^3.0.0" - 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" @@ -7743,14 +7719,7 @@ unist-util-visit-parents@^3.0.0: "@types/unist" "^2.0.0" unist-util-is "^4.0.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== - dependencies: - unist-util-visit-parents "^2.0.0" - -unist-util-visit@^2.0.0: +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== From f4a46b134f58639f352b3024801c3d98f901d66a Mon Sep 17 00:00:00 2001 From: Anton Date: Tue, 20 Apr 2021 23:25:06 +0300 Subject: [PATCH 7/8] deps: update remark on last version fixed #1349 (#1370) 1. New plugins was created parse jsDoc links and remove position 2. spread: false - to remove new line after each listItem --- __tests__/__snapshots__/bin-readme.js.snap | 36 +- __tests__/__snapshots__/test.js.snap | 794 +++++++++++---------- __tests__/format_type.js | 16 +- __tests__/lib/parse.js | 7 +- __tests__/lib/parsers/javascript.js | 7 +- package.json | 5 +- src/inline_tokenizer.js | 69 -- src/output/markdown_ast.js | 10 +- src/parse.js | 2 +- src/parse_markdown.js | 18 - src/remark-jsDoc-link.js | 36 + src/remark-parse.js | 18 + src/remark-remove-position.js | 8 + src/sort.js | 2 +- yarn.lock | 228 +++--- 15 files changed, 630 insertions(+), 626 deletions(-) delete mode 100644 src/inline_tokenizer.js delete mode 100644 src/parse_markdown.js create mode 100644 src/remark-jsDoc-link.js create mode 100644 src/remark-parse.js create mode 100644 src/remark-remove-position.js 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__/test.js.snap b/__tests__/__snapshots__/test.js.snap index e59c04741..139870905 100644 --- a/__tests__/__snapshots__/test.js.snap +++ b/__tests__/__snapshots__/test.js.snap @@ -459,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 @@ -467,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 @@ -481,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 @@ -497,7 +496,6 @@ exports[`config with nested sections 1`] = ` - ### third This function is third @@ -514,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 @@ -530,7 +526,7 @@ second::foo ###### Parameters -- \`pork\` +* \`pork\` ##### bar @@ -538,8 +534,8 @@ second::bar ###### Parameters -- \`beans\` -- \`rice\` +* \`beans\` +* \`rice\` ## AClass @@ -991,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 @@ -2830,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\`]** @@ -2941,6 +2937,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -3368,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 @@ -3380,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 @@ -3388,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 @@ -3503,6 +3500,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -3585,6 +3583,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -3855,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 @@ -5722,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 @@ -5775,7 +5774,7 @@ exports[`outputs document-exported.input.js markdown 1`] = ` ### Parameters -- \`a\` **[string][39]** +* \`a\` **[string][39]** ### classMethod @@ -5785,7 +5784,7 @@ exports[`outputs document-exported.input.js markdown 1`] = ` #### Parameters -- \`v\` +* \`v\` ### staticMethod @@ -5795,7 +5794,7 @@ exports[`outputs document-exported.input.js markdown 1`] = ` #### Parameters -- \`v\` +* \`v\` ## T5 @@ -5809,7 +5808,7 @@ Description of y3 ### Parameters -- \`p\` **[number][41]** +* \`p\` **[number][41]** Returns **void** @@ -5823,7 +5822,7 @@ Returns **void** #### Parameters -- \`v\` +* \`v\` ### prop @@ -5849,7 +5848,7 @@ Type: [string][39] ### Parameters -- \`x\` **X** +* \`x\` **X** ## o1 @@ -5861,7 +5860,7 @@ f5 comment ### Parameters -- \`y\` **Y** +* \`y\` **Y** ## o2 @@ -6004,6 +6003,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -6088,6 +6088,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -6156,6 +6157,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -6224,6 +6226,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -6337,6 +6340,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -6437,6 +6441,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -6624,6 +6629,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -6710,6 +6716,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -6875,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 @@ -6981,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 @@ -9043,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 @@ -9085,11 +9092,11 @@ have any parameter descriptions. ### Parameters -- \`$0\` **[Object][35]** (optional, default \`{}\`) +* \`$0\` **[Object][35]** (optional, default \`{}\`) - - \`$0.phoneNumbers\` (optional, default \`[]\`) - - \`$0.emailAddresses\` (optional, default \`[]\`) - - \`$0.params\` **...any** + * \`$0.phoneNumbers\` (optional, default \`[]\`) + * \`$0.emailAddresses\` (optional, default \`[]\`) + * \`$0.params\` **...any** ## destructure2 @@ -9097,12 +9104,12 @@ Similar, but with an array ### Parameters -- \`$0\` **[Array][36]** +* \`$0\` **[Array][36]** - - \`$0.0\` - - \`$0.1\` - - \`$0.2\` - - \`$0.3\` + * \`$0.0\` + * \`$0.1\` + * \`$0.2\` + * \`$0.3\` ### Examples @@ -9116,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 @@ -9127,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 @@ -9154,7 +9161,7 @@ This uses the class property transform #### Parameters -- \`a\` **[number][37]** +* \`a\` **[number][37]** Returns **[string][38]** @@ -9186,7 +9193,7 @@ This function takes rest params ### Parameters -- \`someParams\` **...any** +* \`someParams\` **...any** ## functionWithRestAndType @@ -9194,7 +9201,7 @@ So does this one, with types ### Parameters -- \`someParams\` **...[number][37]** +* \`someParams\` **...[number][37]** ## foo @@ -9212,7 +9219,7 @@ This tests our support of optional parameters in ES6 ### Parameters -- \`foo\` (optional, default \`'bar'\`) +* \`foo\` (optional, default \`'bar'\`) ## iAmProtected @@ -9232,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]** @@ -9244,7 +9251,7 @@ Regression check for #749 ### Parameters -- \`a\` **atype.property** +* \`a\` **atype.property** Returns **[boolean][41]** @@ -9544,6 +9551,7 @@ have any parameter descriptions.", }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -9551,6 +9559,7 @@ have any parameter descriptions.", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -9711,6 +9720,7 @@ have any parameter descriptions.", }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -9718,6 +9728,7 @@ have any parameter descriptions.", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -9856,6 +9867,7 @@ have any parameter descriptions.", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -10023,6 +10035,7 @@ have any parameter descriptions.", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -10153,6 +10166,7 @@ class A { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -10429,6 +10443,7 @@ It takes a ", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -10506,6 +10521,7 @@ It takes a ", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -10656,6 +10672,7 @@ It takes a ", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -10935,6 +10952,7 @@ It takes a ", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -11030,6 +11048,7 @@ It takes a ", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -11483,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 @@ -11502,7 +11521,7 @@ Does nothing. This is from issue #556 ### Parameters -- \`str\` **[string][7]** +* \`str\` **[string][7]** ### bar @@ -11516,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 @@ -11654,6 +11673,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -11823,6 +11843,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -12105,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 @@ -12334,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 @@ -12402,6 +12423,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -12685,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 @@ -12696,7 +12718,7 @@ This function returns the number one. ### Parameters -- \`a\` +* \`a\` Returns **[Number][5]** numberone @@ -12784,6 +12806,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -13073,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 @@ -13084,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 @@ -13244,6 +13267,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -13395,8 +13419,8 @@ exports[`outputs example-caption.input.js markdown 1`] = ` ### Table of Contents -- [foo][1] - - [Examples][2] +* [foo][1] + * [Examples][2] ## foo @@ -13406,7 +13430,6 @@ This function returns the number one. demonstrates how to run foo - \`\`\`javascript foo(1); \`\`\` @@ -13614,7 +13637,7 @@ exports[`outputs external.input.js markdown 1`] = ` ### Table of Contents -- [foo][1] +* [foo][1] ## foo @@ -13919,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 @@ -13938,7 +13961,7 @@ Sets the chart data. ### Parameters -- \`_\` +* \`_\` [1]: #area @@ -14081,6 +14104,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -14168,7 +14192,7 @@ exports[`outputs flow-exported-opaque-type.input.js markdown 1`] = ` ### Table of Contents -- [MyOpaqueType][1] +* [MyOpaqueType][1] ## MyOpaqueType @@ -14379,8 +14403,8 @@ exports[`outputs flow-optional-chaining.input.js markdown 1`] = ` ### Table of Contents -- [foo][1] -- [value][2] +* [foo][1] +* [value][2] ## foo @@ -14974,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 @@ -14996,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 @@ -15633,8 +15657,8 @@ exports[`outputs infer-private.input.js markdown 1`] = ` ### Table of Contents -- [C][1] - - [m][2] +* [C][1] + * [m][2] ## C @@ -15842,8 +15866,8 @@ exports[`outputs inheritance.input.js markdown 1`] = ` ### Table of Contents -- [SpecialArray][1] -- [Foo][2] +* [SpecialArray][1] +* [Foo][2] ## SpecialArray @@ -16260,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 @@ -16271,7 +16295,7 @@ Adds one to a number ### Parameters -- \`a\` **[number][5]** the input +* \`a\` **[number][5]** the input Returns **[number][5]** the output @@ -16286,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 @@ -16393,6 +16417,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -16577,6 +16602,7 @@ and ", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -16886,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 @@ -17143,7 +17169,7 @@ exports[`outputs internal.input.js markdown 1`] = ` ### Table of Contents -- [foo][1] +* [foo][1] ## foo @@ -17641,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 @@ -17664,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 @@ -17674,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 @@ -17837,6 +17863,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -17957,6 +17984,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -18230,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 @@ -18367,6 +18395,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -18472,6 +18501,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -18818,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 @@ -18833,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 @@ -18965,6 +18995,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -19229,8 +19260,8 @@ exports[`outputs merge-infered-type.input.js markdown 1`] = ` ### Table of Contents -- [addFive][1] - - [Parameters][2] +* [addFive][1] + * [Parameters][2] ## addFive @@ -19238,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. @@ -19345,6 +19376,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -19576,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. @@ -19589,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 @@ -19668,6 +19698,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -19848,6 +19879,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -20111,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 @@ -20122,7 +20154,7 @@ Get the time ### Parameters -- \`time\` +* \`time\` Returns **[Date][5]** the current date @@ -20132,7 +20164,7 @@ Set the time ### Parameters -- \`time\` **[Date][5]** the current time +* \`time\` **[Date][5]** the current time Returns **[undefined][6]** nothing @@ -20212,6 +20244,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -20332,6 +20365,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -20660,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 @@ -20669,11 +20703,11 @@ Attempt to establish a cookie-based session in exchange for credentials. ### Parameters -- \`credentials\` **[object][3]** +* \`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.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 @@ -20878,6 +20912,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -20944,6 +20979,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -21180,8 +21216,8 @@ exports[`outputs nest_events.input.js markdown 1`] = ` ### Table of Contents -- [Klass][1] - - [bar][2] +* [Klass][1] + * [bar][2] ## Klass @@ -21753,38 +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\` **[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[].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\` **[Object][7]** some options - - \`options.much\` **[number][9]** how much -- \`bar\` **[number][9]** something else + * \`options.much\` **[number][9]** how much +* \`bar\` **[number][9]** something else ### Properties -- \`theTime\` **[Object][7]** the current time +* \`theTime\` **[Object][7]** the current time - - \`theTime.hours\` **[number][9]** - - \`theTime.minutes\` **[number][9]** - - \`theTime.seconds\` **[number][9]** + * \`theTime.hours\` **[number][9]** + * \`theTime.minutes\` **[number][9]** + * \`theTime.seconds\` **[number][9]** Returns **[Object][7]** foo something else @@ -21998,6 +22034,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -22069,6 +22106,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -22188,6 +22226,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -22242,6 +22281,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -22418,6 +22458,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -22425,6 +22466,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -22606,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. @@ -22713,6 +22755,7 @@ still work in the markdown table.", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -22820,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 @@ -22914,6 +22957,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -23012,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 @@ -23143,6 +23187,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -24819,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 @@ -24849,14 +24894,14 @@ This function returns the number one. ### Parameters -- \`a\` -- \`b\` **[number][24]** the second param -- \`c\` -- \`$3\` **[Object][25]** +* \`a\` +* \`b\` **[number][24]** the second param +* \`c\` +* \`$3\` **[Object][25]** - - \`$3.d\` - - \`$3.e\` - - \`$3.f\` + * \`$3.d\` + * \`$3.e\` + * \`$3.f\` ## fishesAndFoxes @@ -24864,10 +24909,10 @@ This method has partially inferred params ### Parameters -- \`options\` **[Object][25]** +* \`options\` **[Object][25]** - - \`options.fishes\` **[String][26]** number of kinds of fish - - \`options.foxes\` + * \`options.fishes\` **[String][26]** number of kinds of fish + * \`options.foxes\` ## withDefault @@ -24875,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 @@ -24887,7 +24932,7 @@ The method #### Parameters -- \`x\` **[number][24]** Param to method +* \`x\` **[number][24]** Param to method ## TraditionalObject @@ -24899,7 +24944,7 @@ This method should acquire the param x #### Parameters -- \`x\` +* \`x\` ## Address6 @@ -24909,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 @@ -24928,13 +24973,13 @@ This tests our support of nested parameters ### Parameters -- \`options\` **[Object][25]?** optional options +* \`options\` **[Object][25]?** optional options - - \`options.data\` **([Object][25] \\\\| [string][26])** A GeoJSON data object or URL to it. + * \`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 @@ -24943,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 @@ -24954,7 +24999,7 @@ or any type information we could infer from annotations. ### Parameters -- \`address\` An IPv6 address string +* \`address\` An IPv6 address string ## rotate @@ -24963,12 +25008,12 @@ iterator destructure (RestElement) ### Parameters -- \`input\` **[Array][27]** +* \`input\` **[Array][27]** - - \`input.0\` **any** head of iterator - - \`input.xs\` **...any** body of iterator + * \`input.0\` **any** head of iterator + * \`input.xs\` **...any** body of iterator -Returns **[Array][27]<any>** rotated such that the last element was the first +Returns **[Array][27]\\\\** rotated such that the last element was the first [1]: #addthem @@ -25260,6 +25305,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -25267,6 +25313,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -25408,6 +25455,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -25415,6 +25463,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -25505,6 +25554,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -25606,6 +25656,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -25682,6 +25733,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -25952,6 +26004,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -26298,6 +26351,7 @@ The latter is preferable in case of large GeoJSON files.", }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -26305,6 +26359,7 @@ The latter is preferable in case of large GeoJSON files.", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -26405,6 +26460,7 @@ values specified in code.", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -26510,6 +26566,7 @@ or any type information we could infer from annotations.", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -26667,6 +26724,7 @@ iterator destructure (RestElement)", }, ], "ordered": false, + "spread": false, "type": "list", }, ], @@ -26674,6 +26732,7 @@ iterator destructure (RestElement)", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -26831,7 +26890,7 @@ exports[`outputs react-jsx.input.js markdown 1`] = ` ### Table of Contents -- [apples][1] +* [apples][1] ## apples @@ -27487,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 @@ -27523,7 +27582,7 @@ second::foo #### Parameters -- \`pork\` +* \`pork\` ### bar @@ -27531,8 +27590,8 @@ second::bar #### Parameters -- \`beans\` -- \`rice\` +* \`beans\` +* \`rice\` ## third @@ -27709,6 +27768,7 @@ that doesn't crash anything!", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -27788,6 +27848,7 @@ that doesn't crash anything!", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -27922,7 +27983,7 @@ exports[`outputs simple.input.js markdown 1`] = ` ### Table of Contents -- [simple.input][1] +* [simple.input][1] ## simple.input @@ -28307,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 @@ -28319,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 @@ -28330,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 @@ -28486,6 +28547,7 @@ plus 3.", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -28639,6 +28701,7 @@ plus 3.", }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -28778,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 @@ -29083,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 @@ -29093,7 +29156,7 @@ This function returns the number plus two. ### Parameters -- \`a\` **[Number][4]** the number +* \`a\` **[Number][4]** the number ### Examples @@ -29201,6 +29264,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -29972,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 @@ -30310,8 +30374,8 @@ exports[`outputs string-literal-key.input.js markdown 1`] = ` ### Table of Contents -- [MyContainerObject][1] -- [foo][2] +* [MyContainerObject][1] +* [foo][2] ## MyContainerObject @@ -30713,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 @@ -30727,7 +30791,7 @@ exports[`outputs this-class.input.js markdown 1`] = ` ### Parameters -- \`title\` +* \`title\` ### title @@ -30737,7 +30801,7 @@ The title of the book. ### Parameters -- \`title\` +* \`title\` ### title @@ -30822,6 +30886,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -30889,6 +30954,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -31051,8 +31117,8 @@ exports[`outputs type_application.input.js markdown 1`] = ` ### Table of Contents -- [Address6][1] - - [Parameters][2] +* [Address6][1] + * [Parameters][2] ## Address6 @@ -31060,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 @@ -31178,6 +31244,7 @@ Object { }, ], "ordered": false, + "spread": false, "type": "list", }, Object { @@ -31278,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]** @@ -31368,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/parse.js b/__tests__/lib/parse.js index b9d18842c..9bf05d320 100644 --- a/__tests__/lib/parse.js +++ b/__tests__/lib/parse.js @@ -1,7 +1,10 @@ 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 = remark().use({ settings: { position: false } }).parse; +const remarkParse = function (str) { + return removePosition(remarkP(str)); +}; function pick(obj, props) { if (Array.isArray(props)) { diff --git a/__tests__/lib/parsers/javascript.js b/__tests__/lib/parsers/javascript.js index a7a4b3eea..25d7baeb5 100644 --- a/__tests__/lib/parsers/javascript.js +++ b/__tests__/lib/parsers/javascript.js @@ -1,6 +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 = remark().use({ settings: { position: false } }).parse; +const remarkParse = function (str) { + return removePosition(remarkP(str)); +}; function toComments(source, filename, opts) { source = typeof source === 'string' ? source : '(' + source.toString() + ')'; diff --git a/package.json b/package.json index be4b9a89f..32115900e 100644 --- a/package.json +++ b/package.json @@ -45,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", @@ -52,8 +53,8 @@ "parse-filepath": "^1.0.2", "pify": "^5.0.0", "read-pkg-up": "^4.0.0", - "remark": "^12.0.0", - "remark-html": "^12.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", 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/output/markdown_ast.js b/src/output/markdown_ast.js index ce97ffe8b..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( @@ -228,7 +228,7 @@ function buildMarkdownAST(comments, config) { sees.length > 0 && u( 'list', - { ordered: false }, + { ordered: false, spread: false }, sees.map(see => u('listItem', [ u( @@ -283,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 666661952..000000000 --- a/src/parse_markdown.js +++ /dev/null @@ -1,18 +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({ plugins: [inlineTokenizer], settings: { position: false } }) - .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 7f8b150be..7c1abccbd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2174,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.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" @@ -2678,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" @@ -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" @@ -3897,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== @@ -3944,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" @@ -4239,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" @@ -5141,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== @@ -5215,31 +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@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-2.0.0.tgz#194a90ced26d31fe753d8b9434430214c011865b" - integrity sha512-Ezda85ToJUBhM6WGaG6veasyym+Tbs3cMAw/ZhOPqXiYsr0jgocBV3j3nx+4lk47plLlIqjwuTm/ywVI+zjJ/A== +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: - repeat-string "^1.0.0" + unist-util-visit "^2.0.0" -mdast-util-compact@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/mdast-util-compact/-/mdast-util-compact-2.0.1.tgz#cabc69a2f43103628326f35b1acf735d55c99490" - integrity sha512-7GlnT24gEwDrdAwEHrU4Vv5lLWrEer4KOkAiKT9nYstsTad7Oc1TwqT2zIMKRdZF7cTuaf+GA1E4Kv7jJh8mPA== +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: - unist-util-visit "^2.0.0" + escape-string-regexp "^4.0.0" + unist-util-is "^4.0.0" + unist-util-visit-parents "^3.0.0" -mdast-util-definitions@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/mdast-util-definitions/-/mdast-util-definitions-3.0.1.tgz#06af6c49865fc63d6d7d30125569e2f7ae3d0a86" - integrity sha512-BAv2iUm/e6IK/b2/t+Fx69EL/AGcq/IG2S+HxHjDJGfLJtd6i9SZUS76aC9cig+IEucsqxKTR0ot3m933R3iuA== +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: - unist-util-visit "^2.0.0" + "@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" @@ -5248,20 +5241,32 @@ mdast-util-inject@^1.1.0: dependencies: mdast-util-to-string "^1.0.0" -mdast-util-to-hast@^9.0.0: - version "9.1.2" - resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-9.1.2.tgz#10fa5ed9d45bf3755891e5801d0f32e2584a9423" - integrity sha512-OpkFLBC2VnNAb2FNKcKWu9FMbJhQKog+FCT8nuKmQNIKXyT1n3SIskE7uWDep6x+cA20QXlK5AETHQtYmQmxtQ== +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 "^3.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 "^2.0.0" +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" @@ -5360,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" @@ -6432,37 +6445,21 @@ regjsparser@^0.6.4: dependencies: jsesc "~0.5.0" -remark-html@^12.0.0: - version "12.0.0" - resolved "https://registry.yarnpkg.com/remark-html/-/remark-html-12.0.0.tgz#f39d2a5e173cce777981cb4171b4ea860313d72a" - integrity sha512-M104NMHs48+uswChJkCDXCdabzxAinpHikpt6kS3gmGMyIvPZ5kn53tB9shFsL2O4HUJ9DIEsah1SX1Ve5FXHA== +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 "^3.0.0" hast-util-to-html "^7.0.0" - mdast-util-to-hast "^9.0.0" - xtend "^4.0.1" + mdast-util-to-hast "^10.0.0" -remark-parse@^8.0.0: - version "8.0.3" - resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-8.0.3.tgz#9c62aa3b35b79a486454c690472906075f40c7e1" - integrity sha512-E1K9+QLGgggHxCQtLt++uXltxEprmWzNfg+MxpfHsZlrddKzZ/hZyWHDbK3/Ap8HJQqYJRXP+jHczdL6q6i85Q== +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: - ccount "^1.0.0" - 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 "^2.0.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 "^2.0.0" - vfile-location "^3.0.0" - xtend "^4.0.1" + mdast-util-from-markdown "^0.8.0" remark-reference-links@^5.0.0: version "5.0.0" @@ -6471,25 +6468,12 @@ remark-reference-links@^5.0.0: dependencies: unist-util-visit "^2.0.0" -remark-stringify@^8.0.0: - version "8.1.1" - resolved "https://registry.yarnpkg.com/remark-stringify/-/remark-stringify-8.1.1.tgz#e2a9dc7a7bf44e46a155ec78996db896780d8ce5" - integrity sha512-q4EyPZT3PcA3Eq7vPpT6bIdokXzFGp9i85igjmhRyXWmPs0Y6/d2FYwUNotKAWyLch7g0ASZJn/KHHcHZQ163A== +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: - 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 "^2.0.0" - mdast-util-compact "^2.0.0" - parse-entities "^2.0.0" - repeat-string "^1.5.4" - state-toggle "^1.0.0" - stringify-entities "^3.0.0" - unherit "^1.0.4" - xtend "^4.0.1" + mdast-util-to-markdown "^0.6.0" remark-toc@^7.2.0: version "7.2.0" @@ -6499,14 +6483,14 @@ remark-toc@^7.2.0: "@types/unist" "^2.0.3" mdast-util-toc "^5.0.0" -remark@^12.0.0: - version "12.0.1" - resolved "https://registry.yarnpkg.com/remark/-/remark-12.0.1.tgz#f1ddf68db7be71ca2bad0a33cd3678b86b9c709f" - integrity sha512-gS7HDonkdIaHmmP/+shCPejCEEW+liMp/t/QwmF0Xt47Rpuhl32lLtDV1uKWvGoq+kxr5jSgg5oAIpGuyULjUw== +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 "^8.0.0" - remark-stringify "^8.0.0" - unified "^9.0.0" + remark-parse "^9.0.0" + remark-stringify "^9.0.0" + unified "^9.1.0" remove-bom-buffer@^3.0.0: version "3.0.0" @@ -6535,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.0.0, 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= @@ -7066,11 +7050,6 @@ standard-version@^9.2.0: stringify-package "^1.0.1" yargs "^16.0.0" -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== - static-extend@^0.1.1: version "0.1.2" resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" @@ -7167,7 +7146,7 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -stringify-entities@^3.0.0, stringify-entities@^3.0.1: +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== @@ -7513,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" @@ -7616,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" @@ -7647,7 +7608,7 @@ 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@^9.0.0: +unified@^9.1.0: version "9.2.1" resolved "https://registry.yarnpkg.com/unified/-/unified-9.2.1.tgz#ae18d5674c114021bfdbdf73865ca60f410215a3" integrity sha512-juWjuI8Z4xFg8pJbnEZ41b5xjGUWGHqXALmBZ3FC3WX0PIx1CZBIIJ6mXbYMcf6Yw4Fi0rFUTA1cdz/BglbOhA== @@ -7697,13 +7658,6 @@ unist-util-position@^3.0.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@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/unist-util-remove-position/-/unist-util-remove-position-2.0.1.tgz#5d19ca79fdba712301999b2b73553ca8f3b352cc" - integrity sha512-fDZsLYIe2uT+oGFnuZmy73K6ZxOPG/Qcm+w7jbEjaFcJgbQ6cqjs/eSPzXhsmGpAsWPkqZM9pYjww5QTn3LHMA== - dependencies: - unist-util-visit "^2.0.0" - 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" @@ -7814,11 +7768,6 @@ verror@1.10.0: core-util-is "1.0.2" extsprintf "^1.2.0" -vfile-location@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/vfile-location/-/vfile-location-3.2.0.tgz#d8e41fbcbd406063669ebf6c33d56ae8721d0f3c" - integrity sha512-aLEIZKv/oxuCDZ8lkJGhuhztf/BW4M+iHdCwglA/eWc+vtuRFJj8EtgceYFX4LRjOhCAAiNHsKGssC6onJ+jbA== - vfile-message@^2.0.0: version "2.0.4" resolved "https://registry.yarnpkg.com/vfile-message/-/vfile-message-2.0.4.tgz#5b43b88171d409eae58477d13f23dd41d52c371a" @@ -8067,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== @@ -8144,3 +8093,8 @@ 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== From bc4f51031b81ab4a787f73b8d54cecec98a3d51e Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Tue, 20 Apr 2021 13:25:52 -0700 Subject: [PATCH 8/8] chore(release): 13.2.2 --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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/package.json b/package.json index 32115900e..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": {