Bump dependencies (#4017)
This commit is contained in:
parent
098beaa8ef
commit
0f5bdc05be
@ -9,6 +9,7 @@
|
|||||||
"no-null",
|
"no-null",
|
||||||
"simple-import-sort",
|
"simple-import-sort",
|
||||||
"react-hooks-static-deps",
|
"react-hooks-static-deps",
|
||||||
|
"jsx-expressions",
|
||||||
"eslint-multitab-tt"
|
"eslint-multitab-tt"
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
@ -114,7 +115,14 @@
|
|||||||
"ignoreDOMComponents": true
|
"ignoreDOMComponents": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"jsx-expressions/strict-logical-expressions": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"allowString": true
|
||||||
|
}
|
||||||
|
],
|
||||||
"jsx-a11y/click-events-have-key-events": "off",
|
"jsx-a11y/click-events-have-key-events": "off",
|
||||||
|
"jsx-a11y/mouse-events-have-key-events": "off",
|
||||||
"jsx-a11y/no-static-element-interactions": "off",
|
"jsx-a11y/no-static-element-interactions": "off",
|
||||||
"jsx-a11y/label-has-associated-control": "off",
|
"jsx-a11y/label-has-associated-control": "off",
|
||||||
"jsx-a11y/anchor-is-valid": "off",
|
"jsx-a11y/anchor-is-valid": "off",
|
||||||
|
|||||||
986
dev/eslint-multitab/package-lock.json
generated
986
dev/eslint-multitab/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -22,9 +22,9 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"chalk": "^5.3.0",
|
"chalk": "^5.3.0",
|
||||||
"eslint": "^8.49.0",
|
"eslint": "^8.55.0",
|
||||||
"eslint-doc-generator": "^1.4.3",
|
"eslint-doc-generator": "^1.6.1",
|
||||||
"eslint-plugin-eslint-plugin": "^5.1.1",
|
"eslint-plugin-eslint-plugin": "^5.2.1",
|
||||||
"eslint-plugin-node": "^11.1.0",
|
"eslint-plugin-node": "^11.1.0",
|
||||||
"mocha": "^10.2.0",
|
"mocha": "^10.2.0",
|
||||||
"npm-run-all": "^4.1.5"
|
"npm-run-all": "^4.1.5"
|
||||||
|
|||||||
9751
package-lock.json
generated
9751
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
69
package.json
69
package.json
@ -53,53 +53,54 @@
|
|||||||
"author": "Alexander Zinchuk (alexander@zinchuk.com)",
|
"author": "Alexander Zinchuk (alexander@zinchuk.com)",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.22.20",
|
"@babel/core": "^7.23.6",
|
||||||
"@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
|
"@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
|
||||||
"@babel/plugin-transform-class-properties": "^7.22.5",
|
"@babel/plugin-transform-class-properties": "^7.23.3",
|
||||||
"@babel/plugin-transform-logical-assignment-operators": "^7.22.11",
|
"@babel/plugin-transform-logical-assignment-operators": "^7.23.4",
|
||||||
"@babel/preset-env": "^7.22.20",
|
"@babel/preset-env": "^7.23.6",
|
||||||
"@babel/preset-react": "^7.22.15",
|
"@babel/preset-react": "^7.23.3",
|
||||||
"@babel/preset-typescript": "^7.22.15",
|
"@babel/preset-typescript": "^7.23.3",
|
||||||
"@babel/register": "^7.22.15",
|
"@babel/register": "^7.22.15",
|
||||||
"@electron/rebuild": "^3.3.0",
|
"@electron/rebuild": "^3.4.1",
|
||||||
"@glen/jest-raw-loader": "^2.0.0",
|
"@glen/jest-raw-loader": "^2.0.0",
|
||||||
"@playwright/test": "^1.38.1",
|
"@playwright/test": "^1.40.1",
|
||||||
"@statoscope/cli": "5.28.0",
|
"@statoscope/cli": "5.28.2",
|
||||||
"@statoscope/webpack-plugin": "5.28.0",
|
"@statoscope/webpack-plugin": "5.28.2",
|
||||||
"@testing-library/jest-dom": "^6.1.3",
|
"@testing-library/jest-dom": "^6.1.5",
|
||||||
"@twbs/fantasticon": "^2.7.1",
|
"@twbs/fantasticon": "^2.7.1",
|
||||||
"@types/croppie": "^2.6.2",
|
"@types/croppie": "^2.6.4",
|
||||||
"@types/hast": "^3.0.1",
|
"@types/hast": "^3.0.3",
|
||||||
"@types/jest": "^29.5.5",
|
"@types/jest": "^29.5.11",
|
||||||
"@types/react": "^18.2.23",
|
"@types/react": "^18.2.43",
|
||||||
"@types/react-dom": "^18.2.8",
|
"@types/react-dom": "^18.2.17",
|
||||||
"@types/webpack": "^5.28.3",
|
"@types/webpack": "^5.28.5",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.7.3",
|
"@typescript-eslint/eslint-plugin": "^6.13.2",
|
||||||
"@typescript-eslint/parser": "^6.7.3",
|
"@typescript-eslint/parser": "^6.13.2",
|
||||||
"@webpack-cli/serve": "^2.0.5",
|
"@webpack-cli/serve": "^2.0.5",
|
||||||
"autoprefixer": "^10.4.16",
|
"autoprefixer": "^10.4.16",
|
||||||
"babel-loader": "^9.1.3",
|
"babel-loader": "^9.1.3",
|
||||||
"babel-plugin-transform-import-meta": "^2.2.1",
|
"babel-plugin-transform-import-meta": "^2.2.1",
|
||||||
"browserlist": "^1.0.1",
|
"browserlist": "^1.0.1",
|
||||||
"buffer": "^6.0.3",
|
"buffer": "^6.0.3",
|
||||||
"concurrently": "^8.2.1",
|
"concurrently": "^8.2.2",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"css-loader": "^6.8.1",
|
"css-loader": "^6.8.1",
|
||||||
"dotenv": "^16.3.1",
|
"dotenv": "^16.3.1",
|
||||||
"electron": "^22.3.25",
|
"electron": "^22.3.27",
|
||||||
"electron-builder": "^24.6.4",
|
"electron-builder": "^24.9.1",
|
||||||
"electron-context-menu": "^3.6.1",
|
"electron-context-menu": "^3.6.1",
|
||||||
"electron-store": "^8.1.0",
|
"electron-store": "^8.1.0",
|
||||||
"electron-updater": "^6.1.4",
|
"electron-updater": "^6.1.7",
|
||||||
"electronmon": "^2.0.2",
|
"electronmon": "^2.0.2",
|
||||||
"eslint": "^8.50.0",
|
"eslint": "^8.55.0",
|
||||||
"eslint-config-airbnb": "^19.0.4",
|
"eslint-config-airbnb": "^19.0.4",
|
||||||
"eslint-config-airbnb-typescript": "^17.1.0",
|
"eslint-config-airbnb-typescript": "^17.1.0",
|
||||||
"eslint-config-teact-app": "git+https://github.com/zubiden/eslint-config-teact-app#213da32ab42cd46663395cccfd1a33f0c8b09732",
|
"eslint-config-teact-app": "git+https://github.com/zubiden/eslint-config-teact-app#5968833968eb48fb799bab941af7f9c3ebb1a005",
|
||||||
"eslint-import-resolver-webpack": "^0.13.7",
|
"eslint-import-resolver-webpack": "^0.13.8",
|
||||||
"eslint-plugin-eslint-multitab-tt": "file:dev/eslint-multitab",
|
"eslint-plugin-eslint-multitab-tt": "file:dev/eslint-multitab",
|
||||||
"eslint-plugin-flowtype": "^8.0.3",
|
"eslint-plugin-flowtype": "^8.0.3",
|
||||||
"eslint-plugin-jsx-a11y": "^6.7.1",
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
||||||
|
"eslint-plugin-jsx-expressions": "^1.3.2",
|
||||||
"eslint-plugin-no-async-without-await": "^1.2.0",
|
"eslint-plugin-no-async-without-await": "^1.2.0",
|
||||||
"eslint-plugin-no-null": "^1.0.2",
|
"eslint-plugin-no-null": "^1.0.2",
|
||||||
"eslint-plugin-react": "^7.33.2",
|
"eslint-plugin-react": "^7.33.2",
|
||||||
@ -109,29 +110,29 @@
|
|||||||
"eslint-plugin-teactn": "git+https://github.com/korenskoy/eslint-plugin-teactn#c2c39dd005d58c07c24c4361de804dce1c6261b5",
|
"eslint-plugin-teactn": "git+https://github.com/korenskoy/eslint-plugin-teactn#c2c39dd005d58c07c24c4361de804dce1c6261b5",
|
||||||
"git-revision-webpack-plugin": "^5.0.0",
|
"git-revision-webpack-plugin": "^5.0.0",
|
||||||
"gitlog": "^4.0.8",
|
"gitlog": "^4.0.8",
|
||||||
"html-webpack-plugin": "^5.5.3",
|
"html-webpack-plugin": "^5.5.4",
|
||||||
"husky": "^8.0.3",
|
"husky": "^8.0.3",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
"jest-environment-jsdom": "^29.7.0",
|
"jest-environment-jsdom": "^29.7.0",
|
||||||
"lint-staged": "^14.0.1",
|
"lint-staged": "^15.2.0",
|
||||||
"mini-css-extract-plugin": "^2.7.6",
|
"mini-css-extract-plugin": "^2.7.6",
|
||||||
"postcss-loader": "^7.3.3",
|
"postcss-loader": "^7.3.3",
|
||||||
"postcss-modules": "^6.0.0",
|
"postcss-modules": "^6.0.0",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"sass": "^1.68.0",
|
"sass": "^1.69.5",
|
||||||
"sass-loader": "^13.3.2",
|
"sass-loader": "^13.3.2",
|
||||||
"script-loader": "^0.7.2",
|
"script-loader": "^0.7.2",
|
||||||
"serve": "^14.2.1",
|
"serve": "^14.2.1",
|
||||||
"style-loader": "^3.3.3",
|
"style-loader": "^3.3.3",
|
||||||
"stylelint": "^15.10.3",
|
"stylelint": "^15.11.0",
|
||||||
"stylelint-config-recommended-scss": "^13.0.0",
|
"stylelint-config-recommended-scss": "^13.1.0",
|
||||||
"stylelint-declaration-block-no-ignored-properties": "^2.7.0",
|
"stylelint-declaration-block-no-ignored-properties": "^2.7.0",
|
||||||
"stylelint-group-selectors": "^1.0.10",
|
"stylelint-group-selectors": "^1.0.10",
|
||||||
"stylelint-high-performance-animation": "^1.9.0",
|
"stylelint-high-performance-animation": "^1.9.0",
|
||||||
"stylelint-selector-tag-no-without-class": "^2.0.6",
|
"stylelint-selector-tag-no-without-class": "^2.0.6",
|
||||||
"telegraph-node": "^1.0.4",
|
"telegraph-node": "^1.0.4",
|
||||||
"typescript": "^5.2.2",
|
"typescript": "^5.3.3",
|
||||||
"webpack": "^5.88.2",
|
"webpack": "^5.89.0",
|
||||||
"webpack-dev-server": "^4.15.1"
|
"webpack-dev-server": "^4.15.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@ -105,6 +105,7 @@ const AuthCode: FC<StateProps> = ({
|
|||||||
role="button"
|
role="button"
|
||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
title={lang('WrongNumber')}
|
title={lang('WrongNumber')}
|
||||||
|
aria-label={lang('WrongNumber')}
|
||||||
>
|
>
|
||||||
<i className="icon icon-edit" />
|
<i className="icon icon-edit" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -147,6 +147,7 @@ const PasswordForm: FC<OwnProps> = ({
|
|||||||
role="button"
|
role="button"
|
||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
title="Toggle password visibility"
|
title="Toggle password visibility"
|
||||||
|
aria-label="Toggle password visibility"
|
||||||
>
|
>
|
||||||
<i className={buildClassName('icon', isPasswordVisible ? 'icon-eye' : 'icon-eye-closed')} />
|
<i className={buildClassName('icon', isPasswordVisible ? 'icon-eye' : 'icon-eye-closed')} />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -130,6 +130,7 @@ const MessageSelectToolbar: FC<OwnProps & StateProps> = ({
|
|||||||
)}
|
)}
|
||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
title={label}
|
title={label}
|
||||||
|
aria-label={label}
|
||||||
>
|
>
|
||||||
<i className={buildClassName('icon', `icon-${icon}`)} />
|
<i className={buildClassName('icon', `icon-${icon}`)} />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -208,7 +208,7 @@ const Giveaway = ({
|
|||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
{countries?.length && (
|
{Boolean(countries?.length) && (
|
||||||
<span>{renderText(lang('Chat.Giveaway.Message.CountriesFrom', countryList))}</span>
|
<span>{renderText(lang('Chat.Giveaway.Message.CountriesFrom', countryList))}</span>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -288,7 +288,7 @@ const BoostModal = ({
|
|||||||
</div>
|
</div>
|
||||||
</Modal>
|
</Modal>
|
||||||
)}
|
)}
|
||||||
{boost?.cooldownUntil && (
|
{Boolean(boost?.cooldownUntil) && (
|
||||||
<ConfirmDialog
|
<ConfirmDialog
|
||||||
isOpen={isWaitDialogOpen}
|
isOpen={isWaitDialogOpen}
|
||||||
isOnlyConfirm
|
isOnlyConfirm
|
||||||
@ -300,7 +300,7 @@ const BoostModal = ({
|
|||||||
{renderText(
|
{renderText(
|
||||||
lang(
|
lang(
|
||||||
'ChannelBoost.Error.BoostTooOftenText',
|
'ChannelBoost.Error.BoostTooOftenText',
|
||||||
formatDateInFuture(lang, getServerTime(), boost.cooldownUntil),
|
formatDateInFuture(lang, getServerTime(), boost!.cooldownUntil),
|
||||||
),
|
),
|
||||||
['simple_markdown', 'emoji'],
|
['simple_markdown', 'emoji'],
|
||||||
)}
|
)}
|
||||||
|
|||||||
@ -121,7 +121,6 @@ const PaymentInfo: FC<OwnProps> = ({
|
|||||||
{ needCountry && (
|
{ needCountry && (
|
||||||
<Select
|
<Select
|
||||||
label={lang('PaymentShippingCountry')}
|
label={lang('PaymentShippingCountry')}
|
||||||
placeholder={lang('PaymentShippingCountry')}
|
|
||||||
onChange={handleCountryChange}
|
onChange={handleCountryChange}
|
||||||
value={state.billingCountry}
|
value={state.billingCountry}
|
||||||
hasArrow={Boolean(true)}
|
hasArrow={Boolean(true)}
|
||||||
|
|||||||
@ -139,7 +139,6 @@ const ShippingInfo: FC<OwnProps> = ({
|
|||||||
/>
|
/>
|
||||||
<Select
|
<Select
|
||||||
label={lang('PaymentShippingCountry')}
|
label={lang('PaymentShippingCountry')}
|
||||||
placeholder={lang('PaymentShippingCountry')}
|
|
||||||
onChange={handleCountryChange}
|
onChange={handleCountryChange}
|
||||||
value={state.countryIso2}
|
value={state.countryIso2}
|
||||||
hasArrow={Boolean(true)}
|
hasArrow={Boolean(true)}
|
||||||
|
|||||||
@ -11,7 +11,6 @@ type OwnProps = {
|
|||||||
error?: string;
|
error?: string;
|
||||||
ref?: RefObject<HTMLSelectElement>;
|
ref?: RefObject<HTMLSelectElement>;
|
||||||
hasArrow?: boolean;
|
hasArrow?: boolean;
|
||||||
placeholder?: string;
|
|
||||||
tabIndex?: number;
|
tabIndex?: number;
|
||||||
onChange?: (e: ChangeEvent<HTMLSelectElement>) => void;
|
onChange?: (e: ChangeEvent<HTMLSelectElement>) => void;
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
@ -25,7 +24,6 @@ const Select: FC<OwnProps> = (props) => {
|
|||||||
hasArrow,
|
hasArrow,
|
||||||
error,
|
error,
|
||||||
ref,
|
ref,
|
||||||
placeholder,
|
|
||||||
tabIndex,
|
tabIndex,
|
||||||
onChange,
|
onChange,
|
||||||
children,
|
children,
|
||||||
@ -47,7 +45,6 @@ const Select: FC<OwnProps> = (props) => {
|
|||||||
id={id}
|
id={id}
|
||||||
value={value || ''}
|
value={value || ''}
|
||||||
onChange={onChange}
|
onChange={onChange}
|
||||||
placeholder={placeholder || label}
|
|
||||||
tabIndex={tabIndex}
|
tabIndex={tabIndex}
|
||||||
ref={ref}
|
ref={ref}
|
||||||
>
|
>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user