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

@lunit/insight-viewer

Package Overview
Dependencies
Maintainers
1
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lunit/insight-viewer - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

6

dist/index.es.js

@@ -219,5 +219,7 @@ import * as dicomParser from 'dicom-parser';

resize(_this.element);
var viewport = getDefaultViewportForImage(_this.element, _this.state.image);
var viewport = getViewport(_this.element);
var defaultViewport = getDefaultViewportForImage(_this.element, _this.state.image);
_this.setState(produce(function (draft) {
draft.defaultViewport.scale = viewport.scale;
draft.viewport = viewport;
draft.defaultViewport.scale = defaultViewport.scale;
}));

@@ -224,0 +226,0 @@ };

@@ -224,5 +224,7 @@ 'use strict';

cornerstone.resize(_this.element);
var viewport = cornerstone.getDefaultViewportForImage(_this.element, _this.state.image);
var viewport = cornerstone.getViewport(_this.element);
var defaultViewport = cornerstone.getDefaultViewportForImage(_this.element, _this.state.image);
_this.setState(produce__default(function (draft) {
draft.defaultViewport.scale = viewport.scale;
draft.viewport = viewport;
draft.defaultViewport.scale = defaultViewport.scale;
}));

@@ -229,0 +231,0 @@ };

{
"name": "@lunit/insight-viewer",
"version": "1.0.3",
"version": "1.0.4",
"description": "A React component for DICOM images",

@@ -5,0 +5,0 @@ "author": {

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