Skip to content

Commit fdf347b

Browse files
committed
fix: Merge issues
1 parent a7f8989 commit fdf347b

4 files changed

Lines changed: 10 additions & 17 deletions

File tree

packages/dicomImageLoader/package.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@
102102
"prepublishOnly": "yarn run build:loader"
103103
},
104104
"dependencies": {
105-
"@cornerstonejs/codec-charls": "5.0.0-beta.1",
106-
"@cornerstonejs/codec-libjpeg-turbo-8bit": "5.0.0-beta.1",
107-
"@cornerstonejs/codec-openjpeg": "5.0.0-beta.1",
108-
"@cornerstonejs/codec-openjph": "5.0.0-beta.1",
105+
"@cornerstonejs/codec-charls": "1.2.3",
106+
"@cornerstonejs/codec-libjpeg-turbo-8bit": "1.2.2",
107+
"@cornerstonejs/codec-openjpeg": "1.3.0",
108+
"@cornerstonejs/codec-openjph": "2.4.7",
109109
"comlink": "4.4.2",
110110
"dicom-parser": "1.8.21",
111111
"jpeg-lossless-decoder-js": "2.1.2",
@@ -121,9 +121,6 @@
121121
"@cornerstonejs/metadata": ">=4.18.0 <6.0.0-0",
122122
"dicom-parser": "1.8.21"
123123
},
124-
"devDependencies": {
125-
"@cornerstonejs/core": "5.0.0-beta.1"
126-
},
127124
"config": {
128125
"commitizen": {
129126
"path": "./node_modules/cz-conventional-changelog"

packages/labelmap-interpolation/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,5 @@
6363
"@cornerstonejs/core": ">=5.0.0-beta.1 <6.0.0-0",
6464
"@cornerstonejs/tools": ">=5.0.0-beta.1 <6.0.0-0",
6565
"@kitware/vtk.js": "34.15.1"
66-
},
67-
"devDependencies": {
68-
"@cornerstonejs/core": "5.0.0-beta.1",
69-
"@cornerstonejs/tools": "5.0.0-beta.1"
7066
}
7167
}

packages/metadata/src/utilities/imageIdToURI.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22
* Removes the data loader scheme from the imageId
33
*
44
* @param imageId - Image ID
5-
* @returns imageId without the data loader scheme
5+
* @returns imageId without the data loader scheme, or empty string if imageId is falsy
66
*/
77
export default function imageIdToURI(imageId: string): string {
8+
if (!imageId) {
9+
return '';
10+
}
11+
812
const colonIndex = imageId.indexOf(':');
9-
return imageId.substring(colonIndex + 1);
13+
return colonIndex === -1 ? imageId : imageId.substring(colonIndex + 1);
1014
}

packages/polymorphic-segmentation/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,5 @@
6161
"@cornerstonejs/core": ">=5.0.0-beta.1 <6.0.0-0",
6262
"@cornerstonejs/tools": ">=5.0.0-beta.1 <6.0.0-0",
6363
"@kitware/vtk.js": "34.15.1"
64-
},
65-
"devDependencies": {
66-
"@cornerstonejs/core": "5.0.0-beta.1",
67-
"@cornerstonejs/tools": "5.0.0-beta.1"
6864
}
6965
}

0 commit comments

Comments
 (0)