diff --git a/.github/workflows/jsr.yml b/.github/workflows/jsr.yml index 83c9bde4..b294277b 100644 --- a/.github/workflows/jsr.yml +++ b/.github/workflows/jsr.yml @@ -1,6 +1,6 @@ # .github/workflows/publish.yml -name: Publish +name: jsr-publish on: push: diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 4a9d208d..0fe18abe 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [ 18.x, 20.x, 22.x ] + node-version: [ 20.x, 22.x, 24.x ] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: diff --git a/.npmignore b/.npmignore index 6e5ce7fe..53db093b 100644 --- a/.npmignore +++ b/.npmignore @@ -6,7 +6,6 @@ /benchmark /tools /ROADMAP.md -/CHANGELOG.md /rollup.config.js /tsconfig.json /src diff --git a/CHANGELOG.md b/CHANGELOG.md index afa1aaf9..51ebb467 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v1.1.0 + +- [x] inline sourcemap +- [x] CSS validation using mdn-data +- [x] prefix removal now remove prefixes from all nodes. prefixed linear gradients are not supported + # v1.0.0 - [x] current color parse error when used in color functions @@ -114,7 +120,7 @@ error validation - [x] render node with parents - [x] fix relative color from xyz -- [x] fix bug when inlineCss is true bug no css variable exists +- [x] fix bug when inlineCss is true but no css variable exists - [x] compute more shorthands - [x] (web) fetch imported css files from external domains using cors diff --git a/README.md b/README.md index 3168a440..a58c81ee 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ $ deno add @tbela99/css-parser ## Features - no dependency -- partial css validation based upon mdn-data: at-rules and selectors validation +- CSS validation based upon mdn-data - fault-tolerant parser, will try to fix invalid tokens according to the CSS syntax module 3 recommendations. - fast and efficient minification without unsafe transforms, see [benchmark](https://tbela99.github.io/css-parser/benchmark/index.html) @@ -38,6 +38,7 @@ $ deno add @tbela99/css-parser - inline css variables - remove duplicate properties - flatten @import rules +- experimental CSS prefix removal ## Playground @@ -95,7 +96,7 @@ Javascript module from cdn