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

aws-local-testing-library

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-local-testing-library - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

4

lib/event-mocks.d.ts

@@ -11,3 +11,3 @@ import type { SNSEvent, CloudFormationCustomResourceCreateEvent, CloudFrontRequestEvent, CloudFrontResponseEvent } from 'aws-lambda';

};
export declare const createEvent: <T extends "cloudformation:CreateRequest" | "cloudfront:OriginRequest" | "cloudfront:OriginResponse" | "cloudfront:ViewerRequest" | "cloudfront:ViewerResponse" | "sns:Notification">(eventType: T, body: PartialDeep<{
export declare const createEvent: <T extends "cloudformation:CreateRequest" | "cloudfront:OriginRequest" | "cloudfront:OriginResponse" | "cloudfront:ViewerRequest" | "cloudfront:ViewerResponse" | "sns:Notification">(eventType: T, body?: PartialDeep<{
'cloudformation:CreateRequest': CloudFormationCustomResourceCreateEvent;

@@ -19,3 +19,3 @@ 'cloudfront:OriginRequest': CloudFrontRequestEvent;

'sns:Notification': SNSEvent;
}[T]>) => {
}[T]> | undefined) => {
'cloudformation:CreateRequest': CloudFormationCustomResourceCreateEvent;

@@ -22,0 +22,0 @@ 'cloudfront:OriginRequest': CloudFrontRequestEvent;

@@ -25,4 +25,4 @@ "use strict";

const event = exports.events[eventType];
return lodash_merge_1.default(lodash_clonedeep_1.default(event), body);
return body ? lodash_merge_1.default(lodash_clonedeep_1.default(event), body) : event;
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnQtbW9ja3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvZXZlbnQtbW9ja3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBT0EsZ0VBQWlDO0FBQ2pDLHdFQUF5QztBQUV6Q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mIGV2ZW50cz4oXG4gIGV2ZW50VHlwZTogVCxcbiAgYm9keT86IFBhcnRpYWxEZWVwPHR5cGVvZiBldmVudHNbVF0+XG4pOiB0eXBlb2YgZXZlbnRzW1RdID0+IHtcbiAgY29uc3QgZXZlbnQgPSBldmVudHNbZXZlbnRUeXBlXTtcbiAgcmV0dXJuIGJvZHkgPyBtZXJnZShjbG9uZURlZXAoZXZlbnQpLCBib2R5KSA6IGV2ZW50O1xufTtcbiJdfQ==
{
"name": "aws-local-testing-library",
"description": "Testing library for local aws development",
"version": "0.0.6",
"version": "0.0.7",
"license": "MIT",

@@ -6,0 +6,0 @@ "repository": {

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