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.0.0-alpha.28 to 5.0.0-beta.0

dist/fixtureState/values.d.ts

8

dist/fixtureState/index.d.ts

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

import { FixtureDecoratorId, FixtureElementId, FixtureStateUnserializableValue, FixtureStatePrimitiveValueType, FixtureStateObjectValueType, FixtureStateArrayValueType, FixtureStateValueType, FixtureStatePrimitiveValue, FixtureStateObjectValue, FixtureStateArrayValue, FixtureStateValue, FixtureStateValues, FixtureStateValueGroup, FixtureStateValueGroups, FixtureStateProps, FixtureStateClassState, FixtureState, SetFixtureState } from './shared';
import { FixtureDecoratorId, FixtureElementId, FixtureStateUnserializableValue, FixtureStatePrimitiveValueType, FixtureStateObjectValueType, FixtureStateArrayValueType, FixtureStateValueType, FixtureStatePrimitiveValue, FixtureStateObjectValue, FixtureStateArrayValue, FixtureStateValue, FixtureStateValues, FixtureStateValuePair, FixtureStateValuePairs, FixtureStateProps, FixtureStateClassState, FixtureState, SetFixtureState } from './shared';
export declare type FixtureDecoratorId = FixtureDecoratorId;

@@ -14,4 +14,4 @@ export declare type FixtureElementId = FixtureElementId;

export declare type FixtureStateValues = FixtureStateValues;
export declare type FixtureStateValueGroup = FixtureStateValueGroup;
export declare type FixtureStateValueGroups = FixtureStateValueGroups;
export declare type FixtureStateValuePair = FixtureStateValuePair;
export declare type FixtureStateValuePairs = FixtureStateValuePairs;
export declare type FixtureStateProps = FixtureStateProps;

@@ -26,2 +26,2 @@ export declare type FixtureStateClassState = FixtureStateClassState;

export { getFixtureStateClassState, findFixtureStateClassState, createFixtureStateClassState, updateFixtureStateClassState, removeFixtureStateClassState } from './classState';
export { findFixtureStateCustomState } from './customState';
export { findFixtureStateValue } from './values';

@@ -144,6 +144,6 @@ "use strict";

});
Object.defineProperty(exports, "findFixtureStateCustomState", {
Object.defineProperty(exports, "findFixtureStateValue", {
enumerable: true,
get: function () {
return _customState.findFixtureStateCustomState;
return _values.findFixtureStateValue;
}

@@ -162,2 +162,2 @@ });

var _customState = require("./customState");
var _values = require("./values");

@@ -29,7 +29,7 @@ import { StateUpdater } from '../util';

export declare type FixtureStateValues = Record<string, FixtureStateValue>;
export declare type FixtureStateValueGroup = {
export declare type FixtureStateValuePair = {
defaultValue: FixtureStateValue;
currentValue: FixtureStateValue;
};
export declare type FixtureStateValueGroups = Record<string, FixtureStateValueGroup>;
export declare type FixtureStateValuePairs = Record<string, FixtureStateValuePair>;
export declare type FixtureRenderKey = number;

@@ -50,4 +50,4 @@ export declare type FixtureStateProps = {

classState?: FixtureStateClassState[];
customState?: FixtureStateValueGroups;
} & Record<string, any>;
values?: FixtureStateValuePairs;
} & Record<string, unknown>;
export declare type SetFixtureState = (update: StateUpdater<FixtureState>) => unknown;

@@ -54,0 +54,0 @@ export declare function isString(value: unknown): value is string;

{
"name": "react-cosmos-shared2",
"version": "5.0.0-alpha.28",
"version": "5.0.0-beta.0",
"description": "Code shared between Cosmos packages",

@@ -9,7 +9,7 @@ "repository": "https://github.com/react-cosmos/react-cosmos/tree/master/packages/react-cosmos-shared2",

"lodash": "^4.17.15",
"query-string": "^6.8.2",
"query-string": "^6.8.3",
"react-element-to-jsx-string": "^14.0.3",
"react-is": "^16.9.0"
},
"gitHead": "0bc7164001ac86375abbde10fa15b0ae1025aaca"
"gitHead": "173f794fd1bf48fce25fcfc92f6cf1978125c498"
}
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