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

remark-react

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-react - npm Package Compare versions

Comparing version 7.0.1 to 8.0.0

2

index.js

@@ -44,2 +44,4 @@ 'use strict'

// See: <https://github.com/remarkjs/remark-react/issues/64>.
/* istanbul ignore next - still works but need to publish `remark-gfm`
* first. */
if (children && tableElements.indexOf(name) !== -1) {

@@ -46,0 +48,0 @@ children = children.filter(function (child) {

24

package.json
{
"name": "remark-react",
"version": "7.0.1",
"version": "8.0.0",
"description": "remark plugin to transform to React",

@@ -45,5 +45,5 @@ "license": "MIT",

"@mapbox/hast-util-table-cell-style": "^0.1.3",
"hast-to-hyperscript": "^8.0.0",
"hast-util-sanitize": "^2.0.0",
"mdast-util-to-hast": "^8.0.0"
"hast-to-hyperscript": "^9.0.0",
"hast-util-sanitize": "^3.0.0",
"mdast-util-to-hast": "^10.0.0"
},

@@ -55,14 +55,14 @@ "devDependencies": {

"prettier": "^2.0.0",
"remark": "^12.0.0",
"remark": "^13.0.0-alpha.0",
"remark-cli": "^8.0.0",
"remark-footnotes": "^1.0.0",
"remark-frontmatter": "^1.0.0",
"remark-preset-wooorm": "^6.0.0",
"tape": "^4.0.0",
"remark-footnotes": "^2.0.0",
"remark-frontmatter": "^2.0.0",
"remark-preset-wooorm": "^7.0.0",
"tape": "^5.0.0",
"vfile": "^4.0.0",
"xo": "^0.28.0"
"xo": "^0.33.0"
},
"scripts": {
"sub-install": "cd test/react/v16 && npm install && cd ../..",
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
"format": "remark . -qfo && prettier . --write && xo --fix",
"test-api": "node test",

@@ -90,3 +90,5 @@ "test-coverage": "nyc --reporter lcov tape test/index.js",

"rules": {
"unicorn/no-fn-reference-in-iterator": "off",
"unicorn/prefer-includes": "off",
"unicorn/prefer-optional-catch-binding": "off",
"no-eq-null": "off",

@@ -93,0 +95,0 @@ "eqeqeq": [

@@ -27,2 +27,8 @@ # remark-react

## Note!
This plugin is ready for the new parser in remark
([`remarkjs/remark#536`](https://github.com/remarkjs/remark/pull/536)).
No change is needed: it works exactly the same now as it did before!
## Install

@@ -166,3 +172,3 @@

[build-badge]: https://img.shields.io/travis/remarkjs/remark-react/master.svg
[build-badge]: https://img.shields.io/travis/remarkjs/remark-react/main.svg

@@ -189,5 +195,5 @@ [build]: https://travis-ci.org/remarkjs/remark-react

[chat-badge]: https://img.shields.io/badge/chat-spectrum-7b16ff.svg
[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg
[chat]: https://spectrum.chat/unified/remark
[chat]: https://github.com/remarkjs/remark/discussions

@@ -198,7 +204,7 @@ [npm]: https://docs.npmjs.com/cli/install

[contributing]: https://github.com/remarkjs/.github/blob/master/contributing.md
[contributing]: https://github.com/remarkjs/.github/blob/HEAD/contributing.md
[support]: https://github.com/remarkjs/.github/blob/master/support.md
[support]: https://github.com/remarkjs/.github/blob/HEAD/support.md
[coc]: https://github.com/remarkjs/.github/blob/master/code-of-conduct.md
[coc]: https://github.com/remarkjs/.github/blob/HEAD/code-of-conduct.md

@@ -217,3 +223,3 @@ [license]: license

[rehype]: https://github.com/remarkjs/remark
[rehype]: https://github.com/rehypejs/rehype

@@ -220,0 +226,0 @@ [rehype-react]: https://github.com/rhysd/rehype-react

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