Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
zoom-image-data
Advanced tools
Install with npm:
npm install zoom-image-data
new ZoomImageData(param: param) => ZoomImageData
inData: ArrayBuffer
Input Datainw: number
Width of input datainh: number
Height of input dataoutData: ArrayBuffer
Output Dataoutw: number
Width of output dataouth: number
Height of output datacellRatio?: number
(defalut: 1) Ratio = cellW / cellHcellWH?: number
(defalut: 10) Base cell sizesplitCell?: boolean
(defalut: false) Split CellsplitCellSize?: number
(defalut: 2) Split Cell Size.update()
Update outputData.
.translate(dx: number, dy: number, silent?: boolean)
Translate on outdata.
silent
(optional) Defaults to false, Whether update outData..zoom(cx: number, cy: number, ratio: number, silent?: boolean)
Scale ratio multiple at position(cx,cy) on outdata
.resize(silent?: boolean)
.updateMatrix(scale: number, dx: number, dy: number, silent?: boolean)
Update the transformation matrix.
.inCoorIsIn(x: number, y: number): boolean
.outCoorIsIn(x: number, y: number): boolean
.transInToOut(coors: number[])
.transOutToIn(coors: number[])
FAQs
zoom-image-data
The npm package zoom-image-data receives a total of 3 weekly downloads. As such, zoom-image-data popularity was classified as not popular.
We found that zoom-image-data demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.