chore: remove prettier-eslint dependency, upgrade @typescript-eslint

This commit is contained in:
Peter Sanderson
2024-09-12 01:16:29 +02:00
committed by Peter Sanderson
parent 8f33d930d3
commit 77576f5bea
43 changed files with 139 additions and 218 deletions

View File

@@ -58,6 +58,8 @@ module.exports = {
'eslint-local-rules/*',
],
rules: {
'@typescript-eslint/no-empty-object-type': 'off',
'@typescript-eslint/no-require-imports': 'off',
'@typescript-eslint/prefer-ts-expect-error': 'error',
// I believe type is enforced by callers.
'@typescript-eslint/explicit-function-return-type': 'off',

View File

@@ -127,8 +127,8 @@
"@types/prettier": "^3.0.0",
"@types/semver": "^7.5.6",
"@types/tar": "^6.1.11",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@typescript-eslint/eslint-plugin": "^8.5.0",
"@typescript-eslint/parser": "^8.5.0",
"babel-jest": "29.7.0",
"depcheck": "^1.4.7",
"eslint": "^8.56.0",
@@ -148,7 +148,6 @@
"nx": "^18.0.3",
"patch-package": "8.0.0",
"prettier": "^3.3.2",
"prettier-eslint": "^16.3.0",
"rimraf": "^6.0.1",
"semver": "^7.6.3",
"tar": "^7.0.1",

View File

@@ -173,6 +173,7 @@ export interface AvailableCurrencies {
available_currencies: string[];
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
declare function FSend(method: 'getInfo'): Promise<ServerInfo>;
declare function FSend(method: 'getBlockHash', params: { height: number }): Promise<BlockHash>;
declare function FSend(method: 'getBlock', params: { id: string }): Promise<Block>;

View File

@@ -253,6 +253,7 @@ export interface BlockfrostUtxos {
blockInfo: BlockContent;
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
declare function FSend(method: 'GET_SERVER_INFO'): Promise<ServerInfo>;
declare function FSend(
method: 'GET_BLOCK',

View File

@@ -40,7 +40,7 @@ const parseResult = (headers: Headers, text: string) => {
if (headers.get('content-type')?.includes('json')) {
try {
return JSON.parse(text);
} catch (e) {
} catch {
// fall down and return text
}
}

View File

@@ -51,7 +51,7 @@ export const getRoundCandidates = ({
// try to create new CoinjoinRound
try {
return roundGenerator(round, prison, options);
} catch (e) {
} catch {
// constructor fails on invalid round data (highly unlikely)
return [];
}

View File

@@ -1,5 +1,4 @@
/* eslint-disable @typescript-eslint/ban-types */
/* eslint-disable @typescript-eslint/no-wrapper-object-types */
declare module 'golomb' {
class Golomb {
constructor();

View File

@@ -183,7 +183,7 @@ const rejectRequest = (res: http.ServerResponse, code: number, error?: any) => {
const json = JSON.stringify(error);
res.setHeader('Content-Type', 'application/json');
res.write(json);
} catch (e) {
} catch {
res.write(error ?? '');
}
res.end();

View File

@@ -78,7 +78,7 @@ const CACHE_PARAMS = `${CACHE_DIR}/anonymityScoreParams.json`;
cached = true;
}
}
} catch (e) {
} catch {
// do nothing
}

View File

@@ -244,7 +244,7 @@ export function Flexsearch({ className }: { className?: string }): ReactElement
setLoading(true);
try {
await loadIndexes(basePath, locale);
} catch (e) {
} catch {
setError(true);
}
setLoading(false);
@@ -262,7 +262,7 @@ export function Flexsearch({ className }: { className?: string }): ReactElement
setLoading(true);
try {
await loadIndexes(basePath, locale);
} catch (e) {
} catch {
setError(true);
}
setLoading(false);

View File

@@ -160,6 +160,7 @@ export const themeSchema = z.strictObject({
useNextSeoProps: z.custom<() => NextSeoProps | void>(isFunction),
});
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const publicThemeSchema = themeSchema.deepPartial().extend({
// to have `locale` and `text` as required properties
i18n: i18nSchema.optional(),

View File

@@ -54,7 +54,7 @@ export const events = (api: TrezorConnect) => {
api.on(TRANSPORT_EVENT, event => {
if (event.type === TRANSPORT.START) {
event.payload.type as string;
// event.payload.type as string;
// event.payload.version;
// event.payload.outdated;
}
@@ -65,8 +65,8 @@ export const events = (api: TrezorConnect) => {
api.off(TRANSPORT_EVENT, () => {});
api.removeAllListeners(TRANSPORT_EVENT);
api.removeAllListeners('TRANSPORT_EVENT');
api.on('transport-start', payload => {
payload.type as string;
api.on('transport-start', () => {
// payload.type as string;
});
api.off('transport-start', () => {});
@@ -115,7 +115,7 @@ export const events = (api: TrezorConnect) => {
api.on(UI.REQUEST_UI_WINDOW, _payload => {});
api.on<AccountInfo | null>(UI.BUNDLE_PROGRESS, event => {
event.progress as number;
// event.progress as number;
event.error?.toLowerCase();
if (event.response?.empty === false) {
event.response.availableBalance.toLowerCase();
@@ -123,7 +123,7 @@ export const events = (api: TrezorConnect) => {
});
api.on<Address>(UI.BUNDLE_PROGRESS, event => {
event.progress as number;
// event.progress as number;
event.error?.toLowerCase();
event.response.serializedPath.toLowerCase();
event.response.address.toLowerCase();
@@ -149,7 +149,7 @@ export const events = (api: TrezorConnect) => {
}
if (event.type === BLOCKCHAIN.BLOCK) {
event.payload.blockHash.toLowerCase();
event.payload.blockHeight as number;
// event.payload.blockHeight as number;
}
if (event.type === BLOCKCHAIN.NOTIFICATION) {
event.payload.notification.descriptor.toLowerCase();

View File

@@ -51,7 +51,7 @@ export interface ElectionIpcMainInvokeEvent {
export interface ElectronIpcMainEvent {
// reply: (channel: string, response: any) => any; // in electron it's defined as `Function`
// eslint-disable-next-line @typescript-eslint/ban-types
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
reply: Function; // in electron it's defined as `Function`
}

View File

@@ -411,7 +411,7 @@ const checkReferer = ({
let domain: string;
try {
domain = new URL(referer).hostname;
} catch (err) {
} catch {
logger.warn(`Invalid referer ${referer}`);
return false;

View File

@@ -29,7 +29,7 @@ export function Validate<T extends TSchema>(schema: T, value: unknown): value is
Assert(schema, value);
return true;
} catch (e) {
} catch {
return false;
}
}

View File

@@ -31,6 +31,7 @@ describe('enum', () => {
const b: T1 = 'B';
expect(b).toEqual('B');
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const excluded = Type.Exclude(schema, Type.Literal('B'));
type T2 = Static<typeof excluded>;
// @ts-expect-error

View File

@@ -47,7 +47,7 @@ export const launchSuiteElectronApp = async (params: LaunchSuiteParams = {}) =>
if (file !== 'Cache') {
try {
fse.removeSync(`${localDataDir}/${file}`);
} catch (error) {
} catch {
// If files does not exist do nothing.
}
}

View File

@@ -37,7 +37,7 @@ export const waitForCoinjoinBackend = () =>
return resolve();
}
} catch (err) {
} catch {
process.stdout.write('.');
}
}

View File

@@ -56,7 +56,7 @@ testPlaywright.describe.serial('Bridge', () => {
try {
await request.get('http://127.0.0.1:21325/status/');
throw new Error('should have thrown!');
} catch (err) {
} catch {
// ok
}
});

View File

@@ -55,7 +55,7 @@ testPlaywright.describe.serial('Bridge', () => {
try {
await request.get('http://127.0.0.1:21325/status/');
throw new Error('should have thrown!');
} catch (err) {
} catch {
// ok
}
});

View File

@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-unused-expressions */
// @group_suite
// @retry=2

View File

@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-unused-expressions */
// @group_settings
// @retry=2

View File

@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/ban-types */
import { AnyAction, isFulfilled, isPending, Middleware } from '@reduxjs/toolkit';
import reduxMockStore, { MockStoreCreator } from 'redux-mock-store';
import thunk from 'redux-thunk';

View File

@@ -260,7 +260,7 @@ export interface CoinmarketFormInputLabelProps extends PropsWithChildren {
label?: ExtendedMessageDescriptor['id'];
}
export interface CoinmarketFormInputCommonProps {}
export type CoinmarketFormInputCommonProps = {};
export interface CoinmarketFormInputDefaultProps
extends CoinmarketFormInputLabelProps,

View File

@@ -3,15 +3,10 @@ import { UseFormReturn } from 'react-hook-form';
import { BaseStakeContextValues } from '@suite-common/wallet-core';
import { StakeFormState } from '@suite-common/wallet-types';
export interface ClaimFormState
extends Omit<
StakeFormState,
| 'amountLimits'
| 'onCryptoAmountChange'
| 'onFiatAmountChange'
| 'setMaxOutputId'
| 'fiatInput'
> {}
export type ClaimFormState = Omit<
StakeFormState,
'amountLimits' | 'onCryptoAmountChange' | 'onFiatAmountChange' | 'setMaxOutputId' | 'fiatInput'
>;
export type ClaimContextValues = UseFormReturn<ClaimFormState> &
BaseStakeContextValues & {

View File

@@ -386,7 +386,7 @@ export const prepareUnstakeEthTx = async ({
}
};
interface PrepareClaimEthTxParams extends Omit<PrepareStakeEthTxParams, 'amount'> {}
type PrepareClaimEthTxParams = Omit<PrepareStakeEthTxParams, 'amount'>;
export const prepareClaimEthTx = async ({
symbol,

View File

@@ -87,7 +87,7 @@ export class WebsocketClient extends TypedEmitter<WebsocketClientEvents> {
ws.emit('error', 'Websocket timeout');
try {
ws.close();
} catch (error) {
} catch {
// empty
}
} else {
@@ -101,7 +101,7 @@ export class WebsocketClient extends TypedEmitter<WebsocketClientEvents> {
if (this.ws && this.isConnected()) {
try {
this.ws.close();
} catch (error) {
} catch {
// empty
}
}

View File

@@ -67,7 +67,6 @@ nx
octokit
patch-package
prettier
prettier-eslint
proxy-memoize
raw-loader
react

View File

@@ -26,7 +26,7 @@ const updateIcon = async (coin: CoinListData) => {
try {
new URL(coinData.image.large);
} catch (error) {
} catch {
console.error('Invalid url:', coinData.image.large);
return;

View File

@@ -3,5 +3,5 @@ import 'styled-components';
import { Colors } from '@trezor/theme';
declare module 'styled-components' {
export interface DefaultTheme extends Colors {}
export type DefaultTheme = Colors;
}

View File

@@ -63,6 +63,7 @@ export type Tokens = {
/**
* What caused the error. Use this to handle error in metadataActions
*/
// eslint-disable-next-line @typescript-eslint/no-unused-vars
enum ProviderErrorReason {
NOT_FOUND_ERROR,
// authentication, typically expired token

View File

@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/ban-types */
import { Action, AnyAction, Dispatch, Middleware, MiddlewareAPI } from 'redux';
import { ThunkDispatch } from '@reduxjs/toolkit';

View File

@@ -1,8 +1,8 @@
/* eslint-disable @typescript-eslint/ban-types */
import { ActionReducerMapBuilder, createReducer } from '@reduxjs/toolkit';
import { ExtraDependenciesForReducer } from './extraDependenciesType';
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
type NotFunction<T> = T extends Function ? never : T;
export const createReducerWithExtraDeps =

View File

@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/ban-types */
import { AnyAction, AsyncThunk, ThunkAction } from '@reduxjs/toolkit';
// This SuiteCompatible types should be used only in places where you need support

View File

@@ -610,7 +610,7 @@ export const startDiscoveryThunk = createThunk(
await dispatch(startDiscoveryThunk()); // restart process, exclude failed coins
return;
} catch (error) {
} catch {
// do nothing. error will be handled in lower block
}
}

View File

@@ -109,7 +109,7 @@ export type StakeContextValues = UseFormReturn<StakeFormState> &
isLoading: boolean;
};
export interface UnstakeFormState extends Omit<StakeFormState, 'setMaxOutputId'> {}
export type UnstakeFormState = Omit<StakeFormState, 'setMaxOutputId'>;
export type UnstakeContextValues = UseFormReturn<UnstakeFormState> &
BaseStakeContextValues & {

View File

@@ -349,7 +349,7 @@ export const formatAmount = (amount: BigNumberValue, decimals: number) => {
}
return bAmount.div(10 ** decimals).toString(10);
} catch (error) {
} catch {
return '-1'; // TODO: this is definitely not correct return value
}
};
@@ -362,7 +362,7 @@ export const amountToSatoshi = (amount: BigNumberValue, decimals: number) => {
}
return bAmount.times(10 ** decimals).toString(10);
} catch (error) {
} catch {
// TODO: return null, so we can decide how to handle missing value in caller component
return '-1';
}
@@ -376,7 +376,7 @@ export const satoshiAmountToBtc = (amount: BigNumberValue) => {
}
return satsAmount.times(10 ** -8).toString(10);
} catch (error) {
} catch {
// TODO: return null, so we can decide how to handle missing value in caller component
return '-1';
}

View File

@@ -84,7 +84,7 @@ export const calculateEthFee = (gasPrice?: string, gasLimit?: string): string =>
if (result.isNaN()) throw new Error('NaN');
return result.toFixed();
} catch (error) {
} catch {
return '0';
}
};

View File

@@ -74,7 +74,7 @@ export const scrollUntilVisible = async (matcher: Detox.NativeMatcher) => {
try {
// Try to confirm that the element is visible without scrolling.
await detoxExpect(element(matcher)).toBeVisible();
} catch (error) {
} catch {
// If the element is not visible, then use the scroll to find it.
await waitFor(element(matcher))
.toBeVisible()

View File

@@ -27,7 +27,7 @@ export const useHomeRefreshControl = ({
portfolioContentRef.current?.refetchGraph?.(),
dispatch(syncAllAccountsWithBlockchainThunk()),
]);
} catch (error) {
} catch {
// Do nothing
}
setIsRefreshing(false);

View File

@@ -26,7 +26,7 @@ export const PickQRFromGalleryButton = ({
const { data } = scannedResults[0];
onImagePicked(data);
} catch (error) {
} catch {
onError();
showToast({
variant: 'error',

View File

@@ -177,7 +177,7 @@ export const TransactionList = ({
try {
await dispatch(fetchTransactionsPageThunk({ accountKey, page, perPage: TX_PER_PAGE }));
setPage((currentPage: number) => currentPage + 1);
} catch (e) {
} catch {
// TODO handle error state (show retry button or something
}
}, [page, accountKey, dispatch]);
@@ -196,7 +196,7 @@ export const TransactionList = ({
}),
),
]);
} catch (e) {
} catch {
// Do nothing
}
// It's usually too fast so loading indicator only flashes for a moment, which is not nice

249
yarn.lock
View File

@@ -3336,10 +3336,10 @@ __metadata:
languageName: node
linkType: hard
"@eslint-community/regexpp@npm:^4.5.1, @eslint-community/regexpp@npm:^4.6.1":
version: 4.10.0
resolution: "@eslint-community/regexpp@npm:4.10.0"
checksum: 10/8c36169c815fc5d726078e8c71a5b592957ee60d08c6470f9ce0187c8046af1a00afbda0a065cc40ff18d5d83f82aed9793c6818f7304a74a7488dc9f3ecbd42
"@eslint-community/regexpp@npm:^4.10.0, @eslint-community/regexpp@npm:^4.6.1":
version: 4.11.0
resolution: "@eslint-community/regexpp@npm:4.11.0"
checksum: 10/f053f371c281ba173fe6ee16dbc4fe544c84870d58035ccca08dba7f6ce1830d895ce3237a0db89ba37616524775dca82f1c502066b58e2d5712d7f87f5ba17c
languageName: node
linkType: hard
@@ -13505,7 +13505,7 @@ __metadata:
languageName: node
linkType: hard
"@types/semver@npm:^7.3.12, @types/semver@npm:^7.3.4, @types/semver@npm:^7.5.0, @types/semver@npm:^7.5.6, @types/semver@npm:^7.5.8":
"@types/semver@npm:^7.3.12, @types/semver@npm:^7.3.4, @types/semver@npm:^7.5.6, @types/semver@npm:^7.5.8":
version: 7.5.8
resolution: "@types/semver@npm:7.5.8"
checksum: 10/3496808818ddb36deabfe4974fd343a78101fa242c4690044ccdc3b95dcf8785b494f5d628f2f47f38a702f8db9c53c67f47d7818f2be1b79f2efb09692e1178
@@ -13775,46 +13775,44 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/eslint-plugin@npm:^6.21.0":
version: 6.21.0
resolution: "@typescript-eslint/eslint-plugin@npm:6.21.0"
"@typescript-eslint/eslint-plugin@npm:^8.5.0":
version: 8.5.0
resolution: "@typescript-eslint/eslint-plugin@npm:8.5.0"
dependencies:
"@eslint-community/regexpp": "npm:^4.5.1"
"@typescript-eslint/scope-manager": "npm:6.21.0"
"@typescript-eslint/type-utils": "npm:6.21.0"
"@typescript-eslint/utils": "npm:6.21.0"
"@typescript-eslint/visitor-keys": "npm:6.21.0"
debug: "npm:^4.3.4"
"@eslint-community/regexpp": "npm:^4.10.0"
"@typescript-eslint/scope-manager": "npm:8.5.0"
"@typescript-eslint/type-utils": "npm:8.5.0"
"@typescript-eslint/utils": "npm:8.5.0"
"@typescript-eslint/visitor-keys": "npm:8.5.0"
graphemer: "npm:^1.4.0"
ignore: "npm:^5.2.4"
ignore: "npm:^5.3.1"
natural-compare: "npm:^1.4.0"
semver: "npm:^7.5.4"
ts-api-utils: "npm:^1.0.1"
ts-api-utils: "npm:^1.3.0"
peerDependencies:
"@typescript-eslint/parser": ^6.0.0 || ^6.0.0-alpha
eslint: ^7.0.0 || ^8.0.0
"@typescript-eslint/parser": ^8.0.0 || ^8.0.0-alpha.0
eslint: ^8.57.0 || ^9.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 10/a57de0f630789330204cc1531f86cfc68b391cafb1ba67c8992133f1baa2a09d629df66e71260b040de4c9a3ff1252952037093c4128b0d56c4dbb37720b4c1d
checksum: 10/344f5aca7e167544af718b81269b87b8c2a041210882cac76e1608dbec7c2a646de74387920ca9a5704fcd4c24ada052c2bc5adbeee39e950e7bce83647dae7d
languageName: node
linkType: hard
"@typescript-eslint/parser@npm:^6.21.0, @typescript-eslint/parser@npm:^6.7.5":
version: 6.21.0
resolution: "@typescript-eslint/parser@npm:6.21.0"
"@typescript-eslint/parser@npm:^8.5.0":
version: 8.5.0
resolution: "@typescript-eslint/parser@npm:8.5.0"
dependencies:
"@typescript-eslint/scope-manager": "npm:6.21.0"
"@typescript-eslint/types": "npm:6.21.0"
"@typescript-eslint/typescript-estree": "npm:6.21.0"
"@typescript-eslint/visitor-keys": "npm:6.21.0"
"@typescript-eslint/scope-manager": "npm:8.5.0"
"@typescript-eslint/types": "npm:8.5.0"
"@typescript-eslint/typescript-estree": "npm:8.5.0"
"@typescript-eslint/visitor-keys": "npm:8.5.0"
debug: "npm:^4.3.4"
peerDependencies:
eslint: ^7.0.0 || ^8.0.0
eslint: ^8.57.0 || ^9.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 10/4d51cdbc170e72275efc5ef5fce48a81ec431e4edde8374f4d0213d8d370a06823e1a61ae31d502a5f1b0d1f48fc4d29a1b1b5c2dcf809d66d3872ccf6e46ac7
checksum: 10/f0d5a11a8d4b42750c3e7a3a8f6874740c7bb006b6bf3037a2b1422ba8f4eb2ff2d46e673a9f54007b95d3e4302b7966677b2481da58b6307d0ceb962478ee95
languageName: node
linkType: hard
@@ -13828,30 +13826,28 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/scope-manager@npm:6.21.0":
version: 6.21.0
resolution: "@typescript-eslint/scope-manager@npm:6.21.0"
"@typescript-eslint/scope-manager@npm:8.5.0":
version: 8.5.0
resolution: "@typescript-eslint/scope-manager@npm:8.5.0"
dependencies:
"@typescript-eslint/types": "npm:6.21.0"
"@typescript-eslint/visitor-keys": "npm:6.21.0"
checksum: 10/fe91ac52ca8e09356a71dc1a2f2c326480f3cccfec6b2b6d9154c1a90651ab8ea270b07c67df5678956c3bbf0bbe7113ab68f68f21b20912ea528b1214197395
"@typescript-eslint/types": "npm:8.5.0"
"@typescript-eslint/visitor-keys": "npm:8.5.0"
checksum: 10/18f9958cdf196a0beede93535e564313d27dfd392a335952c785e46c32def55fdeae8c3c7d46f07c81c105ed2b48e9cd36a1fe5101fccd80e83c04cf1693dbed
languageName: node
linkType: hard
"@typescript-eslint/type-utils@npm:6.21.0":
version: 6.21.0
resolution: "@typescript-eslint/type-utils@npm:6.21.0"
"@typescript-eslint/type-utils@npm:8.5.0":
version: 8.5.0
resolution: "@typescript-eslint/type-utils@npm:8.5.0"
dependencies:
"@typescript-eslint/typescript-estree": "npm:6.21.0"
"@typescript-eslint/utils": "npm:6.21.0"
"@typescript-eslint/typescript-estree": "npm:8.5.0"
"@typescript-eslint/utils": "npm:8.5.0"
debug: "npm:^4.3.4"
ts-api-utils: "npm:^1.0.1"
peerDependencies:
eslint: ^7.0.0 || ^8.0.0
ts-api-utils: "npm:^1.3.0"
peerDependenciesMeta:
typescript:
optional: true
checksum: 10/d03fb3ee1caa71f3ce053505f1866268d7ed79ffb7fed18623f4a1253f5b8f2ffc92636d6fd08fcbaf5bd265a6de77bf192c53105131e4724643dfc910d705fc
checksum: 10/ed487c8b530a0a6ea292385c82b2d9d9d94b99768ddd93882899be3319ea6af09c1b9f1a07e0381beb6149bbbb1f66ae95a635279fad8946345fd2298bce3549
languageName: node
linkType: hard
@@ -13862,10 +13858,10 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/types@npm:6.21.0":
version: 6.21.0
resolution: "@typescript-eslint/types@npm:6.21.0"
checksum: 10/e26da86d6f36ca5b6ef6322619f8ec55aabcd7d43c840c977ae13ae2c964c3091fc92eb33730d8be08927c9de38466c5323e78bfb270a9ff1d3611fe821046c5
"@typescript-eslint/types@npm:8.5.0":
version: 8.5.0
resolution: "@typescript-eslint/types@npm:8.5.0"
checksum: 10/5cc55411fbf3f46d1571fe6ad1ef88f937093629a58e2b7bafb389646dde8a4e29d938fd57309eb30ee3f20978b4bdc5f823b31d718e053ba4c54c637a6df4e4
languageName: node
linkType: hard
@@ -13887,39 +13883,36 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/typescript-estree@npm:6.21.0":
version: 6.21.0
resolution: "@typescript-eslint/typescript-estree@npm:6.21.0"
"@typescript-eslint/typescript-estree@npm:8.5.0":
version: 8.5.0
resolution: "@typescript-eslint/typescript-estree@npm:8.5.0"
dependencies:
"@typescript-eslint/types": "npm:6.21.0"
"@typescript-eslint/visitor-keys": "npm:6.21.0"
"@typescript-eslint/types": "npm:8.5.0"
"@typescript-eslint/visitor-keys": "npm:8.5.0"
debug: "npm:^4.3.4"
globby: "npm:^11.1.0"
fast-glob: "npm:^3.3.2"
is-glob: "npm:^4.0.3"
minimatch: "npm:9.0.3"
semver: "npm:^7.5.4"
ts-api-utils: "npm:^1.0.1"
minimatch: "npm:^9.0.4"
semver: "npm:^7.6.0"
ts-api-utils: "npm:^1.3.0"
peerDependenciesMeta:
typescript:
optional: true
checksum: 10/b32fa35fca2a229e0f5f06793e5359ff9269f63e9705e858df95d55ca2cd7fdb5b3e75b284095a992c48c5fc46a1431a1a4b6747ede2dd08929dc1cbacc589b8
checksum: 10/69f21c49a158c394106e0d627f57451430cf32449a6c01118ee4afbb9f92f06be3aa87f3478ffc84d1062c3b21dca983e458f70f2cbe4fee1ad206f84ab97eb8
languageName: node
linkType: hard
"@typescript-eslint/utils@npm:6.21.0":
version: 6.21.0
resolution: "@typescript-eslint/utils@npm:6.21.0"
"@typescript-eslint/utils@npm:8.5.0":
version: 8.5.0
resolution: "@typescript-eslint/utils@npm:8.5.0"
dependencies:
"@eslint-community/eslint-utils": "npm:^4.4.0"
"@types/json-schema": "npm:^7.0.12"
"@types/semver": "npm:^7.5.0"
"@typescript-eslint/scope-manager": "npm:6.21.0"
"@typescript-eslint/types": "npm:6.21.0"
"@typescript-eslint/typescript-estree": "npm:6.21.0"
semver: "npm:^7.5.4"
"@typescript-eslint/scope-manager": "npm:8.5.0"
"@typescript-eslint/types": "npm:8.5.0"
"@typescript-eslint/typescript-estree": "npm:8.5.0"
peerDependencies:
eslint: ^7.0.0 || ^8.0.0
checksum: 10/b404a2c55a425a79d054346ae123087d30c7ecf7ed7abcf680c47bf70c1de4fabadc63434f3f460b2fa63df76bc9e4a0b9fa2383bb8a9fcd62733fb5c4e4f3e3
eslint: ^8.57.0 || ^9.0.0
checksum: 10/f4727ebdee15082debe61a815eaad588f006a4f93d7fe94d065da563b4d3f91b7b7f795b5c77aa4cdebdf0936f83aa878089f22b8dbdbb738c557e8974129f54
languageName: node
linkType: hard
@@ -13951,13 +13944,13 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/visitor-keys@npm:6.21.0":
version: 6.21.0
resolution: "@typescript-eslint/visitor-keys@npm:6.21.0"
"@typescript-eslint/visitor-keys@npm:8.5.0":
version: 8.5.0
resolution: "@typescript-eslint/visitor-keys@npm:8.5.0"
dependencies:
"@typescript-eslint/types": "npm:6.21.0"
eslint-visitor-keys: "npm:^3.4.1"
checksum: 10/30422cdc1e2ffad203df40351a031254b272f9c6f2b7e02e9bfa39e3fc2c7b1c6130333b0057412968deda17a3a68a578a78929a8139c6acef44d9d841dc72e1
"@typescript-eslint/types": "npm:8.5.0"
eslint-visitor-keys: "npm:^3.4.3"
checksum: 10/32cc9d8120531bb1b5da79d697ab80bbbf18e5630d74c8b6c0f835d7914be7833ed9e5b95fa05f6f7b724d928cd4208b4028a2cc9d767401434d88214614887b
languageName: node
linkType: hard
@@ -17800,7 +17793,7 @@ __metadata:
languageName: node
linkType: hard
"common-tags@npm:^1.4.0, common-tags@npm:^1.8.0":
"common-tags@npm:^1.8.0":
version: 1.8.2
resolution: "common-tags@npm:1.8.2"
checksum: 10/c665d0f463ee79dda801471ad8da6cb33ff7332ba45609916a508ad3d77ba07ca9deeb452e83f81f24c2b081e2c1315347f23d239210e63d1c5e1a0c7c019fe2
@@ -19971,7 +19964,7 @@ __metadata:
languageName: node
linkType: hard
"dlv@npm:^1.1.0, dlv@npm:^1.1.3":
"dlv@npm:^1.1.3":
version: 1.1.3
resolution: "dlv@npm:1.1.3"
checksum: 10/836459ec6b50e43e9ed388a5fc28954be99e3481af3fa4b5d82a600762eb65ef8faacd454097ed7fc2f8a60aea2800d65a4cece5cd0d81ab82b2031f3f759e6e
@@ -21551,7 +21544,7 @@ __metadata:
languageName: node
linkType: hard
"eslint-scope@npm:^7.1.1, eslint-scope@npm:^7.2.2":
"eslint-scope@npm:^7.2.2":
version: 7.2.2
resolution: "eslint-scope@npm:7.2.2"
dependencies:
@@ -21568,7 +21561,7 @@ __metadata:
languageName: node
linkType: hard
"eslint@npm:^8.56.0, eslint@npm:^8.7.0":
"eslint@npm:^8.56.0":
version: 8.56.0
resolution: "eslint@npm:8.56.0"
dependencies:
@@ -21635,7 +21628,7 @@ __metadata:
languageName: node
linkType: hard
"espree@npm:^9.0.0, espree@npm:^9.3.1, espree@npm:^9.6.0, espree@npm:^9.6.1":
"espree@npm:^9.0.0, espree@npm:^9.6.0, espree@npm:^9.6.1":
version: 9.6.1
resolution: "espree@npm:9.6.1"
dependencies:
@@ -21666,7 +21659,7 @@ __metadata:
languageName: node
linkType: hard
"esquery@npm:^1.4.0, esquery@npm:^1.4.2":
"esquery@npm:^1.4.2":
version: 1.5.0
resolution: "esquery@npm:1.5.0"
dependencies:
@@ -25483,10 +25476,10 @@ __metadata:
languageName: node
linkType: hard
"ignore@npm:^5.0.0, ignore@npm:^5.0.4, ignore@npm:^5.1.1, ignore@npm:^5.2.0, ignore@npm:^5.2.4, ignore@npm:^5.3.0":
version: 5.3.1
resolution: "ignore@npm:5.3.1"
checksum: 10/0a884c2fbc8c316f0b9f92beaf84464253b73230a4d4d286697be45fca081199191ca33e1c2e82d9e5f851f5e9a48a78e25a35c951e7eb41e59f150db3530065
"ignore@npm:^5.0.0, ignore@npm:^5.0.4, ignore@npm:^5.1.1, ignore@npm:^5.2.0, ignore@npm:^5.2.4, ignore@npm:^5.3.0, ignore@npm:^5.3.1":
version: 5.3.2
resolution: "ignore@npm:5.3.2"
checksum: 10/cceb6a457000f8f6a50e1196429750d782afce5680dd878aa4221bd79972d68b3a55b4b1458fc682be978f4d3c6a249046aa0880637367216444ab7b014cfc98
languageName: node
linkType: hard
@@ -28933,7 +28926,7 @@ __metadata:
languageName: node
linkType: hard
"lodash.merge@npm:^4.6.0, lodash.merge@npm:^4.6.2":
"lodash.merge@npm:^4.6.2":
version: 4.6.2
resolution: "lodash.merge@npm:4.6.2"
checksum: 10/d0ea2dd0097e6201be083865d50c3fb54fbfbdb247d9cc5950e086c991f448b7ab0cdab0d57eacccb43473d3f2acd21e134db39f22dac2d6c9ba6bf26978e3d6
@@ -29032,23 +29025,6 @@ __metadata:
languageName: node
linkType: hard
"loglevel-colored-level-prefix@npm:^1.0.0":
version: 1.0.0
resolution: "loglevel-colored-level-prefix@npm:1.0.0"
dependencies:
chalk: "npm:^1.1.3"
loglevel: "npm:^1.4.1"
checksum: 10/aa60baa2b8f5d7f22327d597cbe4930eea5b0ffd8451b3d60e61824abd8a2401a039f866b810898e1d04ebf39033ef366fce6f0d93293f3b79cb4495773ae0de
languageName: node
linkType: hard
"loglevel@npm:^1.4.1":
version: 1.8.0
resolution: "loglevel@npm:1.8.0"
checksum: 10/72d700ea698b675f8d8d952539de5c3c04acdf95ea7990d991931c53c8731c682432d9c69ae96ac9c52193f59819f18e99b20f9c21ca1ac6535b002152fa783d
languageName: node
linkType: hard
"loglevelnext@npm:^4.0.1":
version: 4.0.1
resolution: "loglevelnext@npm:4.0.1"
@@ -34619,34 +34595,6 @@ __metadata:
languageName: node
linkType: hard
"prettier-eslint@npm:^16.3.0":
version: 16.3.0
resolution: "prettier-eslint@npm:16.3.0"
dependencies:
"@typescript-eslint/parser": "npm:^6.7.5"
common-tags: "npm:^1.4.0"
dlv: "npm:^1.1.0"
eslint: "npm:^8.7.0"
indent-string: "npm:^4.0.0"
lodash.merge: "npm:^4.6.0"
loglevel-colored-level-prefix: "npm:^1.0.0"
prettier: "npm:^3.0.1"
pretty-format: "npm:^29.7.0"
require-relative: "npm:^0.8.7"
typescript: "npm:^5.2.2"
vue-eslint-parser: "npm:^9.1.0"
peerDependencies:
prettier-plugin-svelte: ^3.0.0
svelte-eslint-parser: "*"
peerDependenciesMeta:
prettier-plugin-svelte:
optional: true
svelte-eslint-parser:
optional: true
checksum: 10/7b723c1b761d0ad5b4b3945b4df782c290e7a68cbfd86400ba039ce59fff85da7b59781de2dacea7054763da47ab52eff0357f9e0ae066fdd4c8d88390135360
languageName: node
linkType: hard
"prettier@npm:3.2.5":
version: 3.2.5
resolution: "prettier@npm:3.2.5"
@@ -36875,13 +36823,6 @@ __metadata:
languageName: node
linkType: hard
"require-relative@npm:^0.8.7":
version: 0.8.7
resolution: "require-relative@npm:0.8.7"
checksum: 10/f1c3be06977823bba43600344d9ea6fbf8a55bdb81ec76533126849ab4024e6c31c6666f37fa4b5cfeda9c41dee89b8e19597cac02bdefaab42255c6708661ab
languageName: node
linkType: hard
"requireg@npm:^0.2.2":
version: 0.2.2
resolution: "requireg@npm:0.2.2"
@@ -37767,7 +37708,7 @@ __metadata:
languageName: node
linkType: hard
"semver@npm:^7.0.0, semver@npm:^7.1.2, semver@npm:^7.1.3, semver@npm:^7.3.2, semver@npm:^7.3.5, semver@npm:^7.3.6, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.2, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0, semver@npm:^7.6.3":
"semver@npm:^7.0.0, semver@npm:^7.1.2, semver@npm:^7.1.3, semver@npm:^7.3.2, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.2, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0, semver@npm:^7.6.3":
version: 7.6.3
resolution: "semver@npm:7.6.3"
bin:
@@ -40384,8 +40325,8 @@ __metadata:
"@types/prettier": "npm:^3.0.0"
"@types/semver": "npm:^7.5.6"
"@types/tar": "npm:^6.1.11"
"@typescript-eslint/eslint-plugin": "npm:^6.21.0"
"@typescript-eslint/parser": "npm:^6.21.0"
"@typescript-eslint/eslint-plugin": "npm:^8.5.0"
"@typescript-eslint/parser": "npm:^8.5.0"
babel-jest: "npm:29.7.0"
depcheck: "npm:^1.4.7"
eslint: "npm:^8.56.0"
@@ -40405,7 +40346,6 @@ __metadata:
nx: "npm:^18.0.3"
patch-package: "npm:8.0.0"
prettier: "npm:^3.3.2"
prettier-eslint: "npm:^16.3.0"
rimraf: "npm:^6.0.1"
semver: "npm:^7.6.3"
tar: "npm:^7.0.1"
@@ -40448,12 +40388,12 @@ __metadata:
languageName: node
linkType: hard
"ts-api-utils@npm:^1.0.1":
version: 1.0.3
resolution: "ts-api-utils@npm:1.0.3"
"ts-api-utils@npm:^1.3.0":
version: 1.3.0
resolution: "ts-api-utils@npm:1.3.0"
peerDependencies:
typescript: ">=4.2.0"
checksum: 10/1350a5110eb1e534e9a6178f4081fb8a4fcc439749e19f4ad699baec9090fcb90fe532d5e191d91a062dc6e454a14a8d7eb2ad202f57135a30c4a44a3024f039
checksum: 10/3ee44faa24410cd649b5c864e068d438aa437ef64e9e4a66a41646a6d3024d3097a695eeb3fb26ee364705d3cb9653a65756d009e6a53badb6066a5f447bf7ed
languageName: node
linkType: hard
@@ -42184,23 +42124,6 @@ __metadata:
languageName: node
linkType: hard
"vue-eslint-parser@npm:^9.1.0":
version: 9.3.2
resolution: "vue-eslint-parser@npm:9.3.2"
dependencies:
debug: "npm:^4.3.4"
eslint-scope: "npm:^7.1.1"
eslint-visitor-keys: "npm:^3.3.0"
espree: "npm:^9.3.1"
esquery: "npm:^1.4.0"
lodash: "npm:^4.17.21"
semver: "npm:^7.3.6"
peerDependencies:
eslint: ">=6.0.0"
checksum: 10/f6ae491341e62b36558df11b38933a36cbb98f05ccebf529b8a162a106e6a2a45802fc597d952502266637925392d70ec125cf9e5253b6b6aeba23a0e8f71656
languageName: node
linkType: hard
"w3c-keyname@npm:^2.2.4":
version: 2.2.8
resolution: "w3c-keyname@npm:2.2.8"