Skip to content

Commit

Permalink
5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Dec 4, 2021
1 parent f519136 commit 994baee
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
## next
## 5.0.0 (December 4, 2021)

- Added support for [CSS Selectors Level 4](https://www.w3.org/TR/selectors-4/) and legacy pseudos in specificity calculation, i.e. `:has()`, `:not(<selector-list>)`, `:is()`, `:matches()`, `:-moz-any()`, `:-webkit-any()`, `:where()`, `:nth-child(... of <selector-list>)` and `:nth-last-child(... of <selector-list>)`
- Package
- Changed supported versions of Node.js to `^12.20.0`, `^14.13.0` and `>=15.0.0`
- Converted to ES modules. However, CommonJS is supported as well (dual module)
- Changed bundle set to provide `dist/csso.js` (an IIFE version with `csso` as a global name) and `dist/csso.esm.js` (as ES module). Both are minified
- Bumped `css-tree` to `2.0.1`
- Bumped `css-tree` to [`2.0`](https://github.com/csstree/csstree/releases/tag/v2.0.0)

## 4.2.0 (November 26, 2020)

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"name": "csso",
"version": "4.2.0",
"version": "5.0.0",
"description": "CSS minifier with structural optimisations",
"author": "Sergey Kryzhanovsky <skryzhanovsky@ya.ru> (https://github.com/afelix)",
"maintainers": [
"Roman Dvornov <rdvornov@gmail.com> (https://github.com/lahmatiy)"
{
"name": "Roman Dvornov",
"email": "rdvornov@gmail.com",
"github-username": "lahmatiy"
}
],
"repository": "css/csso",
"license": "MIT",
Expand Down

0 comments on commit 994baee

Please sign in to comment.