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

1
8

5.0.20

Diff

byron-dupreez
published 6.0.6 •

Changelog

Source

6.0.6

  • Upgraded aws-core-test-utils test dependency to 2.0.2
byron-dupreez
published 5.0.19 •

byron-dupreez
published 6.0.5 •

Changelog

Source

6.0.5

  • Upgraded aws-core-test-utils test dependency to 2.0.1
byron-dupreez
published 5.0.18 •

byron-dupreez
published 6.0.4 •

Changelog

Source

6.0.4

  • Added new dynamodb-doc-client-utils module
  • Changes to type-defs module (to sync with get method of DynamoDB.DocumentClient rather than getItem method):
    • Renamed DynamoDBGetItemOpts to DynamoDBGetOpts type definition
    • Renamed DynamoDBGetItemResult to DynamoDBGetResult type definition
byron-dupreez
published 6.0.3 •

Changelog

Source

6.0.3

  • Changes to regions module:
    • Changed getRegion function to treat "undefined" or "null" regions as undefined
    • Added setRegion function
    • Changed setRegionIfNotSet function to use setRegion
    • Deprecated setRegionIfNotSet function
    • Changed configureRegion function to fallback to using console.log if context.info is not configured yet
  • Changes to stages module:
    • Added configureStageAndAwsContext convenience function to configure resolved stage and AWS context on the given context
    • Deprecated old configureRegionStageAndAwsContext convenience function
  • Changes to contexts module:
    • Changed configureStandardContext function to invoke regions.configureRegion as early in the function as possible & to invoke stages.configureStageAndAwsContext instead of stages.configureRegionStageAndAwsContext
  • Changes to type-defs module:
    • Added StageAndAWSContextAware type definition
    • Added DynamoDBGetItemOpts, DynamoDBGetItemResult, DynamoDBQueryOpts, DynamoDBQueryResult & ConsumedCapacity type definitions
byron-dupreez
published 6.0.2 •

Changelog

Source

6.0.2

  • Upgraded to Node 6.10.3
  • Updated core-functions dependency to version 3.0.4
  • Updated logging-utils dependency to version 4.0.3
  • Upgraded aws-sdk dev dependency to version 2.45.0
  • Changes to dynamodb-doc-client-cache module:
    • Changed setDynamoDBDocClient to create & cache each new DynamoDB.DocumentClient instance with a COPY of the options while still caching the ORIGINAL options to avoid subsequent cache comparison failures related to AWS SDK 2.45.0 mutating the options passed to the constructor, e.g. by adding "attrValue" with value "S8"
byron-dupreez
published 6.0.1 •

Changelog

Source

6.0.1

  • Updated core-functions dependency to version 3.0.2
  • Updated logging-utils dependency to version 4.0.1
  • Patches to test/samples.js:
    • Fixed potential shared global regular expression issues in sampleAwsContext function
  • Changes to aws-errors module:
    • Added isResourceNotFoundException function
  • Changes to dynamodb-utils module:
    • Added simplifyKeysNewImageAndOldImage function
byron-dupreez
published 6.0.0 •

Changelog

Source

6.0.0

  • Updated core-functions dependency to version 3.0.0
  • Updated logging-utils dependency to version 4.0.0
  • Changes to api-lambdas.js module:
    • Removed log function (replaced use with new log function & log method in logging-utils)
  • Changes to arns.js module:
    • Moved ArnResources typedef to type-defs.js
  • Changes to aws-errors.js module:
    • Added isItemCollectionSizeLimitExceededException function
    • Added isLimitExceeded function
    • Removed limit exceeded cases from isThrottled function (not backward-compatible)
    • Added S3 SlowDown case to isThrottled function
    • Added isLimitExceeded & err.retryable checks to isRetryable function
  • Changes to dynamodb-utils.js module:
    • Removed toNumber function (replaced use with new toNumberOrIntegerLike function in core-functions/numbers.js)
    • Added new toStorableObject function
    • Added new defaults static property with emptyStringReplacement property
  • Changes to stages.js module:
    • Replaced all setting names constants (e.g. CUSTOM_TO_STAGE_SETTING) with use of a new module-scope settingNames object property that holds all the standard stage handling settings names (e.g. settingNames.customToStage)
    • Added new extractNameAndStageFromStreamName & extractNameAndStageFromResourceName settings
    • Added extractNameAndStageFromQualifiedStreamName & extractNameAndStageFromQualifiedResourceName functions
    • Added extractNameAndStageFromSuffixedStreamName & extractNameAndStageFromSuffixedResourceName functions
    • Added _extractNameAndStageFromQualifiedName & _extractNameAndStageFromSuffixedName functions
    • Changed extractStageFromQualifiedStreamName to attempt fallback with _extractNameAndStageFromQualifiedName
    • Changed extractStageFromQualifiedResourceName to attempt fallback with _extractNameAndStageFromQualifiedName
  • Changes to stream-events.js module:
    • Added MAX_PARTITION_KEY_SIZE constant
    • Added DynamoDBEventName enum
    • Added getEventID, getEventName, getEventSource & getEventSourceARN functions
    • Added getKinesisShardId, getKinesisShardIdFromEventID, getKinesisShardIdAndEventNoFromEventID & getKinesisSequenceNumber functions
    • Added getDynamoDBSequenceNumber function
    • Added additional validation checks to validateStreamEventRecord, validateKinesisStreamEventRecord & validateDynamoDBStreamEventRecord functions
  • Added many new typedefs to type-defs.js
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