mirror of
https://github.com/danog/dart-sass.git
synced 2024-12-02 09:37:49 +01:00
8f8138dfab
* Add fatal/futureDeprecations to Dart API This adds a new `Deprecation` class that specifies an ID for each deprecated feature along with what Dart Sass version deprecated it. The compile functions allow you to pass a set of `fatalDeprecations` that will cause an error instead of a warning. You can also pass a set of `futureDeprecations`, which let you opt-in to deprecations (like `@import`) early. * Add future deprecation for `@import` * Add flags * Merge colorUnits and randomWithUnits * Update changelogs and pubspecs * Add tests * Use isFuture instead of deprecatedIn == null * Split warnForDeprecation from warn * Add missing word to error message
20 lines
445 B
YAML
20 lines
445 B
YAML
name: sass_api
|
|
# Note: Every time we add a new Sass AST node, we need to bump the *major*
|
|
# version because it's a breaking change for anyone who's implementing the
|
|
# visitor interface(s).
|
|
version: 6.0.0
|
|
description: Additional APIs for Dart Sass.
|
|
homepage: https://github.com/sass/dart-sass
|
|
|
|
environment:
|
|
sdk: ">=2.17.0 <3.0.0"
|
|
|
|
dependencies:
|
|
sass: 1.59.0
|
|
|
|
dev_dependencies:
|
|
dartdoc: ^5.0.0
|
|
|
|
dependency_overrides:
|
|
sass: { path: ../.. }
|