Skip to content

Commit

Permalink
Deprecate Deprecation.calcInterp (#2096)
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Sep 26, 2023
1 parent 81c0be6 commit 0b6a103
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 1.68.1

### Dart API

* Deprecate `Deprecation.calcInterp` since it was never actually emitted as a
deprecation.

## 1.68.0

* Fix the source spans associated with the `abs-percent` deprecation.
Expand Down
6 changes: 2 additions & 4 deletions lib/src/deprecation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,8 @@ enum Deprecation {
deprecatedIn: '1.62.3',
description: 'Passing null as alpha in the ${isJS ? 'JS' : 'Dart'} API.'),

calcInterp('calc-interp',
deprecatedIn: '1.67.0',
description: 'Using interpolation in a calculation outside a value '
'position.'),
@Deprecated('This deprecation name was never actually used.')
calcInterp('calc-interp', deprecatedIn: null),

/// Deprecation for `@import` rules.
import.future('import', description: '@import rules.'),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: sass
version: 1.68.0
version: 1.68.1-dev
description: A Sass implementation in Dart.
homepage: https://github.com/sass/dart-sass

Expand Down

0 comments on commit 0b6a103

Please sign in to comment.