Skip to content

We should remove the dependency on package:_fe_analyzer_shared #1575

Closed
@devoncarew

Description

@devoncarew

package:_fe_analyzer_shared is an internal implementation detail of the analyzer package (and the CFE). It's not versioned using semver, and, depending on it can cause version lock issues for the ecosystem. That happened recently with Flutter, when they tried to use the latest analyzer (to capture some work on super parameters; see #1573 and flutter/flutter#100575 (comment) for context).

The dep I see is here: https://github.com/dart-lang/webdev/blame/079a52ec34ffb13b1239779ab6b57d13c2ae635a/dwds/lib/src/utilities/dart_uri.dart#L10 (added ~4 months ago). @annagrin @helin24 @elliette - you all may have context here. What do you think is the best way to remove this dep? I'm not sure what functionality we're trying to get with it. Is this something that the analyzer itself could implement? Or, that it could export from the _fe_analyzer_shared package?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions