remark-parse
Advanced tools
Comparing version 1.1.0 to 2.0.0
16
index.js
/** | ||
* @author Titus Wormer | ||
* @copyright 2015-2016 Titus Wormer | ||
* @copyright 2015 Titus Wormer | ||
* @license MIT | ||
@@ -11,4 +11,2 @@ * @module remark:parse | ||
/* eslint-env commonjs */ | ||
/* Dependencies. */ | ||
@@ -18,2 +16,6 @@ var unherit = require('unherit'); | ||
/* Expose */ | ||
module.exports = exports = parse; | ||
exports.Parser = Parser; | ||
/** | ||
@@ -25,9 +27,3 @@ * Attacher. | ||
function parse(processor) { | ||
processor.Parser = unherit(Parser); | ||
processor.Parser = unherit(Parser); | ||
} | ||
/* Patch `Parser`. */ | ||
parse.Parser = Parser; | ||
/* Expose */ | ||
module.exports = parse; |
[ | ||
"article", | ||
"header", | ||
"aside", | ||
"hgroup", | ||
"blockquote", | ||
"hr", | ||
"iframe", | ||
"body", | ||
"li", | ||
"map", | ||
"button", | ||
"object", | ||
"canvas", | ||
"ol", | ||
"caption", | ||
"output", | ||
"col", | ||
"p", | ||
"colgroup", | ||
"pre", | ||
"dd", | ||
"progress", | ||
"div", | ||
"section", | ||
"dl", | ||
"table", | ||
"td", | ||
"dt", | ||
"tbody", | ||
"embed", | ||
"textarea", | ||
"fieldset", | ||
"tfoot", | ||
"figcaption", | ||
"th", | ||
"figure", | ||
"thead", | ||
"footer", | ||
"tr", | ||
"form", | ||
"ul", | ||
"h1", | ||
"h2", | ||
"h3", | ||
"h4", | ||
"h5", | ||
"h6", | ||
"video", | ||
"script", | ||
"style" | ||
"article", | ||
"header", | ||
"aside", | ||
"hgroup", | ||
"blockquote", | ||
"hr", | ||
"iframe", | ||
"body", | ||
"li", | ||
"map", | ||
"button", | ||
"object", | ||
"canvas", | ||
"ol", | ||
"caption", | ||
"output", | ||
"col", | ||
"p", | ||
"colgroup", | ||
"pre", | ||
"dd", | ||
"progress", | ||
"div", | ||
"section", | ||
"dl", | ||
"table", | ||
"td", | ||
"dt", | ||
"tbody", | ||
"embed", | ||
"textarea", | ||
"fieldset", | ||
"tfoot", | ||
"figcaption", | ||
"th", | ||
"figure", | ||
"thead", | ||
"footer", | ||
"tr", | ||
"form", | ||
"ul", | ||
"h1", | ||
"h2", | ||
"h3", | ||
"h4", | ||
"h5", | ||
"h6", | ||
"video", | ||
"script", | ||
"style" | ||
] |
/** | ||
* @author Titus Wormer | ||
* @copyright 2015-2016 Titus Wormer | ||
* @copyright 2015 Titus Wormer | ||
* @license MIT | ||
@@ -11,12 +11,11 @@ * @module remark:parse:defaults | ||
/* eslint-env commonjs */ | ||
/* Expose. */ | ||
module.exports = { | ||
'position': true, | ||
'gfm': true, | ||
'yaml': true, | ||
'commonmark': false, | ||
'footnotes': false, | ||
'pedantic': false, | ||
'breaks': false | ||
position: true, | ||
gfm: true, | ||
yaml: true, | ||
commonmark: false, | ||
footnotes: false, | ||
pedantic: false, | ||
breaks: false | ||
}; |
{ | ||
"name": "remark-parse", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "Markdown parser for remark", | ||
@@ -30,6 +30,12 @@ "license": "MIT", | ||
"dependencies": { | ||
"collapse-white-space": "^1.0.0", | ||
"extend": "^3.0.0", | ||
"collapse-white-space": "^1.0.2", | ||
"has": "^1.0.1", | ||
"is-alphabetical": "^1.0.0", | ||
"is-decimal": "^1.0.0", | ||
"is-whitespace-character": "^1.0.0", | ||
"is-word-character": "^1.0.0", | ||
"markdown-escapes": "^1.0.0", | ||
"parse-entities": "^1.0.2", | ||
"repeat-string": "^1.5.4", | ||
"state-toggle": "^1.0.0", | ||
"trim": "0.0.1", | ||
@@ -39,4 +45,5 @@ "trim-trailing-lines": "^1.0.0", | ||
"unist-util-remove-position": "^1.0.0", | ||
"vfile-location": "^2.0.0" | ||
"vfile-location": "^2.0.0", | ||
"xtend": "^4.0.1" | ||
} | ||
} |
@@ -24,8 +24,6 @@ # remark-parse [![Build Status][build-badge]][build-status] [![Coverage Status][coverage-badge]][coverage-status] [![Chat][chat-badge]][chat] | ||
process.stdin | ||
.pipe(unified()) | ||
.use(markdown) | ||
.use(html) | ||
.pipe(process.stdout, { | ||
'commonmark': true | ||
}); | ||
.pipe(unified()) | ||
.use(markdown) | ||
.use(html) | ||
.pipe(process.stdout, {commonmark: true}); | ||
``` | ||
@@ -32,0 +30,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
55
143798
16
5243
435
1
+ Addedhas@^1.0.1
+ Addedis-alphabetical@^1.0.0
+ Addedis-decimal@^1.0.0
+ Addedis-word-character@^1.0.0
+ Addedmarkdown-escapes@^1.0.0
+ Addedstate-toggle@^1.0.0
+ Addedxtend@^4.0.1
+ Addedhas@1.0.4(transitive)
+ Addedis-whitespace-character@1.0.4(transitive)
+ Addedis-word-character@1.0.4(transitive)
+ Addedmarkdown-escapes@1.0.4(transitive)
+ Addedstate-toggle@1.0.3(transitive)
- Removedextend@^3.0.0
- Removedextend@3.0.2(transitive)
Updatedcollapse-white-space@^1.0.2