Repository navigation
build: update dependency sass_api to v18 - #4064
angular-robot wants to merge 1 commit into
Conversation
See associated pull request for more information.
There was a problem hiding this comment.
Code Review
This pull request updates the sass_api dependency from version 17.11.2 to 18.1.0 in pubspec.yaml and updates the corresponding lockfile pubspec.lock. The reviewer recommends using a caret version constraint (^18.1.0) instead of pinning the dependency to an exact version to avoid potential version conflicts for consumers.
| # Add regular dependencies here. | ||
| dependencies: | ||
| sass_api: 17.11.2 | ||
| sass_api: 18.1.0 |
There was a problem hiding this comment.
In Dart, it is standard practice to use caret version constraints (e.g., ^18.1.0) for dependencies in pubspec.yaml rather than pinning to an exact version. Pinning dependencies in a package can lead to strict version conflicts for consumers who might require a different patch or minor version of the same dependency. Using a caret constraint allows pub to resolve compatible minor and patch updates while still ensuring API compatibility under semantic versioning.
sass_api: ^18.1.0
This PR contains the following updates:
17.11.2→18.1.0