react-cosmos-dom
Advanced tools
Comparing version 6.1.2-canary.fbe721b.0 to 6.2.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.fbe721b.0+fbe721b", | ||
"version": "6.2.0", | ||
"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.fbe721b.0+fbe721b", | ||
"react-cosmos-renderer": "6.1.2-canary.fbe721b.0+fbe721b" | ||
"react-cosmos-core": "^6.2.0", | ||
"react-cosmos-renderer": "^6.2.0" | ||
}, | ||
"gitHead": "fbe721b177adcb666317b6d1f4e4890d85de269b" | ||
"gitHead": "965bf0e13230324699560be6eabb642c51c6d945" | ||
} |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
0
12359
261
+ Addedjs-base64@3.7.7(transitive)
+ Addedreact-cosmos-core@6.2.0(transitive)
+ Addedreact-cosmos-renderer@6.2.0(transitive)
+ Addedreact-is@18.3.1(transitive)
Updatedreact-cosmos-core@^6.2.0
Updatedreact-cosmos-renderer@^6.2.0