chore(): Update dependencies usage (#13910)
* chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * fix for wxios 1.6 * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * push scripts * update build concurrency * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * fixes * update yarn * fixes * fix script * Create heavy-suns-tickle.md * update changeset --------- Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
This commit is contained in:
co-authored by
Carlos R. L. Rodrigues
parent
4e5b318583
commit
224ab39a81
@@ -20,23 +20,23 @@
|
||||
"devDependencies": {
|
||||
"@medusajs/types": "2.11.2",
|
||||
"@types/compression": "^1.7.5",
|
||||
"express": "^4.21.0",
|
||||
"tsup": "^8.0.1",
|
||||
"typescript": "^5.3.3"
|
||||
"@types/express": "^4.17.21",
|
||||
"tsup": "^8.4.0",
|
||||
"typescript": "^5.6.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@medusajs/admin-shared": "2.11.2",
|
||||
"@medusajs/admin-vite-plugin": "2.11.2",
|
||||
"@medusajs/dashboard": "2.11.2",
|
||||
"@vitejs/plugin-react": "^4.2.1",
|
||||
"autoprefixer": "^10.4.16",
|
||||
"compression": "^1.7.4",
|
||||
"autoprefixer": "^10.4.19",
|
||||
"compression": "^1.8.0",
|
||||
"express": "^4.21.0",
|
||||
"get-port": "^5.1.1",
|
||||
"glob": "^10.3.10",
|
||||
"glob": "^10.4.5",
|
||||
"outdent": "^0.8.0",
|
||||
"postcss": "^8.4.32",
|
||||
"tailwindcss": "^3.3.6",
|
||||
"postcss": "^8.4.38",
|
||||
"tailwindcss": "^3.4.3",
|
||||
"vite": "^5.4.14"
|
||||
},
|
||||
"packageManager": "yarn@3.2.1"
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.3.2",
|
||||
"tsup": "^8.0.1",
|
||||
"typescript": "^5.3.3"
|
||||
"tsup": "^8.4.0",
|
||||
"typescript": "^5.6.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@medusajs/admin-shared": "2.11.2",
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.3.2",
|
||||
"tsup": "^8.0.2",
|
||||
"typescript": "^5.3.3"
|
||||
"tsup": "^8.4.0",
|
||||
"typescript": "^5.6.2"
|
||||
},
|
||||
"packageManager": "yarn@3.2.1"
|
||||
}
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
"types": "dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts"
|
||||
"require": "./dist/index.js"
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
@@ -27,14 +27,14 @@
|
||||
"test:watch": "vitest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.10.4",
|
||||
"tsup": "8.0.1",
|
||||
"typescript": "5.3.3",
|
||||
"@types/node": "^20.12.11",
|
||||
"tsup": "^8.4.0",
|
||||
"typescript": "^5.6.2",
|
||||
"vite": "^5.4.14",
|
||||
"vitest": "^3.0.5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vite": "^5.0.0"
|
||||
"vite": "^5.4.14"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/parser": "7.25.6",
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
"types": "dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"import": "./dist/app.mjs",
|
||||
"require": "./dist/app.js",
|
||||
"types": "./dist/index.d.ts"
|
||||
"require": "./dist/app.js"
|
||||
},
|
||||
"./css": {
|
||||
"import": "./dist/app.css",
|
||||
@@ -40,6 +40,7 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"@ariakit/react": "^0.4.15",
|
||||
"@babel/runtime": "^7.26.10",
|
||||
"@dnd-kit/core": "^6.1.0",
|
||||
"@dnd-kit/sortable": "^8.0.0",
|
||||
"@dnd-kit/utilities": "^3.2.2",
|
||||
@@ -61,15 +62,17 @@
|
||||
"i18next": "23.7.11",
|
||||
"i18next-browser-languagedetector": "7.2.0",
|
||||
"i18next-http-backend": "2.4.2",
|
||||
"lodash": "^4.17.21",
|
||||
"lodash.debounce": "^4.0.8",
|
||||
"lodash.isequal": "^4.5.0",
|
||||
"lodash.set": "^4.3.2",
|
||||
"match-sorter": "^6.3.4",
|
||||
"motion": "^11.15.0",
|
||||
"qs": "^6.12.0",
|
||||
"qs": "^6.12.1",
|
||||
"radix-ui": "1.1.2",
|
||||
"react": "^18.2.0",
|
||||
"react": "^18.3.1",
|
||||
"react-country-flag": "^3.1.0",
|
||||
"react-currency-input-field": "^3.6.11",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-helmet-async": "^2.0.5",
|
||||
"react-hook-form": "7.49.1",
|
||||
"react-i18next": "13.5.0",
|
||||
@@ -82,17 +85,19 @@
|
||||
"@medusajs/admin-vite-plugin": "2.11.2",
|
||||
"@medusajs/types": "2.11.2",
|
||||
"@medusajs/ui-preset": "2.11.2",
|
||||
"@types/node": "^20.11.15",
|
||||
"@types/react": "^18.2.79",
|
||||
"@types/lodash.debounce": "^4.0.9",
|
||||
"@types/lodash.isequal": "^4.5.8",
|
||||
"@types/node": "^20.12.11",
|
||||
"@types/react": "^18.3.2",
|
||||
"@types/react-dom": "^18.2.25",
|
||||
"@vitejs/plugin-react": "4.2.1",
|
||||
"@vitejs/plugin-react": "^4.2.1",
|
||||
"ajv": "^8.17.1",
|
||||
"autoprefixer": "^10.4.17",
|
||||
"postcss": "^8.4.33",
|
||||
"prettier": "^3.1.1",
|
||||
"tailwindcss": "^3.4.1",
|
||||
"tsup": "^8.0.2",
|
||||
"typescript": "5.2.2",
|
||||
"autoprefixer": "^10.4.19",
|
||||
"postcss": "^8.4.38",
|
||||
"prettier": "^2.8.8",
|
||||
"tailwindcss": "^3.4.3",
|
||||
"tsup": "^8.4.0",
|
||||
"typescript": "^5.6.2",
|
||||
"vite": "^5.4.14",
|
||||
"vite-plugin-inspect": "^0.8.7",
|
||||
"vitest": "^3.0.5"
|
||||
|
||||
+6
-5
@@ -1,5 +1,4 @@
|
||||
import get from "lodash/get"
|
||||
import set from "lodash/set"
|
||||
import set from "lodash.set"
|
||||
import { useCallback } from "react"
|
||||
import { FieldValues, Path, PathValue, UseFormReturn } from "react-hook-form"
|
||||
|
||||
@@ -18,7 +17,7 @@ type UseDataGridFormHandlersOptions<TData, TFieldValues extends FieldValues> = {
|
||||
|
||||
export const useDataGridFormHandlers = <
|
||||
TData,
|
||||
TFieldValues extends FieldValues
|
||||
TFieldValues extends FieldValues,
|
||||
>({
|
||||
matrix,
|
||||
form,
|
||||
@@ -140,7 +139,7 @@ function convertToggleableNumber(value: any): {
|
||||
}
|
||||
|
||||
function setValue<
|
||||
T extends DataGridToggleableNumber = DataGridToggleableNumber
|
||||
T extends DataGridToggleableNumber = DataGridToggleableNumber,
|
||||
>(
|
||||
currentValues: any,
|
||||
field: string,
|
||||
@@ -162,7 +161,9 @@ function setValueToggleableNumber(
|
||||
newValue: DataGridToggleableNumber,
|
||||
isHistory?: boolean
|
||||
) {
|
||||
const currentValue = get(currentValues, field)
|
||||
const currentValue = field
|
||||
.split(".")
|
||||
.reduce((obj, key) => obj?.[key], currentValues)
|
||||
const { disabledToggle } = currentValue
|
||||
|
||||
const normalizeQuantity = (value: number | string | null | undefined) => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Input } from "@medusajs/ui"
|
||||
import { debounce } from "lodash"
|
||||
import debounce from "lodash.debounce"
|
||||
import { ChangeEvent, useCallback, useEffect, useState } from "react"
|
||||
import { useTranslation } from "react-i18next"
|
||||
import { useSearchParams } from "react-router-dom"
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
import { EllipseMiniSolid } from "@medusajs/icons"
|
||||
import { DatePicker, Text, clx } from "@medusajs/ui"
|
||||
import isEqual from "lodash/isEqual"
|
||||
import isEqual from "lodash.isequal"
|
||||
import { Popover as RadixPopover } from "radix-ui"
|
||||
import { useMemo, useState } from "react"
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
import { EllipseMiniSolid } from "@medusajs/icons"
|
||||
import { Input, Label, clx } from "@medusajs/ui"
|
||||
import { debounce } from "lodash"
|
||||
import debounce from "lodash.debounce"
|
||||
import {
|
||||
Popover as RadixPopover,
|
||||
RadioGroup as RadixRadioGroup,
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
import { Input, Label, clx } from "@medusajs/ui"
|
||||
import { debounce } from "lodash"
|
||||
import debounce from "lodash.debounce"
|
||||
import { Popover as RadixPopover } from "radix-ui"
|
||||
import { ChangeEvent, useCallback, useEffect, useState } from "react"
|
||||
import { useSelectedParams } from "../hooks"
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ import { Input } from "@medusajs/ui"
|
||||
import { ChangeEvent, useCallback, useEffect } from "react"
|
||||
import { useTranslation } from "react-i18next"
|
||||
|
||||
import { debounce } from "lodash"
|
||||
import debounce from "lodash.debounce"
|
||||
import { useSelectedParams } from "../hooks"
|
||||
|
||||
type DataTableSearchProps = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import debounce from "lodash/debounce"
|
||||
import debounce from "lodash.debounce"
|
||||
import { useCallback, useEffect, useState } from "react"
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import debounceFn from "lodash/debounce"
|
||||
import { default as debounceFn } from "lodash.debounce"
|
||||
import { useCallback, useContext, useEffect, useState } from "react"
|
||||
import { useTranslation } from "react-i18next"
|
||||
import { useNavigate } from "react-router-dom"
|
||||
|
||||
Reference in New Issue
Block a user