react-cosmos-dom
Advanced tools
Comparing version 6.1.2-canary.a5d06e7.0 to 6.1.2-canary.b179ef9.0
import React from 'react'; | ||
import { DecoratorProps } from 'react-cosmos-core'; | ||
import { FixtureContextValue } from 'react-cosmos-renderer/client'; | ||
type Props = { | ||
children: React.ReactNode; | ||
}; | ||
type State = { | ||
error: null | string; | ||
}; | ||
export declare class ErrorCatch extends React.Component<Props, State> { | ||
export declare class ErrorCatch extends React.Component<DecoratorProps, State> { | ||
context: FixtureContextValue; | ||
@@ -19,3 +17,3 @@ static contextType: React.Context<FixtureContextValue>; | ||
componentDidMount(): void; | ||
componentDidUpdate(prevProps: Props): void; | ||
componentDidUpdate(prevProps: DecoratorProps): void; | ||
render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined; | ||
@@ -22,0 +20,0 @@ renderError(error: string): React.JSX.Element; |
{ | ||
"name": "react-cosmos-dom", | ||
"version": "6.1.2-canary.a5d06e7.0+a5d06e7", | ||
"version": "6.1.2-canary.b179ef9.0+b179ef9", | ||
"description": "React Cosmos DOM", | ||
@@ -11,6 +11,6 @@ "repository": "https://github.com/react-cosmos/react-cosmos/tree/main/packages/react-cosmos-dom", | ||
"lodash-es": "4.17.21", | ||
"react-cosmos-core": "6.1.2-canary.a5d06e7.0+a5d06e7", | ||
"react-cosmos-renderer": "6.1.2-canary.a5d06e7.0+a5d06e7" | ||
"react-cosmos-core": "6.1.2-canary.b179ef9.0+b179ef9", | ||
"react-cosmos-renderer": "6.1.2-canary.b179ef9.0+b179ef9" | ||
}, | ||
"gitHead": "a5d06e7fd34575407d0477ccfae695ecca168836" | ||
"gitHead": "b179ef90b6185e684d08ffdc188035e1baa24116" | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
12432
261