@mui/internal-code-infra 0.0.4-canary.74 → 0.0.4-canary.76
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/internal-code-infra",
|
|
3
|
-
"version": "0.0.4-canary.
|
|
3
|
+
"version": "0.0.4-canary.76",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "Infra scripts and configs to be used across MUI repos.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -136,8 +136,8 @@
|
|
|
136
136
|
"yaml": "^2.9.0",
|
|
137
137
|
"yargs": "^18.0.0",
|
|
138
138
|
"@mui/internal-babel-plugin-display-name": "1.0.4-canary.21",
|
|
139
|
-
"@mui/internal-babel-plugin-
|
|
140
|
-
"@mui/internal-babel-plugin-
|
|
139
|
+
"@mui/internal-babel-plugin-minify-errors": "2.0.8-canary.28",
|
|
140
|
+
"@mui/internal-babel-plugin-resolve-imports": "2.0.7-canary.38"
|
|
141
141
|
},
|
|
142
142
|
"peerDependencies": {
|
|
143
143
|
"@next/eslint-plugin-next": "*",
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
"publishConfig": {
|
|
189
189
|
"access": "public"
|
|
190
190
|
},
|
|
191
|
-
"gitSha": "
|
|
191
|
+
"gitSha": "d387c537cc7e94aa070b26dfc6fc45f39bc072c9",
|
|
192
192
|
"scripts": {
|
|
193
193
|
"build": "tsgo -p tsconfig.build.json",
|
|
194
194
|
"typescript": "tsgo -noEmit",
|
|
@@ -189,7 +189,30 @@ if (pageData.status < 200 || pageData.status >= 400) {
|
|
|
189
189
|
rules: {
|
|
190
190
|
// TODO: Enable when subresource integrity is adopted across projects
|
|
191
191
|
'require-sri': 'off',
|
|
192
|
+
// Components that portal their content (menus, selects, listboxes,
|
|
193
|
+
// etc.) wire up aria-controls/aria-labelledby targets only after
|
|
194
|
+
// client hydration, so those targets are absent from the
|
|
195
|
+
// statically rendered HTML. Disable rather than report false
|
|
196
|
+
// positives.
|
|
197
|
+
'no-missing-references': 'off',
|
|
192
198
|
},
|
|
199
|
+
elements: [
|
|
200
|
+
'html5',
|
|
201
|
+
{
|
|
202
|
+
form: {
|
|
203
|
+
attributes: {
|
|
204
|
+
// React renders `action="javascript:throw new Error(...)"` on
|
|
205
|
+
// a <form> with a function action during SSR (a sentinel that
|
|
206
|
+
// throws if the form is submitted before hydration wires up
|
|
207
|
+
// the real handler). Permit that value while keeping the
|
|
208
|
+
// default check (`^\s*\S+\s*$`) for every other action value.
|
|
209
|
+
action: {
|
|
210
|
+
enum: ['/^\\s*\\S+\\s*$/', '/^\\s*javascript:throw new Error\\(/'],
|
|
211
|
+
},
|
|
212
|
+
},
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
],
|
|
193
216
|
},
|
|
194
217
|
...overridePresets,
|
|
195
218
|
},
|