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

aws-core-utils

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-core-utils - npm Package Versions

23
8

8.1.3

Diff

Changelog

Source

8.1.3

  • Updated dependencies
byron-dupreez
published 8.1.2 •

Changelog

Source

8.1.2

  • Updated dependencies
byron-dupreez
published 8.1.1 •

Changelog

Source

8.1.1

  • Changes to api-lambdas and other-lambdas modules:
    • Changed succeedLambdaCallback and failLambdaCallback functions to return promises of the callback results
    • Added more error handling to succeedLambdaCallback and failLambdaCallback functions in an attempt to catch and resolve issues encountered where callback is not being invoked
byron-dupreez
published 8.1.0 •

Changelog

Source

8.1.0

  • Changes to api-lambdas module:
    • Added support for an optional postConfigure function, which can be configured onto context.handler, that can be used by an AWS Lambda handler to add any additional configuration needed to the context AFTER the primary configuration of the context has completed and BEFORE the main function is executed
    • Added more checks to better handle missing context failure cases
    • Added stringify function to better survive responses with circular dependencies
  • Changes to other-lambdas module:
    • Added support for an optional postConfigure function, which can be configured onto context.handler, that can be used by an AWS Lambda handler to add any additional configuration needed to the context AFTER the primary configuration of the context has completed and BEFORE the main function is executed
    • Added more checks to better handle missing context failure cases
    • Added stringify function to better survive responses with circular dependencies
    • Fixed intermittent unit test issues
  • Changes to stages module:
    • Enabled configuration of logging options via a new logging property or the legacy loggingOptions property
    • Enabled configuration of logging settings via a new logging property or the legacy loggingSettings property
  • Changes to contexts module:
    • Enabled configuration of staging options via a new staging property or the legacy stagingOptions property
    • Enabled configuration of staging settings via a new staging property or the legacy stagingSettings property
    • Enabled configuration of custom options via a new custom property or the legacy customOptions property
    • Enabled configuration of custom settings via a new custom property or the legacy customSettings property
    • Fixed unit test defect
byron-dupreez
published 8.0.2 •

Changelog

Source

8.0.2

  • Updated aws-sdk dev dependency to match latest used in AWS Lambda
byron-dupreez
published 8.0.1 •

Changelog

Source

8.0.1

  • Updated aws-core-test-utils dependency
byron-dupreez
published 8.0.0 •

Changelog

Source

8.0.0

  • Breaking changes to api-lambdas module:
    • Removed deprecated succeedCallback function - replaced by succeedLambdaCallback function
    • Removed deprecated failCallback function - replaced by failLambdaCallback function
    • Removed deprecated failCallbackForApiGateway function - replaced by failLambdaCallback function
    • Removed useLambdaProxy, defaultHeaders & allowedHttpStatusCodes properties and toErrorResponse function from the opts argument of the generateHandlerFunction function in favour of rather configuring these properties via the generateHandlerFunction function's existing createSettings & createOptions arguments
    • Removed opts from the configureHandlerContext function in favour of rather configuring its properties via the function's existing createSettings & createOptions arguments
    • Dropped support for the legacy 6th allowedHttpStatusCodes argument of the generateHandlerFunction function - i.e. any code still using legacy 5th to 9th parameters: logRequestResponseAtLogLevel, allowedHttpStatusCodes, invalidRequestMsg, failureMsg & successMsg (instead of opts) will now ignore any allowedHttpStatusCodes argument
  • Breaking changes to other-lambdas module:
    • Removed toErrorResponse function from the opts argument of the generateHandlerFunction function in favour of rather configuring the generateHandlerFunction function with the toErrorResponse function (and others) via its existing createSettings argument
    • Removed opts from the configureHandlerContext function in favour of rather configuring its toErrorResponse function via the configureHandlerContext function's existing createSettings argument
  • Breaking changes to lambdas module:
    • Removed out-of-date failCallback function - replaced by failLambdaCallback & other functions of the other-lambdas module
  • Added .npmignore
  • Renamed release_notes.md to CHANGES.md
  • Updated dependencies
byron-dupreez
published 7.2.0 •

Changelog

Source

7.2.0

  • Changes to api-lambdas module:
    • Added support for configuring a custom preSuccessCallback function to be run before succeeding the Lambda callback
    • Added support for configuring a custom preFailureCallback function to be run before failing the Lambda callback
    • Minor breaking changes to API of "new" failLambdaCallback and succeedLambdaCallback functions added in 7.1.0
  • Changes to other-lambdas module:
    • Added support for configuring a custom preSuccessCallback function to be run before succeeding the Lambda callback
    • Added support for configuring a custom preFailureCallback function to be run before failing the Lambda callback
    • Minor breaking changes to API of "new" failLambdaCallback and succeedLambdaCallback functions added in 7.1.0
byron-dupreez
published 7.1.1 •

Changelog

Source

7.1.1

  • Committed updated package-lock.json
byron-dupreez
published 7.1.0 •

Changelog

Source

7.1.0

  • Changes to api-lambdas module:
    • Added error response configuration options & settings to the context
    • Added new succeedLambdaCallback and failLambdaCallback functions with cleaner parameters needed by custom toErrorResponse functions
    • Deprecated & removed internal usage of old succeedCallback and failCallback functions
    • Changed generateHandlerFunction to use new succeedLambdaCallback and failLambdaCallback functions instead
  • Added a new other-lambdas module, which is a simplified version of api-lambdas, for generating handler functions for "other" AWS Lambdas that are NOT exposed via API Gateway
23
8
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