Skip to content

Commit 7e55ae7

Browse files
chore(deps): update dependency @trivago/prettier-plugin-sort-imports to v6 (#4807)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Stephan Köninger <stephan.koeninger@codecentric.de>
1 parent 7991ca8 commit 7e55ae7

File tree

6 files changed

+66
-24
lines changed

6 files changed

+66
-24
lines changed

spring-boot-admin-server-ui/package-lock.json

Lines changed: 59 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spring-boot-admin-server-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"@testing-library/jest-dom": "6.9.1",
8181
"@testing-library/user-event": "14.6.1",
8282
"@testing-library/vue": "8.1.0",
83-
"@trivago/prettier-plugin-sort-imports": "^5.0.0",
83+
"@trivago/prettier-plugin-sort-imports": "^6.0.0",
8484
"@types/d3": "^7.4.3",
8585
"@types/lodash-es": "^4.17.7",
8686
"@typescript-eslint/eslint-plugin": "^8.0.0",

spring-boot-admin-server-ui/src/main/frontend/utils/useRouterState.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import _ from 'lodash';
1+
import { isEqual } from 'lodash-es';
22
import qs from 'qs';
33
import { UnwrapNestedRefs, reactive, watch } from 'vue';
44
import { LocationQuery, useRoute, useRouter } from 'vue-router';
@@ -35,7 +35,7 @@ export function useRouterState<T extends object>(
3535
};
3636
const routerQueryKeys = Object.keys(route.query);
3737
const newRouterQueryKeys = Object.keys({ ...route.query, ...newValue });
38-
if (_.isEqual(routerQueryKeys, newRouterQueryKeys)) {
38+
if (isEqual(routerQueryKeys, newRouterQueryKeys)) {
3939
router.replace(to);
4040
} else {
4141
router.push(to);

spring-boot-admin-server-ui/src/main/frontend/views/instances/env/refresh.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import userEvent from '@testing-library/user-event';
22
import { screen } from '@testing-library/vue';
3-
import _ from 'lodash';
3+
import { cloneDeep } from 'lodash-es';
44
import { beforeEach, describe, expect, it, vi } from 'vitest';
55

66
import { applications } from '../../../mocks/applications/data';
@@ -39,7 +39,7 @@ describe('Refresh', () => {
3939
}
4040

4141
function createApplication() {
42-
const application = new Application(_.cloneDeep(applications[1]));
42+
const application = new Application(cloneDeep(applications[1]));
4343
application.instances.push(createInstance());
4444
application.refreshContext = refreshApplicationContext;
4545
return application;

spring-boot-admin-server-ui/src/main/frontend/views/instances/sbomdependencytrees/tree.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</template>
2424

2525
<script lang="ts">
26-
import { debounce } from 'lodash';
26+
import { debounce } from 'lodash-es';
2727
import { computed, onMounted, ref, watch } from 'vue';
2828
2929
import SbaPanel from '@/components/sba-panel.vue';

spring-boot-admin-server-ui/src/main/frontend/views/instances/startup/tree-table.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
</template>
4040

4141
<script>
42-
import orderBy from 'lodash/orderBy';
42+
import { orderBy } from 'lodash-es';
4343
4444
import { StartupActuatorEventTree } from '@/services/startup-activator-tree';
4545
import TreeItem from '@/views/instances/startup/tree-item';

0 commit comments

Comments
 (0)