Skip to content

Commit

Permalink
v7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jgerigmeyer committed Dec 14, 2022
1 parent b5d3445 commit e6340fc
Show file tree
Hide file tree
Showing 5 changed files with 1,099 additions and 1,105 deletions.
3 changes: 2 additions & 1 deletion .sassdocrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ display:

herman:
sass:
includePaths: ['sass']
sassOptions:
loadPaths: ['sass']
use: ['true']
extraDocs:
- name: 'Changelog'
Expand Down
21 changes: 15 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
# True Changelog

## UNRELEASED
## 7.0.0 (12/14/22)

- FEATURE: `contains()` checks multiple block with matching selectors.
[#243](https://github.com/oddbird/true/pull/243)
- 🏠 INTERNAL: Remove documentation from npm package

## 7.0.0-beta.0 (09/16/22)

- 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
- BREAKING: Require `sass` as a peer-dependency, removing True `sass` option
- 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
Expand Down Expand Up @@ -78,6 +76,17 @@ sassTrue.runSass(
);
```

## 7.0.0-beta.0 (09/16/22)

- 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
- BREAKING: Require `sass` 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: Update dependencies

## 6.1.0 (03/02/22)

- No changes since v6.1.0-beta.1
Expand Down
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sass-true",
"title": "True",
"version": "7.0.0-beta.0",
"version": "7.0.0",
"description": "Unit testing for Sass.",
"keywords": [
"unit-test",
Expand Down Expand Up @@ -69,38 +69,38 @@
"dependencies": {
"@types/css": "^0.0.33",
"css": "^3.0.0",
"jest-diff": "^29.0.3",
"jest-diff": "^29.3.1",
"lodash": "^4.17.21"
},
"devDependencies": {
"@babel/core": "^7.19.1",
"@babel/preset-env": "^7.19.1",
"@babel/core": "^7.20.5",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@types/lodash": "^4.14.185",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"babel-jest": "^29.0.3",
"chai": "^4.3.6",
"eslint": "^8.23.1",
"@types/lodash": "^4.14.191",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"babel-jest": "^29.3.1",
"chai": "^4.3.7",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.1",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^8.0.0",
"jest": "^29.0.3",
"jest": "^29.3.1",
"jest-environment-node-single-context": "^29.0.0",
"mocha": "^10.0.0",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.16",
"prettier": "^2.7.1",
"sass": "^1.54.9",
"postcss": "^8.4.20",
"prettier": "^2.8.1",
"sass": "^1.56.2",
"sassdoc": "^2.7.4",
"sassdoc-theme-herman": "^4.0.2",
"stylelint": "^14.11.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard-scss": "^5.0.0",
"sassdoc-theme-herman": "^5.0.0",
"stylelint": "^14.16.0",
"stylelint-config-prettier": "^9.0.4",
"stylelint-config-standard-scss": "^6.1.0",
"stylelint-prettier": "^2.0.0",
"typescript": "^4.8.3"
"typescript": "^4.9.4"
},
"eyeglass": {
"needs": "*",
Expand Down
4 changes: 2 additions & 2 deletions sass/assert/_utils.scss
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@
/// @return {bool} -
@function is-truthy($assert) {
$not: (not not $assert);
$list: ($assert != ());
$string: ($assert != '');
$list: ($assert != ()); // stylelint-disable-line annotation-no-unknown
$string: ($assert != ''); // stylelint-disable-line annotation-no-unknown
$truthy: if(($not and $list and $string), true, false);

@return $truthy;
Expand Down

0 comments on commit e6340fc

Please sign in to comment.