From 5b3a9d30dc60986d3ad63f1a2de063826aed7764 Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Sat, 19 Mar 2016 17:31:07 -0400 Subject: [PATCH] Dependency update (except for remote-origin-url which breaks when you update, update changelog --- CHANGELOG.md | 17 + lib/output/markdown_ast.js | 2 +- package.json | 14 +- test/fixture/alias.output.md.json | 14 +- test/fixture/class.output.md.json | 88 +++-- test/fixture/empty-example.output.md.json | 12 +- test/fixture/es6-import.output.md.json | 274 ++++++++++----- test/fixture/es6.output.md.json | 249 ++++++++----- test/fixture/event.output.md.json | 37 +- test/fixture/example-caption.output.md.json | 25 +- test/fixture/external.output.md.json | 24 +- test/fixture/factory.output.md.json | 36 +- test/fixture/flow-types.output.md.json | 91 +++-- test/fixture/inheritance.output.md.json | 12 +- test/fixture/inline-link.output.md.json | 88 +++-- test/fixture/internal.output.md.json | 24 +- test/fixture/memberedclass.output.md.json | 75 ++-- .../fixture/merge-infered-type.output.md.json | 50 ++- test/fixture/meta.output.md.json | 12 +- test/fixture/multiexample.output.md.json | 51 ++- test/fixture/multisignature.output.md.json | 63 ++-- test/fixture/nearby_params.output.md.json | 101 ++++-- test/fixture/nest_params.output.md.json | 108 ++++-- .../newline-in-description.output.md.json | 25 +- test/fixture/no-name.output.md.json | 13 +- test/fixture/params.output.md.json | 330 ++++++++++++------ test/fixture/react-jsx.output.md.json | 12 +- test/fixture/rename.output.md.json | 12 +- test/fixture/simple-hashbang.output.md.json | 25 +- test/fixture/simple-two.output.md.json | 38 +- test/fixture/simple.output.md.json | 25 +- test/fixture/throws.output.md.json | 51 ++- test/fixture/trailing-only.output.md.json | 25 +- test/fixture/trailing.output.md.json | 62 ++-- test/fixture/type_application.output.md.json | 26 +- test/fixture/typedef.output.md.json | 38 +- 36 files changed, 1473 insertions(+), 676 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ea763a1d..2c65342f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +## 4.0.0-beta1 + +**Now using Babel 6!** + +Much long-awaited upgrade makes documentation.js compatible with fresh +new Babel-using codebases. + +And also: + +* GitHub Enterprise support +* New tag support: abstract, override, readonly, interface, variation, see, todo + (only in parsing phase, not yet in all outputs) +* Parses jsx and es6 extensions by default, as well as .js +* Fixes polyglot mode +* Now shows the `@throws` tag content in Markdown output +* Support for example captions + ## 4.0.0-beta **Revitalized documentation.js command line interface!** diff --git a/lib/output/markdown_ast.js b/lib/output/markdown_ast.js index 97abc8148..815c0f20f 100644 --- a/lib/output/markdown_ast.js +++ b/lib/output/markdown_ast.js @@ -131,7 +131,7 @@ function commentsToAST(comments, opts, callback) { return comment.context.github && u('paragraph', [ u('link', { title: 'Source code on GitHub', - href: comment.context.github + url: comment.context.github }, [u('text', comment.context.path + ':' + comment.context.loc.start.line + '-' + comment.context.loc.end.line)]) diff --git a/package.json b/package.json index 6361fd027..2878705ab 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "disparity": "^2.0.0", "doctrine": "^1.1.0", "documentation-theme-default": "3.0.0-beta", - "documentation-theme-utils": "^1.2.1", + "documentation-theme-utils": "^2.0.2", "events": "^1.1.0", "extend": "^3.0.0", "get-comments": "^1.0.1", @@ -36,11 +36,11 @@ "mime": "^1.3.4", "module-deps": "^4.0.2", "parse-filepath": "^0.6.3", - "remark": "^3.0.0", - "remark-toc": "^2.0.0", - "remote-origin-url": "^0.4.0", + "remark": "^4.1.2", + "remark-toc": "^3.0.0", + "remote-origin-url": "0.4.0", "resolve": "^1.1.6", - "slugg": "^0.1.2", + "slugg": "^1.0.0", "stream-array": "^1.1.0", "strip-json-comments": "^2.0.0", "tiny-lr": "^0.2.1", @@ -50,14 +50,14 @@ "vfile-sort": "^1.0.0", "vinyl": "^1.1.0", "vinyl-fs": "^2.3.1", - "yargs": "^3.31.0" + "yargs": "^4.3.1" }, "devDependencies": { "chdir": "0.0.0", "eslint": "^2.0.0", "fs-extra": "^0.26.2", "glob": "^7.0.0", - "lodash": "~4.3.0", + "lodash": "^4.3.0", "mock-fs": "^3.5.0", "tap": "^5.4.4", "tmp": "0.0.28" diff --git a/test/fixture/alias.output.md.json b/test/fixture/alias.output.md.json index 6e74cc20b..8e8c222bc 100644 --- a/test/fixture/alias.output.md.json +++ b/test/fixture/alias.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 2, - "column": 58 + "column": 58, + "offset": 110 }, "indent": [ 1 @@ -35,11 +37,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 2, - "column": 58 + "column": 58, + "offset": 110 }, "indent": [ 1 @@ -78,6 +82,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -110,6 +115,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { diff --git a/test/fixture/class.output.md.json b/test/fixture/class.output.md.json index f0082ae3f..e48169e2e 100644 --- a/test/fixture/class.output.md.json +++ b/test/fixture/class.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 32 + "column": 32, + "offset": 31 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 32 + "column": 32, + "offset": 31 }, "indent": [] } @@ -74,6 +78,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -97,11 +102,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 28 + "column": 28, + "offset": 27 }, "indent": [] } @@ -110,11 +117,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 28 + "column": 28, + "offset": 27 }, "indent": [] } @@ -144,11 +153,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 18 + "column": 18, + "offset": 17 }, "indent": [] } @@ -157,11 +168,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 18 + "column": 18, + "offset": 17 }, "indent": [] } @@ -198,6 +211,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", "type": "link", "children": [ { @@ -221,11 +235,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 26 + "column": 26, + "offset": 25 }, "indent": [] } @@ -234,11 +250,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 26 + "column": 26, + "offset": 25 }, "indent": [] } @@ -261,6 +279,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -284,11 +303,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -297,11 +318,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -327,11 +350,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 14 + "column": 14, + "offset": 13 }, "indent": [] } @@ -340,11 +365,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 14 + "column": 14, + "offset": 13 }, "indent": [] } @@ -361,6 +388,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", "type": "link", "children": [ { @@ -384,11 +412,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 26 + "column": 26, + "offset": 25 }, "indent": [] } @@ -397,11 +427,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 26 + "column": 26, + "offset": 25 }, "indent": [] } diff --git a/test/fixture/empty-example.output.md.json b/test/fixture/empty-example.output.md.json index 08b4df5b5..5c02b427b 100644 --- a/test/fixture/empty-example.output.md.json +++ b/test/fixture/empty-example.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 43 + "column": 43, + "offset": 42 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 43 + "column": 43, + "offset": 42 }, "indent": [] } diff --git a/test/fixture/es6-import.output.md.json b/test/fixture/es6-import.output.md.json index 51d60e432..da5a2d4ce 100644 --- a/test/fixture/es6-import.output.md.json +++ b/test/fixture/es6-import.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 15 + "column": 15, + "offset": 14 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 15 + "column": 15, + "offset": 14 }, "indent": [] } @@ -61,11 +65,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 2, - "column": 15 + "column": 15, + "offset": 63 }, "indent": [ 1 @@ -76,11 +82,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 2, - "column": 15 + "column": 15, + "offset": 63 }, "indent": [ 1 @@ -129,6 +137,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -152,11 +161,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 24 + "column": 24, + "offset": 23 }, "indent": [] } @@ -165,11 +176,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 24 + "column": 24, + "offset": 23 }, "indent": [] } @@ -197,6 +210,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -220,11 +234,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 23 + "column": 23, + "offset": 22 }, "indent": [] } @@ -233,11 +249,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 23 + "column": 23, + "offset": 22 }, "indent": [] } @@ -267,11 +285,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 12 + "column": 12, + "offset": 11 }, "indent": [] } @@ -280,11 +300,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 12 + "column": 12, + "offset": 11 }, "indent": [] } @@ -308,11 +330,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 23 + "column": 23, + "offset": 22 }, "indent": [] } @@ -321,11 +345,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 23 + "column": 23, + "offset": 22 }, "indent": [] } @@ -349,11 +375,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 42 + "column": 42, + "offset": 41 }, "indent": [] } @@ -362,11 +390,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 42 + "column": 42, + "offset": 41 }, "indent": [] } @@ -403,6 +433,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "type": "link", "children": [ { @@ -574,11 +605,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 27 + "column": 27, + "offset": 26 }, "indent": [] } @@ -587,11 +620,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 27 + "column": 27, + "offset": 26 }, "indent": [] } @@ -628,6 +663,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", "type": "link", "children": [ { @@ -739,11 +775,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -752,11 +790,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -773,6 +813,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -796,11 +837,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -809,11 +852,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -839,11 +884,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 24 + "column": 24, + "offset": 23 }, "indent": [] } @@ -852,11 +899,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 24 + "column": 24, + "offset": 23 }, "indent": [] } @@ -880,11 +929,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 32 + "column": 32, + "offset": 31 }, "indent": [] } @@ -893,11 +944,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 32 + "column": 32, + "offset": 31 }, "indent": [] } @@ -967,11 +1020,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 29 + "column": 29, + "offset": 28 }, "indent": [] } @@ -980,11 +1035,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 29 + "column": 29, + "offset": 28 }, "indent": [] } @@ -1025,6 +1082,7 @@ }, { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -1064,11 +1122,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 21 + "column": 21, + "offset": 20 }, "indent": [] } @@ -1077,11 +1137,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 21 + "column": 21, + "offset": 20 }, "indent": [] } @@ -1105,11 +1167,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 18 + "column": 18, + "offset": 17 }, "indent": [] } @@ -1118,11 +1182,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 18 + "column": 18, + "offset": 17 }, "indent": [] } @@ -1146,11 +1212,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -1159,11 +1227,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -1200,6 +1270,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", "type": "link", "children": [ { @@ -1214,6 +1285,7 @@ }, { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -1241,11 +1313,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 20 + "column": 20, + "offset": 19 }, "indent": [] } @@ -1254,11 +1328,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 20 + "column": 20, + "offset": 19 }, "indent": [] } @@ -1303,6 +1379,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -1326,11 +1403,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -1339,11 +1418,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -1369,11 +1450,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -1382,11 +1465,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -1440,6 +1525,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -1463,11 +1549,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -1476,11 +1564,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -1506,11 +1596,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 32 + "column": 32, + "offset": 31 }, "indent": [] } @@ -1519,11 +1611,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 32 + "column": 32, + "offset": 31 }, "indent": [] } @@ -1547,11 +1641,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 53 + "column": 53, + "offset": 52 }, "indent": [] } @@ -1560,11 +1656,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 53 + "column": 53, + "offset": 52 }, "indent": [] } diff --git a/test/fixture/es6.output.md.json b/test/fixture/es6.output.md.json index 5a0895b31..6288993a0 100644 --- a/test/fixture/es6.output.md.json +++ b/test/fixture/es6.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 15 + "column": 15, + "offset": 14 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 15 + "column": 15, + "offset": 14 }, "indent": [] } @@ -61,11 +65,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 2, - "column": 15 + "column": 15, + "offset": 63 }, "indent": [ 1 @@ -76,11 +82,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 2, - "column": 15 + "column": 15, + "offset": 63 }, "indent": [ 1 @@ -129,6 +137,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -152,11 +161,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 24 + "column": 24, + "offset": 23 }, "indent": [] } @@ -165,11 +176,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 24 + "column": 24, + "offset": 23 }, "indent": [] } @@ -197,6 +210,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -220,11 +234,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 23 + "column": 23, + "offset": 22 }, "indent": [] } @@ -233,11 +249,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 23 + "column": 23, + "offset": 22 }, "indent": [] } @@ -267,11 +285,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 12 + "column": 12, + "offset": 11 }, "indent": [] } @@ -280,11 +300,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 12 + "column": 12, + "offset": 11 }, "indent": [] } @@ -308,11 +330,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 23 + "column": 23, + "offset": 22 }, "indent": [] } @@ -321,11 +345,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 23 + "column": 23, + "offset": 22 }, "indent": [] } @@ -349,11 +375,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 42 + "column": 42, + "offset": 41 }, "indent": [] } @@ -362,11 +390,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 42 + "column": 42, + "offset": 41 }, "indent": [] } @@ -403,6 +433,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "type": "link", "children": [ { @@ -574,11 +605,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 27 + "column": 27, + "offset": 26 }, "indent": [] } @@ -587,11 +620,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 27 + "column": 27, + "offset": 26 }, "indent": [] } @@ -628,6 +663,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", "type": "link", "children": [ { @@ -739,11 +775,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -752,11 +790,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -773,6 +813,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -796,11 +837,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -809,11 +852,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -839,11 +884,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 24 + "column": 24, + "offset": 23 }, "indent": [] } @@ -852,11 +899,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 24 + "column": 24, + "offset": 23 }, "indent": [] } @@ -880,11 +929,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 32 + "column": 32, + "offset": 31 }, "indent": [] } @@ -893,11 +944,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 32 + "column": 32, + "offset": 31 }, "indent": [] } @@ -967,11 +1020,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 29 + "column": 29, + "offset": 28 }, "indent": [] } @@ -980,11 +1035,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 29 + "column": 29, + "offset": 28 }, "indent": [] } @@ -1025,6 +1082,7 @@ }, { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -1064,11 +1122,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 21 + "column": 21, + "offset": 20 }, "indent": [] } @@ -1077,11 +1137,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 21 + "column": 21, + "offset": 20 }, "indent": [] } @@ -1105,11 +1167,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 18 + "column": 18, + "offset": 17 }, "indent": [] } @@ -1118,11 +1182,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 18 + "column": 18, + "offset": 17 }, "indent": [] } @@ -1146,11 +1212,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -1159,11 +1227,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -1200,6 +1270,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", "type": "link", "children": [ { @@ -1214,6 +1285,7 @@ }, { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -1241,11 +1313,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 20 + "column": 20, + "offset": 19 }, "indent": [] } @@ -1254,11 +1328,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 20 + "column": 20, + "offset": 19 }, "indent": [] } @@ -1303,6 +1379,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -1326,11 +1403,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -1339,11 +1418,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -1369,11 +1450,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 32 + "column": 32, + "offset": 31 }, "indent": [] } @@ -1382,11 +1465,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 32 + "column": 32, + "offset": 31 }, "indent": [] } @@ -1410,11 +1495,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 53 + "column": 53, + "offset": 52 }, "indent": [] } @@ -1423,11 +1510,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 53 + "column": 53, + "offset": 52 }, "indent": [] } diff --git a/test/fixture/event.output.md.json b/test/fixture/event.output.md.json index 98eee0949..4cf99e53d 100644 --- a/test/fixture/event.output.md.json +++ b/test/fixture/event.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 12 + "column": 12, + "offset": 11 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 12 + "column": 12, + "offset": 11 }, "indent": [] } @@ -91,11 +95,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 32 + "column": 32, + "offset": 31 }, "indent": [] } @@ -104,11 +110,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 32 + "column": 32, + "offset": 31 }, "indent": [] } @@ -136,6 +144,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/API/Event", + "url": "https://developer.mozilla.org/en-US/docs/Web/API/Event", "type": "link", "children": [ { @@ -159,11 +168,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 23 + "column": 23, + "offset": 22 }, "indent": [] } @@ -172,11 +183,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 23 + "column": 23, + "offset": 22 }, "indent": [] } diff --git a/test/fixture/example-caption.output.md.json b/test/fixture/example-caption.output.md.json index 4ecad0da9..cdc9bc4ca 100644 --- a/test/fixture/example-caption.output.md.json +++ b/test/fixture/example-caption.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -82,6 +86,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -105,11 +110,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -118,11 +125,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } diff --git a/test/fixture/external.output.md.json b/test/fixture/external.output.md.json index b0488877d..2724decc8 100644 --- a/test/fixture/external.output.md.json +++ b/test/fixture/external.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 9 + "column": 9, + "offset": 8 }, "indent": [] } @@ -35,11 +37,13 @@ "position": { "start": { "line": 1, - "column": 9 + "column": 9, + "offset": 8 }, "end": { "line": 1, - "column": 28 + "column": 28, + "offset": 27 }, "indent": [] } @@ -50,11 +54,13 @@ "position": { "start": { "line": 1, - "column": 28 + "column": 28, + "offset": 27 }, "end": { "line": 1, - "column": 29 + "column": 29, + "offset": 28 }, "indent": [] } @@ -63,11 +69,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 29 + "column": 29, + "offset": 28 }, "indent": [] } diff --git a/test/fixture/factory.output.md.json b/test/fixture/factory.output.md.json index e33413632..bcd9b6a55 100644 --- a/test/fixture/factory.output.md.json +++ b/test/fixture/factory.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 24 + "column": 24, + "offset": 23 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 24 + "column": 24, + "offset": 23 }, "indent": [] } @@ -71,11 +75,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 6 + "column": 6, + "offset": 5 }, "indent": [] } @@ -84,11 +90,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 6 + "column": 6, + "offset": 5 }, "indent": [] } @@ -161,11 +169,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 21 + "column": 21, + "offset": 20 }, "indent": [] } @@ -174,11 +184,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 21 + "column": 21, + "offset": 20 }, "indent": [] } diff --git a/test/fixture/flow-types.output.md.json b/test/fixture/flow-types.output.md.json index 1b3888229..fd159234c 100644 --- a/test/fixture/flow-types.output.md.json +++ b/test/fixture/flow-types.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -105,6 +109,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", "type": "link", "children": [ { @@ -142,6 +147,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", "type": "link", "children": [ { @@ -183,6 +189,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", "type": "link", "children": [ { @@ -197,6 +204,7 @@ }, { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -238,6 +246,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "type": "link", "children": [ { @@ -301,6 +310,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -336,11 +346,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 12 + "column": 12, + "offset": 11 }, "indent": [] } @@ -349,11 +361,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 12 + "column": 12, + "offset": 11 }, "indent": [] } @@ -390,6 +404,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -413,11 +428,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 15 + "column": 15, + "offset": 14 }, "indent": [] } @@ -426,11 +443,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 15 + "column": 15, + "offset": 14 }, "indent": [] } @@ -458,6 +477,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -495,6 +515,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "type": "link", "children": [ { @@ -534,6 +555,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", "type": "link", "children": [ { @@ -575,6 +597,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "type": "link", "children": [ { @@ -614,6 +637,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "type": "link", "children": [ { @@ -653,6 +677,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -700,11 +725,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -713,11 +740,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -741,11 +770,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 40 + "column": 40, + "offset": 39 }, "indent": [] } @@ -754,11 +785,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 40 + "column": 40, + "offset": 39 }, "indent": [] } @@ -795,6 +828,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -832,6 +866,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -871,11 +906,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 25 + "column": 25, + "offset": 24 }, "indent": [] } @@ -884,11 +921,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 25 + "column": 25, + "offset": 24 }, "indent": [] } @@ -925,6 +964,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", "type": "link", "children": [ { @@ -939,6 +979,7 @@ }, { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", "type": "link", "children": [ { @@ -980,6 +1021,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "type": "link", "children": [ { @@ -1033,6 +1075,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", "type": "link", "children": [ { diff --git a/test/fixture/inheritance.output.md.json b/test/fixture/inheritance.output.md.json index eaeb39762..6b3b0be95 100644 --- a/test/fixture/inheritance.output.md.json +++ b/test/fixture/inheritance.output.md.json @@ -66,11 +66,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 41 + "column": 41, + "offset": 40 }, "indent": [] } @@ -79,11 +81,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 41 + "column": 41, + "offset": 40 }, "indent": [] } diff --git a/test/fixture/inline-link.output.md.json b/test/fixture/inline-link.output.md.json index 536a5d759..18559fa17 100644 --- a/test/fixture/inline-link.output.md.json +++ b/test/fixture/inline-link.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 21 + "column": 21, + "offset": 20 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 21 + "column": 21, + "offset": 20 }, "indent": [] } @@ -74,6 +78,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -97,11 +102,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -110,11 +117,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -137,6 +146,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -160,11 +170,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 11 + "column": 11, + "offset": 10 }, "indent": [] } @@ -173,11 +185,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 11 + "column": 11, + "offset": 10 }, "indent": [] } @@ -203,11 +217,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 2, - "column": 1 + "column": 1, + "offset": 60 }, "indent": [ 1 @@ -220,11 +236,13 @@ "position": { "start": { "line": 2, - "column": 1 + "column": 1, + "offset": 60 }, "end": { "line": 2, - "column": 9 + "column": 9, + "offset": 68 }, "indent": [] } @@ -235,11 +253,13 @@ "position": { "start": { "line": 2, - "column": 9 + "column": 9, + "offset": 68 }, "end": { "line": 2, - "column": 25 + "column": 25, + "offset": 84 }, "indent": [] } @@ -248,11 +268,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 2, - "column": 25 + "column": 25, + "offset": 84 }, "indent": [ 1 @@ -291,6 +313,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -314,11 +337,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -327,11 +352,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -354,6 +381,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -377,11 +405,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -390,11 +420,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } diff --git a/test/fixture/internal.output.md.json b/test/fixture/internal.output.md.json index b0488877d..2724decc8 100644 --- a/test/fixture/internal.output.md.json +++ b/test/fixture/internal.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 9 + "column": 9, + "offset": 8 }, "indent": [] } @@ -35,11 +37,13 @@ "position": { "start": { "line": 1, - "column": 9 + "column": 9, + "offset": 8 }, "end": { "line": 1, - "column": 28 + "column": 28, + "offset": 27 }, "indent": [] } @@ -50,11 +54,13 @@ "position": { "start": { "line": 1, - "column": 28 + "column": 28, + "offset": 27 }, "end": { "line": 1, - "column": 29 + "column": 29, + "offset": 28 }, "indent": [] } @@ -63,11 +69,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 29 + "column": 29, + "offset": 28 }, "indent": [] } diff --git a/test/fixture/memberedclass.output.md.json b/test/fixture/memberedclass.output.md.json index 44dbe329f..36e796f88 100644 --- a/test/fixture/memberedclass.output.md.json +++ b/test/fixture/memberedclass.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 32 + "column": 32, + "offset": 31 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 32 + "column": 32, + "offset": 31 }, "indent": [] } @@ -61,11 +65,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 18 + "column": 18, + "offset": 17 }, "indent": [] } @@ -74,11 +80,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 18 + "column": 18, + "offset": 17 }, "indent": [] } @@ -115,6 +123,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", "type": "link", "children": [ { @@ -138,11 +147,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 26 + "column": 26, + "offset": 25 }, "indent": [] } @@ -151,11 +162,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 26 + "column": 26, + "offset": 25 }, "indent": [] } @@ -178,6 +191,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -201,11 +215,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -214,11 +230,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -244,11 +262,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 14 + "column": 14, + "offset": 13 }, "indent": [] } @@ -257,11 +277,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 14 + "column": 14, + "offset": 13 }, "indent": [] } @@ -278,6 +300,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", "type": "link", "children": [ { @@ -301,11 +324,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 26 + "column": 26, + "offset": 25 }, "indent": [] } @@ -314,11 +339,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 26 + "column": 26, + "offset": 25 }, "indent": [] } diff --git a/test/fixture/merge-infered-type.output.md.json b/test/fixture/merge-infered-type.output.md.json index 22d8a63cd..924996ec2 100644 --- a/test/fixture/merge-infered-type.output.md.json +++ b/test/fixture/merge-infered-type.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 13 + "column": 13, + "offset": 12 }, "indent": [] } @@ -35,11 +37,13 @@ "position": { "start": { "line": 1, - "column": 13 + "column": 13, + "offset": 12 }, "end": { "line": 1, - "column": 16 + "column": 16, + "offset": 15 }, "indent": [] } @@ -50,11 +54,13 @@ "position": { "start": { "line": 1, - "column": 16 + "column": 16, + "offset": 15 }, "end": { "line": 1, - "column": 17 + "column": 17, + "offset": 16 }, "indent": [] } @@ -63,11 +69,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 17 + "column": 17, + "offset": 16 }, "indent": [] } @@ -104,6 +112,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -127,11 +136,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 27 + "column": 27, + "offset": 26 }, "indent": [] } @@ -140,11 +151,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 27 + "column": 27, + "offset": 26 }, "indent": [] } @@ -167,6 +180,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -190,11 +204,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 13 + "column": 13, + "offset": 12 }, "indent": [] } @@ -203,11 +219,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 13 + "column": 13, + "offset": 12 }, "indent": [] } diff --git a/test/fixture/meta.output.md.json b/test/fixture/meta.output.md.json index 1898c4497..e1ef8e14a 100644 --- a/test/fixture/meta.output.md.json +++ b/test/fixture/meta.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 36 + "column": 36, + "offset": 35 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 36 + "column": 36, + "offset": 35 }, "indent": [] } diff --git a/test/fixture/multiexample.output.md.json b/test/fixture/multiexample.output.md.json index ebb6b80b8..dd8e56ab0 100644 --- a/test/fixture/multiexample.output.md.json +++ b/test/fixture/multiexample.output.md.json @@ -38,11 +38,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -51,11 +53,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -98,6 +102,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", "type": "link", "children": [ { @@ -121,11 +126,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 25 + "column": 25, + "offset": 24 }, "indent": [] } @@ -134,11 +141,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 25 + "column": 25, + "offset": 24 }, "indent": [] } @@ -162,6 +171,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", "type": "link", "children": [ { @@ -185,11 +195,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 30 + "column": 30, + "offset": 29 }, "indent": [] } @@ -198,11 +210,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 30 + "column": 30, + "offset": 29 }, "indent": [] } @@ -225,6 +239,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -248,11 +263,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -261,11 +278,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } diff --git a/test/fixture/multisignature.output.md.json b/test/fixture/multisignature.output.md.json index 50819c26e..c566d8031 100644 --- a/test/fixture/multisignature.output.md.json +++ b/test/fixture/multisignature.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 13 + "column": 13, + "offset": 12 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 13 + "column": 13, + "offset": 12 }, "indent": [] } @@ -91,6 +95,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", "type": "link", "children": [ { @@ -114,11 +119,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 17 + "column": 17, + "offset": 16 }, "indent": [] } @@ -127,11 +134,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 17 + "column": 17, + "offset": 16 }, "indent": [] } @@ -157,11 +166,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 13 + "column": 13, + "offset": 12 }, "indent": [] } @@ -170,11 +181,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 13 + "column": 13, + "offset": 12 }, "indent": [] } @@ -211,6 +224,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", "type": "link", "children": [ { @@ -234,11 +248,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 17 + "column": 17, + "offset": 16 }, "indent": [] } @@ -247,11 +263,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 17 + "column": 17, + "offset": 16 }, "indent": [] } @@ -274,6 +292,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", "type": "link", "children": [ { @@ -297,11 +316,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 8 + "column": 8, + "offset": 7 }, "indent": [] } @@ -310,11 +331,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 8 + "column": 8, + "offset": 7 }, "indent": [] } diff --git a/test/fixture/nearby_params.output.md.json b/test/fixture/nearby_params.output.md.json index 0ba90187f..85989eb7f 100644 --- a/test/fixture/nearby_params.output.md.json +++ b/test/fixture/nearby_params.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 73 + "column": 73, + "offset": 72 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 73 + "column": 73, + "offset": 72 }, "indent": [] } @@ -74,6 +78,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "type": "link", "children": [ { @@ -113,6 +118,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", "type": "link", "children": [ { @@ -136,11 +142,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 34 + "column": 34, + "offset": 33 }, "indent": [] } @@ -151,11 +159,13 @@ "position": { "start": { "line": 1, - "column": 34 + "column": 34, + "offset": 33 }, "end": { "line": 1, - "column": 44 + "column": 44, + "offset": 43 }, "indent": [] } @@ -166,11 +176,13 @@ "position": { "start": { "line": 1, - "column": 44 + "column": 44, + "offset": 43 }, "end": { "line": 1, - "column": 48 + "column": 48, + "offset": 47 }, "indent": [] } @@ -181,11 +193,13 @@ "position": { "start": { "line": 1, - "column": 48 + "column": 48, + "offset": 47 }, "end": { "line": 1, - "column": 55 + "column": 55, + "offset": 54 }, "indent": [] } @@ -196,11 +210,13 @@ "position": { "start": { "line": 1, - "column": 55 + "column": 55, + "offset": 54 }, "end": { "line": 1, - "column": 56 + "column": 56, + "offset": 55 }, "indent": [] } @@ -209,11 +225,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 56 + "column": 56, + "offset": 55 }, "indent": [] } @@ -241,6 +259,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", "type": "link", "children": [ { @@ -264,11 +283,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 15 + "column": 15, + "offset": 14 }, "indent": [] } @@ -277,11 +298,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 15 + "column": 15, + "offset": 14 }, "indent": [] } @@ -313,6 +336,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function", "type": "link", "children": [ { @@ -340,11 +364,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 13 + "column": 13, + "offset": 12 }, "indent": [] } @@ -355,11 +381,13 @@ "position": { "start": { "line": 1, - "column": 13 + "column": 13, + "offset": 12 }, "end": { "line": 1, - "column": 41 + "column": 41, + "offset": 40 }, "indent": [] } @@ -370,11 +398,13 @@ "position": { "start": { "line": 1, - "column": 41 + "column": 41, + "offset": 40 }, "end": { "line": 1, - "column": 42 + "column": 42, + "offset": 41 }, "indent": [] } @@ -383,11 +413,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 42 + "column": 42, + "offset": 41 }, "indent": [] } @@ -410,6 +442,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", "type": "link", "children": [ { @@ -433,11 +466,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 58 + "column": 58, + "offset": 57 }, "indent": [] } @@ -446,11 +481,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 58 + "column": 58, + "offset": 57 }, "indent": [] } diff --git a/test/fixture/nest_params.output.md.json b/test/fixture/nest_params.output.md.json index 9ef2b1914..67683189d 100644 --- a/test/fixture/nest_params.output.md.json +++ b/test/fixture/nest_params.output.md.json @@ -43,6 +43,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", "type": "link", "children": [ { @@ -57,6 +58,7 @@ }, { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "type": "link", "children": [ { @@ -84,11 +86,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 51 + "column": 51, + "offset": 50 }, "indent": [] } @@ -97,11 +101,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 51 + "column": 51, + "offset": 50 }, "indent": [] } @@ -131,6 +137,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", "type": "link", "children": [ { @@ -154,11 +161,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 25 + "column": 25, + "offset": 24 }, "indent": [] } @@ -167,11 +176,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 25 + "column": 25, + "offset": 24 }, "indent": [] } @@ -199,6 +210,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", "type": "link", "children": [ { @@ -222,11 +234,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 27 + "column": 27, + "offset": 26 }, "indent": [] } @@ -235,11 +249,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 27 + "column": 27, + "offset": 26 }, "indent": [] } @@ -318,6 +334,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "type": "link", "children": [ { @@ -341,11 +358,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 13 + "column": 13, + "offset": 12 }, "indent": [] } @@ -354,11 +373,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 13 + "column": 13, + "offset": 12 }, "indent": [] } @@ -388,6 +409,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -411,11 +433,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 9 + "column": 9, + "offset": 8 }, "indent": [] } @@ -424,11 +448,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 9 + "column": 9, + "offset": 8 }, "indent": [] } @@ -460,6 +486,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -483,11 +510,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 15 + "column": 15, + "offset": 14 }, "indent": [] } @@ -496,11 +525,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 15 + "column": 15, + "offset": 14 }, "indent": [] } @@ -543,6 +574,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "type": "link", "children": [ { @@ -566,11 +598,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 17 + "column": 17, + "offset": 16 }, "indent": [] } @@ -579,11 +613,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 17 + "column": 17, + "offset": 16 }, "indent": [] } @@ -613,6 +649,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -650,6 +687,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -687,6 +725,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -723,6 +762,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "type": "link", "children": [ { @@ -746,11 +786,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 19 + "column": 19, + "offset": 18 }, "indent": [] } @@ -759,11 +801,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 19 + "column": 19, + "offset": 18 }, "indent": [] } diff --git a/test/fixture/newline-in-description.output.md.json b/test/fixture/newline-in-description.output.md.json index b92b89f5a..63372510c 100644 --- a/test/fixture/newline-in-description.output.md.json +++ b/test/fixture/newline-in-description.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 12 + "column": 12, + "offset": 11 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 12 + "column": 12, + "offset": 11 }, "indent": [] } @@ -74,6 +78,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -97,11 +102,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 3, - "column": 34 + "column": 34, + "offset": 132 }, "indent": [ 1, @@ -113,11 +120,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 3, - "column": 34 + "column": 34, + "offset": 132 }, "indent": [ 1, diff --git a/test/fixture/no-name.output.md.json b/test/fixture/no-name.output.md.json index 5d3cfd8cd..8ba0a8208 100644 --- a/test/fixture/no-name.output.md.json +++ b/test/fixture/no-name.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 13 + "column": 13, + "offset": 12 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 13 + "column": 13, + "offset": 12 }, "indent": [] } @@ -74,6 +78,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { diff --git a/test/fixture/params.output.md.json b/test/fixture/params.output.md.json index 8d358941a..cfe4ba54b 100644 --- a/test/fixture/params.output.md.json +++ b/test/fixture/params.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 27 + "column": 27, + "offset": 26 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 27 + "column": 27, + "offset": 26 }, "indent": [] } @@ -51,11 +55,13 @@ "position": { "start": { "line": 3, - "column": 1 + "column": 1, + "offset": 28 }, "end": { "line": 3, - "column": 47 + "column": 47, + "offset": 74 }, "indent": [] } @@ -64,11 +70,13 @@ "position": { "start": { "line": 3, - "column": 1 + "column": 1, + "offset": 28 }, "end": { "line": 3, - "column": 47 + "column": 47, + "offset": 74 }, "indent": [] } @@ -105,6 +113,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", "type": "link", "children": [ { @@ -128,11 +137,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 23 + "column": 23, + "offset": 22 }, "indent": [] } @@ -141,11 +152,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 23 + "column": 23, + "offset": 22 }, "indent": [] } @@ -173,6 +186,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -200,11 +214,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 25 + "column": 25, + "offset": 24 }, "indent": [] } @@ -213,11 +229,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 25 + "column": 25, + "offset": 24 }, "indent": [] } @@ -266,6 +284,7 @@ }, { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -289,11 +308,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 17 + "column": 17, + "offset": 16 }, "indent": [] } @@ -302,11 +323,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 17 + "column": 17, + "offset": 16 }, "indent": [] } @@ -334,6 +357,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", "type": "link", "children": [ { @@ -361,11 +385,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 22 + "column": 22, + "offset": 21 }, "indent": [] } @@ -374,11 +400,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 22 + "column": 22, + "offset": 21 }, "indent": [] } @@ -439,11 +467,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -452,11 +482,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -515,6 +547,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -538,11 +571,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 17 + "column": 17, + "offset": 16 }, "indent": [] } @@ -551,11 +586,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 17 + "column": 17, + "offset": 16 }, "indent": [] } @@ -605,6 +642,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "type": "link", "children": [ { @@ -716,11 +754,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 42 + "column": 42, + "offset": 41 }, "indent": [] } @@ -729,11 +769,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 42 + "column": 42, + "offset": 41 }, "indent": [] } @@ -770,6 +812,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "type": "link", "children": [ { @@ -809,6 +852,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", "type": "link", "children": [ { @@ -832,11 +876,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 24 + "column": 24, + "offset": 23 }, "indent": [] } @@ -845,11 +891,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 24 + "column": 24, + "offset": 23 }, "indent": [] } @@ -905,11 +953,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 28 + "column": 28, + "offset": 27 }, "indent": [] } @@ -918,11 +968,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 28 + "column": 28, + "offset": 27 }, "indent": [] } @@ -946,11 +998,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 11 + "column": 11, + "offset": 10 }, "indent": [] } @@ -959,11 +1013,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 11 + "column": 11, + "offset": 10 }, "indent": [] } @@ -1000,6 +1056,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -1023,11 +1080,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 16 + "column": 16, + "offset": 15 }, "indent": [] } @@ -1036,11 +1095,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 16 + "column": 16, + "offset": 15 }, "indent": [] } @@ -1070,11 +1131,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 2, - "column": 57 + "column": 57, + "offset": 125 }, "indent": [ 1 @@ -1085,11 +1148,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 2, - "column": 57 + "column": 57, + "offset": 125 }, "indent": [ 1 @@ -1136,11 +1201,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 23 + "column": 23, + "offset": 22 }, "indent": [] } @@ -1149,11 +1216,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 23 + "column": 23, + "offset": 22 }, "indent": [] } @@ -1183,11 +1252,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 62 + "column": 62, + "offset": 61 }, "indent": [] } @@ -1196,11 +1267,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 62 + "column": 62, + "offset": 61 }, "indent": [] } @@ -1214,11 +1287,13 @@ "position": { "start": { "line": 3, - "column": 1 + "column": 1, + "offset": 63 }, "end": { "line": 3, - "column": 44 + "column": 44, + "offset": 106 }, "indent": [] } @@ -1227,11 +1302,13 @@ "position": { "start": { "line": 3, - "column": 1 + "column": 1, + "offset": 63 }, "end": { "line": 3, - "column": 44 + "column": 44, + "offset": 106 }, "indent": [] } @@ -1268,6 +1345,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "type": "link", "children": [ { @@ -1295,11 +1373,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 17 + "column": 17, + "offset": 16 }, "indent": [] } @@ -1308,11 +1388,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 17 + "column": 17, + "offset": 16 }, "indent": [] } @@ -1346,6 +1428,7 @@ }, { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", "type": "link", "children": [ { @@ -1360,6 +1443,7 @@ }, { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", "type": "link", "children": [ { @@ -1387,11 +1471,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 2, - "column": 57 + "column": 57, + "offset": 92 }, "indent": [ 1 @@ -1402,11 +1488,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 2, - "column": 57 + "column": 57, + "offset": 92 }, "indent": [ 1 @@ -1436,6 +1524,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -1463,11 +1552,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 36 + "column": 36, + "offset": 35 }, "indent": [] } @@ -1476,11 +1567,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 36 + "column": 36, + "offset": 35 }, "indent": [] } @@ -1525,6 +1618,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -1552,11 +1646,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 26 + "column": 26, + "offset": 25 }, "indent": [] } @@ -1565,11 +1661,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 26 + "column": 26, + "offset": 25 }, "indent": [] } @@ -1597,6 +1695,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -1624,11 +1723,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 49 + "column": 49, + "offset": 48 }, "indent": [] } @@ -1637,11 +1738,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 49 + "column": 49, + "offset": 48 }, "indent": [] } @@ -1675,11 +1778,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 2, - "column": 26 + "column": 26, + "offset": 100 }, "indent": [ 1 @@ -1690,11 +1795,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 2, - "column": 26 + "column": 26, + "offset": 100 }, "indent": [ 1 @@ -1733,6 +1840,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -1756,11 +1864,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 12 + "column": 12, + "offset": 11 }, "indent": [] } @@ -1769,11 +1879,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 12 + "column": 12, + "offset": 11 }, "indent": [] } @@ -1796,6 +1908,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -1819,11 +1932,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 5 + "column": 5, + "offset": 4 }, "indent": [] } @@ -1832,11 +1947,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 5 + "column": 5, + "offset": 4 }, "indent": [] } @@ -1862,11 +1979,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 68 + "column": 68, + "offset": 67 }, "indent": [] } @@ -1875,11 +1994,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 68 + "column": 68, + "offset": 67 }, "indent": [] } @@ -1916,6 +2037,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { diff --git a/test/fixture/react-jsx.output.md.json b/test/fixture/react-jsx.output.md.json index ae38db3c2..78f4778c9 100644 --- a/test/fixture/react-jsx.output.md.json +++ b/test/fixture/react-jsx.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 7 + "column": 7, + "offset": 6 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 7 + "column": 7, + "offset": 6 }, "indent": [] } diff --git a/test/fixture/rename.output.md.json b/test/fixture/rename.output.md.json index f5debf3f8..58f7d82e6 100644 --- a/test/fixture/rename.output.md.json +++ b/test/fixture/rename.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } diff --git a/test/fixture/simple-hashbang.output.md.json b/test/fixture/simple-hashbang.output.md.json index 994db4410..5f70ccc7c 100644 --- a/test/fixture/simple-hashbang.output.md.json +++ b/test/fixture/simple-hashbang.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -54,6 +58,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -77,11 +82,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -90,11 +97,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } diff --git a/test/fixture/simple-two.output.md.json b/test/fixture/simple-two.output.md.json index 14ab2060a..f86abefda 100644 --- a/test/fixture/simple-two.output.md.json +++ b/test/fixture/simple-two.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 43 + "column": 43, + "offset": 42 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 43 + "column": 43, + "offset": 42 }, "indent": [] } @@ -74,6 +78,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -97,11 +102,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 11 + "column": 11, + "offset": 10 }, "indent": [] } @@ -110,11 +117,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 11 + "column": 11, + "offset": 10 }, "indent": [] } @@ -151,6 +160,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -174,11 +184,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -187,11 +199,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } diff --git a/test/fixture/simple.output.md.json b/test/fixture/simple.output.md.json index 7a7fd9c2a..071885f8d 100644 --- a/test/fixture/simple.output.md.json +++ b/test/fixture/simple.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 38 + "column": 38, + "offset": 37 }, "indent": [] } @@ -54,6 +58,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -77,11 +82,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -90,11 +97,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } diff --git a/test/fixture/throws.output.md.json b/test/fixture/throws.output.md.json index bd34f8922..3c9a681ee 100644 --- a/test/fixture/throws.output.md.json +++ b/test/fixture/throws.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 43 + "column": 43, + "offset": 42 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 43 + "column": 43, + "offset": 42 }, "indent": [] } @@ -74,6 +78,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -97,11 +102,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 11 + "column": 11, + "offset": 10 }, "indent": [] } @@ -110,11 +117,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 11 + "column": 11, + "offset": 10 }, "indent": [] } @@ -158,6 +167,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", "type": "link", "children": [ { @@ -181,11 +191,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 15 + "column": 15, + "offset": 14 }, "indent": [] } @@ -194,11 +206,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 15 + "column": 15, + "offset": 14 }, "indent": [] } @@ -221,6 +235,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -244,11 +259,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -257,11 +274,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } diff --git a/test/fixture/trailing-only.output.md.json b/test/fixture/trailing-only.output.md.json index 3e9c1a342..1f3a9aca1 100644 --- a/test/fixture/trailing-only.output.md.json +++ b/test/fixture/trailing-only.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 15 + "column": 15, + "offset": 14 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 15 + "column": 15, + "offset": 14 }, "indent": [] } @@ -54,6 +58,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -77,11 +82,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 8 + "column": 8, + "offset": 7 }, "indent": [] } @@ -90,11 +97,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 8 + "column": 8, + "offset": 7 }, "indent": [] } diff --git a/test/fixture/trailing.output.md.json b/test/fixture/trailing.output.md.json index ab2f91024..2dc7ac834 100644 --- a/test/fixture/trailing.output.md.json +++ b/test/fixture/trailing.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 4 + "column": 4, + "offset": 3 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 4 + "column": 4, + "offset": 3 }, "indent": [] } @@ -54,6 +58,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -77,11 +82,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -90,11 +97,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -120,11 +129,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 4 + "column": 4, + "offset": 3 }, "indent": [] } @@ -133,11 +144,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 4 + "column": 4, + "offset": 3 }, "indent": [] } @@ -154,6 +167,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -177,11 +191,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -190,11 +206,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 10 + "column": 10, + "offset": 9 }, "indent": [] } @@ -220,11 +238,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 15 + "column": 15, + "offset": 14 }, "indent": [] } @@ -233,11 +253,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 15 + "column": 15, + "offset": 14 }, "indent": [] } diff --git a/test/fixture/type_application.output.md.json b/test/fixture/type_application.output.md.json index 18d964e06..45d13ea86 100644 --- a/test/fixture/type_application.output.md.json +++ b/test/fixture/type_application.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 27 + "column": 27, + "offset": 26 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 27 + "column": 27, + "offset": 26 }, "indent": [] } @@ -74,6 +78,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", "type": "link", "children": [ { @@ -88,6 +93,7 @@ }, { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", "type": "link", "children": [ { @@ -115,11 +121,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 23 + "column": 23, + "offset": 22 }, "indent": [] } @@ -128,11 +136,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 23 + "column": 23, + "offset": 22 }, "indent": [] } diff --git a/test/fixture/typedef.output.md.json b/test/fixture/typedef.output.md.json index 7d6758a44..e84be1982 100644 --- a/test/fixture/typedef.output.md.json +++ b/test/fixture/typedef.output.md.json @@ -20,11 +20,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 19 + "column": 19, + "offset": 18 }, "indent": [] } @@ -33,11 +35,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 19 + "column": 19, + "offset": 18 }, "indent": [] } @@ -74,6 +78,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { @@ -97,11 +102,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 13 + "column": 13, + "offset": 12 }, "indent": [] } @@ -110,11 +117,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 13 + "column": 13, + "offset": 12 }, "indent": [] } @@ -142,6 +151,7 @@ "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", "type": "link", "children": [ { @@ -165,11 +175,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 17 + "column": 17, + "offset": 16 }, "indent": [] } @@ -178,11 +190,13 @@ "position": { "start": { "line": 1, - "column": 1 + "column": 1, + "offset": 0 }, "end": { "line": 1, - "column": 17 + "column": 17, + "offset": 16 }, "indent": [] }