
Product
Introducing Manifest Alerts
Socket now detects supply chain risks in project manifests, starting with missing lockfiles that can make dependency installs non-reproducible.
@sv-print/plugin-formatter
Advanced tools
npm install @sv-print/plugin-formatter
sv-print 插件引入的两种方式见:sv-print 插件引入的两种方式:https://www.ibujian.cn/svp/plugin/a02.html
import pluginFormatter from "@sv-print/plugin-formatter";
const plugins = [
pluginFormatter({
name: "格式化器", // 元素参数的名称
// 同组件 config 配置/hiprint.setConfig(config)。 配置哪些元素 需要这个 格式化器
config: {
text: {
tabs: [
{
name: "基础",
options: [
{
name: "sFormatter",
hidden: false,
after: "testData",
},
],
},
],
},
},
funList: [
{
name: "转大写", // 展示名称
key: "toUpperCase", // 格式化器key
fun: (value) => {
return `${value}`.toUpperCase();
},
},
{
name: "自定义",
key: "test",
fun: (value) => {
return `${value}+自定义`;
},
},
],
}),
];
LGPL
1.请自觉遵守 LGPL 协议,其他用途可联系作者;
2.允许用于个人学习、毕业设计、教学案例、公益事业、商业使用;
3.如果商用必须保留版权信息,请自觉遵守;
4.禁止将本开源的代码和资源进行任何形式任何名义的出售,否则产生的一切任何后果责任由侵权者自负;
5.商用请仔细审查代码和漏洞,不得用于任一国家许可范围之外的商业应用,产生的一切任何后果责任自负;
FAQs
## 安装
The npm package @sv-print/plugin-formatter receives a total of 28 weekly downloads. As such, @sv-print/plugin-formatter popularity was classified as not popular.
We found that @sv-print/plugin-formatter 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 now detects supply chain risks in project manifests, starting with missing lockfiles that can make dependency installs non-reproducible.

Research
/Security News
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.