Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
babel-preset-koa2-node7
Advanced tools
Babel preset for koa2 running with node7.
Node@7 has already great ES2017 support, but there are few things still missing and this module adds them:
Note: This project is forked from tengattack/babel-preset-es2017-node7,
as node 7 still has async/await behind a flag and its not production ready, so this module covers that up by adding transform-async-to-generator
.
$ npm install --save-dev babel-preset-koa2-node7
Read "Configuring Babel 6" article for more information about babel@6 configuration.
node script.js
.babelrc
(recommended).babelrc
{
"presets": ["es2017-node7"]
}
babel script.js --presets es2017-node7
require('babel-core').transform('code', {
presets: ['es2017-node7'],
})
FAQs
Babel preset for Koa 2 running with node 7
The npm package babel-preset-koa2-node7 receives a total of 2 weekly downloads. As such, babel-preset-koa2-node7 popularity was classified as not popular.
We found that babel-preset-koa2-node7 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 allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.