Socket
Socket
Sign inDemoInstall

remark-parse

Package Overview
Dependencies
25
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 2.0.0

lib/decode.js

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc