
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.
solar-core
Advanced tools
阿里云OSS 辅助工具
在oss图片地址上,添加裁剪样式
import { Oss } from 'solar-core'
const url = 'http://ali-oss.shanghai.com/a.png';
// 设定宽度裁剪
const out = Oss.resizeAliOss(url,100);
// 返回 out为: http://ali-oss.shanghai.com/a.png?x-oss-process=image/resize,w_100
在oss图片链接上添加样式
import { Oss } from 'solar-core'
const url = 'http://ali-oss.shanghai.com/a.png';
const out = Oss.renderAliOss(url,'image/resize,w_100');
// 返回 out为: http://ali-oss.shanghai.com/a.png?x-oss-process=image/resize,w_100
上传图片到阿里OSS,支持:小程序端,与 web端
FAQs
solar core
We found that solar-core 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.