Closed renovate[bot] closed 5 months ago
This PR contains the following updates:
5.0.0
7.0.0
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
5.0.0
->7.0.0
Release Notes
oddbird/true
### [`v7.0.0`](https://togithub.com/oddbird/true/blob/HEAD/CHANGELOG.md#700-121422) [Compare Source](https://togithub.com/oddbird/true/compare/v6.1.0...v7.0.0) - FEATURE: `contains()` checks multiple block with matching selectors. [#243](https://togithub.com/oddbird/true/pull/243) - BREAKING: Upgrade to newer [Sass API](https://sass-lang.com/documentation/js-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](https://sass-lang.com/documentation/js-api/interfaces/Options) 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: ```js 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: ```js 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'] }, ); ``` ### [`v6.1.0`](https://togithub.com/oddbird/true/blob/HEAD/CHANGELOG.md#610-030222) [Compare Source](https://togithub.com/oddbird/true/compare/v6.0.1...v6.1.0) - No changes since v6.1.0-beta.1 ### [`v6.0.1`](https://togithub.com/oddbird/true/blob/HEAD/CHANGELOG.md#601-101620) [Compare Source](https://togithub.com/oddbird/true/compare/v6.0.0...v6.0.1) - Remove eyeglass specific-version requirement. - Update documentation ### [`v6.0.0`](https://togithub.com/oddbird/true/blob/HEAD/CHANGELOG.md#600-072220) [Compare Source](https://togithub.com/oddbird/true/compare/v5.0.0...v6.0.0) - BREAKING: Switch to [Dart Sass](https://sass-lang.com/dart-sass) with [Sass module system](https://sass-lang.com/blog/the-module-system-is-launched), dropping support for [Node Sass](https://togithub.com/sass/node-sass). - BREAKING: Drop support for node < 10 - BREAKING: Rename `$true-terminal-output` setting to `$terminal-output` when importing as a module (with `@use`). Projects not using Sass modules can still `@import 'Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.