
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
详细文档请查看matjs官方网站
var mat = require('mat')
var proxy = require('mat-proxy')
// 反向代理
mat.task('daily', function () {
mat.url([/\.json/])
.use(proxy({
proxyPass: 'your.proxy.host'
}))
})
// url重写
mat.task('online', function () {
mat.url([/\.js/])
.rewrite([
[/-min\.js/g, '.js']
])
})
// combo url handler
mat.task('combohandler', function () {
// 开启对combo url的支持
mat.env({
combohandler: true
})
// 将所有的-min结尾的js重写,去掉-min
// 并且所有combo的js都会被拆开,分别从本地获取
// mat会组装这些js,并最终返回一个合并过的js
mat.url([/\.js/])
.rewrite([
[/onlinepath/, 'localpath'],
[/-min/g, '']
])
})
FAQs
We found that matx 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.