Closed dependabot[bot] closed 9 months ago
Breaking change not supported:
https://github.com/prettier/stylelint-prettier/blob/main/CHANGELOG.md
Increase the minimum required versions of stylelintand node. Stylelint v16 has converted its codebase to esm and has [deprecated its commonjs apis](https://github.com/stylelint/stylelint/blob/16.0.0/docs/migration-guide/to-16.md#deprecated-commonjs-api). 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.
and the error on the CI:
https://github.com/DazzlingFugu/ember-slugify/actions/runs/7228121985/job/19696992716?pr=315
[lint:css] Error [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/work/ember-slugify/ember-slugify/node_modules/stylelint-prettier/recommended.js from /home/runner/work/ember-slugify/ember-slugify/node_modules/cosmiconfig/dist/loaders.js not supported.
[lint:css] Instead change the require of recommended.js in /home/runner/work/ember-slugify/ember-slugify/node_modules/cosmiconfig/dist/loaders.js to a dynamic import() which is available in all CommonJS modules.
[lint:css] at module.exports (/home/runner/work/ember-slugify/ember-slugify/node_modules/import-fresh/index.js:32:59)
[lint:css] at Object.loadJsSync (/home/runner/work/ember-slugify/ember-slugify/node_modules/cosmiconfig/dist/loaders.js:17:12)
[lint:css] at .js (/home/runner/work/ember-slugify/ember-slugify/node_modules/stylelint/lib/createStylelint.js:26:[47](https://github.com/DazzlingFugu/ember-slugify/actions/runs/7228121985/job/19696992716?pr=315#step:6:48))
[lint:css] at #loadConfiguration (/home/runner/work/ember-slugify/ember-slugify/node_modules/cosmiconfig/dist/Explorer.js:92:30)
[lint:css] at #readConfiguration (/home/runner/work/ember-slugify/ember-slugify/node_modules/cosmiconfig/dist/Explorer.js:77:80)
[lint:css] at async load (/home/runner/work/ember-slugify/ember-slugify/node_modules/cosmiconfig/dist/Explorer.js:20:[48](https://github.com/DazzlingFugu/ember-slugify/actions/runs/7228121985/job/19696992716?pr=315#step:6:49))
[lint:css] at async Explorer.load (/home/runner/work/ember-slugify/ember-slugify/node_modules/cosmiconfig/dist/Explorer.js:23:20)
[lint:css] at async extendConfig (/home/runner/work/ember-slugify/ember-slugify/node_modules/stylelint/lib/augmentConfig.js:184:19)
[lint:css] at async augmentConfigBasic (/home/runner/work/ember-slugify/ember-slugify/node_modules/stylelint/lib/augmentConfig.js:57:20)
[lint:css] at async augmentConfigFull (/home/runner/work/ember-slugify/ember-slugify/node_modules/stylelint/lib/augmentConfig.js:111:24)
[lint:css] at async search (/home/runner/work/ember-slugify/ember-slugify/node_modules/cosmiconfig/dist/Explorer.js:47:36)
[lint:css] at async search (/home/runner/work/ember-slugify/ember-slugify/node_modules/cosmiconfig/dist/Explorer.js:64:28)
[lint:css] at async search (/home/runner/work/ember-slugify/ember-slugify/node_modules/cosmiconfig/dist/Explorer.js:64:28)
[lint:css] at async search (/home/runner/work/ember-slugify/ember-slugify/node_modules/cosmiconfig/dist/Explorer.js:64:28)
[lint:css] at async Explorer.search (/home/runner/work/ember-slugify/ember-slugify/node_modules/cosmiconfig/dist/Explorer.js:71:20)
[lint:css] at async getConfigForFile (/home/runner/work/ember-slugify/ember-slugify/node_modules/stylelint/lib/getConfigForFile.js:62:5)
[lint:css] at async isPathIgnored (/home/runner/work/ember-slugify/ember-slugify/node_modules/stylelint/lib/isPathIgnored.js:24:17)
[lint:css] at async lintSource (/home/runner/work/ember-slugify/ember-slugify/node_modules/stylelint/lib/lintSource.js:41:20)
[lint:css] at async /home/runner/work/ember-slugify/ember-slugify/node_modules/stylelint/lib/standalone.js:211:27
[lint:css] at async Promise.all (index 0)
[lint:css] at async standalone (/home/runner/work/ember-slugify/ember-slugify/node_modules/stylelint/lib/standalone.js:2[54](https://github.com/DazzlingFugu/ember-slugify/actions/runs/7228121985/job/19696992716?pr=315#step:6:55):22)
[lint:css] npm ERR! Lifecycle script `lint:css` failed with error:
[lint:css] npm ERR! Error: command failed
[lint:css] npm ERR! in workspace: test-app@0.0.0
[lint:css] npm ERR! at location: /home/runner/work/ember-slugify/ember-slugify/test-app
[lint:css] npm run lint:css exited with code 1
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version
or @dependabot ignore this minor version
. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore
condition with the desired update_types
to your config file.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
Bumps stylelint-prettier from 4.1.0 to 5.0.0.
Changelog
Sourced from stylelint-prettier's changelog.
Commits
b78aa96
v5.0.0e26c5fd
v5.0.0 changelog32360e6
readme updatefbd64d5
Merge pull request #346 from prettier/v5d81ff2d
Update eslint-plugin-n and strip-ansi9f52921
Replace jest with the node built-in test runner35ac519
Updates to support stylelint v163793625
Extract ruleFunction and apply rulename and messages to that71dbdcf
Move stylelint-prettier.js to index.js5aa6c2f
Bump the dev-dependencies group with 11 updates (#344)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