
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
转换 ES2015+ 的cuf插件
通过npm方式管理,首先你需要通过命令行安装:
npm install --save cuf-babel
然后在cuf.config.js中配置:
'use strict';
module.exports = function (cuf) {
cuf.config({
"babel": {
"plug": "./tasks/babel.js",
// 公共配置
"options": {
"options": {
// babel编译参数,可选
// ...
}
},
"task": {
// 任务
"target": {
// 入口文件和打包目的地
"entry": "./test/source/index.js",
"output": "./test/build/main.js"
}
}
}
});
cuf.register("default", ["babel:target"]);
};
然后在package.json中配置任务:
"test": "node_modules/.bin/cuf"
FAQs
转换 ES2015+ 的cuf插件
We found that cuf-babel 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
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.