@khanacademy/simple-markdown
Advanced tools
Comparing version 0.9.2 to 0.9.3
# @khanacademy/simple-markdown | ||
## 0.9.3 | ||
### Patch Changes | ||
- 22c5d564: Remove the use of React.FC<> and use types named Props/State in more components | ||
## 0.9.2 | ||
@@ -4,0 +10,0 @@ |
@@ -1390,3 +1390,2 @@ /* eslint-disable prefer-spread, no-regex-spaces, @typescript-eslint/no-unused-vars, guard-for-in, no-console, no-var */ | ||
markdownToHtml: markdownToHtml, | ||
// @ts-expect-error [FEI-5003] - TS2322 - Type 'FC<any>' is not assignable to type '(props: { [key: string]: any; source: string; }) => ReactElement'. | ||
ReactMarkdown: ReactMarkdown, | ||
@@ -1393,0 +1392,0 @@ defaultBlockParse: defaultBlockParse, |
@@ -172,2 +172,12 @@ /** | ||
}) => ReactElement; | ||
/** | ||
* defaultParse is deprecated, please use `defaultImplicitParse` | ||
* @deprecated | ||
*/ | ||
readonly defaultParse: (...args: any[]) => any; | ||
/** | ||
* defaultOutput is deprecated, please use `defaultReactOutput` | ||
* @deprecated | ||
*/ | ||
readonly defaultOutput: (...args: any[]) => any; | ||
}; | ||
@@ -174,0 +184,0 @@ export type { State, Parser, Output, ReactOutput, HtmlOutput, Capture, MatchFunction, ParseFunction, NodeOutput, ArrayNodeOutput, ReactNodeOutput, ParserRule, ReactOutputRule, HtmlOutputRule, ParserRules, OutputRules, Rules, ReactRules, HtmlRules, SingleASTNode, }; |
@@ -1393,3 +1393,2 @@ 'use strict'; | ||
markdownToHtml: markdownToHtml, | ||
// @ts-expect-error [FEI-5003] - TS2322 - Type 'FC<any>' is not assignable to type '(props: { [key: string]: any; source: string; }) => ReactElement'. | ||
ReactMarkdown: ReactMarkdown, | ||
@@ -1396,0 +1395,0 @@ defaultBlockParse: defaultBlockParse, |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "0.9.2", | ||
"version": "0.9.3", | ||
"publishConfig": { | ||
@@ -9,0 +9,0 @@ "access": "public" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
660263
9521