From 43f4607c7844d0e949f94a8740b92eaca05eafee Mon Sep 17 00:00:00 2001 From: Kevin Choi Date: Mon, 23 Nov 2020 16:11:37 -0500 Subject: [PATCH] Update cli_pkg (#1153) This makes the main function (cli_pkg_main_0) return a Promise instead of void. Co-authored-by: Natalie Weizenbaum --- CHANGELOG.md | 7 ++++++- pubspec.yaml | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fedab79c5..f9684679d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,13 @@ -## 1.29.1 +## 1.30.0 * Fix a bug where `@at-root (without: all)` wouldn't properly remove a `@keyframes` context when parsing selectors. +### Node JS API + +* The generated `main()` function in `sass.js` now returns a `Promise` that + completes when the executable is finished running. + ### Dart API * Fix a bug that prevented importers from returning null when loading from a diff --git a/pubspec.yaml b/pubspec.yaml index dbb89b90c..fe18b0775 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: sass -version: 1.29.1-dev +version: 1.30.0 description: A Sass implementation in Dart. author: Sass Team homepage: https://github.com/sass/dart-sass @@ -34,7 +34,7 @@ dependencies: dev_dependencies: archive: ">=1.0.0 <3.0.0" analyzer: "^0.40.0" - cli_pkg: "^1.0.0-beta.13" + cli_pkg: "^1.1.0" crypto: ">=0.9.2 <3.0.0" dart_style: "^1.2.0" grinder: "^0.8.0"