Skip to content

Bump json5 and postcss-modules#4

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/multi-a732eba869
Open

Bump json5 and postcss-modules#4
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/multi-a732eba869

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Feb 1, 2025

Removes json5. It's no longer used after updating ancestor dependency postcss-modules. These dependencies need to be updated together.

Removes json5

Updates postcss-modules from 0.8.0 to 6.0.1

Changelog

Sourced from postcss-modules's changelog.

6.0.1

6.0.0

Breaking

The resolve option has two parameters now and can return null. Thanks to Rene Haas (@​KingSora) madyankin/postcss-modules@86d8135

Parameters:

  • file — a module we want to resolve
  • importer — the file that imports the module we want to resolve

Return value: string | null | Promise<string | null>

postcss([
	require("postcss-modules")({
    	resolve: function (file, importer) {
			return path.resolve(
				path.dirname(importer),
				file.replace(/^@/, process.cwd()
			);
    	},
  	}),
]);

Fixed

Improved

  • icss-replace-symbols replaced with with icss-utils by Jason Quense (@​jquense). The updated replacer works better and will replace values in selectors, which didn't work until now. madyankin/postcss-modules#145

5.0.0

4.3.1

4.3.0

... (truncated)

Commits

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

Removes [json5](https://github.com/json5/json5). It's no longer used after updating ancestor dependency [postcss-modules](https://github.com/css-modules/postcss-modules). These dependencies need to be updated together.


Removes `json5`

Updates `postcss-modules` from 0.8.0 to 6.0.1
- [Changelog](https://github.com/madyankin/postcss-modules/blob/master/CHANGELOG.md)
- [Commits](madyankin/postcss-modules@v0.8.0...v6.0.1)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
- dependency-name: postcss-modules
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 1, 2025
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.

0 participants