
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
cornerstone-web-image-loader
Advanced tools
A cornerstone Image Loader for web images (PNG, JPEG).
Click here for a live example of this library in use!
View the simple image viewer built on cornerstone.
Get a packaged source file:
Or install via NPM:
npm install cornerstone-web-image-loader
Simply include the cornerstoneWebImageLoader.js in your HTML file after you load cornerstone.js and then set the cornerstone instance as an external module for cornerstoneWebImageLoader:
cornerstoneWebImageLoader.external.cornerstone = cornerstone;
This will let cornerstoneWebImageLoader register itself with cornerstone to load imageId's that have the http or https url schemes. To display an image, pass the url to the image as the imageId parameter to a cornerstone API function loadImage().
@onluiz for fixing a bug with images not being properly invalidated @leonardorame for adding support for CornerstoneImageLoadProgress
This project uses webpack to build the software.
NodeJs - click to visit web site for installation instructions.
Update dependencies (after each pull):
npm install
Running the build:
npm start
Automatically running the build and unit tests after each source change:
npm run watch
Cornerstone was designed to support loading of any kind of image regardless of its container, compression algorithm, encoding or transport. This is one of many possible image loaders that can provide the image pixel data to cornerstone to display
Copyright 2017 Chris Hafey chafey@gmail.com
[2.1.1] - 2018-12-05
FAQs
Cornerstone ImageLoader for Web Images (PNG, JPG)
We found that cornerstone-web-image-loader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.