Cut a release with TS definitions for TRUE/FALSE (#1591)

See sass/sass#3241
This commit is contained in:
Natalie Weizenbaum 2022-01-07 15:12:42 -08:00 committed by GitHub
parent f9dff2ecff
commit 54fd309079
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 3 deletions

View File

@ -1,3 +1,11 @@
## 1.47.0
### JS API
#### TypeScript Declarations
* Add declarations for the `TRUE` and `FALSE` constants.
## 1.46.0 ## 1.46.0
### JS API ### JS API

View File

@ -1,3 +1,7 @@
## 1.0.0-beta.27
* No user-visible changes.
## 1.0.0-beta.26 ## 1.0.0-beta.26
* No user-visible changes. * No user-visible changes.

View File

@ -2,7 +2,7 @@ name: sass_api
# Note: Every time we add a new Sass AST node, we need to bump the *major* # 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 # version because it's a breaking change for anyone who's implementing the
# visitor interface(s). # visitor interface(s).
version: 1.0.0-beta.26 version: 1.0.0-beta.27
description: Additional APIs for Dart Sass. description: Additional APIs for Dart Sass.
homepage: https://github.com/sass/dart-sass homepage: https://github.com/sass/dart-sass
@ -10,7 +10,7 @@ environment:
sdk: '>=2.12.0 <3.0.0' sdk: '>=2.12.0 <3.0.0'
dependencies: dependencies:
sass: 1.46.0 sass: 1.47.0
dependency_overrides: dependency_overrides:
sass: {path: ../..} sass: {path: ../..}

View File

@ -1,5 +1,5 @@
name: sass name: sass
version: 1.46.0 version: 1.47.0
description: A Sass implementation in Dart. description: A Sass implementation in Dart.
homepage: https://github.com/sass/dart-sass homepage: https://github.com/sass/dart-sass

View File

@ -43,6 +43,7 @@ void main() {
sourceMap: (map) => expectedMap = map); sourceMap: (map) => expectedMap = map);
expectedMap.targetUrl = "out.css"; expectedMap.targetUrl = "out.css";
print(map["mappings"]);
expect(map, containsPair("mappings", expectedMap.toJson()["mappings"])); expect(map, containsPair("mappings", expectedMap.toJson()["mappings"]));
}); });