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
3
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cornerstone-core - npm Package Versions

134

2.2.3

Diff

Changelog

Source

[2.2.3] - 2018-05-02

Fixed

  • Fixed multiple images with different colorSpaces not being rendered correctly (issue #151)
  • Fixed memory leak in drawCompositeImage.syncedViewports (issue #179)
  • Fixed all the build warnings in the test folder

Added

  • Added unit tests for displayed area feature
  • Added 'renderToCanvas' to allow user to directly draw an image to an existent canvas
zaidsafadi
published 2.2.2 •

Changelog

Source

[2.2.2] - 2018-04-23

Added

  • Added "dist" folder to published package.
zaidsafadi
published 2.2.1 •

Changelog

Source

[2.2.1] - 2018-04-23

Fixed

  • Fixed viewport scale is NaN when row/col pixel spacing is not present (Issue #262).
swederik
published 2.2.0 •

Changelog

Source

[2.2.0] - 2018-04-11

Added

  • Added and exported EVENTS constants for all cornerstone events (thanks @medihack)
  • Added example for integration with React to the docs https://docs.cornerstonejs.org/integration.html
  • Added compute VOI window width/center if not present (thanks @adreyfus)
  • Added Displayed Area in Viewport to support IHE Consistent Presentation of Images (thanks @jdnarvaez)
  • Added HTML example "displayedArea" with the IHE test cases for Consistent Presentation of Images

Fixed

  • Fixed WebGL Rendering to properly determine the datatype (e.g. color, int8, int16...) of the image pixel data
  • Fixed fitToWindow and default viewport for images with different row/col pixel spacing (thanks @luyixin)

Changed

  • Updated project to Webpack4
  • Updated the HTML example "modalityANDVIOLut" to show 1) Reset VOI LUT (forceAuto) and 2) Select a VOI from defined presets (W/L values or and VOI LUT function)
  • Updated the HTML example "resize" to allow setting irregular image sizes (Row and Column pixel spacing) when applying fitting the image to window and zoom in/out

Removed

  • Removed "dist" folder from source
dannyrb
published 2.1.1-rc1 •

evren217
published 2.1.0 •

Changelog

Source

[2.1.0] - 2018-03-02

Added

  • Added Gitbook and documentationjs for API docs
  • Added new tests
  • Added API to support setting the initial viewport for an image without displaying it (thanks @ClaireTagoe)
  • Added support for event handler namespaces

Fixed

  • Fixed scrollbar issues by making the canvas a block element (thanks @medihack)
  • Fixed image caching issues
  • Fixed certain front-end framework (e.g. React) issues by avoiding manipulating the DOM when enabling an element
  • Fixed scaling issue when resizing (thanks @medihack)
swederik
published 2.0.0 •

Changelog

Source

[2.0.0] - 2017-12-08

Changed

  • Breaking Change!!! Removed jQuery events from triggerEvent, lower-cased all the event names. e.g. "CornerstoneWebGLTextureRemoved" is now "cornerstonewebgltextureremoved". Only native CustomEvents are now triggered by Cornerstone Core.
  • Breaking Change!!! Image Loaders should now return an Object containing a promise and a function which can cancel the request. The format is { promise, cancelFn }. Migration guide to come...
  • Breaking Change!!! Image cache now stores ImageLoadObjects as described above.

Removed

  • Removed 'commonjs2' parameter from webpack output.library options because it was complaining.
  • Removed 'externals' since we no longer use jQuery
  • Breaking Change!!! putImagePromise, getImagePromise have been removed and replaced with putImageLoadObject, getImageLoadObject
swederik
published 1.1.4 •

Changelog

Source

[1.1.4] - 2017-12-08

Added

  • Added the ESLint plugin 'eslint-plugin-import' to keep us from forgetting .js on our imports. The file extension is required when using native ES6 modules in the browser.
  • Added generateColorLut, which is basically the same as generateLut, but only applies VOI LUT transformation, and not the Modality LUT. This is intended to address the display issues reported in https://github.com/cornerstonejs/cornerstoneWADOImageLoader/issues/143

Changed

  • Moved the repository from Chris Hafey's (@chafey) personal page to a new Organization (@cornerstonejs). Renamed all the relevant links. Join us at @cornerstonejs to start contributing!
  • Switched renderColorImage to use the newly created generateColorLUT, so that modality LUT transformations are no longer (incorrectly) applied to color images.
swederik
published 1.1.3 •

Changelog

Source

[1.1.3] - 2017-11-17

Added

  • Exporting of triggerEvent function, mainly for use by image loader libraries

Changed

  • Switched rescaleImage to use image columnPixelSpacing instead of relying on metadataProvider (thanks @adreyfus)
  • Switched this changelog to try to follow http://keepachangelog.com/en/1.0.0/
brunoalvesdefaria
published 1.1.2 •

Changelog

Source

Version 1.1.2

  • Changed the CustomEvent polyfill check to use typeof. It was not working on IE.
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