Skip to content

Conversation

benmccann
Copy link
Member

No description provided.

Copy link

changeset-bot bot commented Mar 2, 2025

🦋 Changeset detected

Latest commit: 263640c

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

This PR includes changesets to release 1 package
Name Type
sv Patch

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

Copy link

pkg-pr-new bot commented Mar 2, 2025

Open in Stackblitz

npm i https://pkg.pr.new/sveltejs/cli/sv@465
npm i https://pkg.pr.new/sveltejs/cli/svelte-migrate@465

commit: 263640c

@manuel3108
Copy link
Member

I don't fully understand why this change is necessary. Previously we tried to keep as much code synchronously where possible (at least as I remember). Based on the release notes of package-manager-detector it does not look like the sync methods are being deprecated or something.

But i'm probably missing something here.

@benmccann
Copy link
Member Author

Yeah, sorry, I should have provided a description. It's not necessary at the moment, but we are discussion removing the synchronous APIs in package-manager-detector, so that we don't have to maintain two versions of every method. I wanted to make sure that it wouldn't affect us much and would be easy enough to adjust to if we do so

@benmccann
Copy link
Member Author

There's a PR out now to drop CJS and sync APIs from package-manager-detector, so it'd probably make sense to move forward with this PR

Copy link
Member

@manuel3108 manuel3108 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahhhh, that was the missing clue. In that case, this is perfect.

@manuel3108 manuel3108 merged commit 677202e into main Mar 6, 2025
7 checks passed
@manuel3108 manuel3108 deleted the async-detect branch March 6, 2025 15:38
@github-actions github-actions bot mentioned this pull request Mar 6, 2025
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.

2 participants