Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency sass-true to v8 #305

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 23, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sass-true (source) 6.1.0 -> 8.1.0 age adoption passing confidence

Release Notes

oddbird/true (sass-true)

v8.1.0

Compare Source

  • FEATURE: If True sass option is not specified, True will automatically
    attempt to use embedded-sass, then sass.
    #​290
  • INTERNAL: Add sass and sass-embedded as optional peer-dependencies.
  • INTERNAL: Update dependencies

v8.0.0

Compare Source

  • FEATURE: Add True sass option (string or Sass implementation instance,
    defaults to 'sass') to allow using either sass or embedded-sass.
  • FEATURE: Add the
    Node.js package importer
    to the Sass importers option by default, if Dart Sass v1.71 or later is
    available. Users can opt out by providing their own importers option, e.g.
    { importers: [] }.
  • BREAKING: Drop support for node < 18
  • INTERNAL: Remove sass as a peer-dependency.
  • INTERNAL: Update dependencies

v7.0.1

Compare Source

  • FEATURE: Validate runSass arguments and warn if using v6 API.
  • DOCUMENTATION: Add note that { style: 'compressed' } is not supported.
  • DOCUMENTATION: Add note about possible Jest error and workaround.
  • INTERNAL: Update dependencies

v7.0.0

Compare Source

  • 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
    • Note that some of the Sass options have changed. For example,
      includePaths is now loadPaths, outputStyle is now style, importer
      is now importers, etc. See the Dart Sass
      documentation

      for more details.
  • 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, includePaths: ['node_modules'] },
  // True options [required]
  { describe, it, sass },
);

const sassString = `
h1 {
  font-size: 40px;
}`;
sassTrue.runSass(
  // Sass options [required]
  {
    data: sassString,
    includePaths: ['node_modules'],
  },
  // 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(
  // True options [required]
  { describe, it },
  // Sass source (path) [required]
  sassFile,
  // Sass options [optional]
  { loadPaths: ['node_modules'] },
);

const sassString = `
h1 {
  font-size: 40px;
}`;
sassTrue.runSass(
  // True options [required]
  { describe, it, sourceType: 'string' },
  // Sass source (string) [required]
  sassString,
  // Sass options [optional]
  { loadPaths: ['node_modules'] },
);

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

socket-security bot commented Feb 23, 2024

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] 🔁 npm/[email protected] Transitive: environment +15 2.49 MB jgerigmeyer

View full report↗︎

@renovate renovate bot force-pushed the renovate/sass-true-8.x branch from e126917 to db7bac9 Compare March 14, 2024 01:17
@renovate renovate bot force-pushed the renovate/sass-true-8.x branch from db7bac9 to 3a161cd Compare April 4, 2024 10:45
@renovate renovate bot force-pushed the renovate/sass-true-8.x branch from 3a161cd to 79f0ba3 Compare April 12, 2024 01:04
@renovate renovate bot force-pushed the renovate/sass-true-8.x branch 2 times, most recently from a5cd264 to 167854e Compare May 7, 2024 08:43
@renovate renovate bot force-pushed the renovate/sass-true-8.x branch 2 times, most recently from 6642003 to 077a13f Compare May 17, 2024 08:31
@renovate renovate bot force-pushed the renovate/sass-true-8.x branch 2 times, most recently from f615043 to 58f8547 Compare May 31, 2024 03:11
@renovate renovate bot force-pushed the renovate/sass-true-8.x branch 2 times, most recently from 9ee7a51 to 393ba6f Compare June 18, 2024 03:01
@renovate renovate bot force-pushed the renovate/sass-true-8.x branch 2 times, most recently from e9e3e77 to db45be4 Compare July 12, 2024 01:19
@renovate renovate bot force-pushed the renovate/sass-true-8.x branch from db45be4 to 4b69805 Compare July 30, 2024 00:44
@renovate renovate bot force-pushed the renovate/sass-true-8.x branch from 4b69805 to bf27b65 Compare September 4, 2024 03:15
@renovate renovate bot force-pushed the renovate/sass-true-8.x branch 3 times, most recently from cab42c7 to 82067d7 Compare September 21, 2024 01:20
@renovate renovate bot force-pushed the renovate/sass-true-8.x branch 2 times, most recently from 20a89ba to f3927f5 Compare October 2, 2024 19:47
@renovate renovate bot force-pushed the renovate/sass-true-8.x branch 3 times, most recently from a22870d to 0c2c874 Compare October 18, 2024 02:06
@renovate renovate bot force-pushed the renovate/sass-true-8.x branch 2 times, most recently from c5275a4 to ed39ac2 Compare October 24, 2024 02:23
@renovate renovate bot force-pushed the renovate/sass-true-8.x branch 2 times, most recently from 38b037e to 7dc1124 Compare November 2, 2024 03:29
@renovate renovate bot force-pushed the renovate/sass-true-8.x branch 2 times, most recently from cf1fab1 to c6683e6 Compare November 15, 2024 07:15
@renovate renovate bot force-pushed the renovate/sass-true-8.x branch 2 times, most recently from 8b3bfba to f7c3575 Compare December 4, 2024 03:53
@renovate renovate bot force-pushed the renovate/sass-true-8.x branch from f7c3575 to 678e70d Compare December 13, 2024 04:37
@renovate renovate bot force-pushed the renovate/sass-true-8.x branch from 678e70d to d9ef7d7 Compare January 4, 2025 07:12
@renovate renovate bot force-pushed the renovate/sass-true-8.x branch from d9ef7d7 to 21012b4 Compare January 14, 2025 20:34
@renovate renovate bot force-pushed the renovate/sass-true-8.x branch from 21012b4 to 0c6d23f Compare February 6, 2025 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants