diff --git a/docs/package.json b/docs/package.json index 4e7d0638b4ab..d567c492b07a 100644 --- a/docs/package.json +++ b/docs/package.json @@ -61,7 +61,7 @@ "core-js": "^2.6.12", "cross-env": "^7.0.3", "d3-scale-chromatic": "^3.1.0", - "date-fns": "^2.30.0", + "date-fns": "^4.1.0", "date-fns-jalali": "^2.30.0-0", "dayjs": "^1.11.13", "doctrine": "^3.0.0", diff --git a/packages/x-data-grid-premium/package.json b/packages/x-data-grid-premium/package.json index a4b728197627..1a9381514fcd 100644 --- a/packages/x-data-grid-premium/package.json +++ b/packages/x-data-grid-premium/package.json @@ -76,7 +76,7 @@ "@mui/material": "^5.16.7", "@mui/system": "^5.16.7", "@types/prop-types": "^15.7.13", - "date-fns": "^2.30.0", + "date-fns": "^4.1.0", "rimraf": "^6.0.1" }, "engines": { diff --git a/packages/x-date-pickers-pro/package.json b/packages/x-date-pickers-pro/package.json index 3a6790f31f02..e579ba6545b6 100644 --- a/packages/x-date-pickers-pro/package.json +++ b/packages/x-date-pickers-pro/package.json @@ -101,7 +101,7 @@ "@mui/system": "^5.16.7", "@types/luxon": "^3.4.2", "@types/prop-types": "^15.7.13", - "date-fns": "^2.30.0", + "date-fns": "^4.1.0", "date-fns-jalali": "^2.30.0-0", "dayjs": "^1.11.13", "luxon": "^3.5.0", diff --git a/packages/x-date-pickers/package.json b/packages/x-date-pickers/package.json index 0157530cd51e..8fa0d8372437 100644 --- a/packages/x-date-pickers/package.json +++ b/packages/x-date-pickers/package.json @@ -105,7 +105,7 @@ "@types/moment-hijri": "^2.1.4", "@types/moment-jalaali": "^0.7.9", "@types/prop-types": "^15.7.13", - "date-fns": "^2.30.0", + "date-fns": "^4.1.0", "date-fns-jalali": "^2.30.0-0", "dayjs": "^1.11.13", "luxon": "^3.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e62821132aad..6bf4b430674f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -531,8 +531,8 @@ importers: specifier: ^3.1.0 version: 3.1.0 date-fns: - specifier: ^2.30.0 - version: 2.30.0 + specifier: ^4.1.0 + version: 4.1.0 date-fns-jalali: specifier: ^2.30.0-0 version: 2.30.0-0 @@ -1142,8 +1142,8 @@ importers: specifier: ^15.7.13 version: 15.7.13 date-fns: - specifier: ^2.30.0 - version: 2.30.0 + specifier: ^4.1.0 + version: 4.1.0 rimraf: specifier: ^6.0.1 version: 6.0.1 @@ -1266,8 +1266,8 @@ importers: specifier: ^15.7.13 version: 15.7.13 date-fns: - specifier: ^2.30.0 - version: 2.30.0 + specifier: ^4.1.0 + version: 4.1.0 date-fns-jalali: specifier: ^2.30.0-0 version: 2.30.0-0 @@ -1355,8 +1355,8 @@ importers: specifier: ^15.7.13 version: 15.7.13 date-fns: - specifier: ^2.30.0 - version: 2.30.0 + specifier: ^4.1.0 + version: 4.1.0 date-fns-jalali: specifier: ^2.30.0-0 version: 2.30.0-0 @@ -5480,10 +5480,6 @@ packages: date-fns-jalali@3.6.0-1: resolution: {integrity: sha512-f4FlXArA3kE0uW27y/2AJjRevb6x7DaLMjJfxw7CEXC+XK/JXbZ/WVHND5l1zq2VZsssRrXRWWS0u9NGwawVsQ==} - date-fns@2.30.0: - resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==} - engines: {node: '>=0.11'} - date-fns@4.1.0: resolution: {integrity: sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==} @@ -14659,10 +14655,6 @@ snapshots: date-fns-jalali@3.6.0-1: {} - date-fns@2.30.0: - dependencies: - '@babel/runtime': 7.26.0 - date-fns@4.1.0: {} date-format@4.0.14: {}