Bump postcss from 8.2.15 to 8.3.0 #273

Merged
dependabot[bot] merged 1 commit from dependabot/npm_and_yarn/develop/postcss-8.3.0 into develop 2021-05-21 06:35:04 +02:00
dependabot[bot] commented 2021-05-21 06:13:14 +02:00 (Migrated from github.com)

Bumps postcss from 8.2.15 to 8.3.0.

Release notes

Sourced from postcss's releases.

8.3 “Duke Murmur”

PostCSS 8.3 improved source map parsing performance, added Node#assign() shortcut, and experimental Document node to AST.

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:

Source Map Performance

Because PostCSS needs synchronous API, we can’t move from the old `source-map 0.6 to 0.7 (many other open-source projects too).

@​7rulnik forked source-map 0.6 to source-map-js and back-ported performance improvements from 0.7. In 8.3 we switched from source-map to this source-map-js fork.

You map see 4x performance improvements in parsing map from processing step before PostCSS (for instance, Sass).

Document Nodes

Thanks to @​gucong3000, PostCSS already parse CSS from HTML and JS files (CSS-in-JS templates and objects).

But his plugin need big updates. @​hudochenkov from stylelint team decided to create new parsers for styles inside CSS-in-JS, HTML, and Markdown.

He suggested adding new Document node type to PostCSS AST to keep multiple Root nodes inside and JS/HTML/Markdown code blocks between these style blocks.

const document = htmlParser(
  '<html><style>a{color:black}</style><style>b{z-index:2}</style>'
)
document.type          //=> 'document'
document.nodes.length  //=> 2
document.nodes[0].type //=> 'root'

This is an experimental feature. Some aspects of this node could change within minor or patch version releases.

Node#assign() Shortcut

... (truncated)

Changelog

Sourced from postcss's changelog.

Change Log

This project adheres to Semantic Versioning.

8.3 “Duke Murmur”

  • Added Node#assign() shortcut (by Jonathan Neal).
  • Added experimental Document node to AST (by Aleks Hudochenkov).
  • Moved to faster fork of source-map (by Valentin Semirulnik).
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 will merge this PR once it's up-to-date and CI passes on it, as requested by @Serraniel.


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 8.2.15 to 8.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/postcss/postcss/releases">postcss's releases</a>.</em></p> <blockquote> <h2>8.3 “Duke Murmur”</h2> <!-- raw HTML omitted --> <p>PostCSS 8.3 improved source map parsing performance, added <code>Node#assign()</code> shortcut, and experimental <code>Document</code> node to AST.</p> <h2>Thanks to Sponsors</h2> <p>This release was possible thanks to our community.</p> <!-- raw HTML omitted --> <p>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:</p> <ul> <li><a href="https://tidelift.com/"><strong>Tidelift</strong></a> with a Spotify-like subscription model supporting all projects from your lock file.</li> <li>Direct donations in <a href="https://opencollective.com/postcss#section-contributors"><strong>PostCSS &amp; Autoprefixer Open Collective</strong></a>.</li> </ul> <h2>Source Map Performance</h2> <p>Because PostCSS needs synchronous API, we can’t move from the old `source-map 0.6 to 0.7 (many other open-source projects too).</p> <p><a href="https://github.com/7rulnik"><code>@​7rulnik</code></a> forked <code>source-map</code> 0.6 to <a href="https://www.npmjs.com/package/source-map-js"><code>source-map-js</code></a> and back-ported performance improvements from 0.7. In 8.3 we <a href="https://github-redirect.dependabot.com/postcss/postcss/pull/1515">switched</a> from <code>source-map</code> to this <code>source-map-js</code> fork.</p> <p>You map see 4x performance improvements in parsing map from processing step before PostCSS (for instance, Sass).</p> <h2><code>Document</code> Nodes</h2> <p>Thanks to <a href="https://github.com/gucong3000"><code>@​gucong3000</code></a>, PostCSS already parse CSS from HTML and JS files (CSS-in-JS templates and objects).</p> <p>But his plugin need big updates. <a href="https://github.com/hudochenkov"><code>@​hudochenkov</code></a> from <a href="https://stylelint.io/">stylelint</a> team decided to create new parsers for styles inside <a href="https://github.com/stylelint/postcss-css-in-js">CSS-in-JS</a>, <a href="https://github.com/stylelint/postcss-html">HTML</a>, and <a href="https://github.com/stylelint/postcss-markdown">Markdown</a>.</p> <p>He <a href="https://github-redirect.dependabot.com/postcss/postcss/issues/1498">suggested</a> adding new <a href="https://postcss.org/api/#document"><code>Document</code></a> node type to PostCSS AST to keep multiple <code>Root</code> nodes inside and JS/HTML/Markdown code blocks between these style blocks.</p> <pre lang="js"><code>const document = htmlParser( '&lt;html&gt;&lt;style&gt;a{color:black}&lt;/style&gt;&lt;style&gt;b{z-index:2}&lt;/style&gt;' ) document.type //=&gt; 'document' document.nodes.length //=&gt; 2 document.nodes[0].type //=&gt; 'root' </code></pre> <p>This is an experimental feature. Some aspects of this node could change within minor or patch version releases.</p> <h2><code>Node#assign()</code> Shortcut</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/postcss/postcss/blob/main/CHANGELOG.md">postcss's changelog</a>.</em></p> <blockquote> <h1>Change Log</h1> <p>This project adheres to <a href="https://semver.org/">Semantic Versioning</a>.</p> <h2>8.3 “Duke Murmur”</h2> <ul> <li>Added <code>Node#assign()</code> shortcut (by Jonathan Neal).</li> <li>Added experimental <code>Document</code> node to AST (by Aleks Hudochenkov).</li> <li>Moved to faster fork of <code>source-map</code> (by Valentin Semirulnik).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/postcss/postcss/commit/3b86dcbb2198b885a3e76a90a99959866da67a0e"><code>3b86dcb</code></a> Release 8.3 version</li> <li><a href="https://github.com/postcss/postcss/commit/c0fc32d61b1251bd30088bd8e15dbfe2f9700e33"><code>c0fc32d</code></a> Update dependencies</li> <li><a href="https://github.com/postcss/postcss/commit/7b3c872e6af5be5426725ebe7e0c4acefd8179ee"><code>7b3c872</code></a> Use codeBefore instead of markupBefore</li> <li><a href="https://github.com/postcss/postcss/commit/e09414a3e8ae5d6bd90318face1c37e2d500878b"><code>e09414a</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/postcss/postcss/issues/1582">#1582</a> from hudochenkov/add-document-node-1498</li> <li><a href="https://github.com/postcss/postcss/commit/8af26ab8251c0e380aecba186afa8987a7169b73"><code>8af26ab</code></a> Update documentation</li> <li><a href="https://github.com/postcss/postcss/commit/3eb068b01f0486e48bcffe0dd1c0f579b2ecfaed"><code>3eb068b</code></a> Fix Parser type</li> <li><a href="https://github.com/postcss/postcss/commit/54e2e52d08b4a69e0a6c3f8767233803ce1160bb"><code>54e2e52</code></a> Test custom parser</li> <li><a href="https://github.com/postcss/postcss/commit/49eec3a27d9bb0ac014b2b5065028d40e8d1b805"><code>49eec3a</code></a> Remove Root.raws.before</li> <li><a href="https://github.com/postcss/postcss/commit/50e07d1c4bcb306102381b59c16e5be6872be35f"><code>50e07d1</code></a> Remove <code>Node#document()</code></li> <li><a href="https://github.com/postcss/postcss/commit/69c5d81279f86ec53046079207341f6832947970"><code>69c5d81</code></a> Remove unneeded parent type</li> <li>Additional commits viewable in <a href="https://github.com/postcss/postcss/compare/8.2.15...8.3.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=postcss&package-manager=npm_and_yarn&previous-version=8.2.15&new-version=8.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) Dependabot will merge this PR once it's up-to-date and CI passes on it, as requested by @Serraniel. [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
Serraniel (Migrated from github.com) approved these changes 2021-05-21 06:13:32 +02:00
Serraniel (Migrated from github.com) left a comment

@dependabot merge

@dependabot merge
Serraniel (Migrated from github.com) approved these changes 2021-05-21 06:32:04 +02:00
Serraniel (Migrated from github.com) left a comment

@dependabot merge

@dependabot merge
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Serraniel/AniwatchPlus#273
No description provided.