From 2a4a8eb175eca91f1e2601b407e2ed4ccd82298a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 26 May 2023 20:10:32 +0000 Subject: [PATCH] =?UTF-8?q?chore(dev-deps):=20=E2=AC=86=EF=B8=8F=20upgrade?= =?UTF-8?q?=20@ianvs/prettier-plugin-sort-imports=20to=20v4=20(#156)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@ianvs/prettier-plugin-sort-imports](https://togithub.com/ianvs/prettier-plugin-sort-imports) | [`^3.7.2` -> `^4.0.0`](https://renovatebot.com/diffs/npm/@ianvs%2fprettier-plugin-sort-imports/3.7.2/4.0.0) | [![age](https://badges.renovateapi.com/packages/npm/@ianvs%2fprettier-plugin-sort-imports/4.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@ianvs%2fprettier-plugin-sort-imports/4.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@ianvs%2fprettier-plugin-sort-imports/4.0.0/compatibility-slim/3.7.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@ianvs%2fprettier-plugin-sort-imports/4.0.0/confidence-slim/3.7.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
ianvs/prettier-plugin-sort-imports ### [`v4.0.0`](https://togithub.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0) [Compare Source](https://togithub.com/ianvs/prettier-plugin-sort-imports/compare/v3.7.2...v4.0.0) #### What's Changed This new release focuses on simplifying the plugin options, shipping more useful defaults, handling comments around import statements more reliably, and improving Vue and TypeScript compatibility. We also are targeting Node 16 syntax with our build, though older versions may continue to work (untested). See the full [migration guide](https://togithub.com/IanVS/prettier-plugin-sort-imports/blob/next/docs/MIGRATION.md#migrating-from-v3xx-to-v4xx) for details of the breaking changes. ##### ⬆️ Breaking Changes - Build for Node 16+ ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/59](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/59)) - Remove `importOrderBuiltinModulesToTop` (always true) ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/60](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/60)) - Remove `importOrderSeparation` option ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/62](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/62)) - Remove `importOrderCaseInsensitive` option ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/63](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/63)) - Remove `importOrderGroupNamespaceSpecifiers` option ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/64](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/64)) - Remove `importOrderSortSpecifiers` option ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/65](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/65)) - Remove `importOrderMergeDuplicateImports` option (always on) ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/66](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/66)) - Replace `importOrderCombineTypeAndValueImports` with `importOrderTypeScriptVersion` ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/67](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/67)) - Improve default sort order ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/83](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/83)) ##### 🐛 Bug Fixes - Fix behavior around comments embedded in imports ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/71](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/71)) - Preserve trailing comments on specifiers ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/80](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/80)) - Preserve comments and blank lines at top-of-file (in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/82](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/82)) - Prevent comment gap when re-arranging first import ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/85](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/85)) - Fix: Top-of-file Comments get duplicated when moving runtime code ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/88](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/88)) - Vue: Sort both script and setup script ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/90](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/90)) - Vue and TypeScript: Use correct parser plugins ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/91](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/91)) ##### ⚡️ Features - Add `` Special Word ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/86](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/86)) - Allow Explicit Separator after Top-of-file-comments ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/92](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/92)) - Support babel-ts parser ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/97](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/97)) ##### 🛠️ Repo Maintenance - Update dependencies, jest -> vitest ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/59](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/59)) - Check formatting in CI ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/61](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/61)) - Update to latest versions of Github Actions ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/73](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/73)) - Add some more tests for comments ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/77](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/77)) ##### 🧳 Dependencies - Drop javascript-natural-sort dependency ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/28](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/28)) - Drop lodash.clone dependency ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/74](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/74)) - Upgrade Babel to 7.21 ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/72](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/72)) **Full Changelog**: https://github.com/IanVS/prettier-plugin-sort-imports/compare/v3.7.2...v4.0.0
--- ### Configuration 📅 **Schedule**: Branch creation - "after 12am and before 5am every weekday,every weekend" in timezone Asia/Kolkata, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/timelessco/browser-js-library-template). --- package.json | 2 +- pnpm-lock.yaml | 30 ++++++++---------------------- 2 files changed, 9 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index c072175..2e59e7a 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "@babel/preset-env": "^7.21.5", "@commitlint/cli": "^17.6.3", "@commitlint/config-conventional": "^17.6.3", - "@ianvs/prettier-plugin-sort-imports": "^3.7.2", + "@ianvs/prettier-plugin-sort-imports": "^4.0.0", "@release-it/conventional-changelog": "^5.1.1", "browserslist-to-esbuild": "^1.2.0", "eslint": "^8.41.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6dc70f0..fe7c980 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -17,8 +17,8 @@ devDependencies: specifier: ^17.6.3 version: 17.6.3 '@ianvs/prettier-plugin-sort-imports': - specifier: ^3.7.2 - version: 3.7.2(prettier@2.8.8) + specifier: ^4.0.0 + version: 4.0.0(prettier@2.8.8) '@release-it/conventional-changelog': specifier: ^5.1.1 version: 5.1.1(release-it@15.10.3) @@ -1755,8 +1755,8 @@ packages: engines: {node: '>=6.9.0'} dev: true - /@ianvs/prettier-plugin-sort-imports@3.7.2(prettier@2.8.8): - resolution: {integrity: sha512-bVckKToJM8XV2wTOG1VpeXrSmfAG49esVrikbxeFbY51RJdNke9AdMANJtGuACB59uo+pGlz0wBdWFrRzWyO1A==} + /@ianvs/prettier-plugin-sort-imports@4.0.0(prettier@2.8.8): + resolution: {integrity: sha512-56wYZhq/Ezt5o4Lzc+CEUV+sqTPEV2WcTFJSSLBOhe15yfIkrUheGeRvC3lg30VQ8K0J1kvWjXIY5lxeOlW2Tg==} peerDependencies: '@vue/compiler-sfc': '>=3.0.0' prettier: 2.x @@ -1769,10 +1769,8 @@ packages: '@babel/parser': 7.21.8 '@babel/traverse': 7.21.5 '@babel/types': 7.21.5 - javascript-natural-sort: 0.7.1 - lodash.clone: 4.5.0 - lodash.isequal: 4.5.0 prettier: 2.8.8 + semver: 7.5.1 transitivePeerDependencies: - supports-color dev: true @@ -4823,10 +4821,6 @@ packages: iterate-iterator: 1.0.2 dev: true - /javascript-natural-sort@0.7.1: - resolution: {integrity: sha512-nO6jcEfZWQXDhOiBtG2KvKyEptz7RVbpGP4vTD2hLBdmNQSsCiicO2Ioinv6UI4y9ukqnBpy+XZ9H6uLNgJTlw==} - dev: true - /js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} dev: true @@ -5060,10 +5054,6 @@ packages: resolution: {integrity: sha512-kZzYOKspf8XVX5AvmQF94gQW0lejFVgb80G85bU4ZWzoJ6C03PQg3coYAUpSTpQWelrZELd3XWgHzw4Ck5kaIw==} dev: true - /lodash.clone@4.5.0: - resolution: {integrity: sha512-GhrVeweiTD6uTmmn5hV/lzgCQhccwReIVRLHp7LT4SopOjqEZ5BbX8b5WWEtAKasjmy8hR7ZPwsYlxRCku5odg==} - dev: true - /lodash.debounce@4.0.8: resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==} dev: true @@ -5072,10 +5062,6 @@ packages: resolution: {integrity: sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==} dev: true - /lodash.isequal@4.5.0: - resolution: {integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==} - dev: true - /lodash.isfunction@3.0.9: resolution: {integrity: sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==} dev: true @@ -5693,7 +5679,7 @@ packages: got: 12.6.0 registry-auth-token: 5.0.2 registry-url: 6.0.1 - semver: 7.5.0 + semver: 7.5.1 dev: true /parent-module@1.0.1: @@ -6350,7 +6336,7 @@ packages: resolution: {integrity: sha512-0Ju4+6A8iOnpL/Thra7dZsSlOHYAHIeMxfhWQRI1/VLcT3WDBZKKtQt/QkBOsiIN9ZpuvHE6cGZ0x4glCMmfiA==} engines: {node: '>=12'} dependencies: - semver: 7.5.0 + semver: 7.5.1 dev: true /semver@5.7.1: @@ -7106,7 +7092,7 @@ packages: is-yarn-global: 0.4.1 latest-version: 7.0.0 pupa: 3.1.0 - semver: 7.5.0 + semver: 7.5.1 semver-diff: 4.0.0 xdg-basedir: 5.1.0 dev: true