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

cornerstone-tools

Package Overview
Dependencies
Maintainers
5
Versions
412
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cornerstone-tools - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

examples/hammer.min.js.map

31

changelog.md

@@ -1,3 +0,22 @@

# Version 1.0.3
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [1.1.0] - 2017-11-17
### Added
- Internal triggerEvent function which triggers jQuery and CustomEvents side-by-side. These events are the same as the current
event names, but with all lower case letters. E.g. CornerstoneToolsMouseMove => cornerstonetoolsmousemove
This will be the prevailing format moving forward, but you aren't forced to migrate until 2.0.0 when we plan to drop the jQuery events.
### Changed
- As part of the migration to drop jQuery, Cornerstone Tools is now listening exclusively to native CustomEvents triggered
from Cornerstone Core. We can now remove jQuery events from Core without breaking functionality in Tools.
- Fixed source map not showing up for Hammer.min.js in Examples
- Switched this changelog to try to follow http://keepachangelog.com/en/1.0.0/
## Version 1.0.3
- Biggest change: Tools that required 'imagePlane' metadata, now require 'imagePlaneModule':

@@ -15,3 +34,3 @@

# Version 1.0.2
## Version 1.0.2

@@ -34,3 +53,3 @@ - The biggest behaviour change in this release comes from bug fixes to the fusion renderer.

# Version 1.0.1
## Version 1.0.1

@@ -47,3 +66,3 @@ - Add check to make drag (touch or click) stack scrolling work better on very large stacks.

# Version 1.0.0
## Version 1.0.0

@@ -64,3 +83,3 @@ - Updated to 1.0.0 because 0.10.0 introduced a breaking change with Cornerstone, jQuery, and Hammer.js injection. This doesn't break usage if you are using HTML script tags, but if you are using a module system, Cornerstone Tools may not properly find its dependencies.

# Version 0.10.0 (deprecated due to breaking change)
## Version 0.10.0 (deprecated due to breaking change)

@@ -72,3 +91,3 @@ - Add a 3rd parameter to saveAs to allow other mimeTypes, such as image/jpeg

# Version 0.9.1
## Version 0.9.1

@@ -75,0 +94,0 @@ - Added eventType, ctrlKey, metaKey and shiftKey to cornerstoneTools eventData on mouseMove event

11

examples/exampleNumberMetaDataProvider.js

@@ -1,9 +0,7 @@

(function (cornerstoneTools) {
(function (cornerstone) {
"use strict";
function metaDataProvider(type, imageId)
{
function metaDataProvider(type, imageId) {
if(type === 'imagePlaneModule') {
if (imageId.startsWith('example-n')) {

@@ -24,8 +22,7 @@ var tokens = imageId.substring(12).split(':');

}
return undefined;
}
}
cornerstoneTools.metaData.addProvider(metaDataProvider);
cornerstone.metaData.addProvider(metaDataProvider);
}(cornerstoneTools));
}(cornerstone));
{
"name": "cornerstone-tools",
"version": "1.0.3",
"version": "1.1.0",
"description": "Medical imaging tools for the Cornerstone library",

@@ -49,3 +49,3 @@ "main": "./dist/cornerstoneTools.min.js",

"chai": "^4.1.2",
"cornerstone-core": "^1.1.0",
"cornerstone-core": "^1.1.3",
"coveralls": "^3.0.0",

@@ -52,0 +52,0 @@ "docdash": "^0.4.0",

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

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 not supported yet

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

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 not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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