@measured/puck 0.21.0-canary.d32e582b → 0.21.0-canary.dfecd012

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { ReactElement, CSSProperties, ReactNode, JSX } from 'react';
1
+ import { ReactElement, CSSProperties, ElementType, ReactNode, JSX } from 'react';
2
2
 
3
3
  type ItemSelector = {
4
4
  index: number;
@@ -10,69 +10,69 @@ type FieldOption = {
10
10
  value: string | number | boolean | undefined | null | object;
11
11
  };
12
12
  type FieldOptions = Array<FieldOption> | ReadonlyArray<FieldOption>;
13
- type BaseField = {
13
+ interface BaseField {
14
14
  label?: string;
15
15
  labelIcon?: ReactElement;
16
- metadata?: Metadata;
16
+ metadata?: FieldMetadata;
17
17
  visible?: boolean;
18
- };
19
- type TextField = BaseField & {
18
+ }
19
+ interface TextField extends BaseField {
20
20
  type: "text";
21
21
  placeholder?: string;
22
22
  contentEditable?: boolean;
23
- };
24
- type NumberField = BaseField & {
23
+ }
24
+ interface NumberField extends BaseField {
25
25
  type: "number";
26
26
  placeholder?: string;
27
27
  min?: number;
28
28
  max?: number;
29
29
  step?: number;
30
- };
31
- type TextareaField = BaseField & {
30
+ }
31
+ interface TextareaField extends BaseField {
32
32
  type: "textarea";
33
33
  placeholder?: string;
34
34
  contentEditable?: boolean;
35
- };
36
- type SelectField = BaseField & {
35
+ }
36
+ interface SelectField extends BaseField {
37
37
  type: "select";
38
38
  options: FieldOptions;
39
- };
40
- type RadioField = BaseField & {
39
+ }
40
+ interface RadioField extends BaseField {
41
41
  type: "radio";
42
42
  options: FieldOptions;
43
- };
44
- type ArrayField<Props extends {
43
+ }
44
+ interface ArrayField<Props extends {
45
45
  [key: string]: any;
46
46
  }[] = {
47
47
  [key: string]: any;
48
- }[], UserField extends {} = {}> = BaseField & {
48
+ }[], UserField extends {} = {}> extends BaseField {
49
49
  type: "array";
50
50
  arrayFields: {
51
51
  [SubPropName in keyof Props[0]]: UserField extends {
52
52
  type: PropertyKey;
53
53
  } ? Field<Props[0][SubPropName], UserField> | UserField : Field<Props[0][SubPropName], UserField>;
54
54
  };
55
- defaultItemProps?: Props[0];
55
+ defaultItemProps?: Props[0] | ((index: number) => Props[0]);
56
56
  getItemSummary?: (item: Props[0], index?: number) => string;
57
57
  max?: number;
58
58
  min?: number;
59
- };
60
- type ObjectField<Props extends any = {
59
+ }
60
+ interface ObjectField<Props extends any = {
61
61
  [key: string]: any;
62
- }, UserField extends {} = {}> = BaseField & {
62
+ }, UserField extends {} = {}> extends BaseField {
63
63
  type: "object";
64
64
  objectFields: {
65
65
  [SubPropName in keyof Props]: UserField extends {
66
66
  type: PropertyKey;
67
67
  } ? Field<Props[SubPropName]> | UserField : Field<Props[SubPropName]>;
68
68
  };
69
- };
69
+ }
70
70
  type Adaptor<AdaptorParams = {}, TableShape extends Record<string, any> = {}, PropShape = TableShape> = {
71
71
  name: string;
72
72
  fetchList: (adaptorParams?: AdaptorParams) => Promise<TableShape[] | null>;
73
73
  mapProp?: (value: TableShape) => PropShape;
74
74
  };
75
- type NotUndefined<T> = T extends undefined ? Record<string, any> : T;
75
+ type NotUndefined<T> = T extends undefined ? never : T;
76
76
  type ExternalFieldWithAdaptor<Props extends any = {
77
77
  [key: string]: any;
78
78
  }> = BaseField & {
@@ -82,10 +82,14 @@ type ExternalFieldWithAdaptor<Props extends any = {
82
82
  adaptorParams?: object;
83
83
  getItemSummary: (item: NotUndefined<Props>, index?: number) => string;
84
84
  };
85
- type ExternalField<Props extends any = {
85
+ type CacheOpts = {
86
+ enabled?: boolean;
87
+ };
88
+ interface ExternalField<Props extends any = {
86
89
  [key: string]: any;
87
- }> = BaseField & {
90
+ }> extends BaseField {
88
91
  type: "external";
92
+ cache?: CacheOpts;
89
93
  placeholder?: string;
90
94
  fetchList: (params: {
91
95
  query: string;
@@ -101,7 +105,7 @@ type ExternalField<Props extends any = {
101
105
  initialQuery?: string;
102
106
  filterFields?: Record<string, Field>;
103
107
  initialFilters?: Record<string, any>;
104
- };
108
+ }
105
109
  type CustomFieldRender<Value extends any> = (props: {
106
110
  field: CustomField<Value>;
107
111
  name: string;
@@ -110,19 +114,20 @@ type CustomFieldRender<Value extends any> = (props: {
110
114
  onChange: (value: Value) => void;
111
115
  readOnly?: boolean;
112
116
  }) => ReactElement;
113
- type CustomField<Value extends any> = BaseField & {
117
+ interface CustomField<Value extends any> extends BaseField {
114
118
  type: "custom";
115
119
  render: CustomFieldRender<Value>;
116
120
  contentEditable?: boolean;
117
- };
118
- type SlotField = BaseField & {
121
+ key?: string;
122
+ }
123
+ interface SlotField extends BaseField {
119
124
  type: "slot";
120
125
  allow?: string[];
121
126
  disallow?: string[];
122
- };
127
+ }
123
128
  type Field<ValueType = any, UserField extends {} = {}> = TextField | NumberField | TextareaField | SelectField | RadioField | ArrayField<ValueType extends {
124
129
  [key: string]: any;
125
- }[] ? ValueType : {}[], UserField> | ObjectField<ValueType, UserField> | ExternalField<ValueType> | ExternalFieldWithAdaptor<ValueType> | CustomField<ValueType> | SlotField;
130
+ }[] ? ValueType : never, UserField> | ObjectField<ValueType, UserField> | ExternalField<ValueType> | ExternalFieldWithAdaptor<ValueType> | CustomField<ValueType> | SlotField;
126
131
  type Fields<ComponentProps extends DefaultComponentProps = DefaultComponentProps, UserField extends {} = {}> = {
127
132
  [PropName in keyof Omit<ComponentProps, "editMode">]: UserField extends {
128
133
  type: PropertyKey;
@@ -144,10 +149,11 @@ type DropZoneProps = {
144
149
  minEmptyHeight?: number;
145
150
  className?: string;
146
151
  collisionAxis?: DragAxis;
152
+ as?: ElementType;
147
153
  };
148
154
 
149
155
  type PuckContext = {
150
- renderDropZone: React.FC<DropZoneProps>;
156
+ renderDropZone: (props: DropZoneProps) => React.ReactNode;
151
157
  metadata: Metadata;
152
158
  isEditing: boolean;
153
159
  dragRef: ((element: Element | null) => void) | null;
@@ -197,6 +203,8 @@ type ResolveDataTrigger = "insert" | "replace" | "load" | "force";
197
203
  type WithPartialProps<T, Props extends DefaultComponentProps> = Omit<T, "props"> & {
198
204
  props?: Partial<Props>;
199
205
  };
206
+ interface ComponentConfigExtensions {
207
+ }
200
208
  type ComponentConfigInternal<RenderProps extends DefaultComponentProps, FieldProps extends DefaultComponentProps, DataShape = Omit<ComponentData<FieldProps>, "type">, // NB this doesn't include AllProps, so types will not contain deep slot types. To fix, we require a breaking change.
201
209
  UserField extends BaseField = {}> = {
202
210
  render: PuckComponent<RenderProps>;
@@ -212,6 +220,7 @@ UserField extends BaseField = {}> = {
212
220
  fields: Fields<FieldProps>;
213
221
  lastFields: Fields<FieldProps>;
214
222
  lastData: DataShape | null;
223
+ metadata: ComponentMetadata;
215
224
  appState: AppState;
216
225
  parent: ComponentData | null;
217
226
  }) => Promise<Fields<FieldProps>> | Fields<FieldProps>;
@@ -220,7 +229,7 @@ UserField extends BaseField = {}> = {
220
229
  id: string;
221
230
  }>;
222
231
  lastData: DataShape | null;
223
- metadata: Metadata;
232
+ metadata: ComponentMetadata;
224
233
  trigger: ResolveDataTrigger;
225
234
  }) => Promise<WithPartialProps<DataShape, FieldProps>> | WithPartialProps<DataShape, FieldProps>;
226
235
  resolvePermissions?: (data: DataShape, params: {
@@ -232,8 +241,8 @@ UserField extends BaseField = {}> = {
232
241
  appState: AppState;
233
242
  lastData: DataShape | null;
234
243
  }) => Promise<Partial<Permissions>> | Partial<Permissions>;
235
- metadata?: Metadata;
236
- };
244
+ metadata?: ComponentMetadata;
245
+ } & ComponentConfigExtensions;
237
246
  type ComponentConfig<RenderPropsOrParams extends LeftOrExactRight<RenderPropsOrParams, DefaultComponentProps, ComponentConfigParams> = DefaultComponentProps, FieldProps extends DefaultComponentProps = RenderPropsOrParams extends {
238
247
  props: any;
239
248
  } ? RenderPropsOrParams["props"] : RenderPropsOrParams, DataShape = Omit<ComponentData<FieldProps>, "type">> = RenderPropsOrParams extends ComponentConfigParams<infer ParamsRenderProps, never> ? ComponentConfigInternal<ParamsRenderProps, FieldProps, DataShape, {}> : RenderPropsOrParams extends ComponentConfigParams<infer ParamsRenderProps, infer ParamsFields> ? ComponentConfigInternal<ParamsRenderProps, FieldProps, DataShape, ParamsFields[keyof ParamsFields] & BaseField> : ComponentConfigInternal<RenderPropsOrParams, FieldProps, DataShape>;
@@ -255,7 +264,7 @@ type ConfigInternal<Props extends DefaultComponents = DefaultComponents, RootPro
255
264
  root?: RootConfigInternal<RootProps, UserField>;
256
265
  };
257
266
  type DefaultComponents = Record<string, any>;
258
- type Config<PropsOrParams extends LeftOrExactRight<PropsOrParams, DefaultComponents, ConfigParams> = DefaultComponents | ConfigParams, RootProps extends DefaultComponentProps = DefaultComponentProps, CategoryName extends string = string> = PropsOrParams extends ConfigParams<infer ParamComponents, infer ParamRoot, infer ParamCategoryName, never> ? ConfigInternal<ParamComponents, ParamRoot, ParamCategoryName[number]> : PropsOrParams extends ConfigParams<infer ParamComponents, infer ParamRoot, infer ParamCategoryName, infer ParamFields> ? ConfigInternal<ParamComponents, ParamRoot, ParamCategoryName[number], ParamFields[keyof ParamFields] & BaseField> : PropsOrParams extends ConfigParams<infer ParamComponents, infer ParamRoot, infer ParamCategoryName, any> ? ConfigInternal<ParamComponents, ParamRoot, ParamCategoryName[number], {}> : ConfigInternal<PropsOrParams, RootProps, CategoryName>;
267
+ type Config<PropsOrParams extends LeftOrExactRight<PropsOrParams, DefaultComponents, ConfigParams> = DefaultComponents | ConfigParams, RootProps extends DefaultComponentProps = any, CategoryName extends string = string> = PropsOrParams extends ConfigParams<infer ParamComponents, infer ParamRoot, infer ParamCategoryName, never> ? ConfigInternal<ParamComponents, ParamRoot, ParamCategoryName[number]> : PropsOrParams extends ConfigParams<infer ParamComponents, infer ParamRoot, infer ParamCategoryName, infer ParamFields> ? ConfigInternal<ParamComponents, ParamRoot, ParamCategoryName[number], ParamFields[keyof ParamFields] & BaseField> : PropsOrParams extends ConfigParams<infer ParamComponents, infer ParamRoot, infer ParamCategoryName, any> ? ConfigInternal<ParamComponents, ParamRoot, ParamCategoryName[number], {}> : ConfigInternal<PropsOrParams, RootProps, CategoryName>;
259
268
  type ExtractConfigParams<UserConfig extends ConfigInternal> = UserConfig extends ConfigInternal<infer PropsOrParams, infer RootProps, infer CategoryName, infer UserField> ? {
260
269
  props: PropsOrParams;
261
270
  rootProps: RootProps & DefaultRootFieldProps;
@@ -264,6 +273,16 @@ type ExtractConfigParams<UserConfig extends ConfigInternal> = UserConfig extends
264
273
  type: string;
265
274
  } ? UserField : Field;
266
275
  } : never;
276
+ type ConfigParams<Components extends DefaultComponents = DefaultComponents, RootProps extends DefaultComponentProps = any, CategoryNames extends string[] = string[], UserFields extends FieldsExtension = FieldsExtension> = {
277
+ components?: Components;
278
+ root?: RootProps;
279
+ categories?: CategoryNames;
280
+ fields?: AssertHasValue<UserFields>;
281
+ };
282
+ type ComponentConfigParams<Props extends DefaultComponentProps = DefaultComponentProps, UserFields extends FieldsExtension = never> = {
283
+ props: Props;
284
+ fields?: AssertHasValue<UserFields>;
285
+ };
267
286
 
268
287
  type BaseData<Props extends {
269
288
  [key: string]: any;
@@ -304,11 +323,16 @@ type Data<Components extends DefaultComponents = DefaultComponents, RootProps ex
304
323
  type Metadata = {
305
324
  [key: string]: any;
306
325
  };
326
+ interface PuckMetadata extends Metadata {
327
+ }
328
+ interface ComponentMetadata extends PuckMetadata {
329
+ }
330
+ interface FieldMetadata extends Metadata {
331
+ }
307
332
 
308
333
  type ItemWithId = {
309
334
  _arrayId: string;
310
335
  _originalIndex: number;
311
- _currentIndex: number;
312
336
  };
313
337
  type ArrayState = {
314
338
  items: ItemWithId[];
@@ -319,7 +343,6 @@ type UiState = {
319
343
  rightSideBarVisible: boolean;
320
344
  leftSideBarWidth?: number | null;
321
345
  rightSideBarWidth?: number | null;
322
- mobilePanelExpanded?: boolean;
323
346
  itemSelector: ItemSelector | null;
324
347
  arrayState: Record<string, ArrayState | undefined>;
325
348
  previewMode: "interactive" | "edit";
@@ -332,7 +355,7 @@ type UiState = {
332
355
  isDragging: boolean;
333
356
  viewports: {
334
357
  current: {
335
- width: number | "100%";
358
+ width: number;
336
359
  height: number | "auto";
337
360
  };
338
361
  controlsVisible: boolean;
@@ -341,9 +364,6 @@ type UiState = {
341
364
  field: {
342
365
  focus?: string | null;
343
366
  };
344
- plugin: {
345
- current: string | null;
346
- };
347
367
  };
348
368
  type AppState<UserData extends Data = Data> = {
349
369
  data: UserData;
@@ -377,34 +397,16 @@ type BuiltinTypes = Date | RegExp | Error | Function | symbol | null | undefined
377
397
  type WithDeepSlots<T, SlotType = T> = T extends Slot ? SlotType : T extends (infer U)[] ? Array<WithDeepSlots<U, SlotType>> : T extends (infer U)[] ? WithDeepSlots<U, SlotType>[] : T extends BuiltinTypes ? T : T extends object ? {
378
398
  [K in keyof T]: WithDeepSlots<T[K], SlotType>;
379
399
  } : T;
380
- type ConfigParams<Components extends DefaultComponents = DefaultComponents, RootProps extends DefaultComponentProps = DefaultComponentProps, CategoryNames extends string[] = string[], UserFields extends FieldsExtension = FieldsExtension> = {
381
- components?: Components;
382
- root?: RootProps;
383
- categories?: CategoryNames;
384
- fields?: AssertHasValue<UserFields>;
385
- };
386
400
  type FieldsExtension = {
387
401
  [Type in string]: {
388
402
  type: Type;
389
403
  };
390
404
  };
391
- type ComponentConfigParams<Props extends DefaultComponentProps = DefaultComponentProps, UserFields extends FieldsExtension = never> = {
392
- props: Props;
393
- fields?: AssertHasValue<UserFields>;
394
- };
395
405
  type Exact<T, Target> = Record<Exclude<keyof T, keyof Target>, never>;
396
406
  type LeftOrExactRight<Union, Left, Right> = (Left & Union extends Right ? Exact<Union, Right> : Left) | (Right & Exact<Union, Right>);
397
407
  type AssertHasValue<T, True = T, False = never> = [keyof T] extends [
398
408
  never
399
409
  ] ? False : True;
400
- type RenderFunc<Props extends {
401
- [key: string]: any;
402
- } = {
403
- children: ReactNode;
404
- }> = (props: Props) => ReactElement;
405
- type PluginInternal = Plugin & {
406
- mobileOnly?: boolean;
407
- };
408
410
 
409
411
  type MapFnParams<ThisField = Field> = {
410
412
  value: any;
@@ -428,6 +430,11 @@ G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>, UserField extends
428
430
  [Type in UserField["type"]]: FieldTransformFn<ExtractField<UserField, Type>>;
429
431
  }>;
430
432
 
433
+ type RenderFunc<Props extends {
434
+ [key: string]: any;
435
+ } = {
436
+ children: ReactNode;
437
+ }> = (props: Props) => ReactElement;
431
438
  declare const overrideKeys: readonly ["header", "headerActions", "fields", "fieldLabel", "drawer", "drawerItem", "componentOverlay", "outline", "puck", "preview"];
432
439
  type OverrideKey = (typeof overrideKeys)[number];
433
440
  type OverridesGeneric<Shape extends {
@@ -499,7 +506,7 @@ type DragAxis = "dynamic" | "y" | "x";
499
506
 
500
507
  type iconTypes = "Smartphone" | "Monitor" | "Tablet";
501
508
  type Viewport = {
502
- width: number | "100%";
509
+ width: number;
503
510
  height?: number | "auto";
504
511
  label?: string;
505
512
  icon?: iconTypes | ReactNode;
@@ -519,13 +526,8 @@ type IframeConfig = {
519
526
  };
520
527
  type OnAction<UserData extends Data = Data> = (action: PuckAction, appState: AppState<UserData>, prevAppState: AppState<UserData>) => void;
521
528
  type Plugin<UserConfig extends Config = Config> = {
522
- name?: string;
523
- label?: string;
524
- icon?: ReactNode;
525
- render?: () => ReactElement;
526
529
  overrides?: Partial<Overrides<UserConfig>>;
527
530
  fieldTransforms?: FieldTransforms<UserConfig>;
528
- mobilePanelHeight?: "toggle" | "min-content";
529
531
  };
530
532
  type History<D = any> = {
531
533
  state: D;
@@ -643,4 +645,4 @@ type WalkTreeOptions = {
643
645
  };
644
646
  declare function walkTree<T extends ComponentData | RootData | G["UserData"], UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>>(data: T, config: UserConfig, callbackFn: (data: Content, options: WalkTreeOptions) => Content | null | void): T;
645
647
 
646
- export { type Content as $, type AppState as A, type ItemWithId as B, type Config as C, type DropZoneProps as D, type ArrayState as E, type Fields as F, type SlotComponent as G, type History as H, type IframeConfig as I, type PuckComponent as J, type RootConfig as K, type DefaultComponents as L, type Metadata as M, type ExtractConfigParams as N, type Overrides as O, type Permissions as P, type BaseData as Q, type RootDataWithProps as R, type Slot as S, type RootDataWithoutProps as T, type UserGenerics as U, type Viewports as V, type WithSlotProps as W, type RootData as X, type ComponentDataOptionalId as Y, type MappedItem as Z, type ComponentDataMap as _, type ComponentData as a, type BaseField as a0, type TextField as a1, type NumberField as a2, type TextareaField as a3, type SelectField as a4, type RadioField as a5, type ArrayField as a6, type ObjectField as a7, type Adaptor as a8, type ExternalFieldWithAdaptor as a9, type ExternalField as aa, type CustomFieldRender as ab, type CustomField as ac, type SlotField as ad, type PuckContext as ae, type DefaultRootFieldProps as af, type DefaultRootRenderProps as ag, type DefaultRootProps as ah, type DefaultComponentProps as ai, type WithId as aj, type WithPuckProps as ak, type AsFieldProps as al, type WithChildren as am, type ExtractField as an, type PuckAction as b, type ResolveDataTrigger as c, type Plugin as d, type UiState as e, type ComponentConfig as f, type FieldTransforms as g, type Field as h, type FieldProps as i, type Data as j, type OnAction as k, type InitialHistory as l, migrate as m, type ItemSelector as n, type PluginInternal as o, type Direction as p, type DragAxis as q, resolveAllData as r, type Viewport as s, transformProps as t, type FieldTransformFnParams as u, type FieldTransformFn as v, walkTree as w, overrideKeys as x, type OverrideKey as y, type FieldRenderFunctions as z };
648
+ export { type MappedItem as $, type AppState as A, type ArrayState as B, type Config as C, type DropZoneProps as D, type SlotComponent as E, type Fields as F, type PuckComponent as G, type History as H, type IframeConfig as I, type ComponentConfigExtensions as J, type RootConfig as K, type DefaultComponents as L, type Metadata as M, type ExtractConfigParams as N, type Overrides as O, type Permissions as P, type ConfigParams as Q, type RootDataWithProps as R, type Slot as S, type ComponentConfigParams as T, type UserGenerics as U, type Viewports as V, type WithSlotProps as W, type BaseData as X, type RootDataWithoutProps as Y, type RootData as Z, type ComponentDataOptionalId as _, type ComponentData as a, type ComponentDataMap as a0, type Content as a1, type PuckMetadata as a2, type ComponentMetadata as a3, type FieldMetadata as a4, type BaseField as a5, type TextField as a6, type NumberField as a7, type TextareaField as a8, type SelectField as a9, type RadioField as aa, type ArrayField as ab, type ObjectField as ac, type Adaptor as ad, type ExternalFieldWithAdaptor as ae, type CacheOpts as af, type ExternalField as ag, type CustomFieldRender as ah, type CustomField as ai, type SlotField as aj, type PuckContext as ak, type DefaultRootFieldProps as al, type DefaultRootRenderProps as am, type DefaultRootProps as an, type DefaultComponentProps as ao, type WithId as ap, type WithPuckProps as aq, type AsFieldProps as ar, type WithChildren as as, type ExtractField as at, type PuckAction as b, type ResolveDataTrigger as c, type Plugin as d, type UiState as e, type ComponentConfig as f, type FieldTransforms as g, type Field as h, type FieldProps as i, type Data as j, type OnAction as k, type InitialHistory as l, migrate as m, type ItemSelector as n, type Direction as o, type DragAxis as p, type Viewport as q, resolveAllData as r, type FieldTransformFnParams as s, transformProps as t, type FieldTransformFn as u, overrideKeys as v, walkTree as w, type OverrideKey as x, type FieldRenderFunctions as y, type ItemWithId as z };
package/package.json CHANGED
@@ -1,10 +1,29 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.21.0-canary.d32e582b",
3
+ "version": "0.21.0-canary.dfecd012",
4
+ "description": "The open-source visual editor for React",
4
5
  "author": "Chris Villa <chris@puckeditor.com>",
5
6
  "repository": "measuredco/puck",
6
7
  "bugs": "https://github.com/measuredco/puck/issues",
7
8
  "homepage": "https://puckeditor.com",
9
+ "keywords": [
10
+ "puck",
11
+ "visual",
12
+ "editor",
13
+ "react",
14
+ "drag and drop",
15
+ "dnd",
16
+ "page",
17
+ "website",
18
+ "builder",
19
+ "headless",
20
+ "cms",
21
+ "low-code",
22
+ "no-code",
23
+ "javascript",
24
+ "typescript",
25
+ "WYSIWYG"
26
+ ],
8
27
  "private": false,
9
28
  "main": "./dist/index.js",
10
29
  "types": "./dist/index.d.ts",
@@ -77,7 +96,7 @@
77
96
  "@dnd-kit/helpers": "0.1.18",
78
97
  "@dnd-kit/react": "0.1.18",
79
98
  "deep-diff": "^1.0.2",
80
- "fast-deep-equal": "^3.1.3",
99
+ "fast-equals": "5.2.2",
81
100
  "flat": "^5.0.2",
82
101
  "object-hash": "^3.0.0",
83
102
  "react-hotkeys-hook": "^4.6.1",