Skip to content

Commit 341d1d0

Browse files
committed
at-rule validation error #71
1 parent 3bd6274 commit 341d1d0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+2175
-4876
lines changed

CHANGELOG.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
# Changelog
22

3+
# v0.9.1
4+
5+
- [x] minification passes #66
6+
- [x] nesting selector cannot match pseudo element #67
7+
38
# v0.9.0
49

510
validation
611
- [x] validate invalid pseudo classes
712
- [x] rewrite selector validation
8-
- [ ] lenient mode that preserves
9-
- [ ] unknown at-rules
10-
- [ ] unknown declarations
11-
- [ ] unknown pseudo classes
13+
- [x] lenient mode that preserves
14+
- [x] unknown at-rules
15+
- [x] unknown declarations
16+
- [x] unknown pseudo classes
1217

1318
media query level 5
1419
- [x] at-rule custom-media

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,9 @@ for (const {node, parent, root} of walk(ast)) {
701701

702702
## Minification
703703

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

819821
import {AstDeclaration, LengthToken, ParserOptions} from "../src/@types";
820-
import {EnumToken, EnumToken} from "../src/lib";
822+
import {EnumToken} from "../src/lib";
821823
import {transform} from "../src/node";
822824

823825
const options: ParserOptions = {

0 commit comments

Comments
 (0)