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.
eslint-plugin-transform-runtime-aliasing
Advanced tools
ESLint plugin for checking functions that is aliased/polyfilled by babel-plugin-transform-runtime
ESLint plugin for checking functions that is aliased/polyfilled to core-js
by babel-plugin-transform-runtime
, which may be expensive and sometimes not needed.
If core-js
aliasing is disabled, (which is default in Babel 7) it warns that
it'll not be polyfilled and manually include it if needed.
Requires babel-plugin-transform-runtime
(Babel 6) or
@babel/plugin-transform-runtime
(Babel 7).
See index.test.js
for examples.
yarn add --dev eslint-plugin-transform-runtime-aliasing
# or npm install --save-dev eslint-plugin-transform-runtime-aliasing
{
"plugins": [
"transform-runtime-aliasing"
],
"rules": {
"transform-runtime-aliasing/no-transform-runtime-aliasing": "warn"
}
}
babelVersion
: 6 | 7
, the version of babel-plugin-transform-runtime
to use.
If not set, the plugin will try to auto-detect.transformEnabled
: boolean
, whether babel-plugin-transform-runtime
is enabled.
If true
(default), the message will be "'{{ name }}' will be aliased/polyfilled to
core-js by Babel, which may be expensive. To prevent aliasing, use '{{ alt }}'.".
If false
, the message will be "'{{ name }}' will not be aliased/polyfilled to
core-js by Babel. To polyfill it, use 'core-js@2/library/fn/{{ corejs }}'.".ignore
: string[]
, the list of functions to globally ignore warnings.MIT License
FAQs
ESLint plugin for checking functions that is aliased/polyfilled by babel-plugin-transform-runtime
The npm package eslint-plugin-transform-runtime-aliasing receives a total of 17 weekly downloads. As such, eslint-plugin-transform-runtime-aliasing popularity was classified as not popular.
We found that eslint-plugin-transform-runtime-aliasing 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
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.