Bump postcss from 8.3.11 to 8.4.2
Bumps postcss from 8.3.11 to 8.4.2.
Release notes
Sourced from postcss's releases.
8.4.2
- Fixed previous source map support in zero plugins mode.
8.4.1
- Fixed
Stringifier
types (by@43081j
).8.4 “President Camio”
PostCSS 8.4 brought ranges for warnings and errors, smaller
node_modules
size, lazy parsing to avoidPostCSS does nothing
warning, and TypeScript fixes.Thanks to Sponsors
This release was possible thanks to our community.
If your company wants to support the sustainability of front-end infrastructure or wants to give some love to PostCSS, you can join our supporters by:
- Tidelift with a Spotify-like subscription model supporting all projects from your lock file.
- Direct donations in PostCSS & Autoprefixer Open Collective.
Rages for Errors and Warnings
@adalinesimonian
, the author of amazing Stylelint extension for VS Code, added ranges to errors and warnings.result.warn(msg, { index }) // One character warning at index result.warn(msg, { endIndex }) // Starts at node start, ends at endIndex result.warn(msg, { index, endIndex }) // Starts at index, ends at endIndex result.warn(msg, { start }) // Starts at start, ends at node end result.warn(msg, { end }) // Starts at node start, ends at end result.warn(msg, { start, end }) // Starts at start, ends at end result.warn(msg, { word }) // Starts at word location, ends at word index + length
It will improve DX in the IDE extension.
Lazy Parsing
Previously, we found that many tools run PostCSS even if the developer didn’t pass any PostCSS plugins. Parsing is the most expensive step in CSS processing. It led to a waste of resources without any reason.
We tried to resolve the problem by adding a
PostCSS does nothing
warning. But it didn’t force tool authors to be more careful with user’s resources.
... (truncated)
Changelog
Sourced from postcss's changelog.
8.4.2
- Fixed previous source map support in zero plugins mode.
8.4.1
- Fixed
Stringifier
types (by James Garbutt).8.4 “President Camio”
- Added ranges for errors and warnings (by Adaline Valentina Simonian).
- Added
Stringifier
types (by James Garbutt).- Added
Processor
types.- Removed
PostCSS does nothing
warning by lazy parser (Bogdan Dolin).- Fixed
Node#walkRules()
types (by Aleks Hudochenkov).- Fixed types
Root
andDocument
in result values (by James Garbutt).- Reduced npm install size by 0.5 MB.
- Moved tests from Jest to
uvu
(by Andrey Kim).- Fixed docs (by Paul Shryock).
Commits
-
a34b6ca
Release 8.4.2 version -
07bb8d7
Remove VSCode config -
af4d9af
Fix Windows CI -
a31b189
Disable map coverage because of c8 control comment instability -
b7c556c
Fix NoWorkResult and prev map -
90c9729
Sort imports -
49c2f50
Apply source map for inline maps -
72355df
Clean up tests -
6f0ad1e
Clean up test -
bcab22d
Clean up code - Additional commits viewable in compare view