chore: upgrade i18next 26, prettier 3, fontsource-variable, domhandler 6, lint-staged 17
- i18next 23->26 + react-i18next 15->17 - prettier 2->3, reformat all files - replace @fontsource/inter with @fontsource-variable/inter 5, update import path - domhandler 5->6 (aligns with transitive deps) - lint-staged 16->17
This commit is contained in:
@@ -39,7 +39,7 @@ export class ASCIILexicalTable {
|
||||
console.warn(
|
||||
`[!] Warning: ASCIILexicalTable size is larger than the Number.MAX_SAFE_INTEGER: ${this.size()} > ${
|
||||
Number.MAX_SAFE_INTEGER
|
||||
}`
|
||||
}`,
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -333,7 +333,7 @@ export class ASCIILexicalTable {
|
||||
|
||||
const findNextFilledKey = (
|
||||
fromIndex: number,
|
||||
keys: Array<string | undefined>
|
||||
keys: Array<string | undefined>,
|
||||
): [number, string] | [-1, undefined] => {
|
||||
for (let j = fromIndex; j < keys.length; j += 1) {
|
||||
const key = keys[j];
|
||||
@@ -347,7 +347,7 @@ const findNextFilledKey = (
|
||||
|
||||
export const orderKeys = (
|
||||
lex: ASCIILexicalTable,
|
||||
keys: Array<string | undefined>
|
||||
keys: Array<string | undefined>,
|
||||
): Array<string> | undefined => {
|
||||
const newKeys: string[] = [];
|
||||
|
||||
@@ -368,7 +368,7 @@ export const orderKeys = (
|
||||
const generatedKeys = lex.nBetween(
|
||||
keyToGenerateCount,
|
||||
key ?? lex.first(),
|
||||
nextKey ?? lex.last()
|
||||
nextKey ?? lex.last(),
|
||||
);
|
||||
if (generatedKeys) {
|
||||
collectedKeys.push(...generatedKeys);
|
||||
|
||||
Reference in New Issue
Block a user