Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
fix: ci issues
Asuka109e252b8bcc0eb
diff --git a/biome.json b/biome.jsonindex b170dcd72..7841ce880 100644--- a/biome.json+++ b/biome.json@@ -13,10 +13,12 @@"dist","target","build",+ "temp","*.zip","**/*.rs",".vscode-test",".svelte-kit",+ "packages/obsidian-plugin/main.js","pnpm-lock.yaml","package-lock.json","yarn.lock"@@ -35,10 +37,21 @@"enabled": true,"rules": {"recommended": true,+ "suspicious": {+ "noExplicitAny": "warn",+ "noArrayIndexKey": "warn",+ "noLabelVar": "warn"+ },"a11y": {- "noSvgWithoutTitle": "off"+ "noSvgWithoutTitle": "off",+ "useGenericFontNames": "warn"+ },+ "correctness": {+ "useExhaustiveDependencies": "warn"},"style": {+ "noParameterAssign": "warn",+ "noArguments": "off","noNonNullAssertion": "off","noUselessElse": "off","useNodejsImportProtocol": "off"diff --git a/justfile b/justfileindex c7a71f691..a77c03b96 100644--- a/justfile+++ b/justfile@@ -1,7 +1,7 @@# Format entire projectformat:cargo fmt- cd "{{justfile_directory()}}/packages"; pnpm check --write .+ cd "{{justfile_directory()}}/packages"; pnpm check# Build the WebAssembly for a specific target (usually either `web` or `bundler`)build-wasm:@@ -189,11 +189,11 @@ check: check-rust build-webcd "{{justfile_directory()}}/packages"pnpm install- pnpm biome check .+ pnpm check# Needed because Svelte has special linterscd web- pnpm run check+ pnpm check# Populate build caches and install necessary local tooling (tools callable via `pnpm run <tool>`).setup: build-harperjs build-obsidian test-vscode test-harperjs build-web build-wpdiff --git a/package.json b/package.jsonindex 1037283e7..23517f16e 100644--- a/package.json+++ b/package.json@@ -2,7 +2,8 @@"private": true,"scripts": {"check-dependency-version-consistency": "check-dependency-version-consistency",- "check": "biome check --write ."+ "check": "biome check --write . --diagnostic-level=error",+ "format": "biome check --write . --unsafe"},"devDependencies": {"@babel/runtime": "catalog:",diff --git a/packages/harper.js/.gitignore b/packages/harper.js/.gitignoreindex 9c821f794..7b2c572aa 100644--- a/packages/harper.js/.gitignore+++ b/packages/harper.js/.gitignore@@ -10,6 +10,7 @@ lerna-debug.log*node_modulesdistdist-ssr+html*.local# Editor directories and filesdiff --git a/packages/obsidian-plugin/src/HarperSettingTab.ts b/packages/obsidian-plugin/src/HarperSettingTab.tsindex 650cdaa90..01ae62943 100644--- a/packages/obsidian-plugin/src/HarperSettingTab.ts+++ b/packages/obsidian-plugin/src/HarperSettingTab.ts@@ -18,11 +18,15 @@ export class HarperSettingTab extends PluginSettingTab {}updateSettings() {- this.plugin.getSettings().then((v) => (this.settings = v));+ this.plugin.getSettings().then((v) => {+ this.settings = v;+ });}updateDescriptions() {- this.plugin.getDescriptions().then((v) => (this.descriptions = v));+ this.plugin.getDescriptions().then((v) => {+ this.descriptions = v;+ });}display() {diff --git a/packages/obsidian-plugin/src/lint.ts b/packages/obsidian-plugin/src/lint.tsindex 98f95a18d..6981a746e 100644--- a/packages/obsidian-plugin/src/lint.ts+++ b/packages/obsidian-plugin/src/lint.ts@@ -1,24 +1,24 @@import {- type EditorState,- type Extension,- Facet,- RangeSet,- StateEffect,- StateField,- type Transaction,- type TransactionSpec,- combineConfig,+ type EditorState,+ type Extension,+ Facet,+ RangeSet,+ StateEffect,+ StateField,+ type Transaction,+ type TransactionSpec,+ combineConfig,} from '@codemirror/state';import {- Decoration,- type DecorationSet,- EditorView,- type Tooltip,- ViewPlugin,- type ViewUpdate,- WidgetType,- hoverTooltip,- logException,+ Decoration,+ type DecorationSet,+ EditorView,+ type Tooltip,+ ViewPlugin,+ type ViewUpdate,+ WidgetType,+ hoverTooltip,+ logException,} from '@codemirror/view';import elt from 'crelt';@@ -26,165 +26,155 @@ type Severity = 'hint' | 'info' | 'warning' | 'error';/// Describes a problem or hint for a piece of code.export interface Diagnostic {- /// The start position of the relevant text.- from: number;- /// The end position. May be equal to `from`, though actually- /// covering text is preferable.- to: number;- /// The severity of the problem. This will influence how it is- /// displayed.- severity: Severity;- /// When given, add an extra CSS class to parts of the code that- /// this diagnostic applies to.- markClass?: string;- /// An optional source string indicating where the diagnostic is- /// coming from. You can put the name of your linter here, if- /// applicable.- source?: string;- title?: string;- /// The message associated with this diagnostic.- message: string;- /// An optional custom rendering function that displays the message- /// as a DOM node.- renderMessage?: (view: EditorView) => Node;- /// An optional array of actions that can be taken on this- /// diagnostic.- actions?: readonly Action[];- /// A callback for when the user selects to "ignore" the diagnostic.- ignore?: () => void;+ /// The start position of the relevant text.+ from: number;+ /// The end position. May be equal to `from`, though actually+ /// covering text is preferable.+ to: number;+ /// The severity of the problem. This will influence how it is+ /// displayed.+ severity: Severity;+ /// When given, add an extra CSS class to parts of the code that+ /// this diagnostic applies to.+ markClass?: string;+ /// An optional source string indicating where the diagnostic is+ /// coming from. You can put the name of your linter here, if+ /// applicable.+ source?: string;+ title?: string;+ /// The message associated with this diagnostic.+ message: string;+ /// An optional custom rendering function that displays the message+ /// as a DOM node.+ renderMessage?: (view: EditorView) => Node;+ /// An optional array of actions that can be taken on this+ /// diagnostic.+ actions?: readonly Action[];+ /// A callback for when the user selects to "ignore" the diagnostic.+ ignore?: () => void;}/// An action associated with a diagnostic.export interface Action {- /// The label to show to the user. Should be relatively short.- name: string;- /// The function to call when the user activates this action. Is- /// given the diagnostic's _current_ position, which may have- /// changed since the creation of the diagnostic, due to editing.- apply: (view: EditorView, from: number, to: number) => void;+ /// The label to show to the user. Should be relatively short.+ name: string;+ /// The function to call when the user activates this action. Is+ /// given the diagnostic's _current_ position, which may have+ /// changed since the creation of the diagnostic, due to editing.+ apply: (view: EditorView, from: number, to: number) => void;}-type DiagnosticFilter = (- diagnostics: readonly Diagnostic[],- state: EditorState,-) => Diagnostic[];+type DiagnosticFilter = (diagnostics: readonly Diagnostic[], state: EditorState) => Diagnostic[];interface LintConfig {- /// Time to wait (in milliseconds) after a change before running- /// the linter. Defaults to 750ms.- delay?: number;- /// Optional predicate that can be used to indicate when diagnostics- /// need to be recomputed. Linting is always re-done on document- /// changes.- needsRefresh?: null | ((update: ViewUpdate) => boolean);- /// Optional filter to determine which diagnostics produce markers- /// in the content.- markerFilter?: null | DiagnosticFilter;- /// Filter applied to a set of diagnostics shown in a tooltip. No- /// tooltip will appear if the empty set is returned.- tooltipFilter?: null | DiagnosticFilter;- /// Can be used to control what kind of transactions cause lint- /// hover tooltips associated with the given document range to be- /// hidden. By default any transaction that changes the line- /// around the range will hide it. Returning null falls back to this- /// behavior.- hideOn?: (tr: Transaction, from: number, to: number) => boolean | null;- /// When enabled (defaults to off), this will cause the lint panel- /// to automatically open when diagnostics are found, and close when- /// all diagnostics are resolved or removed.- autoPanel?: boolean;+ /// Time to wait (in milliseconds) after a change before running+ /// the linter. Defaults to 750ms.+ delay?: number;+ /// Optional predicate that can be used to indicate when diagnostics+ /// need to be recomputed. Linting is always re-done on document+ /// changes.+ needsRefresh?: null | ((update: ViewUpdate) => boolean);+ /// Optional filter to determine which diagnostics produce markers+ /// in the content.+ markerFilter?: null | DiagnosticFilter;+ /// Filter applied to a set of diagnostics shown in a tooltip. No+ /// tooltip will appear if the empty set is returned.+ tooltipFilter?: null | DiagnosticFilter;+ /// Can be used to control what kind of transactions cause lint+ /// hover tooltips associated with the given document range to be+ /// hidden. By default any transaction that changes the line+ /// around the range will hide it. Returning null falls back to this+ /// behavior.+ hideOn?: (tr: Transaction, from: number, to: number) => boolean | null;+ /// When enabled (defaults to off), this will cause the lint panel+ /// to automatically open when diagnostics are found, and close when+ /// all diagnostics are resolved or removed.+ autoPanel?: boolean;}class SelectedDiagnostic {- constructor(- readonly from: number,- readonly to: number,- readonly diagnostic: Diagnostic,- ) {}+ constructor(+ readonly from: number,+ readonly to: number,+ readonly diagnostic: Diagnostic,+ ) {}}class LintState {- constructor(- readonly diagnostics: DecorationSet,- readonly selected: SelectedDiagnostic | null,- ) {}-- static init(diagnostics: readonly Diagnostic[], state: EditorState) {- // Filter the list of diagnostics for which to create markers- let markedDiagnostics = diagnostics;- const diagnosticFilter = state.facet(lintConfig).markerFilter;- if (diagnosticFilter)- markedDiagnostics = diagnosticFilter(markedDiagnostics, state);-- const ranges = Decoration.set(- markedDiagnostics.map((d: Diagnostic) => {- // For zero-length ranges or ranges covering only a line break, create a widget- return d.from === d.to ||- (d.from === d.to - 1 && state.doc.lineAt(d.from).to === d.from)- ? Decoration.widget({- widget: new DiagnosticWidget(d),- diagnostic: d,- }).range(d.from)- : Decoration.mark({- attributes: {- class: `cm-lintRange cm-lintRange-${d.severity}${- d.markClass ?? ''- }`,- },- diagnostic: d,- }).range(d.from, d.to);- }),- true,- );- return new LintState(ranges, findDiagnostic(ranges));- }+ constructor(+ readonly diagnostics: DecorationSet,+ readonly selected: SelectedDiagnostic | null,+ ) {}++ static init(diagnostics: readonly Diagnostic[], state: EditorState) {+ // Filter the list of diagnostics for which to create markers+ let markedDiagnostics = diagnostics;+ const diagnosticFilter = state.facet(lintConfig).markerFilter;+ if (diagnosticFilter) markedDiagnostics = diagnosticFilter(markedDiagnostics, state);++ const ranges = Decoration.set(+ markedDiagnostics.map((d: Diagnostic) => {+ // For zero-length ranges or ranges covering only a line break, create a widget+ return d.from === d.to || (d.from === d.to - 1 && state.doc.lineAt(d.from).to === d.from)+ ? Decoration.widget({+ widget: new DiagnosticWidget(d),+ diagnostic: d,+ }).range(d.from)+ : Decoration.mark({+ attributes: {+ class: `cm-lintRange cm-lintRange-${d.severity}${d.markClass ?? ''}`,+ },+ diagnostic: d,+ }).range(d.from, d.to);+ }),+ true,+ );+ return new LintState(ranges, findDiagnostic(ranges));+ }}function findDiagnostic(- diagnostics: DecorationSet,- diagnostic: Diagnostic | null = null,- after = 0,+ diagnostics: DecorationSet,+ diagnostic: Diagnostic | null = null,+ after = 0,): SelectedDiagnostic | null {- let found: SelectedDiagnostic | null = null;- diagnostics.between(after, 1e9, (from, to, { spec }) => {- if (diagnostic && spec.diagnostic !== diagnostic) return;- found = new SelectedDiagnostic(from, to, spec.diagnostic);- return false;- });- return found;+ let found: SelectedDiagnostic | null = null;+ diagnostics.between(after, 1e9, (from, to, { spec }) => {+ if (diagnostic && spec.diagnostic !== diagnostic) return;+ found = new SelectedDiagnostic(from, to, spec.diagnostic);+ return false;+ });+ return found;}function hideTooltip(tr: Transaction, tooltip: Tooltip) {- const from = tooltip.pos;- const to = tooltip.end || from;- const result = tr.state.facet(lintConfig).hideOn(tr, from, to);- if (result != null) return result;- const line = tr.startState.doc.lineAt(tooltip.pos);- return !!(- tr.effects.some(e => e.is(setDiagnosticsEffect)) ||- tr.changes.touchesRange(line.from, Math.max(line.to, to))- );+ const from = tooltip.pos;+ const to = tooltip.end || from;+ const result = tr.state.facet(lintConfig).hideOn(tr, from, to);+ if (result != null) return result;+ const line = tr.startState.doc.lineAt(tooltip.pos);+ return !!(+ tr.effects.some((e) => e.is(setDiagnosticsEffect)) ||+ tr.changes.touchesRange(line.from, Math.max(line.to, to))+ );}-function maybeEnableLint(- state: EditorState,- effects: readonly StateEffect<unknown>[],-) {- return state.field(lintState, false)- ? effects- : effects.concat(StateEffect.appendConfig.of(lintExtensions));+function maybeEnableLint(state: EditorState, effects: readonly StateEffect<unknown>[]) {+ return state.field(lintState, false)+ ? effects+ : effects.concat(StateEffect.appendConfig.of(lintExtensions));}/// Returns a transaction spec which updates the current set of/// diagnostics, and enables the lint extension if if wasn't already/// active.export function setDiagnostics(- state: EditorState,- diagnostics: readonly Diagnostic[],+ state: EditorState,+ diagnostics: readonly Diagnostic[],): TransactionSpec {- return {- effects: maybeEnableLint(state, [setDiagnosticsEffect.of(diagnostics)]),- };+ return {+ effects: maybeEnableLint(state, [setDiagnosticsEffect.of(diagnostics)]),+ };}/// The state effect that updates the set of active diagnostics. Can@@ -194,464 +184,435 @@ export const setDiagnosticsEffect = StateEffect.define<readonly Diagnostic[]>();const movePanelSelection = StateEffect.define<SelectedDiagnostic>();const lintState = StateField.define<LintState>({- create() {- return new LintState(Decoration.none, null);- },- update(value, tr) {- if (tr.docChanged && value.diagnostics.size) {- const mapped = value.diagnostics.map(tr.changes);- let selected: SelectedDiagnostic | null = null;- if (value.selected) {- const selPos = tr.changes.mapPos(value.selected.from, 1);- selected =- findDiagnostic(mapped, value.selected.diagnostic, selPos) ||- findDiagnostic(mapped, null, selPos);- }- value = new LintState(mapped, selected);- }-- for (const effect of tr.effects) {- if (effect.is(setDiagnosticsEffect)) {- value = LintState.init(effect.value, tr.state);- } else if (effect.is(movePanelSelection)) {- value = new LintState(value.diagnostics, effect.value);- }- }-- return value;- },- provide: f => [EditorView.decorations.from(f, s => s.diagnostics)],+ create() {+ return new LintState(Decoration.none, null);+ },+ update(value, tr) {+ if (tr.docChanged && value.diagnostics.size) {+ const mapped = value.diagnostics.map(tr.changes);+ let selected: SelectedDiagnostic | null = null;+ if (value.selected) {+ const selPos = tr.changes.mapPos(value.selected.from, 1);+ selected =+ findDiagnostic(mapped, value.selected.diagnostic, selPos) ||+ findDiagnostic(mapped, null, selPos);+ }+ value = new LintState(mapped, selected);+ }++ for (const effect of tr.effects) {+ if (effect.is(setDiagnosticsEffect)) {+ value = LintState.init(effect.value, tr.state);+ } else if (effect.is(movePanelSelection)) {+ value = new LintState(value.diagnostics, effect.value);+ }+ }++ return value;+ },+ provide: (f) => [EditorView.decorations.from(f, (s) => s.diagnostics)],});const activeMark = Decoration.mark({- class: 'cm-lintRange cm-lintRange-active',+ class: 'cm-lintRange cm-lintRange-active',});function lintTooltip(view: EditorView, pos: number, side: -1 | 1) {- const { diagnostics } = view.state.field(lintState);- let found: Diagnostic[] = [];- let stackStart = 2e8;- let stackEnd = 0;- diagnostics.between(- pos - (side < 0 ? 1 : 0),- pos + (side > 0 ? 1 : 0),- (from, to, { spec }) => {- if (- pos >= from &&- pos <= to &&- (from === to || ((pos > from || side > 0) && (pos < to || side < 0)))- ) {- found.push(spec.diagnostic);- stackStart = Math.min(from, stackStart);- stackEnd = Math.max(to, stackEnd);- }- },- );-- const diagnosticFilter = view.state.facet(lintConfig).tooltipFilter;- if (diagnosticFilter) found = diagnosticFilter(found, view.state);-- if (!found.length) return null;-- return {- pos: stackStart,- end: stackEnd,- above: view.state.doc.lineAt(stackStart).to < stackEnd,- create() {- return { dom: diagnosticsTooltip(view, found) };- },- };+ const { diagnostics } = view.state.field(lintState);+ let found: Diagnostic[] = [];+ let stackStart = 2e8;+ let stackEnd = 0;+ diagnostics.between(pos - (side < 0 ? 1 : 0), pos + (side > 0 ? 1 : 0), (from, to, { spec }) => {+ if (+ pos >= from &&+ pos <= to &&+ (from === to || ((pos > from || side > 0) && (pos < to || side < 0)))+ ) {+ found.push(spec.diagnostic);+ stackStart = Math.min(from, stackStart);+ stackEnd = Math.max(to, stackEnd);+ }+ });++ const diagnosticFilter = view.state.facet(lintConfig).tooltipFilter;+ if (diagnosticFilter) found = diagnosticFilter(found, view.state);++ if (!found.length) return null;++ return {+ pos: stackStart,+ end: stackEnd,+ above: view.state.doc.lineAt(stackStart).to < stackEnd,+ create() {+ return { dom: diagnosticsTooltip(view, found) };+ },+ };}-function diagnosticsTooltip(- view: EditorView,- diagnostics: readonly Diagnostic[],-) {- return elt(- 'ul',- { class: 'cm-tooltip-lint' },- diagnostics.map(d => renderDiagnostic(view, d, false)),- );+function diagnosticsTooltip(view: EditorView, diagnostics: readonly Diagnostic[]) {+ return elt(+ 'ul',+ { class: 'cm-tooltip-lint' },+ diagnostics.map((d) => renderDiagnostic(view, d, false)),+ );}/// The type of a function that produces diagnostics.export type LintSource = (- view: EditorView,+ view: EditorView,) => readonly Diagnostic[] | Promise<readonly Diagnostic[]>;const lintPlugin = ViewPlugin.fromClass(- class {- lintTime: number;- timeout = -1;- set = true;-- constructor(readonly view: EditorView) {- const { delay } = view.state.facet(lintConfig);- this.lintTime = Date.now() + delay;- this.run = this.run.bind(this);- this.timeout = setTimeout(this.run, delay);- }-- run() {- clearTimeout(this.timeout);- const now = Date.now();- if (now < this.lintTime - 10) {- this.timeout = setTimeout(this.run, this.lintTime - now);- } else {- this.set = false;- const { state } = this.view;- const { sources } = state.facet(lintConfig);- if (sources.length)- Promise.all(- sources.map(source => Promise.resolve(source(this.view))),- ).then(- annotations => {- const all = annotations.reduce((a, b) => a.concat(b));- if (this.view.state.doc === state.doc)- this.view.dispatch(setDiagnostics(this.view.state, all));- },- error => {- logException(this.view.state, error);- },- );- }- }-- update(update: ViewUpdate) {- const config = update.state.facet(lintConfig);- if (- update.docChanged ||- config !== update.startState.facet(lintConfig) ||- config.needsRefresh?.(update)- ) {- this.lintTime = Date.now() + config.delay;- if (!this.set) {- this.set = true;- this.timeout = setTimeout(this.run, config.delay);- }- }- }-- force() {- if (this.set) {- this.lintTime = Date.now();- this.run();- }- }-- destroy() {- clearTimeout(this.timeout);- }- },+ class {+ lintTime: number;+ timeout = -1;+ set = true;++ constructor(readonly view: EditorView) {+ const { delay } = view.state.facet(lintConfig);+ this.lintTime = Date.now() + delay;+ this.run = this.run.bind(this);+ this.timeout = setTimeout(this.run, delay);+ }++ run() {+ clearTimeout(this.timeout);+ const now = Date.now();+ if (now < this.lintTime - 10) {+ this.timeout = setTimeout(this.run, this.lintTime - now);+ } else {+ this.set = false;+ const { state } = this.view;+ const { sources } = state.facet(lintConfig);+ if (sources.length)+ Promise.all(sources.map((source) => Promise.resolve(source(this.view)))).then(+ (annotations) => {+ const all = annotations.reduce((a, b) => a.concat(b));+ if (this.view.state.doc === state.doc)+ this.view.dispatch(setDiagnostics(this.view.state, all));+ },+ (error) => {+ logException(this.view.state, error);+ },+ );+ }+ }++ update(update: ViewUpdate) {+ const config = update.state.facet(lintConfig);+ if (+ update.docChanged ||+ config !== update.startState.facet(lintConfig) ||+ config.needsRefresh?.(update)+ ) {+ this.lintTime = Date.now() + config.delay;+ if (!this.set) {+ this.set = true;+ this.timeout = setTimeout(this.run, config.delay);+ }+ }+ }++ force() {+ if (this.set) {+ this.lintTime = Date.now();+ this.run();+ }+ }++ destroy() {+ clearTimeout(this.timeout);+ }+ },);const lintConfig = Facet.define<- { source: LintSource | null; config: LintConfig },- Required<LintConfig> & { sources: readonly LintSource[] }+ { source: LintSource | null; config: LintConfig },+ Required<LintConfig> & { sources: readonly LintSource[] }>({- combine(input) {- return {- sources: input- .map(i => i.source)- .filter(x => x != null) as readonly LintSource[],- ...combineConfig(- input.map(i => i.config),- {- delay: 750,- markerFilter: null,- tooltipFilter: null,- needsRefresh: null,- hideOn: () => null,- },- {- needsRefresh: (a, b) => (!a ? b : !b ? a : u => a(u) || b(u)),- },- ),- };- },+ combine(input) {+ return {+ sources: input.map((i) => i.source).filter((x) => x != null) as readonly LintSource[],+ ...combineConfig(+ input.map((i) => i.config),+ {+ delay: 750,+ markerFilter: null,+ tooltipFilter: null,+ needsRefresh: null,+ hideOn: () => null,+ },+ {+ needsRefresh: (a, b) => (!a ? b : !b ? a : (u) => a(u) || b(u)),+ },+ ),+ };+ },});/// Given a diagnostic source, this function returns an extension that/// enables linting with that source. It will be called whenever the/// editor is idle (after its content changed). If `null` is given as/// source, this only configures the lint extension.-export function linter(- source: LintSource | null,- config: LintConfig = {},-): Extension {- return [lintConfig.of({ source, config }), lintPlugin, lintExtensions];+export function linter(source: LintSource | null, config: LintConfig = {}): Extension {+ return [lintConfig.of({ source, config }), lintPlugin, lintExtensions];}/// Forces any linters [configured](#lint.linter) to run when the/// editor is idle to run right away.export function forceLinting(view: EditorView) {- const plugin = view.plugin(lintPlugin);- if (plugin) plugin.force();+ const plugin = view.plugin(lintPlugin);+ if (plugin) plugin.force();}function assignKeys(actions: readonly Action[] | undefined) {- const assigned: string[] = [];- if (actions)- actions: for (const { name } of actions) {- for (let i = 0; i < name.length; i++) {- const ch = name[i];- if (- /[a-zA-Z]/.test(ch) &&- !assigned.some(c => c.toLowerCase() === ch.toLowerCase())- ) {- assigned.push(ch);- continue actions;- }- }- assigned.push('');- }- return assigned;+ const assigned: string[] = [];+ if (actions)+ actions: for (const { name } of actions) {+ for (let i = 0; i < name.length; i++) {+ const ch = name[i];+ if (/[a-zA-Z]/.test(ch) && !assigned.some((c) => c.toLowerCase() === ch.toLowerCase())) {+ assigned.push(ch);+ continue actions;+ }+ }+ assigned.push('');+ }+ return assigned;}-function renderDiagnostic(- view: EditorView,- diagnostic: Diagnostic,- inPanel: boolean,-) {- const keys = inPanel ? assignKeys(diagnostic.actions) : [];- return elt(- 'li',- { class: `cm-diagnostic cm-diagnostic-${diagnostic.severity}` },- elt('span', { class: 'cm-diagnosticTitle' }, diagnostic.title),- elt(- 'span',- { class: 'cm-diagnosticText' },- diagnostic.renderMessage- ? diagnostic.renderMessage(view)- : diagnostic.message,- ),- diagnostic.actions?.map((action, i) => {- let fired = false;- const click = (e: Event) => {- e.preventDefault();- if (fired) return;- fired = true;- const found = findDiagnostic(- view.state.field(lintState).diagnostics,- diagnostic,- );- if (found) action.apply(view, found.from, found.to);- };- const { name } = action;- const keyIndex = keys[i] ? name.indexOf(keys[i]) : -1;- const nameElt =- keyIndex < 0- ? name- : [- name.slice(0, keyIndex),- elt('u', name.slice(keyIndex, keyIndex + 1)),- name.slice(keyIndex + 1),- ];- return elt(- 'button',- {- type: 'button',- class: 'cm-diagnosticAction',- onclick: click,- onmousedown: click,- 'aria-label': ` Action: ${name}${- keyIndex < 0 ? '' : ` (access key "${keys[i]})"`- }.`,- },- nameElt,- );- }),- diagnostic.ignore &&- elt(- 'div',- {- class: 'cm-diagnosticIgnore',- onclick: e => {- e.preventDefault();- if (diagnostic.ignore) {- diagnostic.ignore();- }- },- },- 'Ignore Diagnostic',- ),- diagnostic.source &&- elt('div', { class: 'cm-diagnosticSource' }, diagnostic.source),- );+function renderDiagnostic(view: EditorView, diagnostic: Diagnostic, inPanel: boolean) {+ const keys = inPanel ? assignKeys(diagnostic.actions) : [];+ return elt(+ 'li',+ { class: `cm-diagnostic cm-diagnostic-${diagnostic.severity}` },+ elt('span', { class: 'cm-diagnosticTitle' }, diagnostic.title),+ elt(+ 'span',+ { class: 'cm-diagnosticText' },+ diagnostic.renderMessage ? diagnostic.renderMessage(view) : diagnostic.message,+ ),+ diagnostic.actions?.map((action, i) => {+ let fired = false;+ const click = (e: Event) => {+ e.preventDefault();+ if (fired) return;+ fired = true;+ const found = findDiagnostic(view.state.field(lintState).diagnostics, diagnostic);+ if (found) action.apply(view, found.from, found.to);+ };+ const { name } = action;+ const keyIndex = keys[i] ? name.indexOf(keys[i]) : -1;+ const nameElt =+ keyIndex < 0+ ? name+ : [+ name.slice(0, keyIndex),+ elt('u', name.slice(keyIndex, keyIndex + 1)),+ name.slice(keyIndex + 1),+ ];+ return elt(+ 'button',+ {+ type: 'button',+ class: 'cm-diagnosticAction',+ onclick: click,+ onmousedown: click,+ 'aria-label': ` Action: ${name}${keyIndex < 0 ? '' : ` (access key "${keys[i]})"`}.`,+ },+ nameElt,+ );+ }),+ diagnostic.ignore &&+ elt(+ 'div',+ {+ class: 'cm-diagnosticIgnore',+ onclick: (e) => {+ e.preventDefault();+ if (diagnostic.ignore) {+ diagnostic.ignore();+ }+ },+ },+ 'Ignore Diagnostic',+ ),+ diagnostic.source && elt('div', { class: 'cm-diagnosticSource' }, diagnostic.source),+ );}class DiagnosticWidget extends WidgetType {- constructor(readonly diagnostic: Diagnostic) {- super();- }-- eq(other: DiagnosticWidget) {- return other.diagnostic === this.diagnostic;- }-- toDOM() {- return elt('span', {- class: `cm-lintPoint cm-lintPoint-${this.diagnostic.severity}`,- });- }+ constructor(readonly diagnostic: Diagnostic) {+ super();+ }++ eq(other: DiagnosticWidget) {+ return other.diagnostic === this.diagnostic;+ }++ toDOM() {+ return elt('span', {+ class: `cm-lintPoint cm-lintPoint-${this.diagnostic.severity}`,+ });+ }}function svg(content: string, attrs = `viewBox="0 0 40 40"`) {- return `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${attrs}>${encodeURIComponent(- content,- )}</svg>')`;+ return `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${attrs}>${encodeURIComponent(+ content,+ )}</svg>')`;}function underline(color: string) {- return svg(- `<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${color}" fill="none" stroke-width="1"/>`,- `width="6" height="3"`,- );+ return svg(+ `<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${color}" fill="none" stroke-width="1"/>`,+ `width="6" height="3"`,+ );}const baseTheme = EditorView.baseTheme({- '.cm-diagnostic': {- padding: '4px',- marginLeft: '0px',- display: 'flex',- flexDirection: 'column',- whiteSpace: 'pre-wrap',- },-- '.cm-diagnosticTitle': {- boxShadow: 'inset 0 -2px #DB2B39',- width: 'max-content',- fontWeight: 'bold',- },-- '.cm-diagnosticText': {- marginTop: '8px',- },-- '.cm-diagnosticAction': {- font: 'inherit',- border: 'none',- marginTop: '8px',- display: 'flex',- alignItems: 'center',- gap: 'var(--size-4-2)',- padding: 'var(--size-4-1) var(--size-4-2)',- cursor: 'var(--cursor)',- fontSize: 'var(--font-ui-small)',- borderRadius: 'var(--radius-s)',- whiteSpace: 'nowrap',- width: '100%',- },-- '.cm-tooltip': {- padding: 'var(--size-2-3) !important',- border: '1px solid var(--background-modifier-border-hover) !important',- backgroundColor: 'var(--background-secondary) !important',- borderRadius: 'var(--radius-m) !important',- boxShadow: 'var(--shadow-s) !important',- zIndex: 'var(--layer-menu) !important',- userSelect: 'none !important',- maxHeight: 'calc(100% - var(--header-height)) !important',- overflow: 'hidden !important',- },-- '.cm-diagnosticSource': {- fontSize: '70%',- opacity: 0.7,- },-- '.cm-diagnosticIgnore': {- padding: 'var(--size-4-1) 0px',- fontSize: 'var(--font-ui-small)',- },-- '.cm-diagnosticIgnore:hover': {- textDecoration: 'underline',- },-- '.cm-lintRange': {- backgroundPosition: 'left bottom',- backgroundRepeat: 'repeat-x',- paddingBottom: '0.7px',- },-- '.cm-lintRange-error': { backgroundImage: underline('#d11') },- '.cm-lintRange-warning': { backgroundImage: underline('orange') },- '.cm-lintRange-info': { backgroundImage: underline('#999') },- '.cm-lintRange-hint': { backgroundImage: underline('#66d') },- '.cm-lintRange-active': { backgroundColor: '#ffdd9980' },-- '.cm-tooltip-lint': {- padding: 0,- margin: 0,- },-- '.cm-lintPoint': {- position: 'relative',-- '&:after': {- content: '""',- position: 'absolute',- bottom: 0,- left: '-2px',- borderLeft: '3px solid transparent',- borderRight: '3px solid transparent',- borderBottom: '4px solid #d11',- },- },-- '.cm-lintPoint-warning': {- '&:after': { borderBottomColor: 'orange' },- },- '.cm-lintPoint-info': {- '&:after': { borderBottomColor: '#999' },- },- '.cm-lintPoint-hint': {- '&:after': { borderBottomColor: '#66d' },- },-- '.cm-panel.cm-panel-lint': {- position: 'relative',- '& ul': {- maxHeight: '100px',- overflowY: 'auto',- '& [aria-selected]': {- backgroundColor: '#ddd',- '& u': { textDecoration: 'underline' },- },- '&:focus [aria-selected]': {- background_fallback: '#bdf',- backgroundColor: 'Highlight',- color_fallback: 'white',- color: 'HighlightText',- },- '& u': { textDecoration: 'none' },- padding: 0,- margin: 0,- },- '& [name=close]': {- position: 'absolute',- top: '0',- right: '2px',- background: 'inherit',- border: 'none',- font: 'inherit',- padding: 0,- margin: 0,- },- },+ '.cm-diagnostic': {+ padding: '4px',+ marginLeft: '0px',+ display: 'flex',+ flexDirection: 'column',+ whiteSpace: 'pre-wrap',+ },++ '.cm-diagnosticTitle': {+ boxShadow: 'inset 0 -2px #DB2B39',+ width: 'max-content',+ fontWeight: 'bold',+ },++ '.cm-diagnosticText': {+ marginTop: '8px',+ },++ '.cm-diagnosticAction': {+ font: 'inherit',+ border: 'none',+ marginTop: '8px',+ display: 'flex',+ alignItems: 'center',+ gap: 'var(--size-4-2)',+ padding: 'var(--size-4-1) var(--size-4-2)',+ cursor: 'var(--cursor)',+ fontSize: 'var(--font-ui-small)',+ borderRadius: 'var(--radius-s)',+ whiteSpace: 'nowrap',+ width: '100%',+ },++ '.cm-tooltip': {+ padding: 'var(--size-2-3) !important',+ border: '1px solid var(--background-modifier-border-hover) !important',+ backgroundColor: 'var(--background-secondary) !important',+ borderRadius: 'var(--radius-m) !important',+ boxShadow: 'var(--shadow-s) !important',+ zIndex: 'var(--layer-menu) !important',+ userSelect: 'none !important',+ maxHeight: 'calc(100% - var(--header-height)) !important',+ overflow: 'hidden !important',+ },++ '.cm-diagnosticSource': {+ fontSize: '70%',+ opacity: 0.7,+ },++ '.cm-diagnosticIgnore': {+ padding: 'var(--size-4-1) 0px',+ fontSize: 'var(--font-ui-small)',+ },++ '.cm-diagnosticIgnore:hover': {+ textDecoration: 'underline',+ },++ '.cm-lintRange': {+ backgroundPosition: 'left bottom',+ backgroundRepeat: 'repeat-x',+ paddingBottom: '0.7px',+ },++ '.cm-lintRange-error': { backgroundImage: underline('#d11') },+ '.cm-lintRange-warning': { backgroundImage: underline('orange') },+ '.cm-lintRange-info': { backgroundImage: underline('#999') },+ '.cm-lintRange-hint': { backgroundImage: underline('#66d') },+ '.cm-lintRange-active': { backgroundColor: '#ffdd9980' },++ '.cm-tooltip-lint': {+ padding: 0,+ margin: 0,+ },++ '.cm-lintPoint': {+ position: 'relative',++ '&:after': {+ content: '""',+ position: 'absolute',+ bottom: 0,+ left: '-2px',+ borderLeft: '3px solid transparent',+ borderRight: '3px solid transparent',+ borderBottom: '4px solid #d11',+ },+ },++ '.cm-lintPoint-warning': {+ '&:after': { borderBottomColor: 'orange' },+ },+ '.cm-lintPoint-info': {+ '&:after': { borderBottomColor: '#999' },+ },+ '.cm-lintPoint-hint': {+ '&:after': { borderBottomColor: '#66d' },+ },++ '.cm-panel.cm-panel-lint': {+ position: 'relative',+ '& ul': {+ maxHeight: '100px',+ overflowY: 'auto',+ '& [aria-selected]': {+ backgroundColor: '#ddd',+ '& u': { textDecoration: 'underline' },+ },+ '&:focus [aria-selected]': {+ background_fallback: '#bdf',+ backgroundColor: 'Highlight',+ color_fallback: 'white',+ color: 'HighlightText',+ },+ '& u': { textDecoration: 'none' },+ padding: 0,+ margin: 0,+ },+ '& [name=close]': {+ position: 'absolute',+ top: '0',+ right: '2px',+ background: 'inherit',+ border: 'none',+ font: 'inherit',+ padding: 0,+ margin: 0,+ },+ },});const lintExtensions = [- lintState,- EditorView.decorations.compute([lintState], state => {- const { selected, panel } = state.field(lintState);- return !selected || !panel || selected.from === selected.to- ? Decoration.none- : Decoration.set([activeMark.range(selected.from, selected.to)]);- }),- hoverTooltip(lintTooltip, { hideOn: hideTooltip }),- baseTheme,+ lintState,+ EditorView.decorations.compute([lintState], (state) => {+ const { selected, panel } = state.field(lintState);+ return !selected || !panel || selected.from === selected.to+ ? Decoration.none+ : Decoration.set([activeMark.range(selected.from, selected.to)]);+ }),+ hoverTooltip(lintTooltip, { hideOn: hideTooltip }),+ baseTheme,];/// Iterate over the marked diagnostics for the given editor state,@@ -660,15 +621,11 @@ const lintExtensions = [/// hold the original outdated position, whereas the `to` and `from`/// arguments hold the diagnostic's current position.export function forEachDiagnostic(- state: EditorState,- f: (d: Diagnostic, from: number, to: number) => void,+ state: EditorState,+ f: (d: Diagnostic, from: number, to: number) => void,) {- const lState = state.field(lintState, false);- if (lState?.diagnostics.size)- for (- let iter = RangeSet.iter([lState.diagnostics]);- iter.value;- iter.next()- )- f(iter.value.spec.diagnostic, iter.from, iter.to);+ const lState = state.field(lintState, false);+ if (lState?.diagnostics.size)+ for (let iter = RangeSet.iter([lState.diagnostics]); iter.value; iter.next())+ f(iter.value.spec.diagnostic, iter.from, iter.to);}diff --git a/packages/vscode-plugin/package.json b/packages/vscode-plugin/package.jsonindex 52956f4b9..093612ebf 100644--- a/packages/vscode-plugin/package.json+++ b/packages/vscode-plugin/package.json@@ -1514,7 +1514,7 @@"test": "node build/tests/runTests.js","vscode:prepublish": "pnpm lint && tsc --noEmit && node esbuild.cjs --production","package": "vsce package",- "lint": "biome check src/**/*.ts"+ "lint": "biome check src"},"devDependencies": {"@types/jasmine": "^5.1.7",diff --git a/packages/web/src/lib/Editor.svelte b/packages/web/src/lib/Editor.svelteindex 99a291b29..94089c894 100644--- a/packages/web/src/lib/Editor.svelte+++ b/packages/web/src/lib/Editor.svelte@@ -25,7 +25,9 @@ let linter: WorkerLinter;let w: number | undefined;-$: linter?.lint(content).then((newLints) => (lints = newLints));+$: linter?.lint(content).then((newLints) => {+ lints = newLints;+});$: boxHeight = calcHeight(content);$: if (focused != null && lintCards[focused])lintCards[focused].scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'nearest' });diff --git a/packages/web/src/lib/Underlines.svelte b/packages/web/src/lib/Underlines.svelteindex 2637575e1..03fe26f4c 100644--- a/packages/web/src/lib/Underlines.svelte+++ b/packages/web/src/lib/Underlines.svelte@@ -43,14 +43,11 @@ let linter: WorkerLinter;await linter.setup();})();-$: linter- ?.lint(content)- .then(- (newLints) =>- (lints = newLints- .map<[Lint, number]>((lint, index) => [lint, index])- .toSorted(([a], [b]) => a.span().start - b.span().end)),- );+$: linter?.lint(content).then((newLints) => {+ lints = newLints+ .map<[Lint, number]>((lint, index) => [lint, index])+ .toSorted(([a], [b]) => a.span().start - b.span().end);+});$: if (focusLintIndex != null && lintHighlights[focusLintIndex] != null)lintHighlights[focusLintIndex].scrollIntoView({behavior: 'smooth',@@ -111,7 +108,7 @@ function processString(lintMap: [Lint, number][], focusLintIndex?: number) {let lastLint = lints.at(-1);- let finalChunk;+ let finalChunk: string;if (lastLint != null) {finalChunk = content.substring(lastLint[0].span().end);diff --git a/packages/web/src/routes/languagedetection/+page.svelte b/packages/web/src/routes/languagedetection/+page.svelteindex 5bd226328..41437488d 100644--- a/packages/web/src/routes/languagedetection/+page.svelte+++ b/packages/web/src/routes/languagedetection/+page.svelte@@ -10,8 +10,12 @@ let strippedText = '';let linter = new WorkerLinter({ binary });linter.setup();-$: linter.isLikelyEnglish(text).then((v) => (isEnglish = v));-$: linter.isolateEnglish(text).then((t) => (strippedText = t));+$: linter.isLikelyEnglish(text).then((v) => {+ isEnglish = v;+});+$: linter.isolateEnglish(text).then((t) => {+ strippedText = t;+});$: color = isEnglish == null ? '' : isEnglish ? 'bg-green-100' : 'bg-red-100';diff --git a/packages/web/src/routes/titlecase/+page.svelte b/packages/web/src/routes/titlecase/+page.svelteindex 2fd8c4c94..054411bd5 100644--- a/packages/web/src/routes/titlecase/+page.svelte+++ b/packages/web/src/routes/titlecase/+page.svelte@@ -10,7 +10,9 @@ let linter = new WorkerLinter({ binary });let text = $state('');$effect(() => {- linter.toTitleCase(text).then((t) => (text = t));+ linter.toTitleCase(text).then((t) => {+ text = t;+ });});onMount(() => {diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex a9b9dd814..ee65c256b 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -12,18 +12,9 @@ catalogs:'@types/node':specifier: ^22.13.10version: 22.13.10- '@typescript-eslint/eslint-plugin':- specifier: ^8.18.1- version: 8.26.0- '@typescript-eslint/parser':- specifier: ^8.18.1- version: 8.26.0- eslint:- specifier: ^8.57.0- version: 8.57.1- prettier:- specifier: ^3.5.3- version: 3.5.3+ tslib:+ specifier: ^2.8.1+ version: 2.8.1typescript:specifier: ^5.8.2version: 5.8.2@@ -35,33 +26,12 @@ importers:'@babel/runtime':specifier: 'catalog:'version: 7.26.10- '@typescript-eslint/eslint-plugin':- specifier: 'catalog:'- version: 8.26.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])- '@typescript-eslint/parser':- specifier: 'catalog:'- version: 8.26.0([email protected])([email protected])+ '@biomejs/biome':+ specifier: 1.9.4+ version: 1.9.4check-dependency-version-consistency:specifier: ^5.0.0version: 5.0.0- eslint:- specifier: 'catalog:'- version: 8.57.1- eslint-config-prettier:- specifier: ^10.0.1- version: 10.0.2([email protected])- eslint-plugin-prettier:- specifier: ^5.2.1- version: 5.2.3(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])- eslint-plugin-svelte:- specifier: ^2.46.1- version: 2.46.1([email protected])([email protected])- prettier:- specifier: 'catalog:'- version: 3.5.3- prettier-plugin-svelte:- specifier: ^3.0.3- version: 3.3.3([email protected])([email protected])typescript:specifier: 'catalog:'version: 5.8.2@@ -160,6 +130,9 @@ importers:lodash-es:specifier: ^4.17.21version: 4.17.21+ tslib:+ specifier: 'catalog:'+ version: 2.8.1devDependencies:'@rollup/plugin-node-resolve':specifier: ^16.0.0@@ -198,12 +171,6 @@ importers:'@types/vscode':specifier: ^1.89.0version: 1.98.0- '@typescript-eslint/eslint-plugin':- specifier: 'catalog:'- version: 8.26.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])- '@typescript-eslint/parser':- specifier: 'catalog:'- version: 8.26.0([email protected])([email protected])'@vscode/test-electron':specifier: ^2.3.9version: 2.4.1@@ -213,9 +180,6 @@ importers:esbuild:specifier: ^0.25.0version: 0.25.1- eslint:- specifier: 'catalog:'- version: 8.57.1jasmine:specifier: ^5.6.0version: 5.6.0@@ -281,7 +245,7 @@ importers:specifier: ^3.3.3version: 3.4.17tslib:- specifier: ^2.4.1+ specifier: 'catalog:'version: 2.8.1typescript:specifier: 'catalog:'@@ -329,21 +293,12 @@ importers:specifier: ^18.0.0version: 18.3.1([email protected])devDependencies:- '@wordpress/eslint-plugin':- specifier: ^22.2.0- version: 22.6.0(@babel/[email protected])(@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected])'@wordpress/scripts':specifier: ^30.9.0version: 30.13.0(@playwright/[email protected])(@types/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])'@wp-now/wp-now':specifier: ^0.1.74version: 0.1.74- eslint:- specifier: 'catalog:'- version: 8.57.1- prettier:- specifier: 'catalog:'- version: 3.5.3typescript:specifier: 'catalog:'version: 5.8.2@@ -1174,6 +1129,59 @@ packages:'@bcoe/[email protected]':resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog==}+ engines: {node: '>=14.21.3'}+ hasBin: true++ '@biomejs/[email protected]':+ resolution: {integrity: sha512-bFBsPWrNvkdKrNCYeAp+xo2HecOGPAy9WyNyB/jKnnedgzl4W4Hb9ZMzYNbf8dMCGmUdSavlYHiR01QaYR58cw==}+ engines: {node: '>=14.21.3'}+ cpu: [arm64]+ os: [darwin]++ '@biomejs/[email protected]':+ resolution: {integrity: sha512-ngYBh/+bEedqkSevPVhLP4QfVPCpb+4BBe2p7Xs32dBgs7rh9nY2AIYUL6BgLw1JVXV8GlpKmb/hNiuIxfPfZg==}+ engines: {node: '>=14.21.3'}+ cpu: [x64]+ os: [darwin]++ '@biomejs/[email protected]':+ resolution: {integrity: sha512-v665Ct9WCRjGa8+kTr0CzApU0+XXtRgwmzIf1SeKSGAv+2scAlW6JR5PMFo6FzqqZ64Po79cKODKf3/AAmECqA==}+ engines: {node: '>=14.21.3'}+ cpu: [arm64]+ os: [linux]++ '@biomejs/[email protected]':+ resolution: {integrity: sha512-fJIW0+LYujdjUgJJuwesP4EjIBl/N/TcOX3IvIHJQNsAqvV2CHIogsmA94BPG6jZATS4Hi+xv4SkBBQSt1N4/g==}+ engines: {node: '>=14.21.3'}+ cpu: [arm64]+ os: [linux]++ '@biomejs/[email protected]':+ resolution: {integrity: sha512-gEhi/jSBhZ2m6wjV530Yy8+fNqG8PAinM3oV7CyO+6c3CEh16Eizm21uHVsyVBEB6RIM8JHIl6AGYCv6Q6Q9Tg==}+ engines: {node: '>=14.21.3'}+ cpu: [x64]+ os: [linux]++ '@biomejs/[email protected]':+ resolution: {integrity: sha512-lRCJv/Vi3Vlwmbd6K+oQ0KhLHMAysN8lXoCI7XeHlxaajk06u7G+UsFSO01NAs5iYuWKmVZjmiOzJ0OJmGsMwg==}+ engines: {node: '>=14.21.3'}+ cpu: [x64]+ os: [linux]++ '@biomejs/[email protected]':+ resolution: {integrity: sha512-tlbhLk+WXZmgwoIKwHIHEBZUwxml7bRJgk0X2sPyNR3S93cdRq6XulAZRQJ17FYGGzWne0fgrXBKpl7l4M87Hg==}+ engines: {node: '>=14.21.3'}+ cpu: [arm64]+ os: [win32]++ '@biomejs/[email protected]':+ resolution: {integrity: sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA==}+ engines: {node: '>=14.21.3'}+ cpu: [x64]+ os: [win32]+'@bundled-es-modules/[email protected]':resolution: {integrity: sha512-8o+5fRPLNbjbdGRRmJj3h6Hh1AQJf2dk3qQ/5ZFb+PXkRNiSoMGGUKlsgLfrxneb72axVJyIYji64E2+nNfYyw==}@@ -3051,14 +3059,6 @@ packages:typescript:optional: true- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-cLr1J6pe56zjKYajK6SSSre6nl1Gj6xDp1TY0trpgPzjVbgDwd09v2Ws37LABxzkicmUjhEeg/fAUjPJJB1v5Q==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}- peerDependencies:- '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0- eslint: ^8.57.0 || ^9.0.0- typescript: '>=4.8.4 <5.9.0'-'@typescript-eslint/[email protected]':resolution: {integrity: sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==}engines: {node: ^16.0.0 || >=18.0.0}@@ -3069,13 +3069,6 @@ packages:typescript:optional: true- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-mNtXP9LTVBy14ZF3o7JG69gRPBK/2QWtQd0j0oH26HcY/foyJJau6pNUez7QrM5UHnSvwlQcJXKsk0I99B9pOA==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}- peerDependencies:- eslint: ^8.57.0 || ^9.0.0- typescript: '>=4.8.4 <5.9.0'-'@typescript-eslint/[email protected]':resolution: {integrity: sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}@@ -3084,10 +3077,6 @@ packages:resolution: {integrity: sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==}engines: {node: ^16.0.0 || >=18.0.0}- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-E0ntLvsfPqnPwng8b8y4OGuzh/iIOm2z8U3S9zic2TeMLW61u5IH2Q1wu0oSTkfrSzwbDJIB/Lm8O3//8BWMPA==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}-'@typescript-eslint/[email protected]':resolution: {integrity: sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==}engines: {node: ^16.0.0 || >=18.0.0}@@ -3098,13 +3087,6 @@ packages:typescript:optional: true- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-ruk0RNChLKz3zKGn2LwXuVoeBcUMh+jaqzN461uMMdxy5H9epZqIBtYj7UiPXRuOpaALXGbmRuZQhmwHhaS04Q==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}- peerDependencies:- eslint: ^8.57.0 || ^9.0.0- typescript: '>=4.8.4 <5.9.0'-'@typescript-eslint/[email protected]':resolution: {integrity: sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}@@ -3113,10 +3095,6 @@ packages:resolution: {integrity: sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==}engines: {node: ^16.0.0 || >=18.0.0}- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-89B1eP3tnpr9A8L6PZlSjBvnJhWXtYfZhECqlBl1D9Lme9mHO6iWlsprBtVenQvY1HMhax1mWOjhtL3fh/u+pA==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}-'@typescript-eslint/[email protected]':resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}@@ -3135,12 +3113,6 @@ packages:typescript:optional: true- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-tiJ1Hvy/V/oMVRTbEOIeemA2XoylimlDQ03CgPPNaHYZbpsc78Hmngnt+WXZfJX1pjQ711V7g0H7cSJThGYfPQ==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}- peerDependencies:- typescript: '>=4.8.4 <5.9.0'-'@typescript-eslint/[email protected]':resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}@@ -3153,13 +3125,6 @@ packages:peerDependencies:eslint: ^7.0.0 || ^8.0.0- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-2L2tU3FVwhvU14LndnQCA2frYC8JnPDVKyQtWFPf8IYFMt/ykEN1bPolNhNbCVgOmdzTlWdusCTKA/9nKrf8Ig==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}- peerDependencies:- eslint: ^8.57.0 || ^9.0.0- typescript: '>=4.8.4 <5.9.0'-'@typescript-eslint/[email protected]':resolution: {integrity: sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}@@ -3168,10 +3133,6 @@ packages:resolution: {integrity: sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==}engines: {node: ^16.0.0 || >=18.0.0}- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-2z8JQJWAzPdDd51dRQ/oqIJxe99/hoLIqmf8RMCAJQtYDc535W/Jt2+RTP4bP0aKeBG1F65yjIZuczOXCmbWwg==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}-'@typescript/[email protected]':resolution: {integrity: sha512-JwoxboBh7Oz1v38tPbkrZ62ZXNHAk9bJ7c9x0eI5zBfBnBYGhURdbnh7Z4smN/MV48Y5OCcZb58n972UtbazsA==}peerDependencies:@@ -5341,18 +5302,6 @@ packages:engines: {node: '>=6.0'}hasBin: true- resolution: {integrity: sha512-3z3vFexKIEnjHE3zCMRo6fn/e44U7T1khUjg+Hp0ZQMCigh28rALD0nPFBcGZuiLC5rLZa2ubQHDRln09JfU2Q==}- engines: {node: '>=12'}- peerDependencies:- eslint: '>=6.0.0'-- resolution: {integrity: sha512-1105/17ZIMjmCOJOPNfVdbXafLCLj3hPmkmB7dLgt7XsQ/zkxSuDerE/xgO3RxoHysR1N1whmquY0lSn2O0VLg==}- hasBin: true- peerDependencies:- eslint: '>=7.0.0'-resolution: {integrity: sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg==}hasBin: true@@ -5453,16 +5402,6 @@ packages:peerDependencies:eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7- resolution: {integrity: sha512-7xYr2o4NID/f9OEYMqxsEQsCsj4KaMy4q5sANaKkAb6/QeCjYFxRmDm2S3YC3A3pl1kyPZ/syOx/i7LcWYSbIw==}- engines: {node: ^14.17.0 || >=16.0.0}- peerDependencies:- eslint: ^7.0.0 || ^8.0.0-0 || ^9.0.0-0- svelte: ^3.37.0 || ^4.0.0 || ^5.0.0- peerDependenciesMeta:- svelte:- optional: true-resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==}engines: {node: '>=8.0.0'}@@ -5479,10 +5418,6 @@ packages:resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}-resolution: {integrity: sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}@@ -6989,10 +6924,6 @@ packages:engines: {node: '>=18.16'}hasBin: true- resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==}- engines: {node: '>=10'}-resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==}engines: {node: '>=14'}@@ -8062,18 +7993,6 @@ packages:peerDependencies:postcss: ^8.4.21- resolution: {integrity: sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==}- engines: {node: '>= 10'}- peerDependencies:- postcss: '>=8.0.9'- ts-node: '>=9.0.0'- peerDependenciesMeta:- postcss:- optional: true- ts-node:- optional: true-resolution: {integrity: sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==}engines: {node: '>= 14'}@@ -8242,12 +8161,6 @@ packages:resolution: {integrity: sha512-0sglIs9Wmkzbr8lQwEyIzlDOOC9bGmfVKcJTaxv3vMmd3uo4o4DerC3En0bnmgceeql9BfC8hRkp7cg0fjdVqw==}- resolution: {integrity: sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==}- engines: {node: '>=12.0'}- peerDependencies:- postcss: ^8.3.3-resolution: {integrity: sha512-0AioNCJZ2DPYz5ABT6bddIqlhgwhpHZ/l65YAYo0BCIn0xiDpsnTHz0gnoTGk0OXZW0JRs+cDwL8u/teRdz+8A==}engines: {node: '>=18.0'}@@ -8308,17 +8221,6 @@ packages:resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==}engines: {node: '>=6.0.0'}- resolution: {integrity: sha512-yViK9zqQ+H2qZD1w/bH7W8i+bVfKrD8GIFjkFe4Thl6kCT9SlAsXVNmt3jCvQOCsnOhcvYgsoVlRV/Eu6x5nNw==}- peerDependencies:- prettier: ^3.0.0- svelte: ^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0-- resolution: {integrity: sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==}- engines: {node: '>=14'}- hasBin: true-resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==}engines: {node: '>=6'}@@ -9318,15 +9220,6 @@ packages:svelte: ^4.0.0 || ^5.0.0-next.0typescript: '>=5.0.0'- resolution: {integrity: sha512-GpU52uPKKcVnh8tKN5P4UZpJ/fUDndmq7wfsvoVXsyP+aY0anol7Yqo01fyrlaWGMFfm4av5DyrjlaXdLRJvGA==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- peerDependencies:- svelte: ^3.37.0 || ^4.0.0 || ^5.0.0- peerDependenciesMeta:- svelte:- optional: true-resolution: {integrity: sha512-AoxSog8fSt9sSN8ajMYM1I48ndq+rmPlaZSkJFCRbZ7I3KO8IPX6pl5mewWxdYL1JDI06hHu/7epn3h5tlJV9w==}@@ -9564,12 +9457,6 @@ packages:peerDependencies:typescript: '>=4.2.0'- resolution: {integrity: sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==}- engines: {node: '>=18.12'}- peerDependencies:- typescript: '>=4.8.4'-resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}@@ -12165,6 +12052,41 @@ snapshots:'@bcoe/[email protected]': {}+ '@biomejs/[email protected]':+ optionalDependencies:+ '@biomejs/cli-darwin-arm64': 1.9.4+ '@biomejs/cli-darwin-x64': 1.9.4+ '@biomejs/cli-linux-arm64': 1.9.4+ '@biomejs/cli-linux-arm64-musl': 1.9.4+ '@biomejs/cli-linux-x64': 1.9.4+ '@biomejs/cli-linux-x64-musl': 1.9.4+ '@biomejs/cli-win32-arm64': 1.9.4+ '@biomejs/cli-win32-x64': 1.9.4++ '@biomejs/[email protected]':+ optional: true++ '@biomejs/[email protected]':+ optional: true++ '@biomejs/[email protected]':+ optional: true++ '@biomejs/[email protected]':+ optional: true++ '@biomejs/[email protected]':+ optional: true++ '@biomejs/[email protected]':+ optional: true++ '@biomejs/[email protected]':+ optional: true++ '@biomejs/[email protected]':+ optional: true+'@bundled-es-modules/[email protected]':dependencies:cookie: 0.7.2@@ -14191,23 +14113,6 @@ snapshots:transitivePeerDependencies:- supports-color- '@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])':- dependencies:- '@eslint-community/regexpp': 4.12.1- '@typescript-eslint/parser': 8.26.0([email protected])([email protected])- '@typescript-eslint/scope-manager': 8.26.0- '@typescript-eslint/type-utils': 8.26.0([email protected])([email protected])- '@typescript-eslint/utils': 8.26.0([email protected])([email protected])- '@typescript-eslint/visitor-keys': 8.26.0- eslint: 8.57.1- graphemer: 1.4.0- ignore: 5.3.2- natural-compare: 1.4.0- ts-api-utils: 2.0.1([email protected])- typescript: 5.8.2- transitivePeerDependencies:- - supports-color-dependencies:'@typescript-eslint/scope-manager': 6.21.0@@ -14221,18 +14126,6 @@ snapshots:transitivePeerDependencies:- supports-color- dependencies:- '@typescript-eslint/scope-manager': 8.26.0- '@typescript-eslint/types': 8.26.0- '@typescript-eslint/typescript-estree': 8.26.0([email protected])- '@typescript-eslint/visitor-keys': 8.26.0- debug: 4.4.0- eslint: 8.57.1- typescript: 5.8.2- transitivePeerDependencies:- - supports-color-'@typescript-eslint/[email protected]':dependencies:'@typescript-eslint/types': 5.62.0@@ -14243,11 +14136,6 @@ snapshots:'@typescript-eslint/types': 6.21.0'@typescript-eslint/visitor-keys': 6.21.0- '@typescript-eslint/[email protected]':- dependencies:- '@typescript-eslint/types': 8.26.0- '@typescript-eslint/visitor-keys': 8.26.0-dependencies:'@typescript-eslint/typescript-estree': 6.21.0([email protected])@@ -14260,23 +14148,10 @@ snapshots:transitivePeerDependencies:- supports-color- dependencies:- '@typescript-eslint/typescript-estree': 8.26.0([email protected])- '@typescript-eslint/utils': 8.26.0([email protected])([email protected])- debug: 4.4.0- eslint: 8.57.1- ts-api-utils: 2.0.1([email protected])- typescript: 5.8.2- transitivePeerDependencies:- - supports-color-'@typescript-eslint/[email protected]': {}'@typescript-eslint/[email protected]': {}- '@typescript-eslint/[email protected]': {}-'@typescript-eslint/[email protected]([email protected])':dependencies:'@typescript-eslint/types': 5.62.0@@ -14306,20 +14181,6 @@ snapshots:transitivePeerDependencies:- supports-color- '@typescript-eslint/[email protected]([email protected])':- dependencies:- '@typescript-eslint/types': 8.26.0- '@typescript-eslint/visitor-keys': 8.26.0- debug: 4.4.0- fast-glob: 3.3.3- is-glob: 4.0.3- minimatch: 9.0.5- semver: 7.7.1- ts-api-utils: 2.0.1([email protected])- typescript: 5.8.2- transitivePeerDependencies:- - supports-color-dependencies:'@eslint-community/eslint-utils': 4.4.1([email protected])@@ -14349,17 +14210,6 @@ snapshots:- supports-color- typescript- dependencies:- '@eslint-community/eslint-utils': 4.4.1([email protected])- '@typescript-eslint/scope-manager': 8.26.0- '@typescript-eslint/types': 8.26.0- '@typescript-eslint/typescript-estree': 8.26.0([email protected])- eslint: 8.57.1- typescript: 5.8.2- transitivePeerDependencies:- - supports-color-'@typescript-eslint/[email protected]':dependencies:'@typescript-eslint/types': 5.62.0@@ -14370,11 +14220,6 @@ snapshots:'@typescript-eslint/types': 6.21.0eslint-visitor-keys: 3.4.3- '@typescript-eslint/[email protected]':- dependencies:- '@typescript-eslint/types': 8.26.0- eslint-visitor-keys: 4.2.0-'@typescript/[email protected]([email protected])':dependencies:debug: 4.4.0@@ -15401,37 +15246,6 @@ snapshots:dependencies:'@babel/runtime': 7.25.7- '@wordpress/[email protected](@babel/[email protected])(@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected])':- dependencies:- '@babel/core': 7.25.7- '@babel/eslint-parser': 7.25.7(@babel/[email protected])([email protected])- '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])- '@typescript-eslint/parser': 6.21.0([email protected])([email protected])- '@wordpress/babel-preset-default': 8.20.0- '@wordpress/prettier-config': 4.20.0([email protected])- cosmiconfig: 7.1.0- eslint: 8.57.1- eslint-config-prettier: 8.10.0([email protected])- eslint-plugin-import: 2.31.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])- eslint-plugin-jest: 27.9.0(@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])([email protected](@types/[email protected])([email protected]))([email protected])- eslint-plugin-jsdoc: 46.10.1([email protected])- eslint-plugin-jsx-a11y: 6.10.2([email protected])- eslint-plugin-playwright: 0.15.3([email protected](@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])([email protected](@types/[email protected])([email protected]))([email protected]))([email protected])- eslint-plugin-prettier: 5.2.3(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])- eslint-plugin-react: 7.37.4([email protected])- eslint-plugin-react-hooks: 4.6.2([email protected])- globals: 13.24.0- requireindex: 1.2.0- optionalDependencies:- prettier: 3.5.3- typescript: 5.8.2- transitivePeerDependencies:- - '@types/eslint'- - eslint-import-resolver-typescript- - eslint-import-resolver-webpack- - jest- - supports-color-'@wordpress/[email protected](@babel/[email protected])(@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected])':dependencies:'@babel/core': 7.25.7@@ -15694,10 +15508,6 @@ snapshots:- '@types/react'- supports-color- '@wordpress/[email protected]([email protected])':- dependencies:- prettier: 3.5.3-'@wordpress/[email protected]([email protected])':dependencies:prettier: [email protected]@@ -17701,15 +17511,6 @@ snapshots:optionalDependencies:source-map: 0.6.1- dependencies:- eslint: 8.57.1- semver: 7.7.1-- dependencies:- eslint: 8.57.1-dependencies:eslint: 8.57.1@@ -17812,26 +17613,6 @@ snapshots:optionalDependencies:eslint-plugin-jest: 27.9.0(@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])([email protected](@types/[email protected])([email protected]))([email protected])- [email protected](@types/[email protected])([email protected]([email protected]))([email protected])([email protected]):- dependencies:- eslint: 8.57.1- prettier: 3.5.3- prettier-linter-helpers: 1.0.0- synckit: 0.9.2- optionalDependencies:- '@types/eslint': 9.6.1- eslint-config-prettier: 10.0.2([email protected])-- [email protected](@types/[email protected])([email protected]([email protected]))([email protected])([email protected]):- dependencies:- eslint: 8.57.1- prettier: 3.5.3- prettier-linter-helpers: 1.0.0- synckit: 0.9.2- optionalDependencies:- '@types/eslint': 9.6.1- eslint-config-prettier: 8.10.0([email protected])-[email protected](@types/[email protected])([email protected]([email protected]))([email protected])([email protected]):dependencies:eslint: 8.57.1@@ -17868,25 +17649,6 @@ snapshots:string.prototype.matchall: 4.0.12string.prototype.repeat: 1.0.0- dependencies:- '@eslint-community/eslint-utils': 4.4.1([email protected])- '@jridgewell/sourcemap-codec': 1.5.0- eslint: 8.57.1- eslint-compat-utils: 0.5.1([email protected])- esutils: 2.0.3- known-css-properties: 0.35.0- postcss: 8.5.3- postcss-load-config: 3.1.4([email protected])- postcss-safe-parser: 6.0.0([email protected])- postcss-selector-parser: 6.1.2- semver: 7.7.1- svelte-eslint-parser: 0.43.0([email protected])- optionalDependencies:- svelte: 5.21.0- transitivePeerDependencies:- - ts-node-dependencies:esrecurse: 4.3.0@@ -17901,8 +17663,6 @@ snapshots:- [email protected]: {}-dependencies:'@eslint-community/eslint-utils': 4.4.1([email protected])@@ -19783,8 +19543,6 @@ snapshots:- supports-color- utf-8-validate- [email protected]: {}-@@ -21059,13 +20817,6 @@ snapshots:camelcase-css: 2.0.1postcss: 8.5.3- dependencies:- lilconfig: 2.1.0- yaml: 1.10.2- optionalDependencies:- postcss: 8.5.3-dependencies:lilconfig: 3.1.3@@ -21215,10 +20966,6 @@ snapshots:- dependencies:- postcss: 8.5.3-dependencies:postcss: 8.5.3@@ -21285,13 +21032,6 @@ snapshots:dependencies:fast-diff: 1.3.0- dependencies:- prettier: 3.5.3- svelte: 5.21.0-- [email protected]: {}-@@ -22542,16 +22282,6 @@ snapshots:transitivePeerDependencies:- picomatch- dependencies:- eslint-scope: 7.2.2- eslint-visitor-keys: 3.4.3- espree: 9.6.1- postcss: 8.5.3- postcss-scss: 4.0.9([email protected])- optionalDependencies:- svelte: 5.21.0-@@ -22825,10 +22555,6 @@ snapshots:dependencies:typescript: 5.8.2- dependencies:- typescript: 5.8.2-