Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !37730

Build(deps-dev): Bump sass-true from 6.1.0 to 7.0.0

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge dependabot/npm_and_yarn/sass-true-7.0.0 into main Dec 27, 2022
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 2

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] or string)
    • 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 True sass 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] or string)
    • 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 True sass 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

Dependabot compatibility score

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)
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dependabot/npm_and_yarn/sass-true-7.0.0