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.4 to 1.0.5

4

dist/index.es.js

@@ -169,4 +169,4 @@ import * as dicomParser from 'dicom-parser';

_this.setState(produce(function (draft) {
draft.viewport.voi.windowWidth += dx * 2;
draft.viewport.voi.windowCenter += dy * 2;
draft.viewport.voi.windowWidth = Math.max(draft.viewport.voi.windowWidth + dx * 2, 1);
draft.viewport.voi.windowCenter = Math.max(draft.viewport.voi.windowCenter + dy * 2, 1);
}));

@@ -173,0 +173,0 @@ } else if (_this.props.controlState.mouseMode === 'pan') {

@@ -174,4 +174,4 @@ 'use strict';

_this.setState(produce__default(function (draft) {
draft.viewport.voi.windowWidth += dx * 2;
draft.viewport.voi.windowCenter += dy * 2;
draft.viewport.voi.windowWidth = Math.max(draft.viewport.voi.windowWidth + dx * 2, 1);
draft.viewport.voi.windowCenter = Math.max(draft.viewport.voi.windowCenter + dy * 2, 1);
}));

@@ -178,0 +178,0 @@ } else if (_this.props.controlState.mouseMode === 'pan') {

{
"name": "@lunit/insight-viewer",
"version": "1.0.4",
"version": "1.0.5",
"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