Skip to content

Commit 1e75630

Browse files
committed
build(deps): bump deps to latest and fix eslint errors
1 parent ab13194 commit 1e75630

File tree

28 files changed

+1750
-1987
lines changed

28 files changed

+1750
-1987
lines changed

apps/docs/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,36 +64,36 @@
6464
"react-dom": "^18.3.1",
6565
"react-window": "^1.8.11",
6666
"server-only": "^0.0.1",
67-
"sharp": "^0.34.1"
67+
"sharp": "^0.34.2"
6868
},
6969
"devDependencies": {
7070
"@algolia/client-search": "^5.25.0",
7171
"@eslint/eslintrc": "^3.3.1",
72-
"@mlaursen/eslint-config": "^8.0.0",
73-
"@next/eslint-plugin-next": "^15.3.2",
72+
"@mlaursen/eslint-config": "^8.0.1",
73+
"@next/eslint-plugin-next": "^15.3.3",
7474
"@types/js-cookie": "^3.0.6",
75-
"@types/lodash": "^4.17.16",
75+
"@types/lodash": "^4.17.17",
7676
"@types/mdx": "^2.0.13",
77-
"@types/node": "^22.15.18",
77+
"@types/node": "^22.15.29",
7878
"@types/react": "^18.3.12",
7979
"@types/react-dom": "^18.3.1",
8080
"@types/react-window": "^1.8.8",
8181
"chokidar": "^4.0.3",
82-
"eslint": "^9.26.0",
82+
"eslint": "^9.28.0",
8383
"glob": "^11.0.2",
8484
"nodemon": "^3.1.10",
8585
"npm-run-all": "^4.1.5",
8686
"prettier": "^3.5.3",
8787
"sass": "^1.89.0",
8888
"sassdoc-generator": "workspace:*",
89-
"stylelint": "^16.19.1",
89+
"stylelint": "^16.20.0",
9090
"stylelint-config-prettier-scss": "^1.0.0",
91-
"stylelint-config-recommended-scss": "^15.0.0",
91+
"stylelint-config-recommended-scss": "^15.0.1",
9292
"stylelint-order": "^7.0.0",
9393
"stylelint-scss": "^6.12.0",
9494
"svgo": "^3.3.2",
9595
"tsx": "^4.19.4",
96-
"typedoc": "^0.28.4",
96+
"typedoc": "^0.28.5",
9797
"typescript": "^5.8.3"
9898
},
9999
"volta": {

apps/docs/src/app/(main)/(markdown)/(demos)/components/box/MaterialGridCustomizationExample.tsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,18 @@ const applyVarGroup = (
8383
value?: ValueOrBreakpoints,
8484
style?: CSSProperties
8585
): CSSProperties | undefined => {
86-
style = applyVar(type, "", value, style);
86+
let combinedStyle = applyVar(type, "", value, style);
8787
if (value && typeof value === "object") {
8888
BREAKPOINTS.forEach((breakpoint) => {
89-
style = applyVar(type, breakpoint, value[breakpoint], style);
89+
combinedStyle = applyVar(
90+
type,
91+
breakpoint,
92+
value[breakpoint],
93+
combinedStyle
94+
);
9095
});
9196
}
92-
return style;
97+
return combinedStyle;
9398
};
9499

95100
interface GridCellStyles {

apps/docs/src/app/(main)/(markdown)/(demos)/components/menu/MenuItemRadioExample.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const decorations = [
1616
type Decoration = (typeof decorations)[number];
1717

1818
const getDecoration = (decoration: Decoration): TextDecoration | undefined => {
19-
if (decoration == "none") {
19+
if (decoration === "none") {
2020
return undefined;
2121
}
2222

apps/docs/src/utils/strings.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ export const upperFirst = <S extends string>(s: S): Capitalize<S> =>
2020
*/
2121
export const camelCase = (s: string, separator = ""): string =>
2222
words(s).reduce((result, word, i) => {
23-
word = word.toLowerCase();
24-
return result + (i ? separator : "") + (i ? upperFirst(word) : word);
23+
const w = word.toLowerCase();
24+
return result + (i ? separator : "") + (i ? upperFirst(w) : w);
2525
}, "");
2626

2727
/**

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,19 @@
4242
},
4343
"devDependencies": {
4444
"@changesets/cli": "^2.29.4",
45-
"@inquirer/confirm": "^5.1.10",
46-
"@inquirer/input": "^4.1.10",
47-
"@inquirer/rawlist": "^4.1.1",
48-
"@octokit/core": "^6.1.5",
45+
"@inquirer/confirm": "^5.1.12",
46+
"@inquirer/input": "^4.1.12",
47+
"@inquirer/rawlist": "^4.1.3",
48+
"@octokit/core": "^7.0.2",
4949
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
5050
"cross-env": "^7.0.3",
5151
"dotenv": "^16.5.0",
52-
"eslint": "^9.26.0",
52+
"eslint": "^9.28.0",
5353
"husky": "^9.1.7",
54-
"lint-staged": "^16.0.0",
54+
"lint-staged": "^16.1.0",
5555
"prettier": "^3.5.3",
5656
"tsx": "^4.19.4",
57-
"turbo": "^2.5.3",
57+
"turbo": "^2.5.4",
5858
"typescript": "^5.8.3"
5959
},
6060
"engines": {

packages/@types__sassdoc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"license": "MIT",
2525
"devDependencies": {
2626
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
27-
"@types/node": "^22.15.18",
27+
"@types/node": "^22.15.29",
2828
"prettier": "^3.5.3",
2929
"typescript": "^5.8.3"
3030
},

packages/code/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,31 +58,31 @@
5858
"devDependencies": {
5959
"@jest/globals": "^29.7.0",
6060
"@jest/types": "^29.6.3",
61-
"@mlaursen/eslint-config": "^8.0.0",
61+
"@mlaursen/eslint-config": "^8.0.1",
6262
"@swc/cli": "^0.6.0",
63-
"@swc/core": "^1.11.22",
63+
"@swc/core": "^1.11.29",
6464
"@swc/jest": "^0.2.38",
6565
"@testing-library/dom": "^10.4.0",
6666
"@testing-library/jest-dom": "^6.6.3",
6767
"@testing-library/react": "^16.3.0",
6868
"@testing-library/user-event": "^14.6.1",
6969
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
70-
"@types/node": "^22.15.18",
70+
"@types/node": "^22.15.29",
7171
"@types/prismjs": "^1.26.5",
7272
"@types/react": "^18.3.12",
7373
"@types/react-dom": "^18.3.1",
7474
"chokidar-cli": "^3.0.0",
75-
"eslint": "^9.26.0",
75+
"eslint": "^9.28.0",
7676
"jest": "^29.7.0",
7777
"jest-environment-jsdom": "^29.7.0",
7878
"jest-watch-typeahead": "^2.2.2",
7979
"npm-run-all": "^4.1.5",
80-
"postcss": "^8.5.3",
80+
"postcss": "^8.5.4",
8181
"postcss-selector-parser": "^7.1.0",
8282
"sass": "^1.89.0",
83-
"stylelint": "^16.19.1",
83+
"stylelint": "^16.20.0",
8484
"stylelint-config-prettier-scss": "^1.0.0",
85-
"stylelint-config-recommended-scss": "^15.0.0",
85+
"stylelint-config-recommended-scss": "^15.0.1",
8686
"stylelint-order": "^7.0.0",
8787
"stylelint-scss": "^6.12.0",
8888
"typescript": "^5.8.3"

packages/code/src/WalkChildren.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const WalkChildren = memo(function WalkChildren(
3232

3333
let start = 0;
3434
let match: RegExpExecArray | null;
35-
while ((match = regex.exec(child)) != null) {
35+
while ((match = regex.exec(child)) !== null) {
3636
const [color] = match;
3737
const prefix = child.substring(start, match.index);
3838
start = match.index + color.length;

packages/codemod/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,31 +44,31 @@
4444
"node": ">=18"
4545
},
4646
"dependencies": {
47-
"@inquirer/confirm": "^5.1.10",
48-
"@inquirer/input": "^4.1.10",
49-
"@inquirer/rawlist": "^4.1.1",
50-
"@inquirer/search": "^3.0.13",
51-
"commander": "^13.1.0",
47+
"@inquirer/confirm": "^5.1.12",
48+
"@inquirer/input": "^4.1.12",
49+
"@inquirer/rawlist": "^4.1.3",
50+
"@inquirer/search": "^3.0.15",
51+
"commander": "^14.0.0",
5252
"glob": "^11.0.2",
5353
"jscodeshift": "^17.3.0",
54-
"postcss": "^8.5.3",
54+
"postcss": "^8.5.4",
5555
"postcss-scss": "^4.0.9",
5656
"postcss-value-parser": "^4.2.0"
5757
},
5858
"devDependencies": {
59-
"@babel/core": "^7.27.1",
59+
"@babel/core": "^7.27.4",
6060
"@babel/preset-env": "^7.27.2",
6161
"@jest/globals": "^29.7.0",
6262
"@jest/types": "^29.6.3",
63-
"@mlaursen/eslint-config": "^8.0.0",
63+
"@mlaursen/eslint-config": "^8.0.1",
6464
"@swc/cli": "^0.6.0",
65-
"@swc/core": "^1.11.22",
65+
"@swc/core": "^1.11.29",
6666
"@swc/jest": "^0.2.38",
6767
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
6868
"@types/glob": "^8.1.0",
6969
"@types/jscodeshift": "^17.3.0",
70-
"@types/node": "^22.15.18",
71-
"eslint": "^9.26.0",
70+
"@types/node": "^22.15.29",
71+
"eslint": "^9.28.0",
7272
"identity-obj-proxy": "^3.0.0",
7373
"jest": "^29.7.0",
7474
"jest-watch-typeahead": "^2.2.2",

packages/codemod/src/transforms/v5-to-v6/form/utils/select/createOptionsDotMap.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ export function createOptionsDotMap({
141141
}: CreateOptionsDotMapOptions): ArrowFunctionExpression {
142142
let statements: StatementKind[] = [];
143143
if (!label || !value) {
144+
// eslint-disable-next-line no-param-reassign
144145
({ label, value, statements } = createDefaultLabelValueGetters({
145146
j,
146147
option,

0 commit comments

Comments
 (0)