Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@babel/eslint-plugin-development
Advanced tools
ESLint rules that enforce best practices in the development of Babel plugins.
A set of eslint rules to enforce best practices in the development of Babel plugins.
You'll first need to install ESLint:
$ npm install --save-dev eslint
Next, install @babel/eslint-plugin-development
:
$ npm install --save-dev @babel/eslint-plugin-development
Then, load the plugin in your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["@babel/development"]
}
Note Rules marked with :wrench: are autofixable.
@babel/development/no-deprecated-clone
(:wrench:): Disallows using the deprecated
t.clone(node)
and t.cloneDeep(node)
methods from @babel/types
. Those
calls are replaced with t.cloneNode(node)
when using eslint --fix
.@babel/development/no-undefined-identifier
: Disallows using
t.identifier("undefined")
to create a node which represents an undefined
value, since it might cause problem if undefined
is redeclared.@babel/development/plugin-name
: Requires plugins to have a name
property, which
can be useful for debugging purposes.FAQs
ESLint rules that enforce best practices in the development of Babel plugins.
The npm package @babel/eslint-plugin-development receives a total of 140 weekly downloads. As such, @babel/eslint-plugin-development popularity was classified as not popular.
We found that @babel/eslint-plugin-development demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.