@mdx-js/react
Advanced tools
Comparing version 2.0.0-rc.1 to 2.0.0-rc.2
@@ -58,5 +58,4 @@ /** | ||
*/ | ||
children?: React.ReactNode[] | undefined; | ||
children?: ReactNode; | ||
}; | ||
export type MergeComponents = (currentComponents: Components) => Components; | ||
import React from "react"; |
@@ -11,3 +11,3 @@ /** | ||
* Turn off outer component context. | ||
* @property {ReactNode[]} [children] | ||
* @property {ReactNode} [children] | ||
* Children. | ||
@@ -14,0 +14,0 @@ * |
{ | ||
"name": "@mdx-js/react", | ||
"version": "2.0.0-rc.1", | ||
"version": "2.0.0-rc.2", | ||
"description": "React context for MDX", | ||
@@ -51,7 +51,7 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@mdx-js/mdx": "^2.0.0-rc.1", | ||
"@mdx-js/mdx": "^2.0.0-rc.2", | ||
"@types/react": "^17.0.0", | ||
"@types/react-dom": "^17.0.0", | ||
"react": "^17.0.0", | ||
"react-dom": "^17.0.0" | ||
"react": "^18.0.0-alpha-327d5c484-20211106", | ||
"react-dom": "^18.0.0-alpha-327d5c484-20211106" | ||
}, | ||
@@ -58,0 +58,0 @@ "scripts": { |
@@ -210,5 +210,5 @@ # `@mdx-js/react` | ||
[contribute]: https://v2.mdxjs.com/community/contribute/ | ||
[contribute]: https://mdxjs.com/community/contribute/ | ||
[support]: https://v2.mdxjs.com/community/support/ | ||
[support]: https://mdxjs.com/community/support/ | ||
@@ -223,8 +223,8 @@ [coc]: https://github.com/mdx-js/.github/blob/HEAD/code-of-conduct.md | ||
[start-react]: https://v2.mdxjs.com/getting-started/#react | ||
[start-react]: https://mdxjs.com/getting-started/#react | ||
[use-provider]: https://v2.mdxjs.com/using-mdx/#mdx-provider | ||
[use-provider]: https://mdxjs.com/using-mdx/#mdx-provider | ||
[security]: https://v2.mdxjs.com/getting-started/#security | ||
[security]: https://mdxjs.com/getting-started/#security | ||
[typescript]: https://www.typescriptlang.org |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
13945
152