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

react-cosmos-shared2

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-cosmos-shared2 - npm Package Compare versions

Comparing version 5.6.0 to 5.6.1

4

dist/FixtureLoader/FixtureLoader.d.ts

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

shouldComponentUpdate(prevProps: Props, prevState: State): boolean;
render(): {} | null | undefined;
render(): React.ReactNode;
handleRequest: (msg: RendererRequest) => void;

@@ -46,4 +46,4 @@ handleSelectFixtureRequest({ payload }: SelectFixtureRequest): void;

postMessage(msg: RendererResponse): void;
renderMessage(msg: string): {} | null | undefined;
renderMessage(msg: string): React.ReactNode;
}
export {};

@@ -42,3 +42,3 @@ "use strict";

function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

@@ -45,0 +45,0 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }

@@ -12,3 +12,3 @@ import { FixtureDecoratorId, FixtureStateValues, FixtureElementId, FixtureStateClassState, FixtureState } from './shared';

elementId: FixtureElementId;
values: Record<string, import("./shared").FixtureStateValue>;
values: FixtureStateValues;
componentName: string;

@@ -15,0 +15,0 @@ }[];

@@ -13,3 +13,3 @@ import { FixtureDecoratorId, FixtureElementId, FixtureStateValues, FixtureRenderKey, FixtureStateProps, FixtureState } from './shared';

elementId: FixtureElementId;
values: Record<string, import("./shared").FixtureStateValue>;
values: FixtureStateValues;
renderKey: number;

@@ -16,0 +16,0 @@ componentName: string;

{
"name": "react-cosmos-shared2",
"version": "5.6.0",
"version": "5.6.1",
"description": "Code shared between Cosmos packages",

@@ -8,3 +8,3 @@ "repository": "https://github.com/react-cosmos/react-cosmos/tree/main/packages/react-cosmos-shared2",

"dependencies": {
"lodash": "^4.17.20",
"lodash": "^4.17.21",
"query-string": "5.1.1",

@@ -15,3 +15,3 @@ "react-element-to-jsx-string": "^14.3.2",

},
"gitHead": "653c15d06fbc4b50f506d27097d978fb9ca7f5bb"
"gitHead": "c53361b8214a1f95647f18efaa28a0e8994df9ce"
}
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