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

chore(deps-dev): bump stylelint-prettier from 4.1.0 to 5.0.0 #11031

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 29, 2024

Bumps stylelint-prettier from 4.1.0 to 5.0.0.

Changelog

Sourced from stylelint-prettier's changelog.

5.0.0 (2023-12-10)

Increase the minimum required versions of stylelintand node. Stylelint v16 has converted its codebase to esm and has deprecated its commonjs apis. We've followed their suggested migration guide and stylelint-prettier is now an esm-only package. This has required dropping support for v15 at the same time.

  • Minimum stylelint version is now v16 (drop support for v15.x)
  • Minimum node requirements is now >=18.12.0 (drop support for v14.x and v16.x)
Commits
  • b78aa96 v5.0.0
  • e26c5fd v5.0.0 changelog
  • 32360e6 readme update
  • fbd64d5 Merge pull request #346 from prettier/v5
  • d81ff2d Update eslint-plugin-n and strip-ansi
  • 9f52921 Replace jest with the node built-in test runner
  • 35ac519 Updates to support stylelint v16
  • 3793625 Extract ruleFunction and apply rulename and messages to that
  • 71dbdcf Move stylelint-prettier.js to index.js
  • 5aa6c2f Bump the dev-dependencies group with 11 updates (#344)
  • 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 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)

Bumps [stylelint-prettier](https://github.com/prettier/stylelint-prettier) from 4.1.0 to 5.0.0.
- [Changelog](https://github.com/prettier/stylelint-prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/stylelint-prettier@v4.1.0...v5.0.0)

---
updated-dependencies:
- dependency-name: stylelint-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from mdn-bot as a code owner April 29, 2024 11:59
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 29, 2024
@caugner
Copy link
Contributor

caugner commented Apr 30, 2024

Error is:

yarn run v1.22.22
$ stylelint "**/*.scss"
Error [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/work/yari/yari/node_modules/stylelint-prettier/recommended.js from /home/runner/work/yari/yari/node_modules/cosmiconfig/dist/loaders.js not supported.
Instead change the require of recommended.js in /home/runner/work/yari/yari/node_modules/cosmiconfig/dist/loaders.js to a dynamic import() which is available in all CommonJS modules.
    at module.exports (/home/runner/work/yari/yari/node_modules/import-fresh/index.js:32:59)
    at Object.loadJsSync (/home/runner/work/yari/yari/node_modules/cosmiconfig/dist/loaders.js:17:12)
    at .js (/home/runner/work/yari/yari/node_modules/stylelint/lib/createStylelint.js:26:47)
    at #loadConfiguration (/home/runner/work/yari/yari/node_modules/cosmiconfig/dist/Explorer.js:92:30)
    at #readConfiguration (/home/runner/work/yari/yari/node_modules/cosmiconfig/dist/Explorer.js:77:80)
    at async load (/home/runner/work/yari/yari/node_modules/cosmiconfig/dist/Explorer.js:20:48)
error Command failed with exit code 1.

For now:

@dependabot ignore this major version

@dependabot dependabot bot closed this Apr 30, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 30, 2024

OK, I won't notify you about version 5.x.x again, unless you re-open this PR.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/stylelint-prettier-5.0.0 branch April 30, 2024 22:00
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 javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant