Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
babel-preset-latest
Advanced tools
Babel preset including es2015, es2016, es2017.
npm install --save-dev babel-preset-latest
.babelrc
(Recommended).babelrc
{
"presets": ["latest"]
}
babel script.js --presets latest
require("babel-core").transform("code", {
presets: ["latest"]
});
es2015
boolean
, defaults to true
.
Toggles including plugins from the es2015 preset.
{
"presets": [
["latest", {
"es2015": false
}]
]
}
You can also pass options down to the es2015
preset.
{
"presets": [
["latest", {
"es2015": {
"modules": false
}
}]
]
}
Note: This also works for the other preset-year options below.
es2016
boolean
, defaults to true
.
Toggles including plugins from the es2016 preset.
es2017
boolean
, defaults to true
.
Toggles including plugins from the es2017 preset.
FAQs
Babel preset including es2015+
The npm package babel-preset-latest receives a total of 36,067 weekly downloads. As such, babel-preset-latest popularity was classified as popular.
We found that babel-preset-latest 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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.