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

lambda-serverless-api

Package Overview
Dependencies
Maintainers
1
Versions
396
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lambda-serverless-api - npm Package Compare versions

Comparing version 10.1.1 to 10.1.2

8

lib/util/limiter.js

@@ -34,3 +34,9 @@ import crypto from 'crypto';

storage.list(interval),
storage.set(`${prefix}${crypto.randomBytes(16).toString('hex')}.json.gz`, data)
storage.set(`${prefix}${
data?.event?.requestContext?.requestId === undefined
? crypto.randomBytes(16)
: crypto.createHash('md5').update(
data?.event?.requestContext?.requestId
).digest('hex')
}.json.gz`, data)
]);

@@ -37,0 +43,0 @@ if (keys.length >= globalLimit) {

2

package.json

@@ -42,3 +42,3 @@ {

},
"version": "10.1.1",
"version": "10.1.2",
"scripts": {

@@ -45,0 +45,0 @@ "clean": "rm -rf lib",

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