
Security News
Suno Breached via Shai-Hulud Worm, Leaked Code Exposes AI Music Scraping
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.
@winman-f2e/html-webpack-nos-plugin
Advanced tools
将打包后的静态资源上传至nos
$ npm install @winman-f2e/html-webpack-nos-plugin
// webpack.config.js
const HtmlWebpackNosPlugin = require('@winman-f2e/html-webpack-nos-plugin')
// nos配置请查看内部wiki文档及@winman-f2e/nos-upload的npm文档
// 配置字段含义参照[`@xgheaven/nos-node-sdk`](https://www.npmjs.com/package/@xgheaven/nos-node-sdk)
const nosUpload = {
accessKey: 'your-access-key',
accessSecret: 'your-access-secret',
host: 'nosdn.127.net',
protocol: 'https',
endpoint: 'https://easyreadfs.nosdn.127.net',
defaultBucket: 'easyreadfs',
objectOrigin: 'https://easyreadfs.nosdn.127.net',
}
moudule.exports = {
plugins: [
new HtmlWebpackNosPlugin({
nosUpload,
retryCount: 3, // 上传失败重试次数,默认为3,可不传
excludes: ['.html', '.ftl'], // 定义哪些文件不需要上传(后缀名匹配),默认不处理以`.html`, `.ftl`为后缀名的资源。
prefix: 'projectName' // NOS上的文件夹名, 默认将每次打包时的时间戳作为文件夹名。
output: false // 是否在本地生成已上传的文件,默认不生成。
})
]
}
FAQs
将打包后的静态资源上传至nos
We found that @winman-f2e/html-webpack-nos-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 open source maintainers 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.

Security News
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.

Security News
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.