Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
aws-serverless-micro
Advanced tools
Run [Micro](https://github.com/zeit/micro/) functions on AWS Lambda. A very thin layer for Micro functions that does two things:
Run Micro functions on AWS Lambda. A very thin layer for Micro functions that does two things:
event
object to http.IncomingMessage
http.ServerResponse
to a Lambda Proxy object.Inspired by awslabs/aws-serverless-express.
With Micro:
// The Micro function
$ cat my-api.js
module.exports = async () => 'Welcome to Micro'
// Running with `micro`
$ micro my-api.js
micro: Accepting connections on port 3000
With aws-serverless-micro:
// The Micro function
$ cat my-api.js
module.exports = async () => 'Welcome to Micro'
// Wrapped in `aws-serverless-micro`
$ cat lambda.js
module.exports = {
handler: require('aws-serverless-micro')(require('./my-api')),
}
// Deploy `lambda.handler` with the tool of your choice
$ yarn add aws-serverless-micro
$ npm install aws-serverless-micro
aws-serverless-micro targets Node.js v8.10 or higher as this is the version running on AWS Lambda.
This libary is 100% compatible with the Micro API. The full Micro test suite is run against the library with 100% coverage.
MIT
FAQs
Run [Micro](https://github.com/zeit/micro/) functions on AWS Lambda. A very thin layer for Micro functions that does two things:
The npm package aws-serverless-micro receives a total of 61 weekly downloads. As such, aws-serverless-micro popularity was classified as not popular.
We found that aws-serverless-micro 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.