Skip to content

Commit

Permalink
feat: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
amje committed Jan 16, 2025
1 parent feebee9 commit 0a0e7f4
Show file tree
Hide file tree
Showing 8 changed files with 1,719 additions and 2,312 deletions.
9 changes: 7 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,16 @@
"jsx-a11y/no-autofocus": "off",
"import/no-extraneous-dependencies": "off",
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
"@typescript-eslint/prefer-ts-expect-error": "error",
"@typescript-eslint/consistent-type-imports": ["error", {"prefer": "type-imports", "fixStyle": "separate-type-imports"}],
"complexity": "off"
},
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"rules": {
"@typescript-eslint/prefer-ts-expect-error": "error",
"@typescript-eslint/consistent-type-imports": ["error", {"prefer": "type-imports", "fixStyle": "separate-type-imports"}]
}
},
{
"files": ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(spec|test).[jt]s?(x)"],
"env": {
Expand Down
3,949 changes: 1,674 additions & 2,275 deletions package-lock.json

Large diffs are not rendered by default.

66 changes: 33 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,58 +137,58 @@
},
"dependencies": {
"@bem-react/classname": "^1.6.0",
"@floating-ui/react": "^0.27.0",
"@floating-ui/react": "^0.27.3",
"@gravity-ui/i18n": "^1.7.0",
"@gravity-ui/icons": "^2.11.0",
"@tanstack/react-virtual": "^3.10.8",
"@gravity-ui/icons": "^2.12.0",
"@tanstack/react-virtual": "^3.11.2",
"blueimp-md5": "^2.19.0",
"lodash": "^4.17.21",
"rc-slider": "^11.1.7",
"rc-slider": "^11.1.8",
"react-beautiful-dnd": "^13.1.1",
"react-copy-to-clipboard": "^5.1.0",
"react-transition-group": "^4.4.5",
"react-virtualized-auto-sizer": "^1.0.24",
"react-window": "^1.8.10",
"react-virtualized-auto-sizer": "^1.0.25",
"react-window": "^1.8.11",
"tabbable": "^6.2.0",
"tslib": "^2.8.1"
},
"devDependencies": {
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@commitlint/cli": "^19.6.0",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@faker-js/faker": "^9.2.0",
"@gravity-ui/eslint-config": "^3.2.0",
"@faker-js/faker": "^9.4.0",
"@gravity-ui/eslint-config": "^3.3.0",
"@gravity-ui/gulp-utils": "^1.0.0",
"@gravity-ui/prettier-config": "^1.1.0",
"@gravity-ui/stylelint-config": "^4.0.1",
"@gravity-ui/tsconfig": "^1.0.0",
"@playwright/experimental-ct-react": "^1.49.0",
"@playwright/test": "^1.49.0",
"@storybook/addon-a11y": "^8.4.5",
"@storybook/addon-essentials": "^8.4.5",
"@storybook/addon-storysource": "^8.4.5",
"@storybook/addon-a11y": "^8.5.0",
"@storybook/addon-essentials": "^8.5.0",
"@storybook/addon-storysource": "^8.5.0",
"@storybook/addon-styling-webpack": "^1.0.1",
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
"@storybook/cli": "^8.4.5",
"@storybook/manager-api": "^8.4.5",
"@storybook/preview-api": "^8.4.5",
"@storybook/react-webpack5": "^8.4.5",
"@storybook/test-runner": "^0.19.1",
"@storybook/addon-webpack5-compiler-babel": "^3.0.5",
"@storybook/cli": "^8.5.0",
"@storybook/manager-api": "^8.5.0",
"@storybook/preview-api": "^8.5.0",
"@storybook/react-webpack5": "^8.5.0",
"@storybook/test-runner": "^0.21.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@testing-library/react": "^16.2.0",
"@testing-library/user-event": "^14.6.0",
"@types/blueimp-md5": "^2.18.2",
"@types/chroma-js": "^2.4.4",
"@types/chroma-js": "^3.1.0",
"@types/jest": "^29.5.14",
"@types/lodash": "^4.17.13",
"@types/react": "^18.3.12",
"@types/lodash": "^4.17.14",
"@types/react": "^18.3.18",
"@types/react-beautiful-dnd": "^13.1.8",
"@types/react-copy-to-clipboard": "^5.0.7",
"@types/react-dom": "^18.3.1",
"@types/react-transition-group": "^4.4.11",
"@types/react-dom": "^18.3.5",
"@types/react-transition-group": "^4.4.12",
"@types/react-virtualized-auto-sizer": "^1.0.4",
"@types/react-window": "^1.8.8",
"@vitejs/plugin-react": "^4.3.4",
Expand All @@ -204,22 +204,22 @@
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-transform-css": "^6.0.1",
"jest-transform-css": "^6.0.2",
"nano-staged": "^0.8.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.49",
"prettier": "^3.4.1",
"postcss": "^8.5.1",
"prettier": "^3.4.2",
"react": "^18.3.1",
"react-docgen-typescript": "^2.2.2",
"react-dom": "^18.3.1",
"rimraf": "^6.0.1",
"sass": "^1.81.0",
"sass-loader": "^16.0.3",
"storybook": "^8.4.5",
"sass": "^1.83.4",
"sass-loader": "^16.0.4",
"storybook": "^8.5.0",
"stylelint": "^15.11.0",
"stylelint-use-logical": "^2.1.2",
"ts-jest": "^29.2.5",
"typescript": "^5.7.2"
"typescript": "^5.7.3"
},
"peerDependencies": {
"react": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
Expand Down
1 change: 1 addition & 0 deletions playwright/core/expectScreenshotFixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@ export const expectScreenshotFixture: PlaywrightFixture<ExpectScreenshotFixture>
}
};

// eslint-disable-next-line react-hooks/rules-of-hooks
await use(expectScreenshot);
};
1 change: 1 addition & 0 deletions playwright/core/mountFixture.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ export const mountFixture: PlaywrightFixture<MountFixture> = async ({mount: base
);
};

// eslint-disable-next-line react-hooks/rules-of-hooks
await use(mount);
};
2 changes: 1 addition & 1 deletion src/components/FilePreview/FilePreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export function FilePreview({
return () => {
URL.revokeObjectURL(createdUrl);
};
} catch (error: unknown) {
} catch {
return undefined;
}
}, [file, imageSrc]);
Expand Down
1 change: 1 addition & 0 deletions src/components/Icon/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export interface SVGIconSpriteData {
viewBox: string;
}

// eslint-disable-next-line @typescript-eslint/no-unused-vars
class SVGReactComponent extends React.Component<React.SVGProps<SVGSVGElement>> {
static defaultProps: React.SVGProps<SVGSVGElement>;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Palette/__tests__/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('Palette utils', () => {
let hasThrownError = false;
try {
getPaletteRows(options, 0);
} catch (error) {
} catch {
hasThrownError = true;
}
expect(hasThrownError).toEqual(true);
Expand Down

0 comments on commit 0a0e7f4

Please sign in to comment.