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

chore(deps): update dependency sass-true to v7 - autoclosed #201

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 17, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

oddbird/true (sass-true)

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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/sass-true-7.x branch 2 times, most recently from d55ff63 to 8f11443 Compare March 24, 2023 10:35
@socket-security
Copy link

socket-security bot commented Apr 7, 2023

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

@socket-security
Copy link

socket-security bot commented Jun 8, 2023

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

Package New capabilities Transitives Size Publisher
npm/sass-true@7.0.1 Transitive: environment, filesystem, unsafe +34 8.92 MB jgerigmeyer

🚮 Removed packages: npm/sass-true@6.1.0

View full report↗︎

@renovate renovate bot force-pushed the renovate/sass-true-7.x branch 2 times, most recently from 728620d to 2ad2243 Compare June 14, 2023 04:14
@renovate renovate bot force-pushed the renovate/sass-true-7.x branch 2 times, most recently from 390dd48 to b9ba48f Compare June 22, 2023 03:02
@renovate renovate bot force-pushed the renovate/sass-true-7.x branch 2 times, most recently from 5ab155b to 785e560 Compare July 22, 2023 04:53
@renovate renovate bot force-pushed the renovate/sass-true-7.x branch 2 times, most recently from 2c08e6e to ec93fbc Compare August 19, 2023 04:48
@renovate renovate bot force-pushed the renovate/sass-true-7.x branch 2 times, most recently from f918115 to 858b75e Compare September 21, 2023 03:27
@renovate renovate bot force-pushed the renovate/sass-true-7.x branch 3 times, most recently from c7cffaa to 661de4d Compare October 12, 2023 06:40
@renovate renovate bot force-pushed the renovate/sass-true-7.x branch 3 times, most recently from b2ff457 to 42f9cd1 Compare January 4, 2024 18:50
@renovate renovate bot changed the title chore(deps): update dependency sass-true to v7 chore(deps): update dependency sass-true to v7 - autoclosed Feb 23, 2024
@renovate renovate bot closed this Feb 23, 2024
@renovate renovate bot deleted the renovate/sass-true-7.x branch February 23, 2024 17:14
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