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

fix: use dart.tool.dart2wasm in connect.dart conditional import #3382

Conversation

alestiago
Copy link
Contributor

@alestiago alestiago commented Dec 18, 2024

Potential fix for #3381.

Is still unclear to me from the research made what's the "migration" steps from the Dart team given the deprecation discussed in dart-lang/sdk#55266 for these conditional imports.

@alestiago alestiago changed the title fix: use dart.tool.dart2wasm in conditional import fix: use dart.tool.dart2wasm in connect.dart conditional import Dec 18, 2024
@simolus3
Copy link
Owner

Thanks for the report and PR! I think instead of adding another condition, it's easier to just match for dart.library.js_interop being available (we don't allow older SDKs without that library, so this also doesn't break existing users).

I've done that in 0f48c51, I'll publish the version as soon as the CI has passed.

@simolus3 simolus3 closed this Dec 18, 2024
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