@@ -35184,13 +35184,13 @@ function tableCell(node) {
35184
35184
/* 302 */
35185
35185
/***/ (function(module) {
35186
35186
35187
- module.exports = {"name":"remark","version":"10.0.0","description":"Markdown processor powered by plugins","license":"MIT","keywords":["markdown","abstract","syntax","tree","ast","parse","stringify","process"],"homepage":"http://remark.js.org","repository":"https://github.com/remarkjs/remark/tree/master/packages/remark","bugs":"https://github.com/remarkjs/remark/issues","author":"Titus Wormer <
[email protected] > (http://wooorm.com)","contributors":["Titus Wormer <
[email protected] > (http://wooorm.com)"],"files":["index.js"],"dependencies":{"remark-parse":"^6.0.0","remark-stringify":"^6.0.0","unified":"^7.0.0"},"devDependencies":{"tape":"^4.9.1"},"scripts":{"test":"tape test.js"},"xo":false,"_resolved":"https://registry.npmjs.org/remark/-/remark-10.0.0.tgz","_integrity":"sha512-0fZvVmd9CgDi1qHGsRTyhpJShw60r3/4OSdRpAx+I7CmE8/Jmt829T9KWHpw2Ygw3chRZ26sMorqb8aIolU9tQ==","_from":"
[email protected] "};
35187
+ module.exports = {"_args":[["
[email protected] ","/Users/trott/io.js/tools/node-lint-md-cli-rollup"]],"_from":"
[email protected] ","_id":"
[email protected] ","_inBundle":false,"_integrity":"sha512-0fZvVmd9CgDi1qHGsRTyhpJShw60r3/4OSdRpAx+I7CmE8/Jmt829T9KWHpw2Ygw3chRZ26sMorqb8aIolU9tQ==","_location":"/remark","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"
[email protected] ","name":"remark","escapedName":"remark","rawSpec":"10.0.0","saveSpec":null,"fetchSpec":"10.0.0"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/remark/-/remark-10.0.0.tgz","_spec":"10.0.0","_where":"/Users/trott/io.js/tools/node-lint-md-cli-rollup","author":{"name":"Titus Wormer","email":"
[email protected] ","url":"http://wooorm.com"},"bugs":{"url":"https://github.com/remarkjs/remark/issues"},"contributors":[{"name":"Titus Wormer","email":"
[email protected] ","url":"http://wooorm.com"}],"dependencies":{"remark-parse":"^6.0.0","remark-stringify":"^6.0.0","unified":"^7.0.0"},"description":"Markdown processor powered by plugins","devDependencies":{"tape":"^4.9.1"},"files":["index.js"],"homepage":"http://remark.js.org","keywords":["markdown","abstract","syntax","tree","ast","parse","stringify","process"],"license":"MIT","name":"remark","repository":{"type":"git","url":"https://github.com/remarkjs/remark/tree/master/packages/remark"},"scripts":{"test":"tape test.js"},"version":"10.0.0","xo":false};
35188
35188
35189
35189
/***/ }),
35190
35190
/* 303 */
35191
35191
/***/ (function(module) {
35192
35192
35193
- module.exports = {"name":"node-lint-md-cli-rollup","description":"remark packaged for node markdown linting","version":"1.0.0","devDependencies":{"@zeit/ncc":"^0.2.0"},"dependencies":{"markdown-extensions":"^1.1.0","remark":"^10.0.0","remark-lint":"^6.0.3","remark-preset-lint-node":"^1.3.1 ","unified-args":"^6.0.0","unified-engine":"^5.1.0"},"main":"src/cli-entry.js","scripts":{"build":"ncc build","build-node":"npm run build && cp dist/index.js ../lint-md.js"}};
35193
+ module.exports = {"name":"node-lint-md-cli-rollup","description":"remark packaged for node markdown linting","version":"1.0.0","devDependencies":{"@zeit/ncc":"^0.2.0"},"dependencies":{"markdown-extensions":"^1.1.0","remark":"^10.0.0","remark-lint":"^6.0.3","remark-preset-lint-node":"^1.4.0 ","unified-args":"^6.0.0","unified-engine":"^5.1.0"},"main":"src/cli-entry.js","scripts":{"build":"ncc build","build-node":"npm run build && cp dist/index.js ../lint-md.js"}};
35194
35194
35195
35195
/***/ }),
35196
35196
/* 304 */
@@ -35210,10 +35210,7 @@ module.exports.plugins = [
35210
35210
__webpack_require__(316),
35211
35211
__webpack_require__(93),
35212
35212
__webpack_require__(93),
35213
- [
35214
- __webpack_require__(317),
35215
- 'space'
35216
- ],
35213
+ [__webpack_require__(317), "space"],
35217
35214
__webpack_require__(320),
35218
35215
__webpack_require__(321),
35219
35216
__webpack_require__(322),
@@ -35237,25 +35234,27 @@ module.exports.plugins = [
35237
35234
[
35238
35235
__webpack_require__(340),
35239
35236
{
35240
- 'checked': 'x', 'unchecked': ' '
35237
+ checked: "x",
35238
+ unchecked: " "
35241
35239
}
35242
35240
],
35243
- [__webpack_require__(341), ' fenced' ],
35244
- [__webpack_require__(342), '`' ],
35245
- [__webpack_require__(343), 'md' ],
35241
+ [__webpack_require__(341), " fenced" ],
35242
+ [__webpack_require__(342), "`" ],
35243
+ [__webpack_require__(343), "md" ],
35246
35244
[__webpack_require__(344), 1],
35247
- [__webpack_require__(345), ' atx' ],
35245
+ [__webpack_require__(345), " atx" ],
35248
35246
[
35249
35247
__webpack_require__(346),
35250
35248
[
35251
- { no: 'Github', yes: 'GitHub' },
35252
- { no: 'Javascript', yes: 'JavaScript' },
35253
- { no: 'Node.JS', yes: 'Node.js' },
35254
- { no: 'v8', yes: 'V8' }
35249
+ { no: "End-Of-Life", yes: "End-of-Life" },
35250
+ { no: "Github", yes: "GitHub" },
35251
+ { no: "Javascript", yes: "JavaScript" },
35252
+ { no: "Node.JS", yes: "Node.js" },
35253
+ { no: "v8", yes: "V8" }
35255
35254
]
35256
35255
],
35257
- [__webpack_require__(347), '*' ],
35258
- [__webpack_require__(348), ' padded' ]
35256
+ [__webpack_require__(347), "*" ],
35257
+ [__webpack_require__(348), " padded" ]
35259
35258
];
35260
35259
35261
35260
@@ -36842,7 +36841,7 @@ module.exports = {"addendum":"addenda","aircraft":"aircraft","alga":"algae","alu
36842
36841
* Options: `number`, default: `80`.
36843
36842
*
36844
36843
* Ignores nodes that cannot be wrapped, such as headings, tables,
36845
- * code, and definitions .
36844
+ * code, definitions, HTML, and JSX .
36846
36845
*
36847
36846
* Ignores images, links, and inline code if they start before the wrap, end
36848
36847
* after the wrap, and there’s no white-space after them.
@@ -36868,6 +36867,8 @@ module.exports = {"addendum":"addenda","aircraft":"aircraft","alga":"algae","alu
36868
36867
* | -- | --------- | -- | ---- | ------ | -- | ---- | ------ | ------- | ----- | ----- | ---- |
36869
36868
* | be | helped | | | | | | | | | | . |
36870
36869
*
36870
+ * <a><b><i><p><q><s><u>alpha bravo charlie delta echo foxtrot golf</u></s></q></p></i></b></a>
36871
+ *
36871
36872
* The following is also fine, because there is no white-space.
36872
36873
*
36873
36874
* <http://this-long-url-with-a-long-domain-is-invalid.co.uk/a-long-path?query=variables>.
@@ -36941,10 +36942,11 @@ function maximumLineLength(tree, file, pref) {
36941
36942
var index = -1
36942
36943
var lineLength
36943
36944
36944
- visit(tree, ['heading', 'table', 'code', 'definition'], ignore)
36945
+ // Note: JSX is from MDX: <https://github.com/mdx-js/specification>.
36946
+ visit(tree, ['heading', 'table', 'code', 'definition', 'html', 'jsx'], ignore)
36945
36947
visit(tree, ['link', 'image', 'inlineCode'], inline)
36946
36948
36947
- /* Iterate over every line, and warn for violating lines. */
36949
+ // Iterate over every line, and warn for violating lines.
36948
36950
while (++index < length) {
36949
36951
lineLength = lines[index].length
36950
36952
@@ -36956,9 +36958,9 @@ function maximumLineLength(tree, file, pref) {
36956
36958
}
36957
36959
}
36958
36960
36959
- /* Finally, whitelist some inline spans, but only if they occur at or after
36960
- * the wrap. However, when they do, and there’s white-space after it, they
36961
- * are not whitelisted. */
36961
+ // Finally, whitelist some inline spans, but only if they occur at or after
36962
+ // the wrap. However, when they do, and there’s white-space after it, they
36963
+ // are not whitelisted.
36962
36964
function inline(node, pos, parent) {
36963
36965
var next = parent.children[pos + 1]
36964
36966
var initial
@@ -36972,13 +36974,12 @@ function maximumLineLength(tree, file, pref) {
36972
36974
initial = start(node)
36973
36975
final = end(node)
36974
36976
36975
- /* No whitelisting when starting after the border, or ending before it. */
36977
+ // No whitelisting when starting after the border, or ending before it.
36976
36978
if (initial.column > style || final.column < style) {
36977
36979
return
36978
36980
}
36979
36981
36980
- /* No whitelisting when there’s white-space after
36981
- * the link. */
36982
+ // No whitelisting when there’s white-space after the link.
36982
36983
if (
36983
36984
next &&
36984
36985
start(next).line === initial.line &&
@@ -36997,7 +36998,7 @@ function maximumLineLength(tree, file, pref) {
36997
36998
}
36998
36999
}
36999
37000
37000
- /* Whitelist from `initial` to `final`, zero-based. */
37001
+ // Whitelist from `initial` to `final`, zero-based.
37001
37002
function whitelist(initial, final) {
37002
37003
while (initial < final) {
37003
37004
lines[initial++] = ''
@@ -39599,16 +39600,16 @@ function tableCellPadding(tree, file, pref) {
39599
39600
var entry
39600
39601
var final
39601
39602
39602
- /* Check rows. */
39603
+ // Check rows.
39603
39604
while (++index < length) {
39604
39605
row = rows[index]
39605
39606
cells = row.children
39606
39607
cellCount = cells.length
39607
- column = -2 /* Start without a first cell */
39608
+ column = -2 // Start without a first cell.
39608
39609
next = null
39609
39610
final = undefined
39610
39611
39611
- /* Check fences (before, between, and after cells) */
39612
+ // Check fences (before, between, and after cells).
39612
39613
while (++column < cellCount) {
39613
39614
cell = next
39614
39615
next = cells[column + 1]
@@ -39623,7 +39624,7 @@ function tableCellPadding(tree, file, pref) {
39623
39624
if (cell && cell.children.length !== 0 && final !== undefined) {
39624
39625
entries.push({node: cell, start: final, end: pos, index: column})
39625
39626
39626
- /* Detect max space per column. */
39627
+ // Detect max space per column.
39627
39628
sizes[column] = Math.max(sizes[column] || 0, size(cell))
39628
39629
} else {
39629
39630
final = undefined
@@ -39670,7 +39671,7 @@ function tableCellPadding(tree, file, pref) {
39670
39671
if (style === 0) {
39671
39672
reason += 'compact'
39672
39673
39673
- /* Ignore every cell except the biggest in the column. */
39674
+ // Ignore every cell except the biggest in the column.
39674
39675
if (size(cell) < sizes[index]) {
39675
39676
return
39676
39677
}
@@ -39680,7 +39681,7 @@ function tableCellPadding(tree, file, pref) {
39680
39681
if (spacing > style) {
39681
39682
reason += ' with 1 space, not ' + spacing
39682
39683
39683
- /* May be right or center aligned. */
39684
+ // May be right or center aligned.
39684
39685
if (size(cell) < sizes[index]) {
39685
39686
return
39686
39687
}
0 commit comments