ryanelian / instapack

All-in-one TypeScript and Sass compiler for web applications! :package: :rocket:
https://www.npmjs.com/package/instapack
MIT License
140 stars 10 forks source link

[Security] Bump postcss from 8.2.9 to 8.3.4 #1117

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps postcss from 8.2.9 to 8.3.4. This update includes a security fix.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

Regular Expression Denial of Service in postcss The package postcss from 7.0.0 and before 8.2.10 are vulnerable to Regular Expression Denial of Service (ReDoS) during source map parsing.

Affected versions: >= 7.0.0 < 8.2.10

Release notes

Sourced from postcss's releases.

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.

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.

</tr></table> 

... (truncated)

Changelog

Sourced from postcss's changelog.

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.

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

8.2.15

8.2.14

  • Removed source-map from client-side bundle (by Barak Igal).

8.2.13

  • Fixed ReDoS vulnerabilities in source map parsing (by Yeting Li).

8.2.12

  • Fixed package.json exports.

8.2.11

  • Fixed DEP0148 warning in Node.js 16.
  • Fixed docs (by @​semiromid).

8.2.10

  • Fixed ReDoS vulnerabilities in source map parsing.
  • Fixed webpack 5 support (by Barak Igal).
  • Fixed docs (by Roeland Moors).
Commits
  • c7bae29 Release 8.3.4 version
  • 8b4a8b1 Fix Node[my] hack
  • 7ea0c9b Release 8.3.3 version
  • ff6abab Fix Symbol description
  • e51efa0 Fix import order
  • 714c5c6 Require PostCSS peer dependency from parser
  • d8edfed Hot fix for broken isClean on AST dublication
  • 2da5501 Update dependencies
  • 026416d Release 8.3.2 version
  • 6c30324 Merge pull request #1600 from postcss/dependabot/npm_and_yarn/lodash-4.17.21
  • Additional commits viewable in compare view


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 use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

Superseded by #1122.