Skip to content

Commit

Permalink
Update Dart Sass version and release
Browse files Browse the repository at this point in the history
  • Loading branch information
sassbot committed Sep 3, 2024
1 parent 9343ff7 commit 80a5038
Show file tree
Hide file tree
Showing 22 changed files with 84 additions and 43 deletions.
39 changes: 39 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,42 @@
## 1.78.0

* The `meta.feature-exists` function is now deprecated. This deprecation is
named `feature-exists`.

* Fix a crash when using `@at-root` without any queries or children in the
indented syntax.

### JS API

* Backport the deprecation options (`fatalDeprecations`, `futureDeprecations`,
and `silenceDeprecations`) to the legacy JS API. The legacy JS API is itself
deprecated, and you should move off of it if possible, but this will allow
users of bundlers and other tools that are still using the legacy API to
still control deprecation warnings.

* Fix a bug where accessing `SourceSpan.url` would crash when a relative URL was
passed to the Sass API.

### Embedded Sass

* Explicitly expose a `sass` executable from the `sass-embedded` npm package.
This was intended to be included in 1.63.0, but due to the way
platform-specific dependency executables are installed it did not work as
intended. Now users can run `npx sass` for local installs or just `sass` when
`sass-embedded` is installed globally.

* Add linux-riscv64, linux-musl-riscv64, and android-riscv64 support for the
`sass-embedded` npm package.

* Fix an edge case where the Dart VM could hang when shutting down when requests
were in flight.

* Fix a race condition where the embedded host could fail to shut down if it was
closed around the same time a new compilation was started.

* Fix a bug where parse-time deprecation warnings could not be controlled by
the deprecation options in some circumstances.

## 1.77.8

* No user-visible changes.
Expand Down
2 changes: 1 addition & 1 deletion npm/android-arm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-embedded-android-arm",
"version": "1.77.8",
"version": "1.78.0",
"description": "The android-arm binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
2 changes: 1 addition & 1 deletion npm/android-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-embedded-android-arm64",
"version": "1.77.8",
"version": "1.78.0",
"description": "The android-arm64 binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
2 changes: 1 addition & 1 deletion npm/android-ia32/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-embedded-android-ia32",
"version": "1.77.8",
"version": "1.78.0",
"description": "The android-ia32 binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
2 changes: 1 addition & 1 deletion npm/android-riscv64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-embedded-android-riscv64",
"version": "1.77.8",
"version": "1.78.0",
"description": "The android-riscv64 binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
2 changes: 1 addition & 1 deletion npm/android-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-embedded-android-x64",
"version": "1.77.8",
"version": "1.78.0",
"description": "The android-x64 binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
2 changes: 1 addition & 1 deletion npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-embedded-darwin-arm64",
"version": "1.77.8",
"version": "1.78.0",
"description": "The darwin-arm64 binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
2 changes: 1 addition & 1 deletion npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-embedded-darwin-x64",
"version": "1.77.8",
"version": "1.78.0",
"description": "The darwin-x64 binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-arm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-embedded-linux-arm",
"version": "1.77.8",
"version": "1.78.0",
"description": "The linux-arm binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-embedded-linux-arm64",
"version": "1.77.8",
"version": "1.78.0",
"description": "The linux-arm64 binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-ia32/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-embedded-linux-ia32",
"version": "1.77.8",
"version": "1.78.0",
"description": "The linux-ia32 binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-musl-arm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-embedded-linux-musl-arm",
"version": "1.77.8",
"version": "1.78.0",
"description": "The linux-musl-arm binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-musl-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-embedded-linux-musl-arm64",
"version": "1.77.8",
"version": "1.78.0",
"description": "The linux-musl-arm64 binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-musl-ia32/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-embedded-linux-musl-ia32",
"version": "1.77.8",
"version": "1.78.0",
"description": "The linux-musl-ia32 binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-musl-riscv64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-embedded-linux-musl-riscv64",
"version": "1.77.8",
"version": "1.78.0",
"description": "The linux-musl-riscv64 binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-musl-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-embedded-linux-musl-x64",
"version": "1.77.8",
"version": "1.78.0",
"description": "The linux-musl-x64 binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-riscv64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-embedded-linux-riscv64",
"version": "1.77.8",
"version": "1.78.0",
"description": "The linux-riscv64 binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-embedded-linux-x64",
"version": "1.77.8",
"version": "1.78.0",
"description": "The linux-x64 binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
2 changes: 1 addition & 1 deletion npm/win32-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-embedded-win32-arm64",
"version": "1.77.8",
"version": "1.78.0",
"description": "The win32-arm64 binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
2 changes: 1 addition & 1 deletion npm/win32-ia32/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-embedded-win32-ia32",
"version": "1.77.8",
"version": "1.78.0",
"description": "The win32-ia32 binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
2 changes: 1 addition & 1 deletion npm/win32-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-embedded-win32-x64",
"version": "1.77.8",
"version": "1.78.0",
"description": "The win32-x64 binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
48 changes: 25 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "sass-embedded",
"version": "1.77.8",
"version": "1.78.0",
"protocol-version": "2.7.1",
"compiler-version": "1.77.8",
"compiler-version": "1.78.0",
"description": "Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand All @@ -23,7 +23,9 @@
"engines": {
"node": ">=16.0.0"
},
"bin": {"sass": "dist/bin/sass.js"},
"bin": {
"sass": "dist/bin/sass.js"
},
"scripts": {
"init": "ts-node ./tool/init.ts",
"check": "npm-run-all check:gts check:tsc",
Expand All @@ -36,26 +38,26 @@
"test": "jest"
},
"optionalDependencies": {
"sass-embedded-android-arm": "1.77.8",
"sass-embedded-android-arm64": "1.77.8",
"sass-embedded-android-ia32": "1.77.8",
"sass-embedded-android-riscv64": "1.77.8",
"sass-embedded-android-x64": "1.77.8",
"sass-embedded-darwin-arm64": "1.77.8",
"sass-embedded-darwin-x64": "1.77.8",
"sass-embedded-linux-arm": "1.77.8",
"sass-embedded-linux-arm64": "1.77.8",
"sass-embedded-linux-ia32": "1.77.8",
"sass-embedded-linux-riscv64": "1.77.8",
"sass-embedded-linux-x64": "1.77.8",
"sass-embedded-linux-musl-arm": "1.77.8",
"sass-embedded-linux-musl-arm64": "1.77.8",
"sass-embedded-linux-musl-ia32": "1.77.8",
"sass-embedded-linux-musl-riscv64": "1.77.8",
"sass-embedded-linux-musl-x64": "1.77.8",
"sass-embedded-win32-arm64": "1.77.8",
"sass-embedded-win32-ia32": "1.77.8",
"sass-embedded-win32-x64": "1.77.8"
"sass-embedded-android-arm": "1.78.0",
"sass-embedded-android-arm64": "1.78.0",
"sass-embedded-android-ia32": "1.78.0",
"sass-embedded-android-riscv64": "1.78.0",
"sass-embedded-android-x64": "1.78.0",
"sass-embedded-darwin-arm64": "1.78.0",
"sass-embedded-darwin-x64": "1.78.0",
"sass-embedded-linux-arm": "1.78.0",
"sass-embedded-linux-arm64": "1.78.0",
"sass-embedded-linux-ia32": "1.78.0",
"sass-embedded-linux-riscv64": "1.78.0",
"sass-embedded-linux-x64": "1.78.0",
"sass-embedded-linux-musl-arm": "1.78.0",
"sass-embedded-linux-musl-arm64": "1.78.0",
"sass-embedded-linux-musl-ia32": "1.78.0",
"sass-embedded-linux-musl-riscv64": "1.78.0",
"sass-embedded-linux-musl-x64": "1.78.0",
"sass-embedded-win32-arm64": "1.78.0",
"sass-embedded-win32-ia32": "1.78.0",
"sass-embedded-win32-x64": "1.78.0"
},
"dependencies": {
"@bufbuild/protobuf": "^1.0.0",
Expand Down

0 comments on commit 80a5038

Please sign in to comment.