diff --git a/common/helpers/dayjs/__tests__/parseTime.spec.js b/common/helpers/dayjs/__tests__/parseTime.spec.js index 6357d233f0..969ee6d0b6 100644 --- a/common/helpers/dayjs/__tests__/parseTime.spec.js +++ b/common/helpers/dayjs/__tests__/parseTime.spec.js @@ -1,7 +1,7 @@ import { describe, beforeEach, expect, it } from 'vitest' import { default as dayjs, dayjsLocaleMap } from '../../dayjs' import parseTime from '../parseTime' -import { padStart, range } from 'lodash' +import { padStart, range } from 'lodash-es' import { HTML5_FMT } from '../../dateFormat' describe('parseTime', () => { diff --git a/common/helpers/materialListsSorted.js b/common/helpers/materialListsSorted.js index 865bb834ed..ee9fd57e11 100644 --- a/common/helpers/materialListsSorted.js +++ b/common/helpers/materialListsSorted.js @@ -1,4 +1,4 @@ -import sortBy from 'lodash/sortBy.js' +import sortBy from 'lodash-es/sortBy.js' export default function (materialLists) { return sortBy( diff --git a/common/helpers/picasso.js b/common/helpers/picasso.js index c0c3e8df96..2931e458cb 100644 --- a/common/helpers/picasso.js +++ b/common/helpers/picasso.js @@ -1,7 +1,7 @@ -import minBy from 'lodash/minBy.js' -import maxBy from 'lodash/maxBy.js' -import sortBy from 'lodash/sortBy.js' -import keyBy from 'lodash/keyBy.js' +import minBy from 'lodash-es/minBy.js' +import maxBy from 'lodash-es/maxBy.js' +import sortBy from 'lodash-es/sortBy.js' +import keyBy from 'lodash-es/keyBy.js' import dayjs from './dayjs.js' import { arrange } from './scheduleEntryLayout.js' diff --git a/frontend/package-lock.json b/frontend/package-lock.json index df5a1acae0..b743d8551e 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -51,7 +51,7 @@ "inter-ui": "3.19.3", "js-cookie": "3.0.5", "linkify-it": "5.0.0", - "lodash": "4.17.21", + "lodash-es": "4.17.21", "runes": "0.4.3", "slugify": "1.6.6", "url-template": "3.1.1", @@ -9002,6 +9002,7 @@ "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true, "license": "MIT" }, "node_modules/lodash-es": { diff --git a/frontend/package.json b/frontend/package.json index 20ee1bcc2a..d9ce8208aa 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -64,7 +64,7 @@ "inter-ui": "3.19.3", "js-cookie": "3.0.5", "linkify-it": "5.0.0", - "lodash": "4.17.21", + "lodash-es": "4.17.21", "runes": "0.4.3", "slugify": "1.6.6", "url-template": "3.1.1", diff --git a/frontend/src/components/activity/ActivityResponsibles.vue b/frontend/src/components/activity/ActivityResponsibles.vue index e149a5d4ac..4fab49fbbe 100644 --- a/frontend/src/components/activity/ActivityResponsibles.vue +++ b/frontend/src/components/activity/ActivityResponsibles.vue @@ -32,7 +32,7 @@