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

aws-lambda-ws-server

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-lambda-ws-server - npm Package Compare versions

Comparing version 0.1.4 to 0.1.7

4

package.json
{
"name": "aws-lambda-ws-server",
"version": "0.1.4",
"version": "0.1.7",
"description": "websocket server for aws lambda and local development",

@@ -27,3 +27,3 @@ "main": "src/index.js",

"dependencies": {
"aws-post-to-connection": "0.1.4",
"aws-post-to-connection": "0.1.7",
"is-lambda": "1.0.1"

@@ -30,0 +30,0 @@ },

@@ -18,3 +18,6 @@ const isLambda = require('is-lambda')

const body = JSON.parse(
Buffer.from(event.body, event.isBase64Encoded ? 'base64' : undefined)
Buffer.from(
event.body || '{}',
event.isBase64Encoded ? 'base64' : undefined
)
)

@@ -21,0 +24,0 @@ const messageArgs = { ...connectionArgs, message: body }

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