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
256
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.0.0-beta.6 to 6.0.0-beta.7

4

dist/DomFixtureLoader.d.ts

@@ -1,2 +0,2 @@

/// <reference types="react" />
import React from 'react';
import { RendererConfig, UserModuleWrappers } from 'react-cosmos-core';

@@ -7,3 +7,3 @@ type Props = {

};
export declare function DomFixtureLoader({ rendererConfig, moduleWrappers }: Props): JSX.Element;
export declare function DomFixtureLoader({ rendererConfig, moduleWrappers }: Props): React.JSX.Element;
export {};

@@ -7,3 +7,3 @@ import React from 'react';

};
export declare function DomRendererProvider({ children, rendererConfig }: Props): JSX.Element;
export declare function DomRendererProvider({ children, rendererConfig }: Props): React.JSX.Element;
export {};

@@ -20,5 +20,5 @@ import React from 'react';

componentDidUpdate(prevProps: Props): void;
render(): string | number | boolean | React.ReactFragment | JSX.Element | null | undefined;
renderError(error: string): JSX.Element;
render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
renderError(error: string): React.JSX.Element;
}
export {};

@@ -5,3 +5,3 @@ import { isEqual } from 'lodash-es';

import { FixtureContext, } from 'react-cosmos-renderer/client';
class ErrorCatch extends React.Component {
export class ErrorCatch extends React.Component {
static contextType = FixtureContext;

@@ -44,3 +44,2 @@ static prevContext = null;

}
export { ErrorCatch };
function fixtureChanged(f1, f2) {

@@ -47,0 +46,0 @@ return !areNodesEqual(f1, f2, true);

{
"name": "react-cosmos-dom",
"version": "6.0.0-beta.6",
"version": "6.0.0-beta.7",
"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.0.0-beta.5",
"react-cosmos-renderer": "6.0.0-beta.5"
"react-cosmos-core": "6.0.0-beta.7",
"react-cosmos-renderer": "6.0.0-beta.7"
},
"gitHead": "472a60c4d2113cb4ae6777d76fc33b13ce76c0af"
"gitHead": "0d57027263ffb3d55fa1feb31db3640db2e89cc9"
}
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