Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump postcss from 7.0.39 to 8.4.1 #119

Merged
merged 1 commit into from Nov 25, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 25, 2021

Bumps postcss from 7.0.39 to 8.4.1.

Release notes

Sourced from postcss's releases.

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.

If PostCSS sees that tool call it without passing plugins (or changing parser/stringifier), PostCSS will not parse CSS (until toll will call Result#root). In 8.4, @​bogdan0083 (with the help of @​WilhelmYakunin) tries to solve the problem in another way. It allows us to save resources and remove the PostCSS does nothing warning.

</tr></table> 

... (truncated)

Changelog

Sourced from postcss's changelog.

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).

8.3.11

  • Remove debugging code.

8.3.10

  • Fixed Maximum call stack issue of some source maps (by Yeting Li).

8.3.9

  • Replaced nanocolors to picocolors.
  • Reduced package size.

8.3.8

  • Update nanocolors.

8.3.7

  • Replaced colorette to nanocolors.
  • Added bug field to package.json (by Christian Oliff).
  • Improved docs (by Andrew Bruce and Paul Shryock).

8.3.6

  • Fixed column in missed semicolon error (by @​Gusted).

8.3.5

  • Fixed broken AST detection.

8.3.4

  • Fixed broken AST detection.

8.3.3

  • Fixed broken AST on postcss dependency duplication in custom parsers.

8.3.2

  • Update changelog.

8.3.1

  • Fixed false positives PostCSS does nothing warning on syntax option.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [postcss](https://github.com/postcss/postcss) from 7.0.39 to 8.4.1.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@7.0.39...8.4.1)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 25, 2021
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 4a3a5da on dependabot/npm_and_yarn/postcss-8.4.1 into 8a9defd on master.

@SukkaW SukkaW merged commit 4326582 into master Nov 25, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/postcss-8.4.1 branch November 25, 2021 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants