sattarab / noblequran

0 stars 0 forks source link

Bump postcss from 8.2.8 to 8.4.0 in /src/quran #599

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps postcss from 8.2.8 to 8.4.0.

Release notes

Sourced from postcss's releases.

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.

// No plugins, we do not parse CSS
let result = await postcss().process(css, { from  })
result.css  // Is the same string passed to process()
</tr></table> 

... (truncated)

Changelog

Sourced from postcss's changelog.

Change Log

This project adheres to Semantic Versioning.

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)
dependabot[bot] commented 2 years ago

Superseded by #601.