terminus-ui
terminus-ui copied to clipboard
chore(packages): update dependency sass-true to v8
trafficstars
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| sass-true (source) | 5.0.0 -> 8.0.0 |
Release Notes
oddbird/true (sass-true)
v8.0.0
- FEATURE: Add True
sassoption (stringor Sass implementation instance, defaults to'sass') to allow using eithersassorembedded-sass. - FEATURE: Add the
Node.js package importer
to the Sass
importersoption by default, if Dart Sass v1.71 or later is available. Users can opt out by providing their ownimportersoption, e.g.{ importers: [] }. - BREAKING: Drop support for node < 18
- INTERNAL: Remove
sassas a peer-dependency. - INTERNAL: Update dependencies
v7.0.1
- FEATURE: Validate
runSassarguments 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
- FEATURE:
contains()checks multiple block with matching selectors. #​243 - BREAKING: Upgrade to newer Sass API
- Add True
sourceTypeoption (path[default] orstring) - 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,
includePathsis nowloadPaths,outputStyleis nowstyle,importeris nowimporters, etc. See the Dart Sass documentation for more details.
- Add True
- BREAKING: Require
sass(>=1.45.0) as a peer-dependency, removing Truesassoption - 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
runSassarguments 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'] },
);
v6.1.0
- No changes since v6.1.0-beta.1
v6.0.1
- Remove eyeglass specific-version requirement.
- Update documentation
v6.0.0
- BREAKING: Switch to Dart Sass with Sass module system, dropping support for Node Sass.
- BREAKING: Drop support for node < 10
- BREAKING: Rename
$true-terminal-outputsetting to$terminal-outputwhen importing as a module (with@use). Projects not using Sass modules can still@import '<path>/sass-true/sass/true'and access the setting as$true-terminal-output - FEATURE: Added
_index.scssat the project root, for simpler import path:@use '<path>/sass-true' - FEATURE: New
sass/_throw.scssmodule provides:error()function & mixin for establishing "catchable" errors- global
$catch-errorstoggles howerror()output is handled
- FEATURE: Support testing
contentproperties which include a curly brace. - Update dependencies
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.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.