@cornerstonejs/core 3.32.5 → 3.32.6

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.
@@ -72,7 +72,7 @@ export function createAndCacheDerivedVolume(referencedVolumeId, options) {
72
72
  const { metadata, dimensions, spacing, origin, direction } = referencedVolume;
73
73
  const referencedImageIds = referencedVolume.isDynamicVolume()
74
74
  ? referencedVolume.getCurrentDimensionGroupImageIds()
75
- : referencedVolume.imageIds ?? [];
75
+ : (referencedVolume.imageIds ?? []);
76
76
  const derivedImages = createAndCacheDerivedImages(referencedImageIds, {
77
77
  targetBuffer: options.targetBuffer,
78
78
  voxelRepresentation,
@@ -150,7 +150,7 @@ export function createLocalVolume(volumeId, options = {}) {
150
150
  const sliceLength = dimensions[0] * dimensions[1];
151
151
  const dataType = scalarData
152
152
  ? scalarData.constructor.name
153
- : targetBuffer?.type ?? 'Float32Array';
153
+ : (targetBuffer?.type ?? 'Float32Array');
154
154
  const totalNumberOfVoxels = sliceLength * dimensions[2];
155
155
  let byteLength;
156
156
  switch (dataType) {
@@ -1 +1 @@
1
- export declare const version = "3.32.5";
1
+ export declare const version = "3.32.6";
@@ -1 +1 @@
1
- export const version = '3.32.5';
1
+ export const version = '3.32.6';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/core",
3
- "version": "3.32.5",
3
+ "version": "3.32.6",
4
4
  "description": "Cornerstone3D Core",
5
5
  "module": "./dist/esm/index.js",
6
6
  "types": "./dist/esm/index.d.ts",
@@ -76,8 +76,8 @@
76
76
  "build": "yarn run build:esm",
77
77
  "build:all": "yarn run build:esm",
78
78
  "dev": "tsc --project ./tsconfig.json --watch",
79
- "format-check": "npx eslint ./src --quiet",
80
79
  "api-check": "api-extractor --debug run ",
80
+ "lint": "oxlint .",
81
81
  "prepublishOnly": "yarn run build"
82
82
  },
83
83
  "dependencies": {
@@ -97,5 +97,5 @@
97
97
  "type": "individual",
98
98
  "url": "https://ohif.org/donate"
99
99
  },
100
- "gitHead": "aba7909a09c4525ce692e3341d44a9d0f286e6f1"
100
+ "gitHead": "af40281b222938a78ea1db18d9dd1b85a975e99c"
101
101
  }