Skip to content

Merge branch 'main' of github.com:sass/embedded-host-node into feature.v2 #368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
## 1.86.1

* Improve the performance of `file:` URL case canonicalization on Windows and
Mac OS.

## 1.86.0

* Add support for `%` as an expression in its own right. It will still be parsed
as the modulo operator when between two other expressions, but in any other
context it will be an expression whose value is the unquoted string `%`.

* Consider `attr()` to be a special number function that can be used as a
channel in color functions.

* Deprecate user-defined functions named `type()` so that we can eventually
support the new CSS `type()` function.

### Dart API

* Increase the minimum Dart SDK to 3.6.0.

## 1.85.1

* Fix a bug where global Sass functions whose names overlap with CSS math
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ which are invoked by messages from the embedded compiler back to the host.
Although this sort of two-way communication with an embedded process is
inherently asynchronous in Node.js, this package supports the synchronous
`compile()` API using a custom [synchronous message-passing library] that's
implemented with the [`Atomics.wait()`] primitive. We hope to release this
library as a stand-alone package at some point in the future.
implemented with the [`Atomics.wait()`] primitive.

[synchronous message-passing library]: https://github.com/sass/sync-message-port
[`Atomics.wait()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Atomics/wait
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.85.1",
"version": "1.86.1",
"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.85.1",
"version": "1.86.1",
"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.85.1",
"version": "1.86.1",
"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.85.1",
"version": "1.86.1",
"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.85.1",
"version": "1.86.1",
"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.85.1",
"version": "1.86.1",
"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.85.1",
"version": "1.86.1",
"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.85.1",
"version": "1.86.1",
"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.85.1",
"version": "1.86.1",
"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.85.1",
"version": "1.86.1",
"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.85.1",
"version": "1.86.1",
"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.85.1",
"version": "1.86.1",
"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.85.1",
"version": "1.86.1",
"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.85.1",
"version": "1.86.1",
"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.85.1",
"version": "1.86.1",
"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.85.1",
"version": "1.86.1",
"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.85.1",
"version": "1.86.1",
"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.85.1",
"version": "1.86.1",
"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.85.1",
"version": "1.86.1",
"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.85.1",
"version": "1.86.1",
"description": "The win32-x64 binary for sass-embedded",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down
46 changes: 23 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "sass-embedded",
"version": "1.85.1",
"version": "1.86.1",
"protocol-version": "3.1.0",
"compiler-version": "1.85.1",
"compiler-version": "1.86.1",
"description": "Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol",
"repository": "sass/embedded-host-node",
"author": "Google Inc.",
Expand Down Expand Up @@ -38,26 +38,26 @@
"test": "jest"
},
"optionalDependencies": {
"sass-embedded-android-arm": "1.85.1",
"sass-embedded-android-arm64": "1.85.1",
"sass-embedded-android-ia32": "1.85.1",
"sass-embedded-android-riscv64": "1.85.1",
"sass-embedded-android-x64": "1.85.1",
"sass-embedded-darwin-arm64": "1.85.1",
"sass-embedded-darwin-x64": "1.85.1",
"sass-embedded-linux-arm": "1.85.1",
"sass-embedded-linux-arm64": "1.85.1",
"sass-embedded-linux-ia32": "1.85.1",
"sass-embedded-linux-riscv64": "1.85.1",
"sass-embedded-linux-x64": "1.85.1",
"sass-embedded-linux-musl-arm": "1.85.1",
"sass-embedded-linux-musl-arm64": "1.85.1",
"sass-embedded-linux-musl-ia32": "1.85.1",
"sass-embedded-linux-musl-riscv64": "1.85.1",
"sass-embedded-linux-musl-x64": "1.85.1",
"sass-embedded-win32-arm64": "1.85.1",
"sass-embedded-win32-ia32": "1.85.1",
"sass-embedded-win32-x64": "1.85.1"
"sass-embedded-android-arm": "1.86.1",
"sass-embedded-android-arm64": "1.86.1",
"sass-embedded-android-ia32": "1.86.1",
"sass-embedded-android-riscv64": "1.86.1",
"sass-embedded-android-x64": "1.86.1",
"sass-embedded-darwin-arm64": "1.86.1",
"sass-embedded-darwin-x64": "1.86.1",
"sass-embedded-linux-arm": "1.86.1",
"sass-embedded-linux-arm64": "1.86.1",
"sass-embedded-linux-ia32": "1.86.1",
"sass-embedded-linux-riscv64": "1.86.1",
"sass-embedded-linux-x64": "1.86.1",
"sass-embedded-linux-musl-arm": "1.86.1",
"sass-embedded-linux-musl-arm64": "1.86.1",
"sass-embedded-linux-musl-ia32": "1.86.1",
"sass-embedded-linux-musl-riscv64": "1.86.1",
"sass-embedded-linux-musl-x64": "1.86.1",
"sass-embedded-win32-arm64": "1.86.1",
"sass-embedded-win32-ia32": "1.86.1",
"sass-embedded-win32-x64": "1.86.1"
},
"dependencies": {
"@bufbuild/protobuf": "^2.0.0",
Expand Down Expand Up @@ -85,7 +85,7 @@
"gts": "^6.0.2",
"jest": "^29.4.1",
"npm-run-all": "^4.1.5",
"shelljs": "^0.8.4",
"shelljs": "^0.9.1",
"simple-git": "^3.15.1",
"source-map-js": "^1.0.2",
"tar": "^6.0.5",
Expand Down