New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cornerstone-core

Package Overview
Dependencies
Maintainers
5
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cornerstone-core - npm Package Compare versions

Comparing version 0.12.2 to 0.13.0

18

changelog.md

@@ -0,1 +1,19 @@

# Version 0.13.0
- Removed the all `always` from imageCache's method decache to better stability
- Stop putImagePromise() if the image has been purged before being loaded
- Changed Webpack building file to output files as `cornerstone-core` for commonjs, commonjs2 and amd
- Add jquery names for commonjs, commonjs2 and amd
- Updated to Webpack 3
- Bug fixes for drawing composite images
- Bug fix for missing intercept value after false color mapping
- Math.floor instead of Math.round, to have correct values when v < Range[0] or v > Range[1] for linearIndexLookupMain
- Avoid setting canva's size with the same value, because it flashes the canvas with IE and Edge
- Remove parseInt to convert the values of pixelData
- Updated generateLut to generateLutNew
- drawCompositeImage synchronizes viewport.hflip
- Also synchronize vflip
- Trigger CornerstoneImageCacheMaximumSizeChanged and CornerstoneImageCacheChanged events when changing conerstone image cache
- Force cornerstone to generate a new LUT and use the color renderer after applying false color mapping
# Version 0.12.2

@@ -2,0 +20,0 @@

10

config/webpack/webpack-base.js

@@ -16,3 +16,8 @@ const path = require('path');

filename: '[name].js',
library: '[name]',
library: {
commonjs: "cornerstone-core",
commonjs2: "cornerstone-core",
amd: "cornerstone-core",
root: 'cornerstone'
},
libraryTarget: 'umd',

@@ -25,2 +30,5 @@ path: outputPath,

jquery: {
commonjs: "jquery",
commonjs2: "jquery",
amd: "jquery",
root: '$'

@@ -27,0 +35,0 @@ }

5

package.json
{
"name": "cornerstone-core",
"version": "0.12.2",
"version": "0.13.0",
"description": "HTML5 Medical Image Viewer Component",

@@ -69,4 +69,5 @@ "main": "./dist/cornerstone.js",

"phantomjs-polyfill-find-index": "^1.0.1",
"phantomjs-prebuilt": "^2.1.8",
"shx": "^0.2.2",
"webpack": "^2.4.1"
"webpack": "^3.1.0"
},

@@ -73,0 +74,0 @@ "dependencies": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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