Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
# Changelog

# v0.9.1

- [x] minification passes #66
- [x] nesting selector cannot match pseudo element #67

# v0.9.0

validation
- [x] validate invalid pseudo classes
- [x] rewrite selector validation
- [ ] lenient mode that preserves
- [ ] unknown at-rules
- [ ] unknown declarations
- [ ] unknown pseudo classes
- [x] lenient mode that preserves
- [x] unknown at-rules
- [x] unknown declarations
- [x] unknown pseudo classes

media query level 5
- [x] at-rule custom-media
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,9 @@ for (const {node, parent, root} of walk(ast)) {

## Minification

- [x] reduce calc()
- [x] evaluate math functions calc(), clamp(), min(), max(), round(), mod(), rem(), sin(), cos(), tan(), asin(),
acos(), atan(), atan2(), pow(), sqrt(), hypot(), log(), exp(), abs(), sign()
- [x] multi-pass minification
- [x] inline css variables
- [x] merge identical rules
- [x] merge adjacent rules
Expand Down Expand Up @@ -817,7 +819,7 @@ the visitor is called only on 'height' declarations
```typescript

import {AstDeclaration, LengthToken, ParserOptions} from "../src/@types";
import {EnumToken, EnumToken} from "../src/lib";
import {EnumToken} from "../src/lib";
import {transform} from "../src/node";

const options: ParserOptions = {
Expand Down
Loading