@mui/internal-code-infra 0.0.3-canary.94 → 0.0.3-canary.96

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.3-canary.94",
3
+ "version": "0.0.3-canary.96",
4
4
  "description": "Infra scripts and configs to be used across MUI repos.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -51,11 +51,11 @@
51
51
  "dependencies": {
52
52
  "@argos-ci/core": "^4.5.0",
53
53
  "@babel/cli": "^7.28.6",
54
- "@babel/core": "^7.28.6",
54
+ "@babel/core": "^7.29.0",
55
55
  "@babel/plugin-syntax-jsx": "^7.28.6",
56
56
  "@babel/plugin-syntax-typescript": "^7.28.6",
57
- "@babel/plugin-transform-runtime": "^7.28.5",
58
- "@babel/preset-env": "^7.28.6",
57
+ "@babel/plugin-transform-runtime": "^7.29.0",
58
+ "@babel/preset-env": "^7.29.0",
59
59
  "@babel/preset-react": "^7.28.5",
60
60
  "@babel/preset-typescript": "^7.28.5",
61
61
  "@eslint/compat": "^2.0.2",
@@ -68,9 +68,9 @@
68
68
  "@octokit/oauth-methods": "^6.0.2",
69
69
  "@octokit/rest": "^22.0.1",
70
70
  "@pnpm/find-workspace-dir": "^1000.1.3",
71
- "@typescript-eslint/types": "^8.54.0",
72
- "@typescript-eslint/utils": "^8.54.0",
73
- "@vitest/eslint-plugin": "^1.6.6",
71
+ "@typescript-eslint/types": "^8.56.0",
72
+ "@typescript-eslint/utils": "^8.56.0",
73
+ "@vitest/eslint-plugin": "^1.6.9",
74
74
  "babel-plugin-optimize-clsx": "^2.6.2",
75
75
  "babel-plugin-react-compiler": "^1.0.0",
76
76
  "babel-plugin-transform-import-meta": "^2.3.3",
@@ -78,27 +78,27 @@
78
78
  "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
79
79
  "babel-plugin-transform-remove-imports": "^1.8.1",
80
80
  "chalk": "^5.6.2",
81
- "clipboardy": "^5.0.2",
81
+ "clipboardy": "^5.3.0",
82
82
  "content-type": "^1.0.5",
83
83
  "env-ci": "^11.2.0",
84
84
  "eslint-config-prettier": "^10.1.8",
85
85
  "eslint-import-resolver-typescript": "^4.4.4",
86
86
  "eslint-module-utils": "^2.12.1",
87
- "eslint-plugin-compat": "^6.1.0",
87
+ "eslint-plugin-compat": "^6.2.0",
88
88
  "eslint-plugin-import": "^2.32.0",
89
89
  "eslint-plugin-jsx-a11y": "^6.10.2",
90
90
  "eslint-plugin-mocha": "^11.2.0",
91
91
  "eslint-plugin-react": "^7.37.5",
92
92
  "eslint-plugin-react-compiler": "^19.1.0-rc.2",
93
93
  "eslint-plugin-react-hooks": "^7.0.1",
94
- "eslint-plugin-testing-library": "^7.15.4",
95
- "es-toolkit": "^1.43.0",
94
+ "eslint-plugin-testing-library": "^7.16.0",
95
+ "es-toolkit": "^1.44.0",
96
96
  "execa": "^9.6.1",
97
97
  "git-url-parse": "^16.1.0",
98
98
  "globals": "^16.5.0",
99
- "globby": "^16.1.0",
100
- "minimatch": "^10.1.1",
101
- "node-html-parser": "^7.0.1",
99
+ "globby": "^16.1.1",
100
+ "minimatch": "^10.2.2",
101
+ "node-html-parser": "^7.0.2",
102
102
  "open": "^10.2.0",
103
103
  "postcss-styled-syntax": "^0.7.1",
104
104
  "regexp.escape": "^2.0.1",
@@ -108,14 +108,14 @@
108
108
  "remark-parse": "^11.0.0",
109
109
  "remark-rehype": "^11.1.2",
110
110
  "resolve-pkg-maps": "^1.0.0",
111
- "semver": "^7.7.3",
111
+ "semver": "^7.7.4",
112
112
  "stylelint-config-standard": "^40.0.0",
113
- "typescript-eslint": "^8.54.0",
113
+ "typescript-eslint": "^8.56.0",
114
114
  "unified": "^11.0.5",
115
115
  "yargs": "^18.0.0",
116
- "@mui/internal-babel-plugin-minify-errors": "2.0.8-canary.21",
117
- "@mui/internal-babel-plugin-display-name": "1.0.4-canary.12",
118
- "@mui/internal-babel-plugin-resolve-imports": "2.0.7-canary.31"
116
+ "@mui/internal-babel-plugin-resolve-imports": "2.0.7-canary.32",
117
+ "@mui/internal-babel-plugin-minify-errors": "2.0.8-canary.22",
118
+ "@mui/internal-babel-plugin-display-name": "1.0.4-canary.13"
119
119
  },
120
120
  "peerDependencies": {
121
121
  "@next/eslint-plugin-next": "*",
@@ -143,13 +143,13 @@
143
143
  "@types/estree-jsx": "1.0.5",
144
144
  "@types/regexp.escape": "2.0.0",
145
145
  "@types/yargs": "17.0.35",
146
- "@typescript-eslint/parser": "8.54.0",
147
- "@typescript-eslint/rule-tester": "8.54.0",
146
+ "@typescript-eslint/parser": "8.56.0",
147
+ "@typescript-eslint/rule-tester": "8.56.0",
148
148
  "eslint": "9.39.2",
149
149
  "get-port": "7.1.0",
150
- "prettier": "3.7.4",
150
+ "prettier": "3.8.1",
151
151
  "serve": "14.2.5",
152
- "typescript-eslint": "8.54.0"
152
+ "typescript-eslint": "8.56.0"
153
153
  },
154
154
  "files": [
155
155
  "bin",
@@ -161,7 +161,7 @@
161
161
  "publishConfig": {
162
162
  "access": "public"
163
163
  },
164
- "gitSha": "c0101909662d4d3db7eed81ec210f16708dd7535",
164
+ "gitSha": "b788836647750acde70e3f136f3a7f8f8d6c62bf",
165
165
  "scripts": {
166
166
  "build": "tsgo -p tsconfig.build.json",
167
167
  "typescript": "tsgo -p tsconfig.json",
@@ -147,7 +147,9 @@ export default async function extractErrorCodes(args) {
147
147
  Object.entries(existingErrorCodes).map(([key, value]) => [value, Number(key)]),
148
148
  );
149
149
  const originalErrorCount = inverseLookupCode.size;
150
- let newErrorCodeStart = Math.max(...Array.from(inverseLookupCode.values()));
150
+ let newErrorCodeStart =
151
+ inverseLookupCode.size > 0 ? Math.max(...Array.from(inverseLookupCode.values())) : 0;
152
+
151
153
  if (newErrorCodeStart !== originalErrorCount) {
152
154
  console.warn(
153
155
  `⚠️ Warning: Detected a gap in the error codes. Current max code is ${newErrorCodeStart}, but there are only ${originalErrorCount} existing codes.\nThis can happen when codes have been removed. New codes will continue from the highest existing code.`,