Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the devdependencies group across 1 directory with 3 updates #1997

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 10, 2025

Bumps the devdependencies group with 3 updates in the / directory: astro, svelte and @playwright/test.

Updates astro from 5.3.0 to 5.4.2

Release notes

Sourced from astro's releases.

[email protected]

Patch Changes

[email protected]

Patch Changes

  • #13336 8f632ef Thanks @​ematipico! - Fixes a regression where some asset utilities were move across monorepo, and not re-exported anymore.

  • #13320 b5dabe9 Thanks @{! - Adds support for typing experimental session data

    You can add optional types to your session data by creating a src/env.d.ts file in your project that extends the global App.SessionData interface. For example:

    declare namespace App {
      interface SessionData {
      id: string;
      email: string;
    };
    lastLogin: Date;
    
    }
    }

    Any keys not defined in this interface will be treated as any.

    Then when you access Astro.session in your components, any defined keys will be typed correctly:

    ---
    const user = await Astro.session.get('user');
    //    ^? const: user: { id: string; email: string; } | undefined
    const something = await Astro.session.get('something');
    //    ^? const: something: any
    Astro.session.set('user', 1);
    //    ^? Argument of type 'number' is not assignable to parameter of type '{ id: string; email: string; }'.

    See the experimental session docs for more information.

  • #13330 5e7646e Thanks @​ematipico! - Fixes an issue with the conditional rendering of scripts.

... (truncated)

Changelog

Sourced from astro's changelog.

5.4.2

Patch Changes

5.4.1

Patch Changes

  • #13336 8f632ef Thanks @​ematipico! - Fixes a regression where some asset utilities were move across monorepo, and not re-exported anymore.

  • #13320 b5dabe9 Thanks @{! - Adds support for typing experimental session data

    You can add optional types to your session data by creating a src/env.d.ts file in your project that extends the global App.SessionData interface. For example:

    declare namespace App {
      interface SessionData {
      id: string;
      email: string;
    };
    lastLogin: Date;
    
    }
    }

    Any keys not defined in this interface will be treated as any.

    Then when you access Astro.session in your components, any defined keys will be typed correctly:

    ---
    const user = await Astro.session.get('user');
    //    ^? const: user: { id: string; email: string; } | undefined
    const something = await Astro.session.get('something');
    //    ^? const: something: any
    Astro.session.set('user', 1);
    //    ^? Argument of type 'number' is not assignable to parameter of type '{ id: string; email: string; }'.

    See the experimental session docs for more information.

... (truncated)

Commits

Updates svelte from 5.20.1 to 5.22.6

Release notes

Sourced from svelte's releases.

[email protected]

Patch Changes

  • fix: skip log_if_contains_state if only logging literals (#15468)

  • fix: Add closedby property to HTMLDialogAttributes type (#15458)

  • fix: null and warnings for local handlers (#15460)

[email protected]

Patch Changes

  • fix: memoize clsx calls (#15456)

  • fix: respect svelte-ignore hydration_attribute_changed on elements with spread attributes (#15443)

  • fix: always use setAttribute when setting style (#15323)

  • fix: make style: directive and CSS handling more robust (#15418)

[email protected]

Patch Changes

  • fix: never deduplicate expressions in templates (#15451)

[email protected]

Patch Changes

  • fix: run effect roots in tree order (#15446)

[email protected]

Patch Changes

  • fix: correctly set is_updating before flushing root effects (#15442)

[email protected]

Patch Changes

  • chore: switch acorn-typescript plugin (#15393)

[email protected]

Minor Changes

  • feat: Add idPrefix option to render (#15428)

Patch Changes

  • fix: make dialog element and role interactive (#15429)

[email protected]

... (truncated)

Changelog

Sourced from svelte's changelog.

5.22.6

Patch Changes

  • fix: skip log_if_contains_state if only logging literals (#15468)

  • fix: Add closedby property to HTMLDialogAttributes type (#15458)

  • fix: null and warnings for local handlers (#15460)

5.22.5

Patch Changes

  • fix: memoize clsx calls (#15456)

  • fix: respect svelte-ignore hydration_attribute_changed on elements with spread attributes (#15443)

  • fix: always use setAttribute when setting style (#15323)

  • fix: make style: directive and CSS handling more robust (#15418)

5.22.4

Patch Changes

  • fix: never deduplicate expressions in templates (#15451)

5.22.3

Patch Changes

  • fix: run effect roots in tree order (#15446)

5.22.2

Patch Changes

  • fix: correctly set is_updating before flushing root effects (#15442)

5.22.1

Patch Changes

  • chore: switch acorn-typescript plugin (#15393)

5.22.0

Minor Changes

... (truncated)

Commits

Updates @playwright/test from 1.50.1 to 1.51.0

Release notes

Sourced from @​playwright/test's releases.

v1.51.0

StorageState for indexedDB

  • New option indexedDB for browserContext.storageState() allows to save and restore IndexedDB contents. Useful when your application uses IndexedDB API to store authentication tokens, like Firebase Authentication.

    Here is an example following the authentication guide:

    // tests/auth.setup.ts
    import { test as setup, expect } from '@playwright/test';
    import path from 'path';
    const authFile = path.join(__dirname, '../playwright/.auth/user.json');
    setup('authenticate', async ({ page }) => {
    await page.goto('/');
    // ... perform authentication steps ...
    // make sure to save indexedDB
    await page.context().storageState({ path: authFile, indexedDB: true });
    });

Copy prompt

New "Copy prompt" button on errors in the HTML report, trace viewer and UI mode. Click to copy a pre-filled LLM prompt that contains the error message and useful context for fixing the error.

Copy prompt

Filter visible elements

New option visible for locator.filter() allows matching only visible elements.

// example.spec.ts
test('some test', async ({ page }) => {
  // Ignore invisible todo items.
  const todoItems = page.getByTestId('todo-item').filter({ visible: true });
  // Check there are exactly 3 visible ones.
  await expect(todoItems).toHaveCount(3);
});

Git information in HTML report

Set option testConfig.captureGitInfo to capture git information into testConfig.metadata.

// playwright.config.ts
import { defineConfig } from '@playwright/test';
</tr></table>

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the devdependencies group with 3 updates in the / directory: [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro), [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) and [@playwright/test](https://github.com/microsoft/playwright).


Updates `astro` from 5.3.0 to 5.4.2
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/[email protected]/packages/astro)

Updates `svelte` from 5.20.1 to 5.22.6
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/[email protected]/packages/svelte)

Updates `@playwright/test` from 1.50.1 to 1.51.0
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.50.1...v1.51.0)

---
updated-dependencies:
- dependency-name: astro
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: devdependencies
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: devdependencies
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: devdependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner March 10, 2025 09:53
@dependabot dependabot bot requested a review from a team as a code owner March 10, 2025 09:53
@dependabot dependabot bot added the javascript Pull requests that update Javascript code label Mar 10, 2025
Copy link

changeset-bot bot commented Mar 10, 2025

⚠️ No Changeset found

Latest commit: 6458827

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

Tip

Once this PR is ready to go, add the run_chromatic label to run the Chromatic tests.

This saves us a lot of money by not running the tests before we need them.

@github-actions github-actions bot added 📦 npm Affects a @guardian package on NPM @guardian/libs labels Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies @guardian/libs javascript Pull requests that update Javascript code 📦 npm Affects a @guardian package on NPM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants