fix(deps): upgrade eslint and plugins to 9.39.4 (#201701)
* fix(deps): upgrade eslint and plugins to 10.2.0 * chore: manual lint-fix * chore: automatic lint-fix * feat(repo): github actions - lint - use node v24 because it is linting (not runtime), so why not to use the latest stable Node version * fix: remove @stylistic/eslint-plugin (in favor of prettier) * fix: eslint uses `ecmaVersion` 2025 * fix: eslint's "mocha" config is isolated (for test files only) for example `describe` is not considered "global" outside the test files. the same for all other "eslint/mocha" rules - they are applied only to files in `/tests` folder. * chore: update package-lock.json after eslint upgrade
This commit is contained in:
parent
fb1ccd3464
commit
211205363c
16 changed files with 370 additions and 414 deletions
|
|
@ -107,6 +107,7 @@ class Client extends EventEmitter {
|
|||
|
||||
Util.setFfmpegPath(this.options.ffmpegPath);
|
||||
}
|
||||
|
||||
/**
|
||||
* Injection logic
|
||||
* Private function
|
||||
|
|
@ -322,7 +323,7 @@ class Client extends EventEmitter {
|
|||
await webCache.persist(this.currentIndexHtml, version);
|
||||
}
|
||||
|
||||
//Load util functions (serializers, helper functions)
|
||||
// Load util functions (serializers, helper functions)
|
||||
await this.pupPage.evaluate(LoadUtils);
|
||||
|
||||
let start = Date.now();
|
||||
|
|
@ -2371,7 +2372,7 @@ class Client extends EventEmitter {
|
|||
},
|
||||
participantWids,
|
||||
);
|
||||
} catch (err) {
|
||||
} catch (ignoredError) {
|
||||
return 'CreateGroupError: An unknown error occupied while creating a group';
|
||||
}
|
||||
|
||||
|
|
@ -2610,7 +2611,7 @@ class Client extends EventEmitter {
|
|||
meContact,
|
||||
));
|
||||
}
|
||||
} catch (error) {
|
||||
} catch (ignoredError) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue