
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.
parsesearch
Advanced tools
A command line tool for searching for things in a project that regex isn't suited for—e.g., a Vue component that uses both `v-model` and `v-on:input`.
A command line tool for searching for things in a project that regex isn't
suited for—e.g., a Vue component that uses both v-model and v-on:input.
(if anyone is good at naming things please help)
Usage: parsesearch [options] <match> [file...]
Utility to search for code in a project using a parser, not regex
Arguments:
match The match to search for
file The file(s) to search
Options:
-p, --parser <parser> The parser to use (choices: "vue-sfc", default: "vue-sfc")
-h, --help display help for command
The following finds all Vue components using both @input and v-model:
$ npx parsesearch "@input v-model"
It does a bit of parsing, so v-on:input and @input are considered to be the
same. It's not very good at it yet though and I can't work out how to use the
actual Vue parser for this side of things.
FAQs
A command line tool for searching for things in a project that regex isn't suited for—e.g., a Vue component that uses both `v-model` and `v-on:input`.
We found that parsesearch 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.