remark-react
Advanced tools
Comparing version 7.0.1 to 8.0.0
@@ -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) { |
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13140
62
244
+ Added@types/mdast@3.0.15(transitive)
+ Addedhast-to-hyperscript@9.0.1(transitive)
+ Addedhast-util-sanitize@3.0.2(transitive)
+ Addedmdast-util-definitions@4.0.0(transitive)
+ Addedmdast-util-to-hast@10.2.0(transitive)
- Removedcollapse-white-space@1.0.6(transitive)
- Removeddetab@2.0.4(transitive)
- Removedhast-to-hyperscript@8.1.1(transitive)
- Removedhast-util-sanitize@2.0.3(transitive)
- Removedmdast-util-definitions@2.0.1(transitive)
- Removedmdast-util-to-hast@8.2.0(transitive)
- Removedrepeat-string@1.6.1(transitive)
- Removedtrim-lines@1.1.3(transitive)
Updatedhast-to-hyperscript@^9.0.0
Updatedhast-util-sanitize@^3.0.0
Updatedmdast-util-to-hast@^10.0.0