fix: lodash dependencies (#4791)
This commit is contained in:
1 parent
887a892a5b
commit
4e16099ad3
12 files changed
+197
-165
No files matched your search
@@ -49,9 +49,6 @@
|
||||
"react-dom": "^18.3.1",
|
||||
"react-resize-detector": "^10.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"lodash": "^4.17.21"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.20.13",
|
||||
"@cornerstonejs/adapters": "^2.19.3",
|
||||
@@ -63,6 +60,9 @@
|
||||
"html2canvas": "^1.4.1",
|
||||
"lodash.debounce": "^4.0.8",
|
||||
"lodash.merge": "^4.6.2",
|
||||
"lodash.flatten": "^4.4.0",
|
||||
"lodash.zip": "^4.2.0",
|
||||
"lodash.compact": "^3.0.1",
|
||||
"shader-loader": "^1.3.1",
|
||||
"worker-loader": "^3.0.8"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import { cache, imageLoadPoolManager, Enums } from '@cornerstonejs/core';
|
||||
import getInterleavedFrames from './getInterleavedFrames';
|
||||
import { compact, flatten, zip } from 'lodash';
|
||||
import zip from 'lodash.zip';
|
||||
import compact from 'lodash.compact';
|
||||
import flatten from 'lodash.flatten';
|
||||
|
||||
// Map of volumeId and SeriesInstanceId
|
||||
const volumeIdMapsToLoad = new Map<string, string>();
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
import { cache, imageLoadPoolManager, Enums } from '@cornerstonejs/core';
|
||||
import { compact, flatten, zip } from 'lodash';
|
||||
import zip from 'lodash.zip';
|
||||
import compact from 'lodash.compact';
|
||||
import flatten from 'lodash.flatten';
|
||||
|
||||
// Map of volumeId and SeriesInstanceId
|
||||
const volumeIdMapsToLoad = new Map<string, string>();
|
||||
|
||||
@@ -46,6 +46,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.20.13",
|
||||
"@cornerstonejs/calculate-suv": "^1.1.0"
|
||||
"@cornerstonejs/calculate-suv": "^1.1.0",
|
||||
"lodash.get": "^4.4.2",
|
||||
"lodash.uniqby": "^4.7.0"
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
import { DicomMetadataStore, IWebApiDataSource } from '@ohif/core';
|
||||
import { get, uniqBy } from 'lodash';
|
||||
import get from 'lodash.get';
|
||||
import uniqBy from 'lodash.uniqby';
|
||||
import {
|
||||
MergeConfig,
|
||||
CallForAllDataSourcesAsyncOptions,
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
"@cornerstonejs/codec-libjpeg-turbo-8bit": "^1.2.2",
|
||||
"@cornerstonejs/codec-openjpeg": "^1.2.4",
|
||||
"colormap": "^2.3",
|
||||
"mathjs": "^12.4.2"
|
||||
"mathjs": "^12.4.2",
|
||||
"lodash.debounce": "^4.0.8"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user