@cornerstonejs/labelmap-interpolation 5.1.4 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/package.json +3 -0
- package/dist/esm/utilities/interpolateLabelmap.js +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/esm/workers/interpolationWorker.js +2 -2
- package/package.json +14 -12
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import interpolate from './utilities/interpolateLabelmap';
|
|
1
|
+
import interpolate from './utilities/interpolateLabelmap.js';
|
|
2
2
|
export { interpolate };
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import interpolate from './utilities/interpolateLabelmap';
|
|
1
|
+
import interpolate from './utilities/interpolateLabelmap.js';
|
|
2
2
|
export { interpolate };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getWebWorkerManager, eventTarget, Enums, triggerEvent, } from '@cornerstonejs/core';
|
|
2
2
|
import { segmentation, Enums as csToolsEnums, utilities, } from '@cornerstonejs/tools';
|
|
3
|
-
import { registerInterpolationWorker } from '../registerWorker';
|
|
3
|
+
import { registerInterpolationWorker } from '../registerWorker.js';
|
|
4
4
|
const { triggerSegmentationEvents } = segmentation;
|
|
5
5
|
const { getOrCreateSegmentationVolume } = utilities.segmentation;
|
|
6
6
|
const { triggerSegmentationDataModified } = triggerSegmentationEvents;
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "5.
|
|
1
|
+
export declare const version = "5.2.0";
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '5.
|
|
1
|
+
export const version = '5.2.0';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { expose } from 'comlink';
|
|
2
|
-
import vtkImageData from '@kitware/vtk.js/Common/DataModel/ImageData';
|
|
3
|
-
import vtkDataArray from '@kitware/vtk.js/Common/Core/DataArray';
|
|
2
|
+
import vtkImageData from '@kitware/vtk.js/Common/DataModel/ImageData.js';
|
|
3
|
+
import vtkDataArray from '@kitware/vtk.js/Common/Core/DataArray.js';
|
|
4
4
|
async function peerImport(moduleId) {
|
|
5
5
|
try {
|
|
6
6
|
switch (moduleId) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cornerstonejs/labelmap-interpolation",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "Labelmap Interpolation utility for Cornerstone3D",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -12,14 +12,16 @@
|
|
|
12
12
|
},
|
|
13
13
|
"exports": {
|
|
14
14
|
".": {
|
|
15
|
+
"types": "./dist/esm/index.d.ts",
|
|
15
16
|
"import": "./dist/esm/index.js",
|
|
16
|
-
"
|
|
17
|
+
"default": "./dist/esm/index.js"
|
|
17
18
|
},
|
|
18
19
|
"./version": {
|
|
19
|
-
"
|
|
20
|
+
"types": "./dist/esm/version.d.ts",
|
|
20
21
|
"import": "./dist/esm/version.js",
|
|
21
|
-
"
|
|
22
|
-
}
|
|
22
|
+
"default": "./dist/esm/version.js"
|
|
23
|
+
},
|
|
24
|
+
"./package.json": "./package.json"
|
|
23
25
|
},
|
|
24
26
|
"publishConfig": {
|
|
25
27
|
"access": "public"
|
|
@@ -30,8 +32,8 @@
|
|
|
30
32
|
"clean": "rimraf dist",
|
|
31
33
|
"clean:deep": "pnpm run clean && shx rm -rf node_modules",
|
|
32
34
|
"build": "pnpm run build:esm",
|
|
33
|
-
"build:esm": "pnpm run prebuild && tsc --project ./tsconfig.json",
|
|
34
|
-
"build:esm:watch": "tsc --project ./tsconfig.json --watch",
|
|
35
|
+
"build:esm": "pnpm run prebuild && tsc --project ./tsconfig.json && tsc-alias -p ./tsconfig.json --resolve-full-paths && node ../../scripts/write-dist-esm-package-json.js ./",
|
|
36
|
+
"build:esm:watch": "sh -c 'tsc-alias -p ./tsconfig.json --resolve-full-paths --watch & alias_pid=$!; node ../../scripts/write-dist-esm-package-json.js ./ --watch & writer_pid=$!; trap \"kill $alias_pid $writer_pid\" EXIT; tsc --project ./tsconfig.json --watch'",
|
|
35
37
|
"dev": "tsc --project ./tsconfig.json --watch",
|
|
36
38
|
"build:all": "pnpm run build:esm",
|
|
37
39
|
"start": "tsc --project ./tsconfig.json --watch",
|
|
@@ -55,13 +57,13 @@
|
|
|
55
57
|
"itk-wasm": "1.0.0-b.165"
|
|
56
58
|
},
|
|
57
59
|
"devDependencies": {
|
|
58
|
-
"@cornerstonejs/core": "5.
|
|
59
|
-
"@cornerstonejs/tools": "5.
|
|
60
|
+
"@cornerstonejs/core": "5.2.0",
|
|
61
|
+
"@cornerstonejs/tools": "5.2.0"
|
|
60
62
|
},
|
|
61
63
|
"peerDependencies": {
|
|
62
|
-
"@cornerstonejs/core": "5.
|
|
63
|
-
"@cornerstonejs/tools": "5.
|
|
64
|
+
"@cornerstonejs/core": "5.2.0",
|
|
65
|
+
"@cornerstonejs/tools": "5.2.0",
|
|
64
66
|
"@kitware/vtk.js": "35.5.3"
|
|
65
67
|
},
|
|
66
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "e3f8b2ba29ee50d4a7039e3f1e7e7fb49db58130"
|
|
67
69
|
}
|