Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-cosmos-dom

Package Overview
Dependencies
Maintainers
1
Versions
255
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-cosmos-dom - npm Package Compare versions

Comparing version 6.1.2-canary.fbe721b.0 to 6.2.0

8

dist/ErrorCatch.d.ts
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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc