@mui/x-codemod 8.0.0-beta.2 → 8.0.0-beta.3
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.
package/README.md
CHANGED
|
@@ -385,6 +385,8 @@ The list includes these props:
|
|
|
385
385
|
- `unstable_lazyLoading` to `lazyLoading`
|
|
386
386
|
- `unstable_lazyLoadingRequestThrottleMs` to `lazyLoadingRequestThrottleMs`
|
|
387
387
|
- `unstable_onDataSourceError` to `onDataSourceError`
|
|
388
|
+
- `unstable_listView` to `listView`
|
|
389
|
+
- `unstable_listColumn` to `listViewColumn`
|
|
388
390
|
|
|
389
391
|
```diff
|
|
390
392
|
<DataGrid
|
|
@@ -394,12 +396,16 @@ The list includes these props:
|
|
|
394
396
|
- unstable_lazyLoading
|
|
395
397
|
- unstable_lazyLoadingRequestThrottleMs={100}
|
|
396
398
|
- unstable_onDataSourceError={() => {}}
|
|
399
|
+
- unstable_listView
|
|
400
|
+
- unstable_listColumn={{}}
|
|
397
401
|
+ rowSpanning
|
|
398
402
|
+ dataSource={dataSource}
|
|
399
403
|
+ dataSourceCache={dataSourceCache}
|
|
400
404
|
+ lazyLoading
|
|
401
405
|
+ lazyLoadingRequestThrottleMs={100}
|
|
402
406
|
+ onDataSourceError={() => {}}
|
|
407
|
+
+ listView
|
|
408
|
+
+ listViewColumn={{}}
|
|
403
409
|
/>
|
|
404
410
|
```
|
|
405
411
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-codemod",
|
|
3
|
-
"version": "8.0.0-beta.
|
|
3
|
+
"version": "8.0.0-beta.3",
|
|
4
4
|
"bin": "./codemod.js",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "MUI Team",
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@babel/core": "^7.26.10",
|
|
29
|
-
"@babel/runtime": "^7.
|
|
30
|
-
"@babel/traverse": "^7.
|
|
29
|
+
"@babel/runtime": "^7.27.0",
|
|
30
|
+
"@babel/traverse": "^7.27.0",
|
|
31
31
|
"jscodeshift": "17.1.2",
|
|
32
32
|
"yargs": "^17.7.2",
|
|
33
|
-
"@mui/x-internals": "8.0.0-beta.
|
|
33
|
+
"@mui/x-internals": "8.0.0-beta.3"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/jscodeshift": "^0.12.0",
|
|
37
37
|
"dayjs": "^1.11.13",
|
|
38
|
-
"moment-timezone": "^0.5.
|
|
38
|
+
"moment-timezone": "^0.5.48",
|
|
39
39
|
"rimraf": "^6.0.1"
|
|
40
40
|
},
|
|
41
41
|
"sideEffects": false,
|
|
@@ -13,7 +13,9 @@ const props = {
|
|
|
13
13
|
unstable_dataSourceCache: 'dataSourceCache',
|
|
14
14
|
unstable_lazyLoading: 'lazyLoading',
|
|
15
15
|
unstable_lazyLoadingRequestThrottleMs: 'lazyLoadingRequestThrottleMs',
|
|
16
|
-
unstable_onDataSourceError: 'onDataSourceError'
|
|
16
|
+
unstable_onDataSourceError: 'onDataSourceError',
|
|
17
|
+
unstable_listView: 'listView',
|
|
18
|
+
unstable_listColumn: 'listViewColumn'
|
|
17
19
|
};
|
|
18
20
|
function transformer(file, api, options) {
|
|
19
21
|
const j = api.jscodeshift;
|