@mui/codemod 5.10.3 → 5.10.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.
Files changed (3) hide show
  1. package/README.md +9 -2
  2. package/codemod.js +0 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -993,8 +993,15 @@ npx @mui/codemod v5.0.0/theme-options <path>
993
993
  Renames `type` to `mode`.
994
994
 
995
995
  ```diff
996
- - { palette: { type: 'dark' } }
997
- + { palette: { mode: 'dark' } }
996
+ {
997
+ palette: {
998
+ - type: 'dark',
999
+ + mode: 'dark',
1000
+ },
1001
+ }
1002
+ ```
1003
+
1004
+ ```diff
998
1005
  -theme.palette.type === 'dark'
999
1006
  +theme.palette.mode === 'dark'
1000
1007
  ```
package/codemod.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/codemod",
3
- "version": "5.10.3",
3
+ "version": "5.10.4",
4
4
  "bin": "./codemod.js",
5
5
  "private": false,
6
6
  "author": "MUI Team",