
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
Contents of the file grep
# install
[sudo] npm install -g fs-grep
# pattern => 需要匹配的内容,如果有空格需要使用引号包裹
# files => 以glob的方式,比如"./**/*"、"./**/*.ext"等
fs-grep <pattern> [files]
# 例子:查找当前目录下的包含所有test的文件
fs-grep test
# 例子:查找所有.md
fs-grep test "./**/*.md"
# 例子:搜索词高亮
fs-grep --color test
使用npm install fs-grep安装
var read = fsGrep.exec(pattern, files);
read.on('line', function (path, index, content) {
// path => 文件路径
// index => 文件行数
// content => 匹配的内容
});
read.on('end', function (data) {
data = [
{
path: '',
data: [
{
index: '',
content: ''
}
]
}
];
});
FAQs
Contents of the file grep
The npm package fs-grep receives a total of 27 weekly downloads. As such, fs-grep popularity was classified as not popular.
We found that fs-grep 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.