
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
depcheck-babel-parser
Advanced tools
A depcheck babel parser that uses an existing babel config instead of a fixed set of plugins.
A depcheck babel parser that uses an existing babel config instead of a fixed set of plugins.
# NPM
$ npm install depcheck-babel-parser
# Yarn
$ yarn add depcheck-babel-parser
Start by creating a .babelrc.json
file with your babel config, if needed.
Custom parsers are currently only supported when using depcheck
via the Node.js API. Simply add the parser to your parser config and run depcheck:
import depcheck from 'depcheck'
import babelParser from 'depcheck-babel-parser'
const options = {
parsers: {
'*.js': babelParser,
},
}
depcheck('/path/to/your/project', options, (unused) => {
console.log(unused.dependencies); // an array containing the unused dependencies
console.log(unused.devDependencies); // an array containing the unused devDependencies
console.log(unused.missing); // a lookup containing the dependencies missing in `package.json` and where they are used
console.log(unused.using); // a lookup indicating each dependency is used by which files
console.log(unused.invalidFiles); // files that cannot access or parse
console.log(unused.invalidDirs); // directories that cannot access
})
Unless stated otherwise all works are:
Copyright © Sebastian Landwehr info@dword-design.de
and licensed under:
FAQs
A depcheck babel parser that uses an existing babel config instead of a fixed set of plugins.
The npm package depcheck-babel-parser receives a total of 1 weekly downloads. As such, depcheck-babel-parser popularity was classified as not popular.
We found that depcheck-babel-parser 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.