-
Notifications
You must be signed in to change notification settings - Fork 7
fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to ^4.7.0 #335
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
base: master
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://weather-app-git-renovate-ianv-a5cf6e-creative-programming-group.vercel.app/ |
|
Running Lighthouse audit... |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
33b4208 to
698667e
Compare
698667e to
a938246
Compare
a938246 to
114c940
Compare
114c940 to
aa39379
Compare
aa39379 to
3fad249
Compare
3fad249 to
59d1e3e
Compare
59d1e3e to
bd62e3c
Compare
bd62e3c to
65cab70
Compare
65cab70 to
575232d
Compare
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
This PR contains the following updates:
^4.2.0->^4.7.0Release Notes
ianvs/prettier-plugin-sort-imports (@ianvs/prettier-plugin-sort-imports)
v4.7.0Compare Source
What's Changed
This project began as a fork because I wanted a plugin that would not move side-effect imports around and mess with my CSS cascade. So its first and most distinguishing feature is that side-effect imports do not move, and other imports are not sorted across them.
This works fine in most cases, but some people have side-effect imports that they know can be sorted safely. For those, there is now an "escape hatch" option named
importOrderSafeSideEffects. It is an array of glob pattern strings (similar toimportOrder) which, when they match against a side-effect import, allow that import to be sorted as if it were a standard import.Suggestions for safe use:
^at the start of your pattern and$at the end, to avoid accidentally matching part of an import name. For example,"^server-only$", to avoid matching againstimport "not-server-only".// prettier-ignoreto stop sorting a particular import that would otherwise be sorted.Feedback on this feature is welcome.
Features
importOrderSafeSideEffectsoption by @IanVS in IanVS#240Internal
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.6.3...v4.7.0
v4.6.3Compare Source
What's Changed
Full Changelog: IanVS/prettier-plugin-sort-imports@4.6.2...v4.6.3
v4.6.2Compare Source
What's Changed
New Contributors
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.6.1...4.6.2
v4.6.1Compare Source
What's Changed
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.6.0...v4.6.1
v4.6.0Compare Source
What's Changed
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.5.1...v4.6.0
v4.5.1Compare Source
What's Changed
Fixes
Internal
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.5.0...v4.5.1
v4.5.0Compare Source
What's Changed
New Contributors
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.4.2...v4.5.0
v4.4.2Compare Source
What's Changed
New Contributors
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.4.1...v4.4.2
v4.4.1Compare Source
What's Changed
New Contributors
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.4.0...v4.4.1
v4.4.0Compare Source
What's Changed
Enhancements
importOrderCaseSensitiveoption for case-sensitive sorting by @acnebs in IanVS#184Maintenance
New Contributors
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.3.1...v4.4.0
v4.3.1Compare Source
What's Changed
New Contributors
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.3.0...v4.3.1
v4.3.0Compare Source
What's Changed
Features
This release adds support for experimental import attributes / assertions. There have been a number of styles proposed by TC-39 over the years, but the latest is to use
import x from 'x' with { type: 'json' };, which is called an "import attribute". There is also an older "import assertion" form, which usesassertinstead ofwith.Note: You may need to add
"importAttributes"to your"importOrderParserPlugins"option in order to support this. And if you are using the older assertion style, you'll need to add it as'[\"importAttributes\", {\"deprecatedAssertSyntax\": true}]'.This plugin will also convert the older assertion style to import attributes.
Bugfixes
TypeScript
Optionstypes with internalPluginConfigby @jeremy-code in IanVS#172You can now type your prettier config as simply
/** @​type {import("prettier").Config} */, and you'll also get the types for the options this plugin adds, automatically.Docs
New Contributors
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.2.1...v4.3.0
v4.2.1Compare Source
What's Changed
Bugfixes
[]should disable plugin by @IanVS in IanVS#161Full Changelog: IanVS/prettier-plugin-sort-imports@v4.2.0...v4.2.1
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.