To install Sass 1.46.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
JS API
Potentially breaking bug fix: Match the specification of the new JS API by passing undefined rather than null to Logger.warn() for an unset span.
TypeScript Declarations
Add a declaration for the LegacyPluginThis.options.context field.
Update the definition of LegacyAsyncFunction to include explicit definitions with zero through six arguments before the done parameter. This makes it possible for TypeScript users to pass in callbacks that take a specific number of arguments, rather than having to declare a callback that takes an arbitrary number.
Add a declaration for types.Error, a legacy API class that can be returned by asynchronous functions to signal asynchronous errors.
Add a LegacyAsyncFunctionDone type for the done callback that's passed to LegacyAsyncFunction.
Potentially breaking bug fix: Match the specification of the new JS API by
passing undefined rather than null to Logger.warn() for an unset span.
TypeScript Declarations
Add a declaration for the LegacyPluginThis.options.context field.
Update the definition of LegacyAsyncFunction to include explicit definitions
with zero through six arguments before the done parameter. This makes it
possible for TypeScript users to pass in callbacks that take a specific number
of arguments, rather than having to declare a callback that takes an arbitrary
number.
Add a declaration for types.Error, a legacy API class that can be returned
by asynchronous functions to signal asynchronous errors.
Add a LegacyAsyncFunctionDone type for the done callback that's passed to
LegacyAsyncFunction.
Commits
f9dff2e Mention TypeScript type updates in the CHANGELOG (#1589)
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 ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps sass from 1.45.2 to 1.46.0.
Release notes
Sourced from sass's releases.
Changelog
Sourced from sass's changelog.
Commits
f9dff2e
Mention TypeScript type updates in the CHANGELOG (#1589)78c98ee
Merge pull request #1573 from sass/carbona6c3540
Update performance numbers6bf9853
Pass undefined span instead of null to Logger.warn() in JS (#1586)4fa365a
Use a more recent version of Carbon for our benchmarksDependabot 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 ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)