Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

remark-vdom

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-vdom - npm Package Compare versions

Comparing version 8.0.0 to 9.0.0

23

package.json
{
"name": "remark-vdom",
"version": "8.0.0",
"version": "9.0.0",
"description": "remark plugin to compile Markdown to VDOM",

@@ -9,2 +9,3 @@ "license": "MIT",

"remark",
"remark-plugin",
"plugin",

@@ -23,2 +24,6 @@ "mdast",

"bugs": "https://github.com/remarkjs/remark-vdom/issues",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
},
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",

@@ -32,5 +37,5 @@ "contributors": [

"dependencies": {
"hast-to-hyperscript": "^7.0.0",
"hast-to-hyperscript": "^8.0.0",
"hast-util-sanitize": "^2.0.0",
"mdast-util-to-hast": "^6.0.0",
"mdast-util-to-hast": "^8.0.0",
"virtual-dom": "^2.1.1"

@@ -40,11 +45,11 @@ },

"browserify": "^16.0.0",
"nyc": "^14.0.0",
"prettier": "^1.0.0",
"remark": "^10.0.0",
"remark-cli": "^6.0.0",
"remark-preset-wooorm": "^5.0.0",
"nyc": "^15.0.0",
"prettier": "^2.0.0",
"remark": "^11.0.0",
"remark-cli": "^7.0.0",
"remark-preset-wooorm": "^6.0.0",
"tape": "^4.0.0",
"tinyify": "^2.0.0",
"vdom-to-html": "^2.0.0",
"xo": "^0.24.0"
"xo": "^0.28.0"
},

@@ -51,0 +56,0 @@ "scripts": {

@@ -126,3 +126,3 @@ # remark-vdom

How to sanitise the output (`Object` or `boolean`, default: `null`).
How to sanitize the output (`Object` or `boolean`, default: `null`).

@@ -132,3 +132,3 @@ Sanitation is done by [`hast-util-sanitize`][sanitize], except when `false` is

If an object is passed in, it’s given as a schema to `sanitize`.
By default, input is sanitised according to [GitHub’s sanitation rules][github].
By default, input is sanitized according to [GitHub’s sanitation rules][github].

@@ -153,3 +153,3 @@ Embedded HTML is **always** stripped.

Optimisation [hint][] (`string`, default: `h-`).
Optimization [hint][] (`string`, default: `h-`).

@@ -184,2 +184,8 @@ ###### `options.h`

## Security
Use of `remark-vdom` is *safe* by default, but changing the `sanitize` option
can open you up to a [cross-site scripting (XSS)][xss] attack if the tree is
unsafe.
## Related

@@ -204,4 +210,4 @@

This project has a [Code of Conduct][coc].
By interacting with this repository, organisation, or community you agree to
This project has a [code of conduct][coc].
By interacting with this repository, organization, or community you agree to
abide by its terms.

@@ -237,3 +243,3 @@

[chat-badge]: https://img.shields.io/badge/join%20the%20community-on%20spectrum-7b16ff.svg
[chat-badge]: https://img.shields.io/badge/chat-spectrum-7b16ff.svg

@@ -269,1 +275,3 @@ [chat]: https://spectrum.chat/unified/remark

[hint]: https://github.com/Matt-Esch/virtual-dom/tree/master/virtual-hyperscript#key
[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc