cornerstone-tools
Advanced tools
Comparing version 0.8.6 to 0.8.7
@@ -15,4 +15,4 @@ module.exports = { | ||
'cornerstone': true, | ||
'cornerstoneTools': true, | ||
'cornerstoneMath': true | ||
'cornerstoneMath': true, | ||
'Hammer': true, | ||
}, | ||
@@ -19,0 +19,0 @@ 'rules': { |
@@ -23,3 +23,7 @@ const path = require('path'); | ||
files: [ | ||
'node_modules/cornerstone-math/dist/cornerstoneMath.min.js', | ||
'node_modules/jquery/dist/jquery.js', | ||
'node_modules/cornerstone-core/dist/cornerstone.js', | ||
'node_modules/cornerstone-math/dist/cornerstoneMath.js', | ||
'node_modules/dicom-parser/dist/dicomParser.js', | ||
'node_modules/hammerjs/hammer.js', | ||
'test/**/*_test.js' | ||
@@ -26,0 +30,0 @@ ], |
const path = require('path'); | ||
const webpack = require('webpack'); | ||
const rootPath = process.env.PWD; | ||
const pkgPath = path.resolve(rootPath, "package"); | ||
const rootPath = process.cwd(); | ||
const pkgPath = path.join(rootPath, "package"); | ||
const pkg = require(pkgPath); | ||
@@ -6,0 +6,0 @@ |
const path = require('path'); | ||
const webpack = require('webpack'); | ||
const rootPath = process.env.PWD; | ||
const context = path.resolve(rootPath, "src"); | ||
const outputPath = path.resolve(rootPath, 'dist'); | ||
const rootPath = process.cwd(); | ||
const context = path.join(rootPath, "src"); | ||
const outputPath = path.join(rootPath, 'dist'); | ||
const bannerPlugin = require('./plugins/banner'); | ||
@@ -24,7 +24,25 @@ | ||
jquery: { | ||
commonjs: "jquery", | ||
commonjs2: "jquery", | ||
amd: "jquery", | ||
root: '$' | ||
}, | ||
'hammerjs': 'Hammer', | ||
'cornerstone-core': 'cornerstone', | ||
'cornerstone-math': 'cornerstoneMath' | ||
'hammerjs': { | ||
commonjs: "hammerjs", | ||
commonjs2: "hammerjs", | ||
amd: "hammerjs", | ||
root: 'Hammer' | ||
}, | ||
'cornerstone-core': { | ||
commonjs: "cornerstone-core", | ||
commonjs2: "cornerstone-core", | ||
amd: "cornerstone-core", | ||
root: 'cornerstone' | ||
}, | ||
'cornerstone-math': { | ||
commonjs: "cornerstone-math", | ||
commonjs2: "cornerstone-math", | ||
amd: "cornerstone-math", | ||
root: 'cornerstoneMath' | ||
} | ||
}, | ||
@@ -31,0 +49,0 @@ module: { |
=============================== Coverage summary =============================== | ||
[32;1mStatements : 100% ( 5/5 )[0m | ||
[32;1mBranches : 100% ( 0/0 )[0m | ||
[32;1mFunctions : 100% ( 1/1 )[0m | ||
[32;1mLines : 100% ( 5/5 )[0m | ||
[31;1mStatements : 4.9% ( 222/4530 )[0m | ||
[31;1mBranches : 1.3% ( 25/1926 )[0m | ||
[31;1mFunctions : 3.24% ( 16/494 )[0m | ||
[31;1mLines : 4.9% ( 222/4529 )[0m | ||
================================================================================ |
@@ -1,8 +0,130 @@ | ||
----------------|----------|----------|----------|----------|----------------| | ||
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines | | ||
----------------|----------|----------|----------|----------|----------------| | ||
[32;1mutil/ [0m |[32;1m 100[0m |[32;1m 100[0m |[32;1m 100[0m |[32;1m 100[0m |[31;1m [0m | | ||
[32;1mcopyPoints.js[0m |[32;1m 100[0m |[32;1m 100[0m |[32;1m 100[0m |[32;1m 100[0m |[31;1m [0m | | ||
----------------|----------|----------|----------|----------|----------------| | ||
[32;1mAll files [0m |[32;1m 100[0m |[32;1m 100[0m |[32;1m 100[0m |[32;1m 100[0m |[31;1m [0m | | ||
----------------|----------|----------|----------|----------|----------------| | ||
------------------------------------------|----------|----------|----------|----------|----------------| | ||
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines | | ||
------------------------------------------|----------|----------|----------|----------|----------------| | ||
[32;1msrc/ [0m |[32;1m 100[0m |[32;1m 100[0m |[32;1m 100[0m |[32;1m 100[0m |[31;1m [0m | | ||
[32;1mindex.js [0m |[32;1m 100[0m |[32;1m 100[0m |[32;1m 100[0m |[32;1m 100[0m |[31;1m [0m | | ||
[32;1mmetaData.js [0m |[32;1m 100[0m |[32;1m 100[0m |[32;1m 100[0m |[32;1m 100[0m |[31;1m [0m | | ||
[32;1mversion.js [0m |[32;1m 100[0m |[32;1m 100[0m |[32;1m 100[0m |[32;1m 100[0m |[31;1m [0m | | ||
[31;1msrc/imageTools/ [0m |[31;1m 5.06[0m |[31;1m 2.34[0m |[31;1m 5.43[0m |[31;1m 5.06[0m |[31;1m [0m | | ||
[31;1mangleTool.js [0m |[31;1m 5.08[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 5.08[0m |[31;1m... 153,154,155[0m | | ||
[31;1marrowAnnotate.js [0m |[31;1m 2.81[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 2.81[0m |[31;1m... 443,445,449[0m | | ||
[31;1mcrosshairs.js [0m |[31;1m 3.66[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 3.66[0m |[31;1m... 187,189,194[0m | | ||
[31;1mdisplayTool.js [0m |[31;1m 44.44[0m |[32;1m 100[0m |[32;1m 100[0m |[31;1m 44.44[0m |[31;1m 6,9,10,11,14[0m | | ||
[31;1mdoubleTapTool.js [0m |[31;1m 25[0m |[32;1m 100[0m |[32;1m 100[0m |[31;1m 25[0m |[31;1m 4,5,7,10,13,16[0m | | ||
[33;1mdoubleTapZoom.js [0m |[33;1m 50[0m |[32;1m 100[0m |[31;1m 0[0m |[33;1m 50[0m |[31;1m 4,8,10[0m | | ||
[31;1mdragProbe.js [0m |[31;1m 4.46[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 4.46[0m |[31;1m... 216,217,219[0m | | ||
[31;1mellipticalRoi.js [0m |[31;1m 2.61[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 2.61[0m |[31;1m... 386,387,390[0m | | ||
[31;1mfreehand.js [0m |[31;1m 1.6[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 1.6[0m |[31;1m... 427,431,435[0m | | ||
[31;1mhighlight.js [0m |[31;1m 7.55[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 7.55[0m |[31;1m... 142,145,146[0m | | ||
[31;1mimageStats.js [0m |[31;1m 8.33[0m |[32;1m 100[0m |[31;1m 0[0m |[31;1m 8.33[0m |[31;1m... 17,20,22,23[0m | | ||
[31;1mkeyboardTool.js [0m |[31;1m 30[0m |[32;1m 100[0m |[32;1m 100[0m |[31;1m 30[0m |[31;1m... 13,16,19,22[0m | | ||
[31;1mlength.js [0m |[31;1m 4.23[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 4.23[0m |[31;1m... 208,209,212[0m | | ||
[31;1mmagnify.js [0m |[31;1m 4.44[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 4.44[0m |[31;1m... 204,209,213[0m | | ||
[31;1mmouseButtonRectangleTool.js [0m |[31;1m 2.2[0m |[31;1m 0[0m |[31;1m 9.09[0m |[31;1m 2.2[0m |[31;1m... 203,204,206[0m | | ||
[31;1mmouseButtonTool.js [0m |[31;1m 6.99[0m |[31;1m 5.17[0m |[31;1m 15.38[0m |[31;1m 6.99[0m |[31;1m... 296,299,303[0m | | ||
[31;1mmouseWheelTool.js [0m |[31;1m 25[0m |[32;1m 100[0m |[32;1m 100[0m |[31;1m 25[0m |[31;1m 4,5,8,11,14,17[0m | | ||
[31;1mmultiTouchDragTool.js [0m |[31;1m 26.09[0m |[31;1m 12.5[0m |[32;1m 100[0m |[31;1m 26.09[0m |[31;1m... 36,37,38,42[0m | | ||
[31;1morientationMarkers.js [0m |[31;1m 2.86[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 2.86[0m |[31;1m... 91,93,94,95[0m | | ||
[31;1mpan.js [0m |[31;1m 10[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 10[0m |[31;1m... 33,34,35,37[0m | | ||
[31;1mpanMultiTouch.js [0m |[31;1m 30[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 30[0m |[31;1m4,6,7,8,9,11,17[0m | | ||
[31;1mprobe.js [0m |[31;1m 6.82[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 6.82[0m |[31;1m... 112,113,114[0m | | ||
[31;1mrectangleRoi.js [0m |[31;1m 2.42[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 2.42[0m |[31;1m... 402,403,406[0m | | ||
[31;1mrotate.js [0m |[31;1m 13.79[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 13.79[0m |[31;1m... 55,60,61,63[0m | | ||
[31;1mrotateTouch.js [0m |[31;1m 14.29[0m |[32;1m 100[0m |[31;1m 0[0m |[31;1m 14.29[0m |[31;1m 2,3,5,9,13,14[0m | | ||
[31;1msaveAs.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 21,23,25,27[0m | | ||
[31;1mseedAnnotate.js [0m |[31;1m 3.03[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 3.03[0m |[31;1m... 411,413,417[0m | | ||
[31;1msimpleAngle.js [0m |[31;1m 1.99[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 1.99[0m |[31;1m... 365,366,367[0m | | ||
[31;1msimpleMouseButtonTool.js [0m |[31;1m 27.27[0m |[32;1m 100[0m |[32;1m 100[0m |[31;1m 27.27[0m |[31;1m... 18,21,24,27[0m | | ||
[31;1mtextMarker.js [0m |[31;1m 2.4[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 2.4[0m |[31;1m... 269,271,275[0m | | ||
[31;1mtouchDragTool.js [0m |[31;1m 25[0m |[31;1m 16.67[0m |[32;1m 100[0m |[31;1m 25[0m |[31;1m... 31,35,36,37[0m | | ||
[31;1mtouchPinchTool.js [0m |[31;1m 25[0m |[32;1m 100[0m |[32;1m 100[0m |[31;1m 25[0m |[31;1m 4,5,8,11,14,17[0m | | ||
[31;1mtouchTool.js [0m |[31;1m 4.95[0m |[31;1m 8.11[0m |[31;1m 6.67[0m |[31;1m 4.95[0m |[31;1m... 346,349,368[0m | | ||
[31;1mwwwc.js [0m |[31;1m 9.76[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 9.76[0m |[31;1m... 64,67,68,71[0m | | ||
[31;1mwwwcRegion.js [0m |[31;1m 2.5[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 2.5[0m |[31;1m... 341,345,349[0m | | ||
[31;1mzoom.js [0m |[31;1m 5.36[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 5.36[0m |[31;1m... 269,270,271[0m | | ||
[31;1msrc/inputSources/ [0m |[31;1m 6.91[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 6.91[0m |[31;1m [0m | | ||
[31;1mkeyboardInput.js [0m |[31;1m 14.29[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 14.29[0m |[31;1m... 45,46,50,51[0m | | ||
[31;1mmouseInput.js [0m |[31;1m 4.23[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 4.23[0m |[31;1m... 276,277,278[0m | | ||
[31;1mmouseWheelInput.js [0m |[31;1m 6.45[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 6.45[0m |[31;1m... 65,72,74,78[0m | | ||
[31;1mpreventGhostClick.js [0m |[31;1m 25.93[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 25.93[0m |[31;1m... 59,63,64,65[0m | | ||
[31;1mtouchInput.js [0m |[31;1m 4.35[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 4.35[0m |[31;1m... 493,495,496[0m | | ||
[31;1msrc/manipulators/ [0m |[31;1m 0.96[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0.96[0m |[31;1m [0m | | ||
[31;1manyHandlesOutsideImage.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 16,19,20,24[0m | | ||
[31;1mdrawHandles.js [0m |[31;1m 5.56[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 5.56[0m |[31;1m... 31,32,33,36[0m | | ||
[31;1mgetHandleNearImagePoint.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 29,30,32,37[0m | | ||
[31;1mhandleActivator.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 32,33,36,39[0m | | ||
[31;1mmoveAllHandles.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 61,65,66,68[0m | | ||
[31;1mmoveHandle.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 47,48,52,53[0m | | ||
[31;1mmoveNewHandle.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 75,76,78,79[0m | | ||
[31;1mmoveNewHandleTouch.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 106,109,112[0m | | ||
[31;1mtouchMoveAllHandles.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 63,64,65,67[0m | | ||
[31;1mtouchMoveHandle.js [0m |[31;1m 3.77[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 3.77[0m |[31;1m... 125,129,131[0m | | ||
[31;1msrc/measurementManager/ [0m |[31;1m 29.41[0m |[32;1m 100[0m |[31;1m 20[0m |[31;1m 29.41[0m |[31;1m [0m | | ||
[31;1mlineSampleMeasurement.js [0m |[31;1m 0[0m |[32;1m 100[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 4,6,9,10,12[0m | | ||
[31;1mmeasurementManager.js [0m |[31;1m 41.67[0m |[32;1m 100[0m |[31;1m 33.33[0m |[31;1m 41.67[0m |[31;1m... 20,22,24,29[0m | | ||
[31;1msrc/orientation/ [0m |[31;1m 3.85[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 3.85[0m |[31;1m [0m | | ||
[31;1mgetOrientationString.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 21,22,24,28[0m | | ||
[32;1mindex.js [0m |[32;1m 100[0m |[32;1m 100[0m |[32;1m 100[0m |[32;1m 100[0m |[31;1m [0m | | ||
[31;1minvertOrientationString.js [0m |[31;1m 0[0m |[32;1m 100[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... ,6,7,8,9,11[0m | | ||
[31;1msrc/referenceLines/ [0m |[31;1m 5.26[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 5.26[0m |[31;1m [0m | | ||
[31;1mcalculateReferenceLine.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 7,9,10,13[0m | | ||
[32;1mindex.js [0m |[32;1m 100[0m |[32;1m 100[0m |[32;1m 100[0m |[32;1m 100[0m |[31;1m [0m | | ||
[31;1mreferenceLinesTool.js [0m |[31;1m 10[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 10[0m |[31;1m... 47,48,53,54[0m | | ||
[31;1mrenderActiveReferenceLine.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 64,65,66,67[0m | | ||
[31;1msrc/requestPool/ [0m |[31;1m 6.67[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 6.67[0m |[31;1m [0m | | ||
[31;1mrequestPoolManager.js [0m |[31;1m 6.67[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 6.67[0m |[31;1m... 191,194,198[0m | | ||
[31;1msrc/stackTools/ [0m |[31;1m 7.17[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 7.19[0m |[31;1m [0m | | ||
[31;1mplayClip.js [0m |[31;1m 1.1[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 1.1[0m |[31;1m... 249,250,253[0m | | ||
[31;1mscrollIndicator.js [0m |[31;1m 12.9[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 12.9[0m |[31;1m... 56,57,59,62[0m | | ||
[31;1mstackPrefetch.js [0m |[31;1m 5.79[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 5.83[0m |[31;1m... 289,294,298[0m | | ||
[31;1mstackScroll.js [0m |[31;1m 17.07[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 17.07[0m |[31;1m... 82,84,85,91[0m | | ||
[31;1mstackScrollKeyboard.js [0m |[31;1m 22.22[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 22.22[0m |[31;1m... 16,18,19,22[0m | | ||
[31;1msrc/stateManagement/ [0m |[31;1m 11.22[0m |[31;1m 0[0m |[31;1m 3.51[0m |[31;1m 11.22[0m |[31;1m [0m | | ||
[31;1mappState.js [0m |[31;1m 3.85[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 3.85[0m |[31;1m... 59,61,64,67[0m | | ||
[31;1mframeOfReferenceStateManager.js [0m |[31;1m 10.34[0m |[31;1m 0[0m |[31;1m 25[0m |[31;1m 10.34[0m |[31;1m... 70,71,75,76[0m | | ||
[31;1mimageIdSpecificStateManager.js [0m |[31;1m 11.11[0m |[31;1m 0[0m |[31;1m 12.5[0m |[31;1m 11.11[0m |[31;1m... 77,79,80,83[0m | | ||
[31;1mloadHandlerManager.js [0m |[31;1m 14.29[0m |[32;1m 100[0m |[31;1m 0[0m |[31;1m 14.29[0m |[31;1m... 14,18,22,26[0m | | ||
[31;1mstackSpecificStateManager.js [0m |[31;1m 3.85[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 3.85[0m |[31;1m... 84,87,89,90[0m | | ||
[31;1mtextStyle.js [0m |[31;1m 40[0m |[32;1m 100[0m |[31;1m 0[0m |[31;1m 40[0m |[31;1m... 14,18,22,26[0m | | ||
[31;1mtimeSeriesSpecificStateManager.js [0m |[31;1m 4.55[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 4.55[0m |[31;1m... 67,70,72,73[0m | | ||
[31;1mtoolColors.js [0m |[31;1m 36.36[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 36.36[0m |[31;1m... 19,23,27,31[0m | | ||
[31;1mtoolCoordinates.js [0m |[31;1m 33.33[0m |[32;1m 100[0m |[31;1m 0[0m |[31;1m 33.33[0m |[31;1m 4,8[0m | | ||
[31;1mtoolState.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 72,73,79,81[0m | | ||
[31;1mtoolStyle.js [0m |[31;1m 42.86[0m |[32;1m 100[0m |[31;1m 0[0m |[31;1m 42.86[0m |[31;1m 5,9,13,17[0m | | ||
[31;1msrc/synchronization/ [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m [0m | | ||
[31;1mSynchronizer.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 275,277,278[0m | | ||
[31;1mpanZoomSynchronizer.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 18,19,20,21[0m | | ||
[31;1mstackImageIndexSynchronizer.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 50,53,55,56[0m | | ||
[31;1mstackImagePositionOffsetSynchronizer.js[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 69,72,74,75[0m | | ||
[31;1mstackImagePositionSynchronizer.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 62,65,67,68[0m | | ||
[31;1mstackScrollSynchronizer.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 54,57,59,60[0m | | ||
[31;1mupdateImageSynchronizer.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 5,6,9[0m | | ||
[31;1mwwwcSynchronizer.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 18,19,20,21[0m | | ||
[31;1msrc/timeSeriesTools/ [0m |[31;1m 4.86[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 4.86[0m |[31;1m [0m | | ||
[31;1mincrementTimePoint.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 56,60,62,63[0m | | ||
[31;1mprobeTool4D.js [0m |[31;1m 4.88[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 4.88[0m |[31;1m... 101,103,105[0m | | ||
[31;1mtimeSeriesPlayer.js [0m |[31;1m 7.41[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 7.41[0m |[31;1m... 67,69,72,73[0m | | ||
[31;1mtimeSeriesScroll.js [0m |[31;1m 7.32[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 7.32[0m |[31;1m... 81,83,84,87[0m | | ||
[31;1msrc/util/ [0m |[31;1m 1.93[0m |[31;1m 0[0m |[31;1m 3.13[0m |[31;1m 1.93[0m |[31;1m [0m | | ||
[31;1mcalculateEllipseStatistics.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 29,37,38,40[0m | | ||
[31;1mcalculateSUV.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 47,48,49,51[0m | | ||
[32;1mcopyPoints.js [0m |[32;1m 100[0m |[32;1m 100[0m |[32;1m 100[0m |[32;1m 100[0m |[31;1m [0m | | ||
[31;1mdrawArrow.js [0m |[31;1m 0[0m |[32;1m 100[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 29,30,31,32[0m | | ||
[31;1mdrawCircle.js [0m |[31;1m 0[0m |[32;1m 100[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 2,4,5,6,7,8[0m | | ||
[31;1mdrawEllipse.js [0m |[31;1m 0[0m |[32;1m 100[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 15,16,17,18[0m | | ||
[31;1mdrawTextBox.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 57,66,69,72[0m | | ||
[31;1mgetLuminance.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 30,31,32,37[0m | | ||
[31;1mgetMaxSimultaneousRequests.js [0m |[31;1m 3.33[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 3.33[0m |[31;1m... 80,83,87,90[0m | | ||
[31;1mgetRGBPixels.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 26,27,28,33[0m | | ||
[31;1misMouseButtonEnabled.js [0m |[31;1m 0[0m |[32;1m 100[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 4,7[0m | | ||
[31;1mpauseEvent.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 13,16,17,19[0m | | ||
[31;1mpointInEllipse.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... ,9,19,24,27[0m | | ||
[31;1mpointInsideBoundingBox.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 2,3,6[0m | | ||
[31;1mpointProjector.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 112,113,116[0m | | ||
[31;1mroundToDecimal.js [0m |[31;1m 0[0m |[32;1m 100[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 2,5[0m | | ||
[31;1mscroll.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 13,15,16,18[0m | | ||
[31;1mscrollToIndex.js [0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m... 89,92,94,96[0m | | ||
[31;1msetContextToDisplayFontSize.js [0m |[31;1m 0[0m |[32;1m 100[0m |[31;1m 0[0m |[31;1m 0[0m |[31;1m 13,15,17,19,22[0m | | ||
------------------------------------------|----------|----------|----------|----------|----------------| | ||
[31;1mAll files [0m |[31;1m 4.9[0m |[31;1m 1.3[0m |[31;1m 3.24[0m |[31;1m 4.9[0m |[31;1m [0m | | ||
------------------------------------------|----------|----------|----------|----------|----------------| |
@@ -142,3 +142,3 @@ /*! cornerstone-wado-image-loader - v0.5.2 - 2015-04-04 | (c) 2014 Chris Hafey | https://github.com/chafey/cornerstoneWADOImageLoader */ | ||
$(cornerstone).trigger('CornerstoneImageLoadProgress', { | ||
$(cornerstone.events).trigger('CornerstoneImageLoadProgress', { | ||
imageId: imageId, | ||
@@ -145,0 +145,0 @@ loaded: loaded, |
{ | ||
"name": "cornerstone-tools", | ||
"version": "0.8.6", | ||
"version": "0.8.7", | ||
"description": "Medical imaging tools for the Cornerstone library", | ||
@@ -32,4 +32,4 @@ "main": "./dist/cornerstoneTools.min.js", | ||
"webpack": "npm run clean:dist && npm run webpack:prod && npm run webpack:dev", | ||
"webpack:dev": "ENV=dev webpack --progress --config ./config/webpack", | ||
"webpack:prod": "ENV=prod webpack --progress --config ./config/webpack", | ||
"webpack:dev": "webpack --progress --config ./config/webpack/webpack-dev", | ||
"webpack:prod": "webpack --progress --config ./config/webpack/webpack-prod", | ||
"webpack:watch": "webpack --progress --debug --watch --config ./config/webpack", | ||
@@ -50,5 +50,7 @@ "start": "npm run webpack", | ||
"chai": "^3.5.0", | ||
"coveralls": "^2.13.1", | ||
"docdash": "^0.4.0", | ||
"eslint": "^3.19.0", | ||
"eslint-loader": "^1.7.1", | ||
"istanbul": "^0.4.5", | ||
"istanbul-instrumenter-loader": "^2.0.0", | ||
@@ -63,2 +65,3 @@ "jsdoc": "^3.4.3", | ||
"karma-webpack": "^2.0.3", | ||
"lodash": "^4.17.4", | ||
"mocha": "^3.2.0", | ||
@@ -70,3 +73,3 @@ "opn-cli": "^3.1.0", | ||
"dependencies": { | ||
"cornerstone-core": "^0.10.10", | ||
"cornerstone-core": "^0.11.0", | ||
"cornerstone-math": "^0.1.5", | ||
@@ -73,0 +76,0 @@ "dicom-parser": "1.7.4", |
@@ -0,1 +1,4 @@ | ||
[![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-url] [![MIT License][license-image]][license-url] [![Build Status][travis-image]][travis-url] | ||
[![Coverage Status][coverage-image]][coverage-url] | ||
cornerstoneTools | ||
@@ -137,1 +140,14 @@ ================ | ||
Copyright 2015 Chris Hafey [chafey@gmail.com](mailto:chafey@gmail.com) | ||
[license-image]: http://img.shields.io/badge/license-MIT-blue.svg?style=flat | ||
[license-url]: LICENSE | ||
[npm-url]: https://npmjs.org/package/cornerstone-tools | ||
[npm-version-image]: http://img.shields.io/npm/v/cornerstone-tools.svg?style=flat | ||
[npm-downloads-image]: http://img.shields.io/npm/dm/cornerstone-tools.svg?style=flat | ||
[travis-url]: http://travis-ci.org/chafey/cornerstoneTools | ||
[travis-image]: https://travis-ci.org/chafey/cornerstoneTools.svg?branch=master | ||
[coverage-url]: https://coveralls.io/github/chafey/cornerstoneTools?branch=master | ||
[coverage-image]: https://coveralls.io/repos/github/chafey/cornerstoneTools/badge.svg?branch=master |
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 too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
5200403
117
28034
152
3
23
+ Addedcornerstone-core@0.11.1(transitive)
- Removedcornerstone-core@0.10.10(transitive)
Updatedcornerstone-core@^0.11.0