Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lunit/cornerstone-declarations

Package Overview
Dependencies
Maintainers
6
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lunit/cornerstone-declarations - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

6

cornerstone-core.d.ts

@@ -236,3 +236,3 @@ // https://docs.cornerstonejs.org/api.html

/** a function that returns the underlying pixel data. An array of integers for grayscale and an array of RGBA for color */
getPixelData: () => Uint8Array;
getPixelData: () => Uint8Array | Uint16Array | Int8Array | Int16Array;

@@ -877,3 +877,3 @@ /** a function that returns a canvas imageData object for the image. This is only needed for color images */

*/
export function getImageDataType(image: Image): 'rgb' | 'iint16' | 'uint16' | 'int8' | 'uint8';
export function getImageDataType(image: Image): 'rgb' | 'int16' | 'uint16' | 'int8' | 'uint8';

@@ -886,3 +886,3 @@ /**

*/
export function storedPixelDataToImageData(image: Image): Uint8Array;
export function storedPixelDataToImageData(image: Image): Uint8Array | Uint16Array | Int8Array | Int16Array;

@@ -889,0 +889,0 @@ /**

{
"name": "@lunit/cornerstone-declarations",
"version": "0.3.0",
"version": "0.4.0",
"typings": "index.d.ts",

@@ -5,0 +5,0 @@ "author": "Seoyeon Lee <i@ssen.name>",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc