From 51d6696821fb4b802715b07fcd919536f51b2532 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Wed, 18 Nov 2026 14:17:53 +0100 Subject: [PATCH 01/36] chore: update react-science --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3ac21e25e..d1058fe78 100644 --- a/package-lock.json +++ b/package-lock.json @@ -61,7 +61,7 @@ "react-ocl-nmr": "^4.1.1", "react-plot": "^3.1.2", "react-rnd": "^10.5.3", - "react-science": "^24.1.1", + "react-science": "^24.1.2", "smart-array-filter": "^5.0.0", "ts-pattern": "^5.9.2", "usehooks-ts": "^3.1.1", @@ -10223,9 +10223,9 @@ } }, "node_modules/react-science": { - "version": "24.1.1", - "resolved": "https://registry.npmjs.org/react-science/-/react-science-24.1.1.tgz", - "integrity": "sha512-aHxqbozdk1mtiG8jwma55jCN01MIJmGzuK8V+FFlpO0h2WcqImJ2b1+SFfKH6vsuROwpk2aZvc2+KK80BsqAIQ==", + "version": "24.1.2", + "resolved": "https://registry.npmjs.org/react-science/-/react-science-24.1.2.tgz", + "integrity": "sha512-ZwdpxBfGDMMaMFcd4O718rAuHEtCC86dTrk9dbltk2JF6nVv9tvplOjI8iv0ZGd3PZc/9520cQTr3bK0Samrsg==", "license": "MIT", "dependencies": { "@emotion/styled": "^11.14.1", diff --git a/package.json b/package.json index 13ee59594..9ce13ea21 100644 --- a/package.json +++ b/package.json @@ -112,7 +112,7 @@ "react-ocl-nmr": "^4.1.1", "react-plot": "^3.1.2", "react-rnd": "^10.5.3", - "react-science": "^24.1.1", + "react-science": "^24.1.2", "smart-array-filter": "^5.0.0", "ts-pattern": "^5.9.2", "usehooks-ts": "^3.1.1", From bb558412ea5583b32d63639b9c709682cfaf35a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Wed, 18 Nov 2026 14:54:18 +0100 Subject: [PATCH 02/36] fix: improve a11y of components used in NmriumPage tests --- src/component/1d/HorizontalAxis1D.tsx | 1 + src/component/1d/tool/PivotIndicator1D.tsx | 1 + src/component/elements/D3Axis.tsx | 6 +- src/component/header/Header.tsx | 7 ++- .../SimplePhaseCorrectionOptionsPanel.tsx | 4 ++ src/component/loader/DropZone.tsx | 2 +- test-e2e/NmriumPage/index.ts | 56 +++++++++++-------- 7 files changed, 51 insertions(+), 26 deletions(-) diff --git a/src/component/1d/HorizontalAxis1D.tsx b/src/component/1d/HorizontalAxis1D.tsx index 4d8086cc4..6b3dc6413 100644 --- a/src/component/1d/HorizontalAxis1D.tsx +++ b/src/component/1d/HorizontalAxis1D.tsx @@ -45,6 +45,7 @@ export function HorizontalAxis1D() { return ( , 'transform' | 'children' | 'className'>, + Pick< + SVGAttributes, + 'transform' | 'children' | 'className' | 'aria-label' + >, UseLinearPrimaryTicksResult { gridSize: number; primaryGridProps?: PrimaryGridElementProps; @@ -247,6 +250,7 @@ export function D3Axis(props: D3AxisProps) { return ( {isExperimental && } -
+
{selectedPanel}
diff --git a/src/component/header/SimplePhaseCorrectionOptionsPanel.tsx b/src/component/header/SimplePhaseCorrectionOptionsPanel.tsx index b78bb9971..24cca9f32 100644 --- a/src/component/header/SimplePhaseCorrectionOptionsPanel.tsx +++ b/src/component/header/SimplePhaseCorrectionOptionsPanel.tsx @@ -33,6 +33,10 @@ export function SimplePhaseCorrectionOptionsPanel() { filterable={false} itemsEqual="value" {...defaultSelectProps} + popoverTargetProps={{ + ...defaultSelectProps.popoverTargetProps, + 'aria-label': 'Phase correction mode', + }} > )} /> ); diff --git a/test-e2e/NmriumPage/index.ts b/test-e2e/NmriumPage/index.ts index 5466c8214..5e034a05e 100644 --- a/test-e2e/NmriumPage/index.ts +++ b/test-e2e/NmriumPage/index.ts @@ -43,9 +43,15 @@ export default class NmriumPage { * @param options */ public async clickPanel(title: string, options: ClickOptions = {}) { - await this.page - .getByRole('button', { name: title, exact: true }) - .click(options); + await this.getPanelButton(title).click(options); + } + + /** + * Get the header button of an accordion panel, which expands or collapses it. + * @param title - The panel title, as shown in its header. + */ + public getPanelButton(title: string) { + return this.page.getByRole('button', { name: title, exact: true }); } /** diff --git a/test-e2e/core/import.test.ts b/test-e2e/core/import.test.ts index 9e97b7939..e8da8afbe 100644 --- a/test-e2e/core/import.test.ts +++ b/test-e2e/core/import.test.ts @@ -1,6 +1,7 @@ import { expect, test } from '@playwright/test'; import NmriumPage from '../NmriumPage/index.js'; +import { getTableRows } from '../table.js'; test('should load and migrate .nmrium data from version 0 to version 1', async ({ page, @@ -124,7 +125,7 @@ test('should load multiple files using drag and drop', async ({ page }) => { const nmrium = await NmriumPage.create(page); await nmrium.dropFile(['ethylbenzene-1h.jdx', 'ethylvinylether.zip']); // If the file was loaded successfully, there should be many spectra. - await expect(nmrium.page.locator('_react=SpectrumName')).toHaveCount(2); + await expect(getTableRows(nmrium.getSpectraTable())).toHaveCount(2); }); test('should load JCAMP-DX file', async ({ page }) => { diff --git a/test-e2e/core/setting.test.ts b/test-e2e/core/setting.test.ts index 921c562ed..e7490b787 100644 --- a/test-e2e/core/setting.test.ts +++ b/test-e2e/core/setting.test.ts @@ -10,9 +10,7 @@ test('should Change the visibility of the panels', async ({ page }) => { await nmrium.page.click('li >> text=1H spectrum'); //hold a locator reference to database panel - const databaseLocator = nmrium.page.locator( - '_react=AccordionItem[title="Databases"]', - ); + const databaseLocator = nmrium.getPanelButton('Databases'); await test.step('Open general setting and change the "database panel" visibility to true', async () => { //open general setting diff --git a/test-e2e/core/versioned_workspaces.test.ts b/test-e2e/core/versioned_workspaces.test.ts index bfb45911d..84e73b55f 100644 --- a/test-e2e/core/versioned_workspaces.test.ts +++ b/test-e2e/core/versioned_workspaces.test.ts @@ -10,11 +10,11 @@ test('workspaces given with an older version are migrated', async ({ await nmrium.page.click('li >> text=Workspaces'); await nmrium.page.click('li >> text=Versioned workspaces (v19)'); - const workspaceButton = nmrium.page.locator('_react=DropDownButton >> nth=0'); - const peaksPanel = nmrium.page.locator('_react=AccordionItem[title="Peaks"]'); - const rangesPanel = nmrium.page.locator( - '_react=AccordionItem[title="Ranges / Multiplet analysis"]', - ); + const workspaceButton = nmrium.page.getByRole('button', { + name: /^Workspace:/, + }); + const peaksPanel = nmrium.getPanelButton('Peaks'); + const rangesPanel = nmrium.getPanelButton('Ranges / Multiplet analysis'); // `legacyPeaks` is the requested workspace, it only displays the peaks panel. await expect(workspaceButton).toHaveText('Legacy peaks (v19)'); @@ -23,7 +23,9 @@ test('workspaces given with an older version are migrated', async ({ // The second workspace of the same object is migrated as well. await workspaceButton.click(); - await nmrium.page.click('span >> text=Legacy ranges (v19)'); + await nmrium.page + .getByRole('button', { name: 'Legacy ranges (v19)' }) + .click(); await expect(workspaceButton).toHaveText('Legacy ranges (v19)'); await expect(rangesPanel).toBeVisible(); diff --git a/test-e2e/panels/spectra.test.ts b/test-e2e/panels/spectra.test.ts index c1e458606..34e145d1a 100644 --- a/test-e2e/panels/spectra.test.ts +++ b/test-e2e/panels/spectra.test.ts @@ -3,6 +3,41 @@ import { expect, test } from '@playwright/test'; import NmriumPage from '../NmriumPage/index.js'; import { getTableRows } from '../table.js'; +/** + * Get the button that opens the settings of a spectrum in the spectra table. + * It shows the color of the spectrum. + * @param nmrium - The NMRium page. + */ +function getSpectrumSettingsButton(nmrium: NmriumPage) { + return nmrium + .getSpectraTable() + .getByRole('button', { name: 'Spectrum settings' }); +} + +function getSpectrumSettingsDialog(nmrium: NmriumPage) { + return nmrium.page.getByRole('dialog', { name: 'Spectrum settings' }); +} + +async function expectColorIndicator2D( + nmrium: NmriumPage, + positiveColor: string, + negativeColor: string, +) { + const triangles = nmrium.page.getByTestId('color-indicator').locator('path'); + await expect(triangles.nth(0)).toHaveAttribute('fill', positiveColor); + await expect(triangles.nth(1)).toHaveAttribute('fill', negativeColor); +} + +function getShowSpectrumButtons(nmrium: NmriumPage) { + return nmrium + .getSpectraTable() + .getByRole('button', { name: 'Show spectrum' }); +} + +function getSaveAsDialog(nmrium: NmriumPage) { + return nmrium.page.getByRole('dialog', { name: /^Save as/ }); +} + test('Should 1d spectrum hide/show', async ({ page }) => { const nmrium = await NmriumPage.create(page); await nmrium.open1D(); @@ -33,7 +68,7 @@ test('Check if the color picker is visible after click on the ColorIndicator', a const colorPicker = nmrium.page.getByTestId('selected-color-btn'); await expect(colorPicker).toHaveCount(0); - await nmrium.page.click('_react=ColorIndicator >> nth=0'); + await getSpectrumSettingsButton(nmrium).first().click(); await expect(colorPicker).toHaveCount(2); }); @@ -100,7 +135,7 @@ test('Check change spectrum color, Should be green', async ({ page }) => { // The spectrum line should not be green at the beginning. await expect(spectrumLine).not.toHaveAttribute('stroke', '#007d34'); // Open Change colour modal. - await nmrium.page.click('_react=ColorIndicator'); + await getSpectrumSettingsButton(nmrium).click(); // Select the green colour preset. await nmrium.page.getByTestId('color-hex-#007D34').click(); // The line should now be green. @@ -138,9 +173,10 @@ test('2d spectrum', async ({ page }) => { }); await test.step('Change 1H spectrum color', async () => { // Check ColorIndicator initial color - await expect( - nmrium.page.locator('_react=ColorIndicator[display.color="#7c2353"]'), - ).toBeVisible(); + await expect(nmrium.page.getByTestId('color-indicator')).toHaveCSS( + 'background-color', + 'rgb(124, 35, 83)', + ); // Check spectrum initial color match with ColorIndicator await expect(nmrium.page.getByTestId('spectrum-line')).toHaveAttribute( 'stroke', @@ -148,18 +184,19 @@ test('2d spectrum', async ({ page }) => { ); // Open Change color modal - await nmrium.page.click('_react=ColorIndicator'); + await getSpectrumSettingsButton(nmrium).click(); await nmrium.page.getByTestId('select-color-btn').click(); // change the color to #e4c0d3 - await nmrium.page.click('_react=Saturation', { - position: { x: 40, y: 20 }, - }); + const hexInput = nmrium.page.getByLabel('hex', { exact: true }); + await hexInput.fill('e4c0d3'); + await hexInput.press('Enter'); // Check that the selected color changed from the initial value - await expect( - nmrium.page.locator('_react=ColorIndicator'), - ).not.toHaveAttribute('display.color', '#7c2353'); + await expect(nmrium.page.getByTestId('color-indicator')).not.toHaveCSS( + 'background-color', + 'rgb(124, 35, 83)', + ); await expect(nmrium.page.getByTestId('spectrum-line')).not.toHaveAttribute( 'stroke', '#7c2353', @@ -167,7 +204,7 @@ test('2d spectrum', async ({ page }) => { // Close color picker await nmrium.viewer.locator.click({ force: true }); - await expect(nmrium.page.locator('_react=Saturation')).toBeHidden(); + await expect(getSpectrumSettingsDialog(nmrium)).toBeHidden(); }); await test.step('Change H1,H1 spectrum', async () => { await nmrium.getSpectraTab('1H,1H').click(); @@ -188,11 +225,7 @@ test('2d spectrum', async ({ page }) => { }); await test.step('Change 1H,1H spectrum color', async () => { // Check ColorIndicator initial color - await expect( - nmrium.page.locator( - '_react=ColorIndicator[display.negativeColor="blue"][display.positiveColor="darkblue"]', - ), - ).toBeVisible(); + await expectColorIndicator2D(nmrium, 'darkblue', 'blue'); // Check spectrum initial color match with ColorIndicator await expect( nmrium.page.getByTestId('contours-positive').locator('path'), @@ -200,14 +233,17 @@ test('2d spectrum', async ({ page }) => { await expect(nmrium.page.getByTestId('contours-negative')).toBeHidden(); // Open Change color modal - await nmrium.page.click('_react=ColorIndicator'); + await getSpectrumSettingsButton(nmrium).click(); //Change contours levels - const slider = page.locator('_react=ContoursRangeSlider[name="negative"]'); - await slider.hover(); - await slider - .locator('[class*="-slider-label"]', { hasText: /^0$/ }) - .click(); + const negativeSettings = getSpectrumSettingsDialog(nmrium).getByRole( + 'group', + { name: 'Negative', exact: true }, + ); + await negativeSettings + .getByRole('slider', { name: 'Minimum level' }) + .hover(); + await negativeSettings.getByText('0', { exact: true }).click(); await nmrium.page.getByTestId('color-hex-#C10020').first().click(); @@ -216,11 +252,7 @@ test('2d spectrum', async ({ page }) => { await nmrium.page.getByTestId('color-hex-#803E75').nth(1).click(); // Check that ColorIndicator color changed - await expect( - nmrium.page.locator( - '_react=ColorIndicator[display.negativeColor="#803e75"][display.positiveColor="#c10020"]', - ), - ).toBeVisible(); + await expectColorIndicator2D(nmrium, '#c10020', '#803e75'); // Check that spectra color changed await expect( nmrium.page.getByTestId('contours-positive').locator('path'), @@ -230,38 +262,36 @@ test('2d spectrum', async ({ page }) => { ).toHaveAttribute('stroke', '#803e75'); // Close color picker await nmrium.viewer.locator.click({ force: true }); - await expect( - nmrium.page.locator('_react=SpectrumSettingContent'), - ).toBeHidden(); + await expect(getSpectrumSettingsDialog(nmrium)).toBeHidden(); }); await test.step('Check hide spectra', async () => { // Hide positive spectrum - await nmrium.page.click( - '_react=ShowHideSpectrumButton >> _react=FaEye >> nth=0', - ); + await nmrium.page + .getByRole('button', { name: 'Show positive contours' }) + .click(); await expect(nmrium.page.getByTestId('contours-positive')).toBeHidden(); await expect(nmrium.page.getByTestId('contours-negative')).toBeVisible(); await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(1); // Hide negative spectrum - await nmrium.page.click( - '_react=ShowHideSpectrumButton >> _react=FaEye >> nth=1', - ); + await nmrium.page + .getByRole('button', { name: 'Show negative contours' }) + .click(); await expect(nmrium.page.getByTestId('contours-positive')).toBeHidden(); await expect(nmrium.page.getByTestId('contours-negative')).toBeHidden(); await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(0); // Show positive spectrum - await nmrium.page.click( - '_react=ShowHideSpectrumButton >> _react=FaEye >> nth=0', - ); + await nmrium.page + .getByRole('button', { name: 'Show positive contours' }) + .click(); await expect(nmrium.page.getByTestId('contours-positive')).toBeVisible(); await expect(nmrium.page.getByTestId('contours-negative')).toBeHidden(); await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(1); // Show negative spectrum - await nmrium.page.click( - '_react=ShowHideSpectrumButton >> _react=FaEye >> nth=1', - ); + await nmrium.page + .getByRole('button', { name: 'Show negative contours' }) + .click(); await expect(nmrium.page.getByTestId('contours-positive')).toBeVisible(); await expect(nmrium.page.getByTestId('contours-negative')).toBeVisible(); await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(2); @@ -323,27 +353,19 @@ test('show/hide spectrum', async ({ page }) => { await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(13); }); await test.step('Check hide spectra', async () => { - // Hide positive spectrum - await nmrium.page.click( - '_react=ShowHideSpectrumButton >> _react=FaEye >> nth=0', - ); + // Hide the first spectrum + await getShowSpectrumButtons(nmrium).nth(0).click(); await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(12); - // Hide negative spectrum - await nmrium.page.click( - '_react=ShowHideSpectrumButton >> _react=FaEye >> nth=1', - ); + // Hide the second spectrum + await getShowSpectrumButtons(nmrium).nth(1).click(); await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(11); - // Show positive spectrum - await nmrium.page.click( - '_react=ShowHideSpectrumButton >> _react=FaEye >> nth=0', - ); + // Show the first spectrum + await getShowSpectrumButtons(nmrium).nth(0).click(); await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(12); - // Show negative spectrum - await nmrium.page.click( - '_react=ShowHideSpectrumButton >> _react=FaEye >> nth=1', - ); + // Show the second spectrum + await getShowSpectrumButtons(nmrium).nth(1).click(); await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(13); }); }); @@ -358,14 +380,12 @@ test('Export sources from 1H spectrum', async ({ page }) => { await nmrium.page.click('_react=ToolbarPopoverItem >> text=Save as'); }); await test.step('Check include data options', async () => { - const fields = nmrium.page.locator( - '_react=SaveAsModal >> input[type="radio"]', - ); + const fields = getSaveAsDialog(nmrium).getByRole('radio'); await expect(fields).toHaveCount(3); - const disabledFields = nmrium.page.locator( - '_react=SaveAsModal >> input[type="radio"][disabled]', - ); + const disabledFields = getSaveAsDialog(nmrium).getByRole('radio', { + disabled: true, + }); await expect(disabledFields).toHaveCount(0); }); }); @@ -380,13 +400,11 @@ test('Export sources from imported spectrum', async ({ page }) => { await nmrium.page.click('_react=ToolbarPopoverItem >> text=Save as'); }); await test.step('Check include data options', async () => { - const fields = nmrium.page.locator( - '_react=SaveAsModal >> input[type="radio"]', - ); + const fields = getSaveAsDialog(nmrium).getByRole('radio'); await expect(fields).toHaveCount(3); - const disabledFields = nmrium.page.locator( - '_react=SaveAsModal >> input[type="radio"][disabled]', - ); + const disabledFields = getSaveAsDialog(nmrium).getByRole('radio', { + disabled: true, + }); await expect(disabledFields).toHaveCount(1); await expect(disabledFields).toHaveAttribute( 'value', From 463517fc1271951322b2137a33eba65b9417ea95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Thu, 19 Nov 2026 18:27:58 +0100 Subject: [PATCH 09/36] test: add `nmrium.openDemo` --- test-e2e/NmriumPage/index.ts | 25 ++++++++++++++++++---- test-e2e/core/basic.test.ts | 6 ++---- test-e2e/core/setting.test.ts | 12 ++++------- test-e2e/core/versioned_workspaces.test.ts | 3 +-- test-e2e/panels/autoassignment.test.ts | 3 +-- test-e2e/panels/filters.test.ts | 9 +++----- test-e2e/panels/matrixgeneration.test.ts | 3 +-- test-e2e/panels/peaks.test.ts | 6 ++---- test-e2e/panels/ranges.test.ts | 12 ++++------- test-e2e/panels/spectra.test.ts | 12 ++++------- 10 files changed, 43 insertions(+), 48 deletions(-) diff --git a/test-e2e/NmriumPage/index.ts b/test-e2e/NmriumPage/index.ts index 5e034a05e..3086b87b3 100644 --- a/test-e2e/NmriumPage/index.ts +++ b/test-e2e/NmriumPage/index.ts @@ -27,14 +27,31 @@ export default class NmriumPage { this.moleculeEditor = new NmriumPageMoleculeEditor(page); } + /** + * Open a demo from the sidebar. + * @param category - The category of the demo. + * @param name - The name of the demo. + */ + public async openDemo(category: string, name: string) { + await this.page + .getByRole('menuitem', { name: category }) + .getByText(category, { exact: true }) + .click(); + await this.page.getByRole('menuitem', { name, exact: true }).click(); + } + + /** + * Open the "Cytisine - 1H spectrum" demo. + */ public async open1D() { - await this.page.click('li >> text=Cytisine'); - await this.page.click('li >> text=1H spectrum'); + await this.openDemo('Cytisine', '1H spectrum'); } + /** + * Open the "Simple spectra - COSY ethylbenzene" demo. + */ public async open2D() { - await this.page.click('li >> text=Simple spectra'); - await this.page.click('li >> text=COSY ethylbenzene'); + await this.openDemo('Simple spectra', 'COSY ethylbenzene'); } /** diff --git a/test-e2e/core/basic.test.ts b/test-e2e/core/basic.test.ts index 4e0bc4adc..8fa98f9d2 100644 --- a/test-e2e/core/basic.test.ts +++ b/test-e2e/core/basic.test.ts @@ -6,8 +6,7 @@ test('should load and display the 1D and 2D spectrum', async ({ page }) => { const nmrium = await NmriumPage.create(page); expect(await nmrium.page.title()).toBe('NMRium'); - await nmrium.page.click('li >> text=Simple spectra'); - await nmrium.page.click('li >> text=FULL ethylbenzene'); + await nmrium.openDemo('Simple spectra', 'FULL ethylbenzene'); //switch to 1d await nmrium.getSpectraTab('1H').click(); @@ -30,8 +29,7 @@ test('should load and display the 1D and 2D spectrum', async ({ page }) => { test('check callbacks count', async ({ page }) => { const nmrium = await NmriumPage.create(page); - await nmrium.page.click('li >> text=Props debug'); - await nmrium.page.click('li >> text=Callback - Full cytisine'); + await nmrium.openDemo('Props debug', 'Callback - FULL cytisine'); await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); const dataCount = nmrium.page.getByTestId('data-count'); diff --git a/test-e2e/core/setting.test.ts b/test-e2e/core/setting.test.ts index e7490b787..b3cbc762a 100644 --- a/test-e2e/core/setting.test.ts +++ b/test-e2e/core/setting.test.ts @@ -6,8 +6,7 @@ test('should Change the visibility of the panels', async ({ page }) => { const nmrium = await NMriumPage.create(page); // navigate to "1H spectrum test" example - await nmrium.page.click('li >> text=Cytisine'); - await nmrium.page.click('li >> text=1H spectrum'); + await nmrium.open1D(); //hold a locator reference to database panel const databaseLocator = nmrium.getPanelButton('Databases'); @@ -33,8 +32,7 @@ test('should Change the visibility of the panels', async ({ page }) => { //Switch to another example from the same workspace to test if the database panel still visible or not await test.step('"database panel" should still visible after switching to another 1D example with "default" workspace', async () => { - await nmrium.page.click('li >> text=Simple spectra'); - await nmrium.page.click('li >> text=1H ethylbenzene'); + await nmrium.openDemo('Simple spectra', '1H ethylbenzene'); await expect(databaseLocator).toBeVisible(); }); @@ -51,8 +49,7 @@ test('should Change the visibility of the panels', async ({ page }) => { //Switch to another example from with "exercise" workspace to test if the database panel still visible or not await test.step('"database panel" should not be visible after switching to "exercise" workspace', async () => { // navigate to "Exercise 1" example - await nmrium.page.click('li >> text=Workspaces'); - await nmrium.page.click('li >> text=Exercise 1'); + await nmrium.openDemo('Workspaces', 'Exercise 1'); //check if the database panel is hidden or not await expect(databaseLocator).toBeHidden(); @@ -60,8 +57,7 @@ test('should Change the visibility of the panels', async ({ page }) => { await test.step('"database panel" should be visible after switching back to "default" workspace', async () => { // navigate to "1H spectrum test" example - await nmrium.page.click('li >> text=Cytisine'); - await nmrium.page.click('li >> text=1H spectrum'); + await nmrium.open1D(); //check if the database panel is visible or not await expect(databaseLocator).toBeVisible(); diff --git a/test-e2e/core/versioned_workspaces.test.ts b/test-e2e/core/versioned_workspaces.test.ts index 84e73b55f..9d1ea75e7 100644 --- a/test-e2e/core/versioned_workspaces.test.ts +++ b/test-e2e/core/versioned_workspaces.test.ts @@ -7,8 +7,7 @@ test('workspaces given with an older version are migrated', async ({ }) => { const nmrium = await NmriumPage.create(page); - await nmrium.page.click('li >> text=Workspaces'); - await nmrium.page.click('li >> text=Versioned workspaces (v19)'); + await nmrium.openDemo('Workspaces', 'Versioned workspaces (v19)'); const workspaceButton = nmrium.page.getByRole('button', { name: /^Workspace:/, diff --git a/test-e2e/panels/autoassignment.test.ts b/test-e2e/panels/autoassignment.test.ts index eb4842709..8535a8741 100644 --- a/test-e2e/panels/autoassignment.test.ts +++ b/test-e2e/panels/autoassignment.test.ts @@ -8,8 +8,7 @@ test('automatic assignment panel', async ({ page }, info) => { const nmrium = await NmriumPage.create(page); await test.step('open 1H ethylvinylether spectrum', async () => { - await nmrium.page.click('li >> text=Simple spectra'); - await nmrium.page.click('li >> text=1H ethylvinylether'); + await nmrium.openDemo('Simple spectra', '1H ethylvinylether'); await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); }); await test.step('activate automatic assignment panel', async () => { diff --git a/test-e2e/panels/filters.test.ts b/test-e2e/panels/filters.test.ts index bc00e1c52..0b2e7b148 100644 --- a/test-e2e/panels/filters.test.ts +++ b/test-e2e/panels/filters.test.ts @@ -4,8 +4,7 @@ import NmriumPage from '../NmriumPage/index.js'; import { getTableCell, getTableRows } from '../table.js'; async function open13CFidSpectrum(nmrium: NmriumPage) { - await nmrium.page.click('li >> text=Cytisine'); - await nmrium.page.click('li >> text=13C FID >> nth=0'); + await nmrium.openDemo('Cytisine', '13C FID'); } async function clickApply(nmrium: NmriumPage) { @@ -164,8 +163,7 @@ test('process 13c spectrum with shortcuts', async ({ page }) => { test('Processed spectra filters', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open 13c spectrum', async () => { - await nmrium.page.click('li >> text=Cytisine'); - await nmrium.page.click('li >> text=Processed 13C FID'); + await nmrium.openDemo('Cytisine', '13C FID'); // wait spectrum to load await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); @@ -180,8 +178,7 @@ test('Processed spectra filters', async ({ page }) => { test('Exclusion zones', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open Coffee example', async () => { - await nmrium.page.click('li >> text=Multiple spectra'); - await nmrium.page.click('li >> text=Coffee'); + await nmrium.openDemo('Multiple spectra', 'Coffee'); // wait spectrum to load await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); diff --git a/test-e2e/panels/matrixgeneration.test.ts b/test-e2e/panels/matrixgeneration.test.ts index 9bd5caa16..0a3bc52ad 100644 --- a/test-e2e/panels/matrixgeneration.test.ts +++ b/test-e2e/panels/matrixgeneration.test.ts @@ -6,8 +6,7 @@ test('Matrix generation panel', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('open 1H ethylvinylether spectrum', async () => { - await nmrium.page.click('li >> text=Simple spectra'); - await nmrium.page.click('li >> text=1H ethylvinylether'); + await nmrium.openDemo('Simple spectra', '1H ethylvinylether'); await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); }); diff --git a/test-e2e/panels/peaks.test.ts b/test-e2e/panels/peaks.test.ts index 217b1199a..61f8964fb 100644 --- a/test-e2e/panels/peaks.test.ts +++ b/test-e2e/panels/peaks.test.ts @@ -112,8 +112,7 @@ test('Automatic peak picking should work', async ({ page }) => { test('Processed spectra peaks', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open Processed 13C FID', async () => { - await nmrium.page.click('li >> text=Cytisine'); - await nmrium.page.click('li >> text=Processed 13C FID'); + await nmrium.openDemo('Cytisine', 'Processed 13C FID'); // wait spectrum to load await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); @@ -150,8 +149,7 @@ test('Processed spectra peaks', async ({ page }) => { test('Check no negative peaks in processed spectra', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open 13c spectrum', async () => { - await nmrium.page.click('li >> text=Cytisine'); - await nmrium.page.click('li >> text=Processed 13C FID'); + await nmrium.openDemo('Cytisine', 'Processed 13C FID'); // wait spectrum to load await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); diff --git a/test-e2e/panels/ranges.test.ts b/test-e2e/panels/ranges.test.ts index 25ba4bfc3..b8e192f55 100644 --- a/test-e2e/panels/ranges.test.ts +++ b/test-e2e/panels/ranges.test.ts @@ -203,8 +203,7 @@ test('Publication string is visible after automatic ranges detection', async ({ test('Multiplicity should be visible', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open FULL ethylbenzene 2D spectrum', async () => { - await nmrium.page.click('li >> text=Simple spectra'); - await nmrium.page.click('li >> text=FULL ethylbenzene'); + await nmrium.openDemo('Simple spectra', 'FULL ethylbenzene'); }); // switch to 1H tab. @@ -256,8 +255,7 @@ test('Multiplicity should be visible', async ({ page }) => { test('Range state', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open FULL ethylbenzene 2D spectrum', async () => { - await nmrium.page.click('li >> text=Various formats'); - await nmrium.page.click('li >> text=Linked jcamp'); + await nmrium.openDemo('Various formats', 'Linked jcamp'); }); // switch to 1H tab. @@ -367,8 +365,7 @@ test('Range state', async ({ page }) => { test('Auto peak picking on all spectra', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open FULL ethylbenzene 2D spectrum', async () => { - await nmrium.page.click('li >> text=Cytisine'); - await nmrium.page.click('li >> text=Full cytisine'); + await nmrium.openDemo('Cytisine', 'Full cytisine'); await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); }); @@ -444,8 +441,7 @@ test('2D spectra reference change', async ({ page }) => { const yAxisDefault = [0, 20, 40, 60, 80, 100, 120, 140, 160]; const nmrium = await NmriumPage.create(page); await test.step('Open 2D spectrum', async () => { - await nmrium.page.click('li >> text=Cytisine'); - await nmrium.page.click('li >> text=HSQC cytisine + 1D spectra'); + await nmrium.openDemo('Cytisine', 'HSQC cytisine + 1D spectra'); await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); await expect( diff --git a/test-e2e/panels/spectra.test.ts b/test-e2e/panels/spectra.test.ts index 34e145d1a..86b761d8b 100644 --- a/test-e2e/panels/spectra.test.ts +++ b/test-e2e/panels/spectra.test.ts @@ -161,8 +161,7 @@ test('2d spectrum', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open COSY ethylbenzene 2D spectrum', async () => { - await nmrium.page.click('li >> text=Simple spectra'); - await nmrium.page.click('li >> text=COSY ethylbenzene'); + await nmrium.openDemo('Simple spectra', 'COSY ethylbenzene'); // Wait the spectrum to load await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); @@ -346,8 +345,7 @@ test('show/hide spectrum', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open Coffee spectrum', async () => { - await nmrium.page.click('li >> text=Multiple spectra'); - await nmrium.page.click('li >> text=Coffee'); + await nmrium.openDemo('Multiple spectra', 'Coffee'); // Wait the spectrum to load await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(13); @@ -417,8 +415,7 @@ test('Multiple spectra analysis', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open Coffee spectrum and check 13 spectra', async () => { - await nmrium.page.click('li >> text=Multiple spectra'); - await nmrium.page.click('li >> text=Coffee'); + await nmrium.openDemo('Multiple spectra', 'Coffee'); // Wait the spectrum to load await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(13); @@ -465,8 +462,7 @@ test('Multiple spectra analysis', async ({ page }) => { }); test('Load JResolv', async ({ page }) => { const nmrium = await NmriumPage.create(page); - await nmrium.page.click('li >> text=Cytisine'); - await nmrium.page.click('li >> text=jResolv cytisine'); + await nmrium.openDemo('Cytisine', 'jResolv cytisine'); await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(2); From 6442ed578fae2e0e3b2985d880b6e3cea9371736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Thu, 19 Nov 2026 18:28:21 +0100 Subject: [PATCH 10/36] fix: improve accessibility of toolbars --- src/component/header/Header.tsx | 4 +- src/component/panels/PanelsBar.tsx | 79 ++++++++----------- .../panels/header/DefaultPanelHeader.tsx | 8 +- 3 files changed, 43 insertions(+), 48 deletions(-) diff --git a/src/component/header/Header.tsx b/src/component/header/Header.tsx index 69da52d4d..591b73f1e 100644 --- a/src/component/header/Header.tsx +++ b/src/component/header/Header.tsx @@ -144,7 +144,7 @@ function HeaderInner(props: HeaderInnerProps) { }} >
- +
@@ -180,7 +180,7 @@ function HeaderInner(props: HeaderInnerProps) { {!general?.hideLogs && }
- + {!general?.hideHelp && ( - {visibleItems.map((item) => { - const panelOptions = getPanelPreferences(item); - return ( - togglePanel(item.id)} - /> - ); - })} - {menu.length > 0 && ( - - { - if (data?.id) { - togglePanel(data.id); - } - }} - active={isMenuActive} - /> - - )} - +
+ + {visibleItems.map((item) => { + const panelOptions = getPanelPreferences(item); + return ( + togglePanel(item.id)} + /> + ); + })} + {menu.length > 0 && ( + + { + if (data?.id) { + togglePanel(data.id); + } + }} + active={isMenuActive} + /> + + )} + +
); } diff --git a/src/component/panels/header/DefaultPanelHeader.tsx b/src/component/panels/header/DefaultPanelHeader.tsx index 5c4830a1e..e864fb9a8 100644 --- a/src/component/panels/header/DefaultPanelHeader.tsx +++ b/src/component/panels/header/DefaultPanelHeader.tsx @@ -75,7 +75,7 @@ function DefaultPanelHeader(props: DefaultPanelHeaderProps) { total={hideCounter ? undefined : total} >
- + {onDelete && ( - {mapToolbarButtons(rightButtons)} + {rightButtons.length > 0 && ( + + {mapToolbarButtons(rightButtons)} + + )} ); } From 4801d60336a718c41d51ba3fc1350305b6a14852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Thu, 19 Nov 2026 18:28:41 +0100 Subject: [PATCH 11/36] chore: update react-science and playwright --- .ncurc.yml | 2 -- package-lock.json | 58 ++++++++++++++++------------------------------- package.json | 4 ++-- 3 files changed, 22 insertions(+), 42 deletions(-) diff --git a/.ncurc.yml b/.ncurc.yml index c145e299c..1b81ec5b2 100644 --- a/.ncurc.yml +++ b/.ncurc.yml @@ -1,6 +1,4 @@ dep: 'prod,dev' reject: - # https://github.com/cheminfo/nmrium/issues/3983 - - '@playwright/test' # Not compatible with typescript-eslint - typescript diff --git a/package-lock.json b/package-lock.json index d1058fe78..5ddbb6ba1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -61,7 +61,7 @@ "react-ocl-nmr": "^4.1.1", "react-plot": "^3.1.2", "react-rnd": "^10.5.3", - "react-science": "^24.1.2", + "react-science": "^24.1.4", "smart-array-filter": "^5.0.0", "ts-pattern": "^5.9.2", "usehooks-ts": "^3.1.1", @@ -72,7 +72,7 @@ "@blueprintjs/core": "^6.23.0", "@blueprintjs/icons": "^6.16.0", "@blueprintjs/select": "^6.4.2", - "@playwright/test": "=1.57.0", + "@playwright/test": "^1.65.1", "@simbathesailor/use-what-changed": "^2.0.0", "@types/d3-array": "^3.2.2", "@types/d3-scale": "^4.0.9", @@ -2902,19 +2902,19 @@ ] }, "node_modules/@playwright/test": { - "version": "1.57.0", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.57.0.tgz", - "integrity": "sha512-6TyEnHgd6SArQO8UO2OMTxshln3QMWBtPGrOCgs3wVEmQmwyuNtB10IZMfmYDE0riwNR1cu4q+pPcxMVtaG3TA==", + "version": "1.65.1", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.65.1.tgz", + "integrity": "sha512-y+NCIRm2LvY4slUVWvGh1nujJ8RF/hEisIsq2mtUPgdQC4L701bq5hZGMhrpeXjACvwvO9tj5dJqhvM6TP9lbw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright": "1.57.0" + "playwright": "1.65.1" }, "bin": { "playwright": "cli.js" }, "engines": { - "node": ">=18" + "node": ">=20" } }, "node_modules/@popperjs/core": { @@ -7060,21 +7060,6 @@ "integrity": "sha512-hlq4+BU0hlPmwsFjwGGzZ+OZ9N/wq9Ljg/sq3pX+2CD7hrJsX9tJgWWK/wiNTFM212CLHWhicOoqwXyZGGetJg==", "license": "MIT" }, - "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -9579,35 +9564,32 @@ } }, "node_modules/playwright": { - "version": "1.57.0", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.57.0.tgz", - "integrity": "sha512-ilYQj1s8sr2ppEJ2YVadYBN0Mb3mdo9J0wQ+UuDhzYqURwSoW4n1Xs5vs7ORwgDGmyEh33tRMeS8KhdkMoLXQw==", + "version": "1.65.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.65.1.tgz", + "integrity": "sha512-vJ1FuoOrNwOKHUIVEvSt3jT1L+wjjDpwhwIstKtfvTh8XIG4FG4bIFuvNdMxi81LGfAhUgUZleVFaOLY4RIUUw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.57.0" + "playwright-core": "1.65.1" }, "bin": { "playwright": "cli.js" }, "engines": { - "node": ">=18" - }, - "optionalDependencies": { - "fsevents": "2.3.2" + "node": ">=20" } }, "node_modules/playwright-core": { - "version": "1.57.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.57.0.tgz", - "integrity": "sha512-agTcKlMw/mjBWOnD6kFZttAAGHgi/Nw0CZ2o6JqWSbMlI219lAFLZZCyqByTsvVAJq5XA5H8cA6PrvBRpBWEuQ==", + "version": "1.65.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.65.1.tgz", + "integrity": "sha512-hqPpz7blSMPxWVdoeE1yiBSzXsKiVOd2k+kjCvmUywD2GPO2Dd9HfcWnq9NN0GHbNZDFgZ9JfBFr+X5/BLo0qw==", "dev": true, "license": "Apache-2.0", "bin": { "playwright-core": "cli.js" }, "engines": { - "node": ">=18" + "node": ">=20" } }, "node_modules/pluralize": { @@ -10223,9 +10205,9 @@ } }, "node_modules/react-science": { - "version": "24.1.2", - "resolved": "https://registry.npmjs.org/react-science/-/react-science-24.1.2.tgz", - "integrity": "sha512-ZwdpxBfGDMMaMFcd4O718rAuHEtCC86dTrk9dbltk2JF6nVv9tvplOjI8iv0ZGd3PZc/9520cQTr3bK0Samrsg==", + "version": "24.1.4", + "resolved": "https://registry.npmjs.org/react-science/-/react-science-24.1.4.tgz", + "integrity": "sha512-MvwY88EV1bIQxTBwD90qUZO+lJcgle5fmawutxlotaqKawQ5Ld/wpArJ4wDwDfvM+EyP05ytYCncvXLVNq81KA==", "license": "MIT", "dependencies": { "@emotion/styled": "^11.14.1", @@ -10238,7 +10220,7 @@ "@zakodium/utils": "^0.7.0", "d3-scale-chromatic": "^3.1.1", "react-d3-utils": "^3.1.2", - "react-dropzone": "^20.1.4", + "react-dropzone": "^20.2.0", "react-full-screen": "^1.1.1", "react-icons": "^5.7.0", "react-inspector": "^9.0.0", diff --git a/package.json b/package.json index 9ce13ea21..e17b3f8e0 100644 --- a/package.json +++ b/package.json @@ -112,7 +112,7 @@ "react-ocl-nmr": "^4.1.1", "react-plot": "^3.1.2", "react-rnd": "^10.5.3", - "react-science": "^24.1.2", + "react-science": "^24.1.4", "smart-array-filter": "^5.0.0", "ts-pattern": "^5.9.2", "usehooks-ts": "^3.1.1", @@ -123,7 +123,7 @@ "@blueprintjs/core": "^6.23.0", "@blueprintjs/icons": "^6.16.0", "@blueprintjs/select": "^6.4.2", - "@playwright/test": "=1.57.0", + "@playwright/test": "^1.65.1", "@simbathesailor/use-what-changed": "^2.0.0", "@types/d3-array": "^3.2.2", "@types/d3-scale": "^4.0.9", From 6043c4bfd4a4225e9d842e1c4d32cc3fe1dd3d74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Thu, 19 Nov 2026 18:29:07 +0100 Subject: [PATCH 12/36] test: remove `_react` selectors from structures tests --- test-e2e/NmriumPage/index.ts | 39 +++- test-e2e/panels/structures.test.ts | 344 ++++++++++------------------- 2 files changed, 153 insertions(+), 230 deletions(-) diff --git a/test-e2e/NmriumPage/index.ts b/test-e2e/NmriumPage/index.ts index 3086b87b3..f3d929093 100644 --- a/test-e2e/NmriumPage/index.ts +++ b/test-e2e/NmriumPage/index.ts @@ -1,10 +1,12 @@ -import type { Page } from '@playwright/test'; +import type { Locator, Page } from '@playwright/test'; import { expect } from '@playwright/test'; +import type { Mandatory } from '@zakodium/utils'; import { NmriumPageMoleculeEditor } from './NmriumPageMoleculeEditor.js'; import { NmriumPageViewer } from './NmriumPageViewer.js'; type ClickOptions = Parameters[1]; +type GetByRoleOptions = Mandatory[1]>; interface ToolLocatorOptions { active?: boolean; @@ -68,7 +70,15 @@ export default class NmriumPage { * @param title - The panel title, as shown in its header. */ public getPanelButton(title: string) { - return this.page.getByRole('button', { name: title, exact: true }); + return this.page + .getByRole('button', { name: title, exact: true, expanded: true }) + .or( + this.page.getByRole('button', { + name: title, + exact: true, + expanded: false, + }), + ); } /** @@ -120,10 +130,26 @@ export default class NmriumPage { /** * Show a panel hidden from the accordion by clicking its panels bar icon. - * @param title - The panel title, as shown in the icon tooltip. + * @param name - The panel name, as shown in the icon tooltip. */ - public async showPanel(title: string) { - await this.page.click(`_react=ActivityBarItem[tooltip="${title}"]`); + public async showPanel(name: string) { + await this.page + .getByRole('toolbar', { name: 'Panels bar', exact: true }) + .getByRole('button', { name, exact: true, pressed: false }) + .click(); + } + + public getPanelToolbarButton( + panelName: string, + buttonName: string, + options: Omit = {}, + ) { + const { exact = true, ...restOptions } = options; + return this.getPanel(panelName).getByRole('button', { + name: buttonName, + exact, + ...restOptions, + }); } public async clickTool(id: string) { @@ -132,8 +158,9 @@ export default class NmriumPage { .or(this.page.locator(`_react=ToolbarPopoverItem[id="${id}"] >> nth=0`)) .click(); } + public async clickToolByTitle(title: string) { - await this.page.click(`_react=ToolbarItem[tooltip="${title}"] >> nth=0`); + await this.page.getByRole('button', { name: title, exact: true }).click(); } public getToolbarLocatorByTitle( diff --git a/test-e2e/panels/structures.test.ts b/test-e2e/panels/structures.test.ts index c95d08a26..88a258193 100644 --- a/test-e2e/panels/structures.test.ts +++ b/test-e2e/panels/structures.test.ts @@ -1,3 +1,4 @@ +import { Classes } from '@blueprintjs/core'; import type { Locator } from '@playwright/test'; import { expect, test } from '@playwright/test'; @@ -40,6 +41,8 @@ function getFloatingMolecules(nmrium: NmriumPage) { test('should draw structure and display it with MF', async ({ page }) => { const nmrium = await NmriumPage.create(page); + const structuresPanel = nmrium.getPanel('Chemical structures'); + // Open the "Structures" panel. await nmrium.clickPanel('Chemical structures'); @@ -58,11 +61,12 @@ test('should draw structure and display it with MF', async ({ page }) => { await nmrium.moleculeEditor.clickDrawArea({ x: 50, y: 50 }); // Save the molecule. - await nmrium.page.click('button >> text=Save'); - await nmrium.page - .locator('div[role="dialog"]') - .waitFor({ state: 'hidden' }); + .getByRole('dialog') + .getByRole('button', { name: 'Save' }) + .click(); + + await nmrium.page.getByRole('dialog').waitFor({ state: 'hidden' }); }); await test.step('Check the visibly of the benzene molecule', async () => { @@ -70,13 +74,11 @@ test('should draw structure and display it with MF', async ({ page }) => { await checkMoleculeStructureIsExists(nmrium, 0); // The molecular formula should now be visible in the panel. - await expect(nmrium.page.locator('text=C6H6 - 78.11')).toBeVisible(); + await expect(structuresPanel.getByText('C6H6 - 78.11')).toBeVisible(); // The number of molecules should now be visible in the panel. await expect( - nmrium - .getPanel('Chemical structures') - .getByText('[ 1 / 1 ]', { exact: true }), + structuresPanel.getByText('[ 1 / 1 ]', { exact: true }), ).toBeVisible(); }); @@ -90,10 +92,11 @@ test('should draw structure and display it with MF', async ({ page }) => { await nmrium.moleculeEditor.clickDrawArea({ x: 50, y: 50 }); // Save the molecule. - await nmrium.page.click('button >> text=Save'); await nmrium.page - .locator('div[role="dialog"]') - .waitFor({ state: 'hidden' }); + .getByRole('dialog') + .getByRole('button', { name: 'Save' }) + .click(); + await nmrium.page.getByRole('dialog').waitFor({ state: 'hidden' }); // Check the visibility. @@ -101,33 +104,33 @@ test('should draw structure and display it with MF', async ({ page }) => { await checkMoleculeStructureIsExists(nmrium, 1); // The molecular formula should now be visible in the panel. - await expect(nmrium.page.locator('text=C6H12 - 84.16')).toBeVisible(); + await expect(structuresPanel.getByText('C6H12 - 84.16')).toBeVisible(); // The number of molecules should now be visible in the panel. - await expect(nmrium.page.locator('text=2 / 2')).toBeVisible(); + await expect(structuresPanel.getByText('2 / 2')).toBeVisible(); }); await test.step('Switch between molecules', async () => { // Start with the second molecule. - await expect(nmrium.page.locator('text=2 / 2')).toBeVisible(); - await expect(nmrium.page.locator('text=C6H12 - 84.16')).toBeVisible(); + await expect(structuresPanel.getByText('2 / 2')).toBeVisible(); + await expect(structuresPanel.getByText('C6H12 - 84.16')).toBeVisible(); // Go to the previous molecule. await getMoleculesPagerButton(nmrium, 'Previous').click(); // Check selected molecule number. - await expect(nmrium.page.locator('text=1 / 2')).toBeVisible(); + await expect(structuresPanel.getByText('1 / 2')).toBeVisible(); // Check selected molecule formula. - await expect(nmrium.page.locator('text=C6H6 - 78.11')).toBeVisible(); + await expect(structuresPanel.getByText('C6H6 - 78.11')).toBeVisible(); // Go to the next molecule. await getMoleculesPagerButton(nmrium, 'Next').click(); // Check selected molecule number. - await expect(nmrium.page.locator('text=2 / 2')).toBeVisible(); + await expect(structuresPanel.getByText('2 / 2')).toBeVisible(); // Check selected molecule formula. - await expect(nmrium.page.locator('text=C6H12 - 84.16')).toBeVisible(); + await expect(structuresPanel.getByText('C6H12 - 84.16')).toBeVisible(); }); }); @@ -135,6 +138,12 @@ test('molecules 1H spectrum', async ({ page }) => { const nmrium = await NmriumPage.create(page); await nmrium.open1D(); + const structuresPanel = nmrium.getPanel('Chemical structures'); + const floatMoleculeButton = nmrium.getPanelToolbarButton( + 'Chemical structures', + 'Float molecule', + ); + await test.step('open Chemical structures panel', async () => { await nmrium.clickPanel('Chemical structures'); }); @@ -144,14 +153,10 @@ test('molecules 1H spectrum', async ({ page }) => { await checkMoleculeStructureIsExists(nmrium, 0); // Check the existing molecular formula. - await expect(nmrium.page.locator('text=C11H14N2O - 190.25')).toBeVisible(); + await expect(structuresPanel.getByText('C11H14N2O - 190.25')).toBeVisible(); // Check the existing number of molecules. - await expect( - nmrium - .getPanel('Chemical structures') - .getByText('[ 1 / 1 ]', { exact: true }), - ).toBeVisible(); + await expect(structuresPanel.getByText('[ 1 / 1 ]')).toBeVisible(); }); await test.step('Add benzene molecule and check the visibility', async () => { @@ -167,10 +172,11 @@ test('molecules 1H spectrum', async ({ page }) => { }); // Save the molecule. - await nmrium.page.click('button >> text=Save'); await nmrium.page - .locator('div[role="dialog"]') - .waitFor({ state: 'hidden' }); + .getByRole('dialog') + .getByRole('button', { name: 'Save', exact: true }) + .click(); + await nmrium.page.getByRole('dialog').waitFor({ state: 'hidden' }); // Check the visibility. @@ -178,14 +184,10 @@ test('molecules 1H spectrum', async ({ page }) => { await checkMoleculeStructureIsExists(nmrium, 1); // Check the molecular formula. - await expect(nmrium.page.locator('text=C6H6 - 78.11')).toBeVisible(); + await expect(structuresPanel.getByText('C6H6 - 78.11')).toBeVisible(); // Check the number of molecules. - await expect( - nmrium - .getPanel('Chemical structures') - .getByText('[ 2 / 2 ]', { exact: true }), - ).toBeVisible(); + await expect(structuresPanel.getByText('[ 2 / 2 ]')).toBeVisible(); }); await test.step('Add a third molecule and check the visibility', async () => { @@ -201,214 +203,122 @@ test('molecules 1H spectrum', async ({ page }) => { }); // Save the molecule. - await nmrium.page.click('button >> text=Save'); await nmrium.page - .locator('div[role="dialog"]') - .waitFor({ state: 'hidden' }); + .getByRole('dialog') + .getByRole('button', { name: 'Save' }) + .click(); + await nmrium.page.getByRole('dialog').waitFor({ state: 'hidden' }); // Check the visibility. // The molecule SVG rendering should now be visible in the panel. await checkMoleculeStructureIsExists(nmrium, 2); // Check the molecular formula. - await expect(nmrium.page.locator('text=C6H12 - 84.16')).toBeVisible(); + await expect(structuresPanel.getByText('C6H12 - 84.16')).toBeVisible(); // Check the number of molecules. - await expect( - nmrium - .getPanel('Chemical structures') - .getByText('[ 3 / 3 ]', { exact: true }), - ).toBeVisible(); + await expect(structuresPanel.getByText('[ 3 / 3 ]')).toBeVisible(); }); await test.step('Switch between molecules', async () => { // Start with the third molecule. - await expect( - nmrium - .getPanel('Chemical structures') - .getByText('[ 3 / 3 ]', { exact: true }), - ).toBeVisible(); - await expect(nmrium.page.locator('text=C6H12 - 84.16')).toBeVisible(); + await expect(structuresPanel.getByText('[ 3 / 3 ]')).toBeVisible(); + await expect(structuresPanel.getByText('C6H12 - 84.16')).toBeVisible(); // Go to the previous molecule. await getMoleculesPagerButton(nmrium, 'Previous').click(); // Check selected molecule number. - await expect( - nmrium - .getPanel('Chemical structures') - .getByText('[ 2 / 3 ]', { exact: true }), - ).toBeVisible(); + await expect(structuresPanel.getByText('[ 2 / 3 ]')).toBeVisible(); // Check selected molecule formula. - await expect(nmrium.page.locator('text=C6H6 - 78.11')).toBeVisible(); + await expect(structuresPanel.getByText('C6H6 - 78.11')).toBeVisible(); // Go to the previous molecule. await getMoleculesPagerButton(nmrium, 'Previous').click(); // Check selected molecule number. - await expect( - nmrium - .getPanel('Chemical structures') - .getByText('[ 1 / 3 ]', { exact: true }), - ).toBeVisible(); + await expect(structuresPanel.getByText('[ 1 / 3 ]')).toBeVisible(); // Check selected molecule formula. - await expect(nmrium.page.locator('text=C11H14N2O - 190.25')).toBeVisible(); + await expect(structuresPanel.getByText('C11H14N2O - 190.25')).toBeVisible(); await expect(getMoleculesPagerButton(nmrium, 'Previous')).toBeHidden(); // Go to the next molecule. await getMoleculesPagerButton(nmrium, 'Next').click(); // Check selected molecule number. - await expect( - nmrium - .getPanel('Chemical structures') - .getByText('[ 2 / 3 ]', { exact: true }), - ).toBeVisible(); + await expect(structuresPanel.getByText('[ 2 / 3 ]')).toBeVisible(); // Check selected molecule formula. - await expect(nmrium.page.locator('text=C6H6 - 78.11')).toBeVisible(); + await expect(structuresPanel.getByText('C6H6 - 78.11')).toBeVisible(); // Go to the next molecule. await getMoleculesPagerButton(nmrium, 'Next').click(); // Check the third molecule. - await expect( - nmrium - .getPanel('Chemical structures') - .getByText('[ 3 / 3 ]', { exact: true }), - ).toBeVisible(); - await expect(nmrium.page.locator('text=C6H12 - 84.16')).toBeVisible(); + await expect(structuresPanel.getByText('[ 3 / 3 ]')).toBeVisible(); + await expect(structuresPanel.getByText('C6H12 - 84.16')).toBeVisible(); await expect(getMoleculesPagerButton(nmrium, 'Next')).toBeHidden(); // Go to the previous molecule. await getMoleculesPagerButton(nmrium, 'Previous').click(); // Check selected molecule number. - await expect( - nmrium - .getPanel('Chemical structures') - .getByText('[ 2 / 3 ]', { exact: true }), - ).toBeVisible(); + await expect(structuresPanel.getByText('[ 2 / 3 ]')).toBeVisible(); // Check selected molecule formula. - await expect(nmrium.page.locator('text=C6H6 - 78.11')).toBeVisible(); + await expect(structuresPanel.getByText('C6H6 - 78.11')).toBeVisible(); }); await test.step('Check molecules in integrals', async () => { + const dialog = nmrium.page.getByRole('dialog'); await nmrium.showPanel('Integrals'); - await nmrium.page.click( - '_react=IntegralPanel >> _react=ToolbarItem[tooltip*="Change integration" i]', - ); - await expect( - nmrium.page.locator('div[role="dialog"] >> #molSVG0'), - ).toBeVisible(); - await expect( - nmrium.page.locator('div[role="dialog"] >> text=C11H14N2O - 190.25'), - ).toBeVisible(); - await expect( - nmrium.page.locator( - 'div[role="dialog"] >> text=New sum for H will be 14!', - ), - ).toBeVisible(); - await nmrium.page - .getByRole('dialog') - .getByRole('button', { name: 'Next', exact: true }) - .click(); - await expect( - nmrium.page.locator('div[role="dialog"] >> #molSVG1'), - ).toBeVisible(); - await expect( - nmrium.page.locator('div[role="dialog"] >> text=C6H6 - 78.11'), - ).toBeVisible(); - await expect( - nmrium.page.locator( - 'div[role="dialog"] >> text=New sum for H will be 6!', - ), - ).toBeVisible(); - await nmrium.page - .getByRole('dialog') - .getByRole('button', { name: 'Next', exact: true }) - .click(); - await expect( - nmrium.page.locator('div[role="dialog"] >> #molSVG2'), - ).toBeVisible(); - await expect( - nmrium.page.locator('div[role="dialog"] >> text=C6H12 - 84.16'), - ).toBeVisible(); - await expect( - nmrium.page.locator( - 'div[role="dialog"] >> text=New sum for H will be 12!', - ), - ).toBeVisible(); - await nmrium.page - .getByRole('dialog') - .getByRole('button', { name: 'Close' }) + await nmrium + .getPanel('Integrals') + .getByRole('toolbar') + .getByRole('button', { name: 'Change integration sum' }) .click(); + await expect(dialog.locator('#molSVG0')).toBeVisible(); + await expect(dialog.getByText('C11H14N2O - 190.25')).toBeVisible(); + await expect(dialog.getByText('New sum for H will be 14!')).toBeVisible(); + await dialog.getByRole('button', { name: 'Next', exact: true }).click(); + await expect(dialog.locator('#molSVG1')).toBeVisible(); + await expect(dialog.getByText('C6H6 - 78.11')).toBeVisible(); + await expect(dialog.getByText('New sum for H will be 6!')).toBeVisible(); + await dialog.getByRole('button', { name: 'Next', exact: true }).click(); + await expect(dialog.locator('#molSVG2')).toBeVisible(); + await expect(dialog.getByText('C6H12 - 84.16')).toBeVisible(); + await expect(dialog.getByText('New sum for H will be 12!')).toBeVisible(); + await dialog.getByRole('button', { name: 'Close' }).click(); }); await test.step('Check molecules in ranges', async () => { - await nmrium.page.click( - '_react=ToolbarItem[tooltip *= "Change ranges sum" i]', - ); - await expect( - nmrium.page.locator('div[role="dialog"] >> #molSVG0'), - ).toBeVisible(); - await expect( - nmrium.page.locator('div[role="dialog"] >> text=C11H14N2O - 190.25'), - ).toBeVisible(); - await expect( - nmrium.page.locator( - 'div[role="dialog"] >> text=New sum for H will be 14!', - ), - ).toBeVisible(); - await nmrium.page - .getByRole('dialog') - .getByRole('button', { name: 'Next', exact: true }) - .click(); - await expect( - nmrium.page.locator('div[role="dialog"] >> #molSVG1'), - ).toBeVisible(); - await expect( - nmrium.page.locator('div[role="dialog"] >> text=C6H6 - 78.11'), - ).toBeVisible(); - await expect( - nmrium.page.locator( - 'div[role="dialog"] >> text=New sum for H will be 6!', - ), - ).toBeVisible(); - await nmrium.page - .getByRole('dialog') - .getByRole('button', { name: 'Next', exact: true }) - .click(); - await expect( - nmrium.page.locator('div[role="dialog"] >> #molSVG2'), - ).toBeVisible(); - await expect( - nmrium.page.locator('div[role="dialog"] >> text=C6H12 - 84.16'), - ).toBeVisible(); - await expect( - nmrium.page.locator( - 'div[role="dialog"] >> text=New sum for H will be 12!', - ), - ).toBeVisible(); - await nmrium.page - .getByRole('dialog') - .getByRole('button', { name: 'Close' }) + const dialog = nmrium.page.getByRole('dialog'); + await nmrium + .getPanel('Ranges / Multiplet analysis') + .getByRole('button', { name: 'Change ranges sum' }) .click(); + await expect(dialog.locator('#molSVG0')).toBeVisible(); + await expect(dialog.getByText('C11H14N2O - 190.25')).toBeVisible(); + await expect(dialog.getByText('New sum for H will be 14!')).toBeVisible(); + await dialog.getByRole('button', { name: 'Next', exact: true }).click(); + await expect(dialog.locator('#molSVG1')).toBeVisible(); + await expect(dialog.getByText('C6H6 - 78.11')).toBeVisible(); + await expect(dialog.getByText('New sum for H will be 6!')).toBeVisible(); + await dialog.getByRole('button', { name: 'Next', exact: true }).click(); + await expect(dialog.locator('#molSVG2')).toBeVisible(); + await expect(dialog.getByText('C6H12 - 84.16')).toBeVisible(); + await expect(dialog.getByText('New sum for H will be 12!')).toBeVisible(); + await dialog.getByRole('button', { name: 'Close' }).click(); }); await test.step('Check float molecule', async () => { // Check float molecule btn is on. - await expect( - nmrium.getToolbarLocatorByTitle('Float molecule', { active: true }), - ).toBeVisible(); + await expect(floatMoleculeButton).toContainClass(Classes.ACTIVE); // Click on float molecule button to hide it. await nmrium.clickToolByTitle('Float molecule'); // Check floated molecule. await expect(getFloatingMolecules(nmrium).first()).toBeVisible(); // Check float molecule btn is off. - await expect( - nmrium.getToolbarLocatorByTitle('Float molecule', { active: true }), - ).toBeHidden(); + await expect(floatMoleculeButton).not.toContainClass(Classes.ACTIVE); }); await test.step('Close float molecule', async () => { @@ -420,17 +330,13 @@ test('molecules 1H spectrum', async ({ page }) => { await expect(getFloatingMolecules(nmrium).first()).toBeHidden(); await expect(structureLocator).toBeHidden(); // Check float molecule btn is off. - await expect( - nmrium.getToolbarLocatorByTitle('Float molecule', { active: true }), - ).toBeHidden(); + await expect(floatMoleculeButton).not.toContainClass(Classes.ACTIVE); // Click on float molecule button. await nmrium.clickToolByTitle('Float molecule'); // Check floated molecule. await expect(getFloatingMolecules(nmrium).first()).toBeVisible(); // Check float molecule btn is on. - await expect( - nmrium.getToolbarLocatorByTitle('Float molecule', { active: true }), - ).toBeVisible(); + await expect(floatMoleculeButton).toContainClass(Classes.ACTIVE); }); await test.step('Check copy as molfile V3 or V2 and paste', async () => { @@ -440,22 +346,19 @@ test('molecules 1H spectrum', async ({ page }) => { await nmrium.page.getByTestId('paste-molecule-action').click(); await expect( - nmrium - .getPanel('Chemical structures') - .getByText('[ 5 / 5 ]', { exact: true }), - ).toBeVisible(); - await expect( - nmrium.page.locator('text=C6H6 - 78.11 >> nth=1'), + structuresPanel.getByText('[ 5 / 5 ]', { exact: true }), ).toBeVisible(); - await expect(nmrium.page.locator('text=C6H6 - 78.11')).toHaveCount(3); + await expect(structuresPanel.getByText('C6H6 - 78.11')).toHaveCount(3); await checkMoleculeStructureIsExists(nmrium, 3); }); await test.step('Delete the copy', async () => { // Delete molecule. - await nmrium.page.click('_react=ToolbarItem[tooltip="Delete molecule" i]'); + await structuresPanel + .getByRole('button', { name: 'Delete molecule', exact: true }) + .click(); // Check deleted molecule. - await expect(nmrium.page.locator('text=C6H6 - 78.11')).toHaveCount(2); + await expect(structuresPanel.getByText('C6H6 - 78.11')).toHaveCount(2); // Check floated molecule. await expect(getFloatingMolecules(nmrium).first()).toBeVisible(); // Go to the next molecule. @@ -469,12 +372,10 @@ test('molecules 1H spectrum', async ({ page }) => { await expect(getFloatingMolecules(nmrium)).toHaveCount(1); // Check selected molecule. await expect( - nmrium - .getPanel('Chemical structures') - .getByText('[ 1 / 3 ]', { exact: true }), + structuresPanel.getByText('[ 1 / 3 ]', { exact: true }), ).toBeVisible(); - await expect(nmrium.page.locator('text=C11H14N2O - 190.25')).toBeVisible(); + await expect(structuresPanel.getByText('C11H14N2O - 190.25')).toBeVisible(); await checkMoleculeStructureIsExists(nmrium, 0); }); @@ -483,12 +384,10 @@ test('molecules 1H spectrum', async ({ page }) => { await getMoleculesPagerButton(nmrium, 'Next').click(); // Check the second molecule. await expect( - nmrium - .getPanel('Chemical structures') - .getByText('[ 2 / 3 ]', { exact: true }), + structuresPanel.getByText('[ 2 / 3 ]', { exact: true }), ).toBeVisible(); - await expect(nmrium.page.locator('text=C6H12 - 84.16')).toBeVisible(); + await expect(structuresPanel.getByText('C6H12 - 84.16')).toBeVisible(); await checkMoleculeStructureIsExists(nmrium, 1); // Delete molecule. @@ -496,24 +395,20 @@ test('molecules 1H spectrum', async ({ page }) => { // Check selected molecule. await expect( - nmrium - .getPanel('Chemical structures') - .getByText('[ 1 / 2 ]', { exact: true }), + structuresPanel.getByText('[ 1 / 2 ]', { exact: true }), ).toBeVisible(); - await expect(nmrium.page.locator('text=C11H14N2O - 190.25')).toBeVisible(); + await expect(structuresPanel.getByText('C11H14N2O - 190.25')).toBeVisible(); await checkMoleculeStructureIsExists(nmrium, 0); }); await test.step('Empty panel', async () => { // Check selected molecule. await expect( - nmrium - .getPanel('Chemical structures') - .getByText('[ 1 / 2 ]', { exact: true }), + structuresPanel.getByText('[ 1 / 2 ]', { exact: true }), ).toBeVisible(); - await expect(nmrium.page.locator('text=C11H14N2O - 190.25')).toBeVisible(); + await expect(structuresPanel.getByText('C11H14N2O - 190.25')).toBeVisible(); // Delete both remaining molecules. await nmrium.clickToolByTitle('Delete molecule'); @@ -532,11 +427,11 @@ async function getCount(locator: Locator): Promise { test('check callbacks count on changing structures', async ({ page }) => { const nmrium = await NmriumPage.create(page); + const structuresPanel = nmrium.getPanel('Chemical structures'); const dataCount = nmrium.page.getByTestId('data-count'); const viewCount = nmrium.page.getByTestId('view-count'); await test.step('open test page', async () => { - await nmrium.page.click('li >> text=Props debug'); - await nmrium.page.click('li >> text=Callback - 1H spectrum cytisine'); + await nmrium.openDemo('Props debug', 'Callback - 1H spectrum cytisine'); // wait the spectrum to load await expect(nmrium.page.getByTestId('spectrum-line')).toBeVisible(); @@ -554,13 +449,11 @@ test('check callbacks count on changing structures', async ({ page }) => { await checkMoleculeStructureIsExists(nmrium, 0); // The molecular formula should now be visible in the panel. - await expect(nmrium.page.locator('text=C11H14N2O - 190.25')).toBeVisible(); + await expect(structuresPanel.getByText('C11H14N2O - 190.25')).toBeVisible(); // The number of molecules should now be visible in the panel. await expect( - nmrium - .getPanel('Chemical structures') - .getByText('[ 1 / 1 ]', { exact: true }), + structuresPanel.getByText('[ 1 / 1 ]', { exact: true }), ).toBeVisible(); }); @@ -577,7 +470,10 @@ test('check callbacks count on changing structures', async ({ page }) => { }); // Save the molecule. - await nmrium.page.click('button >> text=Save'); + await nmrium.page + .getByRole('dialog') + .getByRole('button', { name: 'Save', exact: true }) + .click(); await expect(dataCount).toContainText(String(initialDataCount + 1)); await expect(viewCount).toContainText(String(initialViewCount + 1)); @@ -587,21 +483,21 @@ test('check callbacks count on changing structures', async ({ page }) => { await checkMoleculeStructureIsExists(nmrium, 1); // The molecular formula should now be visible in the panel. - await expect(nmrium.page.locator('text=C6H12 - 84.16')).toBeVisible(); + await expect( + nmrium.getPanel('Chemical structures').getByText('C6H12 - 84.16'), + ).toBeVisible(); // The number of molecules should now be visible in the panel. await expect( - nmrium - .getPanel('Chemical structures') - .getByText('[ 2 / 2 ]', { exact: true }), + structuresPanel.getByText('[ 2 / 2 ]', { exact: true }), ).toBeVisible(); }); await test.step('Check float molecule', async () => { - // Check float molecule btn is off. + // Check float molecule btn is on. await expect( - nmrium.getToolbarLocatorByTitle('Float molecule', { active: true }), - ).toBeVisible(); + nmrium.getPanelToolbarButton('Chemical structures', 'Float molecule'), + ).toContainClass(Classes.ACTIVE); // Check floated molecule. await expect(getFloatingMolecules(nmrium).first()).toBeVisible(); From 27a7469d5769394c7a2287374da56441478373b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Wed, 25 Nov 2026 12:16:22 +0100 Subject: [PATCH 13/36] test: use accessible selector to open general settings --- test-e2e/panels/autoassignment.test.ts | 2 +- test-e2e/panels/matrixgeneration.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test-e2e/panels/autoassignment.test.ts b/test-e2e/panels/autoassignment.test.ts index 8535a8741..2ff29a147 100644 --- a/test-e2e/panels/autoassignment.test.ts +++ b/test-e2e/panels/autoassignment.test.ts @@ -12,7 +12,7 @@ test('automatic assignment panel', async ({ page }, info) => { await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); }); await test.step('activate automatic assignment panel', async () => { - await nmrium.page.click('_react=ToolbarItem[id="general-settings"]'); + await nmrium.getMainRightToolbarButton('General settings').click(); await nmrium.page .getByRole('dialog') .getByRole('tab', { name: 'Panels', exact: true }) diff --git a/test-e2e/panels/matrixgeneration.test.ts b/test-e2e/panels/matrixgeneration.test.ts index 0a3bc52ad..ae1527267 100644 --- a/test-e2e/panels/matrixgeneration.test.ts +++ b/test-e2e/panels/matrixgeneration.test.ts @@ -11,7 +11,7 @@ test('Matrix generation panel', async ({ page }) => { }); await test.step('activate matrix generation panel', async () => { - await nmrium.page.click('_react=ToolbarItem[id="general-settings"]'); + await nmrium.getMainRightToolbarButton('General settings').click(); await nmrium.page .getByRole('dialog') .getByRole('tab', { name: 'Panels', exact: true }) From ae47fdb02a2da8b976f491955399e98cdf2d65a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Wed, 25 Nov 2026 12:16:57 +0100 Subject: [PATCH 14/36] test: use accessible selectors in autoassignment panel test --- test-e2e/panels/autoassignment.test.ts | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/test-e2e/panels/autoassignment.test.ts b/test-e2e/panels/autoassignment.test.ts index 2ff29a147..650867a9e 100644 --- a/test-e2e/panels/autoassignment.test.ts +++ b/test-e2e/panels/autoassignment.test.ts @@ -26,14 +26,19 @@ test('automatic assignment panel', async ({ page }, info) => { await test.step('check automatic assignment panel', async () => { await nmrium.clickPanel('Automatic assignment'); // Click on the automatic ranges button. - await nmrium.page.click( - '_react=AutomaticAssignment >> _react=SpectraAutomaticPickingButton', - ); + await nmrium + .getPanelToolbarButton( + 'Automatic assignment', + 'Automatic ranges/zones picking for all spectra', + ) + .click(); // Wait for auto range to be applied. await expect(nmrium.page.getByTestId('range')).toHaveCount(5); - await nmrium.getToolbarLocatorByTitle('Automatic assignment').click(); + await nmrium + .getPanelToolbarButton('Automatic assignment', 'Automatic assignment') + .click(); await expect( nmrium From 7ff6c9a16a6e96ac70b642f2dd2b7f37212d969d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Wed, 25 Nov 2026 17:08:47 +0100 Subject: [PATCH 15/36] test: finish migrating from _react selectors --- package-lock.json | 8 +- package.json | 2 +- src/component/elements/CloseButton.tsx | 17 -- src/component/elements/SaveButton.tsx | 17 -- src/component/elements/ToolbarPopoverItem.tsx | 4 +- src/component/elements/toolbar_button.tsx | 10 - src/component/panels/accordionItems.tsx | 2 +- .../databasePanel/DatabaseSearchOptions.tsx | 29 +-- .../panels/header/PreferencesHeader.tsx | 35 ++-- src/component/toolbar/nmr_toolbar.tsx | 11 +- test-e2e/NmriumPage/constants.ts | 18 ++ test-e2e/NmriumPage/index.ts | 158 ++++++++------ test-e2e/core/import.test.ts | 6 +- test-e2e/core/setting.test.ts | 5 +- test-e2e/core/versioned_workspaces.test.ts | 4 +- test-e2e/panels/autoassignment.test.ts | 10 +- test-e2e/panels/filters.test.ts | 35 ++-- test-e2e/panels/integral.test.ts | 2 +- test-e2e/panels/matrixgeneration.test.ts | 6 +- test-e2e/panels/peaks.test.ts | 45 ++-- test-e2e/panels/ranges.test.ts | 197 ++++++++++-------- test-e2e/panels/settings.test.ts | 64 +++--- test-e2e/panels/spectra.test.ts | 34 ++- test-e2e/panels/structures.test.ts | 30 +-- test-e2e/tools/slicing.test.ts | 2 +- 25 files changed, 410 insertions(+), 341 deletions(-) delete mode 100644 src/component/elements/CloseButton.tsx delete mode 100644 src/component/elements/SaveButton.tsx delete mode 100644 src/component/elements/toolbar_button.tsx create mode 100644 test-e2e/NmriumPage/constants.ts diff --git a/package-lock.json b/package-lock.json index 5ddbb6ba1..77bd7d919 100644 --- a/package-lock.json +++ b/package-lock.json @@ -61,7 +61,7 @@ "react-ocl-nmr": "^4.1.1", "react-plot": "^3.1.2", "react-rnd": "^10.5.3", - "react-science": "^24.1.4", + "react-science": "^24.2.0", "smart-array-filter": "^5.0.0", "ts-pattern": "^5.9.2", "usehooks-ts": "^3.1.1", @@ -10205,9 +10205,9 @@ } }, "node_modules/react-science": { - "version": "24.1.4", - "resolved": "https://registry.npmjs.org/react-science/-/react-science-24.1.4.tgz", - "integrity": "sha512-MvwY88EV1bIQxTBwD90qUZO+lJcgle5fmawutxlotaqKawQ5Ld/wpArJ4wDwDfvM+EyP05ytYCncvXLVNq81KA==", + "version": "24.2.0", + "resolved": "https://registry.npmjs.org/react-science/-/react-science-24.2.0.tgz", + "integrity": "sha512-6H5GryyEBQprj7+FnmQ3GP+OSpbgQb5E6bBIo/X/qlf1CcN1HVMLH9s8nEaX9AtMOlNInTIX1CLK23LDeYJnfA==", "license": "MIT", "dependencies": { "@emotion/styled": "^11.14.1", diff --git a/package.json b/package.json index e17b3f8e0..22dcfc1ce 100644 --- a/package.json +++ b/package.json @@ -112,7 +112,7 @@ "react-ocl-nmr": "^4.1.1", "react-plot": "^3.1.2", "react-rnd": "^10.5.3", - "react-science": "^24.1.4", + "react-science": "^24.2.0", "smart-array-filter": "^5.0.0", "ts-pattern": "^5.9.2", "usehooks-ts": "^3.1.1", diff --git a/src/component/elements/CloseButton.tsx b/src/component/elements/CloseButton.tsx deleted file mode 100644 index 3c3bab694..000000000 --- a/src/component/elements/CloseButton.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import { FaTimes } from 'react-icons/fa'; -import type { ToolbarItemProps } from 'react-science/ui'; - -import { ToolbarButton } from './toolbar_button.tsx'; - -export function CloseButton( - props: Pick, -) { - return ( - } - /> - ); -} diff --git a/src/component/elements/SaveButton.tsx b/src/component/elements/SaveButton.tsx deleted file mode 100644 index 6ac1c2381..000000000 --- a/src/component/elements/SaveButton.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import { FaCheck } from 'react-icons/fa'; -import type { ToolbarItemProps } from 'react-science/ui'; - -import { ToolbarButton } from './toolbar_button.tsx'; - -export function SaveButton( - props: Pick, -) { - return ( - } - /> - ); -} diff --git a/src/component/elements/ToolbarPopoverItem.tsx b/src/component/elements/ToolbarPopoverItem.tsx index 9c6ed2f4f..7f213ddb6 100644 --- a/src/component/elements/ToolbarPopoverItem.tsx +++ b/src/component/elements/ToolbarPopoverItem.tsx @@ -3,7 +3,7 @@ import { Menu, MenuDivider, MenuItem, Tooltip } from '@blueprintjs/core'; import type { ToolbarItemProps, ToolbarPopoverItemProps, - TooltipItem, + TooltipHelpContentProps, } from 'react-science/ui'; import { Toolbar, TooltipHelpContent } from 'react-science/ui'; @@ -11,7 +11,7 @@ export interface ToolbarPopoverMenuItem extends MenuItemProps, Pick { menuItemType?: 'item'; data?: T; - tooltip?: string | TooltipItem; + tooltip?: string | TooltipHelpContentProps; } export interface ToolbarPopoverMenuDivider extends MenuDividerProps { diff --git a/src/component/elements/toolbar_button.tsx b/src/component/elements/toolbar_button.tsx deleted file mode 100644 index f4467d1db..000000000 --- a/src/component/elements/toolbar_button.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import type { ToolbarItemProps } from 'react-science/ui'; -import { Toolbar } from 'react-science/ui'; - -export function ToolbarButton(props: ToolbarItemProps) { - return ( - - - - ); -} diff --git a/src/component/panels/accordionItems.tsx b/src/component/panels/accordionItems.tsx index 5f8441ceb..f00f8a2e9 100644 --- a/src/component/panels/accordionItems.tsx +++ b/src/component/panels/accordionItems.tsx @@ -44,7 +44,7 @@ export interface AccordionItem extends Omit< openWithTool?: Tool; } -const accordions: Record< +export const accordions: Record< keyof NMRiumPanelPreferences, Omit > = { diff --git a/src/component/panels/databasePanel/DatabaseSearchOptions.tsx b/src/component/panels/databasePanel/DatabaseSearchOptions.tsx index 2cb60a6f8..029275e54 100644 --- a/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +++ b/src/component/panels/databasePanel/DatabaseSearchOptions.tsx @@ -10,7 +10,6 @@ import { useChartData } from '../../context/ChartContext.js'; import { useDispatch } from '../../context/DispatchContext.js'; import Input from '../../elements/Input.js'; import Select from '../../elements/Select.js'; -import { ToolbarButton } from '../../elements/toolbar_button.tsx'; import useToolsFunctions from '../../hooks/useToolsFunctions.js'; import { options } from '../../toolbar/ToolTypes.js'; @@ -104,12 +103,14 @@ export function DatabaseSearchOptions(props: DatabaseSearchOptionsProps) { paddingBottom: '2px', }} > - } - active={showSimilarityTree} - onClick={handleShowSimilarityTree} - /> + + } + active={showSimilarityTree} + onClick={handleShowSimilarityTree} + /> + void; onSave: () => void; } -function PreferencesHeader({ onClose, onSave }: PreferencesHeaderProps) { +export default function PreferencesHeader({ + onClose, + onSave, +}: PreferencesHeaderProps) { return (
- - + + } + /> + } + /> +
); } - -export default PreferencesHeader; diff --git a/src/component/toolbar/nmr_toolbar.tsx b/src/component/toolbar/nmr_toolbar.tsx index e022a1e24..e70d6733b 100644 --- a/src/component/toolbar/nmr_toolbar.tsx +++ b/src/component/toolbar/nmr_toolbar.tsx @@ -1,7 +1,10 @@ import { isSpectrum2DQuadrants } from '@zakodium/nmrium-core'; import { useCallback, useMemo } from 'react'; import { FaDownload } from 'react-icons/fa'; -import type { ToolbarItemProps, TooltipItem } from 'react-science/ui'; +import type { + ToolbarItemProps, + TooltipHelpContentProps, +} from 'react-science/ui'; import { Toolbar, TooltipHelpContent } from 'react-science/ui'; import { useChartData } from '../context/ChartContext.js'; @@ -42,12 +45,12 @@ interface BaseToolItem extends Pick { } interface ToolItem extends BaseToolItem { onClick?: () => void; - tooltip: TooltipItem; + tooltip: TooltipHelpContentProps; } interface PopoverToolItem extends BaseToolItem { onClick: (data?: any) => void; menuItems: ToolbarPopoverMenuItem[]; - tooltip: TooltipItem; + tooltip: TooltipHelpContentProps; } function isPopoverToolItem( @@ -482,7 +485,7 @@ export default function NMRToolbar() { )} - + {toolItems.map((item) => { const { id, tooltip, disabled, isVisible, iconProps } = item; const Icon = getToolIcon(id, { verticalAlign, isRealSpectrumShown }); diff --git a/test-e2e/NmriumPage/constants.ts b/test-e2e/NmriumPage/constants.ts new file mode 100644 index 000000000..7f1d449f2 --- /dev/null +++ b/test-e2e/NmriumPage/constants.ts @@ -0,0 +1,18 @@ +import { accordions as panels } from '../../src/component/panels/accordionItems.tsx'; +import { options as tools } from '../../src/component/toolbar/ToolTypes.ts'; + +export type NmrViewerToolId = keyof typeof tools; + +export const NMR_VIEWER_TOOLS = Object.freeze( + Object.fromEntries( + Object.entries(tools).map(([key, value]) => [key, value.label]), + ) as Record, +); + +export type PanelId = keyof typeof panels; + +export const PANELS = Object.freeze( + Object.fromEntries( + Object.entries(panels).map(([key, value]) => [key, value.title]), + ) as Record, +); diff --git a/test-e2e/NmriumPage/index.ts b/test-e2e/NmriumPage/index.ts index f3d929093..1e52e1d1c 100644 --- a/test-e2e/NmriumPage/index.ts +++ b/test-e2e/NmriumPage/index.ts @@ -4,26 +4,23 @@ import type { Mandatory } from '@zakodium/utils'; import { NmriumPageMoleculeEditor } from './NmriumPageMoleculeEditor.js'; import { NmriumPageViewer } from './NmriumPageViewer.js'; +import type { NmrViewerToolId, PanelId } from './constants.ts'; +import { NMR_VIEWER_TOOLS, PANELS } from './constants.ts'; type ClickOptions = Parameters[1]; type GetByRoleOptions = Mandatory[1]>; -interface ToolLocatorOptions { - active?: boolean; - caseSensitive?: boolean; -} - export default class NmriumPage { - public static async create(page: Page): Promise { + static async create(page: Page): Promise { await page.goto('http://localhost:3000/#/'); return new NmriumPage(page); } - public readonly page: Page; - public readonly viewer: NmriumPageViewer; - public readonly moleculeEditor: NmriumPageMoleculeEditor; + readonly page: Page; + readonly viewer: NmriumPageViewer; + readonly moleculeEditor: NmriumPageMoleculeEditor; - public constructor(page: Page) { + constructor(page: Page) { this.page = page; this.viewer = new NmriumPageViewer(page); this.moleculeEditor = new NmriumPageMoleculeEditor(page); @@ -34,7 +31,7 @@ export default class NmriumPage { * @param category - The category of the demo. * @param name - The name of the demo. */ - public async openDemo(category: string, name: string) { + async openDemo(category: string, name: string) { await this.page .getByRole('menuitem', { name: category }) .getByText(category, { exact: true }) @@ -45,36 +42,40 @@ export default class NmriumPage { /** * Open the "Cytisine - 1H spectrum" demo. */ - public async open1D() { + async open1D() { await this.openDemo('Cytisine', '1H spectrum'); } /** * Open the "Simple spectra - COSY ethylbenzene" demo. */ - public async open2D() { + async open2D() { await this.openDemo('Simple spectra', 'COSY ethylbenzene'); } /** * Click on a panel header to expand or collapse it. - * @param title - The panel title, as shown in its header. + * @param panelId - The id of the panel. * @param options */ - public async clickPanel(title: string, options: ClickOptions = {}) { - await this.getPanelButton(title).click(options); + async clickPanel(panelId: PanelId, options: ClickOptions = {}) { + await this.getPanelButton(panelId).click(options); } /** * Get the header button of an accordion panel, which expands or collapses it. - * @param title - The panel title, as shown in its header. + * @param panelId - The id of the panel. */ - public getPanelButton(title: string) { + getPanelButton(panelId: PanelId) { return this.page - .getByRole('button', { name: title, exact: true, expanded: true }) + .getByRole('button', { + name: PANELS[panelId], + exact: true, + expanded: true, + }) .or( this.page.getByRole('button', { - name: title, + name: PANELS[panelId], exact: true, expanded: false, }), @@ -83,25 +84,28 @@ export default class NmriumPage { /** * Get the content of an accordion panel. - * @param title - The panel title, as shown in its header. + * @param panelId - The id of the panel. */ - public getPanel(title: string) { - return this.page.getByRole('region', { name: title, exact: true }); + getPanel(panelId: PanelId) { + return this.page.getByRole('region', { + name: PANELS[panelId], + exact: true, + }); } /** * Get all the tabs of the spectra panel. */ - public getSpectraTabs() { - return this.getPanel('Spectra').getByRole('tab'); + getSpectraTabs() { + return this.getPanel('spectraPanel').getByRole('tab'); } /** * Get a tab of the spectra panel. * @param nucleus - The nucleus or nuclei of the tab (for example "1H" or "1H,13C"). */ - public getSpectraTab(nucleus: string) { - return this.getPanel('Spectra').getByRole('tab', { + getSpectraTab(nucleus: string) { + return this.getPanel('spectraPanel').getByRole('tab', { name: nucleus, exact: true, }); @@ -110,75 +114,99 @@ export default class NmriumPage { /** * Get the options of the selected tool, displayed in the header. */ - public getToolOptions() { + getToolOptions() { return this.page.getByRole('group', { name: 'Tool options', exact: true }); } /** * Get the spectra table of the active tab in the spectra panel. */ - public getSpectraTable() { - return this.getPanel('Spectra').getByRole('table'); + getSpectraTable() { + return this.getPanel('spectraPanel').getByRole('table'); } /** * Get the list of filters applied to the active spectrum, in the processing panel. */ - public getFiltersList() { - return this.getPanel('Processing').getByRole('list', { name: 'Filters' }); + getFiltersList() { + return this.getPanel('processingsPanel').getByRole('list', { + name: 'Filters', + }); } /** * Show a panel hidden from the accordion by clicking its panels bar icon. - * @param name - The panel name, as shown in the icon tooltip. + * @param panelId - The id of the panel to show. */ - public async showPanel(name: string) { + async showPanel(panelId: PanelId) { await this.page .getByRole('toolbar', { name: 'Panels bar', exact: true }) - .getByRole('button', { name, exact: true, pressed: false }) + .getByRole('button', { + name: PANELS[panelId], + exact: true, + pressed: false, + }) .click(); } - public getPanelToolbarButton( - panelName: string, + getPanelHeader(panelId: PanelId) { + return this.getPanel(panelId).getByLabel('Panel header', { exact: true }); + } + + getPanelToolbarButton( + panelId: PanelId, buttonName: string, options: Omit = {}, ) { const { exact = true, ...restOptions } = options; - return this.getPanel(panelName).getByRole('button', { - name: buttonName, - exact, - ...restOptions, - }); + return this.getPanelHeader(panelId) + .getByRole('toolbar', { name: 'Panel left toolbar', exact: true }) + .getByRole('button', { + name: buttonName, + exact, + ...restOptions, + }); } - public async clickTool(id: string) { - await this.page - .locator(`_react=ToolbarItem[id="${id}"] >> nth=0`) - .or(this.page.locator(`_react=ToolbarPopoverItem[id="${id}"] >> nth=0`)) + openPanelSettings(panelId: PanelId) { + return this.getPanelHeader(panelId) + .getByRole('button', { name: 'Panel settings', exact: true }) .click(); } - public async clickToolByTitle(title: string) { - await this.page.getByRole('button', { name: title, exact: true }).click(); + getMainRightToolbarButton( + buttonName: string, + options: Omit = {}, + ) { + const { exact = true, ...restOptions } = options; + return this.page + .getByRole('toolbar', { name: 'Main header right toolbar' }) + .getByRole('button', { + name: buttonName, + exact, + ...restOptions, + }); } - public getToolbarLocatorByTitle( - title: string, - options: ToolLocatorOptions = {}, - ) { - const { active, caseSensitive = false } = options; - const selectors: string[] = [ - `_react=ToolbarItem[tooltip="${title}" ${caseSensitive ? '' : 'i'}]`, - ]; + openGeneralSettings() { + return this.getMainRightToolbarButton('General settings').click(); + } - if (active !== undefined) { - selectors.push(`[active=${active}]`); - } - return this.page.locator(`${selectors.join('')} >> nth=0`); + getNMRViewerTool(toolId: NmrViewerToolId) { + return this.page + .getByRole('toolbar', { name: 'NMR viewer toolbar' }) + .getByRole('button', { name: NMR_VIEWER_TOOLS[toolId], exact: true }); + } + + async clickNMRViewerTool(toolId: NmrViewerToolId) { + return this.getNMRViewerTool(toolId).click(); + } + + async clickToolByTitle(title: string) { + await this.page.getByRole('button', { name: title, exact: true }).click(); } - public async assertOneDimensionXScaleDomain(min: number, max: number) { + async assertOneDimensionXScaleDomain(min: number, max: number) { const xTickLabels = this.page .getByRole('group', { name: 'Horizontal axis', exact: true }) .getByTestId('axis-primary-tick-label'); @@ -189,7 +217,7 @@ export default class NmriumPage { await expect(lastTick).toHaveText(max.toString()); } - public async getNumberOfDistinctColors() { + async getNumberOfDistinctColors() { const linesLocator = this.page.getByTestId('spectrum-line'); // Get all lines from the locator. const lines = await linesLocator.all(); @@ -204,7 +232,7 @@ export default class NmriumPage { return distinctColors.length; } - public async applyPhaseCorrection( + async applyPhaseCorrection( options: { keyboard?: boolean; mode?: 'automatic' | 'manual' | 'absolute'; @@ -216,7 +244,7 @@ export default class NmriumPage { await this.viewer.moveMouse(); await this.page.keyboard.press('KeyA'); } else { - await this.clickTool('phaseCorrection'); + await this.clickNMRViewerTool('phaseCorrection'); } if (mode === 'manual') { await this.page.fill('input[name="ph1"]', '100'); @@ -260,7 +288,7 @@ export default class NmriumPage { ).toBeVisible(); } - public async dropFile(file: string | string[]) { + async dropFile(file: string | string[]) { const filenames: string[] = []; if (typeof file === 'string') { diff --git a/test-e2e/core/import.test.ts b/test-e2e/core/import.test.ts index e8da8afbe..2aa99757f 100644 --- a/test-e2e/core/import.test.ts +++ b/test-e2e/core/import.test.ts @@ -34,7 +34,7 @@ test('should load and migrate .nmrium data from version 1 to version 2', async ( await nmrium.getSpectraTab('1H').click(); await test.step('check Peaks', async () => { - await nmrium.showPanel('Peaks'); + await nmrium.showPanel('peaksPanel'); const peaks = nmrium.page.getByTestId('peak-annotation'); await expect(peaks).toHaveCount(6); }); @@ -54,7 +54,7 @@ test('should load and migrate .nmrium data from version 2 to version 3', async ( // If the file was loaded successfully, there should be a 13C tab. await expect(nmrium.getSpectraTab('13C')).toBeVisible(); - await nmrium.clickPanel('Processing'); + await nmrium.clickPanel('processingsPanel'); await expect( nmrium.getFiltersList().getByText('Apodization / Window functions'), @@ -69,7 +69,7 @@ test('should load .nmrium data from version 3', async ({ page }) => { await expect(nmrium.getSpectraTab('1H')).toBeVisible(); await test.step('check Peaks', async () => { - await nmrium.showPanel('Peaks'); + await nmrium.showPanel('peaksPanel'); const peaks = nmrium.page.getByTestId('peak-annotation'); await expect(peaks).toHaveCount(2); }); diff --git a/test-e2e/core/setting.test.ts b/test-e2e/core/setting.test.ts index b3cbc762a..4d1803c33 100644 --- a/test-e2e/core/setting.test.ts +++ b/test-e2e/core/setting.test.ts @@ -9,11 +9,10 @@ test('should Change the visibility of the panels', async ({ page }) => { await nmrium.open1D(); //hold a locator reference to database panel - const databaseLocator = nmrium.getPanelButton('Databases'); + const databaseLocator = nmrium.getPanelButton('databasePanel'); await test.step('Open general setting and change the "database panel" visibility to true', async () => { - //open general setting - await nmrium.clickTool('general-settings'); + await nmrium.openGeneralSettings(); //click on the display tab await nmrium.page diff --git a/test-e2e/core/versioned_workspaces.test.ts b/test-e2e/core/versioned_workspaces.test.ts index 9d1ea75e7..f7da5616d 100644 --- a/test-e2e/core/versioned_workspaces.test.ts +++ b/test-e2e/core/versioned_workspaces.test.ts @@ -12,8 +12,8 @@ test('workspaces given with an older version are migrated', async ({ const workspaceButton = nmrium.page.getByRole('button', { name: /^Workspace:/, }); - const peaksPanel = nmrium.getPanelButton('Peaks'); - const rangesPanel = nmrium.getPanelButton('Ranges / Multiplet analysis'); + const peaksPanel = nmrium.getPanelButton('peaksPanel'); + const rangesPanel = nmrium.getPanelButton('rangesPanel'); // `legacyPeaks` is the requested workspace, it only displays the peaks panel. await expect(workspaceButton).toHaveText('Legacy peaks (v19)'); diff --git a/test-e2e/panels/autoassignment.test.ts b/test-e2e/panels/autoassignment.test.ts index 650867a9e..e1338fc3d 100644 --- a/test-e2e/panels/autoassignment.test.ts +++ b/test-e2e/panels/autoassignment.test.ts @@ -12,7 +12,7 @@ test('automatic assignment panel', async ({ page }, info) => { await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); }); await test.step('activate automatic assignment panel', async () => { - await nmrium.getMainRightToolbarButton('General settings').click(); + await nmrium.openGeneralSettings(); await nmrium.page .getByRole('dialog') .getByRole('tab', { name: 'Panels', exact: true }) @@ -24,11 +24,11 @@ test('automatic assignment panel', async ({ page }, info) => { await nmrium.saveWorkspaceModal('test'); }); await test.step('check automatic assignment panel', async () => { - await nmrium.clickPanel('Automatic assignment'); + await nmrium.clickPanel('automaticAssignmentPanel'); // Click on the automatic ranges button. await nmrium .getPanelToolbarButton( - 'Automatic assignment', + 'automaticAssignmentPanel', 'Automatic ranges/zones picking for all spectra', ) .click(); @@ -37,12 +37,12 @@ test('automatic assignment panel', async ({ page }, info) => { await expect(nmrium.page.getByTestId('range')).toHaveCount(5); await nmrium - .getPanelToolbarButton('Automatic assignment', 'Automatic assignment') + .getPanelToolbarButton('automaticAssignmentPanel', 'Automatic assignment') .click(); await expect( nmrium - .getPanel('Automatic assignment') + .getPanel('automaticAssignmentPanel') .getByRole('table') .getByRole('cell', { name: '0.75', exact: true }), ).toHaveCount(2, { timeout: 30 * 1000 }); diff --git a/test-e2e/panels/filters.test.ts b/test-e2e/panels/filters.test.ts index 0b2e7b148..941e9d027 100644 --- a/test-e2e/panels/filters.test.ts +++ b/test-e2e/panels/filters.test.ts @@ -22,7 +22,7 @@ async function apodizationFilter( await nmrium.viewer.moveMouse(); await nmrium.page.keyboard.press('KeyA'); } else { - await nmrium.clickTool('apodization'); + await nmrium.clickNMRViewerTool('apodization'); } await expect(nmrium.page.getByTestId('apodization-line')).toBeVisible(); @@ -42,14 +42,14 @@ async function apodizationFilter( } async function zeroFillingFilter(nmrium: NmriumPage) { - await nmrium.clickTool('zeroFilling'); + await nmrium.clickNMRViewerTool('zeroFilling'); await clickApply(nmrium); await expect(nmrium.getFiltersList().getByText('Zero Filling')).toBeVisible(); } async function fourierTransformFilter(nmrium: NmriumPage) { - await nmrium.clickTool('fft'); + await nmrium.clickNMRViewerTool('fft'); await expect(nmrium.getFiltersList().getByText('FFT')).toBeVisible(); } @@ -62,7 +62,7 @@ async function baselineCorrectionFilter( await nmrium.viewer.moveMouse(); await nmrium.page.keyboard.press('KeyB'); } else { - await nmrium.clickTool('baselineCorrection'); + await nmrium.clickNMRViewerTool('baselineCorrection'); } await clickApply(nmrium); @@ -76,7 +76,7 @@ async function addPeaks(nmrium: NmriumPage, { keyboard = false } = {}) { await nmrium.viewer.moveMouse(); await nmrium.page.keyboard.press('KeyP'); } else { - await nmrium.clickTool('peakPicking'); + await nmrium.clickNMRViewerTool('peakPicking'); } await nmrium @@ -89,7 +89,7 @@ async function addPeaks(nmrium: NmriumPage, { keyboard = false } = {}) { ).toBeVisible(); } async function checkPeakNumber(nmrium: NmriumPage, number: number) { - const peaksTable = nmrium.getPanel('Peaks').getByRole('table'); + const peaksTable = nmrium.getPanel('peaksPanel').getByRole('table'); // The table is virtualized: scroll to the end to render the last peak. await peaksTable.hover(); await nmrium.page.mouse.wheel(0, 100_000); @@ -101,7 +101,7 @@ async function checkPeakNumber(nmrium: NmriumPage, number: number) { test('process 1d FID 13c spectrum', async ({ page }) => { const nmrium = await NmriumPage.create(page); await open13CFidSpectrum(nmrium); - await nmrium.clickPanel('Processing'); + await nmrium.clickPanel('processingsPanel'); await test.step('Apply Apodization filter', async () => { await apodizationFilter(nmrium); @@ -131,7 +131,7 @@ test('process 1d FID 13c spectrum', async ({ page }) => { test('process 13c spectrum with shortcuts', async ({ page }) => { const nmrium = await NmriumPage.create(page); await open13CFidSpectrum(nmrium); - await nmrium.clickPanel('Processing'); + await nmrium.clickPanel('processingsPanel'); await test.step('Apply Apodization filter', async () => { await apodizationFilter(nmrium, { keyboard: true }); @@ -170,7 +170,7 @@ test('Processed spectra filters', async ({ page }) => { }); await test.step('Check filters panel', async () => { //Open peaks panel - await nmrium.clickPanel('Processing'); + await nmrium.clickPanel('processingsPanel'); await expect(nmrium.getFiltersList().getByRole('listitem')).toHaveCount(6); }); @@ -188,16 +188,15 @@ test('Exclusion zones', async ({ page }) => { }); await test.step('activate exclusion zones tool', async () => { - //open general setting - await nmrium.clickTool('general-settings'); + await nmrium.openGeneralSettings(); - //click on the display tab + // Click on the tools tab. await nmrium.page .getByRole('dialog') .getByRole('tab', { name: 'Tools', exact: true }) .click(); - //enable exclusion zone tool + // Enable exclusion zones tool. await nmrium.page .getByRole('dialog') .getByRole('tabpanel') @@ -210,15 +209,15 @@ test('Exclusion zones', async ({ page }) => { }); await test.step('add exclusion zones', async () => { - //select exclusion zones tool - await nmrium.clickTool('exclusionZones'); + // Select exclusion zones tool. + await nmrium.clickNMRViewerTool('exclusionZones'); // Add exclusion zones. await nmrium.viewer.drawRectangle({ axis: 'x', startX: 100, endX: 150, }); - // check that the filters applied to all spectra + // Check that the filters applied to all spectra. await expect(nmrium.page.getByTestId('exclusion-zone')).toHaveCount(13); }); @@ -232,8 +231,8 @@ test('Exclusion zones', async ({ page }) => { }); await test.step('add exclusion zones to the active spectrum', async () => { - //select exclusion zones tool - await nmrium.clickTool('exclusionZones'); + // Select exclusion zones tool. + await nmrium.clickNMRViewerTool('exclusionZones'); // Add exclusion zones to the last spectrum which is active from the previous step. await nmrium.viewer.drawRectangle({ diff --git a/test-e2e/panels/integral.test.ts b/test-e2e/panels/integral.test.ts index 996ef6b0c..79f88c9b9 100644 --- a/test-e2e/panels/integral.test.ts +++ b/test-e2e/panels/integral.test.ts @@ -77,7 +77,7 @@ async function deleteIntegral(nmrium: NmriumPage) { test('Should Integrals Add/resize/delete', async ({ page }) => { const nmrium = await NmriumPage.create(page); await nmrium.open1D(); - await nmrium.clickTool('integral'); + await nmrium.clickNMRViewerTool('integral'); await test.step('Add integrals ', async () => { // Test add two integrals diff --git a/test-e2e/panels/matrixgeneration.test.ts b/test-e2e/panels/matrixgeneration.test.ts index ae1527267..272eef23c 100644 --- a/test-e2e/panels/matrixgeneration.test.ts +++ b/test-e2e/panels/matrixgeneration.test.ts @@ -11,7 +11,7 @@ test('Matrix generation panel', async ({ page }) => { }); await test.step('activate matrix generation panel', async () => { - await nmrium.getMainRightToolbarButton('General settings').click(); + await nmrium.openGeneralSettings(); await nmrium.page .getByRole('dialog') .getByRole('tab', { name: 'Panels', exact: true }) @@ -23,9 +23,9 @@ test('Matrix generation panel', async ({ page }) => { await nmrium.saveWorkspaceModal('test'); }); await test.step('check matrix generation', async () => { - await nmrium.clickPanel('Matrix generation'); + await nmrium.clickPanel('matrixGenerationPanel'); - const panel = nmrium.getPanel('Matrix generation'); + const panel = nmrium.getPanel('matrixGenerationPanel'); await panel.getByLabel('From', { exact: true }).fill('0'); await panel.getByLabel('To', { exact: true }).fill('5'); await panel.getByLabel('Number of points', { exact: true }).fill('1000'); diff --git a/test-e2e/panels/peaks.test.ts b/test-e2e/panels/peaks.test.ts index 61f8964fb..18462d403 100644 --- a/test-e2e/panels/peaks.test.ts +++ b/test-e2e/panels/peaks.test.ts @@ -19,7 +19,7 @@ async function addPeaks(nmrium: NmriumPage) { const peaksAnnotationLocator = getPeakAnnotations(nmrium); // Select peak picking tool. - await nmrium.clickTool('peakPicking'); + await nmrium.clickNMRViewerTool('peakPicking'); // Add peak by selecting range. await nmrium.viewer.drawRectangle({ @@ -54,7 +54,7 @@ async function shiftX(nmrium: NmriumPage) { async function shiftSpectraByDeltaColumn(nmrium: NmriumPage) { const ppmColumnLocator = await getTableCell( - nmrium.getPanel('Peaks').getByRole('table'), + nmrium.getPanel('peaksPanel').getByRole('table'), 1, 'δ (ppm)', ); @@ -101,31 +101,37 @@ test('Automatic peak picking should work', async ({ page }) => { const nmrium = await NmriumPage.create(page); await nmrium.open1D(); - //select range tool - await nmrium.clickTool('peakPicking'); + // Select peak picking tool. + await nmrium.clickNMRViewerTool('peakPicking'); - //apply auto ranges detection - await nmrium.page.click('button >> text=Apply'); + // Apply auto peak detection. + await nmrium + .getToolOptions() + .getByRole('button', { name: 'Apply', exact: true }) + .click(); await expect(getPeakAnnotations(nmrium)).toHaveCount(154); }); + test('Processed spectra peaks', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open Processed 13C FID', async () => { await nmrium.openDemo('Cytisine', 'Processed 13C FID'); - // wait spectrum to load + // Wait for the spectrum to load await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); }); await test.step('Check peaks', async () => { //Close spectra panel - await nmrium.clickPanel('Spectra'); + await nmrium.clickPanel('spectraPanel'); //Close ranges panel - await nmrium.clickPanel('Ranges / Multiplet analysis'); + await nmrium.clickPanel('rangesPanel'); //Open peaks panel - await nmrium.showPanel('Peaks'); + await nmrium.showPanel('peaksPanel'); - const peaks = getTableRows(nmrium.getPanel('Peaks').getByRole('table')); + const peaks = getTableRows( + nmrium.getPanel('peaksPanel').getByRole('table'), + ); await expect(peaks).toHaveCount(16); const peaksData = [ @@ -146,22 +152,23 @@ test('Processed spectra peaks', async ({ page }) => { } }); }); + test('Check no negative peaks in processed spectra', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open 13c spectrum', async () => { await nmrium.openDemo('Cytisine', 'Processed 13C FID'); - // wait spectrum to load + // Wait for the spectrum to load. await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); }); await test.step('Check negative peaks', async () => { - //Close spectra panel - await nmrium.clickPanel('Spectra'); - //Close ranges panel - await nmrium.clickPanel('Ranges / Multiplet analysis'); - //Open peaks panel - await nmrium.showPanel('Peaks'); - const peaksTable = nmrium.getPanel('Peaks').getByRole('table'); + // Close spectra panel. + await nmrium.clickPanel('spectraPanel'); + // Close ranges panel. + await nmrium.clickPanel('rangesPanel'); + // Open peaks panel. + await nmrium.showPanel('peaksPanel'); + const peaksTable = nmrium.getPanel('peaksPanel').getByRole('table'); for (let i = 0; i < 16; i++) { // eslint-disable-next-line no-await-in-loop diff --git a/test-e2e/panels/ranges.test.ts b/test-e2e/panels/ranges.test.ts index b8e192f55..c3db20581 100644 --- a/test-e2e/panels/ranges.test.ts +++ b/test-e2e/panels/ranges.test.ts @@ -24,7 +24,7 @@ async function addRange( * @param index - 1 for the F2 (direct) dimension, 2 for the F1 (indirect) dimension. */ function zoneCell(nmrium: NmriumPage, index: 1 | 2) { - return getTableRows(nmrium.getPanel('Zones').getByRole('table')) + return getTableRows(nmrium.getPanel('zonesPanel').getByRole('table')) .first() .getByRole('cell') .nth(index); @@ -32,7 +32,7 @@ function zoneCell(nmrium: NmriumPage, index: 1 | 2) { async function shiftSignal(nmrium: NmriumPage) { const signalColumnLocator = await getTableCell( - nmrium.getPanel('Ranges / Multiplet analysis').getByRole('table'), + nmrium.getPanel('rangesPanel').getByRole('table'), 0, 'δ (ppm)', ); @@ -105,8 +105,8 @@ test('Should ranges Add/resize/delete', async ({ page }) => { const nmrium = await NmriumPage.create(page); await nmrium.open1D(); - //select range tool - await nmrium.clickTool('rangePicking'); + // Select range tool. + await nmrium.clickNMRViewerTool('rangePicking'); await test.step('Add ranges', async () => { // Add two ranges. @@ -141,7 +141,7 @@ test('Automatic ranges detection should work', async ({ page }) => { await nmrium.open1D(); //select range tool - await nmrium.clickTool('rangePicking'); + await nmrium.clickNMRViewerTool('rangePicking'); //apply auto ranges detection await nmrium.page.click('text=Auto ranges picking'); @@ -150,7 +150,7 @@ test('Automatic ranges detection should work', async ({ page }) => { 10, ); const ranges = getTableRows( - nmrium.getPanel('Ranges / Multiplet analysis').getByRole('table'), + nmrium.getPanel('rangesPanel').getByRole('table'), ); const rangesData = [ @@ -175,27 +175,38 @@ test('Publication string is visible after automatic ranges detection', async ({ }) => { const nmrium = await NmriumPage.create(page); await nmrium.open1D(); - await nmrium.clickTool('rangePicking'); - await page.getByRole('button', { name: 'Auto ranges picking' }).click(); - await expect(page.getByTestId('range')).toHaveCount(10); - - await nmrium.getToolbarLocatorByTitle('Display publication string').click(); - const publicationString = page.getByTestId('publication-string'); + await nmrium.clickNMRViewerTool('rangePicking'); + await nmrium + .getToolOptions() + .getByRole('button', { name: 'Auto ranges picking' }) + .click(); + await expect(nmrium.page.getByTestId('range')).toHaveCount(10); + + await nmrium + .getPanelToolbarButton('rangesPanel', 'Display publication string') + .click(); + const publicationString = nmrium.page.getByTestId('publication-string'); await expect(publicationString).toBeVisible(); await expect(publicationString).toHaveText( '1H NMR (600 MHz): δ 1.77 (1H, br s), 1.95 (2H, t, J = 3.29 Hz), 2.33 (1H, m), 2.91 (1H, dt, J = 3.06, 2.47 Hz), 3.01 (4H, m), 3.84 (1H, ddd, J = 15.48, 6.68, 1.24 Hz), 4.04 (1H, d, J = 15.50 Hz), 6.01 (1H, ddd, J = 6.94, 1.47, 0.54 Hz), 6.34 (1H, dd, J = 9.02, 1.35 Hz), 7.30 (1H, m).', ); await test.step('Hide and show the publication string', async () => { - await nmrium.getToolbarLocatorByTitle('Hide publication string').click(); + await nmrium + .getPanelToolbarButton('rangesPanel', 'Hide publication string') + .click(); await expect(publicationString).toBeHidden(); - await nmrium.getToolbarLocatorByTitle('Display publication string').click(); + await nmrium + .getPanelToolbarButton('rangesPanel', 'Display publication string') + .click(); await expect(publicationString).toBeVisible(); }); await test.step('Hide the publication string when all ranges are removed', async () => { - await nmrium.getToolbarLocatorByTitle('Delete All Ranges').click(); - await page.getByRole('button', { name: 'Yes', exact: true }).click(); - await expect(page.getByTestId('range')).toHaveCount(0); + await nmrium + .getPanelToolbarButton('rangesPanel', 'Delete All Ranges') + .click(); + await nmrium.page.getByRole('button', { name: 'Yes', exact: true }).click(); + await expect(nmrium.page.getByTestId('range')).toHaveCount(0); await expect(publicationString).toBeHidden(); }); }); @@ -211,32 +222,39 @@ test('Multiplicity should be visible', async ({ page }) => { await test.step('Apply auto ranges', async () => { //select range tool - await nmrium.clickTool('rangePicking'); + await nmrium.clickNMRViewerTool('rangePicking'); //apply auto ranges detection await nmrium.page.click('text=Auto ranges picking'); }); + await test.step('Check multiplicity tree tool', async () => { - // Check that the multiplicity tree btn is off - await expect( - nmrium.getToolbarLocatorByTitle('Show multiplicity trees in spectrum', { - active: true, - }), - ).toBeHidden(); - //show multiplicity trees - await nmrium.clickToolByTitle('Show multiplicity trees in spectrum'); + // Show multiplicity trees. + await nmrium + .getPanelToolbarButton( + 'rangesPanel', + 'Show multiplicity trees in spectrum', + { + pressed: false, + }, + ) + .click(); // Check that the multiplicity tree btn is on await expect( - nmrium.getToolbarLocatorByTitle('Hide multiplicity trees in spectrum', { - active: true, - }), + nmrium.getPanelToolbarButton( + 'rangesPanel', + 'Hide multiplicity trees in spectrum', + { pressed: true }, + ), ).toBeVisible(); - // Check multiplicity tree is visible + + // Check multiplicity tree is visible. expect( await nmrium.page.getByTestId('multiplicity-tree').count(), ).toBeGreaterThan(0); }); + await test.step('Check that multiplicity tree btn save state', async () => { // Change spectra to 2D await nmrium.getSpectraTab('1H,1H').click(); @@ -245,9 +263,10 @@ test('Multiplicity should be visible', async ({ page }) => { // Check that MultiplicityTree btn still on await expect( - nmrium.getToolbarLocatorByTitle('Hide multiplicity trees in spectrum', { - active: true, - }), + nmrium.getPanelToolbarButton( + 'rangesPanel', + 'Hide multiplicity trees in spectrum', + ), ).toBeVisible(); }); }); @@ -262,26 +281,30 @@ test('Range state', async ({ page }) => { await nmrium.getSpectraTab('1H').click(); await test.step('Apply auto ranges', async () => { - //select range tool - await nmrium.clickTool('rangePicking'); - - //apply auto ranges detection - await nmrium.page.click('text=Auto ranges picking'); + // Select range tool. + await nmrium.clickNMRViewerTool('rangePicking'); + // Apply auto ranges detection. + await nmrium + .getToolOptions() + .getByRole('button', { name: 'Auto ranges picking', exact: true }) + .click(); }); + await test.step('Active range tools', async () => { - // Check that the peaks btn is off + // Check that the peaks button is off. await expect( - nmrium.getToolbarLocatorByTitle('Show peaks', { active: true }), + nmrium.getPanelToolbarButton('rangesPanel', 'Show peaks'), ).toBeHidden(); - // Check that the integrals btn is off + // Check that the integrals button is off. await expect( - nmrium.getToolbarLocatorByTitle('Show integrals', { active: true }), + nmrium.getPanelToolbarButton('rangesPanel', 'Show integrals'), ).toBeHidden(); - // Check that the multiplicity tree btn is off + // Check that the multiplicity tree button is off. await expect( - nmrium.getToolbarLocatorByTitle('Show Multiplicity Trees in Spectrum', { - active: true, - }), + nmrium.getPanelToolbarButton( + 'rangesPanel', + 'Show Multiplicity Trees in Spectrum', + ), ).toBeHidden(); // Check peaks within ranges are hidden @@ -293,22 +316,26 @@ test('Range state', async ({ page }) => { await expect(nmrium.page.getByTestId('multiplicity-tree')).toBeHidden(); //show peaks - await nmrium.page.click( - `_react=RangesPanel >> _react=ToolbarItem[tooltip="Show peaks" i] >> nth=0`, - ); + await nmrium.getPanelToolbarButton('rangesPanel', 'Show peaks').click(); //show integrals - await nmrium.clickToolByTitle('Show integrals'); + await nmrium.getPanelToolbarButton('rangesPanel', 'Show integrals').click(); //show multiplicity trees - await nmrium.clickToolByTitle('Show multiplicity trees in spectrum'); + await nmrium + .getPanelToolbarButton( + 'rangesPanel', + 'Show multiplicity trees in spectrum', + ) + .click(); // Check that the multiplicity tree btn is on await expect( - nmrium.getToolbarLocatorByTitle('Hide multiplicity trees in spectrum', { - active: true, - }), + nmrium.getPanelToolbarButton( + 'rangesPanel', + 'Hide multiplicity trees in spectrum', + ), ).toBeVisible(); // Check peaks within ranges are visible expect( @@ -329,22 +356,19 @@ test('Range state', async ({ page }) => { // Change spectra await getTableRows(nmrium.getSpectraTable()).nth(1).click(); // Check that the peaks btn is not active - - //for now i will use the id to access the toggle peals picking toolbar item because I have tried all - //available options, and the only way that works for me is using the id _react=ToobarItem[id="ranges-toggle-peaks"] >> nth=0. - //rather than the old locator selector _react=RangesHeader >> _react=ToobarItem[text="hide peaks" i] >> nth=0 await expect( - nmrium.page.locator( - '_react=ToolbarItem[id="ranges-toggle-peaks"][active=true] >> nth=0', - ), + nmrium.getPanelToolbarButton('rangesPanel', 'Hide peaks'), ).toBeVisible(); // Check that the integrals btn is not active await expect( - nmrium.getToolbarLocatorByTitle('Hide integrals'), + nmrium.getPanelToolbarButton('rangesPanel', 'Hide integrals'), ).toBeVisible(); // Check that the multiplicity tree btn is on await expect( - nmrium.getToolbarLocatorByTitle('Hide multiplicity trees in spectrum'), + nmrium.getPanelToolbarButton( + 'rangesPanel', + 'Hide multiplicity trees in spectrum', + ), ).toBeVisible(); // Check range peaks @@ -380,10 +404,12 @@ test('Auto peak picking on all spectra', async ({ page }) => { await test.step('Apply automatic picking', async () => { // Click on the automatic ranges button. - const SpectraAutomaticPickingButton = nmrium.page.locator( - '_react=SpectrumListPanel >> _react=SpectraAutomaticPickingButton', - ); - await SpectraAutomaticPickingButton.click(); + await nmrium + .getPanelToolbarButton( + 'automaticAssignmentPanel', + 'Automatic ranges/zones picking for all spectra', + ) + .click(); await nmrium.page.hover('body'); }); @@ -392,9 +418,7 @@ test('Auto peak picking on all spectra', async ({ page }) => { await nmrium.getSpectraTab('1H').click(); await expect(nmrium.page.getByTestId('range')).toHaveCount(10); await expect( - nmrium - .getPanel('Ranges / Multiplet analysis') - .getByText('[ 10 ]', { exact: true }), + nmrium.getPanel('rangesPanel').getByText('[ 10 ]', { exact: true }), ).toBeVisible(); }); @@ -403,9 +427,7 @@ test('Auto peak picking on all spectra', async ({ page }) => { await nmrium.getSpectraTab('13C').click(); await expect(nmrium.page.getByTestId('range')).toHaveCount(17); await expect( - nmrium - .getPanel('Ranges / Multiplet analysis') - .getByText('[ 17 ]', { exact: true }), + nmrium.getPanel('rangesPanel').getByText('[ 17 ]', { exact: true }), ).toBeVisible(); }); @@ -413,10 +435,10 @@ test('Auto peak picking on all spectra', async ({ page }) => { // switch to 1H,1H tab. await nmrium.getSpectraTab('1H,1H').click(); //open zones panel - await nmrium.clickPanel('Zones'); + await nmrium.clickPanel('zonesPanel'); await expect(nmrium.page.locator('.zone')).toHaveCount(41); await expect( - nmrium.getPanel('Zones').getByText('[ 41 ]', { exact: true }), + nmrium.getPanel('zonesPanel').getByText('[ 41 ]', { exact: true }), ).toBeVisible(); }); @@ -425,13 +447,13 @@ test('Auto peak picking on all spectra', async ({ page }) => { await nmrium.getSpectraTab('1H,13C').click(); await expect(nmrium.page.locator('.zone')).toHaveCount(15); await expect( - nmrium.getPanel('Zones').getByText('[ 15 ]', { exact: true }), + nmrium.getPanel('zonesPanel').getByText('[ 15 ]', { exact: true }), ).toBeVisible(); await getTableRows(nmrium.getSpectraTable()).nth(1).click(); await expect(nmrium.page.locator('.zone')).toHaveCount(44); await expect( - nmrium.getPanel('Zones').getByText('[ 44 ]', { exact: true }), + nmrium.getPanel('zonesPanel').getByText('[ 44 ]', { exact: true }), ).toBeVisible(); }); }); @@ -457,19 +479,23 @@ test('2D spectra reference change', async ({ page }) => { }); await test.step('Auto zone picking', async () => { - await nmrium.clickTool('zonePicking'); - await nmrium.page.click('text=Auto Zones Picking'); + await nmrium.clickNMRViewerTool('zonePicking'); + await nmrium + .getToolOptions() + .getByRole('button', { name: 'Auto Zones Picking', exact: true }) + .click(); }); await test.step("Check spectrum's zones", async () => { await expect(nmrium.page.locator('.zone')).toHaveCount(15); await expect( - nmrium.getPanel('Zones').getByText('[ 15 ]', { exact: true }), + nmrium.getPanel('zonesPanel').getByText('[ 15 ]', { exact: true }), ).toBeVisible(); await expect(zoneCell(nmrium, 1)).toHaveText('2.91'); await expect(zoneCell(nmrium, 2)).toHaveText('35.65'); }); + await test.step('Change reference', async () => { const x = 1000; const y = 2000; @@ -486,11 +512,12 @@ test('2D spectra reference change', async ({ page }) => { await expect(zoneCell(nmrium, 1)).toHaveText(x.toFixed(2)); await expect(zoneCell(nmrium, 2)).toHaveText(y.toFixed(2)); - await expect( - nmrium.page.locator( - `_react = Signal[signal.x.delta = ${x}][signal.y.delta = ${y}]`, - ), - ).toBeVisible(); + // await expect( + // nmrium.page.locator( + // 'a[title=dummy]', + // // `_react = Signal[signal.x.delta = ${x}][signal.y.delta = ${y}]`, + // ), + // ).toBeVisible(); const xShift = 997; const yShift = 1960; diff --git a/test-e2e/panels/settings.test.ts b/test-e2e/panels/settings.test.ts index 4dc10c312..de07f94c9 100644 --- a/test-e2e/panels/settings.test.ts +++ b/test-e2e/panels/settings.test.ts @@ -4,42 +4,46 @@ import NmriumPage from '../NmriumPage/index.js'; test('process 1d FID 13c spectrum', async ({ page }) => { const nmrium = await NmriumPage.create(page); + await test.step('Spectra panel settings', async () => { - await nmrium.page.click( - '_react=AccordionItem[title="Spectra"] >> _react=PanelHeader >> button >> nth=-1', - ); - await nmrium.page.click( - '_react=AccordionItem[title="Spectra"] >> _react=ToolbarItem[id="save-button"] >> nth=0', - ); - await nmrium.clickPanel('Spectra'); + await nmrium.openPanelSettings('spectraPanel'); + await nmrium + .getPanel('spectraPanel') + .getByRole('toolbar', { name: 'Panel preferences toolbar', exact: true }) + .getByRole('button', { name: 'Save preferences', exact: true }) + .click(); + await nmrium.clickPanel('spectraPanel'); }); + await test.step('Peaks panel settings', async () => { - await nmrium.showPanel('Peaks'); - await nmrium.page.click( - '_react=AccordionItem[title="Peaks"] >> _react=PanelHeader >> button >> nth=-1', - ); - await nmrium.page.click( - '_react=AccordionItem[title="Peaks"] >> _react=ToolbarItem[id="save-button"] >> nth=0', - ); - await nmrium.clickPanel('Peaks'); + await nmrium.showPanel('peaksPanel'); + await nmrium.openPanelSettings('peaksPanel'); + await nmrium + .getPanel('peaksPanel') + .getByRole('toolbar', { name: 'Panel preferences toolbar', exact: true }) + .getByRole('button', { name: 'Save preferences', exact: true }) + .click(); + await nmrium.clickPanel('peaksPanel'); }); + await test.step('Integrals panel settings', async () => { - await nmrium.showPanel('Integrals'); - await nmrium.page.click( - '_react=AccordionItem[title="Integrals"] >> _react=PanelHeader >> button >> nth=-1', - ); - await nmrium.page.click( - '_react=AccordionItem[title="Integrals"] >> _react=ToolbarItem[id="save-button"] >> nth=0', - ); - await nmrium.clickPanel('Integrals'); + await nmrium.showPanel('integralsPanel'); + await nmrium.openPanelSettings('integralsPanel'); + await nmrium + .getPanel('integralsPanel') + .getByRole('toolbar', { name: 'Panel preferences toolbar', exact: true }) + .getByRole('button', { name: 'Save preferences', exact: true }) + .click(); + await nmrium.clickPanel('integralsPanel'); }); + await test.step('Ranges panel settings', async () => { - await nmrium.page.click( - '_react=AccordionItem[title="Ranges / Multiplet analysis"] >> _react=PanelHeader >> button >> nth=-1', - ); - await nmrium.page.click( - '_react=AccordionItem[title="Ranges / Multiplet analysis"] >> _react=ToolbarItem[id="save-button"] >> nth=0', - ); - await nmrium.clickPanel('Ranges / Multiplet analysis'); + await nmrium.openPanelSettings('rangesPanel'); + await nmrium + .getPanel('rangesPanel') + .getByRole('toolbar', { name: 'Panel preferences toolbar', exact: true }) + .getByRole('button', { name: 'Save preferences', exact: true }) + .click(); + await nmrium.clickPanel('rangesPanel'); }); }); diff --git a/test-e2e/panels/spectra.test.ts b/test-e2e/panels/spectra.test.ts index 86b761d8b..381becd39 100644 --- a/test-e2e/panels/spectra.test.ts +++ b/test-e2e/panels/spectra.test.ts @@ -103,7 +103,7 @@ test('Navigate spectra tabs with the keyboard', async ({ page }) => { // The panel shows the content of the selected tab. await expect( - nmrium.getPanel('Spectra').getByRole('tabpanel'), + nmrium.getPanel('spectraPanel').getByRole('tabpanel'), ).toHaveAccessibleName('1H'); }); @@ -167,9 +167,11 @@ test('2d spectrum', async ({ page }) => { await nmrium.getSpectraTab('1H').click(); }); + await test.step('Check two spectrum tabs', async () => { await expect(nmrium.getSpectraTabs()).toHaveText(['1H', '1H,1H']); }); + await test.step('Change 1H spectrum color', async () => { // Check ColorIndicator initial color await expect(nmrium.page.getByTestId('color-indicator')).toHaveCSS( @@ -205,6 +207,7 @@ test('2d spectrum', async ({ page }) => { await nmrium.viewer.locator.click({ force: true }); await expect(getSpectrumSettingsDialog(nmrium)).toBeHidden(); }); + await test.step('Change H1,H1 spectrum', async () => { await nmrium.getSpectraTab('1H,1H').click(); // Check top spectrum @@ -222,6 +225,7 @@ test('2d spectrum', async ({ page }) => { await expect(nmrium.page.getByTestId('contours-negative')).toBeHidden(); await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(2); }); + await test.step('Change 1H,1H spectrum color', async () => { // Check ColorIndicator initial color await expectColorIndicator2D(nmrium, 'darkblue', 'blue'); @@ -263,6 +267,7 @@ test('2d spectrum', async ({ page }) => { await nmrium.viewer.locator.click({ force: true }); await expect(getSpectrumSettingsDialog(nmrium)).toBeHidden(); }); + await test.step('Check hide spectra', async () => { // Hide positive spectrum await nmrium.page @@ -295,15 +300,19 @@ test('2d spectrum', async ({ page }) => { await expect(nmrium.page.getByTestId('contours-negative')).toBeVisible(); await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(2); }); + await test.step('Delete 1H tab', async () => { // Go to 1H tab await nmrium.getSpectraTab('1H').click(); - await nmrium.page.click( - '_react=AccordionItem[title="Spectra"] >> _react=ToolbarItem[id="delete-button"] >> nth=0', - ); - //confirm delete the selected - await nmrium.page.click('div[role="alertdialog"] >> text=Yes'); + await nmrium + .getPanelToolbarButton('spectraPanel', 'Delete selected spectra') + .click(); + // Confirm delete the selected spectra. + await nmrium.page + .getByRole('alertdialog') + .getByRole('button', { name: 'Yes', exact: true }) + .click(); // Check tabs await expect(nmrium.getSpectraTabs()).toHaveText(['1H,1H']); @@ -320,6 +329,7 @@ test('2d spectrum', async ({ page }) => { await expect(nmrium.page.getByTestId('contours-negative')).toBeVisible(); await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(2); }); + await test.step('Add projection', async () => { // Click add missing projection btn await nmrium.clickToolByTitle('Add missing projection'); @@ -374,8 +384,10 @@ test('Export sources from 1H spectrum', async ({ page }) => { await nmrium.open1D(); }); await test.step('Open Save as window ', async () => { - await nmrium.clickTool('exportAs'); - await nmrium.page.click('_react=ToolbarPopoverItem >> text=Save as'); + await nmrium.clickNMRViewerTool('exportAs'); + await nmrium.page + .getByRole('menuitem', { name: 'Save as', exact: true }) + .click(); }); await test.step('Check include data options', async () => { const fields = getSaveAsDialog(nmrium).getByRole('radio'); @@ -394,8 +406,10 @@ test('Export sources from imported spectrum', async ({ page }) => { await nmrium.dropFile('ethylbenzene-1h.jdx'); }); await test.step('Open Save as window ', async () => { - await nmrium.clickTool('exportAs'); - await nmrium.page.click('_react=ToolbarPopoverItem >> text=Save as'); + await nmrium.clickNMRViewerTool('exportAs'); + await nmrium.page + .getByRole('menuitem', { name: 'Save as', exact: true }) + .click(); }); await test.step('Check include data options', async () => { const fields = getSaveAsDialog(nmrium).getByRole('radio'); diff --git a/test-e2e/panels/structures.test.ts b/test-e2e/panels/structures.test.ts index 88a258193..01b530e65 100644 --- a/test-e2e/panels/structures.test.ts +++ b/test-e2e/panels/structures.test.ts @@ -8,7 +8,7 @@ async function checkMoleculeStructureIsExists( nmrium: NmriumPage, index: number, ) { - const slide = nmrium.getPanel('Chemical structures').getByRole('group', { + const slide = nmrium.getPanel('structuresPanel').getByRole('group', { name: new RegExp(String.raw`^${index + 1} of \d+$`), }); const locator = slide.getByRole('img'); @@ -26,7 +26,7 @@ function getMoleculesPagerButton( name: 'Previous' | 'Next', ) { return nmrium - .getPanel('Chemical structures') + .getPanel('structuresPanel') .getByRole('button', { name, exact: true }); } @@ -41,10 +41,10 @@ function getFloatingMolecules(nmrium: NmriumPage) { test('should draw structure and display it with MF', async ({ page }) => { const nmrium = await NmriumPage.create(page); - const structuresPanel = nmrium.getPanel('Chemical structures'); + const structuresPanel = nmrium.getPanel('structuresPanel'); // Open the "Structures" panel. - await nmrium.clickPanel('Chemical structures'); + await nmrium.clickPanel('structuresPanel'); await test.step('empty panel', async () => { // The SVG container should not be rendered when there are no molecules. @@ -138,14 +138,14 @@ test('molecules 1H spectrum', async ({ page }) => { const nmrium = await NmriumPage.create(page); await nmrium.open1D(); - const structuresPanel = nmrium.getPanel('Chemical structures'); + const structuresPanel = nmrium.getPanel('structuresPanel'); const floatMoleculeButton = nmrium.getPanelToolbarButton( - 'Chemical structures', + 'structuresPanel', 'Float molecule', ); await test.step('open Chemical structures panel', async () => { - await nmrium.clickPanel('Chemical structures'); + await nmrium.clickPanel('structuresPanel'); }); await test.step('check existing molecule', async () => { @@ -270,9 +270,9 @@ test('molecules 1H spectrum', async ({ page }) => { await test.step('Check molecules in integrals', async () => { const dialog = nmrium.page.getByRole('dialog'); - await nmrium.showPanel('Integrals'); + await nmrium.showPanel('integralsPanel'); await nmrium - .getPanel('Integrals') + .getPanel('integralsPanel') .getByRole('toolbar') .getByRole('button', { name: 'Change integration sum' }) .click(); @@ -293,7 +293,7 @@ test('molecules 1H spectrum', async ({ page }) => { await test.step('Check molecules in ranges', async () => { const dialog = nmrium.page.getByRole('dialog'); await nmrium - .getPanel('Ranges / Multiplet analysis') + .getPanel('rangesPanel') .getByRole('button', { name: 'Change ranges sum' }) .click(); await expect(dialog.locator('#molSVG0')).toBeVisible(); @@ -427,7 +427,7 @@ async function getCount(locator: Locator): Promise { test('check callbacks count on changing structures', async ({ page }) => { const nmrium = await NmriumPage.create(page); - const structuresPanel = nmrium.getPanel('Chemical structures'); + const structuresPanel = nmrium.getPanel('structuresPanel'); const dataCount = nmrium.page.getByTestId('data-count'); const viewCount = nmrium.page.getByTestId('view-count'); await test.step('open test page', async () => { @@ -444,7 +444,7 @@ test('check callbacks count on changing structures', async ({ page }) => { await test.step('Check the visibly of molecule', async () => { // Open the "Structures" panel. - await nmrium.clickPanel('Chemical structures'); + await nmrium.clickPanel('structuresPanel'); // The molecule SVG rendering should now be visible in the panel. await checkMoleculeStructureIsExists(nmrium, 0); @@ -484,7 +484,7 @@ test('check callbacks count on changing structures', async ({ page }) => { // The molecular formula should now be visible in the panel. await expect( - nmrium.getPanel('Chemical structures').getByText('C6H12 - 84.16'), + nmrium.getPanel('structuresPanel').getByText('C6H12 - 84.16'), ).toBeVisible(); // The number of molecules should now be visible in the panel. @@ -496,7 +496,7 @@ test('check callbacks count on changing structures', async ({ page }) => { await test.step('Check float molecule', async () => { // Check float molecule btn is on. await expect( - nmrium.getPanelToolbarButton('Chemical structures', 'Float molecule'), + nmrium.getPanelToolbarButton('structuresPanel', 'Float molecule'), ).toContainClass(Classes.ACTIVE); // Check floated molecule. await expect(getFloatingMolecules(nmrium).first()).toBeVisible(); @@ -524,7 +524,7 @@ test('check callbacks count on changing structures', async ({ page }) => { async function clickExportMenuOption(nmrium: NmriumPage, option: string) { await nmrium - .getPanel('Chemical structures') + .getPanel('structuresPanel') .locator('#molecule-export-as') .click(); await nmrium.page.getByRole('menuitem', { name: option }).click(); diff --git a/test-e2e/tools/slicing.test.ts b/test-e2e/tools/slicing.test.ts index c708b5a7c..ae4ce28b2 100644 --- a/test-e2e/tools/slicing.test.ts +++ b/test-e2e/tools/slicing.test.ts @@ -8,7 +8,7 @@ test('Slicing too should show 1d (horizontal and vertical) traces', async ({ const nmrium = await NmriumPage.create(page); await nmrium.open2D(); - await nmrium.clickTool('slicing'); + await nmrium.clickNMRViewerTool('slicing'); await nmrium.viewer.moveMouse({ x: 200, y: 200 }); From dec43bcbf7c7a73a2229980e2d0b87ff5aa26ccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Wed, 25 Nov 2026 17:38:21 +0100 Subject: [PATCH 16/36] test: fixup --- .../MoleculesPanel/MoleculePanelHeader.tsx | 2 +- test-e2e/NmriumPage/index.ts | 4 -- test-e2e/core/basic.test.ts | 2 +- test-e2e/panels/filters.test.ts | 5 +- test-e2e/panels/peaks.test.ts | 2 +- test-e2e/panels/ranges.test.ts | 38 +++++------- test-e2e/panels/spectra.test.ts | 8 ++- test-e2e/panels/structures.test.ts | 59 +++++++++++++------ 8 files changed, 68 insertions(+), 52 deletions(-) diff --git a/src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx b/src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx index c83e67eeb..9db8b1112 100644 --- a/src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx +++ b/src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx @@ -418,7 +418,7 @@ export default function MoleculePanelHeader(props: MoleculePanelHeaderProps) { {dialog.autoLabelDatabaseDialog && ( )} - + {renderSource === 'predictionPanel' && } {renderSource === 'moleculePanel' && ( { test('check callbacks count', async ({ page }) => { const nmrium = await NmriumPage.create(page); - await nmrium.openDemo('Props debug', 'Callback - FULL cytisine'); + await nmrium.openDemo('Props debug', 'Callback - Full cytisine'); await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); const dataCount = nmrium.page.getByTestId('data-count'); diff --git a/test-e2e/panels/filters.test.ts b/test-e2e/panels/filters.test.ts index 941e9d027..02499dffa 100644 --- a/test-e2e/panels/filters.test.ts +++ b/test-e2e/panels/filters.test.ts @@ -88,6 +88,7 @@ async function addPeaks(nmrium: NmriumPage, { keyboard = false } = {}) { nmrium.getFiltersList().getByText('Baseline correction'), ).toBeVisible(); } + async function checkPeakNumber(nmrium: NmriumPage, number: number) { const peaksTable = nmrium.getPanel('peaksPanel').getByRole('table'); // The table is virtualized: scroll to the end to render the last peak. @@ -128,6 +129,7 @@ test('process 1d FID 13c spectrum', async ({ page }) => { await expect(nmrium.page.getByTestId('spectrum-line')).toBeVisible(); }); }); + test('process 13c spectrum with shortcuts', async ({ page }) => { const nmrium = await NmriumPage.create(page); await open13CFidSpectrum(nmrium); @@ -163,7 +165,7 @@ test('process 13c spectrum with shortcuts', async ({ page }) => { test('Processed spectra filters', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open 13c spectrum', async () => { - await nmrium.openDemo('Cytisine', '13C FID'); + await nmrium.openDemo('Cytisine', 'Processed 13C FID'); // wait spectrum to load await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); @@ -175,6 +177,7 @@ test('Processed spectra filters', async ({ page }) => { await expect(nmrium.getFiltersList().getByRole('listitem')).toHaveCount(6); }); }); + test('Exclusion zones', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open Coffee example', async () => { diff --git a/test-e2e/panels/peaks.test.ts b/test-e2e/panels/peaks.test.ts index 18462d403..e15cd6df1 100644 --- a/test-e2e/panels/peaks.test.ts +++ b/test-e2e/panels/peaks.test.ts @@ -107,7 +107,7 @@ test('Automatic peak picking should work', async ({ page }) => { // Apply auto peak detection. await nmrium .getToolOptions() - .getByRole('button', { name: 'Apply', exact: true }) + .getByRole('button', { name: 'Apply to 1 spectra', exact: true }) .click(); await expect(getPeakAnnotations(nmrium)).toHaveCount(154); diff --git a/test-e2e/panels/ranges.test.ts b/test-e2e/panels/ranges.test.ts index c3db20581..e442980dd 100644 --- a/test-e2e/panels/ranges.test.ts +++ b/test-e2e/panels/ranges.test.ts @@ -234,9 +234,7 @@ test('Multiplicity should be visible', async ({ page }) => { .getPanelToolbarButton( 'rangesPanel', 'Show multiplicity trees in spectrum', - { - pressed: false, - }, + { pressed: false }, ) .click(); @@ -294,35 +292,34 @@ test('Range state', async ({ page }) => { // Check that the peaks button is off. await expect( nmrium.getPanelToolbarButton('rangesPanel', 'Show peaks'), - ).toBeHidden(); + ).toHaveAttribute('aria-pressed', 'false'); // Check that the integrals button is off. await expect( nmrium.getPanelToolbarButton('rangesPanel', 'Show integrals'), - ).toBeHidden(); + ).toHaveAttribute('aria-pressed', 'false'); // Check that the multiplicity tree button is off. await expect( nmrium.getPanelToolbarButton( 'rangesPanel', - 'Show Multiplicity Trees in Spectrum', + 'Show multiplicity trees in spectrum', ), - ).toBeHidden(); + ).toHaveAttribute('aria-pressed', 'false'); // Check peaks within ranges are hidden await expect(nmrium.page.getByTestId('range-peak-annotation')).toBeHidden(); // Check integrals within ranges are hidden await expect(nmrium.page.getByTestId('range-integral')).toBeHidden(); - // Check multiplicity tree + // Check multiplicity tree. await expect(nmrium.page.getByTestId('multiplicity-tree')).toBeHidden(); - //show peaks + // Show peaks. await nmrium.getPanelToolbarButton('rangesPanel', 'Show peaks').click(); - //show integrals + // Show integrals. await nmrium.getPanelToolbarButton('rangesPanel', 'Show integrals').click(); - //show multiplicity trees - + // Show multiplicity trees await nmrium .getPanelToolbarButton( 'rangesPanel', @@ -336,7 +333,7 @@ test('Range state', async ({ page }) => { 'rangesPanel', 'Hide multiplicity trees in spectrum', ), - ).toBeVisible(); + ).toHaveAttribute('aria-pressed', 'true'); // Check peaks within ranges are visible expect( await nmrium.page.getByTestId('range-peak-annotation').count(), @@ -358,18 +355,18 @@ test('Range state', async ({ page }) => { // Check that the peaks btn is not active await expect( nmrium.getPanelToolbarButton('rangesPanel', 'Hide peaks'), - ).toBeVisible(); + ).toHaveAttribute('aria-pressed', 'true'); // Check that the integrals btn is not active await expect( nmrium.getPanelToolbarButton('rangesPanel', 'Hide integrals'), - ).toBeVisible(); + ).toHaveAttribute('aria-pressed', 'true'); // Check that the multiplicity tree btn is on await expect( nmrium.getPanelToolbarButton( 'rangesPanel', 'Hide multiplicity trees in spectrum', ), - ).toBeVisible(); + ).toHaveAttribute('aria-pressed', 'true'); // Check range peaks expect( @@ -406,7 +403,7 @@ test('Auto peak picking on all spectra', async ({ page }) => { // Click on the automatic ranges button. await nmrium .getPanelToolbarButton( - 'automaticAssignmentPanel', + 'spectraPanel', 'Automatic ranges/zones picking for all spectra', ) .click(); @@ -512,13 +509,6 @@ test('2D spectra reference change', async ({ page }) => { await expect(zoneCell(nmrium, 1)).toHaveText(x.toFixed(2)); await expect(zoneCell(nmrium, 2)).toHaveText(y.toFixed(2)); - // await expect( - // nmrium.page.locator( - // 'a[title=dummy]', - // // `_react = Signal[signal.x.delta = ${x}][signal.y.delta = ${y}]`, - // ), - // ).toBeVisible(); - const xShift = 997; const yShift = 1960; const newXAxis = xAxisDefault.map((n) => String(n + xShift)); diff --git a/test-e2e/panels/spectra.test.ts b/test-e2e/panels/spectra.test.ts index 381becd39..022d18ed4 100644 --- a/test-e2e/panels/spectra.test.ts +++ b/test-e2e/panels/spectra.test.ts @@ -332,7 +332,9 @@ test('2d spectrum', async ({ page }) => { await test.step('Add projection', async () => { // Click add missing projection btn - await nmrium.clickToolByTitle('Add missing projection'); + await nmrium + .getPanelToolbarButton('spectraPanel', 'Add missing projection') + .click(); // Check tabs await expect(nmrium.getSpectraTabs()).toHaveText(['1H', '1H,1H']); @@ -470,7 +472,9 @@ test('Multiple spectra analysis', async ({ page }) => { expect(await nmrium.getNumberOfDistinctColors()).toBe(1); }); await test.step('Check Recolour BarButton', async () => { - await nmrium.clickToolByTitle('Default spectra recoloring'); + await nmrium + .getPanelToolbarButton('spectraPanel', 'Default spectra recoloring') + .click(); expect(await nmrium.getNumberOfDistinctColors()).toBe(13); }); }); diff --git a/test-e2e/panels/structures.test.ts b/test-e2e/panels/structures.test.ts index 01b530e65..328f45350 100644 --- a/test-e2e/panels/structures.test.ts +++ b/test-e2e/panels/structures.test.ts @@ -1,4 +1,3 @@ -import { Classes } from '@blueprintjs/core'; import type { Locator } from '@playwright/test'; import { expect, test } from '@playwright/test'; @@ -53,7 +52,9 @@ test('should draw structure and display it with MF', async ({ page }) => { await test.step('Add ring molecule', async () => { // Click on the "Add Molecule" button. - await nmrium.clickToolByTitle('Add molecule'); + await nmrium + .getPanelToolbarButton('structuresPanel', 'Add molecule') + .click(); // Select the aromatic ring tool. await nmrium.moleculeEditor.clickTool('aromaticRing'); @@ -84,7 +85,9 @@ test('should draw structure and display it with MF', async ({ page }) => { await test.step('Add a second molecule and check the visibility', async () => { // Click on the "Add Molecule" button. - await nmrium.clickToolByTitle('Add molecule'); + await nmrium + .getPanelToolbarButton('structuresPanel', 'Add molecule') + .click(); // Select the hexane tool. await nmrium.moleculeEditor.clickTool('hexane'); @@ -161,7 +164,9 @@ test('molecules 1H spectrum', async ({ page }) => { await test.step('Add benzene molecule and check the visibility', async () => { // Click on the "Add Molecule" button. - await nmrium.clickToolByTitle('Add molecule'); + await nmrium + .getPanelToolbarButton('structuresPanel', 'Add molecule') + .click(); // Select the aromatic ring tool. await nmrium.moleculeEditor.clickTool('aromaticRing'); @@ -192,7 +197,9 @@ test('molecules 1H spectrum', async ({ page }) => { await test.step('Add a third molecule and check the visibility', async () => { // Click on the "Add Molecule" button. - await nmrium.clickToolByTitle('Add molecule'); + await nmrium + .getPanelToolbarButton('structuresPanel', 'Add molecule') + .click(); // Select the hexane tool. await nmrium.moleculeEditor.clickTool('hexane'); @@ -312,13 +319,15 @@ test('molecules 1H spectrum', async ({ page }) => { await test.step('Check float molecule', async () => { // Check float molecule btn is on. - await expect(floatMoleculeButton).toContainClass(Classes.ACTIVE); + await expect(floatMoleculeButton).toHaveAttribute('aria-pressed', 'true'); // Click on float molecule button to hide it. - await nmrium.clickToolByTitle('Float molecule'); + await nmrium + .getPanelToolbarButton('structuresPanel', 'Float molecule') + .click(); // Check floated molecule. await expect(getFloatingMolecules(nmrium).first()).toBeVisible(); // Check float molecule btn is off. - await expect(floatMoleculeButton).not.toContainClass(Classes.ACTIVE); + await expect(floatMoleculeButton).toHaveAttribute('aria-pressed', 'false'); }); await test.step('Close float molecule', async () => { @@ -330,13 +339,15 @@ test('molecules 1H spectrum', async ({ page }) => { await expect(getFloatingMolecules(nmrium).first()).toBeHidden(); await expect(structureLocator).toBeHidden(); // Check float molecule btn is off. - await expect(floatMoleculeButton).not.toContainClass(Classes.ACTIVE); + await expect(floatMoleculeButton).toHaveAttribute('aria-pressed', 'false'); // Click on float molecule button. - await nmrium.clickToolByTitle('Float molecule'); + await nmrium + .getPanelToolbarButton('structuresPanel', 'Float molecule') + .click(); // Check floated molecule. await expect(getFloatingMolecules(nmrium).first()).toBeVisible(); // Check float molecule btn is on. - await expect(floatMoleculeButton).toContainClass(Classes.ACTIVE); + await expect(floatMoleculeButton).toHaveAttribute('aria-pressed', 'true'); }); await test.step('Check copy as molfile V3 or V2 and paste', async () => { @@ -367,7 +378,9 @@ test('molecules 1H spectrum', async ({ page }) => { await test.step('Check delete float molecule', async () => { // Delete molecule. - await nmrium.clickToolByTitle('Delete molecule'); + await nmrium + .getPanelToolbarButton('structuresPanel', 'Delete molecule') + .click(); // Check deleted Floated molecule. await expect(getFloatingMolecules(nmrium)).toHaveCount(1); // Check selected molecule. @@ -391,7 +404,9 @@ test('molecules 1H spectrum', async ({ page }) => { await checkMoleculeStructureIsExists(nmrium, 1); // Delete molecule. - await nmrium.clickToolByTitle('Delete molecule'); + await nmrium + .getPanelToolbarButton('structuresPanel', 'Delete molecule') + .click(); // Check selected molecule. await expect( @@ -411,8 +426,12 @@ test('molecules 1H spectrum', async ({ page }) => { await expect(structuresPanel.getByText('C11H14N2O - 190.25')).toBeVisible(); // Delete both remaining molecules. - await nmrium.clickToolByTitle('Delete molecule'); - await nmrium.clickToolByTitle('Delete molecule'); + await nmrium + .getPanelToolbarButton('structuresPanel', 'Delete molecule') + .click(); + await nmrium + .getPanelToolbarButton('structuresPanel', 'Delete molecule') + .click(); // The SVG container should not be rendered when there are no molecules. await expect(nmrium.page.locator('.mol-svg-container ')).toBeHidden(); @@ -459,7 +478,9 @@ test('check callbacks count on changing structures', async ({ page }) => { await test.step('Add a second molecule and check the visibility', async () => { // Click on the "Add Molecule" button. - await nmrium.clickToolByTitle('Add molecule'); + await nmrium + .getPanelToolbarButton('structuresPanel', 'Add molecule') + .click(); // Select the hexane tool. await nmrium.moleculeEditor.clickTool('hexane'); @@ -496,8 +517,10 @@ test('check callbacks count on changing structures', async ({ page }) => { await test.step('Check float molecule', async () => { // Check float molecule btn is on. await expect( - nmrium.getPanelToolbarButton('structuresPanel', 'Float molecule'), - ).toContainClass(Classes.ACTIVE); + nmrium.getPanelToolbarButton('structuresPanel', 'Float molecule', { + pressed: true, + }), + ).toBeVisible(); // Check floated molecule. await expect(getFloatingMolecules(nmrium).first()).toBeVisible(); From 80ed77fc8cbbfa21b8a0d65c5a6d6b2d7f1b882c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Wed, 25 Nov 2026 18:05:07 +0100 Subject: [PATCH 17/36] test: update CI runner --- .github/workflows/e2e.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index c61f13325..a1b4d92b3 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -8,10 +8,7 @@ on: jobs: e2e: - # Playwright 1.57 does not support Ubuntu 26.04. - # Migrate _react selectors to role/test-id locators before upgrading Playwright - # and returning to ubuntu-latest. - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest strategy: matrix: project: [chromium, firefox, webkit] @@ -26,8 +23,6 @@ jobs: - name: Install Playwright run: npx playwright install --with-deps ${{ matrix.project }} - name: Build test application - env: - NODE_OPTIONS: --max-old-space-size=3072 run: node --run build-no-minify - name: Run E2E tests on ${{ matrix.project }} run: npx playwright test --project ${{ matrix.project }} From 1a14b652f4e341af4953ed205e7126801f41f5f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Mon, 30 Nov 2026 08:40:07 +0100 Subject: [PATCH 18/36] deps --- .nvmrc | 2 +- package-lock.json | 2161 ++++++++++++++++++++++++++------------------- package.json | 52 +- 3 files changed, 1297 insertions(+), 918 deletions(-) diff --git a/.nvmrc b/.nvmrc index df6ae3370..229b3ce85 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -24.21.0 +24.22.3 diff --git a/package-lock.json b/package-lock.json index 77bd7d919..13c2ac87b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,19 +11,19 @@ "dependencies": { "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.1", - "@hookform/resolvers": "^7.0.7", - "@tanstack/react-form": "^1.33.5", - "@tanstack/react-store": "^0.11.2", + "@hookform/resolvers": "^7.0.10", + "@tanstack/react-form": "^1.33.6", + "@tanstack/react-store": "^0.11.4", "@tanstack/react-table": "^9.3.1", "@zakodium/nmr-types": "^0.5.37", "@zakodium/nmrium-core": "^0.7.87", "@zakodium/nmrium-core-plugins": "^0.7.127", "@zakodium/pdnd-esm": "^1.2.0", "@zakodium/utils": "^0.7.0", - "@zip.js/zip.js": "^2.25.0", + "@zip.js/zip.js": "^2.25.1", "cheminfo-font": "^1.29.0", "cheminfo-types": "^1.16.0", - "colord": "^2.14.0", + "colord": "^2.14.1", "d3-array": "^3.2.5", "d3-scale": "^4.0.3", "d3-zoom": "^3.0.1", @@ -31,12 +31,12 @@ "eventemitter3": "^5.0.4", "expand-chemical-groups": "^1.0.0", "fifo-logger": "^2.0.1", - "file-collection": "^6.7.0", + "file-collection": "^6.7.1", "file-saver": "^2.0.5", "get-jpaths": "^1.4.1", - "immer": "^11.2.10", + "immer": "^11.2.14", "lodash": "^4.18.1", - "mf-parser": "^3.9.3", + "mf-parser": "^3.9.4", "ml-array-mean": "^2.0.0", "ml-array-median": "^2.0.0", "ml-conrec": "^6.0.0", @@ -51,7 +51,7 @@ "openchemlib-utils": "^8.20.1", "papaparse": "^5.7.1", "react-d3-utils": "^3.1.2", - "react-dropzone": "^20.2.0", + "react-dropzone": "^20.2.1", "react-error-boundary": "^6.1.6", "react-hook-form": "^7.92.0", "react-icons": "^5.7.0", @@ -69,9 +69,9 @@ "zod": "^4.6.7" }, "devDependencies": { - "@blueprintjs/core": "^6.23.0", - "@blueprintjs/icons": "^6.16.0", - "@blueprintjs/select": "^6.4.2", + "@blueprintjs/core": "^6.23.3", + "@blueprintjs/icons": "^6.17.0", + "@blueprintjs/select": "^6.4.5", "@playwright/test": "^1.65.1", "@simbathesailor/use-what-changed": "^2.0.0", "@types/d3-array": "^3.2.2", @@ -79,36 +79,36 @@ "@types/d3-zoom": "^3.0.9", "@types/dlv": "^1.1.5", "@types/file-saver": "^2.0.7", - "@types/lodash": "^4.17.27", - "@types/node": "^26.6.6", + "@types/lodash": "^4.17.28", + "@types/node": "^26.6.11", "@types/numeral": "^2.0.5", "@types/papaparse": "^5.5.2", - "@types/react": "^19.3.0", + "@types/react": "^19.3.3", "@types/react-dom": "^19.3.0", "@vitejs/plugin-react": "^6.3.0", - "@vitest/coverage-v8": "^5.1.1", + "@vitest/coverage-v8": "^5.1.2", "@zakodium/tsconfig": "^1.0.5", "cross-env": "^10.1.0", - "cspell": "^10.5.2", - "eslint": "^10.15.0", + "cspell": "^10.6.0", + "eslint": "^10.16.0", "eslint-config-cheminfo-react": "^21.0.3", "eslint-config-cheminfo-typescript": "^23.0.0", - "knip": "^6.45.1", + "knip": "^6.49.0", "modern-normalize": "^3.0.1", - "postcss": "^8.5.33", + "postcss": "^8.5.34", "postcss-styled-syntax": "^0.7.4", "prettier": "^3.10.1", "rc-menu": "^9.16.1", "react": "^19.3.1", "react-dom": "^19.3.1", - "react-router-dom": "^7.18.5", + "react-router-dom": "^7.18.7", "rimraf": "^6.1.4", "serve": "^14.2.8", - "stylelint": "^18.0.0", - "stylelint-config-standard": "^41.0.0", + "stylelint": "^18.1.0", + "stylelint-config-standard": "^41.1.0", "typescript": "~6.0.3", - "vite": "^8.3.8", - "vitest": "^5.1.1" + "vite": "^8.4.0", + "vitest": "^5.1.2" }, "peerDependencies": { "@blueprintjs/core": "^6.0.0", @@ -174,21 +174,21 @@ } }, "node_modules/@babel/core": { - "version": "7.29.13", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.13.tgz", - "integrity": "sha512-j1nvOQCZYSgp7HLmisnCXFTpVvFODiijQ9QHkORfGKWH6YDtskTEeCJS7eV545GZ9UBzrq0e2xsOd5QQ5PjIqw==", + "version": "7.29.16", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.16.tgz", + "integrity": "sha512-qK40pOeReBJY7B0JX6CCIfauMLAa0IlvuVYJ+aZBYLVJwmNUTvsQcEu0En9hVMmNjeSUSQYwvpi1JgXn5imIQw==", "dev": true, "license": "MIT", "dependencies": { "@babel/code-frame": "^7.29.7", - "@babel/generator": "^7.29.13", + "@babel/generator": "^7.29.16", "@babel/helper-compilation-targets": "^7.29.13", - "@babel/helper-module-transforms": "^7.29.13", - "@babel/helpers": "^7.29.13", - "@babel/parser": "^7.29.13", + "@babel/helper-module-transforms": "^7.29.16", + "@babel/helpers": "^7.29.16", + "@babel/parser": "^7.29.15", "@babel/template": "^7.29.7", - "@babel/traverse": "^7.29.13", - "@babel/types": "^7.29.11", + "@babel/traverse": "^7.29.16", + "@babel/types": "^7.29.15", "@jridgewell/remapping": "^2.3.5", "convert-source-map": "^2.0.0", "debug": "^4.1.0", @@ -222,13 +222,13 @@ } }, "node_modules/@babel/generator": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.14.tgz", - "integrity": "sha512-qSY56jgW5JnSXzuekLVil6zaOQxOCtOHidr65KkaMBw772IuAY28Qx4ZykAcDn8+FRF15qk80XzKwgSc/RYW6g==", + "version": "7.29.16", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.16.tgz", + "integrity": "sha512-yRtddtrcYdLJt0l70aP7usb2YpMHNXAdAvJW2hXdka5boR4vKMS/F5BTR5sULkbht9xPk/EKzbY2mCczMutZqQ==", "license": "MIT", "dependencies": { - "@babel/parser": "^7.29.14", - "@babel/types": "^7.29.14", + "@babel/parser": "^7.29.15", + "@babel/types": "^7.29.15", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" @@ -287,15 +287,15 @@ } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.14.tgz", - "integrity": "sha512-2XDvQVd9JESaOgGc4jT2/jquTAO7ppA5noTZQqH+MmZ89yjCzScLwtCPbWtkPZylL+TLWR49IwWmk+QkRR4GsA==", + "version": "7.29.16", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.16.tgz", + "integrity": "sha512-jzdW9nRNJXbNAfcbtfZA75vcQK8c/PRniwNL1KIQukiptryb5JlCl+nwi3idOSj611tMgiZxb9PuKg1FI0BvVQ==", "dev": true, "license": "MIT", "dependencies": { "@babel/helper-module-imports": "^7.29.7", "@babel/helper-validator-identifier": "^7.29.7", - "@babel/traverse": "^7.29.14" + "@babel/traverse": "^7.29.16" }, "engines": { "node": ">=6.9.0" @@ -305,9 +305,9 @@ } }, "node_modules/@babel/helper-string-parser": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.14.tgz", - "integrity": "sha512-CXvKMFvM80ihI7Vox9jb+kQjnyjESQNPM+vB7U0Zz6TWuZA+Z/FL0QPMH300h33qJtIx+REeBhXqWOPW48TcAQ==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.15.tgz", + "integrity": "sha512-C2FuapQ2Kh1OnVHAoLi5rD3GBJ8COb9Q609T6HEpLqaBAo560PDP5OxBE5dCI/h951MBO/+bCUYU5SZ+8ZlV+w==", "license": "MIT", "engines": { "node": ">=6.9.0" @@ -333,26 +333,26 @@ } }, "node_modules/@babel/helpers": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.14.tgz", - "integrity": "sha512-6E3Mi1r0B0umq6vmZa4/78q+64fqO2YY0THUdjDPKUCKhNb0yQy5NQIaPHCSD3ryTgiTss//P4JsWS80AsZ6LQ==", + "version": "7.29.16", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.16.tgz", + "integrity": "sha512-JGNbyEyvOAvceLDQoO6b/w/HbW6KX3sdWgrPCFcAyHfhfsqRoRN14vfaG3GZ90g2dVK7UEe65giopuldeimBjg==", "dev": true, "license": "MIT", "dependencies": { "@babel/template": "^7.29.7", - "@babel/types": "^7.29.14" + "@babel/types": "^7.29.15" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/parser": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.14.tgz", - "integrity": "sha512-VL220vXuyO2z3rNIQwY7ftj9UwpqOt+33sH+sBWkOekbsSR2g7EEMnOx24ZlCH0xOA3DM/33SifVFGbnJD8r/w==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.15.tgz", + "integrity": "sha512-RpKWyisHoP81twtSCgmE02iU0RnPcq1DN5bBEbpUePrjA9Q3wXhufnCJrrayPpoZieqFh3zyZQqwtSK0gGccRA==", "license": "MIT", "dependencies": { - "@babel/types": "^7.29.14" + "@babel/types": "^7.29.15" }, "bin": { "parser": "bin/babel-parser.js" @@ -362,9 +362,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.14.tgz", - "integrity": "sha512-Y5tqevQaUAZhhj82BpYMNC1ssvLQTVAfwKdm8iy8qwmhvC2/CpcAu8OC+QEtjM7pMk7knx83u1Qj8gzkicyelw==", + "version": "7.29.16", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.16.tgz", + "integrity": "sha512-LKBjGopxrQE0aFucNL69OyyyF143MOWUULEOftU3oCgyD35Sy84UUpVnt/sNvTb7ZmCyALSt7om+fojlW35zYQ==", "license": "MIT", "engines": { "node": ">=6.9.0" @@ -385,17 +385,17 @@ } }, "node_modules/@babel/traverse": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.14.tgz", - "integrity": "sha512-RAdQJrBgmIH1FWvN0X+1hoDxzMzlP4cv/1Zi4dn4tG1H0cTb+rw7CzUxQJhp1f4ANd8j5vH3fy8BAWFGkBDEsA==", + "version": "7.29.16", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.16.tgz", + "integrity": "sha512-a16ah9dTLOLUq5BL7NElJ7keefg/276vgfTfExDf1PizddYboqRnQXDTooVPb0VArIqrKe8KLlghnTxlZFEZtQ==", "license": "MIT", "dependencies": { "@babel/code-frame": "^7.29.7", - "@babel/generator": "^7.29.14", + "@babel/generator": "^7.29.16", "@babel/helper-globals": "^7.29.7", - "@babel/parser": "^7.29.14", + "@babel/parser": "^7.29.15", "@babel/template": "^7.29.7", - "@babel/types": "^7.29.14", + "@babel/types": "^7.29.15", "debug": "^4.3.1" }, "engines": { @@ -403,12 +403,12 @@ } }, "node_modules/@babel/types": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.14.tgz", - "integrity": "sha512-UjI/dKmwJwT9pOszJitq2G6EObZPnsZUfdCr92z2TlF3EZK9J3EdfOKUrCzHl6wFthbzwhzl1Soc/UIwxRiq6w==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.15.tgz", + "integrity": "sha512-/XKpKDakL//LZ66bq1XsZOswuqeI5MZqPLDu18o3XdkU1fNJ7bdPtzgnc4ZNS+bBGHV0FJG8jjb8SwcC3nNVQQ==", "license": "MIT", "dependencies": { - "@babel/helper-string-parser": "^7.29.14", + "@babel/helper-string-parser": "^7.29.15", "@babel/helper-validator-identifier": "^7.29.7" }, "engines": { @@ -435,13 +435,13 @@ } }, "node_modules/@blueprintjs/core": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/@blueprintjs/core/-/core-6.23.0.tgz", - "integrity": "sha512-tcG7UzSVAMyvQVJegZiRDK3N/2Km/ACJv/wVG6/qJjSjn7+waiJB8B6W4HuZ0w7Xj2G76mImlo2Vcxdtkl+mOg==", + "version": "6.23.3", + "resolved": "https://registry.npmjs.org/@blueprintjs/core/-/core-6.23.3.tgz", + "integrity": "sha512-A6sxpbH4ya+zxmvjP1YbULMeg+LyJuEE7EvkNK/FjJb6hd2ePRGBQjrnno5e/s6rtKp/MAI+JqCYvW0W6NEupw==", "license": "Apache-2.0", "dependencies": { "@blueprintjs/colors": "^5.1.16", - "@blueprintjs/icons": "^6.16.0", + "@blueprintjs/icons": "^6.17.0", "@floating-ui/react": "^0.27.13", "@popperjs/core": "^2.11.8", "classnames": "^2.3.1", @@ -481,9 +481,9 @@ } }, "node_modules/@blueprintjs/icons": { - "version": "6.16.0", - "resolved": "https://registry.npmjs.org/@blueprintjs/icons/-/icons-6.16.0.tgz", - "integrity": "sha512-hwQ5nVGsaUNiR91A2Q2aOcOkBg9RWP4y4YqFlc6j41BQ3oj7wBTydzgug2BHi5EKgyIyrdJcl0qrnBpL+6mjHg==", + "version": "6.17.0", + "resolved": "https://registry.npmjs.org/@blueprintjs/icons/-/icons-6.17.0.tgz", + "integrity": "sha512-ShU4mGOuH1OObvQpcshwh+vUnoMncg6oVrKufUQGTfva3rvUbXGJgopG6cAXDWr9jWx4VoQ+8uQLxFLnnw2yqA==", "license": "Apache-2.0", "dependencies": { "change-case": "^4.1.2", @@ -502,14 +502,14 @@ } }, "node_modules/@blueprintjs/select": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/@blueprintjs/select/-/select-6.4.2.tgz", - "integrity": "sha512-P7KLrVazx5vdHoUbKdfpdlcHjyMnDFF9EEyWvfnegxIrldSxbXGiFDTK7gyifBKWEeZxfdlo7RR8gp1iKis1/A==", + "version": "6.4.5", + "resolved": "https://registry.npmjs.org/@blueprintjs/select/-/select-6.4.5.tgz", + "integrity": "sha512-NXt2ELqWyxhKNbsJIT3gjV8qIkAh4V2g57tbdbZ7tSMVO1PdHX4Z5LgkKH+Onrlcbuq4VedlpaI/zp/Voxbrzw==", "license": "Apache-2.0", "dependencies": { "@blueprintjs/colors": "^5.1.16", - "@blueprintjs/core": "^6.23.0", - "@blueprintjs/icons": "^6.16.0", + "@blueprintjs/core": "^6.23.3", + "@blueprintjs/icons": "^6.17.0", "classnames": "^2.3.1", "tslib": "~2.6.2" }, @@ -549,10 +549,28 @@ } }, "node_modules/@cspell/cspell-bundled-dicts": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/@cspell/cspell-bundled-dicts/-/cspell-bundled-dicts-10.5.2.tgz", - "integrity": "sha512-1EVGMy+/Ayjpu2r4i4x3K44kWoVbrdramIR+cX75fo5bDMgb1MXf7vIEfFKETY1h4eczd40SxM46twxrCxTwRw==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-bundled-dicts/-/cspell-bundled-dicts-10.6.0.tgz", + "integrity": "sha512-UTXEbjBjrT42xaLOzDEsy5yC2lPg/76vKXr1c2jKAlFPZm4ypHb/vLtAe7o7FRA12Uf9E/CruCFi24+Nl5BF0A==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], "license": "MIT", "dependencies": { "@cspell/dict-ada": "^4.1.1", @@ -560,7 +578,7 @@ "@cspell/dict-aws": "^4.0.17", "@cspell/dict-bash": "^4.2.3", "@cspell/dict-companies": "^3.2.14", - "@cspell/dict-cpp": "^7.2.0", + "@cspell/dict-cpp": "^7.2.1", "@cspell/dict-cryptocurrencies": "^5.0.5", "@cspell/dict-csharp": "^4.0.8", "@cspell/dict-css": "^4.1.2", @@ -571,7 +589,7 @@ "@cspell/dict-dotnet": "^5.0.15", "@cspell/dict-elixir": "^4.0.8", "@cspell/dict-en_us": "^4.4.43", - "@cspell/dict-en-common-misspellings": "^2.2.6", + "@cspell/dict-en-common-misspellings": "^2.2.7", "@cspell/dict-en-gb-mit": "^3.1.32", "@cspell/dict-filetypes": "^3.0.18", "@cspell/dict-flutter": "^1.1.1", @@ -580,7 +598,7 @@ "@cspell/dict-fullstack": "^3.2.9", "@cspell/dict-gaming-terms": "^1.1.3", "@cspell/dict-git": "^3.1.1", - "@cspell/dict-golang": "^6.0.29", + "@cspell/dict-golang": "^6.0.30", "@cspell/dict-google": "^1.0.9", "@cspell/dict-haskell": "^4.0.6", "@cspell/dict-html": "^4.0.16", @@ -596,17 +614,17 @@ "@cspell/dict-markdown": "^2.0.18", "@cspell/dict-monkeyc": "^1.1.2", "@cspell/dict-node": "^5.0.9", - "@cspell/dict-npm": "^5.2.56", + "@cspell/dict-npm": "^5.2.58", "@cspell/dict-php": "^4.1.3", "@cspell/dict-powershell": "^5.0.17", "@cspell/dict-public-licenses": "^2.0.17", - "@cspell/dict-python": "^4.5.3", + "@cspell/dict-python": "^4.5.4", "@cspell/dict-r": "^2.1.1", "@cspell/dict-ruby": "^5.1.4", "@cspell/dict-rust": "^4.1.2", "@cspell/dict-scala": "^5.0.11", "@cspell/dict-shell": "^1.2.0", - "@cspell/dict-software-terms": "^5.4.9", + "@cspell/dict-software-terms": "^5.4.11", "@cspell/dict-sql": "^2.2.1", "@cspell/dict-svelte": "^1.0.7", "@cspell/dict-swift": "^2.0.6", @@ -620,43 +638,115 @@ } }, "node_modules/@cspell/cspell-json-reporter": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/@cspell/cspell-json-reporter/-/cspell-json-reporter-10.5.2.tgz", - "integrity": "sha512-ecpINoJ0qa1qP/PywhvcKQ2mA0fwhljSPvUn7+lw87dp4Ixa1qi7+re4SDGSqRr29FlJcKZRPfcRdK9iJPzbFA==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-json-reporter/-/cspell-json-reporter-10.6.0.tgz", + "integrity": "sha512-C+AeJVvKw9eHjgSCIpNeZqFwhfWjAFsh/Pii7aUE0D5D5Z3Wsp3PVVpE+FuVqXifolovvUD9/WAdnF9pXpTVhw==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], "license": "MIT", "dependencies": { - "@cspell/cspell-types": "10.5.2" + "@cspell/cspell-types": "10.6.0" }, "engines": { "node": ">=22.18.0" } }, "node_modules/@cspell/cspell-performance-monitor": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/@cspell/cspell-performance-monitor/-/cspell-performance-monitor-10.5.2.tgz", - "integrity": "sha512-wQVHhjMd5BCum9oeBmncdu2h3i9FcWLbrKAInQafgAb0ASOLRJiaGMeH3HkjOIWgHXmoJYlrfw/MjWj3iLJp9g==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-performance-monitor/-/cspell-performance-monitor-10.6.0.tgz", + "integrity": "sha512-szw9iMx/C1/T7bLFjFL9NsEat/B6aeVe6xHte61S5sgAU2KWLr4TjaFLYsM3S0zLZCekbWGEoNPcpVU+hiPtRA==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], "license": "MIT", "engines": { "node": ">=22.18.0" } }, "node_modules/@cspell/cspell-pipe": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/@cspell/cspell-pipe/-/cspell-pipe-10.5.2.tgz", - "integrity": "sha512-iwPHCMtFsIskUFijqTmaypLCRkazjjJViolJRreZycWMz+ts6JaY3iE8jtWbLZ8nTMp5nyIca6H4AdYoxuftjA==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-pipe/-/cspell-pipe-10.6.0.tgz", + "integrity": "sha512-CmmL+y383uFUf1B+uy5Tn5x7tJz0+jHeMaR4FfggYNhtxRnxF8QQ66OCtfQvzQTszOVPhaxutMwJqJ3QBg8R8w==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], "license": "MIT", "engines": { "node": ">=22.18.0" } }, "node_modules/@cspell/cspell-resolver": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/@cspell/cspell-resolver/-/cspell-resolver-10.5.2.tgz", - "integrity": "sha512-Ia/4+nNqQFECHZo+sSrnO+Ogzom+0FrCUErWEfV660HT8DWX90sR97v6sQsDy9Rc2nI+7lt7Q9vWEk7uhHuV3g==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-resolver/-/cspell-resolver-10.6.0.tgz", + "integrity": "sha512-bxepi38Ru0crpEGD7vikKgaffe6fAweV6JhQ2wmwYjWCPQr+otgbs4O/1uCkGiR/M1Zf9xjNT2u0KanQKnYlJw==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], "license": "MIT", "dependencies": { "global-directory": "^5.0.0" @@ -666,33 +756,87 @@ } }, "node_modules/@cspell/cspell-service-bus": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/@cspell/cspell-service-bus/-/cspell-service-bus-10.5.2.tgz", - "integrity": "sha512-SRJU7/dk0wGDaEp4v5VRG7WAxk8nueTIVqzC2uR2YjFSqYvOyGrvE0u2TDyD8j1H4dfam4WLcmCD7yCjl2hSuQ==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-service-bus/-/cspell-service-bus-10.6.0.tgz", + "integrity": "sha512-zGC8JoHP4Y5j62BfnAAjxdOt+noC1qLa+bV07mCG36C+fLTCqW3fAXtwlcB0cnPW09FUGmESemIEYtMzOZqkjw==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], "license": "MIT", "engines": { "node": ">=22.18.0" } }, "node_modules/@cspell/cspell-types": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/@cspell/cspell-types/-/cspell-types-10.5.2.tgz", - "integrity": "sha512-vSxzSbGny4eCCWImCEzU2OhxUrNMOkl05KCDVBwkDKEb9JHIzGOeUddoRtgPA6O7e74VOIbzFwedGkJfoiLLxQ==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-types/-/cspell-types-10.6.0.tgz", + "integrity": "sha512-QVEVG+PIN9I+vT7XlNGxYGMXcqUahxE6w3gFMI0OPxzh5uOa9OGHKO9B60P55H86YZwg4BeloaU+JSnNd/npew==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], "license": "MIT", "engines": { "node": ">=22.18.0" } }, "node_modules/@cspell/cspell-worker": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/@cspell/cspell-worker/-/cspell-worker-10.5.2.tgz", - "integrity": "sha512-xO8MyZ4We5eGe5pfDJBrMUd7fU0j4HRUbtemnBE1Sc5ax2Ze/ucz5RZtOYRsRiY2gmZjDIWfc065HuMQx2r45g==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-worker/-/cspell-worker-10.6.0.tgz", + "integrity": "sha512-fDonUd4Vmoqdadht4qwivJu5lAjanJH8oATjiCJVDvjxD7wUAhP5/y+PmBH+IqHOUyRrjFZWx2IabIAMlh2OoA==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], "license": "MIT", "dependencies": { - "cspell-lib": "10.5.2" + "cspell-lib": "10.6.0" }, "engines": { "node": ">=22.18.0" @@ -737,9 +881,9 @@ "license": "MIT" }, "node_modules/@cspell/dict-cpp": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/@cspell/dict-cpp/-/dict-cpp-7.2.0.tgz", - "integrity": "sha512-hxz+OyQKV96/Bk2JYGsDuSOheYA5gd8KybXnoZMMu/mhZPnwhPi+qiS0Kjc0gLNbXjJ6wbBuXIQWi1UWpQBU/g==", + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/@cspell/dict-cpp/-/dict-cpp-7.2.1.tgz", + "integrity": "sha512-3H/WCyYuI59AaCbHcgL3gSQV4oI4yaNZM4EjXJeeoAMKw1tg0+TdXWG+Vpk8vdOJYlbQv59vXA8n2r0oEfdfmA==", "dev": true, "license": "MIT" }, @@ -814,11 +958,11 @@ "license": "MIT" }, "node_modules/@cspell/dict-en-common-misspellings": { - "version": "2.2.6", - "resolved": "https://registry.npmjs.org/@cspell/dict-en-common-misspellings/-/dict-en-common-misspellings-2.2.6.tgz", - "integrity": "sha512-RMOmCPOJuBfcC8IVLKjs9aqssjLKmhwVI8Yw/xgEnO9trWAiUzESassDATE229xqi1sdtRIIMGHyuxlkL75Xjg==", + "version": "2.2.7", + "resolved": "https://registry.npmjs.org/@cspell/dict-en-common-misspellings/-/dict-en-common-misspellings-2.2.7.tgz", + "integrity": "sha512-hZhLJ8QEXNkKXz0GyUXCD0DCp0V7+DtnGNfide0SUWdSNZK8bAWugBc/d2SJYx6jEXnJu6TxGT9KUAdEeYrbQQ==", "dev": true, - "license": "CC BY-SA 4.0" + "license": "CC-BY-SA-4.0" }, "node_modules/@cspell/dict-en-gb-mit": { "version": "3.1.32", @@ -877,9 +1021,9 @@ "license": "MIT" }, "node_modules/@cspell/dict-golang": { - "version": "6.0.29", - "resolved": "https://registry.npmjs.org/@cspell/dict-golang/-/dict-golang-6.0.29.tgz", - "integrity": "sha512-EZCgfxrr5lPnYQLmSvB6YtpfoDFt2KKxAD4ppq2xGSIgDFXAF7Mv4doiXIFUQaynCBIEfAMl3f/uDfrIUo4fyQ==", + "version": "6.0.30", + "resolved": "https://registry.npmjs.org/@cspell/dict-golang/-/dict-golang-6.0.30.tgz", + "integrity": "sha512-GSRjlql6o/exczHcPF7y7Xo5J4uH9q4Ct5MGnzEqAufQrctk48CC9S/4N94f/Hq+fr25RhiFfqMrsv+sxLZ7pA==", "dev": true, "license": "MIT" }, @@ -995,9 +1139,9 @@ "license": "MIT" }, "node_modules/@cspell/dict-npm": { - "version": "5.2.56", - "resolved": "https://registry.npmjs.org/@cspell/dict-npm/-/dict-npm-5.2.56.tgz", - "integrity": "sha512-VqN/f97X64gYR7zVXLu2PN6t5Sm6EljZEFp4htmbOL9tGqs0XVErl9B9kwfaLlKJqfLU6vYcupjRBjqTQ6rQ4Q==", + "version": "5.2.59", + "resolved": "https://registry.npmjs.org/@cspell/dict-npm/-/dict-npm-5.2.59.tgz", + "integrity": "sha512-TLh621VXkMAz8Ol24Eo/D+TaPD1R03kQhoAOBhbqaqFDmKRTf0akkSw9Jok07tc1ANUsiIXCdXJoREDwwfbbSQ==", "dev": true, "license": "MIT" }, @@ -1023,9 +1167,9 @@ "license": "MIT" }, "node_modules/@cspell/dict-python": { - "version": "4.5.3", - "resolved": "https://registry.npmjs.org/@cspell/dict-python/-/dict-python-4.5.3.tgz", - "integrity": "sha512-I226HEEJW4fleE0HMxRaecnzcJICFK6TOqIjqVkOJZzaVZTTjE7fojM+f5XECAwhf4BImW7HVOKMu4rMtza6ZA==", + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/@cspell/dict-python/-/dict-python-4.5.4.tgz", + "integrity": "sha512-OmmvMWHABbftDMgtNMX9Ub4K1/5GpWVVumoJ5hlwZe0HkfUXRT/kV8qxthLdNG9G3Z6rfJ/74Ud2et3GIaqD7A==", "dev": true, "license": "MIT", "dependencies": { @@ -1068,9 +1212,9 @@ "license": "MIT" }, "node_modules/@cspell/dict-software-terms": { - "version": "5.4.9", - "resolved": "https://registry.npmjs.org/@cspell/dict-software-terms/-/dict-software-terms-5.4.9.tgz", - "integrity": "sha512-bB5L+OGW0F8Vt83j0XFcMEWCbCNqquLgjlQjm/iCp1jcYi/pQbqDLkXIPbINgbeG0vRqiu5yCPDFCsv4Qb6miQ==", + "version": "5.4.11", + "resolved": "https://registry.npmjs.org/@cspell/dict-software-terms/-/dict-software-terms-5.4.11.tgz", + "integrity": "sha512-gWQypOjzpMqyhnExsLRjhjaD2xkgUNNacOxdUGM+o/jhHv0NWO3axv+dWZKSQOEfffOHbj+O+wVlLyCxHhu9mQ==", "dev": true, "license": "MIT" }, @@ -1124,13 +1268,31 @@ "license": "MIT" }, "node_modules/@cspell/dynamic-import": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/@cspell/dynamic-import/-/dynamic-import-10.5.2.tgz", - "integrity": "sha512-sXOxhv+NoLW9k9YPvsNULjugSkIt2/EPnBnuKLDFrdyG5F0MNcgIM3Y6j/u3OGbRNOD+2OIF+Exh/Lh4E4YVEA==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/@cspell/dynamic-import/-/dynamic-import-10.6.0.tgz", + "integrity": "sha512-Q9xQ/BhLQGuXJEC0SwAZRPYsYClZ14JBv9Jrhoch6yBF9kQVzZrFUHXizSDxnF0ah0FeAqLExLSr09hr24ZDsA==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], "license": "MIT", "dependencies": { - "@cspell/url": "10.5.2", + "@cspell/url": "10.6.0", "import-meta-resolve": "^4.2.0" }, "engines": { @@ -1138,40 +1300,87 @@ } }, "node_modules/@cspell/filetypes": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/@cspell/filetypes/-/filetypes-10.5.2.tgz", - "integrity": "sha512-AVkl2lf0jobYxXWqxRDAmR73hmAeyEIV8DfdW7xeheC5vZ9SrbzgWhtk3AMtPLCuDGkCEoNvi4ahcDsu3IwQ4A==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/@cspell/filetypes/-/filetypes-10.6.0.tgz", + "integrity": "sha512-y/NGuZGJ9k0zBliawKrGmJn42FLRi1U/r2WI4mjU1FeD2Kl5JDK7gxgovr1uQjXpFONazHaTps9f4w0ISQDuZw==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], "license": "MIT", + "dependencies": { + "@streetsidesoftware/auto-resolve-map": "^1.0.0" + }, "engines": { "node": ">=22.18.0" } }, "node_modules/@cspell/rpc": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/@cspell/rpc/-/rpc-10.5.2.tgz", - "integrity": "sha512-4EBIBqUlaRE8NuwA8MmUR2HsqjlX3anRFiy7Sr+gNwso/njPnqKr6EeTxFapGZOR+ShrwN3dL8En7ROJtyD/kg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=22.18.0" - } - }, - "node_modules/@cspell/strong-weak-map": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/@cspell/strong-weak-map/-/strong-weak-map-10.5.2.tgz", - "integrity": "sha512-8+uJw+DZnN84/Cd1urbb5ETp+2LDX71Xa+gjyrgZne74VRy02oXIC1etk+GwQMpjOe+iE6TQC/hfw/DIlsQ9sg==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/@cspell/rpc/-/rpc-10.6.0.tgz", + "integrity": "sha512-oKIAX3gRtoLJDSaUhSSC2lq4PAyW8X76Xd3WTEp+vsbRoK6ETYrapg3pzpkA5JF1QCsZHiD1ga4w1JucvbzACA==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], "license": "MIT", "engines": { "node": ">=22.18.0" } }, "node_modules/@cspell/url": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/@cspell/url/-/url-10.5.2.tgz", - "integrity": "sha512-Uu02E4n52vivBApl8kLh16+9F6VMNIZheU3G44yg7yZoXyh1R7qtwvyTWtvBfuV091ENSh85EirI4ws4kmJudg==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/@cspell/url/-/url-10.6.0.tgz", + "integrity": "sha512-s2aqttFVOR6aVU/P05lsq7zHNyXMYjR3Lz1//sxgCwyKYosZ57zkDhwlTfTSrNAWVkhxhrGDCUE5HGQz6IIgHA==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], "license": "MIT", "engines": { "node": ">=22.18.0" @@ -1592,15 +1801,15 @@ } }, "node_modules/@es-joy/jsdoccomment": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-1.2.0.tgz", - "integrity": "sha512-EcF8gDd175MRIYEt7ktoe9AUijBba3SSSvnGJ96HQaK1BxjVK8l1QdksVEAY34Lp0byn51FnTszlVMYmD5TI/w==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-1.2.3.tgz", + "integrity": "sha512-n9wKdGNyQlzDIzudVtVdz2cb4c/jJPSC9BsE/lq4HGSVLHUsQf+HuODhFFqF6oe1YLZpuvlQSHwgu6NKYCGw7A==", "dev": true, "license": "MIT", "dependencies": { - "@types/estree": "^1.0.10", - "@typescript-eslint/types": "^8.72.2", - "comment-parser": "1.4.9", + "@types/estree": "^1.0.11", + "@typescript-eslint/types": "^8.74.0", + "comment-parser": "1.4.11", "esquery": "^1.7.0", "jsdoc-type-pratt-parser": "~9.5.0" }, @@ -1651,9 +1860,9 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.12.3", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.3.tgz", - "integrity": "sha512-R76UKbvsqI68DJJVTVyqFKqU98CN4+B+acxNfEA2IFarSzP0SjtKf/3+fFiXzTyv5Fj3PxLkGHe2wnVWWMxobQ==", + "version": "4.12.4", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.4.tgz", + "integrity": "sha512-1qH3WeISXHFS8P3QI0lntHlMrlfTh1OarxlRbPNDEkSCqoyXC3apBE7MDyRKOL8HpuW48aQtff30wvEFww/4ww==", "dev": true, "license": "MIT", "engines": { @@ -1661,15 +1870,15 @@ } }, "node_modules/@eslint-react/ast": { - "version": "5.30.4", - "resolved": "https://registry.npmjs.org/@eslint-react/ast/-/ast-5.30.4.tgz", - "integrity": "sha512-QRd/uu5vsv41z9HwnooXpg1iDrD6cZgntptCqbiwBVSGCwMKIxuHekmJUU3tlpuGDRc69H0sw1vbYJpO7LECNQ==", + "version": "5.30.7", + "resolved": "https://registry.npmjs.org/@eslint-react/ast/-/ast-5.30.7.tgz", + "integrity": "sha512-RD/NBYey+m+dvfQXYpyyGvbrU6KlFDCUDwb4+oV2RFI/NXnGms+MtGnX3AFDG8fAglDscZUQDdXFxOISPjCi+Q==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "^8.72.2", - "@typescript-eslint/utils": "^8.72.2", - "@typescript-eslint/visitor-keys": "^8.72.2" + "@typescript-eslint/types": "^8.74.0", + "@typescript-eslint/utils": "^8.74.0", + "@typescript-eslint/visitor-keys": "^8.74.0" }, "engines": { "node": ">=20.19.0" @@ -1685,19 +1894,19 @@ } }, "node_modules/@eslint-react/core": { - "version": "5.30.4", - "resolved": "https://registry.npmjs.org/@eslint-react/core/-/core-5.30.4.tgz", - "integrity": "sha512-WUxuP8PvjkWQYlCC4f7+HCdOs17dK3IqgctoI6aZ4TBUkY6jkFeBwd3mRdIn5Vqr3OBXhuDQKaablIK2HFK+6g==", + "version": "5.30.7", + "resolved": "https://registry.npmjs.org/@eslint-react/core/-/core-5.30.7.tgz", + "integrity": "sha512-zf1QI5H7D0f/QQNsfbj2h8o+azemQCWj9hWEng9ut6odUQBdR6pHWEGiYxhAZNodZLnOujS71k53meoYmY3GqA==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/ast": "5.30.4", - "@eslint-react/eslint": "5.30.4", - "@eslint-react/jsx": "5.30.4", - "@eslint-react/shared": "5.30.4", - "@eslint-react/var": "5.30.4", - "@typescript-eslint/types": "^8.72.2", - "@typescript-eslint/utils": "^8.72.2", + "@eslint-react/ast": "5.30.7", + "@eslint-react/eslint": "5.30.7", + "@eslint-react/jsx": "5.30.7", + "@eslint-react/shared": "5.30.7", + "@eslint-react/var": "5.30.7", + "@typescript-eslint/types": "^8.74.0", + "@typescript-eslint/utils": "^8.74.0", "ts-pattern": "^5.9.2" }, "engines": { @@ -1714,14 +1923,14 @@ } }, "node_modules/@eslint-react/eslint": { - "version": "5.30.4", - "resolved": "https://registry.npmjs.org/@eslint-react/eslint/-/eslint-5.30.4.tgz", - "integrity": "sha512-eT50M3DYXE40gRmOObwXPS+3kpmANVdNmxFwwTn1ImMa3RCCKDDaHUMa7gbGA26LuuiWRIgS2MU3/+2njXXtAA==", + "version": "5.30.7", + "resolved": "https://registry.npmjs.org/@eslint-react/eslint/-/eslint-5.30.7.tgz", + "integrity": "sha512-PiRf4pkUkt97lJ4gKbQa294s0wek7hNifNBM5/3mOfrQCiUQDHicrPMt2epJ/vh+T5nCoqRhdW28EfbHwSbpdg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "^8.72.2", - "@typescript-eslint/utils": "^8.72.2" + "@typescript-eslint/types": "^8.74.0", + "@typescript-eslint/utils": "^8.74.0" }, "engines": { "node": ">=20.19.0" @@ -1737,24 +1946,24 @@ } }, "node_modules/@eslint-react/eslint-plugin": { - "version": "5.30.4", - "resolved": "https://registry.npmjs.org/@eslint-react/eslint-plugin/-/eslint-plugin-5.30.4.tgz", - "integrity": "sha512-LTANh2CHLOJIvsvkGtwnQCisLNsVDhiYU9HpYnz4s3Lt++ulxPE36g0YJtt8u0yWwYPVHo0TC9R87ihv2uRDbw==", + "version": "5.30.7", + "resolved": "https://registry.npmjs.org/@eslint-react/eslint-plugin/-/eslint-plugin-5.30.7.tgz", + "integrity": "sha512-B96/FAYdcO7RZkyShEtzUJ3EhIEi3NHc36MCVXSiongpRKgyhBjvWBJWi5D5e8ptLTeg12LnJkz3wYiIbOspGw==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/ast": "5.30.4", - "@eslint-react/eslint": "5.30.4", - "@eslint-react/shared": "5.30.4", - "@typescript-eslint/scope-manager": "^8.72.2", - "@typescript-eslint/types": "^8.72.2", - "@typescript-eslint/utils": "^8.72.2", - "eslint-plugin-react-dom": "5.30.4", - "eslint-plugin-react-jsx": "5.30.4", - "eslint-plugin-react-naming-convention": "5.30.4", - "eslint-plugin-react-rsc": "5.30.4", - "eslint-plugin-react-web-api": "5.30.4", - "eslint-plugin-react-x": "5.30.4" + "@eslint-react/ast": "5.30.7", + "@eslint-react/eslint": "5.30.7", + "@eslint-react/shared": "5.30.7", + "@typescript-eslint/scope-manager": "^8.74.0", + "@typescript-eslint/types": "^8.74.0", + "@typescript-eslint/utils": "^8.74.0", + "eslint-plugin-react-dom": "5.30.7", + "eslint-plugin-react-jsx": "5.30.7", + "eslint-plugin-react-naming-convention": "5.30.7", + "eslint-plugin-react-rsc": "5.30.7", + "eslint-plugin-react-web-api": "5.30.7", + "eslint-plugin-react-x": "5.30.7" }, "engines": { "node": ">=20.19.0" @@ -1770,16 +1979,16 @@ } }, "node_modules/@eslint-react/jsx": { - "version": "5.30.4", - "resolved": "https://registry.npmjs.org/@eslint-react/jsx/-/jsx-5.30.4.tgz", - "integrity": "sha512-lc2+P6ROqudfJPMOoz2xsRKqcfEwCz9LqWyEbR9GAn5Ql+ssZn2PNYT3WRiHdcKVoLfS4hRKlr9jiBjy5/eg3g==", + "version": "5.30.7", + "resolved": "https://registry.npmjs.org/@eslint-react/jsx/-/jsx-5.30.7.tgz", + "integrity": "sha512-5jOegfycF7/R2Hr7h/si6UvpLEjp7xnzhYsvVgg4+50y1W68gxiI3OXtHdxYsmBkS1DNuGr0tCg2bxNVOw2f2A==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/ast": "5.30.4", - "@eslint-react/eslint": "5.30.4", - "@typescript-eslint/types": "^8.72.2", - "@typescript-eslint/utils": "^8.72.2" + "@eslint-react/ast": "5.30.7", + "@eslint-react/eslint": "5.30.7", + "@typescript-eslint/types": "^8.74.0", + "@typescript-eslint/utils": "^8.74.0" }, "engines": { "node": ">=20.19.0" @@ -1795,14 +2004,14 @@ } }, "node_modules/@eslint-react/shared": { - "version": "5.30.4", - "resolved": "https://registry.npmjs.org/@eslint-react/shared/-/shared-5.30.4.tgz", - "integrity": "sha512-Ih3zspS64QDmk8F4dBJBTadHfPNWhCDlA1VqJh0i+ON8P51v1wljgexqz6Jz2AMc+NtDIpOCsKx5sd+XZCs4OQ==", + "version": "5.30.7", + "resolved": "https://registry.npmjs.org/@eslint-react/shared/-/shared-5.30.7.tgz", + "integrity": "sha512-L9iaxvXIkik26+W0aI43jT235Jrqp6MHqTRZMfToW8DYsrSlzYGlfFaDAbrIW4AV2HjL00IlGy9KE1hCNykY9g==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/eslint": "5.30.4", - "@typescript-eslint/utils": "^8.72.2", + "@eslint-react/eslint": "5.30.7", + "@typescript-eslint/utils": "^8.74.0", "ts-pattern": "^5.9.2", "zod": "^4.6.7" }, @@ -1820,17 +2029,17 @@ } }, "node_modules/@eslint-react/var": { - "version": "5.30.4", - "resolved": "https://registry.npmjs.org/@eslint-react/var/-/var-5.30.4.tgz", - "integrity": "sha512-BTmQGmKvc37OWJahxqAhNtAWIhIXrJyYNgBXOCXWVV/fMUaG6H+9P/YbTvEn0gLHsE8fkg3InF9cycoSC5U9TA==", + "version": "5.30.7", + "resolved": "https://registry.npmjs.org/@eslint-react/var/-/var-5.30.7.tgz", + "integrity": "sha512-9YfSzUIXGc0mv90Wm6y4ShsZOfDcafxyV7N0mtG2UztSEZNzy1IB58MzxbJEMLzk94bMJf3hIzxcoZsQBmJxvA==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/ast": "5.30.4", - "@eslint-react/eslint": "5.30.4", - "@typescript-eslint/scope-manager": "^8.72.2", - "@typescript-eslint/types": "^8.72.2", - "@typescript-eslint/utils": "^8.72.2", + "@eslint-react/ast": "5.30.7", + "@eslint-react/eslint": "5.30.7", + "@typescript-eslint/scope-manager": "^8.74.0", + "@typescript-eslint/types": "^8.74.0", + "@typescript-eslint/utils": "^8.74.0", "ts-pattern": "^5.9.2" }, "engines": { @@ -1847,9 +2056,9 @@ } }, "node_modules/@eslint/config-array": { - "version": "0.23.6", - "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.6.tgz", - "integrity": "sha512-WrTH7nioI9QPY4NZGnsywmecswJdgeq4BCM76qok9VgjTO29ZgUzUvcuJLVPYVQM4uDbaPBU0M33R9DIxI8X3w==", + "version": "0.23.7", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.7.tgz", + "integrity": "sha512-Ix1tmZjA7/OmE7ROAfORe83hVnqlDzLpZVHFjHQt5mvLm1U03qMexpaxKqFIL362QV32SoPaZqmKQr3tdqFY2w==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -1888,13 +2097,13 @@ } }, "node_modules/@eslint/css-tree": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/@eslint/css-tree/-/css-tree-4.1.3.tgz", - "integrity": "sha512-3WQJPt+KXGZ6H6ielW9EnKSJyIL0s2H2a6ILgdtj7w1vj0HOy7quWJ2ZAscVIVNT/Z49PqvqQ7qrWiDBpRUBeQ==", + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/@eslint/css-tree/-/css-tree-4.1.4.tgz", + "integrity": "sha512-JZPkyGyD9+4/RxtZoKMcR2E8yVL1vb/ZUKEthURj1Y22YbonGcnrrEI+XTV1Xv2N9Hwj59QAuHHddbydNX8qoQ==", "dev": true, "license": "MIT", "dependencies": { - "mdn-data": "2.37.2", + "mdn-data": "2.38.1", "source-map-js": "^1.2.1" }, "engines": { @@ -1979,9 +2188,9 @@ "license": "MIT" }, "node_modules/@hookform/resolvers": { - "version": "7.0.7", - "resolved": "https://registry.npmjs.org/@hookform/resolvers/-/resolvers-7.0.7.tgz", - "integrity": "sha512-sxiEGu5dhg6gMEsGznEQ/++634YiRLmxclw+/B1+yNN9uuhKIfNCRTE4xwqkRcKNqBPwtmDXg5oDhLw3i/wklw==", + "version": "7.0.10", + "resolved": "https://registry.npmjs.org/@hookform/resolvers/-/resolvers-7.0.10.tgz", + "integrity": "sha512-3SXIeYbLXTCSdYak7+YOxt7iu74fEkGH2IiDv+eJsFESghUzl07ntvGRV9AdFh+BGDPXfUaJYp7gnIVlYY9uag==", "license": "MIT", "dependencies": { "@standard-schema/utils": "^0.3.0" @@ -1992,13 +2201,13 @@ "ajv": "^8.12.0", "ajv-errors": "^3.0.0", "ajv-formats": "^2.1.1 || ^3.0.0", - "arktype": "^2.0.0", + "arktype": "^2.0.0 || ^3.0.0", "ata-validator": "^1.23.0", "class-transformer": ">=0.4.0", "class-validator": ">=0.12.0", "computed-types": "^1.0.0", "effect": "^4.0.0", - "fluentvalidation-ts": "^3.0.0", + "fluentvalidation-ts": "^3.0.0 || ^4.0.0 || ^5.0.0", "fp-ts": "^2.7.0", "io-ts": "^2.0.0", "joi": "^17.0.0 || ^18.0.0", @@ -2250,9 +2459,9 @@ } }, "node_modules/@oxc-parser/binding-android-arm-eabi": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm-eabi/-/binding-android-arm-eabi-0.156.0.tgz", - "integrity": "sha512-RMq7DKNzEp1T51QKNLTn0NryNEt2IYfh7mZBlIdi2Ju52ltOEDMeIXv0XBpA6dL7j7ChjlcovtGcc1Jv4qMipg==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm-eabi/-/binding-android-arm-eabi-0.160.0.tgz", + "integrity": "sha512-IGhHufQ5uRhivrpzCcUJ92Mj4kYyFVhghaWk9hgZP/b+7WxdzdhFqBbH+PwEcfssDdIW10YHXcFvWib3kMX4Zg==", "cpu": [ "arm" ], @@ -2267,9 +2476,9 @@ } }, "node_modules/@oxc-parser/binding-android-arm64": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm64/-/binding-android-arm64-0.156.0.tgz", - "integrity": "sha512-mwkWKhOBpmh8fWc3m4MiLsmEAtx0YuHmvyo9ff557cnb3QZ2kt2eauSz75wCGIpiZG3gUsJ4WwzEjm4R4/BHig==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm64/-/binding-android-arm64-0.160.0.tgz", + "integrity": "sha512-VxqVDFdTJG/QrJJ5pc/JIocKExtxCGcKf9qBsjIMS2VymVnHNdDu58d35pkgxIMFhxJ92YD79+66SBv86GXfCw==", "cpu": [ "arm64" ], @@ -2284,9 +2493,9 @@ } }, "node_modules/@oxc-parser/binding-darwin-arm64": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-arm64/-/binding-darwin-arm64-0.156.0.tgz", - "integrity": "sha512-6pGR5fUszM9M4eBBapqpGjCRJolFwuCldx8bRQjqXyM09cQysBTWVF2Ttg4UNJVxYSaw5RRINbveCOOCrsuGvA==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-arm64/-/binding-darwin-arm64-0.160.0.tgz", + "integrity": "sha512-W5ULJkX2YAZAi6h2gkWCZCq1Ws5ZTIejBXjQP3tdf/UOeJaNQes4Vo5659/szYrFoBTef+WWcOU4HaY3TT4OYQ==", "cpu": [ "arm64" ], @@ -2301,9 +2510,9 @@ } }, "node_modules/@oxc-parser/binding-darwin-x64": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-x64/-/binding-darwin-x64-0.156.0.tgz", - "integrity": "sha512-M9QghL7uCAqMKjYJv1rDGblfEvkeQu3QzTPd7Uwo16gG3uO7m9ikVQ9OL8FZTnKzU4vbCEby6kTlEkqN+JeEMA==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-x64/-/binding-darwin-x64-0.160.0.tgz", + "integrity": "sha512-NNV6qakT/DX8SLqpe/gJ2ab2yDVJ+y6DKdJrbyTAdkpMjTP1KljiUxtAwoKVlHVPqfGMFPpSHIU9yL3FAWG/3w==", "cpu": [ "x64" ], @@ -2318,9 +2527,9 @@ } }, "node_modules/@oxc-parser/binding-freebsd-x64": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-freebsd-x64/-/binding-freebsd-x64-0.156.0.tgz", - "integrity": "sha512-lX0ANxSwAOrpOT7NHB+YsrBqDJ8sOVon5m7GS9eQtkuUeNzQMMGpFsJLsStawTbrdwOF5KDVxgPWcKmt/DIZUQ==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-freebsd-x64/-/binding-freebsd-x64-0.160.0.tgz", + "integrity": "sha512-P1Ay7bTnFJarHefoBOOrzZ8ynRluk0w92p/+PwkAYgg38Fh5Z2eQN2slzYqODyNQRDd2YrdecLV038V6KmqfXw==", "cpu": [ "x64" ], @@ -2335,9 +2544,9 @@ } }, "node_modules/@oxc-parser/binding-linux-arm-gnueabihf": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-0.156.0.tgz", - "integrity": "sha512-iPgYpasRcqk7X3TGncQg7B+6RotDvG8weug0UrgF+FXLf4KmaNDyT91BKONlqbHcNgK9Nryp7AEZGuQn32fP6g==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-0.160.0.tgz", + "integrity": "sha512-jw16rzFMeyaGRTVoHTiKAe5qHa6T5v54GX0TGoAvbEskN+hQcK0pZQ+pi5n3yGZ7b1+vTF2eBuqQP98mgcd6XA==", "cpu": [ "arm" ], @@ -2352,9 +2561,9 @@ } }, "node_modules/@oxc-parser/binding-linux-arm-musleabihf": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-0.156.0.tgz", - "integrity": "sha512-sJqJDEZevtkEfoxrXfaRTkSt6Itckr549cIfBbs11UgXv8bFyqQsXTQa6iKm8mTiWYmCDDFJf7TLnqxcbqzPOw==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-0.160.0.tgz", + "integrity": "sha512-B55bnJn8XMC8NDBbEsL6Za2ZuFx6RIG49GMSlHYfpIc2pWQ6sbJRwarP+iKXnPgpJ1N7wfOAotMp58NUYjzQaQ==", "cpu": [ "arm" ], @@ -2369,9 +2578,9 @@ } }, "node_modules/@oxc-parser/binding-linux-arm64-gnu": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-0.156.0.tgz", - "integrity": "sha512-mrQs5OdRiqKskRuWEORPKT6YGIFhrpVvCvL9hqVaIh60EzgR4qjPvSsV6hWZcOfyWHBTbdEvfnDJPh/eQlxPRQ==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-0.160.0.tgz", + "integrity": "sha512-YKVHxONDpWXTPfilLv2MKvaI7VbYnKHARr5wJ3KKKGk0OkauDc0tVFyZlKFwIy9+br46fh8AjTVCnz6+9gKxVA==", "cpu": [ "arm64" ], @@ -2389,9 +2598,9 @@ } }, "node_modules/@oxc-parser/binding-linux-arm64-musl": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-musl/-/binding-linux-arm64-musl-0.156.0.tgz", - "integrity": "sha512-ZtPqgCU3+wpU7dvX7YbaEiw71r0UdguzuPhcx4PIEZSs4XFqc6F5wXCtNdb6M7m3DMErlxrwosryoXrzYOY/Gg==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-musl/-/binding-linux-arm64-musl-0.160.0.tgz", + "integrity": "sha512-uiVA0AemCVB3+oZ3JmjQCSEqiGIgl+o3+bLqORIfviJbyYlVUChoRh6cVbyyDG6zm4fW0RtQIdKq3fVYuNTA3Q==", "cpu": [ "arm64" ], @@ -2409,9 +2618,9 @@ } }, "node_modules/@oxc-parser/binding-linux-ppc64-gnu": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-0.156.0.tgz", - "integrity": "sha512-ZuGRT/adReZZJn3PYNneb1HQIOH0iIZ2fzFgC1/XJYpMQ5KsRKmWIEzy3wEFsUwIOTomCmnmTZ/zbFYo9z9VeA==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-0.160.0.tgz", + "integrity": "sha512-h/tr4lWGdRXs4rUktl84Z0CprQhdDlxN4D82/cCcoKr0Kb4TEIJriXZVqHPznp12/uBWcV+BiihUBPbeyZm1KQ==", "cpu": [ "ppc64" ], @@ -2429,9 +2638,9 @@ } }, "node_modules/@oxc-parser/binding-linux-riscv64-gnu": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-0.156.0.tgz", - "integrity": "sha512-T+iWCeAOoEAJpHqr6/pogHIv98g9p8Ctccysm/h962hG4ayX5OL2c0Ih4oYe+JuFndLXy/OASvwMlTPe76sIiw==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-0.160.0.tgz", + "integrity": "sha512-bA/Ba24KZYxorIUBHF2NbXM0OVY24xowGu4L0YBzpXhivt+ks1z8BT/c+BYGSfdFFqWrfNkC5TJjQGWdRkUHWQ==", "cpu": [ "riscv64" ], @@ -2449,9 +2658,9 @@ } }, "node_modules/@oxc-parser/binding-linux-riscv64-musl": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-0.156.0.tgz", - "integrity": "sha512-wL55bI2kVKfwdxScbw60zVgzAqbQbmE5zpSPWPZoZ9RSG8egm6ITE/UWE5mDWlglxz1QElJCcUbpaJCtHD11BQ==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-0.160.0.tgz", + "integrity": "sha512-1uI9RghjO7/JQzkL9M/EDnG0Egy5z4v3k5TCUbPESZVUawHEmC52MMnCLe7f2CjMtiLjsm879CnO2HkRtsECNA==", "cpu": [ "riscv64" ], @@ -2469,9 +2678,9 @@ } }, "node_modules/@oxc-parser/binding-linux-s390x-gnu": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-0.156.0.tgz", - "integrity": "sha512-+D+JilhLqwrDLODYEl4qtovVwgxKALb23FkAWBiPvgmUWYgjCV83KKuwwxZJM8GCdKlNA1vt3iKtow8HUFjXtg==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-0.160.0.tgz", + "integrity": "sha512-1gaVKLXjT+UML8w8ypK93KUJurvUUmegqgQ/7qijDNpGCuogmTOIu0KgsYqL2hH//amY3AtfQhTTMlw9l363wA==", "cpu": [ "s390x" ], @@ -2489,9 +2698,9 @@ } }, "node_modules/@oxc-parser/binding-linux-x64-gnu": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.156.0.tgz", - "integrity": "sha512-jRfwpN4xKrsEpC+SgrUPY5k0mINYZn7aLrt22I3uQFoumiSgHgsLYgS9f84ntbkvSydH4HiwGuDa2b1XCHaJzw==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.160.0.tgz", + "integrity": "sha512-v44/JCrzpIof2jAJwF9W1j9l7mZKEaKihd8vBECBaNyIPcOiO4dtkeGX51MxnGmrJbsltdvTJb60VXLyMyAD2w==", "cpu": [ "x64" ], @@ -2509,9 +2718,9 @@ } }, "node_modules/@oxc-parser/binding-linux-x64-musl": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-musl/-/binding-linux-x64-musl-0.156.0.tgz", - "integrity": "sha512-P/ajnypgLmxmuRRyCIZcp2o4lOwmCaXYH5+eqDTcCW+MCTI+csKSw/Zc6GB67jZoVa4ey3q1jXEt7S60adBEMQ==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-musl/-/binding-linux-x64-musl-0.160.0.tgz", + "integrity": "sha512-NOT9x+x27Aitn+z6PggidaeHiKOpbglRXwzcHg+3VqbMT7nv/C3fnXKeVESy4o0u3Yb3mEocwPrtzlT5O53JSA==", "cpu": [ "x64" ], @@ -2529,9 +2738,9 @@ } }, "node_modules/@oxc-parser/binding-openharmony-arm64": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-openharmony-arm64/-/binding-openharmony-arm64-0.156.0.tgz", - "integrity": "sha512-WSN6rQZZc9KqgZ4lMfjVDvqKhVOCjey/YEZIPisGXmwBqwgWOzru207dyiH50LHcf1n9LO2oceGk/id6RL9v0g==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-openharmony-arm64/-/binding-openharmony-arm64-0.160.0.tgz", + "integrity": "sha512-kXFdUqEkbB1E66dfqu7sk65w0CaDVp+uPeJ4eOacxBuVgKk/poy+b8/XpFfV443UNB8LUUvzgTzyWLxDQte2Dw==", "cpu": [ "arm64" ], @@ -2546,9 +2755,9 @@ } }, "node_modules/@oxc-parser/binding-win32-arm64-msvc": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-0.156.0.tgz", - "integrity": "sha512-l21Tz6tjraGBC3JefVeJZ9pojD0fCiB62PydAv+i9nrqJX7z/pDmyDNYLamDr/PRcQ4UQbFwkSnz7NKBB9UMLw==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-0.160.0.tgz", + "integrity": "sha512-tzYHz6BOwmKCY2c8txeV06CkMzwEVQhFwug8OR75q2UVRMfksf9yD5UBjAeauPEiFhzNogg1RRyk8UZ0bjMXvg==", "cpu": [ "arm64" ], @@ -2563,9 +2772,9 @@ } }, "node_modules/@oxc-parser/binding-win32-ia32-msvc": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-0.156.0.tgz", - "integrity": "sha512-CUq0ZFl/RODqPiIgfNNSamkpTj5x8AjBTkR/y1DNVIQiTGnmWqjHcn3o08ZW3q/LgkI4g9G9g6UirmmQFvuOZw==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-0.160.0.tgz", + "integrity": "sha512-vyYZ4gcWUPuPANDj66eBnZ7+CFzUU0pzX28a5armxejWxM7onM3awHkM4PB/al8eEZ3MH8l0AprX/1jXrfGh7Q==", "cpu": [ "ia32" ], @@ -2580,9 +2789,9 @@ } }, "node_modules/@oxc-parser/binding-win32-x64-msvc": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-x64-msvc/-/binding-win32-x64-msvc-0.156.0.tgz", - "integrity": "sha512-dcpx5Y1x2v/cs7U/q3SZMvmxfyXjVvqC86jMuw2ZZUbHDd7W2cW7uSMQfg3GLVaE68Su3H9xd/Pc4v6QNyeSRg==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-x64-msvc/-/binding-win32-x64-msvc-0.160.0.tgz", + "integrity": "sha512-KvENUAjmLfLBJBTF9yQ2wb5/DH41+FPM45oM7NMTgW0R3kN49NUj314SaDqqqkba+4cNTBt8NA2Ux5dekZB68w==", "cpu": [ "x64" ], @@ -2597,9 +2806,9 @@ } }, "node_modules/@oxc-project/types": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.156.0.tgz", - "integrity": "sha512-1Duyg48TdJNdyhEB8Xn1L36bT9Pv6GUtlKjHxOys8xkaF/rQq3XJE+bAurSK/AgIz5mGFsb77cn9Pb20+WCScw==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.160.0.tgz", + "integrity": "sha512-gw4k9syEmnckbOgw2A2FU1TBDdX9hfwV9jEn/uio65pguPzwWiXQS3OIJDMEhv9m06tj9XiEe6RoD0YA+LgreA==", "dev": true, "license": "MIT", "funding": { @@ -3028,9 +3237,9 @@ } }, "node_modules/@rolldown/binding-android-arm-eabi": { - "version": "1.2.19", - "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.19.tgz", - "integrity": "sha512-e+Ebe0WT+9tbXmNKPIiC8YrWAHYwug3m6i4p3rZGGulfZri1jtI4HslT+OZnFf/OIHowWF71DTlHwXBP2SiA7A==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.3.4.tgz", + "integrity": "sha512-xCW8CkL/ualx/SbYqeG9iK87lJCZGDQ0soE+kaORJ0Bd+pHALyE4qK7BStmEAyYWLEzZ3/biSIpA6/7GDFvzIg==", "cpu": [ "arm" ], @@ -3045,9 +3254,9 @@ } }, "node_modules/@rolldown/binding-android-arm64": { - "version": "1.2.19", - "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.19.tgz", - "integrity": "sha512-hOombrTJ+szt2ciEzS7oCA78lMPBgF5UMQWCJIyNfnrI7GLl8HYoFqCnpL2gcPOaXMqryGCU5ExdQKyDDcC+yA==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.3.4.tgz", + "integrity": "sha512-5lifIO+b/prcM9sx/bkPN4w6UEToEfQ3gjhx0+0neuL+dkYskI792CfAq03T51jc8JFcaYXs2hi3l8RjiH/VWQ==", "cpu": [ "arm64" ], @@ -3062,9 +3271,9 @@ } }, "node_modules/@rolldown/binding-darwin-arm64": { - "version": "1.2.19", - "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.19.tgz", - "integrity": "sha512-XoMA2pwCKGTQzUjPgtRwkedH4WmXhdIPKT6l6oOxd1PUbNodGI6DcBekgN7EC//+x3pfBYX/qL1gNmZAqivw5g==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.3.4.tgz", + "integrity": "sha512-RCgxTI4AJQxhVF//BI3ImQOsXTHrF4Eg+f99jBy8WoETA2kSEGFxpnrVmW0leQq/2aBR4R5AC6csmy3rc66e3Q==", "cpu": [ "arm64" ], @@ -3079,9 +3288,9 @@ } }, "node_modules/@rolldown/binding-darwin-x64": { - "version": "1.2.19", - "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.19.tgz", - "integrity": "sha512-zo8EsSSwMZCY/e+fRnGaX02YGgvJD0yvhNi/9hpGPA2MJ9ZF8dPCw75UGfpI6OpQ/myR/dIYmogRvqiZD0TrXg==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.3.4.tgz", + "integrity": "sha512-zNPJVVPUaDEj+L0lImoK3rFv2b+Z5gNijI6DWu/fcD3/1TfmRXKb9ZyxbSN+2AhlctqjbNzUvCsMa+EBhnEM4Q==", "cpu": [ "x64" ], @@ -3096,9 +3305,9 @@ } }, "node_modules/@rolldown/binding-freebsd-x64": { - "version": "1.2.19", - "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.19.tgz", - "integrity": "sha512-O8ISAOfI1nj7AuBPd30FSF47z7f7lzlk5poQVGgiikvQuGEBFYvW8ki+UEnT+YJPnNGjQzn304klt4O9FUE7mA==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.3.4.tgz", + "integrity": "sha512-upP6g7ZIRy5by1RDQ/EphHIdJ5xK0eUD7sUgfZFWJ49s4XdbYsIvIlAPtrFpayR70Hhf9J22lb4Pm8/9FhrZmg==", "cpu": [ "x64" ], @@ -3113,9 +3322,9 @@ } }, "node_modules/@rolldown/binding-linux-arm-gnueabihf": { - "version": "1.2.19", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.19.tgz", - "integrity": "sha512-/lYCba5NO0yq4S0jGMH8QTBtkvQxoXjoQWzF5BcWp9MjB9jxVRD1GQDNofkVjcOj30DWyhLIN/4Oe60JKzaONw==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.3.4.tgz", + "integrity": "sha512-SAX5C5+poMLCxu8dkPF6h5yst40rkzs+9Y3cbPn2OFSydmHjAEprrGi64zGgnYyPIVZfdGUFqJ2fJbfbnHI+mA==", "cpu": [ "arm" ], @@ -3130,9 +3339,9 @@ } }, "node_modules/@rolldown/binding-linux-arm64-gnu": { - "version": "1.2.19", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.19.tgz", - "integrity": "sha512-pm/apFMBnSbFb3O6nG5pHO1iqHhZrjGDFEjSm+ot9J17XXPvH9L90y5h+jgfHCE+Qdlsvy8qKEcU4VKxgjD+vA==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.3.4.tgz", + "integrity": "sha512-nwHqdlRZS6GWBef3dG5/pMY6RNTBBUjj7s0Da+m6xsFpe7jx6IC46SLZcCu8f46JOfCovZmwnrz51EzGE+7Fyw==", "cpu": [ "arm64" ], @@ -3150,9 +3359,9 @@ } }, "node_modules/@rolldown/binding-linux-arm64-musl": { - "version": "1.2.19", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.19.tgz", - "integrity": "sha512-K1SmQp3FFichn8oqrNIwvFoZ5wcvjC7goBzpaMNvLf9FZc+QB/QvLmnpJZgAAGHiD980tP8FZZnXk2K94rvlxg==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.3.4.tgz", + "integrity": "sha512-Gr78X2ur/AgLCkmZgHffk/FerIX8S5zb/eII4bCcvJo0ANzeXhTShahdNbpnY6bpiszIAgIfiuKS9ziziWsamw==", "cpu": [ "arm64" ], @@ -3170,9 +3379,9 @@ } }, "node_modules/@rolldown/binding-linux-ppc64-gnu": { - "version": "1.2.19", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.19.tgz", - "integrity": "sha512-I0xwD57jP/3A7+5UPZin2w8Y7XHEmEM5zqpYZOcQ45MlNW6tUJUziymV3yRr7rL4vwyfEcRsRksC4a7Kc08p5Q==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.3.4.tgz", + "integrity": "sha512-o9Wcn8nWrsQasaBRYM4d//FwhlBsTJYWkPVlhlt6FwzpwEoovY4IopRZjk5Fq3+ntRuSDORJjF/nA8sFeF2q6w==", "cpu": [ "ppc64" ], @@ -3190,9 +3399,9 @@ } }, "node_modules/@rolldown/binding-linux-s390x-gnu": { - "version": "1.2.19", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.19.tgz", - "integrity": "sha512-BrtEHT24SNXj9HiXqy+s/kXiSiQGt6EKCPUlRirAoIioVxKGnbXBUEkbZASAei7iZJB0/Ynm+0JP00Ipx7AnSw==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.3.4.tgz", + "integrity": "sha512-UDWu4jkVcx2kiBKm3Ec//4lVCbeTWj8gmJ9SyLWCdLWtTlyq7fQVeVV/14nXvRtSLErvJ2+yA/Ux5taS31Y17Q==", "cpu": [ "s390x" ], @@ -3210,9 +3419,9 @@ } }, "node_modules/@rolldown/binding-linux-x64-gnu": { - "version": "1.2.19", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.19.tgz", - "integrity": "sha512-rm75/9DkHKeU2WnA8w4X94WGYgLlDCFCfkQC+4bguVJmC/jvDRv2B+2wLOYhyE0fVuv7//Ckk39OoOufyCu76Q==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.3.4.tgz", + "integrity": "sha512-W9mGtTa0w4fWh8RLMNPyaEhhcuqUfO07Q4I1bBc4PDMNg7gQSw0yPQNQ3D0qwbkXwxbyL4YrIzc8n6k1vuFExQ==", "cpu": [ "x64" ], @@ -3230,9 +3439,9 @@ } }, "node_modules/@rolldown/binding-linux-x64-musl": { - "version": "1.2.19", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.19.tgz", - "integrity": "sha512-irh/4+iYFM4GAzpluDErgjz89bj6NDtqqMAG/6O1LG38Ed3NpyebzCpcVNkFW8uhy+/3/BocUvnXDR33CXWe9A==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.3.4.tgz", + "integrity": "sha512-8B+ofyQZ7/aCmkqnyMonPr5zKLqMVNczhRGFNtdIuItiwNn8iQWJawMq2E58r7bxD1XEbtRRsULY/eCWwZQ01Q==", "cpu": [ "x64" ], @@ -3250,9 +3459,9 @@ } }, "node_modules/@rolldown/binding-openharmony-arm64": { - "version": "1.2.19", - "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.19.tgz", - "integrity": "sha512-+KWTWNoPt+CfSq94CiceWu3yPE+QzkaG+phPyz9G60tmZLwfQkcA4AeksafzvJAw4pvg1mcd5a1TkUqVv0s4JA==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.3.4.tgz", + "integrity": "sha512-TlD0FSZaC7o2B4NCe9V5N11ugTnhzTM9ksj4sgRLvrKosDzjEkvlsTX3ehkw4ZlPv8AADimZZTvJGEa16pfXug==", "cpu": [ "arm64" ], @@ -3267,9 +3476,9 @@ } }, "node_modules/@rolldown/binding-wasm32-wasi": { - "version": "1.2.19", - "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.2.19.tgz", - "integrity": "sha512-7EH+skOsl5qpWnK0vzamgJFhOv1cwxQpsxm8tI883K9fur5c27p8q87fzEO6BbBPabA2/+s/zR63/pLc137iOg==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.3.4.tgz", + "integrity": "sha512-jwO8P3o53ygo7b5061B7BeaJ1BGv3BKZ6jroFdw/01qWry7Z+qNBlDvulzbTle5s/A0Fc1FRgsTxrke9DvsSbA==", "cpu": [ "wasm32" ], @@ -3277,74 +3486,16 @@ "license": "MIT", "optional": true, "dependencies": { - "@emnapi/core": "2.0.0-beta.2", - "@emnapi/runtime": "2.0.0-beta.2", - "@napi-rs/wasm-runtime": "1.2.6" + "@oxc-project/types": "0.160.0" }, "engines": { "node": "^20.19.0 || ^22.13.0 || >=23.5.0" } }, - "node_modules/@rolldown/binding-wasm32-wasi/node_modules/@emnapi/core": { - "version": "2.0.0-beta.2", - "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-2.0.0-beta.2.tgz", - "integrity": "sha512-MzCVoWtcg4Pm2B3je5mMvYMvj3MmBKw+fU7vbsJc9/iT8ip6/eYIHo/Dsm/mr+wsHB6SEyJDuxB09Yy6r/8+4A==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "@emnapi/wasi-threads": "2.2.0", - "tslib": "^2.4.0" - } - }, - "node_modules/@rolldown/binding-wasm32-wasi/node_modules/@emnapi/runtime": { - "version": "2.0.0-beta.2", - "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-2.0.0-beta.2.tgz", - "integrity": "sha512-JcrSPzPvZuNZvJqPTF9Fw25LbOJ8avzFVlaf2grmH4Cku0oGP47tRgqPZadcfj3YoZMHkFVnCYFbQM8I+i5QEw==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "tslib": "^2.4.0" - } - }, - "node_modules/@rolldown/binding-wasm32-wasi/node_modules/@emnapi/wasi-threads": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-2.2.0.tgz", - "integrity": "sha512-JP7OYH38Q7+pyTAe14raZHLQIK7BDKbdwji+Xi3pcd/6QkJYQH3SX4wu6EplGrGJWRepoNzedfm0G3B9Z4e9Rw==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "tslib": "^2.4.0" - } - }, - "node_modules/@rolldown/binding-wasm32-wasi/node_modules/@napi-rs/wasm-runtime": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.2.6.tgz", - "integrity": "sha512-mRyDmEw9/fCDXCGfL1sbgIw/GUK0PVxRW4YwgPN61F3LQ+fSyoBFarJVzgGyhF6kRzEQZ0FejDqm4WLXSeqQmw==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "@tybys/wasm-util": "^0.10.3" - }, - "engines": { - "node": "^20.19.0 || ^22.13.0 || >=23.5.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/Brooooooklyn" - }, - "peerDependencies": { - "@emnapi/core": "^1.7.1 || 2.0.0-beta.2", - "@emnapi/runtime": "^1.7.1 || 2.0.0-beta.2" - } - }, "node_modules/@rolldown/binding-win32-arm64-msvc": { - "version": "1.2.19", - "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.19.tgz", - "integrity": "sha512-3Q1Yg1Q7tEvBWoZf5rFvG/GKZQPgwfru+p4wBajDfJFBs0SHCpL++dfTjW9gyAKd1T7ZpIYvdaUax7Pa/IhFVQ==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.3.4.tgz", + "integrity": "sha512-8adGMrNtrdzi2WD1ozhYapER59gD8Q/DV6SCKJlyG2HqULPdeQUBvMa33lTsiEYwIqTZUaIU2MmvPp5f1wbtXA==", "cpu": [ "arm64" ], @@ -3359,9 +3510,9 @@ } }, "node_modules/@rolldown/binding-win32-x64-msvc": { - "version": "1.2.19", - "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.19.tgz", - "integrity": "sha512-y/sqRRc6d7hECzOFc5n3LSeqctmIp9mMjY1Kq4s14uLPd/LZ4z7i1zrW6fMtp2mPeuQIC4e6ULMcwQzMomqQag==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.3.4.tgz", + "integrity": "sha512-rIMjtESdXJCIoOiUTroQ1Y1rjVDZkuUVRUxs3APX2vNv175D7TDWvzdELiIhzGq9cUNUFat+co+PTmPHPqSREg==", "cpu": [ "x64" ], @@ -3405,12 +3556,29 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/@standard-schema/spec": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz", + "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==", + "devOptional": true, + "license": "MIT" + }, "node_modules/@standard-schema/utils": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/@standard-schema/utils/-/utils-0.3.0.tgz", "integrity": "sha512-e7Mew686owMaPJVNNLs55PUvgz371nKgwsc4vxE49zsODpJEnxgxRo2y/OKrqueavXgZNMDVj3DdHFlaSAeU8g==", "license": "MIT" }, + "node_modules/@streetsidesoftware/auto-resolve-map": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@streetsidesoftware/auto-resolve-map/-/auto-resolve-map-1.0.0.tgz", + "integrity": "sha512-Qwc4Ep06Rh0pFLv4h6vGZUkUAnpw89IQc4a3MDr0meaaT2J8jLN+D+gv2zQZJAuHl22wNg8cp9gGmpk1NhFm0w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=22.18.0" + } + }, "node_modules/@streetsidesoftware/unindent": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@streetsidesoftware/unindent/-/unindent-1.0.1.tgz", @@ -3422,13 +3590,10 @@ } }, "node_modules/@tanstack/devtools-event-client": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/@tanstack/devtools-event-client/-/devtools-event-client-0.4.4.tgz", - "integrity": "sha512-6T5Yop/793YI+H+5J8Hsyj4kCih9sl4t3ElLgKioW5hk3ocn+ZdSJ94tT7vL7uabxSugWYBZlOTMPzEw2puvQw==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@tanstack/devtools-event-client/-/devtools-event-client-0.5.1.tgz", + "integrity": "sha512-MiBx6Ybr65MFatCnk8IJzhGxd4hvsvEap4aT0gXOC274rV4hm0UPNHxznB5KGYtu84aXrIAsJEBElqzdPe+eeg==", "license": "MIT", - "bin": { - "intent": "bin/intent.js" - }, "engines": { "node": ">=18" }, @@ -3438,12 +3603,12 @@ } }, "node_modules/@tanstack/form-core": { - "version": "1.33.5", - "resolved": "https://registry.npmjs.org/@tanstack/form-core/-/form-core-1.33.5.tgz", - "integrity": "sha512-3dfx9MBP0aq5sXKteikG629X9oviptrQj0IFRk9YGcb+lB7Kv5x8S17oOSk1wUWgjQZ4xVJEMbKwOAODymocgA==", + "version": "1.33.6", + "resolved": "https://registry.npmjs.org/@tanstack/form-core/-/form-core-1.33.6.tgz", + "integrity": "sha512-kyJN+qYVIxv4dXatQzKkay++NwEDkwS2hmZe80lRGxs4i+AbWKAucbKPndYgwSczbEoZms2VRqNeR+WnM4jucg==", "license": "MIT", "dependencies": { - "@tanstack/devtools-event-client": "^0.4.1", + "@tanstack/devtools-event-client": "^0.5.1", "@tanstack/pacer-lite": "^0.1.1", "@tanstack/store": "^0.11.0" }, @@ -3466,12 +3631,12 @@ } }, "node_modules/@tanstack/react-form": { - "version": "1.33.5", - "resolved": "https://registry.npmjs.org/@tanstack/react-form/-/react-form-1.33.5.tgz", - "integrity": "sha512-LlRB28qJwO/QCGaHvWnbdh4haBgTFiZVmzA2uzxSBS3YA7/IqrQ6HOBK70CkFQ+DbflZ7NawsmSln13h5iIdTA==", + "version": "1.33.6", + "resolved": "https://registry.npmjs.org/@tanstack/react-form/-/react-form-1.33.6.tgz", + "integrity": "sha512-4JRcQZ0uQrsvkVEd2uZ/d6xIb711Jj/+MQjBLCFpK29xvSIRzz1h6YrA+BsQ+ZjQZNYoOugp1idLmoWpelUSgQ==", "license": "MIT", "dependencies": { - "@tanstack/form-core": "1.33.5", + "@tanstack/form-core": "1.33.6", "@tanstack/react-store": "^0.11.0" }, "funding": { @@ -3488,12 +3653,12 @@ } }, "node_modules/@tanstack/react-store": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/@tanstack/react-store/-/react-store-0.11.2.tgz", - "integrity": "sha512-oj5O5DmiMWE+ih+SioX2ayC1kbK7d3fpLx0B75fPJr9nY3zU+hoW010yr64qXsY/9fyiLVE2bn5mGNV3owm8RQ==", + "version": "0.11.4", + "resolved": "https://registry.npmjs.org/@tanstack/react-store/-/react-store-0.11.4.tgz", + "integrity": "sha512-JAQz7LcABVRbxZ6qCd4u/KqDaqBc1qmcOWz7XBTdav1Ib363HQdihCQF1A755nDhoi9VEd6UqZ5thWVKTwIIXw==", "license": "MIT", "dependencies": { - "@tanstack/store": "0.11.2", + "@tanstack/store": "0.11.3", "use-sync-external-store": "^1.6.0" }, "funding": { @@ -3501,8 +3666,14 @@ "url": "https://github.com/sponsors/tannerlinsley" }, "peerDependencies": { + "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } }, "node_modules/@tanstack/react-table": { @@ -3526,12 +3697,12 @@ } }, "node_modules/@tanstack/react-virtual": { - "version": "3.14.26", - "resolved": "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.14.26.tgz", - "integrity": "sha512-HUDlfsrYH6ko5xH56L62Mcl/uzT+AGVNMHFuDNqDJMdZWc1AQa2oeVKNUvZ/RWBZQ4TYtyQerFrNvLnp39h65A==", + "version": "3.14.30", + "resolved": "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.14.30.tgz", + "integrity": "sha512-vVq9U2WahGWue0RVPrzGuBM8QxhGKq6WV7AOUyXWR17F3kYNxHMZekYZdKm0X63/S4QZGCDlBqASvAukpXQ8GQ==", "license": "MIT", "dependencies": { - "@tanstack/virtual-core": "3.19.11" + "@tanstack/virtual-core": "3.19.15" }, "funding": { "type": "github", @@ -3543,9 +3714,9 @@ } }, "node_modules/@tanstack/store": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/@tanstack/store/-/store-0.11.2.tgz", - "integrity": "sha512-sJ4mjol8uQsHV0gOJzzjwXfh2Fwm+Sz0+8deqiTm4jGbMdjzNSW+xZCFm0kUa870uhd8yi+DpKnZb5Kc4apa0Q==", + "version": "0.11.3", + "resolved": "https://registry.npmjs.org/@tanstack/store/-/store-0.11.3.tgz", + "integrity": "sha512-/Mt3h2Qe67HmRMc5SJ+8jM2Fp7O4fBbwOlS0ujUvx34KgAvkvdLSHrJatv0PJG5fbvlDsACTawMMY4ptCpVI8w==", "license": "MIT", "funding": { "type": "github", @@ -3569,9 +3740,9 @@ } }, "node_modules/@tanstack/virtual-core": { - "version": "3.19.11", - "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.19.11.tgz", - "integrity": "sha512-/5iHb0RHBvj8Di59FDs4ESNm45jls33aZAi4zccVXZjc/6ZvwQP6nzEYeT6weXjTf9E6/vrp2JhYWRyO+ZP13A==", + "version": "3.19.15", + "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.19.15.tgz", + "integrity": "sha512-XL0RLw2Y1Qm5IrtIuz0cmX2nDc2hjtKr0J+7S+xHaDHcy19u8Fg1o17nCBMIKlrCgmMcgnViexlHGDx8SniuBw==", "license": "MIT", "funding": { "type": "github", @@ -3634,9 +3805,9 @@ } }, "node_modules/@types/d3-selection": { - "version": "3.0.12", - "resolved": "https://registry.npmjs.org/@types/d3-selection/-/d3-selection-3.0.12.tgz", - "integrity": "sha512-Qe/KWYhEiIIxGs7HrAAjMfShxKldx19SJtr5zu53f3afPsdZNz7HHtdTLXo/kqeiWNXVycI24kSnfzBYkTzpgw==", + "version": "3.0.13", + "resolved": "https://registry.npmjs.org/@types/d3-selection/-/d3-selection-3.0.13.tgz", + "integrity": "sha512-oXz0iHVpWOhurycj7P8KehdevbbwQfdOyYPd6u5TUcrk6ofXeQfY0e4Ow+0/35arZ24gs6ubpjJX0CuZHV5fdw==", "dev": true, "license": "MIT" }, @@ -3689,9 +3860,9 @@ "license": "MIT" }, "node_modules/@types/estree": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.10.tgz", - "integrity": "sha512-lTyOMnOcmRBzdCv6/4zUZCrEhV0xrqQiUZBZtVcbmLHBXKLnN8q89v/wKRF/Q0HbwVsqbIG3o5HDoFl9sduM+g==", + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.11.tgz", + "integrity": "sha512-YBdNe5JcjYR0sPhJW1QIeRCmI11YhYvaRuGCs9+WCeTTb+Yhb2BE2XMe5/wAqF10FK5g3+q1PDhQABfT7aX0gg==", "dev": true, "license": "MIT" }, @@ -3710,9 +3881,9 @@ "license": "MIT" }, "node_modules/@types/lodash": { - "version": "4.17.27", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.27.tgz", - "integrity": "sha512-VenMRv/eKNrspX9v3H4dbmjsrnCOYdYBG3kxXKk3dG6X+urBGcj2Prww3xw1U5K4FV/mE4h5GbWd0szEKf+9ew==", + "version": "4.17.28", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.28.tgz", + "integrity": "sha512-2iP9dTMtHQOGZq086o7CyIVz5h3hCS7xqG1dZg3hfbxqcB5/ZaFD+vOp9ebR8YlbCQr84OQjBiv/qgITjHSrYA==", "dev": true, "license": "MIT" }, @@ -3724,9 +3895,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "26.6.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.6.tgz", - "integrity": "sha512-MzQj+8Kx3XI40OmUAE6Qoh58ZMNstNNMwn2nfd3qWsfe7nDNSqJNzes4njhz6AHwrSHOffSLwXU6yb474Q4aog==", + "version": "26.6.11", + "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.11.tgz", + "integrity": "sha512-uUyQ2XLEz+EXh34lmS3GhKrkqn/8FU7KUiKRpk347At2bmnMVWss45yz8b4FG/tUtmV1tV/+TVkITItPROyeeQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3757,9 +3928,9 @@ "license": "MIT" }, "node_modules/@types/react": { - "version": "19.3.0", - "resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.0.tgz", - "integrity": "sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==", + "version": "19.3.3", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.3.tgz", + "integrity": "sha512-K8uWpJc4teiuOPdiP1umjeA9rGMgVPiXuoL66fcS1QlwBT1WMqY8PORmub9FadopIs+RCW6siYEs7Lpq+vDlog==", "license": "MIT", "dependencies": { "csstype": "^3.2.2" @@ -3776,17 +3947,17 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.73.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.73.0.tgz", - "integrity": "sha512-UkygMFer53Yzn29MCYFTHf34hGXf5KJhiDWfIm1tXtXRrym1CS6l5H9Y3yCtPWChpC0/f93H88gdj8tN0dd4kw==", + "version": "8.74.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.74.0.tgz", + "integrity": "sha512-z3KXk1+Vm+d82ZRplOoC89ho4Rf1da5ju6sx8//92GnN532U62DGPjECXkkVqtYzIv0zoJlpO39SX2Z9tk6LVw==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.12.2", - "@typescript-eslint/scope-manager": "8.73.0", - "@typescript-eslint/type-utils": "8.73.0", - "@typescript-eslint/utils": "8.73.0", - "@typescript-eslint/visitor-keys": "8.73.0", + "@typescript-eslint/scope-manager": "8.74.0", + "@typescript-eslint/type-utils": "8.74.0", + "@typescript-eslint/utils": "8.74.0", + "@typescript-eslint/visitor-keys": "8.74.0", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" @@ -3799,15 +3970,15 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.73.0", + "@typescript-eslint/parser": "^8.74.0", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { - "version": "7.0.16", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.16.tgz", - "integrity": "sha512-52N+Y4HRMOJmbLmr+DqO4iSRyyB7N52gm7PWCT6h0p978+oKbqHCB7gIJIwZvBUsjlSdWbrBFqUSmIFNZMpn0A==", + "version": "7.0.17", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.17.tgz", + "integrity": "sha512-0c3zcBRlWmcKhcIQWckzkYncJRv5HHB8O32wO/FcWL8DDXWDJgiEF6SX9ThbTv5h/eZ+xJK+VvDjjQ+cQJhp3Q==", "dev": true, "license": "MIT", "engines": { @@ -3815,16 +3986,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.73.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.73.0.tgz", - "integrity": "sha512-AuL45bVcmssHfZ3Di3cs9Q0l4gBm4ZFVrJOQEE7VpqW+PVgQaEwSwazz4TVIiFabXkk6U51EprYDwqw+HR8ePw==", + "version": "8.74.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.74.0.tgz", + "integrity": "sha512-ecr8AYdig7avVkxaHdQvxHnIJ/mOyliO4Gv/uWF8q69vBew/z3sexqBwHUZX5Vql+Ns0w4sH6gBLkICGbOvJkA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.73.0", - "@typescript-eslint/types": "8.73.0", - "@typescript-eslint/typescript-estree": "8.73.0", - "@typescript-eslint/visitor-keys": "8.73.0", + "@typescript-eslint/scope-manager": "8.74.0", + "@typescript-eslint/types": "8.74.0", + "@typescript-eslint/typescript-estree": "8.74.0", + "@typescript-eslint/visitor-keys": "8.74.0", "debug": "^4.4.3" }, "engines": { @@ -3840,14 +4011,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.73.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.73.0.tgz", - "integrity": "sha512-/pEf8Rc4Mjk+qJnY0uO1+Gadeal8uv50xpuic+srG2vIVatA0XxvWMUeMtFvs6OCHqftiQ7/+qH4aehG5stzIA==", + "version": "8.74.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.74.0.tgz", + "integrity": "sha512-z/mymuE+JlEeSFIv3Mo70EvgG1Zz74Hl0IDfExfXutARAP834bt+MppTD7mVAwmZO0GdxdOAi0jbTam749eH6g==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.73.0", - "@typescript-eslint/types": "^8.73.0", + "@typescript-eslint/tsconfig-utils": "^8.74.0", + "@typescript-eslint/types": "^8.74.0", "debug": "^4.4.3" }, "engines": { @@ -3862,14 +4033,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.73.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.73.0.tgz", - "integrity": "sha512-/TjD738Iq2rzj5z0ixVOi+TsvgjAzZPLPaH1yWdDBytR/HTR5gMpyYWZeCe5WTQZLwk3ho8AV7U3muoQCRtXBQ==", + "version": "8.74.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.74.0.tgz", + "integrity": "sha512-kpOdpu4CpWN5U38ox3f727DwWRBtUAVhyUJtqTBYe5gf2wYoxac7PgKP14txrxN7ICVtcjlLdzjqfRgpSnDKvQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.73.0", - "@typescript-eslint/visitor-keys": "8.73.0" + "@typescript-eslint/types": "8.74.0", + "@typescript-eslint/visitor-keys": "8.74.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -3880,9 +4051,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.73.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.73.0.tgz", - "integrity": "sha512-lmtCFOfYaJfpqZywGuXi4FpNtE+NQ+YLe3T0K9rtEDcW8ZuGWvfI++pj8r05sYMI8vWT2CYK4rWyedmD6Rp4og==", + "version": "8.74.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.74.0.tgz", + "integrity": "sha512-p07wAuaS6BjCYgOSXKJi4YhvTnAf7fiG37e9THcpnYaQEt2QiTTYZWKwUFNgeRiywiMudazhzgddAirZ0GgHtQ==", "dev": true, "license": "MIT", "engines": { @@ -3897,15 +4068,15 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.73.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.73.0.tgz", - "integrity": "sha512-MOC9i4xy1F7KcDde7Ip8jf1SrRiALb2Km4UWxGNjUE2YlhjIEo1ayE27GHIwIQyfWuHTmEonQT14uyurlyC6aA==", + "version": "8.74.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.74.0.tgz", + "integrity": "sha512-CV3Y3la8l3F9ANfxcfpgSSiQgJTe4IeLEoZV4O/gcW86Ugp8X6SKiQ0vm+QegXaRIbbDMokZZSF3A1CgiU/kPw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.73.0", - "@typescript-eslint/typescript-estree": "8.73.0", - "@typescript-eslint/utils": "8.73.0", + "@typescript-eslint/types": "8.74.0", + "@typescript-eslint/typescript-estree": "8.74.0", + "@typescript-eslint/utils": "8.74.0", "debug": "^4.4.3", "ts-api-utils": "^2.5.0" }, @@ -3922,9 +4093,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.73.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.73.0.tgz", - "integrity": "sha512-O/1ytYzflF16QDKXx4/qOXg1IuZp+n7hr9t+S0nv7N/2Tl8rJiNCshztV1gcSUvHbPtoX3+zmNbtSAyVbzxVfw==", + "version": "8.74.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.74.0.tgz", + "integrity": "sha512-MpnMrJCVNpP1iVL8NiHkQZgQqIMBH5ewDGUPBh1pqQXwFtMFjsl1M03QcYPXmv6stCKEiF0PN7CGbU1ZbXFzEA==", "dev": true, "license": "MIT", "engines": { @@ -3936,16 +4107,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.73.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.73.0.tgz", - "integrity": "sha512-InjlBkSdWceIwIBWSwS3ENUp+i0O02PGX3Zv2wnihWJC1WDVGvG7mTHuf8b57uAaITj94d6tRPDH+sUEtXdRQQ==", + "version": "8.74.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.74.0.tgz", + "integrity": "sha512-wL348k6l92DNG+kPP5rVpKwNBoz7a3xRZy3TPKc1uymQttd7u7gcMv3eENmcuh4CjC4mO3FTM0DYstFXMyDLuw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.73.0", - "@typescript-eslint/tsconfig-utils": "8.73.0", - "@typescript-eslint/types": "8.73.0", - "@typescript-eslint/visitor-keys": "8.73.0", + "@typescript-eslint/project-service": "8.74.0", + "@typescript-eslint/tsconfig-utils": "8.74.0", + "@typescript-eslint/types": "8.74.0", + "@typescript-eslint/visitor-keys": "8.74.0", "debug": "^4.4.3", "minimatch": "^11.0.1", "semver": "^7.7.3", @@ -3970,16 +4141,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.73.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.73.0.tgz", - "integrity": "sha512-j2SVJJvVkXdUL0WcEzo4vEH1mO1vIi8KlVukcYA2MgMZvYN2LlZR4PmsW+GTSxSW24j6Q/EP7+MOifLtg5hmsA==", + "version": "8.74.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.74.0.tgz", + "integrity": "sha512-IpWXPxXXomzxyTcvjhZJexgdvtTR1TooLAPpuxzaGqQ8BHll1lf4Ysp/BTE/l0U5TJ+x1j7B4bEM8pLRrvY+XA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", - "@typescript-eslint/scope-manager": "8.73.0", - "@typescript-eslint/types": "8.73.0", - "@typescript-eslint/typescript-estree": "8.73.0" + "@typescript-eslint/scope-manager": "8.74.0", + "@typescript-eslint/types": "8.74.0", + "@typescript-eslint/typescript-estree": "8.74.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -3994,13 +4165,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.73.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.73.0.tgz", - "integrity": "sha512-k4lsFVpRZICbltkIEEH4hZRkwXkqDF1GHBpClKQOHQY+RkoZAAuyc1ci3I6p+CB6v3U4jaHIUshc4RzzQXZWLg==", + "version": "8.74.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.74.0.tgz", + "integrity": "sha512-XSZmOtMUbWCBIM+2BK134FyMFxmll1mW2mPLk/PSwYQYzGIPMgJAqL929U4qXVizLv7Xq5b7r41/o7Ombuwk0g==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.73.0", + "@typescript-eslint/types": "8.74.0", "eslint-visitor-keys": "^5.0.0" }, "engines": { @@ -4366,16 +4537,16 @@ } }, "node_modules/@vitest/coverage-v8": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-5.1.1.tgz", - "integrity": "sha512-xL4NkbVx/UqqDHaXSOyvB8qsSoLQ+dVNGR9H2Bh/4ggQtmaPFNPUC9gZQwKZePLOQ6WDcgwXVnPulFW9eCHt0w==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-5.1.2.tgz", + "integrity": "sha512-VG0JLv0T4kr1fR6QAfe8PTou+Frc4t0u4j+oKgDH3djJpFawzBfGyX14/z56NXoCTNem3OEphzCJhc4DkE62xQ==", "dev": true, "license": "MIT", "dependencies": { "@bcoe/v8-coverage": "^1.0.2", - "@vitest/istanbul-lib-coverage": "^2.1.0", - "@vitest/istanbul-lib-report": "^2.1.0", - "ast-v8-to-istanbul": "^1.0.7", + "@vitest/istanbul-lib-coverage": "^2.1.1", + "@vitest/istanbul-lib-report": "^2.1.1", + "ast-v8-to-istanbul": "^1.0.8", "magicast": "^0.5.5", "obug": "^3.0.0", "std-env": "^4.3.0", @@ -4385,8 +4556,8 @@ "url": "https://opencollective.com/vitest" }, "peerDependencies": { - "@vitest/browser": "5.1.1", - "vitest": "5.1.1" + "@vitest/browser": "5.1.2", + "vitest": "5.1.2" }, "peerDependenciesMeta": { "@vitest/browser": { @@ -4426,9 +4597,9 @@ } }, "node_modules/@vitest/istanbul-lib-coverage": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@vitest/istanbul-lib-coverage/-/istanbul-lib-coverage-2.1.0.tgz", - "integrity": "sha512-WOjuS+xcjSIy7ruYBQ+9BUcV7XZQ0FyVcbWbWxW9TRx/kLGx5SQaeFRIFDJxjNplb6YsT7SpKo2zuXXUo91OIQ==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@vitest/istanbul-lib-coverage/-/istanbul-lib-coverage-2.1.1.tgz", + "integrity": "sha512-pF9nMHHuyQzyEXdkWX3d4wElEKjymfL5TEoofegJn/jK2WjmTLOcJKfJ7/YwYGYdbZf8Ebrt4VDUoBPiTuO9zg==", "dev": true, "license": "MIT", "engines": { @@ -4436,27 +4607,27 @@ } }, "node_modules/@vitest/istanbul-lib-report": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@vitest/istanbul-lib-report/-/istanbul-lib-report-2.1.0.tgz", - "integrity": "sha512-+ZFta25nWtGCOBG9/IET8w1RO5Oawsd6H8Uf6AJ9EA/StFuKVtKAEJEJ6uRt84OH+T4YkI0ASmIHAhRA+0KVxw==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@vitest/istanbul-lib-report/-/istanbul-lib-report-2.1.1.tgz", + "integrity": "sha512-Qba+8OpQQAbWrmq3u1olh6jqE/vyW4OYJe6TLrrTBpXhjJhbY7Os69wyVvMQmNA64KJhGd5nQ/c7l4io8tPCHQ==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/istanbul-lib-coverage": "2.1.0" + "@vitest/istanbul-lib-coverage": "2.1.1" }, "engines": { "node": ">=22" } }, "node_modules/@vitest/mocker": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-5.1.1.tgz", - "integrity": "sha512-b2OgTB4+3ImWIVafXKazJXwLKwQxUNnix6b3xUvUTMh7RyXlrtzoxfZr8aEz9zkHOMAS4K5lu3TvFWoiVeVTQg==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-5.1.2.tgz", + "integrity": "sha512-UGc97wUIy0Ji2+9GxzHEJiOhiwkaukgE7VYcUNnjpX3sWnwQ8XogmNXX4WyOukxYgKb8Nh2XFa7KId0ZjpmVhQ==", "dev": true, "license": "MIT", "dependencies": { "@jridgewell/trace-mapping": "0.3.31", - "@vitest/spy": "5.1.1", + "@vitest/spy": "5.1.2", "estree-walker": "^3.0.3", "magic-string": "^1.4.5" }, @@ -4477,9 +4648,9 @@ } }, "node_modules/@vitest/spy": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-5.1.1.tgz", - "integrity": "sha512-6K8C6alQG1/Yc8/ZI22iJS7JEsxPdVzqtqDq+/xM4Z0mGVykemMVjLhqMy/q6/IHYG3kKD8hKSwRen/ZdyI9vQ==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-5.1.2.tgz", + "integrity": "sha512-PQl0/3+p9GaY71+MHywN6oyHfLhVDD5kcbm7oNRldA2F0ExMU3S8RQdnpteJ9gFAdK5P6KCgE6LqCpUgy57KzA==", "dev": true, "license": "MIT", "funding": { @@ -4586,9 +4757,9 @@ "license": "MIT" }, "node_modules/@zip.js/zip.js": { - "version": "2.25.0", - "resolved": "https://registry.npmjs.org/@zip.js/zip.js/-/zip.js-2.25.0.tgz", - "integrity": "sha512-oNRqUuU1XFu6G5d7Z0jufJ9dS9WteO0xiU/PNxsUrb4itZCsSbn191jpJzU00Gmc6S680X3DPZeF5EV4zAEMAg==", + "version": "2.25.1", + "resolved": "https://registry.npmjs.org/@zip.js/zip.js/-/zip.js-2.25.1.tgz", + "integrity": "sha512-/ZRBU5LNmnmj/4SGnvSmYe5UMavqeOg4MvfoMhAr0CRQGpRITwOJ8QD+9ppCIEkuzXJVDz0pIc8ZHCXoKCio1Q==", "license": "BSD-3-Clause", "engines": { "bun": ">=0.7.0", @@ -4619,6 +4790,23 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, + "node_modules/ajv": { + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", + "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==", + "extraneous": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, "node_modules/ansi-align": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", @@ -4701,9 +4889,9 @@ } }, "node_modules/are-docs-informative": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/are-docs-informative/-/are-docs-informative-0.1.1.tgz", - "integrity": "sha512-sqRsNQBwbKLRX0jV5Cu5uzmtflf892n4Vukz7T659ebL4pz3mpOqCMU7lxMoBTFwnp10E3YB5ZcyHM41W5bcDA==", + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/are-docs-informative/-/are-docs-informative-0.1.2.tgz", + "integrity": "sha512-ivIO3M7NYwWxOmC0uU9wBGF/c6b8VdKmYuIbH6cwpvfw8W5MttFaecUmMqOl77D/rZU9ipN/eB1E17ry+SEI4Q==", "dev": true, "license": "MIT", "engines": { @@ -4764,9 +4952,9 @@ } }, "node_modules/ast-v8-to-istanbul/node_modules/js-tokens": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-10.0.0.tgz", - "integrity": "sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-10.0.2.tgz", + "integrity": "sha512-DXL98F5NsFBwDz7kcb4UUlrg9ePDgBCPjK4inUYi5gahxsTrKNW8Oh6F3WAuh7hntbP41EL/DkUYccRsDfLQLQ==", "dev": true, "license": "MIT" }, @@ -4811,9 +4999,9 @@ } }, "node_modules/baseline-browser-mapping": { - "version": "2.11.38", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.38.tgz", - "integrity": "sha512-rMgy5YW7x28SMfXHLlVZDBqlWzYZ0x2rVR/6FWrNBF0chjigARK1H6nM0hKA1Um3kPOlkQFVtjJs00d2N1ezuw==", + "version": "2.11.41", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.41.tgz", + "integrity": "sha512-yjL/sZCpbpL0ocwmrUe1YFUelyMcifcByF4UYCBDyubFXQRs3lUjo9VoPKdjoFFhmzLAAGNJb1GBBCQJ6B4eyg==", "dev": true, "license": "Apache-2.0", "bin": { @@ -4884,9 +5072,9 @@ } }, "node_modules/brace-expansion": { - "version": "5.0.13", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.13.tgz", - "integrity": "sha512-Vh3dmFbc4wZeox7M9I/0L9GfFd83Su4+yCck/OF9Gi/P/dAHn0RT7X4K9R7gMNMhDck3DvhR6QXsnQdjjgwNvQ==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.1.2.tgz", + "integrity": "sha512-ELhY3JEerIBbhgW+rh0/8glkZAaMqn1x3BAvp3yTULSEGozMK/5PT6WTdBgsdvJqwwmv7MAQNOydfYbvK1Vgfw==", "dev": true, "license": "MIT", "dependencies": { @@ -5000,9 +5188,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001826", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001826.tgz", - "integrity": "sha512-wTB+9tIbLro/BCXwLuNV1meHE4L9dS6dArMDwgYfNBPMYScqClHyGunhkCSDtHhe/69Xl0sHlKgBVZ+fNsYtWA==", + "version": "1.0.30001829", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001829.tgz", + "integrity": "sha512-FeVvlaVr3r+cdHIYXyZhtVkqroSYjYaoNxItxQNjusurUE+IqODawDsbzk02HJgi2RdKiaGGFm+EKbXku+yITg==", "dev": true, "funding": [ { @@ -5210,9 +5398,9 @@ "license": "MIT" }, "node_modules/colord": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/colord/-/colord-2.14.0.tgz", - "integrity": "sha512-eSdMel9EBvdFxnchObp7gljRoqYQLr+zXhaxjkym7syVphw1FIhfQwgsA5Bv3jArflZPJEa1rmQtGpa7NRc7Rw==", + "version": "2.14.1", + "resolved": "https://registry.npmjs.org/colord/-/colord-2.14.1.tgz", + "integrity": "sha512-oAnRdUZtIoONz9y5JZEM/Ogg4m/eYIvpCvzFZIFOPfraLqVYTmevf61yeIhcLq/9EXztGOwF4O36pCu143BqGw==", "license": "MIT" }, "node_modules/commander": { @@ -5240,9 +5428,9 @@ } }, "node_modules/comment-parser": { - "version": "1.4.9", - "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.9.tgz", - "integrity": "sha512-+2AvZKjJaNq9GQljm3tr0utwrig5BL+jgJGvz5rDpGKNIp+ojcRXWUwBbh/sGIi1QCprR6PsKFakub+w1v+4hQ==", + "version": "1.4.11", + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.11.tgz", + "integrity": "sha512-bZMt5Mw4GgsMmnOZ5mHsHzyexC5JgzDbyMk5P0/RMqVPbK9sL+qOQyTGO95xCWQ8VhUzCbTdKkgcgGuofaVjuw==", "dev": true, "license": "MIT", "engines": { @@ -5431,9 +5619,9 @@ } }, "node_modules/cross-spawn": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", - "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.1.2.tgz", + "integrity": "sha512-8BPK2r+sKWC8sDinRwLwrFMq2lXTBBwzYYEB9LiCznfMurOi4FOvQflq3XOLGG+HPdMSVpe+k/s96+AtDEOgPg==", "dev": true, "license": "MIT", "dependencies": { @@ -5446,30 +5634,48 @@ } }, "node_modules/cspell": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/cspell/-/cspell-10.5.2.tgz", - "integrity": "sha512-PUfaJuF58PNok13Xo3aoCrIOCCEcLzV4W0pUK630taMmnbl8OzRths6ya9ooZ6gmJF8Y0zaAZt5IV+Dx27GHlA==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/cspell/-/cspell-10.6.0.tgz", + "integrity": "sha512-MGxaUTMYZmldg41nao2D4ToSBUi1aDPROmxN7vQlB7msHp5s2zlM9klYIazlygY+OwkX/adYLY1VOFsPQPMlbA==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], "license": "MIT", "dependencies": { - "@cspell/cspell-json-reporter": "10.5.2", - "@cspell/cspell-performance-monitor": "10.5.2", - "@cspell/cspell-pipe": "10.5.2", - "@cspell/cspell-types": "10.5.2", - "@cspell/cspell-worker": "10.5.2", - "@cspell/dynamic-import": "10.5.2", - "@cspell/url": "10.5.2", + "@cspell/cspell-json-reporter": "10.6.0", + "@cspell/cspell-performance-monitor": "10.6.0", + "@cspell/cspell-pipe": "10.6.0", + "@cspell/cspell-types": "10.6.0", + "@cspell/cspell-worker": "10.6.0", + "@cspell/dynamic-import": "10.6.0", + "@cspell/url": "10.6.0", "@streetsidesoftware/unindent": "^1.0.1", "ansi-regex": "^6.6.0", "chalk": "^6.0.1", "chalk-template": "^1.1.3", "commander": "^15.1.0", - "cspell-config-lib": "10.5.2", - "cspell-dictionary": "10.5.2", - "cspell-gitignore": "10.5.2", - "cspell-glob": "10.5.2", - "cspell-io": "10.5.2", - "cspell-lib": "10.5.2", + "cspell-config-lib": "10.6.0", + "cspell-dictionary": "10.6.0", + "cspell-gitignore": "10.6.0", + "cspell-glob": "10.6.0", + "cspell-io": "10.6.0", + "cspell-lib": "10.6.0", "flatted": "^3.4.4", "semver": "^7.8.6", "tinyglobby": "^0.2.17" @@ -5480,19 +5686,34 @@ }, "engines": { "node": ">=22.18.0" - }, - "funding": { - "url": "https://github.com/streetsidesoftware/cspell?sponsor=1" } }, "node_modules/cspell-config-lib": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/cspell-config-lib/-/cspell-config-lib-10.5.2.tgz", - "integrity": "sha512-FJyqkD3eMGjxGSEiXW5V2ayCI/1su/9OHEKBNPq7YvkIb1HXVe27w1up/CXjE8fNSPet9YRz1xTeS6NcRY6mCA==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/cspell-config-lib/-/cspell-config-lib-10.6.0.tgz", + "integrity": "sha512-/6IVSIq7A6AtS9mpZhStLump/5GKbaifBJBVJ7kprfAwLbCfWREoT7kwZRFJaOZSSJCO6Mvuk+UysDCRDtRssg==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], "license": "MIT", "dependencies": { - "@cspell/cspell-types": "10.5.2", + "@cspell/cspell-types": "10.6.0", "comment-json": "^5.0.0", "smol-toml": "^1.9.1", "yaml": "^2.9.1" @@ -5502,32 +5723,69 @@ } }, "node_modules/cspell-dictionary": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/cspell-dictionary/-/cspell-dictionary-10.5.2.tgz", - "integrity": "sha512-mmnvKDVZdbusX6P+wGY+HMiZGvpLbz/kJfWTXsWtWWhEHqoB22cqGXigWaS0lHtYJyoNXJ+SkqO/wvRXfL8C7Q==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/cspell-dictionary/-/cspell-dictionary-10.6.0.tgz", + "integrity": "sha512-erzwwga88qKb5K8m7KPuWWO3YRo4/lCm2yzSLO7/Ce8nMOtNVCz1akAlPI8jD+34Q0LKw+cjOPcVwfeuRfHC1w==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], "license": "MIT", "dependencies": { - "@cspell/cspell-performance-monitor": "10.5.2", - "@cspell/cspell-pipe": "10.5.2", - "@cspell/cspell-types": "10.5.2", - "cspell-trie-lib": "10.5.2", - "fast-equals": "^6.2.2" + "@cspell/cspell-performance-monitor": "10.6.0", + "@cspell/cspell-pipe": "10.6.0", + "@cspell/cspell-types": "10.6.0", + "@streetsidesoftware/auto-resolve-map": "^1.0.0", + "cspell-trie-lib": "10.6.0", + "fast-equals": "^6.4.1" }, "engines": { "node": ">=22.18.0" } }, "node_modules/cspell-gitignore": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/cspell-gitignore/-/cspell-gitignore-10.5.2.tgz", - "integrity": "sha512-O+2jqfFwIxJ4MY26eE6JpR7Hz4bRegOdlTeclCm/4Q/8Oi+ajnsnruCDXI/Kt4oM/3gCPEY4ZB6HhcFKUaWPHQ==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/cspell-gitignore/-/cspell-gitignore-10.6.0.tgz", + "integrity": "sha512-46wHLwFONB6fatOrGHoDzMICpwfVBZT0pUov9DiyWTbaJ7vc+9urjKfDd8M+5sIRPLOpECruvAj9F6WiRgWH8g==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], "license": "MIT", "dependencies": { - "@cspell/url": "10.5.2", - "cspell-glob": "10.5.2", - "cspell-io": "10.5.2" + "@cspell/url": "10.6.0", + "cspell-glob": "10.6.0", + "cspell-io": "10.6.0" }, "bin": { "cspell-gitignore": "bin.mjs" @@ -5537,13 +5795,31 @@ } }, "node_modules/cspell-glob": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/cspell-glob/-/cspell-glob-10.5.2.tgz", - "integrity": "sha512-dxzd26V9ppHk1NYImqMwF8hZ5bxyLCaLX+35uxua2QUWXTsg0YAMdmLD2A0XKr9manfryBaeVp0RltKsqCGCHw==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/cspell-glob/-/cspell-glob-10.6.0.tgz", + "integrity": "sha512-Ktn7gviyf2oYmYqqaX+E4srHtu1J71J3aClFv/7AMGbNci9B1x8ZXx+R+7pebnKuj7yMdFy9unfs4460s8+Hhg==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], "license": "MIT", "dependencies": { - "@cspell/url": "10.5.2", + "@cspell/url": "10.6.0", "picomatch": "^4.0.7" }, "engines": { @@ -5551,14 +5827,32 @@ } }, "node_modules/cspell-grammar": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/cspell-grammar/-/cspell-grammar-10.5.2.tgz", - "integrity": "sha512-wvNktzzcF/yz3WzyaD1cM7QRkSUO01fqWp/XsAakwVtY46v3VA/Ifob6Nbq0RYPyxXMTMK6v7btm2Fx5nfXtHQ==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/cspell-grammar/-/cspell-grammar-10.6.0.tgz", + "integrity": "sha512-Nojtr+tvEVYwJZIu7AMQlikzsuSLZxmPLW/rfnpIFe/r6ZKue/5KFfIAItipE6kCWfqTnEFSeeX1v1W+X2/SSg==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], "license": "MIT", "dependencies": { - "@cspell/cspell-pipe": "10.5.2", - "@cspell/cspell-types": "10.5.2" + "@cspell/cspell-pipe": "10.6.0", + "@cspell/cspell-types": "10.6.0" }, "bin": { "cspell-grammar": "bin.mjs" @@ -5568,42 +5862,78 @@ } }, "node_modules/cspell-io": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/cspell-io/-/cspell-io-10.5.2.tgz", - "integrity": "sha512-VhNKpbHHGxkDF7O4NWZni/e6HfNzSDsd+VKtJKs5qEmX5NBFcfLwc2/I5N7AxQPTU+vBlSx0LPNoCGWQxAgrnA==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/cspell-io/-/cspell-io-10.6.0.tgz", + "integrity": "sha512-pNLId+fnslvTnVgqlrkbf9N5blKUkclilCzIH/jTW0+6XAQBjWk+LPYZrCP2f66XtICtnkz/4HMM9SnzWryRbA==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], "license": "MIT", "dependencies": { - "@cspell/cspell-service-bus": "10.5.2", - "@cspell/url": "10.5.2" + "@cspell/cspell-service-bus": "10.6.0", + "@cspell/url": "10.6.0" }, "engines": { "node": ">=22.18.0" } }, "node_modules/cspell-lib": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/cspell-lib/-/cspell-lib-10.5.2.tgz", - "integrity": "sha512-D9WeCDj+ZmHz2Hu+H/Gc6C7PYhsVchJvIXTA8X/sOrG+kvXnsYF6eGcOJV1HGhVGxJpJ3CzFcTWqXUixYdh1ow==", - "dev": true, - "license": "MIT", - "dependencies": { - "@cspell/cspell-bundled-dicts": "10.5.2", - "@cspell/cspell-performance-monitor": "10.5.2", - "@cspell/cspell-pipe": "10.5.2", - "@cspell/cspell-resolver": "10.5.2", - "@cspell/cspell-types": "10.5.2", - "@cspell/dynamic-import": "10.5.2", - "@cspell/filetypes": "10.5.2", - "@cspell/rpc": "10.5.2", - "@cspell/strong-weak-map": "10.5.2", - "@cspell/url": "10.5.2", - "cspell-config-lib": "10.5.2", - "cspell-dictionary": "10.5.2", - "cspell-glob": "10.5.2", - "cspell-grammar": "10.5.2", - "cspell-io": "10.5.2", - "cspell-trie-lib": "10.5.2", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/cspell-lib/-/cspell-lib-10.6.0.tgz", + "integrity": "sha512-6meCLhMFfxYNG3/DnsjDEcX7e/f7bQ2PlE0xz/afb7wosNrjWaHEjtbXH6iHlB8dxCv3ArAMgL5pNP73fNEc6A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], + "license": "MIT", + "dependencies": { + "@cspell/cspell-bundled-dicts": "10.6.0", + "@cspell/cspell-performance-monitor": "10.6.0", + "@cspell/cspell-pipe": "10.6.0", + "@cspell/cspell-resolver": "10.6.0", + "@cspell/cspell-types": "10.6.0", + "@cspell/dynamic-import": "10.6.0", + "@cspell/filetypes": "10.6.0", + "@cspell/rpc": "10.6.0", + "@cspell/url": "10.6.0", + "@streetsidesoftware/auto-resolve-map": "^1.0.0", + "cspell-config-lib": "10.6.0", + "cspell-dictionary": "10.6.0", + "cspell-glob": "10.6.0", + "cspell-grammar": "10.6.0", + "cspell-io": "10.6.0", + "cspell-trie-lib": "10.6.0", "env-paths": "^4.0.0", "gensequence": "^8.0.8", "import-fresh": "^4.0.1", @@ -5630,16 +5960,34 @@ } }, "node_modules/cspell-trie-lib": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/cspell-trie-lib/-/cspell-trie-lib-10.5.2.tgz", - "integrity": "sha512-cyvmveYXmKxkBVGVO/HzITnuKBqgR1fpFZXqYIRUoz5F8VbVFO0jKOVsFma+cFytWv2e2bQgcRyn3WX8kHNeRw==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/cspell-trie-lib/-/cspell-trie-lib-10.6.0.tgz", + "integrity": "sha512-wLUqpTl1HPqDmsjn1MrGNcA6+iBMxmZF9DJt8M90eH181fvxs6geb96JFy3nzWVrOWMOnFaYQtK2aNKGbmqsDw==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/streetsidesoftware" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/cspell" + }, + { + "type": "thanks.dev", + "url": "https://thanks.dev/u/gh/streetsidesoftware" + }, + { + "type": "corporate", + "url": "https://streetsidesoftware.com/sponsor/" + } + ], "license": "MIT", "engines": { "node": ">=22.18.0" }, "peerDependencies": { - "@cspell/cspell-types": "10.5.2" + "@cspell/cspell-types": "10.6.0" } }, "node_modules/css-tree": { @@ -6032,9 +6380,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.5.489", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.489.tgz", - "integrity": "sha512-1cF87WItryk9lj5wg5SLsNegUihdkcHuOfrANPpO02y/d2krm1Oc3GjA9KBwlT5o145FTa1bbjdLc7pZnvtnYQ==", + "version": "1.5.495", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.495.tgz", + "integrity": "sha512-dZcmtNbDI5oeT9uP9Z+D7h/H5C1mvBewDTLgZgo9WgyPmqOXSt2cmoCK99evPygUOn9lyXZ4w0Eb8APrkBjqBA==", "dev": true, "license": "ISC" }, @@ -6131,9 +6479,9 @@ } }, "node_modules/eslint": { - "version": "10.15.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.15.0.tgz", - "integrity": "sha512-+5Wg4p+ze3sG1WErYgUO/3H1IQIfFBymVUA0Fo/XTeBOLS6UQIUekpSJ8sdRkn7O7wjh84b55w/roqavH2aScg==", + "version": "10.16.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.16.0.tgz", + "integrity": "sha512-Xu3PRLG/wCaZWZ20gkExUcNqL2mWWsXTR+Lln3Sof4Y9WuA678fH9hrlQ8B6UNwbTnsKdDdBYOd2jxtycXVTGQ==", "dev": true, "license": "MIT", "workspaces": [ @@ -6142,7 +6490,7 @@ "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.2", - "@eslint/config-array": "^0.23.6", + "@eslint/config-array": "^0.23.7", "@eslint/config-helpers": "^0.7.0", "@eslint/core": "^1.2.1", "@eslint/plugin-kit": "^0.7.3", @@ -6340,18 +6688,18 @@ } }, "node_modules/eslint-plugin-jsdoc": { - "version": "65.4.12", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-65.4.12.tgz", - "integrity": "sha512-UY70YInoTCTr3Dt8xtocRSswey+AWMQJ2NS0xtkiAKjbxH5tSwYHRdbp+kVNbdYaxoulAuBRoPENKTfTO+bQrA==", + "version": "65.6.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-65.6.1.tgz", + "integrity": "sha512-6+vlwJD6fjKKlfNa4vSEx6BriKvLpIzb0Q3+pYyTA37TocA5fHk5NCdVESIZHaq0Fv1va9+NHYTkGWok+IJdtw==", "dev": true, "license": "BSD-3-Clause", "dependencies": { "@es-joy/escodegen": "^5.0.1", - "@es-joy/jsdoccomment": "~1.2.0", + "@es-joy/jsdoccomment": "~1.2.3", "@es-joy/resolve.exports": "1.2.0", - "@typescript-eslint/utils": "^8.72.2", + "@typescript-eslint/utils": "^8.74.0", "are-docs-informative": "^0.1.1", - "comment-parser": "1.4.9", + "comment-parser": "1.4.11", "debug": "^4.4.3", "escape-string-regexp": "^5.0.0", "espree": "^11.2.0", @@ -6390,19 +6738,19 @@ } }, "node_modules/eslint-plugin-react-dom": { - "version": "5.30.4", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-dom/-/eslint-plugin-react-dom-5.30.4.tgz", - "integrity": "sha512-2WrSSVA7fr32AKzc95bR6FVxEM3HhKnEXJNB4cSCVtlWxtbBkETV6kSH4qir19ivOWYJW/5hfeF8jugpAYrTZg==", + "version": "5.30.7", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-dom/-/eslint-plugin-react-dom-5.30.7.tgz", + "integrity": "sha512-Mwkzxrcy5xtqUU6OytqDAZmapNBk1Zif4O2LYAY7R5WnRzC0iW5XgLHCwTzjwz1IXCIQxLOOIHKpmp011Lf7+w==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/ast": "5.30.4", - "@eslint-react/eslint": "5.30.4", - "@eslint-react/jsx": "5.30.4", - "@eslint-react/shared": "5.30.4", - "@eslint-react/var": "5.30.4", - "@typescript-eslint/types": "^8.72.2", - "@typescript-eslint/utils": "^8.72.2", + "@eslint-react/ast": "5.30.7", + "@eslint-react/eslint": "5.30.7", + "@eslint-react/jsx": "5.30.7", + "@eslint-react/shared": "5.30.7", + "@eslint-react/var": "5.30.7", + "@typescript-eslint/types": "^8.74.0", + "@typescript-eslint/utils": "^8.74.0", "compare-versions": "^6.1.1", "ts-pattern": "^5.9.2" }, @@ -6440,19 +6788,19 @@ } }, "node_modules/eslint-plugin-react-jsx": { - "version": "5.30.4", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-jsx/-/eslint-plugin-react-jsx-5.30.4.tgz", - "integrity": "sha512-kq7KVEXQoyoKjCqQe4vYmhY47u+gMRhtZiIDGXNsuCsLWv2JM5/vPP81IAqhGBbranf0Um7pTqHkh/5WWsIE1g==", + "version": "5.30.7", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-jsx/-/eslint-plugin-react-jsx-5.30.7.tgz", + "integrity": "sha512-4AiTF4YvnAMLKU/F0WRi9dp0wSQN8lZiWAuBHXE36zg6wR+j3iVoqXzyOQhF2LLbFB5vUOfjklhNWMlIl9ZlXA==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/ast": "5.30.4", - "@eslint-react/core": "5.30.4", - "@eslint-react/eslint": "5.30.4", - "@eslint-react/jsx": "5.30.4", - "@eslint-react/shared": "5.30.4", - "@typescript-eslint/types": "^8.72.2", - "@typescript-eslint/utils": "^8.72.2" + "@eslint-react/ast": "5.30.7", + "@eslint-react/core": "5.30.7", + "@eslint-react/eslint": "5.30.7", + "@eslint-react/jsx": "5.30.7", + "@eslint-react/shared": "5.30.7", + "@typescript-eslint/types": "^8.74.0", + "@typescript-eslint/utils": "^8.74.0" }, "engines": { "node": ">=20.19.0" @@ -6468,19 +6816,19 @@ } }, "node_modules/eslint-plugin-react-naming-convention": { - "version": "5.30.4", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-naming-convention/-/eslint-plugin-react-naming-convention-5.30.4.tgz", - "integrity": "sha512-eeBn/vkmd7Ks8lvJurPOUHiAWj1Rl0dvRsh8xOyMU3xZEU9Z5yOzxYEvATtnxdacGVNnYqd1a0w57+ZYLldBDg==", + "version": "5.30.7", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-naming-convention/-/eslint-plugin-react-naming-convention-5.30.7.tgz", + "integrity": "sha512-fGMPhFPFVuf70pcrKaTfx/KlQDcNosngWJKf9aiXzsLdgbd2atnupN+vivSKtRfb5GYOmb36a8nN7RmNCihSTA==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/ast": "5.30.4", - "@eslint-react/core": "5.30.4", - "@eslint-react/eslint": "5.30.4", - "@eslint-react/shared": "5.30.4", - "@eslint-react/var": "5.30.4", - "@typescript-eslint/types": "^8.72.2", - "@typescript-eslint/utils": "^8.72.2", + "@eslint-react/ast": "5.30.7", + "@eslint-react/core": "5.30.7", + "@eslint-react/eslint": "5.30.7", + "@eslint-react/shared": "5.30.7", + "@eslint-react/var": "5.30.7", + "@typescript-eslint/types": "^8.74.0", + "@typescript-eslint/utils": "^8.74.0", "ts-pattern": "^5.9.2" }, "engines": { @@ -6507,19 +6855,19 @@ } }, "node_modules/eslint-plugin-react-rsc": { - "version": "5.30.4", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-rsc/-/eslint-plugin-react-rsc-5.30.4.tgz", - "integrity": "sha512-GjUxNrZc07fudaXDlTaq9TZFR6q7SgoWv5p05w1kS+SE4HpYHrlpRs7SzQecKGjdfS2varJwPsp8kdOd3B5Y4g==", + "version": "5.30.7", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-rsc/-/eslint-plugin-react-rsc-5.30.7.tgz", + "integrity": "sha512-QAGw7SGfR29j7l+wTR+3N8mVRiqmkFrqI4W3XqcNE0svfq1WXPgcvgD0DI3kmPzqqfaHDPAoVTM9/nxWLAQxjQ==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/ast": "5.30.4", - "@eslint-react/core": "5.30.4", - "@eslint-react/eslint": "5.30.4", - "@eslint-react/shared": "5.30.4", - "@eslint-react/var": "5.30.4", - "@typescript-eslint/types": "^8.72.2", - "@typescript-eslint/utils": "^8.72.2" + "@eslint-react/ast": "5.30.7", + "@eslint-react/core": "5.30.7", + "@eslint-react/eslint": "5.30.7", + "@eslint-react/shared": "5.30.7", + "@eslint-react/var": "5.30.7", + "@typescript-eslint/types": "^8.74.0", + "@typescript-eslint/utils": "^8.74.0" }, "engines": { "node": ">=20.19.0" @@ -6535,19 +6883,19 @@ } }, "node_modules/eslint-plugin-react-web-api": { - "version": "5.30.4", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-web-api/-/eslint-plugin-react-web-api-5.30.4.tgz", - "integrity": "sha512-BtdG4pGNadQqFAKgqkVVsNDd1NZK2RuUajR6LLgdFiKL7oafAgfUM34IW6qnT05Zxs7dKETAb4e/LRLHT7taqw==", + "version": "5.30.7", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-web-api/-/eslint-plugin-react-web-api-5.30.7.tgz", + "integrity": "sha512-KL5FyFkBeRV7Fzb71Q0EzSMrj/pebOTZP8NtXJ6sbRwA8blH9usTnAVhuxXqIqNM2lhdEUklIoZSPvLI2AqnYA==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/ast": "5.30.4", - "@eslint-react/core": "5.30.4", - "@eslint-react/eslint": "5.30.4", - "@eslint-react/shared": "5.30.4", - "@eslint-react/var": "5.30.4", - "@typescript-eslint/types": "^8.72.2", - "@typescript-eslint/utils": "^8.72.2", + "@eslint-react/ast": "5.30.7", + "@eslint-react/core": "5.30.7", + "@eslint-react/eslint": "5.30.7", + "@eslint-react/shared": "5.30.7", + "@eslint-react/var": "5.30.7", + "@typescript-eslint/types": "^8.74.0", + "@typescript-eslint/utils": "^8.74.0", "ts-pattern": "^5.9.2" }, "engines": { @@ -6564,21 +6912,21 @@ } }, "node_modules/eslint-plugin-react-x": { - "version": "5.30.4", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-x/-/eslint-plugin-react-x-5.30.4.tgz", - "integrity": "sha512-mcanS/zsbalhzoqn3Y3jykrqRL1NHaMprkWWKQfxoLs82cWOF2bWB4R5qGLmpI98k0dTjQXwvjIxQlHH0YvLzQ==", + "version": "5.30.7", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-x/-/eslint-plugin-react-x-5.30.7.tgz", + "integrity": "sha512-K+4FRIm1WFuBm4/OgQa0f0bMEJWComXYOjwXLo0uado3I0LKk8slun/m8IU2YNmd4Nh+KedF0kr4CKiaaYw6NQ==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/ast": "5.30.4", - "@eslint-react/core": "5.30.4", - "@eslint-react/eslint": "5.30.4", - "@eslint-react/jsx": "5.30.4", - "@eslint-react/shared": "5.30.4", - "@eslint-react/var": "5.30.4", - "@typescript-eslint/scope-manager": "^8.72.2", - "@typescript-eslint/types": "^8.72.2", - "@typescript-eslint/utils": "^8.72.2", + "@eslint-react/ast": "5.30.7", + "@eslint-react/core": "5.30.7", + "@eslint-react/eslint": "5.30.7", + "@eslint-react/jsx": "5.30.7", + "@eslint-react/shared": "5.30.7", + "@eslint-react/var": "5.30.7", + "@typescript-eslint/scope-manager": "^8.74.0", + "@typescript-eslint/types": "^8.74.0", + "@typescript-eslint/utils": "^8.74.0", "compare-versions": "^6.1.1", "string-ts": "^2.4.0", "ts-api-utils": "^2.5.0", @@ -6598,14 +6946,11 @@ } }, "node_modules/eslint-plugin-react-you-might-not-need-an-effect": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-you-might-not-need-an-effect/-/eslint-plugin-react-you-might-not-need-an-effect-1.0.2.tgz", - "integrity": "sha512-HgYol2zhH3KbnW9Q4FY/FcIINbsYVL6rwQESChqBC2s9SLWtw1wg05+J7SCrr3BfQpNY2ReYhf8xjpd2JhKJOQ==", + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-you-might-not-need-an-effect/-/eslint-plugin-react-you-might-not-need-an-effect-1.3.3.tgz", + "integrity": "sha512-Rzr7Q+IW9Xi28XqK/pIc4w2Qf2My46ZLPz9LKRl6vHwvceoz3xcOEDylnqZL1tIqvZtp4/ZLn+g4jzJaUXUE0w==", "dev": true, "license": "MIT", - "dependencies": { - "globals": "^16.2.0" - }, "engines": { "node": ">=14.0.0" }, @@ -6616,19 +6961,6 @@ "eslint": ">=8.40.0" } }, - "node_modules/eslint-plugin-react-you-might-not-need-an-effect/node_modules/globals": { - "version": "16.5.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-16.5.0.tgz", - "integrity": "sha512-c/c15i26VrJ4IRt5Z89DnIzCGDn9EcebibhAOjw5ibqEHsE1wLUgkPn9RDmNcUKyU87GeaL633nyJ+pplFR2ZQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/eslint-plugin-unicorn": { "version": "79.0.0", "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-79.0.0.tgz", @@ -6860,13 +7192,13 @@ "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/fast-equals": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-6.2.2.tgz", - "integrity": "sha512-n+XqoarWCgcar0O3om3DeNYx6xTuLWGTUF1bRZ9iuO00tsPepzP1L4V7rqtxxZ4PEya34UCESReimFvxmEVwIA==", + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-6.4.2.tgz", + "integrity": "sha512-1Eo9b9HM+6kuGB6iebz/LJbg6UfUnN2hvig8WVo9E9mj94hFUsEjBD1NKU2CVmgefRh/MwYDbI5drXM0bv89bw==", "dev": true, "license": "MIT", "engines": { @@ -6891,7 +7223,7 @@ "version": "3.1.9", "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.9.tgz", "integrity": "sha512-hS/0Wt3Ya043oKXs0sIxrMpKQITXhMLIrVAKKXi4gozGC9v7YRWVnXIZzjNPTO02M9BdxLCWqK1yRXgNziVyJQ==", - "dev": true, + "devOptional": true, "funding": [ { "type": "github", @@ -6948,13 +7280,13 @@ } }, "node_modules/file-collection": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/file-collection/-/file-collection-6.7.0.tgz", - "integrity": "sha512-IQEIgbRZIJgU91DVQXMjq6zSK0lcwsG/p1Sx0HqfvdsSrCnjtvcME9xsNB5qzNVZH8TyJ9sYJDt1QvIWoVvnNQ==", + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/file-collection/-/file-collection-6.7.1.tgz", + "integrity": "sha512-PtLlZvjeQC5lcpiUCKs6kt/q+LYkc0mL4RMpKK5f8PKyGOKZ1IZwnkKPGhNoHDWRDDkC9N323utZzYjaX8HbIA==", "license": "MIT", "dependencies": { - "@zip.js/zip.js": "^2.8.23", - "cheminfo-types": "^1.10.0" + "@zip.js/zip.js": "^2.25.0", + "cheminfo-types": "^1.16.0" } }, "node_modules/file-entry-cache": { @@ -7038,20 +7370,23 @@ "license": "ISC" }, "node_modules/formatly": { - "version": "0.11.4", - "resolved": "https://registry.npmjs.org/formatly/-/formatly-0.11.4.tgz", - "integrity": "sha512-TeCC10lP8KCgoX+Fe5lryILIT0/Dy+nP0OSVnsuB5CwXoLuOdqxCYlPFF1inR8S/zTy1ec7TjhS2TeRKWzzImA==", + "version": "0.12.3", + "resolved": "https://registry.npmjs.org/formatly/-/formatly-0.12.3.tgz", + "integrity": "sha512-jGtjZLVw6OXvfwqxrxYBc+x+CxmOcMT/KjZagmkrYCQTEtQxJPablRqZPFSNq75drNsHsadjb1djIsE9KE705w==", "dev": true, "license": "MIT", "dependencies": { "fd-package-json": "^2.0.0", - "package-manager-detector": "^1.8.0" + "package-manager-detector": "^1.8.0", + "parse-standard-args": "^0.3.0", + "tinyexec": "^1.3.1", + "zod": "^4.2.0" }, "bin": { "formatly": "bin/index.mjs" }, "engines": { - "node": ">=18.14.0" + "node": "^20.12.0 || >=22" } }, "node_modules/fscreen": { @@ -7060,6 +7395,21 @@ "integrity": "sha512-hlq4+BU0hlPmwsFjwGGzZ+OZ9N/wq9Ljg/sq3pX+2CD7hrJsX9tJgWWK/wiNTFM212CLHWhicOoqwXyZGGetJg==", "license": "MIT" }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -7118,9 +7468,9 @@ "license": "MIT" }, "node_modules/glob": { - "version": "14.0.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-14.0.6.tgz", - "integrity": "sha512-OwXjVP2svY5EyLY75Vek96C8qK43gqrt4xsZ+qSILdnaEiJPXkd62mcfUSNx/TQErQRdu5uM5kF67sfONragKw==", + "version": "14.0.7", + "resolved": "https://registry.npmjs.org/glob/-/glob-14.0.7.tgz", + "integrity": "sha512-ob8P0VbyEjcLG2ycNYmzYhZj65kkcN5b7tt5moGhTq3rkXtuU8MB+i0GIzPtLnSHVF2DkK4M+nQRojDvsOGVJw==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -7311,9 +7661,9 @@ } }, "node_modules/immer": { - "version": "11.2.10", - "resolved": "https://registry.npmjs.org/immer/-/immer-11.2.10.tgz", - "integrity": "sha512-pzANBj+0A9u+prdhBJ14DVi44vCvVUQzBa8DKt6I0AMCokPHtt722BK9IX5bFC70xUSU9TnzLRIJLTGqIzjEFw==", + "version": "11.2.14", + "resolved": "https://registry.npmjs.org/immer/-/immer-11.2.14.tgz", + "integrity": "sha512-Xujh/D+NWN1mM/eJb30ASOOTrI74DA6BV+SdkvfeIvHt8Pk70h0lP5l4LRIvBcEujxbw7LbVTFvcxgGg6pgvKA==", "license": "MIT", "funding": { "type": "opencollective", @@ -7605,7 +7955,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/json-stable-stringify-without-jsonify": { @@ -7639,9 +7989,9 @@ } }, "node_modules/knip": { - "version": "6.45.1", - "resolved": "https://registry.npmjs.org/knip/-/knip-6.45.1.tgz", - "integrity": "sha512-zp3zXKy2cZWiIttdlWU5fisKxVQaLSU6471ej0KGz1GdHdaHxpzTAO/LIyFNc3gU3v1W7LJaqvYumoO3l/u+6A==", + "version": "6.49.0", + "resolved": "https://registry.npmjs.org/knip/-/knip-6.49.0.tgz", + "integrity": "sha512-8Gf4R0xcJx1NdNKfr6gOGgSVBE1flB+KHPKPybDTKJ/hPtnswxyFE7Zpsk71kBvzAKReezakbe3DbQ0qAT4vzA==", "dev": true, "funding": [ { @@ -7655,16 +8005,16 @@ ], "license": "ISC", "dependencies": { - "formatly": "^0.11.4", + "formatly": "^0.12.3", "get-tsconfig": "4.14.3", "jiti": "^2.7.0", - "oxc-parser": "^0.156.0", + "oxc-parser": "^0.160.0", "oxc-resolver": "11.24.2", "picomatch": "^4.0.7", "smol-toml": "^1.9.1", "strip-json-comments": "5.0.3", "tinyglobby": "^0.2.17", - "unbash": "^6.0.4", + "unbash": "^6.0.5", "yaml": "^2.9.1" }, "bin": { @@ -8073,9 +8423,9 @@ } }, "node_modules/mdn-data": { - "version": "2.37.2", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.37.2.tgz", - "integrity": "sha512-rz9YOBGItdSbe7HcSArUbhiAv4SB/4DKRYg96CSFS2CcIYMbUvBtZlzA1NCbk2AdgbmYwMqwNblLpR441lLeiQ==", + "version": "2.38.1", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.38.1.tgz", + "integrity": "sha512-Szm3orFLXzfE0+i+lTqxl37von6JY7Du5PRj7Lw6ScS4NiLVK5565eWJ9JkpImJ26OWkXXgX6r4Q51SZYcLHCw==", "dev": true, "license": "CC0-1.0" }, @@ -8086,9 +8436,9 @@ "license": "ISC" }, "node_modules/mf-parser": { - "version": "3.9.3", - "resolved": "https://registry.npmjs.org/mf-parser/-/mf-parser-3.9.3.tgz", - "integrity": "sha512-MRfY4ROFDk/SCs4iIslpYtGfS1/ovF1K77HIuVBwsAspmaXr3apqKx0bqHmGjyBnCIEokkD8b/UjgkXLgkZi0w==", + "version": "3.9.4", + "resolved": "https://registry.npmjs.org/mf-parser/-/mf-parser-3.9.4.tgz", + "integrity": "sha512-t+Kt9CNadpagQ2fHzIAujwIllaCs3Ja0umpK1XOQIwKjGZxOT2NexvqHFfwLUMqvfru1Z0VMI2vdHuY7cFirvw==", "license": "MIT", "dependencies": { "atom-sorter": "^2.2.1", @@ -9054,6 +9404,24 @@ "url": "https://opencollective.com/napi-postinstall" } }, + "node_modules/napi-windows-process-start-time": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/napi-windows-process-start-time/-/napi-windows-process-start-time-0.1.0.tgz", + "integrity": "sha512-zHxhzKsIFu3elch3eFw69WEUGc79DFhbc3nD/WEOzWL/pFFLZRW13EHnuO0c+0YjncE5uCaS9ICHxOBXkb6vPw==", + "cpu": [ + "x64", + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=20" + } + }, "node_modules/natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", @@ -9127,9 +9495,9 @@ } }, "node_modules/node-releases": { - "version": "2.0.65", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.65.tgz", - "integrity": "sha512-PfvofsGQ+MiOQIPkX9fU8ELUWmy5zL74CdQaph/ismKszfFkfwXaw0cGiwbwym2hT9k5+mdyl8O5WQ1MD8EHmA==", + "version": "2.0.66", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.66.tgz", + "integrity": "sha512-uSMWN9/XtWzxaE0d9ZNHe00Hda6028AXH3WRjTsK71neiPCSeL5nGSD9MXTQX/6Qx0k7Op1AyyinmIUw9fBzrg==", "dev": true, "license": "MIT", "engines": { @@ -9246,13 +9614,13 @@ } }, "node_modules/oxc-parser": { - "version": "0.156.0", - "resolved": "https://registry.npmjs.org/oxc-parser/-/oxc-parser-0.156.0.tgz", - "integrity": "sha512-7JhjgOfZjrIFJH5TlHrpRua864Si5GvwrPr5+eIRCY2sszhKXo6pyhP0HQKOGTtfO4UowwZ72XTGba0+lZphOQ==", + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/oxc-parser/-/oxc-parser-0.160.0.tgz", + "integrity": "sha512-IIc9PydmdnTcH1hucWCHfTUbAuHWPDEs8+WlmW7td3jJnaYrbzvPQgcc99FEJc0gURrVU8EskpAr2VMyJ8VbzA==", "dev": true, "license": "MIT", "dependencies": { - "@oxc-project/types": "^0.156.0" + "@oxc-project/types": "^0.160.0" }, "engines": { "node": "^20.19.0 || >=22.12.0" @@ -9261,25 +9629,25 @@ "url": "https://github.com/sponsors/oxc-project" }, "optionalDependencies": { - "@oxc-parser/binding-android-arm-eabi": "0.156.0", - "@oxc-parser/binding-android-arm64": "0.156.0", - "@oxc-parser/binding-darwin-arm64": "0.156.0", - "@oxc-parser/binding-darwin-x64": "0.156.0", - "@oxc-parser/binding-freebsd-x64": "0.156.0", - "@oxc-parser/binding-linux-arm-gnueabihf": "0.156.0", - "@oxc-parser/binding-linux-arm-musleabihf": "0.156.0", - "@oxc-parser/binding-linux-arm64-gnu": "0.156.0", - "@oxc-parser/binding-linux-arm64-musl": "0.156.0", - "@oxc-parser/binding-linux-ppc64-gnu": "0.156.0", - "@oxc-parser/binding-linux-riscv64-gnu": "0.156.0", - "@oxc-parser/binding-linux-riscv64-musl": "0.156.0", - "@oxc-parser/binding-linux-s390x-gnu": "0.156.0", - "@oxc-parser/binding-linux-x64-gnu": "0.156.0", - "@oxc-parser/binding-linux-x64-musl": "0.156.0", - "@oxc-parser/binding-openharmony-arm64": "0.156.0", - "@oxc-parser/binding-win32-arm64-msvc": "0.156.0", - "@oxc-parser/binding-win32-ia32-msvc": "0.156.0", - "@oxc-parser/binding-win32-x64-msvc": "0.156.0" + "@oxc-parser/binding-android-arm-eabi": "0.160.0", + "@oxc-parser/binding-android-arm64": "0.160.0", + "@oxc-parser/binding-darwin-arm64": "0.160.0", + "@oxc-parser/binding-darwin-x64": "0.160.0", + "@oxc-parser/binding-freebsd-x64": "0.160.0", + "@oxc-parser/binding-linux-arm-gnueabihf": "0.160.0", + "@oxc-parser/binding-linux-arm-musleabihf": "0.160.0", + "@oxc-parser/binding-linux-arm64-gnu": "0.160.0", + "@oxc-parser/binding-linux-arm64-musl": "0.160.0", + "@oxc-parser/binding-linux-ppc64-gnu": "0.160.0", + "@oxc-parser/binding-linux-riscv64-gnu": "0.160.0", + "@oxc-parser/binding-linux-riscv64-musl": "0.160.0", + "@oxc-parser/binding-linux-s390x-gnu": "0.160.0", + "@oxc-parser/binding-linux-x64-gnu": "0.160.0", + "@oxc-parser/binding-linux-x64-musl": "0.160.0", + "@oxc-parser/binding-openharmony-arm64": "0.160.0", + "@oxc-parser/binding-win32-arm64-msvc": "0.160.0", + "@oxc-parser/binding-win32-ia32-msvc": "0.160.0", + "@oxc-parser/binding-win32-x64-msvc": "0.160.0" } }, "node_modules/oxc-resolver": { @@ -9353,9 +9721,9 @@ "license": "BlueOak-1.0.0" }, "node_modules/package-manager-detector": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-1.9.0.tgz", - "integrity": "sha512-zAMfbta9nPA8AKkA4WdmNAT8R8s6Dk0/xwPsqNnRidMFcLo1YkLuPDTgs2f64XdzS8vbLNnoJ+uUIkgbz7oRHA==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-1.10.0.tgz", + "integrity": "sha512-FlC7wr4YYRfVyk1E3u3qwi7Vh6qVvPowYkHQSDEoSKCN0o0F7w0TzNfJSBb/1rwEQbU3c96Exx/2vMYiCIx+wQ==", "dev": true, "license": "MIT" }, @@ -9415,6 +9783,27 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/parse-standard-args": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/parse-standard-args/-/parse-standard-args-0.3.0.tgz", + "integrity": "sha512-SH663jox6V7vxSZgroZJw9DgvSbcNHWOnjHjgvsPyj0/+OIbFraNJyDQbA+ATaAUIi0OGAmV27bIGUgcAEM41g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@standard-schema/spec": "^1.1.0" + }, + "engines": { + "node": ">=18.7.0" + }, + "peerDependencies": { + "@clack/prompts": ">=0.11" + }, + "peerDependenciesMeta": { + "@clack/prompts": { + "optional": true + } + } + }, "node_modules/parse-statements": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/parse-statements/-/parse-statements-1.0.11.tgz", @@ -9502,9 +9891,9 @@ "license": "MIT" }, "node_modules/path-scurry": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-3.0.0.tgz", - "integrity": "sha512-1pTbQqH1wIwMi/eleQ5leFTTCkzFsPcgXNjwOA8YGGW/W4/kHT3dssE7Z6NH+zuqNLOzOB0uaD61yl7cAcVhgg==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-3.0.3.tgz", + "integrity": "sha512-Ie3c3F+7WJOUCr0r8V8uEunY5Sj4PGFDoBZvFw7JmHJs/+H5GZK+GsIM8tHMcZy7c27Zj+U1NOcVzqlC7tBJpg==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -9519,9 +9908,9 @@ } }, "node_modules/path-scurry/node_modules/lru-cache": { - "version": "11.5.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz", - "integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==", + "version": "11.5.4", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.4.tgz", + "integrity": "sha512-B8nJCTi8JuSaDBg0tBdnImV6j5O2CXaqKfdj24ZTCFbyivN8KZ2Z+RL3aHjwJAfLutD9cNnObG4SIgW4gMufiw==", "dev": true, "license": "BlueOak-1.0.0", "engines": { @@ -9603,9 +9992,9 @@ } }, "node_modules/postcss": { - "version": "8.5.33", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.33.tgz", - "integrity": "sha512-RVHEU9/Pp1Fnjr/MpAJsZoADukCKhfIi15OunEYiGktIkYLkPVvC1sioWolGDS7XByMTx9m/IGbro0Js13zhnQ==", + "version": "8.5.34", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.34.tgz", + "integrity": "sha512-P1Qzj0XXZjMda74C7qiVnBG90UKNbyNUAOeQRBW8X63RsIMV57gevRqjnkELdwtZ/S2/uQFksJhmwuN8xShLPw==", "dev": true, "funding": [ { @@ -9625,7 +10014,7 @@ "dependencies": { "nanoid": "^3.3.20", "picocolors": "^1.1.1", - "source-map-js": "^1.2.2" + "source-map-js": "^1.2.4" }, "engines": { "node": "^10 || ^12 || >=14" @@ -9979,13 +10368,13 @@ } }, "node_modules/react-dropzone": { - "version": "20.2.0", - "resolved": "https://registry.npmjs.org/react-dropzone/-/react-dropzone-20.2.0.tgz", - "integrity": "sha512-FRlcSp6UFT9Etg57U4+g6O6qF/jH7sUh2Hz67lQlrZJa/3FjfAFvw7DwDSItiG2vBUXTdh2wroEwXPPg7o/jkg==", + "version": "20.2.1", + "resolved": "https://registry.npmjs.org/react-dropzone/-/react-dropzone-20.2.1.tgz", + "integrity": "sha512-8ldzI42a+iz6jlC5t0HoOO5ce65dU8ZGo8ZpesL2E57JByC8LBUieMrkGj97YYfgMaYKwkhpkfYxKOCKAekywA==", "license": "MIT", "dependencies": { "attr-accept": "^4.0.1", - "file-selector": "^5.0.1" + "file-selector": "^5.0.2" }, "engines": { "node": ">= 22" @@ -10016,9 +10405,9 @@ } }, "node_modules/react-fast-compare": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.3.tgz", - "integrity": "sha512-WY9YHI1jjYC5a2lNRfHbeaNVQqiY+mMKWBSw1mPU0FgevlxI6V7izhNYz7Vp5ieFxetuRb6RmihPQxXEzg7oWQ==", + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.4.tgz", + "integrity": "sha512-YbkgZfjvuokdt6zR8Oki8Bt4QXAZim/9HKSUr5J23GVyX2o8sYD/JlKSFrJvEFIPjotWvkGY7DgUS+udyr8cEw==", "license": "MIT" }, "node_modules/react-full-screen": { @@ -10165,9 +10554,9 @@ "license": "0BSD" }, "node_modules/react-router": { - "version": "7.18.5", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.18.5.tgz", - "integrity": "sha512-dTgvcXDOrLPrlLHrcZAqWveiK1hMSqN+rGAJzegP8HtmNkfRxOoshGWBNX3ZJ0cZjOHkRdlUJtaIhZMLLyGyPw==", + "version": "7.18.7", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.18.7.tgz", + "integrity": "sha512-nXl672FFobymVY/Ywbo0DnlXV/+VXOB5pOslCeuVqoegwwL7sau2yASdyGoWHvPRxAoqUBrAiFZRdli4nT7Wow==", "dev": true, "license": "MIT", "dependencies": { @@ -10178,23 +10567,27 @@ "node": ">=20.0.0" }, "peerDependencies": { + "@types/react": ">=18", "react": ">=18", "react-dom": ">=18" }, "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, "react-dom": { "optional": true } } }, "node_modules/react-router-dom": { - "version": "7.18.5", - "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.18.5.tgz", - "integrity": "sha512-9HcfDMU6JJ/fp6gJZYGwNE6RknVGS4kBjH1HkNw959mCJi70TVwdipQWv2FEol9uGpi+SZTFtVpJPtEQfayeOw==", + "version": "7.18.7", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.18.7.tgz", + "integrity": "sha512-EBWBKV1TjvScebAIvidowN0Bfh9Bg7p54IDBRVJkFXz0wBKTBblDNLxUvCewx/GdzTiC7VWV/MOjWqsLWEMygA==", "dev": true, "license": "MIT", "dependencies": { - "react-router": "7.18.5" + "react-router": "7.18.7" }, "engines": { "node": ">=20.0.0" @@ -10294,7 +10687,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "dev": true, + "devOptional": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -10382,13 +10775,13 @@ } }, "node_modules/rolldown": { - "version": "1.2.19", - "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.19.tgz", - "integrity": "sha512-QIiV1J9d0pzN4jeeTH4sjPy0AZ6cAy2cG0ExeoE1+U8Rvj+hR3gYkokx0YbeUNGlZqiQJJ2utcETe0oKXwzsuA==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.3.4.tgz", + "integrity": "sha512-p2rq4bfBmF0M6yaR8+A89fbkBQynZI2fxUW4G07eq9kpctAkpo7q5BZ4X4Mo4XZ7HHROu33cX9PeopUFN6u+2Q==", "dev": true, "license": "MIT", "dependencies": { - "@oxc-project/types": "=0.156.0", + "@oxc-project/types": "=0.160.0", "@rolldown/pluginutils": "^1.0.0" }, "bin": { @@ -10398,22 +10791,22 @@ "node": "^20.19.0 || >=22.12.0" }, "optionalDependencies": { - "@rolldown/binding-android-arm-eabi": "1.2.19", - "@rolldown/binding-android-arm64": "1.2.19", - "@rolldown/binding-darwin-arm64": "1.2.19", - "@rolldown/binding-darwin-x64": "1.2.19", - "@rolldown/binding-freebsd-x64": "1.2.19", - "@rolldown/binding-linux-arm-gnueabihf": "1.2.19", - "@rolldown/binding-linux-arm64-gnu": "1.2.19", - "@rolldown/binding-linux-arm64-musl": "1.2.19", - "@rolldown/binding-linux-ppc64-gnu": "1.2.19", - "@rolldown/binding-linux-s390x-gnu": "1.2.19", - "@rolldown/binding-linux-x64-gnu": "1.2.19", - "@rolldown/binding-linux-x64-musl": "1.2.19", - "@rolldown/binding-openharmony-arm64": "1.2.19", - "@rolldown/binding-wasm32-wasi": "1.2.19", - "@rolldown/binding-win32-arm64-msvc": "1.2.19", - "@rolldown/binding-win32-x64-msvc": "1.2.19" + "@rolldown/binding-android-arm-eabi": "1.3.4", + "@rolldown/binding-android-arm64": "1.3.4", + "@rolldown/binding-darwin-arm64": "1.3.4", + "@rolldown/binding-darwin-x64": "1.3.4", + "@rolldown/binding-freebsd-x64": "1.3.4", + "@rolldown/binding-linux-arm-gnueabihf": "1.3.4", + "@rolldown/binding-linux-arm64-gnu": "1.3.4", + "@rolldown/binding-linux-arm64-musl": "1.3.4", + "@rolldown/binding-linux-ppc64-gnu": "1.3.4", + "@rolldown/binding-linux-s390x-gnu": "1.3.4", + "@rolldown/binding-linux-x64-gnu": "1.3.4", + "@rolldown/binding-linux-x64-musl": "1.3.4", + "@rolldown/binding-openharmony-arm64": "1.3.4", + "@rolldown/binding-wasm32-wasi": "1.3.4", + "@rolldown/binding-win32-arm64-msvc": "1.3.4", + "@rolldown/binding-win32-x64-msvc": "1.3.4" } }, "node_modules/safe-buffer": { @@ -10724,13 +11117,13 @@ } }, "node_modules/source-map-js": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", - "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.3.0.tgz", + "integrity": "sha512-pdUVfIWcK0kCgK831ibqkZDcL7I9zljjOu0TQFnA+fiQ6y1CYqYB7RkTOHHO45FGMg5P/Mvk/+4ToQ7gAYAL5Q==", "dev": true, "license": "BSD-3-Clause", "engines": { - "node": ">=0.10.0" + "node": ">=6.0.0" } }, "node_modules/spdx-exceptions": { @@ -10853,9 +11246,9 @@ } }, "node_modules/stylelint": { - "version": "18.0.0", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-18.0.0.tgz", - "integrity": "sha512-kI10GsHXQvsH/AcklVZdQgwDuxtHi+A+h1Ujzd7h9LDf3e5jQiLQkWFlPtpynX3E6oVWHG1wo9v6dL0Mr+nnSA==", + "version": "18.1.0", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-18.1.0.tgz", + "integrity": "sha512-QbF/IY7KY6lZRhYU/vmPU1KYxc71wgkXdgeptqzTh3lbnZps6WHaskfPjpL6Fh4JaCzwkKKitVcMrpfQTSwwPA==", "dev": true, "funding": [ { @@ -10871,20 +11264,20 @@ "dependencies": { "@csstools/css-calc": "^3.4.3", "@csstools/css-parser-algorithms": "^4.0.2", - "@csstools/css-syntax-patches-for-csstree": "^1.1.15", + "@csstools/css-syntax-patches-for-csstree": "^1.1.16", "@csstools/css-tokenizer": "^4.0.2", "@csstools/media-query-list-parser": "^5.0.2", "@csstools/selector-resolve-nested": "^4.0.2", "@csstools/selector-specificity": "^6.0.1", - "colord": "^2.10.0", + "colord": "^2.13.0", "cosmiconfig": "^10.0.1", "css-tree": "^3.2.1", "ignore": "^7.0.14", "import-meta-resolve": "^4.2.0", "picomatch": "^4.0.7", - "postcss": "^8.5.31", + "postcss": "^8.5.33", "postcss-safe-parser": "^7.1.0", - "postcss-selector-parser": "^7.1.7", + "postcss-selector-parser": "^7.2.1", "postcss-value-parser": "^4.2.0", "tinyglobby": "^0.2.17", "write-file-atomic": "^8.0.0" @@ -10897,9 +11290,9 @@ } }, "node_modules/stylelint-config-recommended": { - "version": "19.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-19.0.0.tgz", - "integrity": "sha512-Y15XB19RManqBOpbRC42tF8R/Hfe314xYLzedRlnnYxYzZ0777RakDQIGcqYfrz9jWGoVyjaGTdpSl9F+roOOw==", + "version": "19.1.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-19.1.0.tgz", + "integrity": "sha512-DurXBzvz2cmVX2rM1JMDCbPIq+MRKhIPY743lFk1DjUoyx7giLfN+HR8Hilw+kE2nE5blaXhVf66edvQGnLdwA==", "dev": true, "funding": [ { @@ -10920,9 +11313,9 @@ } }, "node_modules/stylelint-config-standard": { - "version": "41.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-41.0.0.tgz", - "integrity": "sha512-EJIvMOMARieBOLhw2yzN7BaVFiIY2Ex8CkbXahxP6tQZK41+N8OVUo57Uvx9iTr862h+thqDoDH7vQbeth1ryg==", + "version": "41.1.0", + "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-41.1.0.tgz", + "integrity": "sha512-Z7PiQpBffnqu7U5h/FeBWCYZsRsZXa1J8MjkpgcciphLJULysDcu2jKXuSrPgnQGow9x0T+pOfblqRA5cSE6aw==", "dev": true, "funding": [ { @@ -10973,9 +11366,9 @@ } }, "node_modules/stylelint/node_modules/ignore": { - "version": "7.0.16", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.16.tgz", - "integrity": "sha512-52N+Y4HRMOJmbLmr+DqO4iSRyyB7N52gm7PWCT6h0p978+oKbqHCB7gIJIwZvBUsjlSdWbrBFqUSmIFNZMpn0A==", + "version": "7.0.17", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.17.tgz", + "integrity": "sha512-0c3zcBRlWmcKhcIQWckzkYncJRv5HHB8O32wO/FcWL8DDXWDJgiEF6SX9ThbTv5h/eZ+xJK+VvDjjQ+cQJhp3Q==", "dev": true, "license": "MIT", "engines": { @@ -11026,9 +11419,9 @@ "license": "MIT" }, "node_modules/tinybench": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-6.2.3.tgz", - "integrity": "sha512-Al01C2JIBnO2CXCAPbpAl6sUiOZHeThGtHYNTa51JRw9PyWOCdr+9Ong05R4qg/Sk3+H645E8ov1h2c58ityNw==", + "version": "6.2.5", + "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-6.2.5.tgz", + "integrity": "sha512-b/8GRMdnY4cqkfCLyaFpTGIv1qwfi3oT0mWaepwT++6Z/ZrYehNfZZ2JDKVLKGhNoEkS3IIB1ELtCT0XS5DtOA==", "dev": true, "license": "MIT", "engines": { @@ -11052,9 +11445,9 @@ "license": "MIT" }, "node_modules/tinyexec": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.3.1.tgz", - "integrity": "sha512-GCvB3aoys96IuDFBMcTB46JOR6mdMtAToqwiW8JlWhsoh1mhHi/xn9ss/Dg7N555GiJyEt2qzoG/NHCwM6h1EA==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.4.0.tgz", + "integrity": "sha512-PV6lIcJQh57aFeJDwx16JNHmgFRh5xguzallrDW1qe8nAghYgr5MKz2K5k7wEyV/ygZhdnIAP8+HZSarHPBCsg==", "dev": true, "license": "MIT", "engines": { @@ -11176,16 +11569,16 @@ } }, "node_modules/typescript-eslint": { - "version": "8.73.0", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.73.0.tgz", - "integrity": "sha512-+EnKy9rkYPun4l+kG2bDuYWQ6y1tGVgdR/tY1U9AC6h21CjEwOoc7gsjwe0FXB8uWFzk4QiCFbuRWgX758PiAg==", + "version": "8.74.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.74.0.tgz", + "integrity": "sha512-OsWQlsedt1ZpZXfZZMNK3m4SoQONFFcy4h/uRznsCeRfVuEic3gh4KGUs2pJJ5o0Jj0Jr7keUHQGN1Ns9aDw7Q==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.73.0", - "@typescript-eslint/parser": "8.73.0", - "@typescript-eslint/typescript-estree": "8.73.0", - "@typescript-eslint/utils": "8.73.0" + "@typescript-eslint/eslint-plugin": "8.74.0", + "@typescript-eslint/parser": "8.74.0", + "@typescript-eslint/typescript-estree": "8.74.0", + "@typescript-eslint/utils": "8.74.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -11206,9 +11599,9 @@ "license": "MIT" }, "node_modules/unbash": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/unbash/-/unbash-6.0.4.tgz", - "integrity": "sha512-t3OptUArewg9OpYGDskTSlxhyLDahfmZ4d36hE44Efb1y3HRLLpzsVqwH+AwBVymP4t7pP71xN+nnduudn2awA==", + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/unbash/-/unbash-6.0.5.tgz", + "integrity": "sha512-5P8o+nYRueKpHxmemofYqZRZCSWAi+Tqy31MQS8l/sT54Z+Axn55N9CnWPo19BxxJD4wYYf6RqlcURhWkrFXew==", "dev": true, "license": "ISC", "engines": { @@ -11370,16 +11763,16 @@ } }, "node_modules/vite": { - "version": "8.3.8", - "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.8.tgz", - "integrity": "sha512-LzOn3h9rG/0vhLdXrV4yJ4QFA9eEoqCl+Yx+kGJd7aB9w6nfNgVHKSYwLPZUHrz4ZGa+t+kXjV9itvcHDLQouA==", + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/vite/-/vite-8.4.0.tgz", + "integrity": "sha512-X2nUJg+9cutlz3hzqyO6p+WTwk9H257DjwAEf9EQYUFrQbDItmetadi9gYmb+l7VDy4r3VXLUnmLTwuPmzejDw==", "dev": true, "license": "MIT", "dependencies": { "lightningcss": "^1.33.0", "picomatch": "^4.0.7", - "postcss": "^8.5.32", - "rolldown": "~1.2.18", + "postcss": "^8.5.33", + "rolldown": "~1.3.2", "tinyglobby": "^0.2.17" }, "bin": { @@ -11392,7 +11785,8 @@ "url": "https://github.com/vitejs/vite?sponsor=1" }, "optionalDependencies": { - "fsevents": "~2.3.3" + "fsevents": "~2.3.3", + "napi-windows-process-start-time": "^0.1.0" }, "peerDependencies": { "@types/node": "^20.19.0 || >=22.12.0", @@ -11447,30 +11841,15 @@ } } }, - "node_modules/vite/node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/vitest": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-5.1.1.tgz", - "integrity": "sha512-trVmzUFOSraCZcI3uZIMD5FqBh4atFkC/XuJP/IU7qtyQay0FCs3Ia+0QiQ2JJwGyWG/xrcBoJNel2+O7kEZ0g==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-5.1.2.tgz", + "integrity": "sha512-VIa2wXV208WraXUbzH+dQUrGcFpPuaiRA8HlhXS8R6/sy9cynw6OMqGj8fmAlH1hot7huTCtWUE14+FdXU3eLw==", "dev": true, "license": "MIT", "dependencies": { "@types/chai": "^5.2.2", - "@vitest/mocker": "5.1.1", + "@vitest/mocker": "5.1.2", "chai": "^6.3.0", "es-module-lexer": "^2.3.2", "expect-type": "^1.4.0", @@ -11496,12 +11875,12 @@ "@edge-runtime/vm": "*", "@opentelemetry/api": "^1.9.0", "@types/node": "^22.0.0 || >=24.0.0", - "@vitest/browser-playwright": "5.1.1", - "@vitest/browser-preview": "5.1.1", + "@vitest/browser-playwright": "5.1.2", + "@vitest/browser-preview": "5.1.2", "@vitest/browser-webdriverio": "^5.0.0-beta.5 || >=5.0.0", - "@vitest/coverage-istanbul": "5.1.1", - "@vitest/coverage-v8": "5.1.1", - "@vitest/ui": "5.1.1", + "@vitest/coverage-istanbul": "5.1.2", + "@vitest/coverage-v8": "5.1.2", + "@vitest/ui": "5.1.2", "happy-dom": "*", "jsdom": "*", "vite": "^6.4.0 || ^7.0.0 || ^8.0.0" diff --git a/package.json b/package.json index 22dcfc1ce..3c3d5c09a 100644 --- a/package.json +++ b/package.json @@ -62,19 +62,19 @@ "dependencies": { "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.1", - "@hookform/resolvers": "^7.0.7", - "@tanstack/react-form": "^1.33.5", - "@tanstack/react-store": "^0.11.2", + "@hookform/resolvers": "^7.0.10", + "@tanstack/react-form": "^1.33.6", + "@tanstack/react-store": "^0.11.4", "@tanstack/react-table": "^9.3.1", "@zakodium/nmr-types": "^0.5.37", "@zakodium/nmrium-core": "^0.7.87", "@zakodium/nmrium-core-plugins": "^0.7.127", "@zakodium/pdnd-esm": "^1.2.0", "@zakodium/utils": "^0.7.0", - "@zip.js/zip.js": "^2.25.0", + "@zip.js/zip.js": "^2.25.1", "cheminfo-font": "^1.29.0", "cheminfo-types": "^1.16.0", - "colord": "^2.14.0", + "colord": "^2.14.1", "d3-array": "^3.2.5", "d3-scale": "^4.0.3", "d3-zoom": "^3.0.1", @@ -82,12 +82,12 @@ "eventemitter3": "^5.0.4", "expand-chemical-groups": "^1.0.0", "fifo-logger": "^2.0.1", - "file-collection": "^6.7.0", + "file-collection": "^6.7.1", "file-saver": "^2.0.5", "get-jpaths": "^1.4.1", - "immer": "^11.2.10", + "immer": "^11.2.14", "lodash": "^4.18.1", - "mf-parser": "^3.9.3", + "mf-parser": "^3.9.4", "ml-array-mean": "^2.0.0", "ml-array-median": "^2.0.0", "ml-conrec": "^6.0.0", @@ -102,7 +102,7 @@ "openchemlib-utils": "^8.20.1", "papaparse": "^5.7.1", "react-d3-utils": "^3.1.2", - "react-dropzone": "^20.2.0", + "react-dropzone": "^20.2.1", "react-error-boundary": "^6.1.6", "react-hook-form": "^7.92.0", "react-icons": "^5.7.0", @@ -120,9 +120,9 @@ "zod": "^4.6.7" }, "devDependencies": { - "@blueprintjs/core": "^6.23.0", - "@blueprintjs/icons": "^6.16.0", - "@blueprintjs/select": "^6.4.2", + "@blueprintjs/core": "^6.23.3", + "@blueprintjs/icons": "^6.17.0", + "@blueprintjs/select": "^6.4.5", "@playwright/test": "^1.65.1", "@simbathesailor/use-what-changed": "^2.0.0", "@types/d3-array": "^3.2.2", @@ -130,38 +130,38 @@ "@types/d3-zoom": "^3.0.9", "@types/dlv": "^1.1.5", "@types/file-saver": "^2.0.7", - "@types/lodash": "^4.17.27", - "@types/node": "^26.6.6", + "@types/lodash": "^4.17.28", + "@types/node": "^26.6.11", "@types/numeral": "^2.0.5", "@types/papaparse": "^5.5.2", - "@types/react": "^19.3.0", + "@types/react": "^19.3.3", "@types/react-dom": "^19.3.0", "@vitejs/plugin-react": "^6.3.0", - "@vitest/coverage-v8": "^5.1.1", + "@vitest/coverage-v8": "^5.1.2", "@zakodium/tsconfig": "^1.0.5", "cross-env": "^10.1.0", - "cspell": "^10.5.2", - "eslint": "^10.15.0", + "cspell": "^10.6.0", + "eslint": "^10.16.0", "eslint-config-cheminfo-react": "^21.0.3", "eslint-config-cheminfo-typescript": "^23.0.0", - "knip": "^6.45.1", + "knip": "^6.49.0", "modern-normalize": "^3.0.1", - "postcss": "^8.5.33", + "postcss": "^8.5.34", "postcss-styled-syntax": "^0.7.4", "prettier": "^3.10.1", "rc-menu": "^9.16.1", "react": "^19.3.1", "react-dom": "^19.3.1", - "react-router-dom": "^7.18.5", + "react-router-dom": "^7.18.7", "rimraf": "^6.1.4", "serve": "^14.2.8", - "stylelint": "^18.0.0", - "stylelint-config-standard": "^41.0.0", + "stylelint": "^18.1.0", + "stylelint-config-standard": "^41.1.0", "typescript": "~6.0.3", - "vite": "^8.3.8", - "vitest": "^5.1.1" + "vite": "^8.4.0", + "vitest": "^5.1.2" }, "volta": { - "node": "24.21.0" + "node": "24.22.3" } } From e136de17732e48551a6325ac147473e546eb14fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Mon, 30 Nov 2026 08:51:11 +0100 Subject: [PATCH 19/36] fix eslint --- package.json | 2 +- src/component/elements/ToolbarPopoverItem.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3c3d5c09a..bb0025b22 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "clean-lib": "rimraf lib", "cspell": "cspell lint \"**/*.tsx\"", "dev": "vite --host localhost --port 3000 --open", - "eslint": "eslint . --cache --max-warnings=56", + "eslint": "eslint . --cache --max-warnings=55", "eslint-fix": "node --run eslint -- --fix", "install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm start", "knip": "knip", diff --git a/src/component/elements/ToolbarPopoverItem.tsx b/src/component/elements/ToolbarPopoverItem.tsx index 7f213ddb6..6203f0fa3 100644 --- a/src/component/elements/ToolbarPopoverItem.tsx +++ b/src/component/elements/ToolbarPopoverItem.tsx @@ -11,7 +11,7 @@ export interface ToolbarPopoverMenuItem extends MenuItemProps, Pick { menuItemType?: 'item'; data?: T; - tooltip?: string | TooltipHelpContentProps; + tooltip?: TooltipHelpContentProps; } export interface ToolbarPopoverMenuDivider extends MenuDividerProps { From e3487eb0249bb9b5a7480ec079ad4c0db0e1c367 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Mon, 30 Nov 2026 11:41:16 +0100 Subject: [PATCH 20/36] improve access to NMR viewer and axes --- .../1d-2d/components/SVGRootContainer.tsx | 3 +++ src/component/main/NMRiumViewer.tsx | 6 ++--- test-e2e/NmriumPage/NmriumPageViewer.ts | 25 ++++++++++++++++++- test-e2e/NmriumPage/index.ts | 6 ++--- test-e2e/panels/matrixgeneration.test.ts | 4 +-- test-e2e/panels/ranges.test.ts | 22 ++++++---------- test-e2e/panels/structures.test.ts | 3 +-- 7 files changed, 42 insertions(+), 27 deletions(-) diff --git a/src/component/1d-2d/components/SVGRootContainer.tsx b/src/component/1d-2d/components/SVGRootContainer.tsx index ba3231884..a34c2c6f3 100644 --- a/src/component/1d-2d/components/SVGRootContainer.tsx +++ b/src/component/1d-2d/components/SVGRootContainer.tsx @@ -46,6 +46,9 @@ export function SVGRootContainer(props: SVGRootContainerProps) { id={id} x={x} y={y} + // Only Firefox sets this role automatically to SVG elements. + role="graphics-document" + aria-label="NMR graph" width={width} height={height} viewBox={viewBox} diff --git a/src/component/main/NMRiumViewer.tsx b/src/component/main/NMRiumViewer.tsx index f9c1d97d3..b10c2e862 100644 --- a/src/component/main/NMRiumViewer.tsx +++ b/src/component/main/NMRiumViewer.tsx @@ -79,9 +79,9 @@ export function NMRiumViewer(props: NMRiumViewerProps) { } return ( -
-
+ ); } diff --git a/test-e2e/NmriumPage/NmriumPageViewer.ts b/test-e2e/NmriumPage/NmriumPageViewer.ts index 4ddcd6bd2..4331c4db6 100644 --- a/test-e2e/NmriumPage/NmriumPageViewer.ts +++ b/test-e2e/NmriumPage/NmriumPageViewer.ts @@ -11,10 +11,33 @@ interface MoveMouseOptions { export class NmriumPageViewer { readonly page: Page; readonly locator: Locator; + readonly graph: Locator; constructor(page: Page) { this.page = page; - this.locator = page.getByTestId('viewer'); + this.locator = page.getByRole('region', { + name: 'NMR viewer', + exact: true, + }); + // There is no cross-browser compatible role. Firefox sets "graphics-document", but other browsers don't. + this.graph = this.locator.getByRole('graphics-document' as any, { + name: 'NMR graph', + exact: true, + }); + } + + get horizontalAxis() { + return this.graph.getByRole('group', { + name: 'Horizontal axis', + exact: true, + }); + } + + get verticalAxis() { + return this.graph.getByRole('group', { + name: 'Vertical axis', + exact: true, + }); } async getBoundingBox() { diff --git a/test-e2e/NmriumPage/index.ts b/test-e2e/NmriumPage/index.ts index e03035d2e..d0c6bae34 100644 --- a/test-e2e/NmriumPage/index.ts +++ b/test-e2e/NmriumPage/index.ts @@ -203,9 +203,9 @@ export default class NmriumPage { } async assertOneDimensionXScaleDomain(min: number, max: number) { - const xTickLabels = this.page - .getByRole('group', { name: 'Horizontal axis', exact: true }) - .getByTestId('axis-primary-tick-label'); + const xTickLabels = this.viewer.horizontalAxis.getByTestId( + 'axis-primary-tick-label', + ); const firstTick = xTickLabels.first(); const lastTick = xTickLabels.last(); diff --git a/test-e2e/panels/matrixgeneration.test.ts b/test-e2e/panels/matrixgeneration.test.ts index 272eef23c..ad6d795ff 100644 --- a/test-e2e/panels/matrixgeneration.test.ts +++ b/test-e2e/panels/matrixgeneration.test.ts @@ -42,9 +42,7 @@ test('Matrix generation panel', async ({ page }) => { ); await expect( - nmrium.page - .getByRole('group', { name: 'Horizontal axis' }) - .getByTestId('axis-primary-tick-label'), + nmrium.viewer.horizontalAxis.getByTestId('axis-primary-tick-label'), ).toContainText(expectedTicks); }); }); diff --git a/test-e2e/panels/ranges.test.ts b/test-e2e/panels/ranges.test.ts index e442980dd..2e7c1e9c0 100644 --- a/test-e2e/panels/ranges.test.ts +++ b/test-e2e/panels/ranges.test.ts @@ -42,9 +42,9 @@ async function shiftSignal(nmrium: NmriumPage) { await inputLocator.selectText(); await inputLocator.fill('100'); await inputLocator.press('Enter'); - const trackerLocator = nmrium.page - .getByRole('group', { name: 'Horizontal axis' }) - .getByText('100', { exact: true }); + const trackerLocator = nmrium.viewer.horizontalAxis.getByText('100', { + exact: true, + }); await expect(trackerLocator).toHaveCount(1); } @@ -464,14 +464,10 @@ test('2D spectra reference change', async ({ page }) => { await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); await expect( - nmrium.page - .getByRole('group', { name: 'Horizontal axis' }) - .getByTestId('axis-primary-tick-label'), + nmrium.viewer.horizontalAxis.getByTestId('axis-primary-tick-label'), ).toContainText(xAxisDefault.map(String)); await expect( - nmrium.page - .getByRole('group', { name: 'Vertical axis' }) - .getByTestId('axis-primary-tick-label'), + nmrium.viewer.verticalAxis.getByTestId('axis-primary-tick-label'), ).toContainText(yAxisDefault.map(String)); }); @@ -514,14 +510,10 @@ test('2D spectra reference change', async ({ page }) => { const newXAxis = xAxisDefault.map((n) => String(n + xShift)); const newYAxis = yAxisDefault.map((n) => String(n + yShift)); await expect( - nmrium.page - .getByRole('group', { name: 'Horizontal axis' }) - .getByTestId('axis-primary-tick-label'), + nmrium.viewer.horizontalAxis.getByTestId('axis-primary-tick-label'), ).toContainText(newXAxis); await expect( - nmrium.page - .getByRole('group', { name: 'Vertical axis' }) - .getByTestId('axis-primary-tick-label'), + nmrium.viewer.verticalAxis.getByTestId('axis-primary-tick-label'), ).toContainText(newYAxis); }); }); diff --git a/test-e2e/panels/structures.test.ts b/test-e2e/panels/structures.test.ts index 328f45350..c17cdcded 100644 --- a/test-e2e/panels/structures.test.ts +++ b/test-e2e/panels/structures.test.ts @@ -534,8 +534,7 @@ test('check callbacks count on changing structures', async ({ page }) => { await nmrium.page .getByRole('button', { name: 'Move molecule' }) .dragTo( - nmrium.page - .getByRole('group', { name: 'Horizontal axis' }) + nmrium.viewer.horizontalAxis .getByTestId('axis-primary-tick-label') .nth(1), { force: true }, From a444423e811a8fbdb8e03645bc96c3a96ca839da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Mon, 30 Nov 2026 15:41:42 +0100 Subject: [PATCH 21/36] improve access to NMR viewer and axes and enable webkit --- .github/workflows/e2e.yml | 1 - package-lock.json | 33 +++++-------------- package.json | 2 +- .../1d-2d/components/SVGRootContainer.tsx | 4 +-- test-e2e/NmriumPage/NmriumPageViewer.ts | 2 +- test-e2e/core/basic.test.ts | 16 ++++----- test-e2e/panels/autoassignment.test.ts | 2 +- test-e2e/panels/filters.test.ts | 4 +-- test-e2e/panels/matrixgeneration.test.ts | 6 ++-- test-e2e/panels/peaks.test.ts | 4 +-- test-e2e/panels/ranges.test.ts | 4 +-- test-e2e/panels/spectra.test.ts | 8 ++--- 12 files changed, 34 insertions(+), 52 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index a1b4d92b3..6d0a40ec1 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -26,7 +26,6 @@ jobs: run: node --run build-no-minify - name: Run E2E tests on ${{ matrix.project }} run: npx playwright test --project ${{ matrix.project }} - continue-on-error: ${{ matrix.project == 'webkit' }} - name: Upload test results if: always() uses: actions/upload-artifact@v7 diff --git a/package-lock.json b/package-lock.json index 13c2ac87b..beaead297 100644 --- a/package-lock.json +++ b/package-lock.json @@ -61,7 +61,7 @@ "react-ocl-nmr": "^4.1.1", "react-plot": "^3.1.2", "react-rnd": "^10.5.3", - "react-science": "^24.2.0", + "react-science": "^24.2.1", "smart-array-filter": "^5.0.0", "ts-pattern": "^5.9.2", "usehooks-ts": "^3.1.1", @@ -4790,23 +4790,6 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, - "node_modules/ajv": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", - "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==", - "extraneous": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, "node_modules/ansi-align": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", @@ -7192,7 +7175,7 @@ "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/fast-equals": { @@ -7223,7 +7206,7 @@ "version": "3.1.9", "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.9.tgz", "integrity": "sha512-hS/0Wt3Ya043oKXs0sIxrMpKQITXhMLIrVAKKXi4gozGC9v7YRWVnXIZzjNPTO02M9BdxLCWqK1yRXgNziVyJQ==", - "devOptional": true, + "dev": true, "funding": [ { "type": "github", @@ -7955,7 +7938,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/json-stable-stringify-without-jsonify": { @@ -10598,9 +10581,9 @@ } }, "node_modules/react-science": { - "version": "24.2.0", - "resolved": "https://registry.npmjs.org/react-science/-/react-science-24.2.0.tgz", - "integrity": "sha512-6H5GryyEBQprj7+FnmQ3GP+OSpbgQb5E6bBIo/X/qlf1CcN1HVMLH9s8nEaX9AtMOlNInTIX1CLK23LDeYJnfA==", + "version": "24.2.1", + "resolved": "https://registry.npmjs.org/react-science/-/react-science-24.2.1.tgz", + "integrity": "sha512-iMuOtrz5CdGi8e7tpvMpAzSFMG6l+lTu4Dw8w821rdRtN7yV2KGrQBvxXzv1kqnY+0TkesSoJVGntUyhghnDxg==", "license": "MIT", "dependencies": { "@emotion/styled": "^11.14.1", @@ -10687,7 +10670,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "devOptional": true, + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" diff --git a/package.json b/package.json index bb0025b22..3456e595d 100644 --- a/package.json +++ b/package.json @@ -112,7 +112,7 @@ "react-ocl-nmr": "^4.1.1", "react-plot": "^3.1.2", "react-rnd": "^10.5.3", - "react-science": "^24.2.0", + "react-science": "^24.2.1", "smart-array-filter": "^5.0.0", "ts-pattern": "^5.9.2", "usehooks-ts": "^3.1.1", diff --git a/src/component/1d-2d/components/SVGRootContainer.tsx b/src/component/1d-2d/components/SVGRootContainer.tsx index a34c2c6f3..82a329888 100644 --- a/src/component/1d-2d/components/SVGRootContainer.tsx +++ b/src/component/1d-2d/components/SVGRootContainer.tsx @@ -46,8 +46,8 @@ export function SVGRootContainer(props: SVGRootContainerProps) { id={id} x={x} y={y} - // Only Firefox sets this role automatically to SVG elements. - role="graphics-document" + // Firefox sets the "graphics-document" role by default, but other browsers don't support it. + role="group" aria-label="NMR graph" width={width} height={height} diff --git a/test-e2e/NmriumPage/NmriumPageViewer.ts b/test-e2e/NmriumPage/NmriumPageViewer.ts index 4331c4db6..7021883b7 100644 --- a/test-e2e/NmriumPage/NmriumPageViewer.ts +++ b/test-e2e/NmriumPage/NmriumPageViewer.ts @@ -20,7 +20,7 @@ export class NmriumPageViewer { exact: true, }); // There is no cross-browser compatible role. Firefox sets "graphics-document", but other browsers don't. - this.graph = this.locator.getByRole('graphics-document' as any, { + this.graph = this.locator.getByRole('group', { name: 'NMR graph', exact: true, }); diff --git a/test-e2e/core/basic.test.ts b/test-e2e/core/basic.test.ts index 6313d18be..f3bc0cc9f 100644 --- a/test-e2e/core/basic.test.ts +++ b/test-e2e/core/basic.test.ts @@ -11,10 +11,9 @@ test('should load and display the 1D and 2D spectrum', async ({ page }) => { //switch to 1d await nmrium.getSpectraTab('1H').click(); - const path = (await nmrium.page.getAttribute( - '#nmrSVG path.line ', - 'd', - )) as string; + const path = (await nmrium.viewer.graph + .locator('path.line') + .getAttribute('d')) as string; expect(path.length).toBeGreaterThan(1000); expect(path).not.toContain('NaN'); @@ -30,7 +29,7 @@ test('check callbacks count', async ({ page }) => { const nmrium = await NmriumPage.create(page); await nmrium.openDemo('Props debug', 'Callback - Full cytisine'); - await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); + await expect(nmrium.viewer.graph).toBeVisible(); const dataCount = nmrium.page.getByTestId('data-count'); const viewCount = nmrium.page.getByTestId('view-count'); @@ -42,10 +41,9 @@ test('check callbacks count', async ({ page }) => { await nmrium.getSpectraTab('1H').click(); //test to 1d - const path = (await nmrium.page.getAttribute( - '#nmrSVG path.line ', - 'd', - )) as string; + const path = (await nmrium.viewer.graph + .locator('path.line') + .getAttribute('d')) as string; expect(path.length).toBeGreaterThan(1000); expect(path).not.toContain('NaN'); diff --git a/test-e2e/panels/autoassignment.test.ts b/test-e2e/panels/autoassignment.test.ts index e1338fc3d..70aa5cd65 100644 --- a/test-e2e/panels/autoassignment.test.ts +++ b/test-e2e/panels/autoassignment.test.ts @@ -9,7 +9,7 @@ test('automatic assignment panel', async ({ page }, info) => { const nmrium = await NmriumPage.create(page); await test.step('open 1H ethylvinylether spectrum', async () => { await nmrium.openDemo('Simple spectra', '1H ethylvinylether'); - await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); + await expect(nmrium.viewer.graph).toBeVisible(); }); await test.step('activate automatic assignment panel', async () => { await nmrium.openGeneralSettings(); diff --git a/test-e2e/panels/filters.test.ts b/test-e2e/panels/filters.test.ts index 02499dffa..817d98dec 100644 --- a/test-e2e/panels/filters.test.ts +++ b/test-e2e/panels/filters.test.ts @@ -168,7 +168,7 @@ test('Processed spectra filters', async ({ page }) => { await nmrium.openDemo('Cytisine', 'Processed 13C FID'); // wait spectrum to load - await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); + await expect(nmrium.viewer.graph).toBeVisible(); }); await test.step('Check filters panel', async () => { //Open peaks panel @@ -184,7 +184,7 @@ test('Exclusion zones', async ({ page }) => { await nmrium.openDemo('Multiple spectra', 'Coffee'); // wait spectrum to load - await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); + await expect(nmrium.viewer.graph).toBeVisible(); // select the 1H tab await nmrium.getSpectraTab('1H').click(); diff --git a/test-e2e/panels/matrixgeneration.test.ts b/test-e2e/panels/matrixgeneration.test.ts index ad6d795ff..2a3498d6f 100644 --- a/test-e2e/panels/matrixgeneration.test.ts +++ b/test-e2e/panels/matrixgeneration.test.ts @@ -7,7 +7,7 @@ test('Matrix generation panel', async ({ page }) => { await test.step('open 1H ethylvinylether spectrum', async () => { await nmrium.openDemo('Simple spectra', '1H ethylvinylether'); - await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); + await expect(nmrium.viewer.graph).toBeVisible(); }); await test.step('activate matrix generation panel', async () => { @@ -32,7 +32,9 @@ test('Matrix generation panel', async ({ page }) => { await panel.getByRole('button', { name: 'Apply processing' }).click(); - const path = await nmrium.page.getAttribute('#nmrSVG path.line ', 'd'); + const path = await nmrium.viewer.graph + .locator('path.line') + .getAttribute('d'); const pointCount = path?.match(/-?\d+(?\.\d+)?/g)?.length ?? 0; expect(pointCount / 2).toEqual(1000); diff --git a/test-e2e/panels/peaks.test.ts b/test-e2e/panels/peaks.test.ts index e15cd6df1..0a98cb572 100644 --- a/test-e2e/panels/peaks.test.ts +++ b/test-e2e/panels/peaks.test.ts @@ -119,7 +119,7 @@ test('Processed spectra peaks', async ({ page }) => { await nmrium.openDemo('Cytisine', 'Processed 13C FID'); // Wait for the spectrum to load - await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); + await expect(nmrium.viewer.graph).toBeVisible(); }); await test.step('Check peaks', async () => { //Close spectra panel @@ -159,7 +159,7 @@ test('Check no negative peaks in processed spectra', async ({ page }) => { await nmrium.openDemo('Cytisine', 'Processed 13C FID'); // Wait for the spectrum to load. - await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); + await expect(nmrium.viewer.graph).toBeVisible(); }); await test.step('Check negative peaks', async () => { // Close spectra panel. diff --git a/test-e2e/panels/ranges.test.ts b/test-e2e/panels/ranges.test.ts index 2e7c1e9c0..0c64733ae 100644 --- a/test-e2e/panels/ranges.test.ts +++ b/test-e2e/panels/ranges.test.ts @@ -387,7 +387,7 @@ test('Auto peak picking on all spectra', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open FULL ethylbenzene 2D spectrum', async () => { await nmrium.openDemo('Cytisine', 'Full cytisine'); - await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); + await expect(nmrium.viewer.graph).toBeVisible(); }); await test.step('Check spectrum tabs', async () => { @@ -461,7 +461,7 @@ test('2D spectra reference change', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open 2D spectrum', async () => { await nmrium.openDemo('Cytisine', 'HSQC cytisine + 1D spectra'); - await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); + await expect(nmrium.viewer.graph).toBeVisible(); await expect( nmrium.viewer.horizontalAxis.getByTestId('axis-primary-tick-label'), diff --git a/test-e2e/panels/spectra.test.ts b/test-e2e/panels/spectra.test.ts index 022d18ed4..b1432e7a4 100644 --- a/test-e2e/panels/spectra.test.ts +++ b/test-e2e/panels/spectra.test.ts @@ -163,7 +163,7 @@ test('2d spectrum', async ({ page }) => { await test.step('Open COSY ethylbenzene 2D spectrum', async () => { await nmrium.openDemo('Simple spectra', 'COSY ethylbenzene'); // Wait the spectrum to load - await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); + await expect(nmrium.viewer.graph).toBeVisible(); await nmrium.getSpectraTab('1H').click(); }); @@ -359,7 +359,7 @@ test('show/hide spectrum', async ({ page }) => { await test.step('Open Coffee spectrum', async () => { await nmrium.openDemo('Multiple spectra', 'Coffee'); // Wait the spectrum to load - await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); + await expect(nmrium.viewer.graph).toBeVisible(); await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(13); }); await test.step('Check hide spectra', async () => { @@ -433,7 +433,7 @@ test('Multiple spectra analysis', async ({ page }) => { await test.step('Open Coffee spectrum and check 13 spectra', async () => { await nmrium.openDemo('Multiple spectra', 'Coffee'); // Wait the spectrum to load - await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); + await expect(nmrium.viewer.graph).toBeVisible(); await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(13); }); await test.step('Check spectra colors', async () => { @@ -482,6 +482,6 @@ test('Load JResolv', async ({ page }) => { const nmrium = await NmriumPage.create(page); await nmrium.openDemo('Cytisine', 'jResolv cytisine'); - await expect(nmrium.page.locator('#nmrSVG')).toBeVisible(); + await expect(nmrium.viewer.graph).toBeVisible(); await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(2); }); From 8ab988e44d91ac09e5f070592ea4174b01a4f469 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Mon, 30 Nov 2026 17:19:08 +0100 Subject: [PATCH 22/36] improve a11y of spectra in SVG --- src/component/1d/LinesSeries.tsx | 4 +-- src/component/1d/SVGContent1D.tsx | 2 +- src/component/2d/SVGContent2D.tsx | 2 +- src/component/2d/fid/FidContainer.tsx | 4 +-- src/component/2d/ft/Contours.tsx | 4 ++- src/component/2d/ft/FTContainer.tsx | 4 +-- src/component/hooks/use2DReducer.tsx | 8 ++++-- src/data/data2d/__tests__/Datum2D.test.ts | 3 ++ test-e2e/NmriumPage/NmriumPageViewer.ts | 26 ++++++++++++++++- test-e2e/NmriumPage/index.ts | 35 +++++++++++++++++++++-- test-e2e/panels/filters.test.ts | 4 ++- 11 files changed, 80 insertions(+), 16 deletions(-) diff --git a/src/component/1d/LinesSeries.tsx b/src/component/1d/LinesSeries.tsx index 59b18e595..ae39d46f0 100644 --- a/src/component/1d/LinesSeries.tsx +++ b/src/component/1d/LinesSeries.tsx @@ -29,9 +29,9 @@ function LinesSeries() { const { id: insetKey = 'primary' } = useInsetOptions() || {}; return ( - + {spectra.map((d, i) => ( - + diff --git a/src/component/1d/SVGContent1D.tsx b/src/component/1d/SVGContent1D.tsx index f2c5a1534..561d12114 100644 --- a/src/component/1d/SVGContent1D.tsx +++ b/src/component/1d/SVGContent1D.tsx @@ -28,7 +28,7 @@ export function SVGContent1D() { const isExperimental = useCheckExperimentalFeature(); return ( - + diff --git a/src/component/2d/SVGContent2D.tsx b/src/component/2d/SVGContent2D.tsx index 085ceee0d..0bc138538 100644 --- a/src/component/2d/SVGContent2D.tsx +++ b/src/component/2d/SVGContent2D.tsx @@ -18,7 +18,7 @@ interface Chart2DProps { export function SVGContent2D({ spectra }: Chart2DProps) { return ( - + diff --git a/src/component/2d/fid/FidContainer.tsx b/src/component/2d/fid/FidContainer.tsx index 1da7a0d0b..aee34de02 100644 --- a/src/component/2d/fid/FidContainer.tsx +++ b/src/component/2d/fid/FidContainer.tsx @@ -16,10 +16,10 @@ export function FidContainer() { if (!isSpectrum2DFid(spectrum)) return null; return ( - <> + - + ); } diff --git a/src/component/2d/ft/Contours.tsx b/src/component/2d/ft/Contours.tsx index a920d4444..709849d16 100644 --- a/src/component/2d/ft/Contours.tsx +++ b/src/component/2d/ft/Contours.tsx @@ -119,6 +119,8 @@ function SpectrumContours(options: SpectrumContoursProps) { return ( + {spectra?.map((spectrum) => { return ( + {spectra.x && } {spectra.y && } - + ); } diff --git a/src/component/hooks/use2DReducer.tsx b/src/component/hooks/use2DReducer.tsx index ae2787161..91671ce17 100644 --- a/src/component/hooks/use2DReducer.tsx +++ b/src/component/hooks/use2DReducer.tsx @@ -8,7 +8,10 @@ import { getSpectraByNucleus } from '../utility/getSpectraByNucleus.ts'; import { reduce2DSpectrum } from './reduce2DSpectrum.ts'; -export interface SpectrumFTData extends Pick { +export interface SpectrumFTData extends Pick< + Spectrum2D, + 'display' | 'id' | 'info' +> { data: NmrData2DContent; } @@ -28,7 +31,7 @@ export function use2DReducer(): SpectrumFTData[] { const outputSpectra: SpectrumFTData[] = []; const spectra = getSpectraByNucleus(activeTab, data).filter(isSpectrum2DFt); for (const spectrum of spectra) { - const { id, display, data } = spectrum; + const { id, display, data, info } = spectrum; const { rr } = data; const reducedData = reduce2DSpectrum(rr, { @@ -44,6 +47,7 @@ export function use2DReducer(): SpectrumFTData[] { data: reducedData, id, display, + info, }); } return outputSpectra; diff --git a/src/data/data2d/__tests__/Datum2D.test.ts b/src/data/data2d/__tests__/Datum2D.test.ts index 315e1fc02..8cb666fdd 100644 --- a/src/data/data2d/__tests__/Datum2D.test.ts +++ b/src/data/data2d/__tests__/Datum2D.test.ts @@ -1,6 +1,7 @@ import { readFile } from 'node:fs/promises'; import path from 'node:path'; +import type { Info2D } from '@zakodium/nmr-types'; import type { Spectrum2D } from '@zakodium/nmrium-core'; import { init } from '@zakodium/nmrium-core-plugins'; import type { NmrData2DFt } from 'cheminfo-types'; @@ -25,6 +26,7 @@ test('Datum2D', async () => { data: (spectrum.data as NmrData2DFt).rr, display: spectrum.display, id: '', + info: {} as Info2D, }, ); const negative = drawContours( @@ -33,6 +35,7 @@ test('Datum2D', async () => { data: (spectrum.data as NmrData2DFt).rr, display: spectrum.display, id: '', + info: {} as Info2D, }, true, ); diff --git a/test-e2e/NmriumPage/NmriumPageViewer.ts b/test-e2e/NmriumPage/NmriumPageViewer.ts index 7021883b7..327f8dd4f 100644 --- a/test-e2e/NmriumPage/NmriumPageViewer.ts +++ b/test-e2e/NmriumPage/NmriumPageViewer.ts @@ -19,13 +19,21 @@ export class NmriumPageViewer { name: 'NMR viewer', exact: true, }); - // There is no cross-browser compatible role. Firefox sets "graphics-document", but other browsers don't. + // There is no more specific cross-browser compatible role. Firefox sets "graphics-document", but other browsers don't. this.graph = this.locator.getByRole('group', { name: 'NMR graph', exact: true, }); } + get oneDData() { + return this.graph.getByRole('group', { name: '1D data', exact: true }); + } + + get twoDData() { + return this.graph.getByRole('group', { name: '2D data', exact: true }); + } + get horizontalAxis() { return this.graph.getByRole('group', { name: 'Horizontal axis', @@ -40,6 +48,22 @@ export class NmriumPageViewer { }); } + getOneDSpectrum(name: string) { + return this.oneDData + .getByRole('list', { name: 'Spectra', exact: true }) + .getByRole('listitem', { name: `Spectrum (${name})`, exact: true }); + } + + getTwoDSpectrumContours(name: string) { + return this.twoDData + .getByRole('group', { name: 'FT data', exact: true }) + .getByRole('list', { name: 'Spectra contour lines', exact: true }) + .getByRole('listitem', { + name: `Spectrum contours (${name})`, + exact: true, + }); + } + async getBoundingBox() { const bb = await this.locator.boundingBox(); if (!bb) { diff --git a/test-e2e/NmriumPage/index.ts b/test-e2e/NmriumPage/index.ts index d0c6bae34..f5eb49831 100644 --- a/test-e2e/NmriumPage/index.ts +++ b/test-e2e/NmriumPage/index.ts @@ -10,6 +10,17 @@ import { NMR_VIEWER_TOOLS, PANELS } from './constants.ts'; type ClickOptions = Parameters[1]; type GetByRoleOptions = Mandatory[1]>; +interface OpenDemoOptions { + /** + * If set to the name of a 1D spectrum, assert that it is rendered. + */ + waitFor1DSpectrum?: string; + /** + * If set to the name of a 2D spectrum, assert that it is rendered (as FT contours). + */ + waitFor2DSpectrumContours?: string; +} + export default class NmriumPage { static async create(page: Page): Promise { await page.goto('http://localhost:3000/#/'); @@ -30,27 +41,45 @@ export default class NmriumPage { * Open a demo from the sidebar. * @param category - The category of the demo. * @param name - The name of the demo. + * @param options */ - async openDemo(category: string, name: string) { + async openDemo( + category: string, + name: string, + options: OpenDemoOptions = {}, + ) { await this.page .getByRole('menuitem', { name: category }) .getByText(category, { exact: true }) .click(); await this.page.getByRole('menuitem', { name, exact: true }).click(); + if (options.waitFor1DSpectrum) { + await expect( + this.viewer.getOneDSpectrum(options.waitFor1DSpectrum), + ).toBeVisible(); + } else if (options.waitFor2DSpectrumContours) { + await expect( + this.viewer.getTwoDSpectrumContours(options.waitFor2DSpectrumContours), + ).toBeVisible(); + } } /** * Open the "Cytisine - 1H spectrum" demo. */ async open1D() { - await this.openDemo('Cytisine', '1H spectrum'); + await this.openDemo('Cytisine', '1H spectrum', { + waitFor1DSpectrum: 'Spectrum 1H_Cytisin_600MHz-R+I', + }); } /** * Open the "Simple spectra - COSY ethylbenzene" demo. */ async open2D() { - await this.openDemo('Simple spectra', 'COSY ethylbenzene'); + await this.openDemo('Simple spectra', 'COSY ethylbenzene', { + waitFor2DSpectrumContours: 'cosy', + }); } /** diff --git a/test-e2e/panels/filters.test.ts b/test-e2e/panels/filters.test.ts index 817d98dec..128977b8b 100644 --- a/test-e2e/panels/filters.test.ts +++ b/test-e2e/panels/filters.test.ts @@ -4,7 +4,9 @@ import NmriumPage from '../NmriumPage/index.js'; import { getTableCell, getTableRows } from '../table.js'; async function open13CFidSpectrum(nmrium: NmriumPage) { - await nmrium.openDemo('Cytisine', '13C FID'); + await nmrium.openDemo('Cytisine', '13C FID', { + waitFor1DSpectrum: '13C_Cytisin_600_fid', + }); } async function clickApply(nmrium: NmriumPage) { From 77bb50bbf2897fe8a25d3cd09c7ce501bdfaee90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Mon, 30 Nov 2026 17:30:19 +0100 Subject: [PATCH 23/36] fixup test --- test-e2e/NmriumPage/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-e2e/NmriumPage/index.ts b/test-e2e/NmriumPage/index.ts index f5eb49831..0bd76b836 100644 --- a/test-e2e/NmriumPage/index.ts +++ b/test-e2e/NmriumPage/index.ts @@ -69,7 +69,7 @@ export default class NmriumPage { */ async open1D() { await this.openDemo('Cytisine', '1H spectrum', { - waitFor1DSpectrum: 'Spectrum 1H_Cytisin_600MHz-R+I', + waitFor1DSpectrum: '1H_Cytisin_600MHz-R+I', }); } From 09cd6c2671199d645dcb326d874f734e34ab48f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Mon, 30 Nov 2026 17:39:36 +0100 Subject: [PATCH 24/36] improve determination of table header index --- test-e2e/table.ts | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/test-e2e/table.ts b/test-e2e/table.ts index 0f6877f27..df84a24b8 100644 --- a/test-e2e/table.ts +++ b/test-e2e/table.ts @@ -1,4 +1,5 @@ import type { Locator } from '@playwright/test'; +import { expect } from '@playwright/test'; /** * Get the body rows of a table, without the header rows. @@ -14,21 +15,21 @@ export function getTableRows(table: Locator) { * columns before the requested column. * @param table - The table locator. * @param row - The index of the row in the table body. Negative indices count from the end. - * @param column - The text of the column header. + * @param column - The accessible name of the column header. */ export async function getTableCell( table: Locator, row: number, column: string, ) { - const columnHeaders = table.getByRole('columnheader'); - await columnHeaders.first().waitFor(); - const headers = await columnHeaders.allInnerTexts(); - const columnIndex = headers.findIndex((header) => header.trim() === column); - if (columnIndex === -1) { - throw new Error( - `Column "${column}" not found in table headers: ${JSON.stringify(headers)}`, - ); - } + const columnHeader = table.getByRole('columnheader', { + name: column, + exact: true, + }); + await expect(columnHeader).toBeVisible(); + // The column index is the number of header cells before this one. + const columnIndex = await columnHeader + .locator('xpath=preceding-sibling::*') + .count(); return getTableRows(table).nth(row).getByRole('cell').nth(columnIndex); } From 15b7886ed4b3128822f06477847fff02a7d2d58f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Tue, 1 Dec 2026 10:59:40 +0100 Subject: [PATCH 25/36] wip --- test-e2e/NmriumPage/index.ts | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/test-e2e/NmriumPage/index.ts b/test-e2e/NmriumPage/index.ts index 0bd76b836..11b36f221 100644 --- a/test-e2e/NmriumPage/index.ts +++ b/test-e2e/NmriumPage/index.ts @@ -329,15 +329,25 @@ export default class NmriumPage { async saveWorkspaceModal(name: string) { // Save changes. - await this.page.click('div[role="dialog"] >> text=Apply and Save'); + await this.page + .getByRole('dialog', { name: 'General settings', exact: true }) + .getByRole('button', { name: 'Apply and Save', exact: true }) + .click(); + + const saveWorkspaceDialog = this.page.getByRole('dialog', { + name: 'Save workspace', + exact: true, + }); // Enter a name for the workspace. - await this.page.locator('input[name="workspaceName"]').fill(name); + await saveWorkspaceDialog + .getByRole('textbox', { name: 'New Workspace name' }) + .fill(name); // Save the user workspace. - await this.page.click( - 'div[role="dialog"] >> button:has-text("Save workspace")', - ); + await saveWorkspaceDialog + .getByRole('button', { name: 'Save workspace', exact: true }) + .click(); await this.dismissAlert('Preferences saved'); } From 631fa11ba4ce4e7434b3c99b5a461b8b337d862d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Tue, 1 Dec 2026 11:04:57 +0100 Subject: [PATCH 26/36] wip --- test-e2e/panels/ranges.test.ts | 10 ++++++++-- test-e2e/panels/spectra.test.ts | 28 ++++++++++++++++++++++++---- 2 files changed, 32 insertions(+), 6 deletions(-) diff --git a/test-e2e/panels/ranges.test.ts b/test-e2e/panels/ranges.test.ts index 0c64733ae..196a4a2d5 100644 --- a/test-e2e/panels/ranges.test.ts +++ b/test-e2e/panels/ranges.test.ts @@ -144,7 +144,10 @@ test('Automatic ranges detection should work', async ({ page }) => { await nmrium.clickNMRViewerTool('rangePicking'); //apply auto ranges detection - await nmrium.page.click('text=Auto ranges picking'); + await nmrium + .getToolOptions() + .getByRole('button', { name: 'Auto ranges picking', exact: true }) + .click(); expect(await nmrium.page.getByTestId('range').count()).toBeGreaterThanOrEqual( 10, @@ -225,7 +228,10 @@ test('Multiplicity should be visible', async ({ page }) => { await nmrium.clickNMRViewerTool('rangePicking'); //apply auto ranges detection - await nmrium.page.click('text=Auto ranges picking'); + await nmrium + .getToolOptions() + .getByRole('button', { name: 'Auto ranges picking', exact: true }) + .click(); }); await test.step('Check multiplicity tree tool', async () => { diff --git a/test-e2e/panels/spectra.test.ts b/test-e2e/panels/spectra.test.ts index b1432e7a4..a145c4bca 100644 --- a/test-e2e/panels/spectra.test.ts +++ b/test-e2e/panels/spectra.test.ts @@ -444,7 +444,12 @@ test('Multiple spectra analysis', async ({ page }) => { .getSpectraTable() .getByRole('columnheader', { name: 'Spectrum Name', exact: true }) .click({ button: 'right' }); - await nmrium.page.click('text="Recolor based on distinct value"'); + await nmrium.page + .getByRole('menuitem', { + name: 'Recolor based on distinct value', + exact: true, + }) + .click(); expect(await nmrium.getNumberOfDistinctColors()).toBe(13); }); await test.step('Check recolour based on pulse', async () => { @@ -452,7 +457,12 @@ test('Multiple spectra analysis', async ({ page }) => { .getSpectraTable() .getByRole('columnheader', { name: 'Pulse', exact: true }) .click({ button: 'right' }); - await nmrium.page.click('text="Recolor based on distinct value"'); + await nmrium.page + .getByRole('menuitem', { + name: 'Recolor based on distinct value', + exact: true, + }) + .click(); expect(await nmrium.getNumberOfDistinctColors()).toBe(1); }); await test.step('Check again recolour based on spectrum name', async () => { @@ -460,7 +470,12 @@ test('Multiple spectra analysis', async ({ page }) => { .getSpectraTable() .getByRole('columnheader', { name: 'Spectrum Name', exact: true }) .click({ button: 'right' }); - await nmrium.page.click('text="Recolor based on distinct value"'); + await nmrium.page + .getByRole('menuitem', { + name: 'Recolor based on distinct value', + exact: true, + }) + .click(); expect(await nmrium.getNumberOfDistinctColors()).toBe(13); }); await test.step('Check recolour based on solvent', async () => { @@ -468,7 +483,12 @@ test('Multiple spectra analysis', async ({ page }) => { .getSpectraTable() .getByRole('columnheader', { name: 'Solvent', exact: true }) .click({ button: 'right' }); - await nmrium.page.click('text="Recolor based on distinct value"'); + await nmrium.page + .getByRole('menuitem', { + name: 'Recolor based on distinct value', + exact: true, + }) + .click(); expect(await nmrium.getNumberOfDistinctColors()).toBe(1); }); await test.step('Check Recolour BarButton', async () => { From d72854012da4190d48fb15a4082ea656e391aec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Tue, 1 Dec 2026 14:08:59 +0100 Subject: [PATCH 27/36] wip --- test-e2e/core/basic.test.ts | 17 ++++++-------- test-e2e/panels/filters.test.ts | 5 ++-- test-e2e/panels/integral.test.ts | 13 ++++------- test-e2e/panels/matrixgeneration.test.ts | 16 ++++++++----- test-e2e/panels/spectra.test.ts | 12 +++++----- test-e2e/svg.ts | 11 +++++++++ test-e2e/tools/slicing.test.ts | 29 ++++++++++++------------ 7 files changed, 55 insertions(+), 48 deletions(-) create mode 100644 test-e2e/svg.ts diff --git a/test-e2e/core/basic.test.ts b/test-e2e/core/basic.test.ts index f3bc0cc9f..0e93484fd 100644 --- a/test-e2e/core/basic.test.ts +++ b/test-e2e/core/basic.test.ts @@ -1,6 +1,7 @@ import { expect, test } from '@playwright/test'; import NmriumPage from '../NmriumPage/index.js'; +import { expectPathToBeDrawn } from '../svg.ts'; test('should load and display the 1D and 2D spectrum', async ({ page }) => { const nmrium = await NmriumPage.create(page); @@ -11,11 +12,9 @@ test('should load and display the 1D and 2D spectrum', async ({ page }) => { //switch to 1d await nmrium.getSpectraTab('1H').click(); - const path = (await nmrium.viewer.graph - .locator('path.line') - .getAttribute('d')) as string; - expect(path.length).toBeGreaterThan(1000); - expect(path).not.toContain('NaN'); + await expectPathToBeDrawn( + nmrium.viewer.oneDData.getByTestId('spectrum-line'), + ); //switch to 2d await nmrium.getSpectraTab('1H,1H').click(); @@ -41,11 +40,9 @@ test('check callbacks count', async ({ page }) => { await nmrium.getSpectraTab('1H').click(); //test to 1d - const path = (await nmrium.viewer.graph - .locator('path.line') - .getAttribute('d')) as string; - expect(path.length).toBeGreaterThan(1000); - expect(path).not.toContain('NaN'); + await expectPathToBeDrawn( + nmrium.viewer.oneDData.getByTestId('spectrum-line'), + ); await expect(dataCount).toContainText('0'); await expect(viewCount).toContainText(/[3-7]/); diff --git a/test-e2e/panels/filters.test.ts b/test-e2e/panels/filters.test.ts index 128977b8b..0323c01c1 100644 --- a/test-e2e/panels/filters.test.ts +++ b/test-e2e/panels/filters.test.ts @@ -86,9 +86,8 @@ async function addPeaks(nmrium: NmriumPage, { keyboard = false } = {}) { .getByRole('button', { name: 'Apply to 1 spectra' }) .click(); - await expect( - nmrium.getFiltersList().getByText('Baseline correction'), - ).toBeVisible(); + // Wait for the peaks to be picked. + await expect(nmrium.page.getByTestId('peak-annotation')).not.toHaveCount(0); } async function checkPeakNumber(nmrium: NmriumPage, number: number) { diff --git a/test-e2e/panels/integral.test.ts b/test-e2e/panels/integral.test.ts index 79f88c9b9..dfa309364 100644 --- a/test-e2e/panels/integral.test.ts +++ b/test-e2e/panels/integral.test.ts @@ -2,6 +2,7 @@ import { expect, test } from '@playwright/test'; import NmriumPage from '../NmriumPage/index.js'; import type { BoundingBox } from '../playwright_types.js'; +import { expectPathToBeDrawn } from '../svg.ts'; async function addIntegral( nmrium: NmriumPage, @@ -16,14 +17,10 @@ async function addIntegral( }); // Should have integral with at least 1000 points - const path = (await nmrium.page - .getByTestId('integral') - .nth(childIndex) - .locator('path') - .first() - .getAttribute('d')) as string; - expect(path.length).toBeGreaterThan(1000); - expect(path).not.toContain('NaN'); + await expect(nmrium.page.getByTestId('integral')).toHaveCount(childIndex + 1); + await expectPathToBeDrawn( + nmrium.page.getByTestId('integral').nth(childIndex).locator('path').first(), + ); } async function resizeIntegral(nmrium: NmriumPage) { diff --git a/test-e2e/panels/matrixgeneration.test.ts b/test-e2e/panels/matrixgeneration.test.ts index 2a3498d6f..cbc61107d 100644 --- a/test-e2e/panels/matrixgeneration.test.ts +++ b/test-e2e/panels/matrixgeneration.test.ts @@ -32,12 +32,16 @@ test('Matrix generation panel', async ({ page }) => { await panel.getByRole('button', { name: 'Apply processing' }).click(); - const path = await nmrium.viewer.graph - .locator('path.line') - .getAttribute('d'); - const pointCount = path?.match(/-?\d+(?\.\d+)?/g)?.length ?? 0; - - expect(pointCount / 2).toEqual(1000); + // Wait for the processed spectrum to be drawn with the new number of points. + await expect + .poll(async () => { + const path = await nmrium.viewer.oneDData + .getByTestId('spectrum-line') + .getAttribute('d'); + const coordinates = path?.match(/-?\d+(?\.\d+)?/g) ?? []; + return coordinates.length / 2; + }) + .toBe(1000); const expectedTicks = [0, 0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5].map( String, diff --git a/test-e2e/panels/spectra.test.ts b/test-e2e/panels/spectra.test.ts index a145c4bca..d03c932cc 100644 --- a/test-e2e/panels/spectra.test.ts +++ b/test-e2e/panels/spectra.test.ts @@ -437,7 +437,7 @@ test('Multiple spectra analysis', async ({ page }) => { await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(13); }); await test.step('Check spectra colors', async () => { - expect(await nmrium.getNumberOfDistinctColors()).toBe(13); + await nmrium.expectNumberOfDistinctColors(13); }); await test.step('Check Recolour based on spectrum name', async () => { await nmrium @@ -450,7 +450,7 @@ test('Multiple spectra analysis', async ({ page }) => { exact: true, }) .click(); - expect(await nmrium.getNumberOfDistinctColors()).toBe(13); + await nmrium.expectNumberOfDistinctColors(13); }); await test.step('Check recolour based on pulse', async () => { await nmrium @@ -463,7 +463,7 @@ test('Multiple spectra analysis', async ({ page }) => { exact: true, }) .click(); - expect(await nmrium.getNumberOfDistinctColors()).toBe(1); + await nmrium.expectNumberOfDistinctColors(1); }); await test.step('Check again recolour based on spectrum name', async () => { await nmrium @@ -476,7 +476,7 @@ test('Multiple spectra analysis', async ({ page }) => { exact: true, }) .click(); - expect(await nmrium.getNumberOfDistinctColors()).toBe(13); + await nmrium.expectNumberOfDistinctColors(13); }); await test.step('Check recolour based on solvent', async () => { await nmrium @@ -489,13 +489,13 @@ test('Multiple spectra analysis', async ({ page }) => { exact: true, }) .click(); - expect(await nmrium.getNumberOfDistinctColors()).toBe(1); + await nmrium.expectNumberOfDistinctColors(1); }); await test.step('Check Recolour BarButton', async () => { await nmrium .getPanelToolbarButton('spectraPanel', 'Default spectra recoloring') .click(); - expect(await nmrium.getNumberOfDistinctColors()).toBe(13); + await nmrium.expectNumberOfDistinctColors(13); }); }); test('Load JResolv', async ({ page }) => { diff --git a/test-e2e/svg.ts b/test-e2e/svg.ts new file mode 100644 index 000000000..458863ed9 --- /dev/null +++ b/test-e2e/svg.ts @@ -0,0 +1,11 @@ +import type { Locator } from '@playwright/test'; +import { expect } from '@playwright/test'; + +/** + * Assert that an SVG path is drawn with some real data: relatively long description + * and no NaN value. + * @param path - The locator of the `` element. + */ +export async function expectPathToBeDrawn(path: Locator) { + await expect(path).toHaveAttribute('d', /^(?!.*NaN).{1000,}$/s); +} diff --git a/test-e2e/tools/slicing.test.ts b/test-e2e/tools/slicing.test.ts index ae4ce28b2..0fa002754 100644 --- a/test-e2e/tools/slicing.test.ts +++ b/test-e2e/tools/slicing.test.ts @@ -1,6 +1,7 @@ -import { expect, test } from '@playwright/test'; +import { test } from '@playwright/test'; import NmriumPage from '../NmriumPage/index.js'; +import { expectPathToBeDrawn } from '../svg.ts'; test('Slicing too should show 1d (horizontal and vertical) traces', async ({ page, @@ -12,19 +13,17 @@ test('Slicing too should show 1d (horizontal and vertical) traces', async ({ await nmrium.viewer.moveMouse({ x: 200, y: 200 }); - const horizontalPath = (await nmrium.page - .getByRole('img', { name: 'Horizontal slice' }) - .locator('path') - .first() - .getAttribute('d')) as string; - expect(horizontalPath.length).toBeGreaterThan(1000); - expect(horizontalPath).not.toContain('NaN'); + await expectPathToBeDrawn( + nmrium.page + .getByRole('img', { name: 'Horizontal slice' }) + .locator('path') + .first(), + ); - const verticalPath = (await nmrium.page - .getByRole('img', { name: 'Vertical slice' }) - .locator('path') - .first() - .getAttribute('d')) as string; - expect(verticalPath.length).toBeGreaterThan(1000); - expect(verticalPath).not.toContain('NaN'); + await expectPathToBeDrawn( + nmrium.page + .getByRole('img', { name: 'Vertical slice' }) + .locator('path') + .first(), + ); }); From 12a9cba18be2e63e3ef3b84102262e62741e6a91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Tue, 1 Dec 2026 14:10:38 +0100 Subject: [PATCH 28/36] wip --- test-e2e/NmriumPage/index.ts | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/test-e2e/NmriumPage/index.ts b/test-e2e/NmriumPage/index.ts index 11b36f221..855b61993 100644 --- a/test-e2e/NmriumPage/index.ts +++ b/test-e2e/NmriumPage/index.ts @@ -242,19 +242,22 @@ export default class NmriumPage { await expect(lastTick).toHaveText(max.toString()); } - async getNumberOfDistinctColors() { - const linesLocator = this.page.getByTestId('spectrum-line'); - // Get all lines from the locator. - const lines = await linesLocator.all(); - // Get all colours from lines. - const colors = await Promise.all( - lines.map(async (line) => { - return line.getAttribute('stroke'); - }), - ); - // remove duplicates - const distinctColors = Array.from(new Set(colors)); - return distinctColors.length; + /** + * Assert the number of distinct colors of the spectra lines. + * @param expected - The expected number of distinct colors. + */ + async expectNumberOfDistinctColors(expected: number) { + await expect + .poll(() => + this.page + .getByTestId('spectrum-line') + // Read all the colors at once, so they come from the same render. + .evaluateAll( + (lines) => + new Set(lines.map((line) => line.getAttribute('stroke'))).size, + ), + ) + .toBe(expected); } async applyPhaseCorrection( From c2511c744f3b4fb69c1bc5f35322b59164a0755e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Tue, 1 Dec 2026 14:27:44 +0100 Subject: [PATCH 29/36] wip --- test-e2e/panels/integral.test.ts | 36 ++++++------- test-e2e/panels/ranges.test.ts | 91 +++++++++++++++++--------------- 2 files changed, 64 insertions(+), 63 deletions(-) diff --git a/test-e2e/panels/integral.test.ts b/test-e2e/panels/integral.test.ts index dfa309364..a96f9ac09 100644 --- a/test-e2e/panels/integral.test.ts +++ b/test-e2e/panels/integral.test.ts @@ -31,37 +31,35 @@ async function resizeIntegral(nmrium: NmriumPage) { const { x, + y, height, - width: DragElementWidth, + width: dragElementWidth, } = (await rightResizer.boundingBox()) as BoundingBox; - await nmrium.page.mouse.move(x + DragElementWidth / 2, height / 2, { - steps: 15, - }); + const handleX = x + dragElementWidth / 2; + const handleY = y + height / 2; + await nmrium.page.mouse.move(handleX, handleY, { steps: 15 }); await nmrium.page.mouse.down({ button: 'left' }); - await nmrium.page.mouse.move(x + DragElementWidth / 2 + 20, height / 2, { - steps: 15, - }); + await nmrium.page.mouse.move(handleX + 20, handleY, { steps: 15 }); await nmrium.page.mouse.up(); - const path = (await nmrium.page - .getByTestId('integral') - .first() - .locator('path') - .first() - .getAttribute('d')) as string; - - expect(path.length).toBeGreaterThan(1000); - expect(path).not.toContain('NaN'); - const container = nmrium.page .getByTestId('integral') .first() .locator('rect') .first(); - const { width } = (await container.boundingBox()) as BoundingBox; - expect(width).toBe(41); + // Wait for the integral to be rendered with its new size. + await expect + .poll(async () => { + const boundingBox = await container.boundingBox(); + return boundingBox?.width; + }) + .toBe(41); + + await expectPathToBeDrawn( + nmrium.page.getByTestId('integral').first().locator('path').first(), + ); } async function deleteIntegral(nmrium: NmriumPage) { diff --git a/test-e2e/panels/ranges.test.ts b/test-e2e/panels/ranges.test.ts index 196a4a2d5..94cd7743e 100644 --- a/test-e2e/panels/ranges.test.ts +++ b/test-e2e/panels/ranges.test.ts @@ -30,6 +30,21 @@ function zoneCell(nmrium: NmriumPage, index: 1 | 2) { .nth(index); } +/** + * Edit the chemical shift of the first zone in the zones table. + * @param nmrium - The NMRium page. + * @param index - 1 for the F2 (direct) dimension, 2 for the F1 (indirect) dimension. + * @param value - The new chemical shift. + */ +async function editZoneCell(nmrium: NmriumPage, index: 1 | 2, value: number) { + const cell = zoneCell(nmrium, index); + // Clicking on the cell replaces its text with an input. + await cell.click(); + const input = cell.getByRole('spinbutton'); + await input.fill(String(value)); + await input.press('Enter'); +} + async function shiftSignal(nmrium: NmriumPage) { const signalColumnLocator = await getTableCell( nmrium.getPanel('rangesPanel').getByRole('table'), @@ -67,19 +82,18 @@ async function resizeRange(nmrium: NmriumPage) { const { x, + y, height, - width: DragElementWidth, + width: dragElementWidth, } = (await rightResizer.boundingBox()) as BoundingBox; + const handleX = x + dragElementWidth / 2; + const handleY = y + height / 2; - await nmrium.page.mouse.move(x + DragElementWidth / 2, height / 2, { - steps: 15, - }); + await nmrium.page.mouse.move(handleX, handleY, { steps: 15 }); await nmrium.page.mouse.down({ button: 'left' }); - await nmrium.page.mouse.move(x + DragElementWidth / 2 + 10, height / 2, { - steps: 15, - }); + await nmrium.page.mouse.move(handleX + 10, handleY, { steps: 15 }); await nmrium.page.mouse.up(); const greenArea = nmrium.page @@ -88,10 +102,12 @@ async function resizeRange(nmrium: NmriumPage) { .locator('rect') .nth(0); - const { width } = (await greenArea.boundingBox()) as BoundingBox; - - expect(width).toBeGreaterThan(19); - expect(width).toBeLessThanOrEqual(22); + // Wait for the range to be rendered with its new size. + await expect(async () => { + const { width } = (await greenArea.boundingBox()) as BoundingBox; + expect(width).toBeGreaterThan(19); + expect(width).toBeLessThanOrEqual(22); + }).toPass(); } async function deleteRange(nmrium: NmriumPage) { @@ -149,9 +165,7 @@ test('Automatic ranges detection should work', async ({ page }) => { .getByRole('button', { name: 'Auto ranges picking', exact: true }) .click(); - expect(await nmrium.page.getByTestId('range').count()).toBeGreaterThanOrEqual( - 10, - ); + await expect(nmrium.page.getByTestId('range')).toHaveCount(10); const ranges = getTableRows( nmrium.getPanel('rangesPanel').getByRole('table'), ); @@ -254,9 +268,9 @@ test('Multiplicity should be visible', async ({ page }) => { ).toBeVisible(); // Check multiplicity tree is visible. - expect( - await nmrium.page.getByTestId('multiplicity-tree').count(), - ).toBeGreaterThan(0); + await expect(nmrium.page.getByTestId('multiplicity-tree')).not.toHaveCount( + 0, + ); }); await test.step('Check that multiplicity tree btn save state', async () => { @@ -341,17 +355,15 @@ test('Range state', async ({ page }) => { ), ).toHaveAttribute('aria-pressed', 'true'); // Check peaks within ranges are visible - expect( - await nmrium.page.getByTestId('range-peak-annotation').count(), - ).toBeGreaterThan(0); + await expect( + nmrium.page.getByTestId('range-peak-annotation'), + ).not.toHaveCount(0); // Check integrals within ranges are visible - expect( - await nmrium.page.getByTestId('range-integral').count(), - ).toBeGreaterThan(0); + await expect(nmrium.page.getByTestId('range-integral')).not.toHaveCount(0); // Check multiplicity tree is visible - expect( - await nmrium.page.getByTestId('multiplicity-tree').count(), - ).toBeGreaterThan(0); + await expect(nmrium.page.getByTestId('multiplicity-tree')).not.toHaveCount( + 0, + ); }); await test.step('Check that first spectrum range state saved', async () => { // Change spectra @@ -375,17 +387,15 @@ test('Range state', async ({ page }) => { ).toHaveAttribute('aria-pressed', 'true'); // Check range peaks - expect( - await nmrium.page.getByTestId('range-peak-annotation').count(), - ).toBeGreaterThan(0); + await expect( + nmrium.page.getByTestId('range-peak-annotation'), + ).not.toHaveCount(0); // Check range integrals - expect( - await nmrium.page.getByTestId('range-integral').count(), - ).toBeGreaterThan(0); + await expect(nmrium.page.getByTestId('range-integral')).not.toHaveCount(0); // Check multiplicity tree is visible - expect( - await nmrium.page.getByTestId('multiplicity-tree').count(), - ).toBeGreaterThan(0); + await expect(nmrium.page.getByTestId('multiplicity-tree')).not.toHaveCount( + 0, + ); }); }); @@ -498,15 +508,8 @@ test('2D spectra reference change', async ({ page }) => { await test.step('Change reference', async () => { const x = 1000; const y = 2000; - await zoneCell(nmrium, 1).click(); - - await nmrium.page.keyboard.type(x.toString()); - await nmrium.page.keyboard.press('Enter'); - - await zoneCell(nmrium, 2).click(); - - await nmrium.page.keyboard.type(y.toString()); - await nmrium.page.keyboard.press('Enter'); + await editZoneCell(nmrium, 1, x); + await editZoneCell(nmrium, 2, y); await expect(zoneCell(nmrium, 1)).toHaveText(x.toFixed(2)); await expect(zoneCell(nmrium, 2)).toHaveText(y.toFixed(2)); From 9bb696239db61588850140e39ddfd11323479eda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 4 Dec 2026 08:05:44 +0100 Subject: [PATCH 30/36] deps --- .nvmrc | 2 +- package-lock.json | 1709 ++++++++++++++++++--------------------------- package.json | 28 +- 3 files changed, 684 insertions(+), 1055 deletions(-) diff --git a/.nvmrc b/.nvmrc index 229b3ce85..d24adf64a 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -24.22.3 +24.23.0 diff --git a/package-lock.json b/package-lock.json index 724cbeea6..fffe92763 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@tanstack/react-table": "^9.3.1", "@zakodium/nmr-types": "^0.5.37", "@zakodium/nmrium-core": "^0.7.87", - "@zakodium/nmrium-core-plugins": "^0.7.127", + "@zakodium/nmrium-core-plugins": "^0.7.130", "@zakodium/pdnd-esm": "^1.2.0", "@zakodium/utils": "^0.7.0", "@zip.js/zip.js": "^2.25.1", @@ -45,7 +45,7 @@ "ml-signal-processing": "^2.2.2", "ml-spectra-processing": "^14.35.1", "ml-tree-similarity": "^2.2.0", - "nmr-processing": "^22.28.3", + "nmr-processing": "^22.30.0", "numeral": "^2.0.6", "openchemlib": "^9.26.0", "openchemlib-utils": "^8.20.1", @@ -69,10 +69,10 @@ "zod": "^4.6.7" }, "devDependencies": { - "@blueprintjs/core": "^6.23.3", + "@blueprintjs/core": "^6.24.0", "@blueprintjs/icons": "^6.17.0", - "@blueprintjs/select": "^6.4.5", - "@playwright/test": "^1.65.1", + "@blueprintjs/select": "^6.4.6", + "@playwright/test": "^1.65.2", "@simbathesailor/use-what-changed": "^2.0.0", "@types/d3-array": "^3.2.2", "@types/d3-scale": "^4.0.9", @@ -85,29 +85,29 @@ "@types/papaparse": "^5.5.2", "@types/react": "^19.3.3", "@types/react-dom": "^19.3.0", - "@vitejs/plugin-react": "^6.3.0", + "@vitejs/plugin-react": "^6.3.1", "@vitest/coverage-v8": "^5.1.2", "@zakodium/tsconfig": "^1.0.5", "cross-env": "^10.1.0", - "cspell": "^10.6.0", + "cspell": "^10.7.0", "eslint": "^10.16.0", - "eslint-config-cheminfo-react": "^21.0.3", - "eslint-config-cheminfo-typescript": "^23.0.0", - "knip": "^6.49.0", + "eslint-config-cheminfo-react": "^21.1.0", + "eslint-config-cheminfo-typescript": "^23.0.1", + "knip": "^6.51.0", "modern-normalize": "^3.0.1", "postcss": "^8.5.34", "postcss-styled-syntax": "^0.7.4", - "prettier": "^3.10.1", + "prettier": "^3.10.2", "rc-menu": "^9.16.1", "react": "^19.3.1", "react-dom": "^19.3.1", "react-router-dom": "^7.18.7", "rimraf": "^6.1.4", "serve": "^14.2.8", - "stylelint": "^18.1.0", + "stylelint": "^18.2.0", "stylelint-config-standard": "^41.1.0", "typescript": "~6.0.3", - "vite": "^8.4.0", + "vite": "^8.4.1", "vitest": "^5.1.2" }, "peerDependencies": { @@ -150,12 +150,12 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", - "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.17.tgz", + "integrity": "sha512-IdlVpcDeoDATtN2cfmnVk0A4XJKhu7SlpGuSaiOFdko09YC1MD07WokWUSEdw5R2o4o8VObX2LzViQW6VXnzkA==", "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.17", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" }, @@ -164,9 +164,9 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.7.tgz", - "integrity": "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.17.tgz", + "integrity": "sha512-pC/HCNB1loXYCLB9S7FDieWKJiXH8LJTUGFvVAm+7hWUKBjL07EcvVITNH9KlXdS/TTSbChZHZCYx/yag6LbRw==", "dev": true, "license": "MIT", "engines": { @@ -174,21 +174,21 @@ } }, "node_modules/@babel/core": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.16.tgz", - "integrity": "sha512-qK40pOeReBJY7B0JX6CCIfauMLAa0IlvuVYJ+aZBYLVJwmNUTvsQcEu0En9hVMmNjeSUSQYwvpi1JgXn5imIQw==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.17.tgz", + "integrity": "sha512-dP4g0UpATLviwEEb46bBaeL5MyW3q7LwqGoaQJvjXGS8tdpxckLtDTI9FBwA5ioVHnYoR2nRqCf1BmlMwbZV5A==", "dev": true, "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.29.7", - "@babel/generator": "^7.29.16", - "@babel/helper-compilation-targets": "^7.29.13", - "@babel/helper-module-transforms": "^7.29.16", - "@babel/helpers": "^7.29.16", - "@babel/parser": "^7.29.15", - "@babel/template": "^7.29.7", - "@babel/traverse": "^7.29.16", - "@babel/types": "^7.29.15", + "@babel/code-frame": "^7.29.17", + "@babel/generator": "^7.29.17", + "@babel/helper-compilation-targets": "^7.29.17", + "@babel/helper-module-transforms": "^7.29.17", + "@babel/helpers": "^7.29.17", + "@babel/parser": "^7.29.17", + "@babel/template": "^7.29.17", + "@babel/traverse": "^7.29.17", + "@babel/types": "^7.29.17", "@jridgewell/remapping": "^2.3.5", "convert-source-map": "^2.0.0", "debug": "^4.1.0", @@ -222,13 +222,13 @@ } }, "node_modules/@babel/generator": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.16.tgz", - "integrity": "sha512-yRtddtrcYdLJt0l70aP7usb2YpMHNXAdAvJW2hXdka5boR4vKMS/F5BTR5sULkbht9xPk/EKzbY2mCczMutZqQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.17.tgz", + "integrity": "sha512-xjNUVINWex7s4U0vESYwa8ChCBnmvhCQ6nkAdnhM8WYPlhXvU9D9fPurOSYQLV4FwcNXacDkN/MWIPNHsTI2OA==", "license": "MIT", "dependencies": { - "@babel/parser": "^7.29.15", - "@babel/types": "^7.29.15", + "@babel/parser": "^7.29.17", + "@babel/types": "^7.29.17", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" @@ -238,14 +238,14 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.29.13", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.13.tgz", - "integrity": "sha512-8WxJ4/Vmes3ghacj8VOJy3NW8eyHiFY/4thU/LSBuBE470+igjR/j1ZTNn8fV5VdNrLx6iXUwig526UdOvfP0w==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.17.tgz", + "integrity": "sha512-6uFqkZstBw0lSRaEr/7HNuqURHubX4BvnN0FbbIBNFa5/nUcKLp5AFubCcUlbik9mI/Ztsz3mdjjpqoF3dVqrA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.29.7", - "@babel/helper-validator-option": "^7.29.7", + "@babel/compat-data": "^7.29.17", + "@babel/helper-validator-option": "^7.29.17", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" @@ -265,37 +265,37 @@ } }, "node_modules/@babel/helper-globals": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz", - "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.17.tgz", + "integrity": "sha512-SeQUwFlH8hH1vjUmBFeqwxt6Nsjp01MKEZOtZPJ86lpA4GBdb/o0dShjC+Awf7v74/+84KIL1RiJ4TOJj6gU+A==", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-imports": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz", - "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.17.tgz", + "integrity": "sha512-bLxkfvUEHeWShbadKTm7EfDCkosXZh6PjWEa9bYiCuob24c0nm388ara2Hz6KisGaXe+XCsi6VyfJNSJjeUUwg==", "license": "MIT", "dependencies": { - "@babel/traverse": "^7.29.7", - "@babel/types": "^7.29.7" + "@babel/traverse": "^7.29.17", + "@babel/types": "^7.29.17" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.16.tgz", - "integrity": "sha512-jzdW9nRNJXbNAfcbtfZA75vcQK8c/PRniwNL1KIQukiptryb5JlCl+nwi3idOSj611tMgiZxb9PuKg1FI0BvVQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.17.tgz", + "integrity": "sha512-eY/pAYlV7pC5biPmW0M7fDqv1D+opqI0Ioa6OQeg0AV3465b8K8g9I9fvZIV11u35f7jU6q5RXYlUD6k4QLC3w==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-module-imports": "^7.29.7", - "@babel/helper-validator-identifier": "^7.29.7", - "@babel/traverse": "^7.29.16" + "@babel/helper-module-imports": "^7.29.17", + "@babel/helper-validator-identifier": "^7.29.17", + "@babel/traverse": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -305,27 +305,27 @@ } }, "node_modules/@babel/helper-string-parser": { - "version": "7.29.15", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.15.tgz", - "integrity": "sha512-C2FuapQ2Kh1OnVHAoLi5rD3GBJ8COb9Q609T6HEpLqaBAo560PDP5OxBE5dCI/h951MBO/+bCUYU5SZ+8ZlV+w==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.17.tgz", + "integrity": "sha512-iY5lvqFhfgMXp4o4zWads4NvQZXizBxzCoADPOgFMcMwk1XefAdBJbc9i1y94aflY57lokjOjRTa3AOOW9R7BQ==", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", - "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.17.tgz", + "integrity": "sha512-AG+olLB+teKhkQ2WYJeaZqJwNLjtWTz1waQIP/tEYITzVzpdHLP7IXx2c/bH2JTsNCgvWlkqdCv91xcb8lul8Q==", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-option": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz", - "integrity": "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.17.tgz", + "integrity": "sha512-Pr+bjfbd4TYVax16KyHVyElTnid5nbWQWQvA/dPlESoKVZ8B4eTAUhoqug/mtD9hWAEgIQIOyvjUBMI9HjdrGw==", "dev": true, "license": "MIT", "engines": { @@ -333,26 +333,26 @@ } }, "node_modules/@babel/helpers": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.16.tgz", - "integrity": "sha512-JGNbyEyvOAvceLDQoO6b/w/HbW6KX3sdWgrPCFcAyHfhfsqRoRN14vfaG3GZ90g2dVK7UEe65giopuldeimBjg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.17.tgz", + "integrity": "sha512-Q7LRJjIiFAiOtfkVBzXe4op1tQ8dXYsRsdojKzLfERndnXcmyyn9RZIBlSJzFo0O3CouXV3Tvb8AGolaDr1M7A==", "dev": true, "license": "MIT", "dependencies": { - "@babel/template": "^7.29.7", - "@babel/types": "^7.29.15" + "@babel/template": "^7.29.17", + "@babel/types": "^7.29.17" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/parser": { - "version": "7.29.15", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.15.tgz", - "integrity": "sha512-RpKWyisHoP81twtSCgmE02iU0RnPcq1DN5bBEbpUePrjA9Q3wXhufnCJrrayPpoZieqFh3zyZQqwtSK0gGccRA==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.17.tgz", + "integrity": "sha512-I+0olVqWMm9bimQJc/5B3jn1nivNDXtnMtDVs07XdHzZLcWa2N/mlCTPmAsQg95QcKoXSuFD2Yz4fwdtoyk7DQ==", "license": "MIT", "dependencies": { - "@babel/types": "^7.29.15" + "@babel/types": "^7.29.17" }, "bin": { "parser": "bin/babel-parser.js" @@ -362,40 +362,40 @@ } }, "node_modules/@babel/runtime": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.16.tgz", - "integrity": "sha512-LKBjGopxrQE0aFucNL69OyyyF143MOWUULEOftU3oCgyD35Sy84UUpVnt/sNvTb7ZmCyALSt7om+fojlW35zYQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.17.tgz", + "integrity": "sha512-CvlZdpED5dsu21yK0DfpXksJWt1zeW09lY49hp7P9cA5Qedx/QkwEs1PfluSJjijH9i94oT9LmtgGWlPY8ISzw==", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/template": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz", - "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.17.tgz", + "integrity": "sha512-D4nOLKOzIBwn7/Z78h3UPEwzFObmPVTukBJ9+63BijgMVeLj6mQ77FJb6YCZ4QBo6VjAk/yj4QnpKusTcBy6vA==", "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.29.7", - "@babel/parser": "^7.29.7", - "@babel/types": "^7.29.7" + "@babel/code-frame": "^7.29.17", + "@babel/parser": "^7.29.17", + "@babel/types": "^7.29.17" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.29.16", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.16.tgz", - "integrity": "sha512-a16ah9dTLOLUq5BL7NElJ7keefg/276vgfTfExDf1PizddYboqRnQXDTooVPb0VArIqrKe8KLlghnTxlZFEZtQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.17.tgz", + "integrity": "sha512-q+CnfQcmNfDdOUARkt9FWtdR0HPOCcyQBj1Z7l2SOpFIfUB/XI3dXS0B5UOlZWwQCun80xVhgcv4ip6w128u9g==", "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.29.7", - "@babel/generator": "^7.29.16", - "@babel/helper-globals": "^7.29.7", - "@babel/parser": "^7.29.15", - "@babel/template": "^7.29.7", - "@babel/types": "^7.29.15", + "@babel/code-frame": "^7.29.17", + "@babel/generator": "^7.29.17", + "@babel/helper-globals": "^7.29.17", + "@babel/parser": "^7.29.17", + "@babel/template": "^7.29.17", + "@babel/types": "^7.29.17", "debug": "^4.3.1" }, "engines": { @@ -403,13 +403,13 @@ } }, "node_modules/@babel/types": { - "version": "7.29.15", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.15.tgz", - "integrity": "sha512-/XKpKDakL//LZ66bq1XsZOswuqeI5MZqPLDu18o3XdkU1fNJ7bdPtzgnc4ZNS+bBGHV0FJG8jjb8SwcC3nNVQQ==", + "version": "7.29.17", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.17.tgz", + "integrity": "sha512-kzo3lZUbI0gARA4QvhmOTH/aws2SrZ880ECQRIjPPSrdfBM0bZCkj1U7UN2fB0GNeXayqCiLVXa2+1jAhn377Q==", "license": "MIT", "dependencies": { - "@babel/helper-string-parser": "^7.29.15", - "@babel/helper-validator-identifier": "^7.29.7" + "@babel/helper-string-parser": "^7.29.17", + "@babel/helper-validator-identifier": "^7.29.17" }, "engines": { "node": ">=6.9.0" @@ -435,9 +435,9 @@ } }, "node_modules/@blueprintjs/core": { - "version": "6.23.3", - "resolved": "https://registry.npmjs.org/@blueprintjs/core/-/core-6.23.3.tgz", - "integrity": "sha512-A6sxpbH4ya+zxmvjP1YbULMeg+LyJuEE7EvkNK/FjJb6hd2ePRGBQjrnno5e/s6rtKp/MAI+JqCYvW0W6NEupw==", + "version": "6.24.0", + "resolved": "https://registry.npmjs.org/@blueprintjs/core/-/core-6.24.0.tgz", + "integrity": "sha512-3nQlo0jlTJl0hzLBjj6Xt8BZpZUXsXkQmy+BEoASzSD8uhi5psHXvF9Q3g/T3eOYYZVZ5c1h9js9kdJYJOu4+A==", "license": "Apache-2.0", "dependencies": { "@blueprintjs/colors": "^5.1.16", @@ -502,13 +502,13 @@ } }, "node_modules/@blueprintjs/select": { - "version": "6.4.5", - "resolved": "https://registry.npmjs.org/@blueprintjs/select/-/select-6.4.5.tgz", - "integrity": "sha512-NXt2ELqWyxhKNbsJIT3gjV8qIkAh4V2g57tbdbZ7tSMVO1PdHX4Z5LgkKH+Onrlcbuq4VedlpaI/zp/Voxbrzw==", + "version": "6.4.6", + "resolved": "https://registry.npmjs.org/@blueprintjs/select/-/select-6.4.6.tgz", + "integrity": "sha512-rmOE4UdodsUVLtkPbSIsDi8IJpHuB3A42DHA7bYz2HiIrxor9JBVGW58IX1DMluAqps/TtHeoxuGkzkgCbazOA==", "license": "Apache-2.0", "dependencies": { "@blueprintjs/colors": "^5.1.16", - "@blueprintjs/core": "^6.23.3", + "@blueprintjs/core": "^6.24.0", "@blueprintjs/icons": "^6.17.0", "classnames": "^2.3.1", "tslib": "~2.6.2" @@ -549,9 +549,9 @@ } }, "node_modules/@cspell/cspell-bundled-dicts": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/@cspell/cspell-bundled-dicts/-/cspell-bundled-dicts-10.6.0.tgz", - "integrity": "sha512-UTXEbjBjrT42xaLOzDEsy5yC2lPg/76vKXr1c2jKAlFPZm4ypHb/vLtAe7o7FRA12Uf9E/CruCFi24+Nl5BF0A==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-bundled-dicts/-/cspell-bundled-dicts-10.7.0.tgz", + "integrity": "sha512-pPFGNo2Ok03ZZcesNU+hC3aoz8h4bYq0gSMpbMRkrhfxsc+bV3fs1ZEferZ0pJyE3xWroSfn1AyUDT6NBpR08g==", "dev": true, "funding": [ { @@ -614,7 +614,7 @@ "@cspell/dict-markdown": "^2.0.18", "@cspell/dict-monkeyc": "^1.1.2", "@cspell/dict-node": "^5.0.9", - "@cspell/dict-npm": "^5.2.58", + "@cspell/dict-npm": "^5.2.59", "@cspell/dict-php": "^4.1.3", "@cspell/dict-powershell": "^5.0.17", "@cspell/dict-public-licenses": "^2.0.17", @@ -638,9 +638,9 @@ } }, "node_modules/@cspell/cspell-json-reporter": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/@cspell/cspell-json-reporter/-/cspell-json-reporter-10.6.0.tgz", - "integrity": "sha512-C+AeJVvKw9eHjgSCIpNeZqFwhfWjAFsh/Pii7aUE0D5D5Z3Wsp3PVVpE+FuVqXifolovvUD9/WAdnF9pXpTVhw==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-json-reporter/-/cspell-json-reporter-10.7.0.tgz", + "integrity": "sha512-37NaaMRDKgRK8C9AQkeULW7grKeOJaaminPfp76JNRygqqHtGXu6AWC2BismIkesBS3MudjSIT+/DTl8M3Bg5w==", "dev": true, "funding": [ { @@ -662,16 +662,16 @@ ], "license": "MIT", "dependencies": { - "@cspell/cspell-types": "10.6.0" + "@cspell/cspell-types": "10.7.0" }, "engines": { "node": ">=22.18.0" } }, "node_modules/@cspell/cspell-performance-monitor": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/@cspell/cspell-performance-monitor/-/cspell-performance-monitor-10.6.0.tgz", - "integrity": "sha512-szw9iMx/C1/T7bLFjFL9NsEat/B6aeVe6xHte61S5sgAU2KWLr4TjaFLYsM3S0zLZCekbWGEoNPcpVU+hiPtRA==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-performance-monitor/-/cspell-performance-monitor-10.7.0.tgz", + "integrity": "sha512-RsBX2qzvLGK9LVQsQ/JVRkKmEMO74QyAgKblfjZJk1fxqRdQZfxvdlJOlhRF9Wfpp0zAsA0VMQAVUd38UBxJyw==", "dev": true, "funding": [ { @@ -697,9 +697,9 @@ } }, "node_modules/@cspell/cspell-pipe": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/@cspell/cspell-pipe/-/cspell-pipe-10.6.0.tgz", - "integrity": "sha512-CmmL+y383uFUf1B+uy5Tn5x7tJz0+jHeMaR4FfggYNhtxRnxF8QQ66OCtfQvzQTszOVPhaxutMwJqJ3QBg8R8w==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-pipe/-/cspell-pipe-10.7.0.tgz", + "integrity": "sha512-FaG2kfiBMgDWaxHAcFDJ5X9l/vlDSEMnvTHRc2MTO6I1P5YD+BijcXpeVEb1824IeyoqWHkmnec9Kv46F6xvkQ==", "dev": true, "funding": [ { @@ -725,9 +725,9 @@ } }, "node_modules/@cspell/cspell-resolver": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/@cspell/cspell-resolver/-/cspell-resolver-10.6.0.tgz", - "integrity": "sha512-bxepi38Ru0crpEGD7vikKgaffe6fAweV6JhQ2wmwYjWCPQr+otgbs4O/1uCkGiR/M1Zf9xjNT2u0KanQKnYlJw==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-resolver/-/cspell-resolver-10.7.0.tgz", + "integrity": "sha512-vbTcWScsoFOwTZS9hFc3ri2AtV5/zwlQ3PEOqYfkMnhNL10Yr1KSIlKjlAp4ADPKQNxkWqnyiyvFS8Gam+AFBQ==", "dev": true, "funding": [ { @@ -756,9 +756,9 @@ } }, "node_modules/@cspell/cspell-service-bus": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/@cspell/cspell-service-bus/-/cspell-service-bus-10.6.0.tgz", - "integrity": "sha512-zGC8JoHP4Y5j62BfnAAjxdOt+noC1qLa+bV07mCG36C+fLTCqW3fAXtwlcB0cnPW09FUGmESemIEYtMzOZqkjw==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-service-bus/-/cspell-service-bus-10.7.0.tgz", + "integrity": "sha512-kmRYpOTjqDi83ne6v7SQBUhFYgKNYikS06hyWikBTo5uaGLo8VRKbFjy1g97SfNpuXVZYhC1mDQKkpheEeVtNA==", "dev": true, "funding": [ { @@ -784,9 +784,9 @@ } }, "node_modules/@cspell/cspell-types": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/@cspell/cspell-types/-/cspell-types-10.6.0.tgz", - "integrity": "sha512-QVEVG+PIN9I+vT7XlNGxYGMXcqUahxE6w3gFMI0OPxzh5uOa9OGHKO9B60P55H86YZwg4BeloaU+JSnNd/npew==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-types/-/cspell-types-10.7.0.tgz", + "integrity": "sha512-XT6NhG8wr3vT9XB2j3qZ6Ki5jUY+zGyVY/3iFUREzjVdxpkyA755N3G8sYa5EOtfzq3SCEIotA2buGgNYzaKhQ==", "dev": true, "funding": [ { @@ -812,9 +812,9 @@ } }, "node_modules/@cspell/cspell-worker": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/@cspell/cspell-worker/-/cspell-worker-10.6.0.tgz", - "integrity": "sha512-fDonUd4Vmoqdadht4qwivJu5lAjanJH8oATjiCJVDvjxD7wUAhP5/y+PmBH+IqHOUyRrjFZWx2IabIAMlh2OoA==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-worker/-/cspell-worker-10.7.0.tgz", + "integrity": "sha512-cEuwn8r4NbEtkmC9uJlvXWn0sXw2dereWYdybD8z3sHt9npVvR/07tnwgZWBY/tnL1TN892tPqObd2FLdBe7OQ==", "dev": true, "funding": [ { @@ -836,7 +836,7 @@ ], "license": "MIT", "dependencies": { - "cspell-lib": "10.6.0" + "cspell-lib": "10.7.0" }, "engines": { "node": ">=22.18.0" @@ -1268,9 +1268,9 @@ "license": "MIT" }, "node_modules/@cspell/dynamic-import": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/@cspell/dynamic-import/-/dynamic-import-10.6.0.tgz", - "integrity": "sha512-Q9xQ/BhLQGuXJEC0SwAZRPYsYClZ14JBv9Jrhoch6yBF9kQVzZrFUHXizSDxnF0ah0FeAqLExLSr09hr24ZDsA==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/@cspell/dynamic-import/-/dynamic-import-10.7.0.tgz", + "integrity": "sha512-tRY6GLff3/k0lOCScLnkhzsXuv4FZJLL+8/1See9prblO/+60AAzQEipCceNRqZkopafD7O0up8yYBbDaYtwvQ==", "dev": true, "funding": [ { @@ -1292,7 +1292,7 @@ ], "license": "MIT", "dependencies": { - "@cspell/url": "10.6.0", + "@cspell/url": "10.7.0", "import-meta-resolve": "^4.2.0" }, "engines": { @@ -1300,9 +1300,9 @@ } }, "node_modules/@cspell/filetypes": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/@cspell/filetypes/-/filetypes-10.6.0.tgz", - "integrity": "sha512-y/NGuZGJ9k0zBliawKrGmJn42FLRi1U/r2WI4mjU1FeD2Kl5JDK7gxgovr1uQjXpFONazHaTps9f4w0ISQDuZw==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/@cspell/filetypes/-/filetypes-10.7.0.tgz", + "integrity": "sha512-PFmwgsUEd2y7sCKYj0VyexVdVn0nziW9fs95ViOad4Hl9pjWG5YdIbZoR6R2Hdgtta9dKMIyINWRCGLHC1JaJQ==", "dev": true, "funding": [ { @@ -1331,9 +1331,9 @@ } }, "node_modules/@cspell/rpc": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/@cspell/rpc/-/rpc-10.6.0.tgz", - "integrity": "sha512-oKIAX3gRtoLJDSaUhSSC2lq4PAyW8X76Xd3WTEp+vsbRoK6ETYrapg3pzpkA5JF1QCsZHiD1ga4w1JucvbzACA==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/@cspell/rpc/-/rpc-10.7.0.tgz", + "integrity": "sha512-rBXKUoHuyBV4dUV8AdWvbAsz9je2/mYMfO5eY5RunyWiVXh20Y6KMtiOThJLqlsaMftXNr+ejY9YaBRcw7yBag==", "dev": true, "funding": [ { @@ -1359,9 +1359,9 @@ } }, "node_modules/@cspell/url": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/@cspell/url/-/url-10.6.0.tgz", - "integrity": "sha512-s2aqttFVOR6aVU/P05lsq7zHNyXMYjR3Lz1//sxgCwyKYosZ57zkDhwlTfTSrNAWVkhxhrGDCUE5HGQz6IIgHA==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/@cspell/url/-/url-10.7.0.tgz", + "integrity": "sha512-TkeLcaSUnmphauoeGNi1LfsMq+cq4OEfDWiQ2fRfq7PBMYKLks01qiTsl/cgi9M3nAuGc018Lu8b8OXrOEwsAA==", "dev": true, "funding": [ { @@ -1801,9 +1801,9 @@ } }, "node_modules/@es-joy/jsdoccomment": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-1.2.3.tgz", - "integrity": "sha512-n9wKdGNyQlzDIzudVtVdz2cb4c/jJPSC9BsE/lq4HGSVLHUsQf+HuODhFFqF6oe1YLZpuvlQSHwgu6NKYCGw7A==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-1.2.4.tgz", + "integrity": "sha512-aCFLuIdLW25lsNz1XGxc3NdT0HNJLH67iSkTyBwR5sZv/4mHWKjIhsc2lzA4OrQHDMvAHqKWCdVXcb9HVnEpOQ==", "dev": true, "license": "MIT", "dependencies": { @@ -1870,9 +1870,9 @@ } }, "node_modules/@eslint-react/ast": { - "version": "5.30.7", - "resolved": "https://registry.npmjs.org/@eslint-react/ast/-/ast-5.30.7.tgz", - "integrity": "sha512-RD/NBYey+m+dvfQXYpyyGvbrU6KlFDCUDwb4+oV2RFI/NXnGms+MtGnX3AFDG8fAglDscZUQDdXFxOISPjCi+Q==", + "version": "5.30.8", + "resolved": "https://registry.npmjs.org/@eslint-react/ast/-/ast-5.30.8.tgz", + "integrity": "sha512-Ld5758H3Lt4cBukxQ7siUOb0lLQIcprfa2qe/1zkKw+3H5GWd09A5Bw4bVOhM5V2V8TKmnzbSOn0zt0GCWK7Qg==", "dev": true, "license": "MIT", "dependencies": { @@ -1894,17 +1894,17 @@ } }, "node_modules/@eslint-react/core": { - "version": "5.30.7", - "resolved": "https://registry.npmjs.org/@eslint-react/core/-/core-5.30.7.tgz", - "integrity": "sha512-zf1QI5H7D0f/QQNsfbj2h8o+azemQCWj9hWEng9ut6odUQBdR6pHWEGiYxhAZNodZLnOujS71k53meoYmY3GqA==", + "version": "5.30.8", + "resolved": "https://registry.npmjs.org/@eslint-react/core/-/core-5.30.8.tgz", + "integrity": "sha512-T/+4wqt2L/6YmG2gdyroEXGswAVRBvBgU+KfMwSTz54K3nVbCbsvH5hjjWiBEEaDp7AYzqKNoTqHjlAcAsUytQ==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/ast": "5.30.7", - "@eslint-react/eslint": "5.30.7", - "@eslint-react/jsx": "5.30.7", - "@eslint-react/shared": "5.30.7", - "@eslint-react/var": "5.30.7", + "@eslint-react/ast": "5.30.8", + "@eslint-react/eslint": "5.30.8", + "@eslint-react/jsx": "5.30.8", + "@eslint-react/shared": "5.30.8", + "@eslint-react/var": "5.30.8", "@typescript-eslint/types": "^8.74.0", "@typescript-eslint/utils": "^8.74.0", "ts-pattern": "^5.9.2" @@ -1923,9 +1923,9 @@ } }, "node_modules/@eslint-react/eslint": { - "version": "5.30.7", - "resolved": "https://registry.npmjs.org/@eslint-react/eslint/-/eslint-5.30.7.tgz", - "integrity": "sha512-PiRf4pkUkt97lJ4gKbQa294s0wek7hNifNBM5/3mOfrQCiUQDHicrPMt2epJ/vh+T5nCoqRhdW28EfbHwSbpdg==", + "version": "5.30.8", + "resolved": "https://registry.npmjs.org/@eslint-react/eslint/-/eslint-5.30.8.tgz", + "integrity": "sha512-BUbBJLUHB1nsbGzreJ9V8ZaYZls2Apgve9jFlF91gLRGjUgHXV5gWVRQbVmGz8HNudTou+gvYvO8Jzgx8pZAtg==", "dev": true, "license": "MIT", "dependencies": { @@ -1946,24 +1946,24 @@ } }, "node_modules/@eslint-react/eslint-plugin": { - "version": "5.30.7", - "resolved": "https://registry.npmjs.org/@eslint-react/eslint-plugin/-/eslint-plugin-5.30.7.tgz", - "integrity": "sha512-B96/FAYdcO7RZkyShEtzUJ3EhIEi3NHc36MCVXSiongpRKgyhBjvWBJWi5D5e8ptLTeg12LnJkz3wYiIbOspGw==", + "version": "5.30.8", + "resolved": "https://registry.npmjs.org/@eslint-react/eslint-plugin/-/eslint-plugin-5.30.8.tgz", + "integrity": "sha512-IeyI4n/zTIY70Lw7QSTBsiKCb+g+ZStzknDFf5qzKyvAOkUDMiUA+OKYbB8+R/XdPTJGPdpAVOIr3WCpLnPxQQ==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/ast": "5.30.7", - "@eslint-react/eslint": "5.30.7", - "@eslint-react/shared": "5.30.7", + "@eslint-react/ast": "5.30.8", + "@eslint-react/eslint": "5.30.8", + "@eslint-react/shared": "5.30.8", "@typescript-eslint/scope-manager": "^8.74.0", "@typescript-eslint/types": "^8.74.0", "@typescript-eslint/utils": "^8.74.0", - "eslint-plugin-react-dom": "5.30.7", - "eslint-plugin-react-jsx": "5.30.7", - "eslint-plugin-react-naming-convention": "5.30.7", - "eslint-plugin-react-rsc": "5.30.7", - "eslint-plugin-react-web-api": "5.30.7", - "eslint-plugin-react-x": "5.30.7" + "eslint-plugin-react-dom": "5.30.8", + "eslint-plugin-react-jsx": "5.30.8", + "eslint-plugin-react-naming-convention": "5.30.8", + "eslint-plugin-react-rsc": "5.30.8", + "eslint-plugin-react-web-api": "5.30.8", + "eslint-plugin-react-x": "5.30.8" }, "engines": { "node": ">=20.19.0" @@ -1979,14 +1979,14 @@ } }, "node_modules/@eslint-react/jsx": { - "version": "5.30.7", - "resolved": "https://registry.npmjs.org/@eslint-react/jsx/-/jsx-5.30.7.tgz", - "integrity": "sha512-5jOegfycF7/R2Hr7h/si6UvpLEjp7xnzhYsvVgg4+50y1W68gxiI3OXtHdxYsmBkS1DNuGr0tCg2bxNVOw2f2A==", + "version": "5.30.8", + "resolved": "https://registry.npmjs.org/@eslint-react/jsx/-/jsx-5.30.8.tgz", + "integrity": "sha512-1k/3AUHhDQIafesmXjgxLHpalJaMLIf/tHKcY8nxCUmAnhUbzN7e1rGERz34+Tx3StVnFJBuWeFow+pBjFmccw==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/ast": "5.30.7", - "@eslint-react/eslint": "5.30.7", + "@eslint-react/ast": "5.30.8", + "@eslint-react/eslint": "5.30.8", "@typescript-eslint/types": "^8.74.0", "@typescript-eslint/utils": "^8.74.0" }, @@ -2004,13 +2004,13 @@ } }, "node_modules/@eslint-react/shared": { - "version": "5.30.7", - "resolved": "https://registry.npmjs.org/@eslint-react/shared/-/shared-5.30.7.tgz", - "integrity": "sha512-L9iaxvXIkik26+W0aI43jT235Jrqp6MHqTRZMfToW8DYsrSlzYGlfFaDAbrIW4AV2HjL00IlGy9KE1hCNykY9g==", + "version": "5.30.8", + "resolved": "https://registry.npmjs.org/@eslint-react/shared/-/shared-5.30.8.tgz", + "integrity": "sha512-6TAf8lhFK7OgnKQqjZGJSA2qKrMwJ1PFWv1ovdEYQjYd5t1Ldq7iMb3LBlSb7vS6Z/cj3CJYRDBjxibmQ2tyQg==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/eslint": "5.30.7", + "@eslint-react/eslint": "5.30.8", "@typescript-eslint/utils": "^8.74.0", "ts-pattern": "^5.9.2", "zod": "^4.6.7" @@ -2029,14 +2029,14 @@ } }, "node_modules/@eslint-react/var": { - "version": "5.30.7", - "resolved": "https://registry.npmjs.org/@eslint-react/var/-/var-5.30.7.tgz", - "integrity": "sha512-9YfSzUIXGc0mv90Wm6y4ShsZOfDcafxyV7N0mtG2UztSEZNzy1IB58MzxbJEMLzk94bMJf3hIzxcoZsQBmJxvA==", + "version": "5.30.8", + "resolved": "https://registry.npmjs.org/@eslint-react/var/-/var-5.30.8.tgz", + "integrity": "sha512-tXGXhW8zaNj6a7nohCwj1itxsd0VROrUrdSuDQyoZY02evFmGygInEUU9WWGZv32AAxpEaEw82qAW07f6FSQ6Q==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/ast": "5.30.7", - "@eslint-react/eslint": "5.30.7", + "@eslint-react/ast": "5.30.8", + "@eslint-react/eslint": "5.30.8", "@typescript-eslint/scope-manager": "^8.74.0", "@typescript-eslint/types": "^8.74.0", "@typescript-eslint/utils": "^8.74.0", @@ -2097,9 +2097,9 @@ } }, "node_modules/@eslint/css-tree": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@eslint/css-tree/-/css-tree-4.1.4.tgz", - "integrity": "sha512-JZPkyGyD9+4/RxtZoKMcR2E8yVL1vb/ZUKEthURj1Y22YbonGcnrrEI+XTV1Xv2N9Hwj59QAuHHddbydNX8qoQ==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@eslint/css-tree/-/css-tree-4.1.5.tgz", + "integrity": "sha512-9ME5iv3FufIP9pb8x1XykowZG7WjjcIQfbZo1pciGEtnSQ2NURlSZnB/SrD7ajKKRcHiQo4VvPJxDKRrIxHUpw==", "dev": true, "license": "MIT", "dependencies": { @@ -2459,9 +2459,9 @@ } }, "node_modules/@oxc-parser/binding-android-arm-eabi": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm-eabi/-/binding-android-arm-eabi-0.160.0.tgz", - "integrity": "sha512-IGhHufQ5uRhivrpzCcUJ92Mj4kYyFVhghaWk9hgZP/b+7WxdzdhFqBbH+PwEcfssDdIW10YHXcFvWib3kMX4Zg==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm-eabi/-/binding-android-arm-eabi-0.161.0.tgz", + "integrity": "sha512-7rZxHs0ZndC5wp8OAooueAJp+qMjycAvhGerKMg8Kc3y2x7pdvqJ6m9YxIwZ/cao0/w9R5/HL63zRMWrL7+PYQ==", "cpu": [ "arm" ], @@ -2476,9 +2476,9 @@ } }, "node_modules/@oxc-parser/binding-android-arm64": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm64/-/binding-android-arm64-0.160.0.tgz", - "integrity": "sha512-VxqVDFdTJG/QrJJ5pc/JIocKExtxCGcKf9qBsjIMS2VymVnHNdDu58d35pkgxIMFhxJ92YD79+66SBv86GXfCw==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm64/-/binding-android-arm64-0.161.0.tgz", + "integrity": "sha512-v8cNS3rcfFCbWBstttbhi784bMIqdGB3r8+LxHEM5umHR2XkQWiaOX7I/0lnUHF1f5zLSlA818sqg7TKFBn0Wg==", "cpu": [ "arm64" ], @@ -2493,9 +2493,9 @@ } }, "node_modules/@oxc-parser/binding-darwin-arm64": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-arm64/-/binding-darwin-arm64-0.160.0.tgz", - "integrity": "sha512-W5ULJkX2YAZAi6h2gkWCZCq1Ws5ZTIejBXjQP3tdf/UOeJaNQes4Vo5659/szYrFoBTef+WWcOU4HaY3TT4OYQ==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-arm64/-/binding-darwin-arm64-0.161.0.tgz", + "integrity": "sha512-m06qAJmRZfG2wIDZIunFmsf4E1CqzbEO54Gdll4bf9ahUOpL6JcnJHe/TRH3jbWJSJwc6ddxVyDI16N+oxhhoQ==", "cpu": [ "arm64" ], @@ -2510,9 +2510,9 @@ } }, "node_modules/@oxc-parser/binding-darwin-x64": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-x64/-/binding-darwin-x64-0.160.0.tgz", - "integrity": "sha512-NNV6qakT/DX8SLqpe/gJ2ab2yDVJ+y6DKdJrbyTAdkpMjTP1KljiUxtAwoKVlHVPqfGMFPpSHIU9yL3FAWG/3w==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-x64/-/binding-darwin-x64-0.161.0.tgz", + "integrity": "sha512-sxeOif3jV42oXbi2ruVjE7Z/vH3ifxUqbLvDdp4EjOj7R/6ADMelvj39Ra845uYR7akzZAF1AUu/8VdOmPociw==", "cpu": [ "x64" ], @@ -2527,9 +2527,9 @@ } }, "node_modules/@oxc-parser/binding-freebsd-x64": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-freebsd-x64/-/binding-freebsd-x64-0.160.0.tgz", - "integrity": "sha512-P1Ay7bTnFJarHefoBOOrzZ8ynRluk0w92p/+PwkAYgg38Fh5Z2eQN2slzYqODyNQRDd2YrdecLV038V6KmqfXw==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-freebsd-x64/-/binding-freebsd-x64-0.161.0.tgz", + "integrity": "sha512-z2BzdDvFOFZ9GD58+cW/+wX76BU2vhzxpt8CHtcvlWT1O9CTuy3tuJAQbrvNCae89JbAzNG1RCvTTr8X7qSeEg==", "cpu": [ "x64" ], @@ -2544,9 +2544,9 @@ } }, "node_modules/@oxc-parser/binding-linux-arm-gnueabihf": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-0.160.0.tgz", - "integrity": "sha512-jw16rzFMeyaGRTVoHTiKAe5qHa6T5v54GX0TGoAvbEskN+hQcK0pZQ+pi5n3yGZ7b1+vTF2eBuqQP98mgcd6XA==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-0.161.0.tgz", + "integrity": "sha512-nTcaamp9wEgYcfW5IJP2sMJhyf74x5kvVGFVCr35e+7ieJsjL+Gat/zqg+CtWsluEVAbqQ8A6MC8WyXkhz0a0w==", "cpu": [ "arm" ], @@ -2561,9 +2561,9 @@ } }, "node_modules/@oxc-parser/binding-linux-arm-musleabihf": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-0.160.0.tgz", - "integrity": "sha512-B55bnJn8XMC8NDBbEsL6Za2ZuFx6RIG49GMSlHYfpIc2pWQ6sbJRwarP+iKXnPgpJ1N7wfOAotMp58NUYjzQaQ==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-0.161.0.tgz", + "integrity": "sha512-+/FA+S20pxKPmo9oXjCf6JXrs3/mzC4iUYI+bDJQt/4jYGeqrbI89wI2k5v3fOUdVHyjPfT6C6GIH6eoch63Hw==", "cpu": [ "arm" ], @@ -2578,9 +2578,9 @@ } }, "node_modules/@oxc-parser/binding-linux-arm64-gnu": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-0.160.0.tgz", - "integrity": "sha512-YKVHxONDpWXTPfilLv2MKvaI7VbYnKHARr5wJ3KKKGk0OkauDc0tVFyZlKFwIy9+br46fh8AjTVCnz6+9gKxVA==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-0.161.0.tgz", + "integrity": "sha512-mqNTntheFrojC2pEb+D9IdyZ5wHyFojljrG/x2uG2MnAiKGE7UUcIKUUHR1MRl9hq0uonEt/NG3UiIuUzdY+Ww==", "cpu": [ "arm64" ], @@ -2598,9 +2598,9 @@ } }, "node_modules/@oxc-parser/binding-linux-arm64-musl": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-musl/-/binding-linux-arm64-musl-0.160.0.tgz", - "integrity": "sha512-uiVA0AemCVB3+oZ3JmjQCSEqiGIgl+o3+bLqORIfviJbyYlVUChoRh6cVbyyDG6zm4fW0RtQIdKq3fVYuNTA3Q==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-musl/-/binding-linux-arm64-musl-0.161.0.tgz", + "integrity": "sha512-pxicq28qXK4lZvascRUuRC0okky2Zo4fCX0X/Iv7UynmkronmpmDVvD6Sn6Uhuv7ZyhiS1sSU8mRrvuLq6P3UQ==", "cpu": [ "arm64" ], @@ -2618,9 +2618,9 @@ } }, "node_modules/@oxc-parser/binding-linux-ppc64-gnu": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-0.160.0.tgz", - "integrity": "sha512-h/tr4lWGdRXs4rUktl84Z0CprQhdDlxN4D82/cCcoKr0Kb4TEIJriXZVqHPznp12/uBWcV+BiihUBPbeyZm1KQ==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-0.161.0.tgz", + "integrity": "sha512-jNXHd8V/QR/bDRIxuR4R/9Ivvk6sIy2lKmxAt4Ieilye2bXtaBqoOCME2BVFB+TwliMb9vMXM5F9Vt8z9l6DAg==", "cpu": [ "ppc64" ], @@ -2638,9 +2638,9 @@ } }, "node_modules/@oxc-parser/binding-linux-riscv64-gnu": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-0.160.0.tgz", - "integrity": "sha512-bA/Ba24KZYxorIUBHF2NbXM0OVY24xowGu4L0YBzpXhivt+ks1z8BT/c+BYGSfdFFqWrfNkC5TJjQGWdRkUHWQ==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-0.161.0.tgz", + "integrity": "sha512-DrOazxIhCet2iIhQRtbZbT2qlVb/uVNf77IDWbArqW0qtudtz0tGMPPMyUD7UUmxChl8H9Mg9tSqJfM1Li2PeA==", "cpu": [ "riscv64" ], @@ -2658,9 +2658,9 @@ } }, "node_modules/@oxc-parser/binding-linux-riscv64-musl": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-0.160.0.tgz", - "integrity": "sha512-1uI9RghjO7/JQzkL9M/EDnG0Egy5z4v3k5TCUbPESZVUawHEmC52MMnCLe7f2CjMtiLjsm879CnO2HkRtsECNA==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-0.161.0.tgz", + "integrity": "sha512-HTjh2FpM6qOp+4kYfsxeU76idnLy4ReVR07mBfOH1usyWm8fk7vf8mZA/Qawd88lu3VFmoiHof+t6mAgSFBAvg==", "cpu": [ "riscv64" ], @@ -2678,9 +2678,9 @@ } }, "node_modules/@oxc-parser/binding-linux-s390x-gnu": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-0.160.0.tgz", - "integrity": "sha512-1gaVKLXjT+UML8w8ypK93KUJurvUUmegqgQ/7qijDNpGCuogmTOIu0KgsYqL2hH//amY3AtfQhTTMlw9l363wA==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-0.161.0.tgz", + "integrity": "sha512-pmj+3FQhHMRhdJcgdkeOqZ1Gj9B2WqvWuPvESj2qfJSEnLbTcJ/hyq3/WWJvEyGe7tf/Jn8R+etrsrxEhg9a+g==", "cpu": [ "s390x" ], @@ -2698,9 +2698,9 @@ } }, "node_modules/@oxc-parser/binding-linux-x64-gnu": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.160.0.tgz", - "integrity": "sha512-v44/JCrzpIof2jAJwF9W1j9l7mZKEaKihd8vBECBaNyIPcOiO4dtkeGX51MxnGmrJbsltdvTJb60VXLyMyAD2w==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.161.0.tgz", + "integrity": "sha512-ON0kPWLOJx9eS9439MjARiYqiI8GsbqV6QMYpNZiFy/Qbv8C6ZOksI5FIQNBT9tkd/29bk12HlqGaAPNwN8Vgg==", "cpu": [ "x64" ], @@ -2718,9 +2718,9 @@ } }, "node_modules/@oxc-parser/binding-linux-x64-musl": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-musl/-/binding-linux-x64-musl-0.160.0.tgz", - "integrity": "sha512-NOT9x+x27Aitn+z6PggidaeHiKOpbglRXwzcHg+3VqbMT7nv/C3fnXKeVESy4o0u3Yb3mEocwPrtzlT5O53JSA==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-musl/-/binding-linux-x64-musl-0.161.0.tgz", + "integrity": "sha512-dD+mCEBAeD9CledlhuO1Sbrh7l/0CAt/qH+ZMZY7ASTV/K7wkuUm+U5bRmiZcV3VqRD51uDkDvI7BVdims7EqQ==", "cpu": [ "x64" ], @@ -2738,9 +2738,9 @@ } }, "node_modules/@oxc-parser/binding-openharmony-arm64": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-openharmony-arm64/-/binding-openharmony-arm64-0.160.0.tgz", - "integrity": "sha512-kXFdUqEkbB1E66dfqu7sk65w0CaDVp+uPeJ4eOacxBuVgKk/poy+b8/XpFfV443UNB8LUUvzgTzyWLxDQte2Dw==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-openharmony-arm64/-/binding-openharmony-arm64-0.161.0.tgz", + "integrity": "sha512-kvDtrs7WonODzo+/RGHlUoB6RjZqiyz0NiVvMKAD1uAKwiIt6cViCoyWpGSG8yeroiP+j9CUqplGxeEPasayZg==", "cpu": [ "arm64" ], @@ -2755,9 +2755,9 @@ } }, "node_modules/@oxc-parser/binding-win32-arm64-msvc": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-0.160.0.tgz", - "integrity": "sha512-tzYHz6BOwmKCY2c8txeV06CkMzwEVQhFwug8OR75q2UVRMfksf9yD5UBjAeauPEiFhzNogg1RRyk8UZ0bjMXvg==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-0.161.0.tgz", + "integrity": "sha512-FVsENeErPX95cc/zZ//iOIOlUO7EjlrmhZBUTaYo5vDTI10zuuSXelcFwCHv9FHpRoQ94yDp73NQo02Uc6m8rg==", "cpu": [ "arm64" ], @@ -2772,9 +2772,9 @@ } }, "node_modules/@oxc-parser/binding-win32-ia32-msvc": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-0.160.0.tgz", - "integrity": "sha512-vyYZ4gcWUPuPANDj66eBnZ7+CFzUU0pzX28a5armxejWxM7onM3awHkM4PB/al8eEZ3MH8l0AprX/1jXrfGh7Q==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-0.161.0.tgz", + "integrity": "sha512-45YlP50q9WxwIX24S+NYeeNCI+QSZ+Yj86xzYAKMFmeq4vLMp/jCGY/G3mOvCiAr+U4r38DB31bn86OCH7Xa1g==", "cpu": [ "ia32" ], @@ -2789,9 +2789,9 @@ } }, "node_modules/@oxc-parser/binding-win32-x64-msvc": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-x64-msvc/-/binding-win32-x64-msvc-0.160.0.tgz", - "integrity": "sha512-KvENUAjmLfLBJBTF9yQ2wb5/DH41+FPM45oM7NMTgW0R3kN49NUj314SaDqqqkba+4cNTBt8NA2Ux5dekZB68w==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-x64-msvc/-/binding-win32-x64-msvc-0.161.0.tgz", + "integrity": "sha512-XbGwtNTFWtTn6s5O+PQgDlht4JSfcdb35LVI4Dx5qug92C1r9KcFd/gy1/w9Z3w/+UyGp8Fnl8Y5dYLNHrtGTQ==", "cpu": [ "x64" ], @@ -2806,9 +2806,9 @@ } }, "node_modules/@oxc-project/types": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.160.0.tgz", - "integrity": "sha512-gw4k9syEmnckbOgw2A2FU1TBDdX9hfwV9jEn/uio65pguPzwWiXQS3OIJDMEhv9m06tj9XiEe6RoD0YA+LgreA==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.161.0.tgz", + "integrity": "sha512-9vJdwWhmlmA/bqykS4fdREI7aDvCjoYucXAB8ARsIZWFLx/1NeNXhTPgQab6ZuDp99exJXBlY1mY/oJf7rXYqg==", "dev": true, "license": "MIT", "funding": { @@ -3111,13 +3111,13 @@ ] }, "node_modules/@playwright/test": { - "version": "1.65.1", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.65.1.tgz", - "integrity": "sha512-y+NCIRm2LvY4slUVWvGh1nujJ8RF/hEisIsq2mtUPgdQC4L701bq5hZGMhrpeXjACvwvO9tj5dJqhvM6TP9lbw==", + "version": "1.65.2", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.65.2.tgz", + "integrity": "sha512-YCNiTHPXCL7V3SOXfjAW27WcmwhqtInvsSbz8by1nRKZ7n6/GGgZfXtEx2ALLs+yUpiMptPFCT9V4HskTVw8Tg==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright": "1.65.1" + "playwright": "1.65.2" }, "bin": { "playwright": "cli.js" @@ -3492,6 +3492,17 @@ "node": "^20.19.0 || ^22.13.0 || >=23.5.0" } }, + "node_modules/@rolldown/binding-wasm32-wasi/node_modules/@oxc-project/types": { + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.160.0.tgz", + "integrity": "sha512-gw4k9syEmnckbOgw2A2FU1TBDdX9hfwV9jEn/uio65pguPzwWiXQS3OIJDMEhv9m06tj9XiEe6RoD0YA+LgreA==", + "dev": true, + "license": "MIT", + "optional": true, + "funding": { + "url": "https://github.com/sponsors/oxc-project" + } + }, "node_modules/@rolldown/binding-win32-arm64-msvc": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.3.4.tgz", @@ -3697,12 +3708,12 @@ } }, "node_modules/@tanstack/react-virtual": { - "version": "3.14.30", - "resolved": "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.14.30.tgz", - "integrity": "sha512-vVq9U2WahGWue0RVPrzGuBM8QxhGKq6WV7AOUyXWR17F3kYNxHMZekYZdKm0X63/S4QZGCDlBqASvAukpXQ8GQ==", + "version": "3.14.32", + "resolved": "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.14.32.tgz", + "integrity": "sha512-ptjGbGvyEm8zhdO8gdqLIz7QsS6cbWy5TRd6mhmir+U64Ka8NHa1qb6s6DSe97y/2eaU7WOxTA64DiooomXDbw==", "license": "MIT", "dependencies": { - "@tanstack/virtual-core": "3.19.15" + "@tanstack/virtual-core": "3.19.17" }, "funding": { "type": "github", @@ -3740,9 +3751,9 @@ } }, "node_modules/@tanstack/virtual-core": { - "version": "3.19.15", - "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.19.15.tgz", - "integrity": "sha512-XL0RLw2Y1Qm5IrtIuz0cmX2nDc2hjtKr0J+7S+xHaDHcy19u8Fg1o17nCBMIKlrCgmMcgnViexlHGDx8SniuBw==", + "version": "3.19.17", + "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.19.17.tgz", + "integrity": "sha512-oPqgWxdEaEVPdksi76yQ0IuLWA/mPv/ThES3pbTVicrnHOhDAYJMWOrigfPwgTZO0LrebMM/TEW8/VqZWpNCrw==", "license": "MIT", "funding": { "type": "github", @@ -3828,16 +3839,6 @@ "@types/d3-selection": "*" } }, - "node_modules/@types/debug": { - "version": "4.1.13", - "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.13.tgz", - "integrity": "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/ms": "*" - } - }, "node_modules/@types/deep-eql": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz", @@ -3887,13 +3888,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/ms": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz", - "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==", - "dev": true, - "license": "MIT" - }, "node_modules/@types/node": { "version": "26.6.11", "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.11.tgz", @@ -4507,13 +4501,13 @@ ] }, "node_modules/@vitejs/plugin-react": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.3.0.tgz", - "integrity": "sha512-H9E955aVvD2F4zNHCw4eIZbIfF6xKldlh7MNu+hSU7xwQzh65lI/N+CJWqmfhi0PEjDXIt/H7T7J/4wU63KJiw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.3.1.tgz", + "integrity": "sha512-kYc/mQZ8hnpFXNJXdrbm6kUbLya+V+Q5o3V2j06tR+4lVSyY9Pgx0eBw+eYTVseNUiMY2hr/3PM/EHVOYNKuHw==", "dev": true, "license": "MIT", "dependencies": { - "@rolldown/pluginutils": "^1.0.1" + "@rolldown/pluginutils": "^1.1.1" }, "engines": { "node": "^20.19.0 || >=22.12.0" @@ -4689,9 +4683,9 @@ } }, "node_modules/@zakodium/nmrium-core-plugins": { - "version": "0.7.127", - "resolved": "https://registry.npmjs.org/@zakodium/nmrium-core-plugins/-/nmrium-core-plugins-0.7.127.tgz", - "integrity": "sha512-WAbpXA++6ilFF1KHszhTGf5r7l73ZD99vqGYP1mPNZNhjQRxEY5ubuAhujlrZ8XqqsXQccu9tb1h9EkYTuMPPg==", + "version": "0.7.130", + "resolved": "https://registry.npmjs.org/@zakodium/nmrium-core-plugins/-/nmrium-core-plugins-0.7.130.tgz", + "integrity": "sha512-AJAGywxwKZTx+PIzoPzgJiKC4wlCH39NJOdqFgJehQwcpJNm7cc83gFySmeXBB4a62n4VI43kNrSCsQMck6UmQ==", "license": "CC-BY-NC-SA-4.0", "dependencies": { "@date-fns/utc": "^2.1.1", @@ -4702,11 +4696,11 @@ "file-collection": "^6.7.0", "gyromagnetic-ratio": "^2.0.0", "is-any-array": "^3.0.0", - "jcampconverter": "^12.5.13", + "jcampconverter": "^12.6.0", "linear-sum-assignment": "^1.0.9", "lodash.merge": "^4.6.2", "ml-spectra-processing": "^14.35.1", - "nmr-processing": "^22.28.3", + "nmr-processing": "^22.30.0", "openchemlib": "^9.25.2", "openchemlib-utils": "^8.20.1", "sdf-parser": "^9.0.0", @@ -4790,6 +4784,23 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, + "node_modules/ajv": { + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", + "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==", + "extraneous": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, "node_modules/ansi-align": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", @@ -4905,6 +4916,16 @@ ], "license": "PSF-2.0" }, + "node_modules/aria-query": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz", + "integrity": "sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/array-timsort": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/array-timsort/-/array-timsort-1.0.3.tgz", @@ -4956,6 +4977,26 @@ "node": ">= 22" } }, + "node_modules/axe-core": { + "version": "4.14.1", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.14.1.tgz", + "integrity": "sha512-FHfa+lmNjQZfJz1q8wKqIDwC6DExcHt/pkjNQb09a3NPjCKg2rhu5qb2S4r76ASyFNNtuFooJpZe37OgudVGtQ==", + "dev": true, + "license": "MPL-2.0", + "engines": { + "node": ">=4" + } + }, + "node_modules/axobject-query": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.1.0.tgz", + "integrity": "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/babel-plugin-macros": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", @@ -4982,9 +5023,9 @@ } }, "node_modules/baseline-browser-mapping": { - "version": "2.11.41", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.41.tgz", - "integrity": "sha512-yjL/sZCpbpL0ocwmrUe1YFUelyMcifcByF4UYCBDyubFXQRs3lUjo9VoPKdjoFFhmzLAAGNJb1GBBCQJ6B4eyg==", + "version": "2.11.42", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.42.tgz", + "integrity": "sha512-zZavzWoNo65+3gcv5AQetEgQ86Rbsge3QPe3wjQFjl1D4/mYzqreOR6DkE0SMMBqYr95w0mLi+69+V0SSeOStQ==", "dev": true, "license": "Apache-2.0", "bin": { @@ -5274,17 +5315,6 @@ "tslib": "^2.0.3" } }, - "node_modules/character-entities": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz", - "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, "node_modules/chemical-elements": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/chemical-elements/-/chemical-elements-2.3.3.tgz", @@ -5617,9 +5647,9 @@ } }, "node_modules/cspell": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/cspell/-/cspell-10.6.0.tgz", - "integrity": "sha512-MGxaUTMYZmldg41nao2D4ToSBUi1aDPROmxN7vQlB7msHp5s2zlM9klYIazlygY+OwkX/adYLY1VOFsPQPMlbA==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/cspell/-/cspell-10.7.0.tgz", + "integrity": "sha512-FsWEEjv/96sm/s+B7rNyfpn75JR7Aj/T1NHmItKWh6+Tsw9WqWHfAAAT7wU3i7EoBFQnXU/3oQScdgen4maufg==", "dev": true, "funding": [ { @@ -5641,24 +5671,24 @@ ], "license": "MIT", "dependencies": { - "@cspell/cspell-json-reporter": "10.6.0", - "@cspell/cspell-performance-monitor": "10.6.0", - "@cspell/cspell-pipe": "10.6.0", - "@cspell/cspell-types": "10.6.0", - "@cspell/cspell-worker": "10.6.0", - "@cspell/dynamic-import": "10.6.0", - "@cspell/url": "10.6.0", + "@cspell/cspell-json-reporter": "10.7.0", + "@cspell/cspell-performance-monitor": "10.7.0", + "@cspell/cspell-pipe": "10.7.0", + "@cspell/cspell-types": "10.7.0", + "@cspell/cspell-worker": "10.7.0", + "@cspell/dynamic-import": "10.7.0", + "@cspell/url": "10.7.0", "@streetsidesoftware/unindent": "^1.0.1", "ansi-regex": "^6.6.0", "chalk": "^6.0.1", "chalk-template": "^1.1.3", "commander": "^15.1.0", - "cspell-config-lib": "10.6.0", - "cspell-dictionary": "10.6.0", - "cspell-gitignore": "10.6.0", - "cspell-glob": "10.6.0", - "cspell-io": "10.6.0", - "cspell-lib": "10.6.0", + "cspell-config-lib": "10.7.0", + "cspell-dictionary": "10.7.0", + "cspell-gitignore": "10.7.0", + "cspell-glob": "10.7.0", + "cspell-io": "10.7.0", + "cspell-lib": "10.7.0", "flatted": "^3.4.4", "semver": "^7.8.6", "tinyglobby": "^0.2.17" @@ -5672,9 +5702,9 @@ } }, "node_modules/cspell-config-lib": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/cspell-config-lib/-/cspell-config-lib-10.6.0.tgz", - "integrity": "sha512-/6IVSIq7A6AtS9mpZhStLump/5GKbaifBJBVJ7kprfAwLbCfWREoT7kwZRFJaOZSSJCO6Mvuk+UysDCRDtRssg==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/cspell-config-lib/-/cspell-config-lib-10.7.0.tgz", + "integrity": "sha512-ug16l4PQix5Ux/qJNfivgvW/m6nQ80Yx8gbqJjjJ1A82kqYDQcLd3xno8iaLoOcQ5mILcmIcStZkVCptdT1yUA==", "dev": true, "funding": [ { @@ -5696,7 +5726,7 @@ ], "license": "MIT", "dependencies": { - "@cspell/cspell-types": "10.6.0", + "@cspell/cspell-types": "10.7.0", "comment-json": "^5.0.0", "smol-toml": "^1.9.1", "yaml": "^2.9.1" @@ -5706,9 +5736,9 @@ } }, "node_modules/cspell-dictionary": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/cspell-dictionary/-/cspell-dictionary-10.6.0.tgz", - "integrity": "sha512-erzwwga88qKb5K8m7KPuWWO3YRo4/lCm2yzSLO7/Ce8nMOtNVCz1akAlPI8jD+34Q0LKw+cjOPcVwfeuRfHC1w==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/cspell-dictionary/-/cspell-dictionary-10.7.0.tgz", + "integrity": "sha512-/4RZkPwSsuwRyA/fSQDEq8jR1jf1FJiGuUOmlJo9clNhIAoWWe73c6osZzQqwtzJoRtF+tfNPrPiCm6tyD3M9Q==", "dev": true, "funding": [ { @@ -5730,21 +5760,21 @@ ], "license": "MIT", "dependencies": { - "@cspell/cspell-performance-monitor": "10.6.0", - "@cspell/cspell-pipe": "10.6.0", - "@cspell/cspell-types": "10.6.0", + "@cspell/cspell-performance-monitor": "10.7.0", + "@cspell/cspell-pipe": "10.7.0", + "@cspell/cspell-types": "10.7.0", "@streetsidesoftware/auto-resolve-map": "^1.0.0", - "cspell-trie-lib": "10.6.0", - "fast-equals": "^6.4.1" + "cspell-trie-lib": "10.7.0", + "fast-equals": "^6.4.2" }, "engines": { "node": ">=22.18.0" } }, "node_modules/cspell-gitignore": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/cspell-gitignore/-/cspell-gitignore-10.6.0.tgz", - "integrity": "sha512-46wHLwFONB6fatOrGHoDzMICpwfVBZT0pUov9DiyWTbaJ7vc+9urjKfDd8M+5sIRPLOpECruvAj9F6WiRgWH8g==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/cspell-gitignore/-/cspell-gitignore-10.7.0.tgz", + "integrity": "sha512-J8BPtXesJH9rgdHbSVidmUi/D8QpXDGrX78dEJv504wuFWwYexu7tPaNKP2q2lhe0YNcN+3pkATLcIgbMQdLAw==", "dev": true, "funding": [ { @@ -5766,9 +5796,9 @@ ], "license": "MIT", "dependencies": { - "@cspell/url": "10.6.0", - "cspell-glob": "10.6.0", - "cspell-io": "10.6.0" + "@cspell/url": "10.7.0", + "cspell-glob": "10.7.0", + "cspell-io": "10.7.0" }, "bin": { "cspell-gitignore": "bin.mjs" @@ -5778,9 +5808,9 @@ } }, "node_modules/cspell-glob": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/cspell-glob/-/cspell-glob-10.6.0.tgz", - "integrity": "sha512-Ktn7gviyf2oYmYqqaX+E4srHtu1J71J3aClFv/7AMGbNci9B1x8ZXx+R+7pebnKuj7yMdFy9unfs4460s8+Hhg==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/cspell-glob/-/cspell-glob-10.7.0.tgz", + "integrity": "sha512-+W2GJsWbblPLSnZaniokdviwdFsfs9hTYexUTVXjMQF9PjeWum8r+sCmYxP4kpOfO3dM8aeAZfKFIm1ErJOeMw==", "dev": true, "funding": [ { @@ -5802,7 +5832,7 @@ ], "license": "MIT", "dependencies": { - "@cspell/url": "10.6.0", + "@cspell/url": "10.7.0", "picomatch": "^4.0.7" }, "engines": { @@ -5810,9 +5840,9 @@ } }, "node_modules/cspell-grammar": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/cspell-grammar/-/cspell-grammar-10.6.0.tgz", - "integrity": "sha512-Nojtr+tvEVYwJZIu7AMQlikzsuSLZxmPLW/rfnpIFe/r6ZKue/5KFfIAItipE6kCWfqTnEFSeeX1v1W+X2/SSg==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/cspell-grammar/-/cspell-grammar-10.7.0.tgz", + "integrity": "sha512-oVH6BQe5NQz8cqClXer0TTPWrs4EAhQipT+35rcSkx0rOkKqBXPox/x4z0wg+/kKtuOzQJN8CBLJIQtFBI4YKQ==", "dev": true, "funding": [ { @@ -5834,8 +5864,8 @@ ], "license": "MIT", "dependencies": { - "@cspell/cspell-pipe": "10.6.0", - "@cspell/cspell-types": "10.6.0" + "@cspell/cspell-pipe": "10.7.0", + "@cspell/cspell-types": "10.7.0" }, "bin": { "cspell-grammar": "bin.mjs" @@ -5845,9 +5875,9 @@ } }, "node_modules/cspell-io": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/cspell-io/-/cspell-io-10.6.0.tgz", - "integrity": "sha512-pNLId+fnslvTnVgqlrkbf9N5blKUkclilCzIH/jTW0+6XAQBjWk+LPYZrCP2f66XtICtnkz/4HMM9SnzWryRbA==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/cspell-io/-/cspell-io-10.7.0.tgz", + "integrity": "sha512-V1n0iarOlbh74lCB/IUaXoUd3PtPFE2USngZqRn3T+DT6fPXfZzDTaO+kXoTBfyM2bcrLeIsm0i2+jYgPeV4MA==", "dev": true, "funding": [ { @@ -5869,17 +5899,17 @@ ], "license": "MIT", "dependencies": { - "@cspell/cspell-service-bus": "10.6.0", - "@cspell/url": "10.6.0" + "@cspell/cspell-service-bus": "10.7.0", + "@cspell/url": "10.7.0" }, "engines": { "node": ">=22.18.0" } }, "node_modules/cspell-lib": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/cspell-lib/-/cspell-lib-10.6.0.tgz", - "integrity": "sha512-6meCLhMFfxYNG3/DnsjDEcX7e/f7bQ2PlE0xz/afb7wosNrjWaHEjtbXH6iHlB8dxCv3ArAMgL5pNP73fNEc6A==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/cspell-lib/-/cspell-lib-10.7.0.tgz", + "integrity": "sha512-vSlOY5WQL+FtvZURR1RHbMKA13q1xfzylv7AObe4eX2zArZXPv5R+KxJ7dFNkQEX9onFkm7sExJ+FJ8LDyLY/w==", "dev": true, "funding": [ { @@ -5901,22 +5931,22 @@ ], "license": "MIT", "dependencies": { - "@cspell/cspell-bundled-dicts": "10.6.0", - "@cspell/cspell-performance-monitor": "10.6.0", - "@cspell/cspell-pipe": "10.6.0", - "@cspell/cspell-resolver": "10.6.0", - "@cspell/cspell-types": "10.6.0", - "@cspell/dynamic-import": "10.6.0", - "@cspell/filetypes": "10.6.0", - "@cspell/rpc": "10.6.0", - "@cspell/url": "10.6.0", + "@cspell/cspell-bundled-dicts": "10.7.0", + "@cspell/cspell-performance-monitor": "10.7.0", + "@cspell/cspell-pipe": "10.7.0", + "@cspell/cspell-resolver": "10.7.0", + "@cspell/cspell-types": "10.7.0", + "@cspell/dynamic-import": "10.7.0", + "@cspell/filetypes": "10.7.0", + "@cspell/rpc": "10.7.0", + "@cspell/url": "10.7.0", "@streetsidesoftware/auto-resolve-map": "^1.0.0", - "cspell-config-lib": "10.6.0", - "cspell-dictionary": "10.6.0", - "cspell-glob": "10.6.0", - "cspell-grammar": "10.6.0", - "cspell-io": "10.6.0", - "cspell-trie-lib": "10.6.0", + "cspell-config-lib": "10.7.0", + "cspell-dictionary": "10.7.0", + "cspell-glob": "10.7.0", + "cspell-grammar": "10.7.0", + "cspell-io": "10.7.0", + "cspell-trie-lib": "10.7.0", "env-paths": "^4.0.0", "gensequence": "^8.0.8", "import-fresh": "^4.0.1", @@ -5943,9 +5973,9 @@ } }, "node_modules/cspell-trie-lib": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/cspell-trie-lib/-/cspell-trie-lib-10.6.0.tgz", - "integrity": "sha512-wLUqpTl1HPqDmsjn1MrGNcA6+iBMxmZF9DJt8M90eH181fvxs6geb96JFy3nzWVrOWMOnFaYQtK2aNKGbmqsDw==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/cspell-trie-lib/-/cspell-trie-lib-10.7.0.tgz", + "integrity": "sha512-I974rjJSZSPAjudNysEQFnD+/xrNwYOMXaQKKYi2PFuQVoFLO51luNZV+WX5x8i/FyoWEoL30BsH0SVVCKBjRA==", "dev": true, "funding": [ { @@ -5970,7 +6000,7 @@ "node": ">=22.18.0" }, "peerDependencies": { - "@cspell/cspell-types": "10.6.0" + "@cspell/cspell-types": "10.7.0" } }, "node_modules/css-tree": { @@ -6207,6 +6237,13 @@ "node": ">=12" } }, + "node_modules/damerau-levenshtein": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz", + "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==", + "dev": true, + "license": "BSD-2-Clause" + }, "node_modules/date-fns": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-4.4.0.tgz", @@ -6234,20 +6271,6 @@ } } }, - "node_modules/decode-named-character-reference": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.3.0.tgz", - "integrity": "sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "character-entities": "^2.0.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, "node_modules/deep-extend": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", @@ -6265,16 +6288,6 @@ "dev": true, "license": "MIT" }, - "node_modules/dequal": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", - "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/destroy": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", @@ -6309,20 +6322,6 @@ "node": ">=8" } }, - "node_modules/devlop": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz", - "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==", - "dev": true, - "license": "MIT", - "dependencies": { - "dequal": "^2.0.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, "node_modules/dlv": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", @@ -6363,9 +6362,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.5.495", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.495.tgz", - "integrity": "sha512-dZcmtNbDI5oeT9uP9Z+D7h/H5C1mvBewDTLgZgo9WgyPmqOXSt2cmoCK99evPygUOn9lyXZ4w0Eb8APrkBjqBA==", + "version": "1.5.501", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.501.tgz", + "integrity": "sha512-UVcdnFm1UW3UZBBL/Nsi7mLqdxGqUbzW0rO0WsdEqwJr4vnFWrs93MBig2neS0TnQ5MUCwg3y91FhM/+oZE4hg==", "dev": true, "license": "ISC" }, @@ -6521,50 +6520,51 @@ } }, "node_modules/eslint-config-cheminfo": { - "version": "19.5.1", - "resolved": "https://registry.npmjs.org/eslint-config-cheminfo/-/eslint-config-cheminfo-19.5.1.tgz", - "integrity": "sha512-yRvi81+Cbl+KK9JU4vC/AGTa/77r362zhQVS0DlAhvdDKIgjrC4Eg+2L6iRJsLBj6mfBq5pxpp4YV40xo9N3JQ==", + "version": "19.7.0", + "resolved": "https://registry.npmjs.org/eslint-config-cheminfo/-/eslint-config-cheminfo-19.7.0.tgz", + "integrity": "sha512-LbqADOotf6oPk3nYjHfqbWdoYyC5i/59TvBS6L7Nv7vlPkYumAGzOhE/lxYUNKsHF7rtfBxaKW6KgQhslXumUg==", "dev": true, "license": "MIT", "dependencies": { "@vitest/eslint-plugin": "^1.6.28", - "eslint-plugin-import-x": "^4.17.1", - "eslint-plugin-jsdoc": "^65.4.4", - "eslint-plugin-unicorn": "^79.0.0", - "globals": "^17.14.0" + "eslint-plugin-import-x": "^4.18.1", + "eslint-plugin-jsdoc": "^65.6.3", + "eslint-plugin-unicorn": "^80.0.0", + "globals": "^17.15.0" }, "peerDependencies": { "eslint": "^10.10.0" } }, "node_modules/eslint-config-cheminfo-react": { - "version": "21.0.3", - "resolved": "https://registry.npmjs.org/eslint-config-cheminfo-react/-/eslint-config-cheminfo-react-21.0.3.tgz", - "integrity": "sha512-onajFs4IAn9XWS7tFc9kvQCBrdXuJ+s4ZWcXrC5cJni2wrkxJjPR+BjlBediAfulYEBpXDAy/w5xJwhSKveXZA==", + "version": "21.1.0", + "resolved": "https://registry.npmjs.org/eslint-config-cheminfo-react/-/eslint-config-cheminfo-react-21.1.0.tgz", + "integrity": "sha512-adv7ZQIr5WnSTBoSafIou1ZlWGRKGER1QfYTntv2cnClgv5OB/3Dh4ozEnDRuk0d9qJadSsmwV291HAIHlu1vg==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/eslint-plugin": "^5.19.1", - "eslint-config-cheminfo": "^19.5.1", + "@eslint-react/eslint-plugin": "^5.30.7", + "eslint-config-cheminfo": "^19.6.0", + "eslint-plugin-jsx-a11y-x": "^0.2.0", "eslint-plugin-react-hooks": "^7.1.1", - "eslint-plugin-react-refresh": "^0.5.7", - "eslint-plugin-react-you-might-not-need-an-effect": "^1.0.2", - "globals": "^17.12.0" + "eslint-plugin-react-refresh": "^0.5.8", + "eslint-plugin-react-you-might-not-need-an-effect": "^1.3.3", + "globals": "^17.14.0" }, "peerDependencies": { "eslint": "^10.10.0" } }, "node_modules/eslint-config-cheminfo-typescript": { - "version": "23.0.0", - "resolved": "https://registry.npmjs.org/eslint-config-cheminfo-typescript/-/eslint-config-cheminfo-typescript-23.0.0.tgz", - "integrity": "sha512-xTGjI4G1R4sgdSumfBoACNplaf65OYSRamtynYKgQ8bi3ZqsSR6R4RUrFPnc1vCrsVRfiIq8MQpU6r77wORPJQ==", + "version": "23.0.1", + "resolved": "https://registry.npmjs.org/eslint-config-cheminfo-typescript/-/eslint-config-cheminfo-typescript-23.0.1.tgz", + "integrity": "sha512-UobUqjHagrkqOAFmRmqq4+n5E4vTd/PVkSXVmWAaVlDu43aKjovQ+myP5J1Lid0K8uv7X+mHrYJvi0udkKjp2g==", "dev": true, "license": "MIT", "dependencies": { - "eslint-config-cheminfo": "^19.0.0", + "eslint-config-cheminfo": "^19.7.0", "eslint-import-resolver-typescript": "^4.4.5", - "typescript-eslint": "^8.70.0" + "typescript-eslint": "^8.74.0" }, "peerDependencies": { "eslint": "^10.10.0", @@ -6632,9 +6632,9 @@ } }, "node_modules/eslint-plugin-import-x": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-import-x/-/eslint-plugin-import-x-4.18.1.tgz", - "integrity": "sha512-D1h++38NS2Z40zf8jbd2OHqDrnIFRKpdp8sL0jP4xSDGZj6MNwEQua8F+r3tOWjcHrsWuhHOJ7wASWioJ31tfg==", + "version": "4.19.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-import-x/-/eslint-plugin-import-x-4.19.0.tgz", + "integrity": "sha512-s02TswBLKaJML77vJAUNJuB1BUKbXJUzvdWXN5tiWrSfJ7m43vpPkEh2TsgUP5UR8gTL+Ywuydcw4ndkun5vAQ==", "dev": true, "license": "MIT", "dependencies": { @@ -6643,12 +6643,12 @@ "comment-parser": "^1.4.1", "debug": "^4.4.1", "es-module-lexer": "^3.0.3", - "eslint-import-context": "^0.1.9", + "eslint-import-context": "^0.1.9 || ^0.2.2", "is-glob": "^4.0.3", - "minimatch": "^9.0.3 || ^10.1.2 || ^11.0.1", + "minimatch": "^9.0.3 || ^10.1.2 || ^11.0.8", "semver": "^7.7.2", "stable-hash-x": "^0.2.0", - "unrs-resolver": "^1.9.2" + "unrs-resolver": "^1.13.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -6657,11 +6657,15 @@ "url": "https://opencollective.com/eslint-plugin-import-x" }, "peerDependencies": { + "@typescript-eslint/parser": "*", "@typescript-eslint/utils": "^8.56.0", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "eslint-import-resolver-node": "*" }, "peerDependenciesMeta": { + "@typescript-eslint/parser": { + "optional": true + }, "@typescript-eslint/utils": { "optional": true }, @@ -6671,14 +6675,14 @@ } }, "node_modules/eslint-plugin-jsdoc": { - "version": "65.6.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-65.6.1.tgz", - "integrity": "sha512-6+vlwJD6fjKKlfNa4vSEx6BriKvLpIzb0Q3+pYyTA37TocA5fHk5NCdVESIZHaq0Fv1va9+NHYTkGWok+IJdtw==", + "version": "65.7.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-65.7.0.tgz", + "integrity": "sha512-rQGT4u/SDzqHm2GNIIVJJRcLzNMQwkFQ9biyOFg6DAWX3EwUFmC+XdYw/VmkwUrWZ94A1lAtrCQmQHUYRJ1ong==", "dev": true, "license": "BSD-3-Clause", "dependencies": { "@es-joy/escodegen": "^5.0.1", - "@es-joy/jsdoccomment": "~1.2.3", + "@es-joy/jsdoccomment": "~1.2.4", "@es-joy/resolve.exports": "1.2.0", "@typescript-eslint/utils": "^8.74.0", "are-docs-informative": "^0.1.1", @@ -6720,18 +6724,40 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/eslint-plugin-jsx-a11y-x": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y-x/-/eslint-plugin-jsx-a11y-x-0.2.1.tgz", + "integrity": "sha512-BEYPTnldFy53uuEMVoaHlWou9BvC9ygFcFw3TXC5/0gFkXjNBvGW0R2KL89FoeUEo0I3nLK07fBoux73dKjAgg==", + "dev": true, + "license": "MIT", + "dependencies": { + "aria-query": "^5.3.2", + "axe-core": "^4.10.2", + "axobject-query": "^4.1.0", + "damerau-levenshtein": "^1.0.8", + "jsx-ast-utils-x": "^0.1.0", + "language-tags": "^1.0.9", + "picomatch": "^4.0.7" + }, + "engines": { + "node": "^20.9.0 || >=21.1.0" + }, + "peerDependencies": { + "eslint": "^9.0.0 || ^10.0.0" + } + }, "node_modules/eslint-plugin-react-dom": { - "version": "5.30.7", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-dom/-/eslint-plugin-react-dom-5.30.7.tgz", - "integrity": "sha512-Mwkzxrcy5xtqUU6OytqDAZmapNBk1Zif4O2LYAY7R5WnRzC0iW5XgLHCwTzjwz1IXCIQxLOOIHKpmp011Lf7+w==", + "version": "5.30.8", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-dom/-/eslint-plugin-react-dom-5.30.8.tgz", + "integrity": "sha512-vkNQc9pttohHz4+xE8VCrD9lYUugq/KL0flXPZ34+6AMbhmwQOOPogWuvFHC3W7BQrluAEVs0eIe5nD/k4ZBgA==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/ast": "5.30.7", - "@eslint-react/eslint": "5.30.7", - "@eslint-react/jsx": "5.30.7", - "@eslint-react/shared": "5.30.7", - "@eslint-react/var": "5.30.7", + "@eslint-react/ast": "5.30.8", + "@eslint-react/eslint": "5.30.8", + "@eslint-react/jsx": "5.30.8", + "@eslint-react/shared": "5.30.8", + "@eslint-react/var": "5.30.8", "@typescript-eslint/types": "^8.74.0", "@typescript-eslint/utils": "^8.74.0", "compare-versions": "^6.1.1", @@ -6771,17 +6797,17 @@ } }, "node_modules/eslint-plugin-react-jsx": { - "version": "5.30.7", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-jsx/-/eslint-plugin-react-jsx-5.30.7.tgz", - "integrity": "sha512-4AiTF4YvnAMLKU/F0WRi9dp0wSQN8lZiWAuBHXE36zg6wR+j3iVoqXzyOQhF2LLbFB5vUOfjklhNWMlIl9ZlXA==", + "version": "5.30.8", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-jsx/-/eslint-plugin-react-jsx-5.30.8.tgz", + "integrity": "sha512-3HhXVDWb12tItujhKSgwyH1RPsKMbYEVn8R7yuhAWT+kc0XcyioOiK+4T/P2iknx0f8g1rfj6uCQbx5zGLvXUQ==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/ast": "5.30.7", - "@eslint-react/core": "5.30.7", - "@eslint-react/eslint": "5.30.7", - "@eslint-react/jsx": "5.30.7", - "@eslint-react/shared": "5.30.7", + "@eslint-react/ast": "5.30.8", + "@eslint-react/core": "5.30.8", + "@eslint-react/eslint": "5.30.8", + "@eslint-react/jsx": "5.30.8", + "@eslint-react/shared": "5.30.8", "@typescript-eslint/types": "^8.74.0", "@typescript-eslint/utils": "^8.74.0" }, @@ -6799,17 +6825,17 @@ } }, "node_modules/eslint-plugin-react-naming-convention": { - "version": "5.30.7", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-naming-convention/-/eslint-plugin-react-naming-convention-5.30.7.tgz", - "integrity": "sha512-fGMPhFPFVuf70pcrKaTfx/KlQDcNosngWJKf9aiXzsLdgbd2atnupN+vivSKtRfb5GYOmb36a8nN7RmNCihSTA==", + "version": "5.30.8", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-naming-convention/-/eslint-plugin-react-naming-convention-5.30.8.tgz", + "integrity": "sha512-/A2yvbYWjCyPWlet1ZeGtHuLS43pnrwJ1KRRy4AXJQ/ZzkvDDsqibElWjLp3ohW7i1qMk/t+pbzhsnhzzgMEBQ==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/ast": "5.30.7", - "@eslint-react/core": "5.30.7", - "@eslint-react/eslint": "5.30.7", - "@eslint-react/shared": "5.30.7", - "@eslint-react/var": "5.30.7", + "@eslint-react/ast": "5.30.8", + "@eslint-react/core": "5.30.8", + "@eslint-react/eslint": "5.30.8", + "@eslint-react/shared": "5.30.8", + "@eslint-react/var": "5.30.8", "@typescript-eslint/types": "^8.74.0", "@typescript-eslint/utils": "^8.74.0", "ts-pattern": "^5.9.2" @@ -6838,17 +6864,17 @@ } }, "node_modules/eslint-plugin-react-rsc": { - "version": "5.30.7", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-rsc/-/eslint-plugin-react-rsc-5.30.7.tgz", - "integrity": "sha512-QAGw7SGfR29j7l+wTR+3N8mVRiqmkFrqI4W3XqcNE0svfq1WXPgcvgD0DI3kmPzqqfaHDPAoVTM9/nxWLAQxjQ==", + "version": "5.30.8", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-rsc/-/eslint-plugin-react-rsc-5.30.8.tgz", + "integrity": "sha512-TCd4gPxVwafAhaapjtJ4qvKvPx4xw706NBhtGY9LU7SmWrN91o/UMS9rA+/dMUaYH9pQtpxc5sjasF18TO0YFQ==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/ast": "5.30.7", - "@eslint-react/core": "5.30.7", - "@eslint-react/eslint": "5.30.7", - "@eslint-react/shared": "5.30.7", - "@eslint-react/var": "5.30.7", + "@eslint-react/ast": "5.30.8", + "@eslint-react/core": "5.30.8", + "@eslint-react/eslint": "5.30.8", + "@eslint-react/shared": "5.30.8", + "@eslint-react/var": "5.30.8", "@typescript-eslint/types": "^8.74.0", "@typescript-eslint/utils": "^8.74.0" }, @@ -6866,17 +6892,17 @@ } }, "node_modules/eslint-plugin-react-web-api": { - "version": "5.30.7", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-web-api/-/eslint-plugin-react-web-api-5.30.7.tgz", - "integrity": "sha512-KL5FyFkBeRV7Fzb71Q0EzSMrj/pebOTZP8NtXJ6sbRwA8blH9usTnAVhuxXqIqNM2lhdEUklIoZSPvLI2AqnYA==", + "version": "5.30.8", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-web-api/-/eslint-plugin-react-web-api-5.30.8.tgz", + "integrity": "sha512-KeOnlzXPozm8zU1Uvb9sxfEKOAy0o3Isi3Q3n7LA7C0nmpGQhqIyIJC06fTx29U9euiD/ONzRTOsU0VRav+f4g==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/ast": "5.30.7", - "@eslint-react/core": "5.30.7", - "@eslint-react/eslint": "5.30.7", - "@eslint-react/shared": "5.30.7", - "@eslint-react/var": "5.30.7", + "@eslint-react/ast": "5.30.8", + "@eslint-react/core": "5.30.8", + "@eslint-react/eslint": "5.30.8", + "@eslint-react/shared": "5.30.8", + "@eslint-react/var": "5.30.8", "@typescript-eslint/types": "^8.74.0", "@typescript-eslint/utils": "^8.74.0", "ts-pattern": "^5.9.2" @@ -6895,18 +6921,18 @@ } }, "node_modules/eslint-plugin-react-x": { - "version": "5.30.7", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-x/-/eslint-plugin-react-x-5.30.7.tgz", - "integrity": "sha512-K+4FRIm1WFuBm4/OgQa0f0bMEJWComXYOjwXLo0uado3I0LKk8slun/m8IU2YNmd4Nh+KedF0kr4CKiaaYw6NQ==", + "version": "5.30.8", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-x/-/eslint-plugin-react-x-5.30.8.tgz", + "integrity": "sha512-aE6TIqvQCq1BLCyVnIVl9qnp0K1+Bw0aGhFSM26PYLCeESywZq0FzAnfR8MsgGfMiSA1aQKJhA7yxaSpqdu67Q==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-react/ast": "5.30.7", - "@eslint-react/core": "5.30.7", - "@eslint-react/eslint": "5.30.7", - "@eslint-react/jsx": "5.30.7", - "@eslint-react/shared": "5.30.7", - "@eslint-react/var": "5.30.7", + "@eslint-react/ast": "5.30.8", + "@eslint-react/core": "5.30.8", + "@eslint-react/eslint": "5.30.8", + "@eslint-react/jsx": "5.30.8", + "@eslint-react/shared": "5.30.8", + "@eslint-react/var": "5.30.8", "@typescript-eslint/scope-manager": "^8.74.0", "@typescript-eslint/types": "^8.74.0", "@typescript-eslint/utils": "^8.74.0", @@ -6929,9 +6955,9 @@ } }, "node_modules/eslint-plugin-react-you-might-not-need-an-effect": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-you-might-not-need-an-effect/-/eslint-plugin-react-you-might-not-need-an-effect-1.3.3.tgz", - "integrity": "sha512-Rzr7Q+IW9Xi28XqK/pIc4w2Qf2My46ZLPz9LKRl6vHwvceoz3xcOEDylnqZL1tIqvZtp4/ZLn+g4jzJaUXUE0w==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-you-might-not-need-an-effect/-/eslint-plugin-react-you-might-not-need-an-effect-1.4.0.tgz", + "integrity": "sha512-CacSIQlQaGxZUuR8CETSPdjKTm8UZbZ//pZITtano7FeVAP/FJuWo5HBb23PQnDYdkmKItRrsmElUSV7BDt+zA==", "dev": true, "license": "MIT", "engines": { @@ -6945,9 +6971,9 @@ } }, "node_modules/eslint-plugin-unicorn": { - "version": "79.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-79.0.0.tgz", - "integrity": "sha512-k7MWrjoVTVCnjKpgaxBuScPNSPomLvDpsd9uADpWrIFzrnwiec27eWhGrmmyuTj1bC3xVNYP4QfG3MEzEw6ifg==", + "version": "80.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-80.0.0.tgz", + "integrity": "sha512-aHqSTSY0VglZtQfPrAJQiYNGJgOnI2O5+yuavD3oVXnToUL15kqIN/Dl10pAxpud2v/rrXSiepRaDlYuNxjlWg==", "dev": true, "license": "MIT", "dependencies": { @@ -6964,7 +6990,6 @@ "identifier-regex": "^1.1.0", "indent-string": "^5.0.0", "is-builtin-module": "^5.0.0", - "micromark": "^4.0.3", "parse5": "^8.0.1", "pluralize": "^8.0.0", "quote-js-string": "^0.1.0", @@ -6975,7 +7000,7 @@ "yaml": "^2.9.1" }, "engines": { - "node": ">=22" + "node": ">=22.13" }, "funding": { "url": "https://github.com/sindresorhus/eslint-plugin-unicorn?sponsor=1" @@ -7175,13 +7200,13 @@ "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/fast-equals": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-6.4.2.tgz", - "integrity": "sha512-1Eo9b9HM+6kuGB6iebz/LJbg6UfUnN2hvig8WVo9E9mj94hFUsEjBD1NKU2CVmgefRh/MwYDbI5drXM0bv89bw==", + "version": "6.4.3", + "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-6.4.3.tgz", + "integrity": "sha512-dn8YBkGiKgFpSyBywebzp7gOG/gTOTTxuFVTyaTM8QtDwUimT/vB5CIOhXYO7abvEXQ5yUAInd79VT7XFNcpcw==", "dev": true, "license": "MIT", "engines": { @@ -7206,7 +7231,7 @@ "version": "3.1.9", "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.9.tgz", "integrity": "sha512-hS/0Wt3Ya043oKXs0sIxrMpKQITXhMLIrVAKKXi4gozGC9v7YRWVnXIZzjNPTO02M9BdxLCWqK1yRXgNziVyJQ==", - "dev": true, + "devOptional": true, "funding": [ { "type": "github", @@ -7346,9 +7371,9 @@ } }, "node_modules/flatted": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.4.tgz", - "integrity": "sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==", + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.5.1.tgz", + "integrity": "sha512-qzp88St5qssOkS6hnWEvsFqE6SGoQtamMc6ghNo2s2idGn3rvHl/mdmLKQr5egZeVcqHfVCXtPoY+DP0flzPTg==", "dev": true, "license": "ISC" }, @@ -7432,9 +7457,9 @@ } }, "node_modules/get-tsconfig": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.14.3.tgz", - "integrity": "sha512-++QEw4DIY7WGoukz+/+A/8dGYPT9l9yIadnmSgZ8Rjr3YVSVDipQSO9CdnJo9ePqFqUUqh+wk9uIaoiAwsiPkA==", + "version": "4.14.4", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.14.4.tgz", + "integrity": "sha512-4Iu8LtDLsJIvPG4IjvRK55uGLRk1AxQnGkdGI7IOUDIPqgrJ9ng6lNg3vd6536/i/SqNFIyzPxWge/VRshtSxg==", "dev": true, "license": "MIT", "dependencies": { @@ -7498,9 +7523,9 @@ } }, "node_modules/globals": { - "version": "17.14.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-17.14.0.tgz", - "integrity": "sha512-UtdkTVyAJePQv0J2M9Xe4L0ruNSDV314XiIJsADI2Zf40bcdAonE/D/OhAU8AT99oij9mhLByb+NvA3QWZYgCg==", + "version": "17.15.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-17.15.0.tgz", + "integrity": "sha512-OyBOdPnzu9B2lFpums9/4wcyNHx4haAxY2X5PgO9LqCvXJgKYMMr/1y4TU7om/vTy4eYqRsVes1ZTJEJYKap8Q==", "dev": true, "license": "MIT", "engines": { @@ -7510,6 +7535,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/globster": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/globster/-/globster-1.0.0.tgz", + "integrity": "sha512-APS1ERVB06jZGI7HCr323vfva/KBXaZSPruNagnawp6UnKyGR823oVCRDAwETTHd7EI73outBLz2WNfUdS15+Q==", + "dev": true, + "license": "ISC", + "dependencies": { + "picomatch": "^4.0.7" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, "node_modules/gyromagnetic-ratio": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/gyromagnetic-ratio/-/gyromagnetic-ratio-2.0.0.tgz", @@ -7851,9 +7889,9 @@ "license": "ISC" }, "node_modules/jcampconverter": { - "version": "12.5.13", - "resolved": "https://registry.npmjs.org/jcampconverter/-/jcampconverter-12.5.13.tgz", - "integrity": "sha512-T6oMbinttARXl/+G2p9frJqHLpxWxfYBjHmKW3Cpa3D54WcKwoCRIcoQq1mEPL3vK34sBfd01lSzxK8lrxzfZw==", + "version": "12.6.0", + "resolved": "https://registry.npmjs.org/jcampconverter/-/jcampconverter-12.6.0.tgz", + "integrity": "sha512-8j7DvCa0TWoQtAqxrwzQLLIFIgvvnGFUc50j/w+iN+wgdoIpt6B4hz1sZ/dlmz55fbVcjJAaablXHuDvOZ5zyQ==", "license": "CC-BY-NC-SA-4.0", "dependencies": { "cheminfo-types": "^1.16.0", @@ -7938,7 +7976,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/json-stable-stringify-without-jsonify": { @@ -7961,6 +7999,16 @@ "node": ">=6" } }, + "node_modules/jsx-ast-utils-x": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/jsx-ast-utils-x/-/jsx-ast-utils-x-0.1.0.tgz", + "integrity": "sha512-eQQBjBnsVtGacsG9uJNB8qOr3yA8rga4wAaGG1qRcBzSIvfhERLrWxMAM1hp5fcS6Abo8M4+bUBTekYR0qTPQw==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, "node_modules/keyv": { "version": "5.6.0", "resolved": "https://registry.npmjs.org/keyv/-/keyv-5.6.0.tgz", @@ -7972,9 +8020,9 @@ } }, "node_modules/knip": { - "version": "6.49.0", - "resolved": "https://registry.npmjs.org/knip/-/knip-6.49.0.tgz", - "integrity": "sha512-8Gf4R0xcJx1NdNKfr6gOGgSVBE1flB+KHPKPybDTKJ/hPtnswxyFE7Zpsk71kBvzAKReezakbe3DbQ0qAT4vzA==", + "version": "6.51.0", + "resolved": "https://registry.npmjs.org/knip/-/knip-6.51.0.tgz", + "integrity": "sha512-+19Qmu6w5V2WuTWONNQQ3viybzAQf1Tq/GwvQMCPDGfytNrd8UfNms8P1YpeynticVRp308dCyT3dQ+DpJTX3A==", "dev": true, "funding": [ { @@ -7990,13 +8038,13 @@ "dependencies": { "formatly": "^0.12.3", "get-tsconfig": "4.14.3", + "globster": "^1.0.0", "jiti": "^2.7.0", - "oxc-parser": "^0.160.0", + "oxc-parser": "^0.161.0", "oxc-resolver": "11.24.2", "picomatch": "^4.0.7", "smol-toml": "^1.9.1", "strip-json-comments": "5.0.3", - "tinyglobby": "^0.2.17", "unbash": "^6.0.5", "yaml": "^2.9.1" }, @@ -8008,6 +8056,39 @@ "node": "^20.19.0 || >=22.12.0" } }, + "node_modules/knip/node_modules/get-tsconfig": { + "version": "4.14.3", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.14.3.tgz", + "integrity": "sha512-++QEw4DIY7WGoukz+/+A/8dGYPT9l9yIadnmSgZ8Rjr3YVSVDipQSO9CdnJo9ePqFqUUqh+wk9uIaoiAwsiPkA==", + "dev": true, + "license": "MIT", + "dependencies": { + "resolve-pkg-maps": "^1.0.0" + }, + "funding": { + "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" + } + }, + "node_modules/language-subtag-registry": { + "version": "0.3.23", + "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.23.tgz", + "integrity": "sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==", + "dev": true, + "license": "CC0-1.0" + }, + "node_modules/language-tags": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.9.tgz", + "integrity": "sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==", + "dev": true, + "license": "MIT", + "dependencies": { + "language-subtag-registry": "^0.3.20" + }, + "engines": { + "node": ">=0.10" + } + }, "node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -8429,468 +8510,6 @@ "chemical-groups": "^2.2.4" } }, - "node_modules/micromark": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.3.tgz", - "integrity": "sha512-oGYfQzHSG5dOMovQcJ3fyTmZlWAWpi0XA0sJwJs+i6OT88o1+Jtw/8z0CmdowSLxGhhFK89rQ/oXph/wN02PNw==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "@types/debug": "^4.0.0", - "debug": "^4.0.0", - "decode-named-character-reference": "^1.0.0", - "devlop": "^1.0.0", - "micromark-core-commonmark": "^2.0.0", - "micromark-factory-space": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-chunked": "^2.0.0", - "micromark-util-combine-extensions": "^2.0.0", - "micromark-util-decode-numeric-character-reference": "^2.0.0", - "micromark-util-edit-map": "^1.0.0", - "micromark-util-encode": "^2.0.0", - "micromark-util-normalize-identifier": "^2.0.0", - "micromark-util-resolve-all": "^2.0.0", - "micromark-util-sanitize-uri": "^2.0.0", - "micromark-util-subtokenize": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-core-commonmark": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.4.tgz", - "integrity": "sha512-wxEeE8v8XVvOrxn1TZj74qYhAtTQsSqufHVS3uNVyT1MupXxhyaHk8/9xDNPh9BmL77QNDgWTkZ3RsYHB2ry7w==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "decode-named-character-reference": "^1.0.0", - "devlop": "^1.0.0", - "micromark-factory-destination": "^2.0.0", - "micromark-factory-label": "^2.0.0", - "micromark-factory-space": "^2.1.0", - "micromark-factory-title": "^2.0.0", - "micromark-factory-whitespace": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-chunked": "^2.0.0", - "micromark-util-classify-character": "^2.0.0", - "micromark-util-edit-map": "^1.0.0", - "micromark-util-html-tag-name": "^2.0.0", - "micromark-util-normalize-identifier": "^2.0.0", - "micromark-util-resolve-all": "^2.0.0", - "micromark-util-subtokenize": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.3" - } - }, - "node_modules/micromark-factory-destination": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz", - "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-character": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-factory-label": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz", - "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "devlop": "^1.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-factory-space": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.1.0.tgz", - "integrity": "sha512-fS8hnLIjnjvdQIj39Geug8wWsR0HrYZ43KShKxNfwT7t2LOHo/LbWZEzEaSOjwtjdCsjoE6syHhonEzW0zv0+Q==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-character": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-factory-title": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz", - "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-factory-space": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-factory-whitespace": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz", - "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-factory-space": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-util-character": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz", - "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-util-chunked": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz", - "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-symbol": "^2.0.0" - } - }, - "node_modules/micromark-util-classify-character": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz", - "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-character": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-util-combine-extensions": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz", - "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-chunked": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-util-decode-numeric-character-reference": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz", - "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-symbol": "^2.0.0" - } - }, - "node_modules/micromark-util-edit-map": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/micromark-util-edit-map/-/micromark-util-edit-map-1.0.0.tgz", - "integrity": "sha512-Pa2ljlsEL6sVwFaYeyrOLSYbQt73JvGbPOYFq+9AElXiSnfI5Q4465RRZ1sHv7lDjDOnGRDDaqPXqClqWK/q1Q==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-util-encode": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", - "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT" - }, - "node_modules/micromark-util-html-tag-name": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz", - "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT" - }, - "node_modules/micromark-util-normalize-identifier": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz", - "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-symbol": "^2.0.0" - } - }, - "node_modules/micromark-util-resolve-all": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz", - "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-util-sanitize-uri": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", - "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-character": "^2.0.0", - "micromark-util-encode": "^2.0.0", - "micromark-util-symbol": "^2.0.0" - } - }, - "node_modules/micromark-util-subtokenize": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz", - "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "devlop": "^1.0.0", - "micromark-util-chunked": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-util-symbol": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", - "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT" - }, - "node_modules/micromark-util-types": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.3.tgz", - "integrity": "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT" - }, "node_modules/mime-db": { "version": "1.54.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", @@ -8925,9 +8544,9 @@ } }, "node_modules/minimatch": { - "version": "11.0.9", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.9.tgz", - "integrity": "sha512-KCFkfyjqerNlSstjlhIGNXIKZGA/6O4V4RlhZ+Dsr621SPPw0mzlypE9D9ZOoPiVefHID+j7/XuMMlqfD/F60Q==", + "version": "11.0.10", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.10.tgz", + "integrity": "sha512-L3/cjhQ5E6lft0VCp/2mO3Ic74RnutKy3rz7iGwp/6w1hKcO262g2rbfacFyw6eBig5OdI0nu5PpuA0/WQs9Tw==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -9429,9 +9048,9 @@ "license": "MIT" }, "node_modules/nmr-processing": { - "version": "22.28.3", - "resolved": "https://registry.npmjs.org/nmr-processing/-/nmr-processing-22.28.3.tgz", - "integrity": "sha512-cTbXFyom9KNyHAn7KeboQ9pnbqN8BpY6M4mjrY+iHB7HcBh2zyY71kM37KK37wvfOVVLZ8nHHvycdBojr1B5Hw==", + "version": "22.30.0", + "resolved": "https://registry.npmjs.org/nmr-processing/-/nmr-processing-22.30.0.tgz", + "integrity": "sha512-Qo5WMW5JHc88UDn8wseX4Spp7bqsi7TuWyQw3Yscb6d4xBsjZU/QstlpMXDTz9xS8vADzgbuutTjqx9bJjXJHQ==", "license": "CC-BY-NC-SA-4.0", "dependencies": { "binary-search": "^1.3.6", @@ -9448,7 +9067,7 @@ "ml-levenberg-marquardt": "^5.1.0", "ml-matrix": "^6.15.1", "ml-matrix-convolution": "^2.0.0", - "ml-matrix-peaks-finder": "^2.0.1", + "ml-matrix-peaks-finder": "^2.1.0", "ml-peak-shape-generator": "^5.6.0", "ml-regression-base": "^4.0.1", "ml-regression-exponential": "^3.0.2", @@ -9478,9 +9097,9 @@ } }, "node_modules/node-releases": { - "version": "2.0.66", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.66.tgz", - "integrity": "sha512-uSMWN9/XtWzxaE0d9ZNHe00Hda6028AXH3WRjTsK71neiPCSeL5nGSD9MXTQX/6Qx0k7Op1AyyinmIUw9fBzrg==", + "version": "2.0.67", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.67.tgz", + "integrity": "sha512-qgSZT38oj+YV4qyFmdPQEGRFQRP1l8a0wccOECrcrdGl9KldZlCXrEz7uOviThiOWR1KyqiQYeLrf7M9xRi1bg==", "dev": true, "license": "MIT", "engines": { @@ -9597,13 +9216,13 @@ } }, "node_modules/oxc-parser": { - "version": "0.160.0", - "resolved": "https://registry.npmjs.org/oxc-parser/-/oxc-parser-0.160.0.tgz", - "integrity": "sha512-IIc9PydmdnTcH1hucWCHfTUbAuHWPDEs8+WlmW7td3jJnaYrbzvPQgcc99FEJc0gURrVU8EskpAr2VMyJ8VbzA==", + "version": "0.161.0", + "resolved": "https://registry.npmjs.org/oxc-parser/-/oxc-parser-0.161.0.tgz", + "integrity": "sha512-l1gf4O5aRXIAcrxqknUJMWH+qVTG9v2AeBNrHz7EDxn8ncoZa/1qy/6Wy8M8EGngcZrxK4Jt00kIH3yebLWiGA==", "dev": true, "license": "MIT", "dependencies": { - "@oxc-project/types": "^0.160.0" + "@oxc-project/types": "^0.161.0" }, "engines": { "node": "^20.19.0 || >=22.12.0" @@ -9612,25 +9231,25 @@ "url": "https://github.com/sponsors/oxc-project" }, "optionalDependencies": { - "@oxc-parser/binding-android-arm-eabi": "0.160.0", - "@oxc-parser/binding-android-arm64": "0.160.0", - "@oxc-parser/binding-darwin-arm64": "0.160.0", - "@oxc-parser/binding-darwin-x64": "0.160.0", - "@oxc-parser/binding-freebsd-x64": "0.160.0", - "@oxc-parser/binding-linux-arm-gnueabihf": "0.160.0", - "@oxc-parser/binding-linux-arm-musleabihf": "0.160.0", - "@oxc-parser/binding-linux-arm64-gnu": "0.160.0", - "@oxc-parser/binding-linux-arm64-musl": "0.160.0", - "@oxc-parser/binding-linux-ppc64-gnu": "0.160.0", - "@oxc-parser/binding-linux-riscv64-gnu": "0.160.0", - "@oxc-parser/binding-linux-riscv64-musl": "0.160.0", - "@oxc-parser/binding-linux-s390x-gnu": "0.160.0", - "@oxc-parser/binding-linux-x64-gnu": "0.160.0", - "@oxc-parser/binding-linux-x64-musl": "0.160.0", - "@oxc-parser/binding-openharmony-arm64": "0.160.0", - "@oxc-parser/binding-win32-arm64-msvc": "0.160.0", - "@oxc-parser/binding-win32-ia32-msvc": "0.160.0", - "@oxc-parser/binding-win32-x64-msvc": "0.160.0" + "@oxc-parser/binding-android-arm-eabi": "0.161.0", + "@oxc-parser/binding-android-arm64": "0.161.0", + "@oxc-parser/binding-darwin-arm64": "0.161.0", + "@oxc-parser/binding-darwin-x64": "0.161.0", + "@oxc-parser/binding-freebsd-x64": "0.161.0", + "@oxc-parser/binding-linux-arm-gnueabihf": "0.161.0", + "@oxc-parser/binding-linux-arm-musleabihf": "0.161.0", + "@oxc-parser/binding-linux-arm64-gnu": "0.161.0", + "@oxc-parser/binding-linux-arm64-musl": "0.161.0", + "@oxc-parser/binding-linux-ppc64-gnu": "0.161.0", + "@oxc-parser/binding-linux-riscv64-gnu": "0.161.0", + "@oxc-parser/binding-linux-riscv64-musl": "0.161.0", + "@oxc-parser/binding-linux-s390x-gnu": "0.161.0", + "@oxc-parser/binding-linux-x64-gnu": "0.161.0", + "@oxc-parser/binding-linux-x64-musl": "0.161.0", + "@oxc-parser/binding-openharmony-arm64": "0.161.0", + "@oxc-parser/binding-win32-arm64-msvc": "0.161.0", + "@oxc-parser/binding-win32-ia32-msvc": "0.161.0", + "@oxc-parser/binding-win32-x64-msvc": "0.161.0" } }, "node_modules/oxc-resolver": { @@ -9936,13 +9555,13 @@ } }, "node_modules/playwright": { - "version": "1.65.1", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.65.1.tgz", - "integrity": "sha512-vJ1FuoOrNwOKHUIVEvSt3jT1L+wjjDpwhwIstKtfvTh8XIG4FG4bIFuvNdMxi81LGfAhUgUZleVFaOLY4RIUUw==", + "version": "1.65.2", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.65.2.tgz", + "integrity": "sha512-Bfg9lfUnqknFzjWrvz2GMckl656TWYwDHiR+T8MQK1V+Sp1D+ODuxpcsnMQ31BYH+LBiKs6kXRMInesqO8F41w==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.65.1" + "playwright-core": "1.65.2" }, "bin": { "playwright": "cli.js" @@ -9952,9 +9571,9 @@ } }, "node_modules/playwright-core": { - "version": "1.65.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.65.1.tgz", - "integrity": "sha512-hqPpz7blSMPxWVdoeE1yiBSzXsKiVOd2k+kjCvmUywD2GPO2Dd9HfcWnq9NN0GHbNZDFgZ9JfBFr+X5/BLo0qw==", + "version": "1.65.2", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.65.2.tgz", + "integrity": "sha512-aHu9F46Mx5ha9iiB+VLZMUUtex3PBw4am9MHptc0IXaJhz++6YXsH96eEyThwCwMkIUiB8TdZcwXqnb3xKDzmA==", "dev": true, "license": "Apache-2.0", "bin": { @@ -10077,9 +9696,9 @@ } }, "node_modules/prettier": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.10.1.tgz", - "integrity": "sha512-70vp3ZUYoPlFbF9uiTdXHUUCGEIp7d4+6p+8DYbkm2jP7x/3i/paXVF6dopSI3zd/CEitrZN1rc4i85xWmmXlg==", + "version": "3.10.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.10.2.tgz", + "integrity": "sha512-VQGIFOC0JNYLvfT57+Tre9wvgpc1Njx0JcnTDwRD6IFQGPTfPMghvi2A7gSwa/I0emKTK4KpBIN4mWYHyCDNDQ==", "dev": true, "license": "MIT", "bin": { @@ -10670,7 +10289,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "dev": true, + "devOptional": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -10792,6 +10411,16 @@ "@rolldown/binding-win32-x64-msvc": "1.3.4" } }, + "node_modules/rolldown/node_modules/@oxc-project/types": { + "version": "0.160.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.160.0.tgz", + "integrity": "sha512-gw4k9syEmnckbOgw2A2FU1TBDdX9hfwV9jEn/uio65pguPzwWiXQS3OIJDMEhv9m06tj9XiEe6RoD0YA+LgreA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/oxc-project" + } + }, "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -11229,9 +10858,9 @@ } }, "node_modules/stylelint": { - "version": "18.1.0", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-18.1.0.tgz", - "integrity": "sha512-QbF/IY7KY6lZRhYU/vmPU1KYxc71wgkXdgeptqzTh3lbnZps6WHaskfPjpL6Fh4JaCzwkKKitVcMrpfQTSwwPA==", + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-18.2.0.tgz", + "integrity": "sha512-QTXlfi4m+jnei3ZgWOk4NqtLdCXEGNaM8MYAu9mCx+f+WrXJXL6qZiM9mA/GU8ZFZLZry/8vxFwPJTBVcy5MfQ==", "dev": true, "funding": [ { @@ -11245,11 +10874,11 @@ ], "license": "MIT", "dependencies": { - "@csstools/css-calc": "^3.4.3", + "@csstools/css-calc": "^3.4.4", "@csstools/css-parser-algorithms": "^4.0.2", - "@csstools/css-syntax-patches-for-csstree": "^1.1.16", + "@csstools/css-syntax-patches-for-csstree": "^1.1.17", "@csstools/css-tokenizer": "^4.0.2", - "@csstools/media-query-list-parser": "^5.0.2", + "@csstools/media-query-list-parser": "^5.0.3", "@csstools/selector-resolve-nested": "^4.0.2", "@csstools/selector-specificity": "^6.0.1", "colord": "^2.13.0", @@ -11258,7 +10887,7 @@ "ignore": "^7.0.14", "import-meta-resolve": "^4.2.0", "picomatch": "^4.0.7", - "postcss": "^8.5.33", + "postcss": "^8.5.34", "postcss-safe-parser": "^7.1.0", "postcss-selector-parser": "^7.2.1", "postcss-value-parser": "^4.2.0", @@ -11746,16 +11375,16 @@ } }, "node_modules/vite": { - "version": "8.4.0", - "resolved": "https://registry.npmjs.org/vite/-/vite-8.4.0.tgz", - "integrity": "sha512-X2nUJg+9cutlz3hzqyO6p+WTwk9H257DjwAEf9EQYUFrQbDItmetadi9gYmb+l7VDy4r3VXLUnmLTwuPmzejDw==", + "version": "8.4.1", + "resolved": "https://registry.npmjs.org/vite/-/vite-8.4.1.tgz", + "integrity": "sha512-2bl8n3+GkKBKQQR8CZC+t+3NvjWCBNh9S0Dbfu7hr7+Jjeg71jcZk7uKF6mo8GZXjIws+Nl6jhvAfHUO320VuQ==", "dev": true, "license": "MIT", "dependencies": { "lightningcss": "^1.33.0", "picomatch": "^4.0.7", - "postcss": "^8.5.33", - "rolldown": "~1.3.2", + "postcss": "^8.5.34", + "rolldown": "~1.3.4", "tinyglobby": "^0.2.17" }, "bin": { diff --git a/package.json b/package.json index b568695f3..5b9d01178 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "@tanstack/react-table": "^9.3.1", "@zakodium/nmr-types": "^0.5.37", "@zakodium/nmrium-core": "^0.7.87", - "@zakodium/nmrium-core-plugins": "^0.7.127", + "@zakodium/nmrium-core-plugins": "^0.7.130", "@zakodium/pdnd-esm": "^1.2.0", "@zakodium/utils": "^0.7.0", "@zip.js/zip.js": "^2.25.1", @@ -96,7 +96,7 @@ "ml-signal-processing": "^2.2.2", "ml-spectra-processing": "^14.35.1", "ml-tree-similarity": "^2.2.0", - "nmr-processing": "^22.28.3", + "nmr-processing": "^22.30.0", "numeral": "^2.0.6", "openchemlib": "^9.26.0", "openchemlib-utils": "^8.20.1", @@ -120,10 +120,10 @@ "zod": "^4.6.7" }, "devDependencies": { - "@blueprintjs/core": "^6.23.3", + "@blueprintjs/core": "^6.24.0", "@blueprintjs/icons": "^6.17.0", - "@blueprintjs/select": "^6.4.5", - "@playwright/test": "^1.65.1", + "@blueprintjs/select": "^6.4.6", + "@playwright/test": "^1.65.2", "@simbathesailor/use-what-changed": "^2.0.0", "@types/d3-array": "^3.2.2", "@types/d3-scale": "^4.0.9", @@ -136,32 +136,32 @@ "@types/papaparse": "^5.5.2", "@types/react": "^19.3.3", "@types/react-dom": "^19.3.0", - "@vitejs/plugin-react": "^6.3.0", + "@vitejs/plugin-react": "^6.3.1", "@vitest/coverage-v8": "^5.1.2", "@zakodium/tsconfig": "^1.0.5", "cross-env": "^10.1.0", - "cspell": "^10.6.0", + "cspell": "^10.7.0", "eslint": "^10.16.0", - "eslint-config-cheminfo-react": "^21.0.3", - "eslint-config-cheminfo-typescript": "^23.0.0", - "knip": "^6.49.0", + "eslint-config-cheminfo-react": "^21.1.0", + "eslint-config-cheminfo-typescript": "^23.0.1", + "knip": "^6.51.0", "modern-normalize": "^3.0.1", "postcss": "^8.5.34", "postcss-styled-syntax": "^0.7.4", - "prettier": "^3.10.1", + "prettier": "^3.10.2", "rc-menu": "^9.16.1", "react": "^19.3.1", "react-dom": "^19.3.1", "react-router-dom": "^7.18.7", "rimraf": "^6.1.4", "serve": "^14.2.8", - "stylelint": "^18.1.0", + "stylelint": "^18.2.0", "stylelint-config-standard": "^41.1.0", "typescript": "~6.0.3", - "vite": "^8.4.0", + "vite": "^8.4.1", "vitest": "^5.1.2" }, "volta": { - "node": "24.22.3" + "node": "24.23.0" } } From d40b485def4f4065638292706505a867cc49ddc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 4 Dec 2026 08:13:38 +0100 Subject: [PATCH 31/36] eslint --- .../CorrelationTable/AdditionalColumnHeader.tsx | 10 ++++------ .../CorrelationTable/CorrelationTableRow.tsx | 6 +++++- src/component/panels/SummaryPanel/SummaryPanel.tsx | 4 ++-- .../utilities/exportAssignments.ts | 2 ++ src/data/data1d/Spectrum1D/getReferenceShift.ts | 2 +- .../Spectrum2D/findBestMinContour/evaluation.ts | 2 +- .../__tests__/findAutomaticContourLevels.test.ts | 12 +++++++++++- src/data/parseMeta/parseMetaFile.ts | 2 ++ 8 files changed, 28 insertions(+), 12 deletions(-) diff --git a/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx b/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx index 9acc9b938..43d323f03 100644 --- a/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx +++ b/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx @@ -30,7 +30,7 @@ export interface AdditionalColumnHeaderProps { onEdit: ( editedCorrelations: Correlation[], action: string, - link?: CorrelationLink, + link: CorrelationLink | undefined, options?: CorrelationBuildOptions, ) => void; } @@ -171,7 +171,7 @@ function AdditionalColumnHeader(props: AdditionalColumnHeaderProps) { { text: 'Yes', onClick: () => { - onEdit([correlation], 'removeAll'); + onEdit([correlation], 'removeAll', undefined); }, intent: 'danger', }, @@ -215,10 +215,8 @@ function AdditionalColumnHeader(props: AdditionalColumnHeaderProps) { : ''}

- {typeof equivalence === 'number' - ? Number.isSafeInteger(equivalence) - ? equivalence - : equivalence.toFixed(2) + {typeof equivalence === 'number' && !Number.isSafeInteger(equivalence) + ? equivalence.toFixed(2) : equivalence}

diff --git a/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx b/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx index 39d72e4f4..55d767b7c 100644 --- a/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx +++ b/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx @@ -215,7 +215,11 @@ export default function CorrelationTableRow(props: CorrelationTableRowProps) { { text: 'Yes', onClick: () => { - onEditCorrelationTableCellHandler([correlation], 'removeAll'); + onEditCorrelationTableCellHandler( + [correlation], + 'removeAll', + undefined, + ); }, intent: 'danger', }, diff --git a/src/component/panels/SummaryPanel/SummaryPanel.tsx b/src/component/panels/SummaryPanel/SummaryPanel.tsx index f0129e2aa..75225319f 100644 --- a/src/component/panels/SummaryPanel/SummaryPanel.tsx +++ b/src/component/panels/SummaryPanel/SummaryPanel.tsx @@ -43,7 +43,7 @@ type EditCorrelationAction = export type OnEditCorrelationCallback = ( editedCorrelations: Correlation[], action: EditCorrelationAction, - link?: CorrelationLink, + link: CorrelationLink | undefined, options?: CorrelationBuildOptions, ) => void; @@ -423,7 +423,7 @@ function SummaryPanel() { ( editedCorrelations: Correlation[], action: string, - link?: CorrelationLink, + link: CorrelationLink | undefined, options?: CorrelationBuildOptions, ) => { if ( diff --git a/src/component/panels/assignment-summary/utilities/exportAssignments.ts b/src/component/panels/assignment-summary/utilities/exportAssignments.ts index d53cd299e..a03eaff90 100644 --- a/src/component/panels/assignment-summary/utilities/exportAssignments.ts +++ b/src/component/panels/assignment-summary/utilities/exportAssignments.ts @@ -37,6 +37,8 @@ interface AssignmentExportOptions { */ export function exportAssignments(options: AssignmentExportOptions): string { const { fields, data } = getAssignmentExportData(options); + // Package is not ESM. + // eslint-disable-next-line import/no-named-as-default-member return papa.unparse( { fields, data }, { delimiter: options.delimiter, escapeFormulae: true }, diff --git a/src/data/data1d/Spectrum1D/getReferenceShift.ts b/src/data/data1d/Spectrum1D/getReferenceShift.ts index 6eba29c86..8c86b3c42 100644 --- a/src/data/data1d/Spectrum1D/getReferenceShift.ts +++ b/src/data/data1d/Spectrum1D/getReferenceShift.ts @@ -43,7 +43,7 @@ export function getReferenceShift( // This is a copy of the function defined in https://github.com/cheminfo/spectra-processor/blob/b87f6f6c4d45a64dc16f3f9692d5f5dc7e398e5e/src/spectrum/xyCalibrate.js function xyCalibrate( data: DataXY, - range: { to?: number; from?: number } = {}, + range: { to?: number; from?: number }, options: { targetX?: number; nbPeaks?: number; diff --git a/src/data/data2d/Spectrum2D/findBestMinContour/evaluation.ts b/src/data/data2d/Spectrum2D/findBestMinContour/evaluation.ts index b838a441d..213f453c2 100644 --- a/src/data/data2d/Spectrum2D/findBestMinContour/evaluation.ts +++ b/src/data/data2d/Spectrum2D/findBestMinContour/evaluation.ts @@ -126,7 +126,7 @@ export function evaluateThreshold( contourRatio: number, persistenceLevels: number, ridgeCoverageThreshold: number, - includeRidgeScores = true, + includeRidgeScores: boolean, thresholdIndex?: ThresholdIndex, ): EvaluatedThreshold { const threshold = sigmaMultiplier * noiseLevel; diff --git a/src/data/data2d/__tests__/findAutomaticContourLevels.test.ts b/src/data/data2d/__tests__/findAutomaticContourLevels.test.ts index ae76f0db2..66f829bb8 100644 --- a/src/data/data2d/__tests__/findAutomaticContourLevels.test.ts +++ b/src/data/data2d/__tests__/findAutomaticContourLevels.test.ts @@ -56,7 +56,17 @@ test('sorted threshold counts preserve direct comparison semantics', () => { test('skipping ridge metrics preserves threshold selection metrics', () => { const matrix = new Float64Array([0, 2, 3, 0]); - const withRidgeMetrics = evaluateThreshold(matrix, 2, 2, 1, 2, 1.5, 2, 0.5); + const withRidgeMetrics = evaluateThreshold( + matrix, + 2, + 2, + 1, + 2, + 1.5, + 2, + 0.5, + true, + ); const withoutRidgeMetrics = evaluateThreshold( matrix, 2, diff --git a/src/data/parseMeta/parseMetaFile.ts b/src/data/parseMeta/parseMetaFile.ts index 9ba32ef0c..c1f975ea8 100644 --- a/src/data/parseMeta/parseMetaFile.ts +++ b/src/data/parseMeta/parseMetaFile.ts @@ -7,6 +7,8 @@ export async function parseMetaFile( ): Promise> { const data = file instanceof File ? file : await file.text(); return new Promise((complete, error) => { + // Package is not ESM. + // eslint-disable-next-line import/no-named-as-default-member papa.parse(data, { header: true, dynamicTyping: true, From d0afdb2ca08697b56bebf3571e620959a1d3b615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 4 Dec 2026 08:48:47 +0100 Subject: [PATCH 32/36] wait for spectrum --- test-e2e/NmriumPage/index.ts | 24 ++++++++++++++++++++---- test-e2e/core/basic.test.ts | 5 +++-- test-e2e/panels/autoassignment.test.ts | 5 +++-- test-e2e/panels/filters.test.ts | 17 ++++++----------- test-e2e/panels/matrixgeneration.test.ts | 5 +++-- test-e2e/panels/peaks.test.ts | 14 ++++++-------- test-e2e/panels/ranges.test.ts | 10 ++++++---- test-e2e/panels/spectra.test.ts | 24 +++++++++++++----------- 8 files changed, 60 insertions(+), 44 deletions(-) diff --git a/test-e2e/NmriumPage/index.ts b/test-e2e/NmriumPage/index.ts index 855b61993..1d5f89a5f 100644 --- a/test-e2e/NmriumPage/index.ts +++ b/test-e2e/NmriumPage/index.ts @@ -17,8 +17,10 @@ interface OpenDemoOptions { waitFor1DSpectrum?: string; /** * If set to the name of a 2D spectrum, assert that it is rendered (as FT contours). + * If set to a boolean, any 2D spectrum can be rendered. This is useful to avoid flakiness + * for examples that can load multiple 2D nuclei in an unpredictable order. */ - waitFor2DSpectrumContours?: string; + waitFor2DSpectrumContours?: string | boolean; } export default class NmriumPage { @@ -58,9 +60,23 @@ export default class NmriumPage { this.viewer.getOneDSpectrum(options.waitFor1DSpectrum), ).toBeVisible(); } else if (options.waitFor2DSpectrumContours) { - await expect( - this.viewer.getTwoDSpectrumContours(options.waitFor2DSpectrumContours), - ).toBeVisible(); + if (typeof options.waitFor2DSpectrumContours === 'boolean') { + await expect( + this.viewer.twoDData + .getByRole('group', { name: 'FT data', exact: true }) + .getByRole('list', { name: 'Spectra contour lines', exact: true }) + .getByRole('listitem', { + name: 'Spectrum contours', + }) + .first(), + ).toBeVisible(); + } else { + await expect( + this.viewer.getTwoDSpectrumContours( + options.waitFor2DSpectrumContours, + ), + ).toBeVisible(); + } } } diff --git a/test-e2e/core/basic.test.ts b/test-e2e/core/basic.test.ts index 0e93484fd..9a32438a4 100644 --- a/test-e2e/core/basic.test.ts +++ b/test-e2e/core/basic.test.ts @@ -27,8 +27,9 @@ test('should load and display the 1D and 2D spectrum', async ({ page }) => { test('check callbacks count', async ({ page }) => { const nmrium = await NmriumPage.create(page); - await nmrium.openDemo('Props debug', 'Callback - Full cytisine'); - await expect(nmrium.viewer.graph).toBeVisible(); + await nmrium.openDemo('Props debug', 'Callback - Full cytisine', { + waitFor2DSpectrumContours: true, + }); const dataCount = nmrium.page.getByTestId('data-count'); const viewCount = nmrium.page.getByTestId('view-count'); diff --git a/test-e2e/panels/autoassignment.test.ts b/test-e2e/panels/autoassignment.test.ts index 70aa5cd65..f361cb972 100644 --- a/test-e2e/panels/autoassignment.test.ts +++ b/test-e2e/panels/autoassignment.test.ts @@ -8,8 +8,9 @@ test('automatic assignment panel', async ({ page }, info) => { const nmrium = await NmriumPage.create(page); await test.step('open 1H ethylvinylether spectrum', async () => { - await nmrium.openDemo('Simple spectra', '1H ethylvinylether'); - await expect(nmrium.viewer.graph).toBeVisible(); + await nmrium.openDemo('Simple spectra', '1H ethylvinylether', { + waitFor1DSpectrum: '1h', + }); }); await test.step('activate automatic assignment panel', async () => { await nmrium.openGeneralSettings(); diff --git a/test-e2e/panels/filters.test.ts b/test-e2e/panels/filters.test.ts index 0323c01c1..c45a21640 100644 --- a/test-e2e/panels/filters.test.ts +++ b/test-e2e/panels/filters.test.ts @@ -166,10 +166,9 @@ test('process 13c spectrum with shortcuts', async ({ page }) => { test('Processed spectra filters', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open 13c spectrum', async () => { - await nmrium.openDemo('Cytisine', 'Processed 13C FID'); - - // wait spectrum to load - await expect(nmrium.viewer.graph).toBeVisible(); + await nmrium.openDemo('Cytisine', 'Processed 13C FID', { + waitFor1DSpectrum: '13c.fid', + }); }); await test.step('Check filters panel', async () => { //Open peaks panel @@ -182,13 +181,9 @@ test('Processed spectra filters', async ({ page }) => { test('Exclusion zones', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open Coffee example', async () => { - await nmrium.openDemo('Multiple spectra', 'Coffee'); - - // wait spectrum to load - await expect(nmrium.viewer.graph).toBeVisible(); - - // select the 1H tab - await nmrium.getSpectraTab('1H').click(); + await nmrium.openDemo('Multiple spectra', 'Coffee', { + waitFor1DSpectrum: 'coffee_1316', + }); }); await test.step('activate exclusion zones tool', async () => { diff --git a/test-e2e/panels/matrixgeneration.test.ts b/test-e2e/panels/matrixgeneration.test.ts index cbc61107d..a54bbf90d 100644 --- a/test-e2e/panels/matrixgeneration.test.ts +++ b/test-e2e/panels/matrixgeneration.test.ts @@ -6,8 +6,9 @@ test('Matrix generation panel', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('open 1H ethylvinylether spectrum', async () => { - await nmrium.openDemo('Simple spectra', '1H ethylvinylether'); - await expect(nmrium.viewer.graph).toBeVisible(); + await nmrium.openDemo('Simple spectra', '1H ethylvinylether', { + waitFor1DSpectrum: '1h', + }); }); await test.step('activate matrix generation panel', async () => { diff --git a/test-e2e/panels/peaks.test.ts b/test-e2e/panels/peaks.test.ts index 0a98cb572..b16da8082 100644 --- a/test-e2e/panels/peaks.test.ts +++ b/test-e2e/panels/peaks.test.ts @@ -116,10 +116,9 @@ test('Automatic peak picking should work', async ({ page }) => { test('Processed spectra peaks', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open Processed 13C FID', async () => { - await nmrium.openDemo('Cytisine', 'Processed 13C FID'); - - // Wait for the spectrum to load - await expect(nmrium.viewer.graph).toBeVisible(); + await nmrium.openDemo('Cytisine', 'Processed 13C FID', { + waitFor1DSpectrum: '13c.fid', + }); }); await test.step('Check peaks', async () => { //Close spectra panel @@ -156,10 +155,9 @@ test('Processed spectra peaks', async ({ page }) => { test('Check no negative peaks in processed spectra', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open 13c spectrum', async () => { - await nmrium.openDemo('Cytisine', 'Processed 13C FID'); - - // Wait for the spectrum to load. - await expect(nmrium.viewer.graph).toBeVisible(); + await nmrium.openDemo('Cytisine', 'Processed 13C FID', { + waitFor1DSpectrum: '13c.fid', + }); }); await test.step('Check negative peaks', async () => { // Close spectra panel. diff --git a/test-e2e/panels/ranges.test.ts b/test-e2e/panels/ranges.test.ts index f47713331..ee2901811 100644 --- a/test-e2e/panels/ranges.test.ts +++ b/test-e2e/panels/ranges.test.ts @@ -402,8 +402,9 @@ test('Range state', async ({ page }) => { test('Auto peak picking on all spectra', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open FULL ethylbenzene 2D spectrum', async () => { - await nmrium.openDemo('Cytisine', 'Full cytisine'); - await expect(nmrium.viewer.graph).toBeVisible(); + await nmrium.openDemo('Cytisine', 'Full cytisine', { + waitFor2DSpectrumContours: true, + }); }); await test.step('Check spectrum tabs', async () => { @@ -476,8 +477,9 @@ test('2D spectra reference change', async ({ page }) => { const yAxisDefault = [0, 20, 40, 60, 80, 100, 120, 140, 160]; const nmrium = await NmriumPage.create(page); await test.step('Open 2D spectrum', async () => { - await nmrium.openDemo('Cytisine', 'HSQC cytisine + 1D spectra'); - await expect(nmrium.viewer.graph).toBeVisible(); + await nmrium.openDemo('Cytisine', 'HSQC cytisine + 1D spectra', { + waitFor2DSpectrumContours: 'HSQC_Cytisin', + }); await expect( nmrium.viewer.horizontalAxis.getByTestId('axis-primary-tick-label'), diff --git a/test-e2e/panels/spectra.test.ts b/test-e2e/panels/spectra.test.ts index d03c932cc..6634f3e7f 100644 --- a/test-e2e/panels/spectra.test.ts +++ b/test-e2e/panels/spectra.test.ts @@ -161,9 +161,9 @@ test('2d spectrum', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open COSY ethylbenzene 2D spectrum', async () => { - await nmrium.openDemo('Simple spectra', 'COSY ethylbenzene'); - // Wait the spectrum to load - await expect(nmrium.viewer.graph).toBeVisible(); + await nmrium.openDemo('Simple spectra', 'COSY ethylbenzene', { + waitFor2DSpectrumContours: 'cosy', + }); await nmrium.getSpectraTab('1H').click(); }); @@ -357,9 +357,9 @@ test('show/hide spectrum', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open Coffee spectrum', async () => { - await nmrium.openDemo('Multiple spectra', 'Coffee'); - // Wait the spectrum to load - await expect(nmrium.viewer.graph).toBeVisible(); + await nmrium.openDemo('Multiple spectra', 'Coffee', { + waitFor1DSpectrum: 'coffee_1246', + }); await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(13); }); await test.step('Check hide spectra', async () => { @@ -431,9 +431,9 @@ test('Multiple spectra analysis', async ({ page }) => { const nmrium = await NmriumPage.create(page); await test.step('Open Coffee spectrum and check 13 spectra', async () => { - await nmrium.openDemo('Multiple spectra', 'Coffee'); - // Wait the spectrum to load - await expect(nmrium.viewer.graph).toBeVisible(); + await nmrium.openDemo('Multiple spectra', 'Coffee', { + waitFor1DSpectrum: 'coffee_1246', + }); await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(13); }); await test.step('Check spectra colors', async () => { @@ -498,10 +498,12 @@ test('Multiple spectra analysis', async ({ page }) => { await nmrium.expectNumberOfDistinctColors(13); }); }); + test('Load JResolv', async ({ page }) => { const nmrium = await NmriumPage.create(page); - await nmrium.openDemo('Cytisine', 'jResolv cytisine'); + await nmrium.openDemo('Cytisine', 'jResolv cytisine', { + waitFor2DSpectrumContours: 'j-resolv', + }); - await expect(nmrium.viewer.graph).toBeVisible(); await expect(nmrium.page.getByTestId('spectrum-line')).toHaveCount(2); }); From 2a8b92860c2bb875770eb3f26983211e2a9dbc86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 4 Dec 2026 11:31:39 +0100 Subject: [PATCH 33/36] settings styled --- .../base/setting/SpectrumSetting.tsx | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx b/src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx index e8e429ec9..f2b4824d2 100644 --- a/src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx +++ b/src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx @@ -1,7 +1,6 @@ import { PopoverNext } from '@blueprintjs/core'; import styled from '@emotion/styled'; import type { Display1D, Display2D } from '@zakodium/nmrium-core'; -import type { CSSProperties } from 'react'; import { useDispatch } from '../../../../context/DispatchContext.js'; import { useActiveSpectra } from '../../../../hooks/useActiveSpectra.ts'; @@ -14,13 +13,14 @@ const SpectrumSettingContent = styled.div` max-height: 390px; overflow-y: auto; `; -const settingsButtonStyle: CSSProperties = { - display: 'flex', - width: '100%', - padding: 0, - border: 'none', - background: 'none', -}; + +const SettingsButton = styled.button` + display: flex; + width: 100%; + padding: 0; + border: none; + background: none; +`; interface SpectrumSettingProps { data: any; @@ -71,10 +71,9 @@ export function SpectrumSetting({ } renderTarget={({ isOpen, onClick, ...targetProps }) => ( - + )} /> ); From a0936dcca41e226ea7e4497a8a5fc39776aee6c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 4 Dec 2026 11:53:45 +0100 Subject: [PATCH 34/36] finish --- src/component/elements/NextPrev.tsx | 2 -- src/component/elements/dropDownButton/DropDownButton.tsx | 9 +-------- src/component/elements/dropDownButton/DropDownList.tsx | 8 -------- src/component/header/Header.tsx | 2 +- test-e2e/core/versioned_workspaces.test.ts | 3 ++- 5 files changed, 4 insertions(+), 20 deletions(-) diff --git a/src/component/elements/NextPrev.tsx b/src/component/elements/NextPrev.tsx index 0c25cd58d..f5863b0bb 100644 --- a/src/component/elements/NextPrev.tsx +++ b/src/component/elements/NextPrev.tsx @@ -18,8 +18,6 @@ const ArrowButton = styled.button<{ background-color: #f7f7f7; border: none; border-radius: 50%; - color: inherit; - padding: 0; cursor: pointer; display: inline-flex; height: 40px; diff --git a/src/component/elements/dropDownButton/DropDownButton.tsx b/src/component/elements/dropDownButton/DropDownButton.tsx index 798288b58..c9aed8945 100644 --- a/src/component/elements/dropDownButton/DropDownButton.tsx +++ b/src/component/elements/dropDownButton/DropDownButton.tsx @@ -23,10 +23,6 @@ export interface DropDownListProps { } interface DropDownButtonProps extends DropDownListProps { - /** - * What the selected value is, for the accessible name of the button - * (for example "Workspace"). - */ label?: string; selectedKey?: string; onSelect?: (item: DropDownListItem) => void; @@ -84,10 +80,7 @@ function DropDownButton( setOpen((flag) => !flag)} > {!item ? : formatSelectedValue(item)} diff --git a/src/component/elements/dropDownButton/DropDownList.tsx b/src/component/elements/dropDownButton/DropDownList.tsx index 234a2d18c..148762333 100644 --- a/src/component/elements/dropDownButton/DropDownList.tsx +++ b/src/component/elements/dropDownButton/DropDownList.tsx @@ -23,15 +23,7 @@ const MenuItem = styled.li` `; const ItemButton = styled.button` - display: block; width: 100%; - padding: 0; - border: none; - background: none; - color: inherit; - font: inherit; - text-align: inherit; - cursor: pointer; `; const Text = styled.span` diff --git a/src/component/header/Header.tsx b/src/component/header/Header.tsx index 591b73f1e..1fd1782ef 100644 --- a/src/component/header/Header.tsx +++ b/src/component/header/Header.tsx @@ -169,7 +169,7 @@ function HeaderInner(props: HeaderInnerProps) { {!hideWorkspaces && ( Date: Fri, 4 Dec 2026 14:58:25 +0100 Subject: [PATCH 35/36] revert button and use listitem --- .../elements/dropDownButton/DropDownList.tsx | 21 +++++++------------ test-e2e/core/versioned_workspaces.test.ts | 2 +- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/src/component/elements/dropDownButton/DropDownList.tsx b/src/component/elements/dropDownButton/DropDownList.tsx index 148762333..94074c663 100644 --- a/src/component/elements/dropDownButton/DropDownList.tsx +++ b/src/component/elements/dropDownButton/DropDownList.tsx @@ -7,6 +7,7 @@ const Menu = styled.ul` margin: 0; padding: 0; `; + const MenuItem = styled.li` border-bottom: 0.55px solid #f9f9f9; color: black; @@ -22,10 +23,6 @@ const MenuItem = styled.li` } `; -const ItemButton = styled.button` - width: 100%; -`; - const Text = styled.span` display: block; padding: 5px 20px; @@ -46,19 +43,17 @@ function DropDownList({ {data.map((item, index) => ( { + e.stopPropagation(); + onSelect(index); + }} style={{ display: !('visible' in item) || item.visible ? 'block' : 'none', + cursor: 'pointer', }} > - { - e.stopPropagation(); - onSelect(index); - }} - > - {renderItem?.(item) || {item.label}} - + {renderItem?.(item) || {item.label}} ))} diff --git a/test-e2e/core/versioned_workspaces.test.ts b/test-e2e/core/versioned_workspaces.test.ts index ab17b0904..2197854b7 100644 --- a/test-e2e/core/versioned_workspaces.test.ts +++ b/test-e2e/core/versioned_workspaces.test.ts @@ -24,7 +24,7 @@ test('workspaces given with an older version are migrated', async ({ // The second workspace of the same object is migrated as well. await workspaceButton.click(); await nmrium.page - .getByRole('button', { name: 'Legacy ranges (v19)' }) + .getByRole('listitem', { name: 'Legacy ranges (v19)' }) .click(); await expect(workspaceButton).toHaveText('Legacy ranges (v19)'); From 6943ec472fdf271828b8c175f8f61ba7cc8c8834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 4 Dec 2026 15:18:11 +0100 Subject: [PATCH 36/36] update react-science for ref --- package-lock.json | 41 ++++++------------- package.json | 2 +- src/component/panels/PanelsBar.tsx | 66 +++++++++++++++--------------- 3 files changed, 45 insertions(+), 64 deletions(-) diff --git a/package-lock.json b/package-lock.json index fffe92763..b46ac4909 100644 --- a/package-lock.json +++ b/package-lock.json @@ -61,7 +61,7 @@ "react-ocl-nmr": "^4.1.1", "react-plot": "^3.1.2", "react-rnd": "^10.5.3", - "react-science": "^24.2.1", + "react-science": "^24.3.0", "smart-array-filter": "^5.0.0", "ts-pattern": "^5.9.2", "usehooks-ts": "^3.1.1", @@ -4784,23 +4784,6 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, - "node_modules/ajv": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", - "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==", - "extraneous": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, "node_modules/ansi-align": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", @@ -7200,7 +7183,7 @@ "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/fast-equals": { @@ -7231,7 +7214,7 @@ "version": "3.1.9", "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.9.tgz", "integrity": "sha512-hS/0Wt3Ya043oKXs0sIxrMpKQITXhMLIrVAKKXi4gozGC9v7YRWVnXIZzjNPTO02M9BdxLCWqK1yRXgNziVyJQ==", - "devOptional": true, + "dev": true, "funding": [ { "type": "github", @@ -7976,7 +7959,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/json-stable-stringify-without-jsonify": { @@ -10200,22 +10183,22 @@ } }, "node_modules/react-science": { - "version": "24.2.1", - "resolved": "https://registry.npmjs.org/react-science/-/react-science-24.2.1.tgz", - "integrity": "sha512-iMuOtrz5CdGi8e7tpvMpAzSFMG6l+lTu4Dw8w821rdRtN7yV2KGrQBvxXzv1kqnY+0TkesSoJVGntUyhghnDxg==", + "version": "24.3.0", + "resolved": "https://registry.npmjs.org/react-science/-/react-science-24.3.0.tgz", + "integrity": "sha512-c7C07IBbJSR9BEgVffFFsspFPNZRMrxo0d+IjIDEq4c4IW3fxIUk0tzp0JfoqPtJWPYjEUj0UNbvwzgrmkeevg==", "license": "MIT", "dependencies": { "@emotion/styled": "^11.14.1", "@radix-ui/react-use-controllable-state": "^1.3.0", - "@tanstack/react-form": "^1.33.5", - "@tanstack/react-store": "^0.11.2", + "@tanstack/react-form": "^1.33.6", + "@tanstack/react-store": "^0.11.4", "@tanstack/react-table": "^9.3.1", - "@tanstack/react-virtual": "^3.14.26", + "@tanstack/react-virtual": "^3.14.31", "@zakodium/pdnd-esm": "^1.2.0", "@zakodium/utils": "^0.7.0", "d3-scale-chromatic": "^3.1.1", "react-d3-utils": "^3.1.2", - "react-dropzone": "^20.2.0", + "react-dropzone": "^20.2.1", "react-full-screen": "^1.1.1", "react-icons": "^5.7.0", "react-inspector": "^9.0.0", @@ -10289,7 +10272,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "devOptional": true, + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" diff --git a/package.json b/package.json index 5b9d01178..0d78924b8 100644 --- a/package.json +++ b/package.json @@ -112,7 +112,7 @@ "react-ocl-nmr": "^4.1.1", "react-plot": "^3.1.2", "react-rnd": "^10.5.3", - "react-science": "^24.2.1", + "react-science": "^24.3.0", "smart-array-filter": "^5.0.0", "ts-pattern": "^5.9.2", "usehooks-ts": "^3.1.1", diff --git a/src/component/panels/PanelsBar.tsx b/src/component/panels/PanelsBar.tsx index 2aa94fcee..2bf6d8a31 100644 --- a/src/component/panels/PanelsBar.tsx +++ b/src/component/panels/PanelsBar.tsx @@ -52,39 +52,37 @@ export function PanelsBar({ itemHeight = 44 }) { if (items.length === 0 || general?.hidePanelsBar) return null; return ( -
- - {visibleItems.map((item) => { - const panelOptions = getPanelPreferences(item); - return ( - togglePanel(item.id)} - /> - ); - })} - {menu.length > 0 && ( - - { - if (data?.id) { - togglePanel(data.id); - } - }} - active={isMenuActive} - /> - - )} - -
+ + {visibleItems.map((item) => { + const panelOptions = getPanelPreferences(item); + return ( + togglePanel(item.id)} + /> + ); + })} + {menu.length > 0 && ( + + { + if (data?.id) { + togglePanel(data.id); + } + }} + active={isMenuActive} + /> + + )} + ); }