Improved user experience and a (even) smaller package size while packing in more features!
Note: install using husky@latest to get the bug fixes that were released after.
👋 By the Way
I'm available for remote work (Front-end/Back-end mainly JS/TS but open to other stacks Rails, Go, Elixir). You can contact me at my mail: typicode at gmail :slightly_smiling_face:
Introducing husky init
Adding husky to a project is now easier than ever. Although the installation process was straightforward, it often required consulting the documentation.
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 a sass.Compiler object which supports compile() and compileString() methods with the same API as the global Sass object. On the Node.js embedded host, each sass.Compiler object uses a single long-lived subprocess, making compiling multiple stylesheets much more efficient.
Add a sass.initAsyncCompiler() function that returns a sass.AsyncCompiler object which supports compileAsync() and compileStringAsync() methods with the same API as the global Sass object. On the Node.js embedded host, each sass.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.
To install Sass 1.69.6, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Produce better output for numbers with complex units in meta.inspect() and debugging messages.
Escape U+007F DELETE when serializing strings.
When generating CSS error messages to display in-browser, escape all code points that aren't in the US-ASCII region. Previously only code points U+0100 LATIN CAPITAL LETTER A WITH MACRON were escaped.
Add a sass.initCompiler() function that returns a sass.Compiler object
which supports compile() and compileString() methods with the same API as
the global Sass object. On the Node.js embedded host, each sass.Compiler
object uses a single long-lived subprocess, making compiling multiple
stylesheets much more efficient.
Add a sass.initAsyncCompiler() function that returns a sass.AsyncCompiler
object which supports compileAsync() and compileStringAsync() methods with
the same API as the global Sass object. On the Node.js embedded host, each
sass.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.
1.69.7
Embedded Sass
In the JS Embedded Host, properly install the x64 Dart Sass executable on
ARM64 Windows.
1.69.6
Produce better output for numbers with complex units in meta.inspect() and
debugging messages.
Escape U+007F DELETE when serializing strings.
When generating CSS error messages to display in-browser, escape all code
points that aren't in the US-ASCII region. Previously only code points U+0100
LATIN CAPITAL LETTER A WITH MACRON were escaped.
Provide official releases for musl LibC and for Android.
Don't crash when running meta.apply() in asynchronous mode.
JS API
Fix a bug where certain exceptions could produce SourceSpans that didn't
follow the documented SourceSpan API.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the node-packages group with 3 updates: npm, husky and sass.
Updates
npm
from 10.2.4 to 10.4.0Changelog
Sourced from npm's changelog.
... (truncated)
Commits
3b82f27
chore: release 10.4.035a098c
feat: display tree diff on--long
ec06f77
fix: inline diff table code w/ summary codeec77e81
deps: promise-call-limit@3.0.1d3f1845
fix: clean up idealTree codedffca29
feat(format): print--dry-run
diffs in table format (#7174)332ed08
chore: fix smoke testa82ccc5
chore: nock@13.5.0e32189c
deps: deduplicate treedcaa99c
chore: fix exec testUpdates
husky
from 8.0.3 to 9.0.6Release notes
Sourced from husky's releases.
... (truncated)
Commits
2da78cb
9.0.6797dfdf
Fix: unbound variable (#1359)e7ada20
docs: update install script to mjs and simplify (#1357)534bfed
chore: apply editorconfig to code only (#1355)f446351
docs: add favicon (#1354)8314bef
9.0.556619ec
fix: init error (#1353)26697d1
docs: update path to startup files (#1350)e9526fd
docs: update index.md1e57dc9
9.0.4Updates
sass
from 1.69.5 to 1.70.0Release notes
Sourced from sass's releases.
... (truncated)
Changelog
Sourced from sass's changelog.
Commits
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 inSassException.toCssString()
(#2143)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show