opal
opal copied to clipboard
[Snyk] Upgrade sass from 1.69.5 to 1.71.1
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade sass from 1.69.5 to 1.71.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
- The recommended version is 5 versions ahead of your current version.
- The recommended version was released 23 days ago, on 2024-02-21.
Release notes
Package name: sass
-
1.71.1 - 2024-02-21
To install Sass 1.71.1, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Command-Line Interface
- Ship the musl Linux release with the proper Dart executable.
JavaScript API
-
Export the
NodePackageImporter
class in ESM mode. -
Allow
NodePackageImporter
to locate a default directory even when the entrypoint is an ESM module.
Dart API
- Make passing a null argument to
NodePackageImporter()
a static error rather than just a runtime error.
Embedded Sass
- In the JS Embedded Host, properly install the musl Linux embedded compiler when running on musl Linux.
See the full changelog for changes in earlier releases.
-
1.71.0 - 2024-02-16
To install Sass 1.71.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
For more information about
pkg:
importers, see the announcement on the Sass blog.Command-Line Interface
- Add a
--pkg-importer
flag to enable built-inpkg:
importers. Currently this only supports the Node.js package resolution algorithm, via--pkg-importer=node
. For example,@ use "pkg:bootstrap"
will loadnode_modules/bootstrap/scss/bootstrap.scss
.
JavaScript API
- Add a
NodePackageImporter
importer that can be passed to theimporters
option. This loads files using thepkg:
URL scheme according to the Node.js package resolution algorithm. For example,@ use "pkg:bootstrap"
will loadnode_modules/bootstrap/scss/bootstrap.scss
. The constructor takes a single optional argument, which indicates the base directory to use when locatingnode_modules
directories. It defaults topath.dirname(require.main.filename)
.
Dart API
- Add a
NodePackageImporter
importer that can be passed to theimporters
option. This loads files using thepkg:
URL scheme according to the Node.js package resolution algorithm. For example,@ use "pkg:bootstrap"
will loadnode_modules/bootstrap/scss/bootstrap.scss
. The constructor takes a single argument, which indicates the base directory to use when locatingnode_modules
directories.
See the full changelog for changes in earlier releases.
- Add a
-
1.70.0 - 2024-01-18
To install Sass 1.70.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
JavaScript API
-
Add a
sass.initCompiler()
function that returns asass.Compiler
object which supportscompile()
andcompileString()
methods with the same API as the global Sass object. On the Node.js embedded host, eachsass.Compiler
object uses a single long-lived subprocess, making compiling multiple stylesheets much more efficient. -
Add a
sass.initAsyncCompiler()
function that returns asass.AsyncCompiler
object which supportscompileAsync()
andcompileStringAsync()
methods with the same API as the global Sass object. On the Node.js embedded host, eachsass.AsynCompiler
object uses a single long-lived subprocess, making compiling multiple stylesheets much more efficient.
Embedded Sass
-
Support the
CompileRequest.silent
field. This allows compilations with no logging to avoid unnecessary request/response cycles. -
The Dart Sass embedded compiler now reports its name as "dart-sass" rather than "Dart Sass", to match the JS API's
info
field.
See the full changelog for changes in earlier releases.
-
-
1.69.7 - 2024-01-02
To install Sass 1.69.7, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Embedded Sass
- In the JS Embedded Host, properly install the x64 Dart Sass executable on ARM64 Windows.
See the full changelog for changes in earlier releases.
- 1.69.6 - 2023-12-28
- 1.69.5 - 2023-10-26
Commit messages
Package name: sass
- 1b4d703 Release 1.71.1 (#2182)
- 6d66c43 Properly handle `new NodePackageImporter()` with an ESM entrypoint (#2181)
- 85a932f Add missing ESM export of NodePackageImporter (#2177)
- 786dd63 Fix linux musl builds (#2175)
- 3e6721e Fix new static warnings with Dart 3.3 (#2173)
- 2cab33e Update the language revision in Homebrew on release (#2171)
- 84ededd Use musl support in cli_pkg (#2172)
- 00571ec Add a `--pkg-importer` flag (#2169)
- 84f31f0 Update pubspec/changelog for `pkg:` importers (#2168)
- 9ee5408 [Package Importer] Dart Implementation (#2130)
- 9423aa5 Use macos-14 runner instead of macos-latest-xlarge runner (#2167)
- bbf97b4 Remove the sass dependency from package.json (#2162)
- 076414d [Shared Resources] dart-sass implementation (#2134)
- 0d91c92 Support CompileRequest.silent of embedded protocol (#2160)
- b263a72 Use implementation name dart-sass for VersionResponse (#2156)
- 006baa5 Update the pubspec and changelog for sass/embedded-host-node#266 (#2158)
- 6205eac Add wait time before update website (#2153)
- f3c7be5 Make meta.apply() an AsyncBuiltInCallable (#2152)
- 1fc740d Upload releases for musl-libc and android (#2149)
- 6f665c1 Escape unprintable 0x7F (delete control character) (#2144)
- f5dab76 Bump dartdoc from 7.0.2 to 8.0.2 (#2146)
- 4daf0b4 Escape non-US-ASCII characters in `SassException.toCssString()` (#2143)
- cd798bf Improve inspect() output for complex units (#2138)
- bd80c58 Make LazyFileSpans work in JavaScript (#2142)
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🔕 Ignore this dependency or unsubscribe from future upgrade PRs
Deploy Preview for opal-docs canceled.
Name | Link |
---|---|
Latest commit | 5babee00a1128ab66494a28d6a0c225b1ef09be7 |
Latest deploy log | https://app.netlify.com/sites/opal-docs/deploys/6630eed0c9890a000899c9c4 |