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

Migrate to null safety (WIP) #1253

Closed
wants to merge 2 commits into from
Closed

Migrate to null safety (WIP) #1253

wants to merge 2 commits into from

Conversation

jathak
Copy link
Member

@jathak jathak commented Mar 9, 2021

No description provided.

This also replaces package_resolver with package_config, since
package_resolver is archived and is incompatible with null-safe Dart
packages.
@@ -90,7 +90,7 @@ String compile(String path,
Logger logger,
Iterable<Importer> importers,
Iterable<String> loadPaths,
SyncPackageResolver packageResolver,
PackageConfig packageConfig,
Copy link
Contributor

Choose a reason for hiding this comment

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

is this a BC break that requires releasing it as dart-sass 2.0.0 ?

Copy link
Member Author

Choose a reason for hiding this comment

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

It is, but we're only making this change because package_resolver is archived and incompatible with the latest versions of other Dart packages. Since this only affects a limited (at this point, possibly non-existent) subset of Dart API users and pub's version resolution will prevent them from updating to any version of Dart Sass that depends on the null-safe versions of these packages anyway, I think the current plan is to make this change without bumping the major version.

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.

3 participants