@cornerstonejs/core 1.66.11 → 1.66.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/core",
3
- "version": "1.66.11",
3
+ "version": "1.66.12",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "types": "dist/types/index.d.ts",
@@ -47,5 +47,5 @@
47
47
  "type": "individual",
48
48
  "url": "https://ohif.org/donate"
49
49
  },
50
- "gitHead": "2fdc5ae7ab4ff5b27f832ff5ee8ab202750971ad"
50
+ "gitHead": "15834a6287456183677cf67764614e785cbd8f3b"
51
51
  }
@@ -2863,7 +2863,7 @@ class StackViewport extends Viewport implements IStackViewport, IImagesLoader {
2863
2863
  const colonIndex = imageId.indexOf(':');
2864
2864
  imageURI = imageId.substring(colonIndex + 1);
2865
2865
  }
2866
- return referencedImageId.endsWith(imageURI);
2866
+ return referencedImageId?.endsWith(imageURI);
2867
2867
  }
2868
2868
 
2869
2869
  /**
@@ -3047,7 +3047,6 @@ class StackViewport extends Viewport implements IStackViewport, IImagesLoader {
3047
3047
  };
3048
3048
 
3049
3049
  triggerEvent(this.element, Events.COLORMAP_MODIFIED, eventDetail);
3050
-
3051
3050
  }
3052
3051
 
3053
3052
  private unsetColormapGPU() {