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

13
8

7.0.12

Diff

Changelog

Source

7.0.12

  • Added an optional toErrorResponse function to the opts arguments of failLambdaCallback and generateHandlerFunction functions of the api-lambdas module to enable callers to customise the error response object or Lambda Proxy error response body returned
  • Updated core-functions dependency to version 3.0.22
  • Updated logging-utils dependency to version 4.0.22
  • Updated aws-sdk dev dependency to version 2.190.0
byron-dupreez
published 7.0.11 •

Changelog

Source

7.0.11

  • Updated core-functions dependency to version 3.0.20
  • Updated logging-utils dependency to version 4.0.20
  • Updated aws-sdk dev dependency to version 2.161.0
  • Updated aws-core-test-utils dev dependency to version 3.0.7
byron-dupreez
published 7.0.10 •

Changelog

Source

7.0.10

  • Renamed dummy first exports (exports._ = '_'; //IDE workaround) of most modules to (exports._$_ = '_$_';) to avoid potential future collisions with lodash & underscore
  • Updated core-functions dependency to version 3.0.19
  • Updated logging-utils dependency to version 4.0.19
  • Updated aws-core-test-utils dev dependency to version 3.0.6
byron-dupreez
published 7.0.9 •

Changelog

Source

7.0.9

  • Changed dynamodb-doc-client-cache, kinesis-cache, kms-cache & lambda-cache modules to use an optional, alternative AWS constructor passed via a new optional context.AWS property to enable use of an AWS XRay-captured AWS constructor
  • Updated aws-sdk dependency to version 2.143.0
byron-dupreez
published 7.0.8 •

Changelog

Source

7.0.8

  • Updated core-functions dependency to version 3.0.18
  • Updated logging-utils dependency to version 4.0.18
byron-dupreez
published 7.0.7 •

Changelog

Source

7.0.7

  • Changes to api-lambdas module to support API Gateway Lambda Proxy integration:
    • Replaced legacy 5th to 9th parameters of generateHandlerFunction function with a preferred single optional opts 5th parameter, which includes the 5 legacy parameters (logRequestResponseAtLogLevel, allowedHttpStatusCodes, invalidRequestMsg, failureMsg & successMsg) and also includes 2 new parameters (useLambdaProxy & defaultHeaders)
      • Note that the generateHandlerFunction function still supports invoking it with its legacy 5th to 9th parameters
    • Replaced legacy 6th parameter of failCallback function with a preferred optional opts 6th parameter, which includes the legacy parameter (allowedHttpStatusCodes) and also includes 2 new parameters (useLambdaProxy & defaultHeaders)
      • Note that the failCallback function still supports invoking it with its legacy 6th parameter
    • Changed failCallback function to also support Lambda Proxy integration
    • Added a new succeedCallback function to support both default integration & Lambda Proxy integration
    • Changed inner handler function to use new succeedCallback function & to pass the generateHandlerFunction function's new opts parameter on all failCallback & succeedCallback calls
    • Setting the new useLambdaProxy parameter to true:
      • Enables your Lambda to be called from API Gateway using its Lambda Proxy integration mode
      • Changes the failCallback & new succeedCallback functions to invoke your Lambda's callback function with ONLY a null "error" parameter and a non-null "data" parameter, which is compatible with Lambda Proxy integration
  • Fixed unbound logger issues in logging in dynamodb-doc-client-cache, kinesis-cache, kms-cache, lambda-cache & regions modules
  • Updated core-functions dependency to version 3.0.17
  • Updated logging-utils dependency to version 4.0.17
  • Updated aws-core-test-utils dev dependency to version 3.0.5
  • Updated aws-sdk dev dependency to version 2.128.0
byron-dupreez
published 7.0.6 •

Changelog

Source

7.0.6

  • Changes to regions module:
    • Changed behaviour of getRegionKey function to EITHER get the existing region key (if any) OR return undefined and NOT set a new region key (if none)
    • Added new getOrSetRegionKey function that gets the existing region key (if any) or sets a new region key (if none)
    • Added new listRegionKeys function to list the currently cached region keys
  • Changes to dynamodb-doc-client-cache, kinesis-cache, kms-cache & lambda-cache:
    • Synchronised code to handle changes in regions.getRegionKey behaviour and to use new regions.getOrSetRegionKey
    • Added new clearCache function to clear the instance & options caches according to the currently cached region keys
byron-dupreez
published 7.0.5 •

Changelog

Source

7.0.5

  • Changes to lambdas module:
    • Added new getInvokedFunctionNameWithAliasOrVersion function
    • Changed the getFunctionNameVersionAndAlias function to also return an invoked property containing the same concatenation of invoked function name & alias or version generated by getInvokedFunctionNameWithAliasOrVersion
  • Changes to type-defs module:
    • Added new invoked property to LambdaFunctionNameVersionAndAlias type definition
  • Changes to lambda-utils module:
    • Replaced uses of deprecated Promises.wrapMethod with Promises.wrap
  • Replaced all logging of error.stack with logging of just the error
  • Updated core-functions dependency to version 3.0.15
  • Updated logging-utils dependency to version 4.0.14
byron-dupreez
published 7.0.4 •

Changelog

Source

7.0.4

  • Changed almost all modules' exports to modifications of the default exports object instead of replacing the default module.exports object
  • Added dummy first exports (exports._ = '_'; //IDE workaround) to most modules as a temporary workaround for IDE issue
  • Updated core-functions dependency to version 3.0.14
  • Updated logging-utils dependency to version 4.0.13
byron-dupreez
published 7.0.3 •

Changelog

Source

7.0.3

  • Updated core-functions dependency to version 3.0.11
  • Updated logging-utils dependency to version 4.0.11
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