Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
babel-preset-aws-lambda
Advanced tools
Readme
Babel preset for AWS λ functions
This preset currently transforms code to be compatible with node versions of amazon AWS lambda funcions.
6.10
.regenerator-runtime
is too heavyweight so it is excluded.$ npm install --save-dev babel-preset-aws-lambda
.babelrc
(Recommended).babelrc
{
"presets": ["aws-lambda"]
}
$ babel script.js --presets aws-lambda
require("babel-core").transform("code", {
presets: ["aws-lambda"]
});
This module uses babel-preset-env
to target specific environments.
Please refer to babel-preset-env#targets for a list of available options.
You may override our default list of targets by providing your own targets
key.
{
"presets": [["aws-lambda", {
"targets": {
"node": 4
}
}]]
}
To enable debug mode, set the debug
key to true
.
{
"presets": [["aws-lambda", {
"debug": true
}]]
}
FAQs
AWS Lambda Preset
The npm package babel-preset-aws-lambda receives a total of 4 weekly downloads. As such, babel-preset-aws-lambda popularity was classified as not popular.
We found that babel-preset-aws-lambda 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.