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

Bump postcss, postcss-custom-media, stylelint and stylelint-config-sass-guidelines #377

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 17, 2023

Bumps postcss to 8.4.31 and updates ancestor dependencies postcss, postcss-custom-media, stylelint and stylelint-config-sass-guidelines. These dependencies need to be updated together.

Updates postcss from 7.0.39 to 8.4.31

Release notes

Sourced from postcss's releases.

8.4.31

8.4.30

8.4.29

8.4.28

  • Fixed Root.source.end for better source map (by @​romainmenke).
  • Fixed Result.root types when process() has no parser.

8.4.27

  • Fixed Container clone methods types.

8.4.26

  • Fixed clone methods types.

8.4.25

8.4.24

  • Fixed Plugin types.

8.4.23

  • Fixed warnings in TypeDoc.

8.4.22

8.4.21

8.4.20

  • Fixed source map generation for childless at-rules like @layer.

8.4.19

  • Fixed whitespace preserving after AST transformations (by @​romainmenke).

8.4.18

  • Fixed an error on absolute: true with empty sourceContent (by @​KingSora).

8.4.17

8.4.16

... (truncated)

Changelog

Sourced from postcss's changelog.

8.4.31

8.4.30

  • Improved source map performance (by Romain Menke).

8.4.29

  • Fixed Node#source.offset (by Ido Rosenthal).
  • Fixed docs (by Christian Oliff).

8.4.28

  • Fixed Root.source.end for better source map (by Romain Menke).
  • Fixed Result.root types when process() has no parser.

8.4.27

  • Fixed Container clone methods types.

8.4.26

  • Fixed clone methods types.

8.4.25

8.4.24

  • Fixed Plugin types.

8.4.23

  • Fixed warnings in TypeDoc.

8.4.22

  • Fixed TypeScript support with node16 (by Remco Haszing).

8.4.21

  • Fixed Input#error types (by Aleks Hudochenkov).

8.4.20

  • Fixed source map generation for childless at-rules like @layer.

8.4.19

  • Fixed whitespace preserving after AST transformations (by Romain Menke).

8.4.18

  • Fixed an error on absolute: true with empty sourceContent (by Rene Haas).

8.4.17

  • Fixed Node.before() unexpected behavior (by Romain Menke).
  • Added TOC to docs (by Mikhail Dedov).

8.4.16

... (truncated)

Commits

Updates postcss-custom-media from 7.0.8 to 10.0.2

Changelog

Sourced from postcss-custom-media's changelog.

10.0.2

October 9, 2023

10.0.1

September 18, 2023

10.0.0

July 3, 2023

9.1.5

June 21, 2023

  • Updated @csstools/media-query-list-parser to 2.1.1 (patch)

9.1.4

June 1, 2023

  • Updated @csstools/media-query-list-parser to 2.1.0 (minor)

9.1.3

April 10, 2023

  • Updated @csstools/css-tokenizer to 2.1.1 (patch)
  • Updated @csstools/css-parser-algorithms to 2.1.1 (patch)
  • Updated @csstools/cascade-layer-name-parser to 1.0.2 (patch)
  • Updated @csstools/media-query-list-parser to 2.0.4 (patch)

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by alaguna, a new releaser for postcss-custom-media since your current version.


Updates stylelint from 13.13.1 to 15.10.3

Release notes

Sourced from stylelint's releases.

15.10.3

  • Fixed: declaration-property-value-no-unknown false negatives for typed custom properties (#7078) (@​romainmenke).
  • Fixed: property-no-unknown false positives for scroll-driven animations (#7090) (@​renato-bohler).

15.10.2

  • Fixed: declaration-property-value-no-unknown false negatives for nested declarations (#7079) (@​romainmenke).
  • Fixed: selector-pseudo-element-no-unknown false positives for view-transition pseudo-elements (#7070) (@​danielroe).

15.10.1

15.10.0

15.9.0

  • Added: insideFunctions: {"function": int} to number-max-precision (#6932) (@​romainmenke).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for border-radius shorthand (#6958) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for border-width shorthand (#6956) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for grid-column and grid-row (#6957) (@​mattxwang).

15.8.0

... (truncated)

Changelog

Sourced from stylelint's changelog.

15.10.3

  • Fixed: declaration-property-value-no-unknown false negatives for typed custom properties (#7078) (@​romainmenke).
  • Fixed: property-no-unknown false positives for scroll-driven animations (#7090) (@​renato-bohler).

15.10.2

  • Fixed: declaration-property-value-no-unknown false negatives for nested declarations (#7079) (@​romainmenke).
  • Fixed: selector-pseudo-element-no-unknown false positives for view-transition pseudo-elements (#7070) (@​danielroe).

15.10.1

15.10.0

15.9.0

  • Added: insideFunctions: {"function": int} to number-max-precision (#6932) (@​romainmenke).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for border-radius shorthand (#6958) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for border-width shorthand (#6956) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for grid-column and grid-row (#6957) (@​mattxwang).

15.8.0

... (truncated)

Commits

Updates stylelint-config-sass-guidelines from 7.1.0 to 10.0.0

Release notes

Sourced from stylelint-config-sass-guidelines's releases.

v9.0.1

Changed

v9.0.0

Changed

  • Updated repo to be compatible with stylelint v14. Updated stylelint peerDependency range from ^13.0.0 to ^14.0.0 PR
  • Renamed tests files extension from .jsto .spec.js
  • Moved manually tested passing and failing SCSS examples into __tests__/manual-test-cases

Added

  • Added node 16 to automated test matrix

Removed

  • Dropped official support for Node 10 PR
  • Removed node 10 from automated test matrix PR
  • Removed babel as a dev dependency, resolves issue with security vuln in glob-parent CVE-2020-28469
  • Removed src/.stylelint.json

v8.0.0

Added

  • Set Node engine minimum to version 10.0.0
  • Added Node 14 to automated test matrix

Removed

  • Dropped official support for Node 8
  • Removed Node 8 from automated test matrix
Changelog

Sourced from stylelint-config-sass-guidelines's changelog.

[10.0.0]

Changed

  • Updated package to be compatible with stylelint v15

Added

  • Added node 18 to automated test matrix
  • Added scss/no-global-function-names rule. Resolves #268

Removed

  • Dropped official support for Node 12
  • Removed node 12 from automated test matrix
  • Removed stylelint-order plugin. Resolves #214 and #231
  • Removed tests for deprecated stylelint rules
  • Removed deprecated stylelint rules
    • "block-opening-brace-space-before": "always"
    • "color-hex-case": "lower"
    • "declaration-bang-space-after": "never"
    • "declaration-bang-space-before": "always"
    • "declaration-block-semicolon-newline-after": "always"
    • "declaration-block-semicolon-space-before": "never"
    • "declaration-block-trailing-semicolon": "always"
    • "declaration-colon-space-after": "always-single-line"
    • "declaration-colon-space-before": "never"
    • "function-comma-space-after": "always-single-line"
    • "function-parentheses-space-inside": "never"
    • "indentation": 2
    • "media-feature-parentheses-space-inside": "never"
    • "no-missing-end-of-source-newline": true
    • "number-leading-zero": "always"
    • "number-no-trailing-zeros": true
    • "selector-list-comma-newline-after": "always"
    • "string-quotes": "single"
  • Removed scss/at-mixin-pattern rule. Resolves #181 and #191

[9.0.1]

Changed

[9.0.0]

Changed

  • Updated repo to be compatible with stylelint v14. Updated stylelint peerDependency range from ^13.0.0 to ^14.0.0 PR
  • Renamed tests files extension from .jsto .spec.js
  • Moved manually tested passing and failing SCSS examples into __tests__/manual-test-cases

Added

  • Added node 16 to automated test matrix

Removed

  • Dropped official support for Node 10 PR
  • Removed node 10 from automated test matrix PR

... (truncated)

Commits

You can trigger a rebase of this PR 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

…ss-guidelines

Bumps [postcss](https://github.com/postcss/postcss) to 8.4.31 and updates ancestor dependencies [postcss](https://github.com/postcss/postcss), [postcss-custom-media](https://github.com/csstools/postcss-plugins/tree/HEAD/plugins/postcss-custom-media), [stylelint](https://github.com/stylelint/stylelint) and [stylelint-config-sass-guidelines](https://github.com/bjankord/stylelint-config-sass-guidelines). These dependencies need to be updated together.


Updates `postcss` from 7.0.39 to 8.4.31
- [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.31)

Updates `postcss-custom-media` from 7.0.8 to 10.0.2
- [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugins/postcss-custom-media/CHANGELOG.md)
- [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugins/postcss-custom-media)

Updates `stylelint` from 13.13.1 to 15.10.3
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](stylelint/stylelint@13.13.1...15.10.3)

Updates `stylelint-config-sass-guidelines` from 7.1.0 to 10.0.0
- [Release notes](https://github.com/bjankord/stylelint-config-sass-guidelines/releases)
- [Changelog](https://github.com/bjankord/stylelint-config-sass-guidelines/blob/main/CHANGELOG.md)
- [Commits](bjankord/stylelint-config-sass-guidelines@v7.1.0...v10.0.0)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
- dependency-name: postcss-custom-media
  dependency-type: direct:development
- dependency-name: stylelint
  dependency-type: direct:development
- dependency-name: stylelint-config-sass-guidelines
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 17, 2023
Copy link
Member

@richardxia richardxia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to cause a visual regression, where you can immediately see that the mobile-only hamburger menu appears in desktop mode. This is probably related to the postcss-custom-media plugin being bumped.

Let's not merge until we manually resolve this the issue.

The recent update to PostCSS and postcss-custom-media appears to have
broken the latter, causing custom CSS media queries to not be processed.
It's not clear exactly what changed that caused it, but it may have been
one of nested packages.

Regardless, it looks like the postcss-custom-media project's README was
updated sometime earlier this year to explicitly mention that it may not
work out of the box with CSS Modules, which we are using in this
project. They recommend using the postcss-global-data package to ensure
that the custom media definitions are available in all CSS modules.

Adding that package appears to fix the issue, allowing the pages to look
the same as before the package upgrades.
@richardxia
Copy link
Member

While I'm not exactly sure which package bump caused the issue, it looks like it can be explained by the section at the bottom of the postcss-custom-media package's README: https://github.com/csstools/postcss-plugins/blob/768449ddc7e226e735b9e507fd4fbd4c89c8de6c/plugins/postcss-custom-media/README.md#modular-css-processing

In summary, CSS Modules doesn't work with the postcss-custom-media plugin unless you make sure your CSS file with the custom media definitions is imported into every CSS module. They recommend using the postcss-global-data plugin to do just that, and it seems to work well. I pushed this up to this branch in 90f10fb

@richardxia
Copy link
Member

cc @candywang, as an FYI I'm doing another bump of some packages.

@richardxia richardxia merged commit ea3a613 into main Dec 5, 2023
2 checks passed
@richardxia richardxia deleted the dependabot/npm_and_yarn/postcss-and-postcss-custom-media-and-stylelint-and-stylelint-config-sass-guidelines-8.4.31 branch December 5, 2023 08:04
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant