react-cosmos-dom
Advanced tools
Comparing version 6.1.2-canary.0d0e717.0 to 6.1.2-canary.15db638.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.0d0e717.0+0d0e717", | ||
"version": "6.1.2-canary.15db638.0+15db638", | ||
"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.0d0e717.0+0d0e717", | ||
"react-cosmos-renderer": "6.1.2-canary.0d0e717.0+0d0e717" | ||
"react-cosmos-core": "6.1.2-canary.15db638.0+15db638", | ||
"react-cosmos-renderer": "6.1.2-canary.15db638.0+15db638" | ||
}, | ||
"gitHead": "0d0e717b5045febfbaf2bc8e9c840094859d49a4" | ||
"gitHead": "15db6389056d322dd3df5012262cfd620867e49b" | ||
} |
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