
Research
/Security News
Coruna Respawned: Compromised art-template npm Package Leads to iOS Browser Exploit Kit
Compromised npm package art-template delivered a Coruna-like iOS Safari exploit framework through a watering-hole attack.
@codernote/tree-editor
Advanced tools
记录软件使用的编辑器,内部使用
npm install @codernote/tree-editor
import TreeEditor from "@codernote/tree-editor";
// root为装载编辑器节点的id
const treeEditor = new TreeEditor("root");
// 加载数据
treeEditor.loadTree(data);
注册监听事
treeEditor.on("fileUpload", (files, callback) => {
// files为上传的文件,可操作文件上传等异步操作
// callback为回调
});
treeEditor.on("dataChanged", (data) => {
// 监听数据变动
});
卸载监听
// cb为注册事件时的监听函数
treeEditor.off("fileUpload", cb);
treeEditor.off("dataChanged", cb);
npm publish
FAQs
The npm package @codernote/tree-editor receives a total of 0 weekly downloads. As such, @codernote/tree-editor popularity was classified as not popular.
We found that @codernote/tree-editor demonstrated a not healthy version release cadence and project activity because the last version was released 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
Compromised npm package art-template delivered a Coruna-like iOS Safari exploit framework through a watering-hole attack.

Company News
As AI accelerates how code is written and shipped, Socket is scaling to protect the software supply chain from the growing wave of attacks targeting open source dependencies.

Company News
Socket is scaling to defend open source against supply chain attacks as AI accelerates software development.