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 Compare versions

Comparing version 5.0.17 to 5.0.18

dynamodb-doc-client-utils.js

0

api-lambdas.js

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

2

package.json
{
"name": "aws-core-utils",
"version": "5.0.17",
"version": "5.0.18",
"description": "Core utilities for working with Amazon Web Services (AWS), including ARNs, regions, stages, Lambdas, AWS errors, stream events, Kinesis, DynamoDB.DocumentClients, etc.",

@@ -5,0 +5,0 @@ "author": "Byron du Preez",

@@ -1,2 +0,2 @@

# aws-core-utils v5.0.17
# aws-core-utils v5.0.18

@@ -18,2 +18,4 @@ Core utilities for working with Amazon Web Services (AWS), including ARNs, regions, stages, Lambdas, AWS errors, stream events, Kinesis, DynamoDB.DocumentClients, etc.

- A module-scope cache of AWS.DynamoDB.DocumentClient instances by region for Lambda.
- dynamodb-doc-client-utils.js
- Utilities for working with AWS DynamoDB.DocumentClient.
- dynamodb-utils.js

@@ -392,2 +394,7 @@ - Utilities for working with AWS DynamoDB.

### 5.0.18
- Back-ported add of new `dynamodb-doc-client-utils` module
- Back-ported changes to `type-defs` module:
- Added `DynamoDBGetItemOpts`, `DynamoDBGetItemResult`, `DynamoDBQueryOpts`, `DynamoDBQueryResult` & `ConsumedCapacity` type definitions
### 5.0.17

@@ -394,0 +401,0 @@ - Fixed critical module-scope defects in `generateHandlerFunction` function in `api-lambdas` module

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

{
"name": "aws-core-utils-tests",
"description": "Unit tests for aws-core-utils modules",
"version": "5.0.17",
"version": "5.0.18",
"author": "Byron du Preez",

@@ -14,2 +14,3 @@ "license": "Apache-2.0",

"devDependencies": {
"aws-core-test-utils": "1.0.0",
"tape": "^4.6.3",

@@ -16,0 +17,0 @@ "uuid": "^3.0.1"

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -189,1 +189,45 @@ 'use strict';

// Back-ported type definitions
/**
* @typedef {Object} DynamoDBGetOpts - a selection of DynamoDB.DocumentClient `get` method param options to use (other than TableName & Key & legacy parameters)
* @property {boolean|undefined} [ConsistentRead] - whether to do a consistent read to obtain a strongly consistent result or not (NB: GSIs ONLY support eventually consistent reads)
* @property {string|undefined} [ProjectionExpression] - an optional string that identifies one or more attributes to retrieve from the table
* @property {Object|undefined} [ExpressionAttributeNames] - optional one or more substitution tokens for attribute names in an expression
* @property {'NONE'|'INDEXES'|'TOTAL'|undefined} [ReturnConsumedCapacity] - determines the level of detail about provisioned throughput consumption that is returned in the response
*/
/**
* @typedef {Object} DynamoDBQueryOpts - a selection of DynamoDB Query options to use (other than TableName, [IndexName], KeyConditionExpression, ProjectionExpression, FilterExpression, ExpressionAttributeNames, ExpressionAttributeValues & legacy parameters)
* @property {Object|undefined} [ExclusiveStartKey] - the optional exclusive start key from which to continue a previous query
* @property {number|undefined} [Limit] - the optional number of results to which to limit the query
* @property {boolean|undefined} [ConsistentRead] - whether to do a consistent read to obtain a strongly consistent result or not (NB: GSIs ONLY support eventually consistent reads)
* @property {boolean|undefined} [ReturnConsumedCapacity] - whether to return consumed capacity or not
* @property {boolean|undefined} [ScanIndexForward] - use this to get results in forward or reverse order, by sort key
* @property {'ALL_ATTRIBUTES'|'ALL_PROJECTED_ATTRIBUTES'|'SPECIFIC_ATTRIBUTES'|'COUNT'|undefined} [Select] - the selected type of result(s) to return
* @property {string|undefined} [ProjectionExpression] - an optional string that identifies one or more attributes to retrieve from the table
* @property {string|undefined} [FilterExpression] - an optional string that contains conditions that DynamoDB applies after the Query operation, but before the data is returned
* @property {Object|undefined} [ExpressionAttributeNames] - optional one or more substitution tokens for attribute names in an expression
* @property {Object|undefined} [ExpressionAttributeValues] - optional one or more substitution tokens for attribute names in an expression
*/
/**
* @typedef {Object} DynamoDBGetResult.<I> - a DynamoDB.DocumentClient `get` result (or DynamoDB `getItem` result)
* @property {I|undefined} [Item] - the returned item (if found) or undefined (if not)
* @property {ConsumedCapacity|undefined} [ConsumedCapacity] - the capacity units consumed by the get operation (if requested)
* @template I - the type of item returned in the `Item` property of the `get` result
*/
/**
* @typedef {Object} DynamoDBQueryResult.<I> - a DynamoDB.DocumentClient `query` result (or DynamoDB `query` result)
* @property {Array.<I>} Items - the returned items
* @property {number} Count - the number of items returned
* @property {number} ScannedCount - the number of items scanned before applying any filter
* @property {Object|undefined} [LastEvaluatedKey] - the last evaluated key (if any) to be used to get next "page"
* @property {ConsumedCapacity|undefined} [ConsumedCapacity] - the capacity units consumed by the query operation (if requested)
* @template I - the type of items returned in the `Items` property of the `query` result
*/
/**
* @typedef {Object} ConsumedCapacity - the capacity units consumed by an operation
*/

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