Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aws-lambda-fastify

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-lambda-fastify - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

11

index.js

@@ -9,7 +9,8 @@ module.exports = (app, options) => {

options.decorationPropertyName = options.decorationPropertyName || 'awsLambda'
app.decorateRequest(options.decorationPropertyName)
app.addHook('onRequest', async (req) => {
req[options.decorationPropertyName] = {
event: currentAwsArguments.event,
context: currentAwsArguments.context
app.decorateRequest(options.decorationPropertyName, {
get event () {
return currentAwsArguments.event
},
get context () {
return currentAwsArguments.context
}

@@ -16,0 +17,0 @@ })

@@ -29,3 +29,3 @@ {

"license": "MIT",
"version": "2.0.0",
"version": "2.0.1",
"main": "index.js",

@@ -32,0 +32,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc