react-cosmos-shared2
Advanced tools
Comparing version 5.6.0 to 5.6.1
@@ -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" | ||
} |
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
168759
Updatedlodash@^4.17.21