Created by: dependabot[bot]
Bumps sass-true from 6.1.0 to 7.0.0.
Release notes
Sourced from sass-true's releases.
v7.0.0
- FEATURE:
contains()
checks multiple block with matching selectors. #243- BREAKING: Upgrade to newer Sass API
- Add True
sourceType
option (path
[default] orstring
)- Reverse order of expected arguments to
runSass
: 1) True options, 2) source path (or string), 3) optional Sass options- BREAKING: Require
sass
(>=1.45.0
) as a peer-dependency, removing Truesass
option- BREAKING: Drop support for node < 14.15.0
- INTERNAL: Use both Jest and Mocha for internal testing
- INTERNAL: Remove documentation from npm package
- INTERNAL: Update dependencies
Migrating from v6
runSass
arguments have changed:v6:
const path = require('path'); const sass = require('node-sass'); const sassTrue = require('sass-true'); const sassFile = path.join(__dirname, 'test.scss'); sassTrue.runSass( // Sass options [required] { file: sassFile, outputStyle: 'compressed' }, // True options [required] { describe, it, sass }, ); const sassString = h1 { font-size: 40px; }; sassTrue.runSass( // Sass options [required] { data: sassString, outputStyle: 'compressed' }, // True options [required] { describe, it, sass }, );
v7:
const path = require('path'); const sassTrue = require('sass-true'); const sassFile = path.join(__dirname, 'test.scss'); sassTrue.runSass( </tr></table>
... (truncated)
Changelog
Sourced from sass-true's changelog.
7.0.0 (12/14/22)
- FEATURE:
contains()
checks multiple block with matching selectors. #243- BREAKING: Upgrade to newer Sass API
- Add True
sourceType
option (path
[default] orstring
)- Reverse order of expected arguments to
runSass
: 1) True options, 2) source path (or string), 3) optional Sass options- BREAKING: Require
sass
(>=1.45.0
) as a peer-dependency, removing Truesass
option- BREAKING: Drop support for node < 14.15.0
- INTERNAL: Use both Jest and Mocha for internal testing
- INTERNAL: Remove documentation from npm package
- INTERNAL: Update dependencies
Migrating from v6
runSass
arguments have changed:v6:
const path = require('path'); const sass = require('node-sass'); const sassTrue = require('sass-true'); const sassFile = path.join(__dirname, 'test.scss'); sassTrue.runSass( // Sass options [required] { file: sassFile, outputStyle: 'compressed' }, // True options [required] { describe, it, sass }, ); const sassString = h1 { font-size: 40px; }; sassTrue.runSass( // Sass options [required] { data: sassString, outputStyle: 'compressed' }, // True options [required] { describe, it, sass }, );
v7:
const path = require('path'); </tr></table>
... (truncated)
Commits
-
e6340fc
v7.0.0 -
b5d3445
fix changelog -
3ecec59
Merge pull request #243 from codr/patch-1 -
bd1d59f
Add support for multiple matching selector -
5140352
Add support for multiple matching blocks -
17003e5
Update _output.scss -
e95af7b
Add support for multiple matching blocks -
9d4823d
fix node version -
ab379ca
Merge pull request #245 from oddbird/auto-docs -
2613a38
Remove docs from npm package. - Additional commits viewable in compare view
You can trigger a rebase of this PR 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)