Comparing version 0.1.0-rc.1 to 0.1.0-rc.2
{ | ||
"name": "mdast", | ||
"version": "0.1.0-rc.1", | ||
"version": "0.1.0-rc.2", | ||
"description": "Speedy Markdown parser for multipurpose analysis", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
0.1.0-rc.2 / 2014-12-10 | ||
================== | ||
* Add block-level nodes to every list-item | ||
0.1.0-rc.1 / 2014-12-07 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -300,3 +300,2 @@ 'use strict'; | ||
token, | ||
next, | ||
prev, | ||
@@ -507,3 +506,2 @@ loose, | ||
next = false; | ||
length = match.length; | ||
@@ -536,2 +534,3 @@ iterator = 0; | ||
otherBullet = block.bullet.exec(match[iterator + 1])[0]; | ||
if ( | ||
@@ -548,10 +547,6 @@ bullet !== otherBullet && | ||
* /(^|\n)(?! )[^\n]+\n\n(?!\s*$)/ for discount behavior. */ | ||
loose = next || /\n\n(?!\s*$)/.test(token); | ||
loose = /\n\n(?!\s*$)/.test(token); | ||
if (iterator !== length - 1) { | ||
next = token.charAt(token.length - 1) === '\n'; | ||
if (!loose) { | ||
loose = next; | ||
} | ||
if (iterator !== length - 1 && !loose) { | ||
loose = token.charAt(token.length - 1) === '\n'; | ||
} | ||
@@ -1218,3 +1213,4 @@ | ||
'list' : 'listEnd', | ||
'looseItem' : 'listItemEnd' | ||
'looseItem' : 'listItemEnd', | ||
'listItem' : 'listItemEnd' | ||
}; | ||
@@ -1268,3 +1264,3 @@ | ||
if (type === 'looseItem') { | ||
if (type === 'blockquote' || type === 'list') { | ||
children = []; | ||
@@ -1274,15 +1270,5 @@ endToken = pairMap[type]; | ||
while (this.next().type !== endToken) { | ||
queue = this.tok(); | ||
if ('length' in queue) { | ||
queue = { | ||
'type' : 'paragraph', | ||
'children' : queue | ||
}; | ||
} | ||
children.push(queue); | ||
children = children.concat(this.tok()); | ||
} | ||
token.type = 'listItem'; | ||
token.children = children; | ||
@@ -1293,3 +1279,3 @@ | ||
if (type === 'blockquote' || type === 'list') { | ||
if (type === 'looseItem' || type === 'listItem') { | ||
children = []; | ||
@@ -1299,21 +1285,16 @@ endToken = pairMap[type]; | ||
while (this.next().type !== endToken) { | ||
children = children.concat(this.tok()); | ||
} | ||
queue = this.tok(); | ||
token.children = children; | ||
if ('length' in queue) { | ||
queue = { | ||
'type' : 'paragraph', | ||
'children' : queue | ||
}; | ||
} | ||
return token; | ||
} | ||
if (type === 'listItem') { | ||
children = []; | ||
while (this.next().type !== 'listItemEnd') { | ||
if (this.token.type === 'text') { | ||
children = children.concat(children, this.parseText()); | ||
} else { | ||
children = children.concat(this.tok()); | ||
} | ||
children.push(queue); | ||
} | ||
token.type = 'listItem'; | ||
token.loose = type === 'looseItem'; | ||
token.children = children; | ||
@@ -1320,0 +1301,0 @@ |
@@ -68,3 +68,4 @@ 'use strict'; | ||
iterator = -1, | ||
length = tokens.length; | ||
length = tokens.length, | ||
indent; | ||
@@ -74,4 +75,6 @@ level = level + 1; | ||
while (++iterator < length) { | ||
values[iterator] = (iterator + 1) + '. ' + | ||
self.listItem(tokens[iterator], level); | ||
indent = (iterator + 1) + '. '; | ||
values[iterator] = indent + | ||
self.listItem(tokens[iterator], token, level, indent.length); | ||
} | ||
@@ -86,8 +89,12 @@ | ||
iterator = -1, | ||
length = tokens.length; | ||
length = tokens.length, | ||
indent; | ||
level = level + 1; | ||
indent = '- '; | ||
while (++iterator < length) { | ||
values[iterator] = '- ' + self.listItem(tokens[iterator], level); | ||
values[iterator] = indent + | ||
self.listItem(tokens[iterator], token, level, indent.length); | ||
} | ||
@@ -176,4 +183,3 @@ | ||
compilerPrototype.list = function (token, parent, level) { | ||
var methodName, | ||
result; | ||
var methodName; | ||
@@ -183,20 +189,19 @@ methodName = token.ordered ? 'visitOrderedItems' : | ||
result = this[methodName](token, token.children, level); | ||
return this[methodName](token, token.children, level).join('\n'); | ||
}; | ||
// console.log('list: ', result); | ||
return result.join('\n'); | ||
}; | ||
compilerPrototype.listItem = function (token, parent, level) { | ||
var self = this, | ||
tokens = token.children, | ||
child, | ||
compilerPrototype.listItem = function (token, parent, level, padding) { | ||
var self, | ||
tokens, | ||
values, | ||
iterator, | ||
length, | ||
type, | ||
value; | ||
self = this; | ||
tokens = token.children; | ||
values = []; | ||
iterator = -1; | ||
@@ -206,40 +211,14 @@ length = tokens.length; | ||
while (++iterator < length) { | ||
child = tokens[iterator]; | ||
values.push(self.visit(child, token, level)); | ||
/** | ||
* `paragraphs` miss a new-line. | ||
*/ | ||
type = child.type; | ||
value = ''; | ||
if (type === 'paragraph' || type === 'list') { | ||
value += '\n'; | ||
} | ||
if (iterator !== length - 1) { | ||
value += '\n'; | ||
} | ||
if (value) { | ||
values.push(value); | ||
} | ||
values[iterator] = self.visit(tokens[iterator], token, level); | ||
} | ||
value = values.join(''); | ||
value = values.join(repeat(token.loose ? 2 : 1, '\n')); | ||
if (length === 1) { | ||
value = pad(value, 0.5); | ||
} else { | ||
value = pad(value, 1); | ||
if (token.loose) { | ||
value += '\n'; | ||
} | ||
// console.log('list-item: ', length === 1, [value]); | ||
value = pad(value, padding / 4); | ||
value = value.trimLeft(); | ||
return value; | ||
return value.trimLeft(); | ||
}; | ||
@@ -278,3 +257,3 @@ | ||
if (!token.lang) { | ||
return pad(token.value, 1) + '\n'; | ||
return pad(token.value, 1); | ||
} | ||
@@ -290,3 +269,3 @@ | ||
token.value + '\n' + | ||
backticks + '\n'; | ||
backticks; | ||
@@ -293,0 +272,0 @@ return value; |
{ | ||
"name": "mdast", | ||
"version": "0.1.0-rc.1", | ||
"version": "0.1.0-rc.2", | ||
"description": "Speedy Markdown parser for multipurpose analysis", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -71,3 +71,2 @@ 'use strict'; | ||
type === 'blockquote' || | ||
type === 'listItem' || | ||
type === 'tableHeader' || | ||
@@ -86,2 +85,10 @@ type === 'tableRow' || | ||
if (type === 'listItem') { | ||
assert(keys.length === 3); | ||
assert('children' in context); | ||
assert('loose' in context); | ||
return; | ||
} | ||
if (type === 'footnote') { | ||
@@ -88,0 +95,0 @@ assert(keys.length === 2); |
@@ -102,6 +102,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "In a list?" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "In a list?" | ||
} | ||
] | ||
} | ||
@@ -112,11 +118,17 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "link", | ||
"title": null, | ||
"href": "http://example.com/", | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "http://example.com/" | ||
"type": "link", | ||
"title": null, | ||
"href": "http://example.com/", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "http://example.com/" | ||
} | ||
] | ||
} | ||
@@ -129,6 +141,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "It should." | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "It should." | ||
} | ||
] | ||
} | ||
@@ -135,0 +153,0 @@ ] |
@@ -19,6 +19,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
} | ||
] | ||
}, | ||
@@ -25,0 +31,0 @@ { |
@@ -61,6 +61,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
} | ||
] | ||
} | ||
@@ -71,6 +77,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "[3]: hello" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "[3]: hello" | ||
} | ||
] | ||
} | ||
@@ -87,6 +99,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
} | ||
] | ||
} | ||
@@ -93,0 +111,0 @@ ] |
@@ -20,2 +20,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -40,6 +41,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "one" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "one" | ||
} | ||
] | ||
}, | ||
@@ -52,6 +59,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "two" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "two" | ||
} | ||
] | ||
}, | ||
@@ -64,6 +77,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "three" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "three" | ||
} | ||
] | ||
} | ||
@@ -74,6 +93,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "four" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "four" | ||
} | ||
] | ||
} | ||
@@ -84,6 +109,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "five" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "five" | ||
} | ||
] | ||
} | ||
@@ -108,2 +139,3 @@ ] | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -128,2 +160,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -145,2 +178,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -173,2 +207,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -201,2 +236,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -229,2 +265,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -257,2 +294,3 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
@@ -259,0 +297,0 @@ { |
@@ -10,6 +10,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello\nworld" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello\nworld" | ||
} | ||
] | ||
} | ||
@@ -20,6 +26,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "how\nare" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "how\nare" | ||
} | ||
] | ||
} | ||
@@ -26,0 +38,0 @@ ] |
@@ -10,2 +10,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -27,6 +28,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "item2" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "item2" | ||
} | ||
] | ||
} | ||
@@ -33,0 +40,0 @@ ] |
@@ -10,2 +10,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -25,6 +26,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "you" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "you" | ||
} | ||
] | ||
} | ||
@@ -50,2 +57,3 @@ ] | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -67,2 +75,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -82,2 +91,3 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
@@ -101,6 +111,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hi" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hi" | ||
} | ||
] | ||
} | ||
@@ -117,2 +133,3 @@ ] | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -132,2 +149,3 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
@@ -147,6 +165,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hi" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hi" | ||
} | ||
] | ||
} | ||
@@ -163,6 +187,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
} | ||
] | ||
} | ||
@@ -173,2 +203,3 @@ ] | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -188,2 +219,3 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
@@ -209,6 +241,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
} | ||
] | ||
} | ||
@@ -219,2 +257,3 @@ ] | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -234,6 +273,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hi" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hi" | ||
} | ||
] | ||
} | ||
@@ -250,6 +295,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
} | ||
] | ||
} | ||
@@ -260,6 +311,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "world" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "world" | ||
} | ||
] | ||
} | ||
@@ -270,2 +327,3 @@ ] | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -291,6 +349,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
} | ||
] | ||
} | ||
@@ -301,2 +365,3 @@ ] | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -316,2 +381,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -318,0 +384,0 @@ { |
@@ -10,2 +10,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -25,6 +26,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "you" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "you" | ||
} | ||
] | ||
} | ||
@@ -50,2 +57,3 @@ ] | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -67,6 +75,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "world\nhow" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "world\nhow" | ||
} | ||
] | ||
} | ||
@@ -92,6 +106,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "today" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "today" | ||
} | ||
] | ||
} | ||
@@ -106,6 +126,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hi" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hi" | ||
} | ||
] | ||
} | ||
@@ -122,2 +148,3 @@ ] | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -137,2 +164,3 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
@@ -152,6 +180,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hi" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hi" | ||
} | ||
] | ||
} | ||
@@ -168,6 +202,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
} | ||
] | ||
} | ||
@@ -178,2 +218,3 @@ ] | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -193,2 +234,3 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
@@ -214,6 +256,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
} | ||
] | ||
} | ||
@@ -224,2 +272,3 @@ ] | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -239,6 +288,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hi" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hi" | ||
} | ||
] | ||
} | ||
@@ -255,6 +310,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
} | ||
] | ||
} | ||
@@ -265,6 +326,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "world" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "world" | ||
} | ||
] | ||
} | ||
@@ -275,2 +342,3 @@ ] | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -296,6 +364,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello" | ||
} | ||
] | ||
} | ||
@@ -306,2 +380,3 @@ ] | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -321,2 +396,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -323,0 +399,0 @@ { |
@@ -57,2 +57,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -72,2 +73,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -89,6 +91,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "New List Item 1\nHi, this is a list item." | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "New List Item 1\nHi, this is a list item." | ||
} | ||
] | ||
} | ||
@@ -99,6 +107,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "New List Item 2\nAnother item" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "New List Item 2\nAnother item" | ||
} | ||
] | ||
}, | ||
@@ -114,6 +128,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "New List Item 3\nThe last item" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "New List Item 3\nThe last item" | ||
} | ||
] | ||
} | ||
@@ -128,2 +148,3 @@ ] | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -143,2 +164,3 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
@@ -176,6 +198,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "bq Item 1" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "bq Item 1" | ||
} | ||
] | ||
} | ||
@@ -186,6 +214,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "bq Item 2" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "bq Item 2" | ||
} | ||
] | ||
}, | ||
@@ -198,6 +232,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "New bq Item 1" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "New bq Item 1" | ||
} | ||
] | ||
} | ||
@@ -208,6 +248,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "New bq Item 2\nText here" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "New bq Item 2\nText here" | ||
} | ||
] | ||
} | ||
@@ -214,0 +260,0 @@ ] |
@@ -29,6 +29,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "asterisk 1" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "asterisk 1" | ||
} | ||
] | ||
} | ||
@@ -39,6 +45,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "asterisk 2" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "asterisk 2" | ||
} | ||
] | ||
} | ||
@@ -49,6 +61,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "asterisk 3" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "asterisk 3" | ||
} | ||
] | ||
} | ||
@@ -74,2 +92,3 @@ ] | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -89,2 +108,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -104,2 +124,3 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
@@ -137,6 +158,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Plus 1" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Plus 1" | ||
} | ||
] | ||
} | ||
@@ -147,6 +174,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Plus 2" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Plus 2" | ||
} | ||
] | ||
} | ||
@@ -157,6 +190,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Plus 3" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Plus 3" | ||
} | ||
] | ||
} | ||
@@ -182,2 +221,3 @@ ] | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -197,2 +237,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -212,2 +253,3 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
@@ -245,6 +287,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Minus 1" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Minus 1" | ||
} | ||
] | ||
} | ||
@@ -255,6 +303,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Minus 2" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Minus 2" | ||
} | ||
] | ||
} | ||
@@ -265,6 +319,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Minus 3" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Minus 3" | ||
} | ||
] | ||
} | ||
@@ -290,2 +350,3 @@ ] | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -305,2 +366,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -320,2 +382,3 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
@@ -360,6 +423,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "First" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "First" | ||
} | ||
] | ||
} | ||
@@ -370,6 +439,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Second" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Second" | ||
} | ||
] | ||
} | ||
@@ -380,6 +455,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Third" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Third" | ||
} | ||
] | ||
} | ||
@@ -405,6 +486,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "One" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "One" | ||
} | ||
] | ||
} | ||
@@ -415,6 +502,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Two" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Two" | ||
} | ||
] | ||
} | ||
@@ -425,6 +518,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Three" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Three" | ||
} | ||
] | ||
} | ||
@@ -450,2 +549,3 @@ ] | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -465,2 +565,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -480,2 +581,3 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
@@ -510,2 +612,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -525,2 +628,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -540,2 +644,3 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
@@ -570,2 +675,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -585,2 +691,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -600,2 +707,3 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
@@ -631,6 +739,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Tab" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Tab" | ||
} | ||
] | ||
}, | ||
@@ -643,6 +757,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Tab" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Tab" | ||
} | ||
] | ||
}, | ||
@@ -655,6 +775,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Tab" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Tab" | ||
} | ||
] | ||
} | ||
@@ -688,6 +814,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "First" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "First" | ||
} | ||
] | ||
} | ||
@@ -698,6 +830,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Second:" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Second:" | ||
} | ||
] | ||
}, | ||
@@ -713,6 +851,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Third" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Third" | ||
} | ||
] | ||
} | ||
@@ -738,2 +882,3 @@ ] | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -753,2 +898,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -773,2 +919,3 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
@@ -803,2 +950,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -820,6 +968,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "sub" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "sub" | ||
} | ||
] | ||
} | ||
@@ -826,0 +980,0 @@ ] |
@@ -10,6 +10,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "test" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "test" | ||
} | ||
] | ||
} | ||
@@ -26,6 +32,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "test" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "test" | ||
} | ||
] | ||
} | ||
@@ -42,6 +54,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "test" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "test" | ||
} | ||
] | ||
} | ||
@@ -48,0 +66,0 @@ ] |
@@ -10,6 +10,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "test" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "test" | ||
} | ||
] | ||
} | ||
@@ -20,6 +26,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "test" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "test" | ||
} | ||
] | ||
} | ||
@@ -30,6 +42,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "test" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "test" | ||
} | ||
] | ||
} | ||
@@ -36,0 +54,0 @@ ] |
@@ -10,2 +10,3 @@ { | ||
"type": "listItem", | ||
"loose": true, | ||
"children": [ | ||
@@ -25,2 +26,3 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
@@ -27,0 +29,0 @@ { |
@@ -22,6 +22,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "asterisk 1" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "asterisk 1" | ||
} | ||
] | ||
} | ||
@@ -32,6 +38,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "asterisk 2" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "asterisk 2" | ||
} | ||
] | ||
} | ||
@@ -42,6 +54,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "asterisk 3" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "asterisk 3" | ||
} | ||
] | ||
} | ||
@@ -48,0 +66,0 @@ ] |
@@ -115,6 +115,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "how are you" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "how are you" | ||
} | ||
] | ||
} | ||
@@ -121,0 +127,0 @@ ] |
@@ -37,6 +37,12 @@ { | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello world" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello world" | ||
} | ||
] | ||
} | ||
@@ -80,6 +86,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello world" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello world" | ||
} | ||
] | ||
} | ||
@@ -123,6 +135,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Hello world" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Hello world" | ||
} | ||
] | ||
} | ||
@@ -166,6 +184,12 @@ ] | ||
"type": "listItem", | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello world" | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "hello world" | ||
} | ||
] | ||
} | ||
@@ -172,0 +196,0 @@ ] |
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
364209
12593
0