Skip to content

Conversation

baseballyama
Copy link
Member

@baseballyama baseballyama commented Sep 6, 2025

I recently added support for using and await using in acorn.
acornjs/acorn@b4ae0d2

However, it seems this is not yet available in the Svelte REPL.
So, I ran the following command to upgrade acorn:

pnpm update acorn
pnpm dedupe acorn

I fixed two failing tests, but I don’t think there’s any issue.

Before submitting the PR, please make sure you do the following

  • It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
  • Prefix your PR title with feat:, fix:, chore:, or docs:.
  • This message body should clearly illustrate what problems it solves.
  • Ideally, include a test that fails without this PR but passes with it.
  • If this PR changes code within packages/svelte/src, add a changeset (npx changeset).

Tests and linting

  • Run the tests with pnpm test and lint the project with pnpm lint

Copy link

changeset-bot bot commented Sep 6, 2025

🦋 Changeset detected

Latest commit: cddfdfb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
svelte Minor

Not sure what this means? Click here to learn what changesets are.

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

@svelte-docs-bot
Copy link

Copy link
Contributor

github-actions bot commented Sep 6, 2025

Playground

pnpm add https://pkg.pr.new/svelte@16723

@baseballyama
Copy link
Member Author

I checked in the Playground, but it still seems to throw an error.
It might need a bit more fixing. I’ll look into it.

@baseballyama baseballyama marked this pull request as draft September 6, 2025 05:42
@baseballyama baseballyama changed the title chore: update acorn to 8.15.0 feat: support Explicit Resource Management Sep 6, 2025
@baseballyama baseballyama changed the title feat: support Explicit Resource Management feat: support ES2026 (Explicit Resource Management) Sep 7, 2025
@baseballyama
Copy link
Member Author

@baseballyama
Copy link
Member Author

We already have PR for this. #16192

@baseballyama baseballyama deleted the chore/update-acorn branch September 10, 2025 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant