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 json5 and postcss-modules #480

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 1, 2023

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 3.2.0 to 6.0.0

Changelog

Sourced from postcss-modules's changelog.

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

4.2.2

... (truncated)

Commits
  • 325f0b3 6.0.0
  • a453783 Extract pluginFactory and localConvention into separate modules
  • e87c4ab Refactor to prepare the plugin to work in browsers
  • 1ad9a28 Flatten file hierarchy
  • d0c05d8 Format changelog
  • 09e0789 Increase line length to 100
  • 6afaf50 Drop the old resolve option's implementation
  • 86d8135 add fileResolve option
  • 7bb6d2d Fix #140 drive letter case insensitivity
  • dc5119e feat: update ICSS utils to current package
  • Additional commits viewable in compare view

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

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 3.2.0 to 6.0.0
- [Release notes](https://github.com/css-modules/postcss-modules/releases)
- [Changelog](https://github.com/madyankin/postcss-modules/blob/master/CHANGELOG.md)
- [Commits](madyankin/postcss-modules@v3.2.0...v6.0.0)

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

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

None yet

0 participants