Skip to content

Bump postcss from 8.3.11 to 8.4.2

Yogi Bot requested to merge dependabot-npm_and_yarn-postcss-8.4.2 into main

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

8.4 “President Camio”

PostCSS 8.4 brought ranges for warnings and errors, smaller node_modules size, lazy parsing to avoid PostCSS 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:

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 and Document 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

Merge request reports