Skip to content

Commit 0b6a103

Browse files
authoredSep 26, 2023
Deprecate Deprecation.calcInterp (#2096)
1 parent 81c0be6 commit 0b6a103

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed
 

‎CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 1.68.1
2+
3+
### Dart API
4+
5+
* Deprecate `Deprecation.calcInterp` since it was never actually emitted as a
6+
deprecation.
7+
18
## 1.68.0
29

310
* Fix the source spans associated with the `abs-percent` deprecation.

‎lib/src/deprecation.dart

+2-4
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,8 @@ enum Deprecation {
6969
deprecatedIn: '1.62.3',
7070
description: 'Passing null as alpha in the ${isJS ? 'JS' : 'Dart'} API.'),
7171

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

7775
/// Deprecation for `@import` rules.
7876
import.future('import', description: '@import rules.'),

‎pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: sass
2-
version: 1.68.0
2+
version: 1.68.1-dev
33
description: A Sass implementation in Dart.
44
homepage: https://github.com/sass/dart-sass
55

0 commit comments

Comments
 (0)
Please sign in to comment.