
Product
Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.
//element和id二选一必选一个。
interface printType {
id? : string|undefined|null
//dom元素
element?: Element | undefined | null,
//开启样式克隆,会克隆大部分样式到iframe
clone: boolean,
//类型,目前支持normal
type: "hyOnlyTable" | "canvas" | "print.js" | "normal" ;
markWater?: {
//文字
text:string
//x轴间距
gapX:number
//y轴间距
gapY:number
}
//目前不支持引入css
css?: any
}
FAQs
print for table
We found that hy-print 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.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.

Research
/Security News
A new npm package tests AI malware scanners with prompt injection, safety-triggering comments, context flooding, and obfuscated JavaScript.