diff --git a/package-lock.json b/package-lock.json index f269c91d5..22190940b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21637,19 +21637,20 @@ } }, "rehype-react": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/rehype-react/-/rehype-react-5.0.1.tgz", - "integrity": "sha512-vv/uqHROopaPimIw6Ip4Mx5+YySLClC7pSFJSW3QkwVYvguqbm5N+Cu4yJgt6nvDmOsP66GnQtDlU+tI6bhigQ==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/rehype-react/-/rehype-react-6.2.0.tgz", + "integrity": "sha512-XpR3p8ejdJ5CSEKqAfASIrkD+KaHLy0JOqXu9zM32tvkr1cUeM7AeidF6Q8eQ/wtMvcJb+h/L4QRwg1eFwBggQ==", "requires": { "@mapbox/hast-util-table-cell-style": "^0.1.3", - "hast-to-hyperscript": "^8.0.0" + "hast-to-hyperscript": "^9.0.0" }, "dependencies": { "hast-to-hyperscript": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/hast-to-hyperscript/-/hast-to-hyperscript-8.1.1.tgz", - "integrity": "sha512-IsVTowDrvX4n+Nt+zP0VLQmh/ddVtnFSLUv1gb/706ovL2VgFdnE5ior2fDHSp1Bc0E5GidF2ax+PMjd+TW7gA==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/hast-to-hyperscript/-/hast-to-hyperscript-9.0.1.tgz", + "integrity": "sha512-zQgLKqF+O2F72S1aa4y2ivxzSlko3MAvxkwG8ehGmNiqd98BIN3JM1rAJPmplEyLmGLO2QZYJtIneOSZ2YbJuA==", "requires": { + "@types/unist": "^2.0.3", "comma-separated-tokens": "^1.0.0", "property-information": "^5.3.0", "space-separated-tokens": "^1.0.0", @@ -21667,9 +21668,9 @@ } }, "unist-util-is": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-4.0.2.tgz", - "integrity": "sha512-Ofx8uf6haexJwI1gxWMGg6I/dLnF2yE+KibhD3/diOqY2TinLcqHXCV6OI5gFVn3xQqDH+u0M625pfKwIwgBKQ==" + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-4.0.4.tgz", + "integrity": "sha512-3dF39j/u423v4BBQrk1AQ2Ve1FxY5W3JKwXxVFzBODQ6WEvccguhgp802qQLKSnxPODE6WuRZtV+ohlUg4meBA==" } } }, diff --git a/package.json b/package.json index 4528be8d1..e5da0e962 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "mdast-util-toc": "^5.0.3", "prop-types": "^15.7.2", "rehype-raw": "^4.0.1", - "rehype-react": "^5.0.0", + "rehype-react": "^6.2.0", "rehype-sanitize": "^3.0.1", "rehype-stringify": "^6.0.0", "remark-breaks": "^1.0.0",