New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

lambda-api

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lambda-api - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

index.d.ts

@@ -7,2 +7,3 @@ import {

} from 'aws-lambda';
import { S3ClientConfig } from '@aws-sdk/client-s3';

@@ -136,2 +137,3 @@ export declare interface CookieOptions {

headers?: object;
s3Config?: S3ClientConfig;
}

@@ -138,0 +140,0 @@

@@ -12,2 +12,3 @@ 'use strict';

const LOGGER = require('./lib/logger');
const S3 = require('./lib/s3-service');
const prettyPrint = require('./lib/prettyPrint');

@@ -50,2 +51,4 @@ const { ConfigurationError } = require('./lib/errors');

this._s3Config = props && props.s3Config;
this._sampleCounts = {};

@@ -289,2 +292,5 @@

// Set S3 Client
if (this._s3Config) S3.setConfig(this._s3Config);
// Initalize request and response objects

@@ -291,0 +297,0 @@ let request = new REQUEST(this);

@@ -15,2 +15,3 @@ 'use strict';

exports.client = new S3Client();
exports.setConfig = (config) => (exports.client = new S3Client(config));

@@ -17,0 +18,0 @@ exports.getObject = (params) => {

2

package.json
{
"name": "lambda-api",
"version": "1.0.2",
"version": "1.0.3",
"description": "Lightweight web framework for your serverless applications",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is too big to display

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