@strapi/admin 5.12.3 → 5.12.4

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.
@@ -41,11 +41,15 @@ var ContextSelector__namespace = /*#__PURE__*/_interopNamespaceDefault(ContextSe
41
41
  children: children
42
42
  });
43
43
  };
44
- function useContext(consumerName, selector) {
44
+ function useContext(consumerName, selector, shouldThrowOnMissingContext) {
45
45
  return ContextSelector__namespace.useContextSelector(Context, (ctx)=>{
46
+ // The context is available, return the selected value
46
47
  if (ctx) return selector(ctx);
47
- // it's a required context.
48
- throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
48
+ // The context is not available, either return undefined or throw an error
49
+ if (shouldThrowOnMissingContext) {
50
+ throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
51
+ }
52
+ return undefined;
49
53
  });
50
54
  }
51
55
  Provider.displayName = rootComponentName + 'Provider';
@@ -1 +1 @@
1
- {"version":3,"file":"Context.js","sources":["../../../../../admin/src/components/Context.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport * as ContextSelector from 'use-context-selector';\n\n/**\n * @experimental\n * @description Create a context provider and a hook to consume the context.\n *\n * @warning this may be removed to the design-system instead of becoming stable.\n */\nfunction createContext<ContextValueType extends object | null>(\n rootComponentName: string,\n defaultContext?: ContextValueType\n) {\n const Context = ContextSelector.createContext<ContextValueType | undefined>(defaultContext);\n\n const Provider = (props: ContextValueType & { children: React.ReactNode }) => {\n const { children, ...context } = props;\n // Only re-memoize when prop values change\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const value = React.useMemo(() => context, Object.values(context)) as ContextValueType;\n\n return <Context.Provider value={value}>{children}</Context.Provider>;\n };\n\n function useContext<Selected>(\n consumerName: string,\n selector: (value: ContextValueType) => Selected\n ): Selected {\n return ContextSelector.useContextSelector(Context, (ctx) => {\n if (ctx) return selector(ctx);\n // it's a required context.\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n });\n }\n\n Provider.displayName = rootComponentName + 'Provider';\n\n return [Provider, useContext] as const;\n}\n\nexport { createContext };\n"],"names":["createContext","rootComponentName","defaultContext","Context","ContextSelector","Provider","props","children","context","value","React","useMemo","Object","values","_jsx","useContext","consumerName","selector","useContextSelector","ctx","Error","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAIA;;;;;AAKC,IACD,SAASA,aAAAA,CACPC,iBAAyB,EACzBC,cAAiC,EAAA;IAEjC,MAAMC,OAAAA,GAAUC,0BAAgBJ,CAAAA,aAAa,CAA+BE,cAAAA,CAAAA;AAE5E,IAAA,MAAMG,WAAW,CAACC,KAAAA,GAAAA;AAChB,QAAA,MAAM,EAAEC,QAAQ,EAAE,GAAGC,SAAS,GAAGF,KAAAA;;;QAGjC,MAAMG,KAAAA,GAAQC,iBAAMC,OAAO,CAAC,IAAMH,OAASI,EAAAA,MAAAA,CAAOC,MAAM,CAACL,OAAAA,CAAAA,CAAAA;QAEzD,qBAAOM,cAAA,CAACX,QAAQE,QAAQ,EAAA;YAACI,KAAOA,EAAAA,KAAAA;AAAQF,YAAAA,QAAAA,EAAAA;;AAC1C,KAAA;IAEA,SAASQ,UAAAA,CACPC,YAAoB,EACpBC,QAA+C,EAAA;AAE/C,QAAA,OAAOb,0BAAgBc,CAAAA,kBAAkB,CAACf,OAAAA,EAAS,CAACgB,GAAAA,GAAAA;YAClD,IAAIA,GAAAA,EAAK,OAAOF,QAASE,CAAAA,GAAAA,CAAAA;;YAEzB,MAAM,IAAIC,KAAM,CAAA,CAAC,EAAE,EAAEJ,aAAa,yBAAyB,EAAEf,iBAAkB,CAAA,EAAE,CAAC,CAAA;AACpF,SAAA,CAAA;AACF;IAEAI,QAASgB,CAAAA,WAAW,GAAGpB,iBAAoB,GAAA,UAAA;IAE3C,OAAO;AAACI,QAAAA,QAAAA;AAAUU,QAAAA;AAAW,KAAA;AAC/B;;;;"}
1
+ {"version":3,"file":"Context.js","sources":["../../../../../admin/src/components/Context.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport * as ContextSelector from 'use-context-selector';\n\n/**\n * @experimental\n * @description Create a context provider and a hook to consume the context.\n *\n * @warning this may be removed to the design-system instead of becoming stable.\n */\nfunction createContext<ContextValueType extends object | null>(\n rootComponentName: string,\n defaultContext?: ContextValueType\n) {\n const Context = ContextSelector.createContext<ContextValueType | undefined>(defaultContext);\n\n const Provider = (props: ContextValueType & { children: React.ReactNode }) => {\n const { children, ...context } = props;\n // Only re-memoize when prop values change\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const value = React.useMemo(() => context, Object.values(context)) as ContextValueType;\n\n return <Context.Provider value={value}>{children}</Context.Provider>;\n };\n\n function useContext<Selected, ShouldThrow extends boolean = true>(\n consumerName: string,\n selector: (value: ContextValueType) => Selected,\n shouldThrowOnMissingContext?: ShouldThrow\n ) {\n return ContextSelector.useContextSelector(Context, (ctx) => {\n // The context is available, return the selected value\n if (ctx) return selector(ctx);\n\n // The context is not available, either return undefined or throw an error\n if (shouldThrowOnMissingContext) {\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n\n return undefined;\n }) as ShouldThrow extends true ? Selected : Selected | undefined;\n }\n\n Provider.displayName = rootComponentName + 'Provider';\n\n return [Provider, useContext] as const;\n}\n\nexport { createContext };\n"],"names":["createContext","rootComponentName","defaultContext","Context","ContextSelector","Provider","props","children","context","value","React","useMemo","Object","values","_jsx","useContext","consumerName","selector","shouldThrowOnMissingContext","useContextSelector","ctx","Error","undefined","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAIA;;;;;AAKC,IACD,SAASA,aAAAA,CACPC,iBAAyB,EACzBC,cAAiC,EAAA;IAEjC,MAAMC,OAAAA,GAAUC,0BAAgBJ,CAAAA,aAAa,CAA+BE,cAAAA,CAAAA;AAE5E,IAAA,MAAMG,WAAW,CAACC,KAAAA,GAAAA;AAChB,QAAA,MAAM,EAAEC,QAAQ,EAAE,GAAGC,SAAS,GAAGF,KAAAA;;;QAGjC,MAAMG,KAAAA,GAAQC,iBAAMC,OAAO,CAAC,IAAMH,OAASI,EAAAA,MAAAA,CAAOC,MAAM,CAACL,OAAAA,CAAAA,CAAAA;QAEzD,qBAAOM,cAAA,CAACX,QAAQE,QAAQ,EAAA;YAACI,KAAOA,EAAAA,KAAAA;AAAQF,YAAAA,QAAAA,EAAAA;;AAC1C,KAAA;AAEA,IAAA,SAASQ,UACPC,CAAAA,YAAoB,EACpBC,QAA+C,EAC/CC,2BAAyC,EAAA;AAEzC,QAAA,OAAOd,0BAAgBe,CAAAA,kBAAkB,CAAChB,OAAAA,EAAS,CAACiB,GAAAA,GAAAA;;YAElD,IAAIA,GAAAA,EAAK,OAAOH,QAASG,CAAAA,GAAAA,CAAAA;;AAGzB,YAAA,IAAIF,2BAA6B,EAAA;gBAC/B,MAAM,IAAIG,KAAM,CAAA,CAAC,EAAE,EAAEL,aAAa,yBAAyB,EAAEf,iBAAkB,CAAA,EAAE,CAAC,CAAA;AACpF;YAEA,OAAOqB,SAAAA;AACT,SAAA,CAAA;AACF;IAEAjB,QAASkB,CAAAA,WAAW,GAAGtB,iBAAoB,GAAA,UAAA;IAE3C,OAAO;AAACI,QAAAA,QAAAA;AAAUU,QAAAA;AAAW,KAAA;AAC/B;;;;"}
@@ -19,11 +19,15 @@ import * as ContextSelector from 'use-context-selector';
19
19
  children: children
20
20
  });
21
21
  };
22
- function useContext(consumerName, selector) {
22
+ function useContext(consumerName, selector, shouldThrowOnMissingContext) {
23
23
  return ContextSelector.useContextSelector(Context, (ctx)=>{
24
+ // The context is available, return the selected value
24
25
  if (ctx) return selector(ctx);
25
- // it's a required context.
26
- throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
26
+ // The context is not available, either return undefined or throw an error
27
+ if (shouldThrowOnMissingContext) {
28
+ throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
29
+ }
30
+ return undefined;
27
31
  });
28
32
  }
29
33
  Provider.displayName = rootComponentName + 'Provider';
@@ -1 +1 @@
1
- {"version":3,"file":"Context.mjs","sources":["../../../../../admin/src/components/Context.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport * as ContextSelector from 'use-context-selector';\n\n/**\n * @experimental\n * @description Create a context provider and a hook to consume the context.\n *\n * @warning this may be removed to the design-system instead of becoming stable.\n */\nfunction createContext<ContextValueType extends object | null>(\n rootComponentName: string,\n defaultContext?: ContextValueType\n) {\n const Context = ContextSelector.createContext<ContextValueType | undefined>(defaultContext);\n\n const Provider = (props: ContextValueType & { children: React.ReactNode }) => {\n const { children, ...context } = props;\n // Only re-memoize when prop values change\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const value = React.useMemo(() => context, Object.values(context)) as ContextValueType;\n\n return <Context.Provider value={value}>{children}</Context.Provider>;\n };\n\n function useContext<Selected>(\n consumerName: string,\n selector: (value: ContextValueType) => Selected\n ): Selected {\n return ContextSelector.useContextSelector(Context, (ctx) => {\n if (ctx) return selector(ctx);\n // it's a required context.\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n });\n }\n\n Provider.displayName = rootComponentName + 'Provider';\n\n return [Provider, useContext] as const;\n}\n\nexport { createContext };\n"],"names":["createContext","rootComponentName","defaultContext","Context","ContextSelector","Provider","props","children","context","value","React","useMemo","Object","values","_jsx","useContext","consumerName","selector","useContextSelector","ctx","Error","displayName"],"mappings":";;;;AAIA;;;;;AAKC,IACD,SAASA,aAAAA,CACPC,iBAAyB,EACzBC,cAAiC,EAAA;IAEjC,MAAMC,OAAAA,GAAUC,eAAgBJ,CAAAA,aAAa,CAA+BE,cAAAA,CAAAA;AAE5E,IAAA,MAAMG,WAAW,CAACC,KAAAA,GAAAA;AAChB,QAAA,MAAM,EAAEC,QAAQ,EAAE,GAAGC,SAAS,GAAGF,KAAAA;;;QAGjC,MAAMG,KAAAA,GAAQC,MAAMC,OAAO,CAAC,IAAMH,OAASI,EAAAA,MAAAA,CAAOC,MAAM,CAACL,OAAAA,CAAAA,CAAAA;QAEzD,qBAAOM,GAAA,CAACX,QAAQE,QAAQ,EAAA;YAACI,KAAOA,EAAAA,KAAAA;AAAQF,YAAAA,QAAAA,EAAAA;;AAC1C,KAAA;IAEA,SAASQ,UAAAA,CACPC,YAAoB,EACpBC,QAA+C,EAAA;AAE/C,QAAA,OAAOb,eAAgBc,CAAAA,kBAAkB,CAACf,OAAAA,EAAS,CAACgB,GAAAA,GAAAA;YAClD,IAAIA,GAAAA,EAAK,OAAOF,QAASE,CAAAA,GAAAA,CAAAA;;YAEzB,MAAM,IAAIC,KAAM,CAAA,CAAC,EAAE,EAAEJ,aAAa,yBAAyB,EAAEf,iBAAkB,CAAA,EAAE,CAAC,CAAA;AACpF,SAAA,CAAA;AACF;IAEAI,QAASgB,CAAAA,WAAW,GAAGpB,iBAAoB,GAAA,UAAA;IAE3C,OAAO;AAACI,QAAAA,QAAAA;AAAUU,QAAAA;AAAW,KAAA;AAC/B;;;;"}
1
+ {"version":3,"file":"Context.mjs","sources":["../../../../../admin/src/components/Context.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport * as ContextSelector from 'use-context-selector';\n\n/**\n * @experimental\n * @description Create a context provider and a hook to consume the context.\n *\n * @warning this may be removed to the design-system instead of becoming stable.\n */\nfunction createContext<ContextValueType extends object | null>(\n rootComponentName: string,\n defaultContext?: ContextValueType\n) {\n const Context = ContextSelector.createContext<ContextValueType | undefined>(defaultContext);\n\n const Provider = (props: ContextValueType & { children: React.ReactNode }) => {\n const { children, ...context } = props;\n // Only re-memoize when prop values change\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const value = React.useMemo(() => context, Object.values(context)) as ContextValueType;\n\n return <Context.Provider value={value}>{children}</Context.Provider>;\n };\n\n function useContext<Selected, ShouldThrow extends boolean = true>(\n consumerName: string,\n selector: (value: ContextValueType) => Selected,\n shouldThrowOnMissingContext?: ShouldThrow\n ) {\n return ContextSelector.useContextSelector(Context, (ctx) => {\n // The context is available, return the selected value\n if (ctx) return selector(ctx);\n\n // The context is not available, either return undefined or throw an error\n if (shouldThrowOnMissingContext) {\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n\n return undefined;\n }) as ShouldThrow extends true ? Selected : Selected | undefined;\n }\n\n Provider.displayName = rootComponentName + 'Provider';\n\n return [Provider, useContext] as const;\n}\n\nexport { createContext };\n"],"names":["createContext","rootComponentName","defaultContext","Context","ContextSelector","Provider","props","children","context","value","React","useMemo","Object","values","_jsx","useContext","consumerName","selector","shouldThrowOnMissingContext","useContextSelector","ctx","Error","undefined","displayName"],"mappings":";;;;AAIA;;;;;AAKC,IACD,SAASA,aAAAA,CACPC,iBAAyB,EACzBC,cAAiC,EAAA;IAEjC,MAAMC,OAAAA,GAAUC,eAAgBJ,CAAAA,aAAa,CAA+BE,cAAAA,CAAAA;AAE5E,IAAA,MAAMG,WAAW,CAACC,KAAAA,GAAAA;AAChB,QAAA,MAAM,EAAEC,QAAQ,EAAE,GAAGC,SAAS,GAAGF,KAAAA;;;QAGjC,MAAMG,KAAAA,GAAQC,MAAMC,OAAO,CAAC,IAAMH,OAASI,EAAAA,MAAAA,CAAOC,MAAM,CAACL,OAAAA,CAAAA,CAAAA;QAEzD,qBAAOM,GAAA,CAACX,QAAQE,QAAQ,EAAA;YAACI,KAAOA,EAAAA,KAAAA;AAAQF,YAAAA,QAAAA,EAAAA;;AAC1C,KAAA;AAEA,IAAA,SAASQ,UACPC,CAAAA,YAAoB,EACpBC,QAA+C,EAC/CC,2BAAyC,EAAA;AAEzC,QAAA,OAAOd,eAAgBe,CAAAA,kBAAkB,CAAChB,OAAAA,EAAS,CAACiB,GAAAA,GAAAA;;YAElD,IAAIA,GAAAA,EAAK,OAAOH,QAASG,CAAAA,GAAAA,CAAAA;;AAGzB,YAAA,IAAIF,2BAA6B,EAAA;gBAC/B,MAAM,IAAIG,KAAM,CAAA,CAAC,EAAE,EAAEL,aAAa,yBAAyB,EAAEf,iBAAkB,CAAA,EAAE,CAAC,CAAA;AACpF;YAEA,OAAOqB,SAAAA;AACT,SAAA,CAAA;AACF;IAEAjB,QAASkB,CAAAA,WAAW,GAAGtB,iBAAoB,GAAA,UAAA;IAE3C,OAAO;AAACI,QAAAA,QAAAA;AAAUU,QAAAA;AAAW,KAAA;AAC/B;;;;"}
@@ -10,5 +10,5 @@ declare function createContext<ContextValueType extends object | null>(rootCompo
10
10
  children: React.ReactNode;
11
11
  }): import("react/jsx-runtime").JSX.Element;
12
12
  displayName: string;
13
- }, <Selected>(consumerName: string, selector: (value: ContextValueType) => Selected) => Selected];
13
+ }, <Selected, ShouldThrow extends boolean = true>(consumerName: string, selector: (value: ContextValueType) => Selected, shouldThrowOnMissingContext?: ShouldThrow) => ShouldThrow extends true ? Selected : Selected | undefined];
14
14
  export { createContext };
@@ -34,7 +34,7 @@ interface FormContextValue<TFormValues extends FormValues = FormValues> extends
34
34
  errors: FormErrors<TFormValues>;
35
35
  }>;
36
36
  }
37
- declare const useForm: <Selected>(consumerName: string, selector: (value: FormContextValue<FormValues>) => Selected) => Selected;
37
+ declare const useForm: <Selected, ShouldThrow extends boolean = true>(consumerName: string, selector: (value: FormContextValue<FormValues>) => Selected, shouldThrowOnMissingContext?: ShouldThrow | undefined) => ShouldThrow extends true ? Selected : Selected | undefined;
38
38
  interface FormHelpers<TFormValues extends FormValues = FormValues> extends Pick<FormContextValue<TFormValues>, 'setErrors' | 'setValues' | 'resetForm'> {
39
39
  }
40
40
  interface FormProps<TFormValues extends FormValues = FormValues> extends Partial<Pick<FormContextValue<TFormValues>, 'disabled' | 'initialValues'>>, Pick<BoxProps, 'width' | 'height'> {
@@ -31,7 +31,7 @@ interface GuidedTourContextValue {
31
31
  setStepState: (step: Step, state: boolean) => void;
32
32
  startSection: (section: SectionKey) => void;
33
33
  }
34
- declare const useGuidedTour: <Selected>(consumerName: string, selector: (value: GuidedTourContextValue) => Selected) => Selected;
34
+ declare const useGuidedTour: <Selected, ShouldThrow extends boolean = true>(consumerName: string, selector: (value: GuidedTourContextValue) => Selected, shouldThrowOnMissingContext?: ShouldThrow | undefined) => ShouldThrow extends true ? Selected : Selected | undefined;
35
35
  interface GuidedTourProviderProps {
36
36
  children: React.ReactNode;
37
37
  }
@@ -32,7 +32,7 @@ interface TableContextValue<TRow extends BaseRow, THeader extends TableHeader<TR
32
32
  selectedRows: TRow[];
33
33
  selectRow: (row: TRow | TRow[]) => void;
34
34
  }
35
- declare const useTable: <Selected>(consumerName: string, selector: (value: TableContextValue<any, any>) => Selected) => Selected;
35
+ declare const useTable: <Selected, ShouldThrow extends boolean = true>(consumerName: string, selector: (value: TableContextValue<any, any>) => Selected, shouldThrowOnMissingContext?: ShouldThrow | undefined) => ShouldThrow extends true ? Selected : Selected | undefined;
36
36
  interface RootProps<TRow extends BaseRow, THeader extends TableHeader<TRow, THeader>> extends Partial<Pick<TableContextValue<TRow, THeader>, 'footer' | 'headers' | 'isLoading' | 'rows' | 'selectedRows'>> {
37
37
  children?: React.ReactNode;
38
38
  defaultSelectedRows?: TRow[];
@@ -17,6 +17,6 @@ declare const AppInfoProvider: {
17
17
  children: import("react").ReactNode;
18
18
  }): import("react/jsx-runtime").JSX.Element;
19
19
  displayName: string;
20
- }, useAppInfo: <Selected>(consumerName: string, selector: (value: AppInfoContextValue) => Selected) => Selected;
20
+ }, useAppInfo: <Selected, ShouldThrow extends boolean = true>(consumerName: string, selector: (value: AppInfoContextValue) => Selected, shouldThrowOnMissingContext?: ShouldThrow | undefined) => ShouldThrow extends true ? Selected : Selected | undefined;
21
21
  export { AppInfoProvider, useAppInfo };
22
22
  export type { AppInfoContextValue };
@@ -26,7 +26,7 @@ interface AuthContextValue {
26
26
  token: string | null;
27
27
  user?: User;
28
28
  }
29
- declare const useAuth: <Selected>(consumerName: string, selector: (value: AuthContextValue) => Selected) => Selected;
29
+ declare const useAuth: <Selected, ShouldThrow extends boolean = true>(consumerName: string, selector: (value: AuthContextValue) => Selected, shouldThrowOnMissingContext?: ShouldThrow | undefined) => ShouldThrow extends true ? Selected : Selected | undefined;
30
30
  interface AuthProviderProps {
31
31
  children: React.ReactNode;
32
32
  /**
@@ -35,7 +35,7 @@ interface HistoryContextValue extends HistoryState {
35
35
  */
36
36
  goBack: () => void;
37
37
  }
38
- declare const useHistory: <Selected>(consumerName: string, selector: (value: HistoryContextValue) => Selected) => Selected;
38
+ declare const useHistory: <Selected, ShouldThrow extends boolean = true>(consumerName: string, selector: (value: HistoryContextValue) => Selected, shouldThrowOnMissingContext?: ShouldThrow | undefined) => ShouldThrow extends true ? Selected : Selected | undefined;
39
39
  interface HistoryProviderProps {
40
40
  children: React.ReactNode;
41
41
  }
@@ -13,6 +13,6 @@ declare const StrapiAppProvider: {
13
13
  children: import("react").ReactNode;
14
14
  }): import("react/jsx-runtime").JSX.Element;
15
15
  displayName: string;
16
- }, useStrapiApp: <Selected>(consumerName: string, selector: (value: StrapiAppContextValue) => Selected) => Selected;
16
+ }, useStrapiApp: <Selected, ShouldThrow extends boolean = true>(consumerName: string, selector: (value: StrapiAppContextValue) => Selected, shouldThrowOnMissingContext?: ShouldThrow | undefined) => ShouldThrow extends true ? Selected : Selected | undefined;
17
17
  export { StrapiAppProvider, useStrapiApp };
18
18
  export type { StrapiAppContextValue };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/admin",
3
- "version": "5.12.3",
3
+ "version": "5.12.4",
4
4
  "description": "Strapi Admin",
5
5
  "repository": {
6
6
  "type": "git",
@@ -84,16 +84,16 @@
84
84
  "@radix-ui/react-context": "1.0.1",
85
85
  "@radix-ui/react-toolbar": "1.0.4",
86
86
  "@reduxjs/toolkit": "1.9.7",
87
- "@strapi/design-system": "2.0.0-rc.18",
88
- "@strapi/icons": "2.0.0-rc.18",
89
- "@strapi/permissions": "5.12.3",
90
- "@strapi/types": "5.12.3",
91
- "@strapi/typescript-utils": "5.12.3",
92
- "@strapi/utils": "5.12.3",
87
+ "@strapi/design-system": "2.0.0-rc.21",
88
+ "@strapi/icons": "2.0.0-rc.21",
89
+ "@strapi/permissions": "5.12.4",
90
+ "@strapi/types": "5.12.4",
91
+ "@strapi/typescript-utils": "5.12.4",
92
+ "@strapi/utils": "5.12.4",
93
93
  "@testing-library/dom": "10.1.0",
94
94
  "@testing-library/react": "15.0.7",
95
95
  "@testing-library/user-event": "14.5.2",
96
- "axios": "1.8.2",
96
+ "axios": "1.8.4",
97
97
  "bcryptjs": "2.4.3",
98
98
  "boxen": "5.1.2",
99
99
  "chalk": "^4.1.2",
@@ -143,8 +143,8 @@
143
143
  "zod": "^3.22.4"
144
144
  },
145
145
  "devDependencies": {
146
- "@strapi/admin-test-utils": "5.12.3",
147
- "@strapi/data-transfer": "5.12.3",
146
+ "@strapi/admin-test-utils": "5.12.4",
147
+ "@strapi/data-transfer": "5.12.4",
148
148
  "@types/codemirror5": "npm:@types/codemirror@^5.60.15",
149
149
  "@types/fs-extra": "11.0.4",
150
150
  "@types/invariant": "2.2.36",
@@ -167,7 +167,7 @@
167
167
  "react-dom": "18.3.1",
168
168
  "react-router-dom": "6.22.3",
169
169
  "styled-components": "6.1.8",
170
- "vite": "5.4.15",
170
+ "vite": "5.4.17",
171
171
  "vite-plugin-dts": "^4.3.0"
172
172
  },
173
173
  "peerDependencies": {