@aws-sdk/lib-dynamodb
Advanced tools
Comparing version 3.648.0 to 3.649.0
@@ -787,2 +787,3 @@ "use strict"; | ||
constructor(client, translateConfig) { | ||
var _a; | ||
super(client.config); | ||
@@ -792,2 +793,7 @@ this.config = client.config; | ||
this.middlewareStack = client.middlewareStack; | ||
if ((_a = this.config) == null ? void 0 : _a.cacheMiddleware) { | ||
throw new Error( | ||
"@aws-sdk/lib-dynamodb - cacheMiddleware=true is not compatible with the DynamoDBDocument client. This option must be set to false." | ||
); | ||
} | ||
} | ||
@@ -794,0 +800,0 @@ static from(client, translateConfig) { |
@@ -9,2 +9,5 @@ import { Client as __Client } from "@smithy/smithy-client"; | ||
this.middlewareStack = client.middlewareStack; | ||
if (this.config?.cacheMiddleware) { | ||
throw new Error("@aws-sdk/lib-dynamodb - cacheMiddleware=true is not compatible with the DynamoDBDocument client. This option must be set to false."); | ||
} | ||
} | ||
@@ -11,0 +14,0 @@ static from(client, translateConfig) { |
{ | ||
"name": "@aws-sdk/lib-dynamodb", | ||
"version": "3.648.0", | ||
"version": "3.649.0", | ||
"description": "The document client simplifies working with items in Amazon DynamoDB by abstracting away the notion of attribute values.", | ||
@@ -29,13 +29,13 @@ "main": "./dist-cjs/index.js", | ||
"dependencies": { | ||
"@aws-sdk/util-dynamodb": "3.648.0", | ||
"@smithy/core": "^2.4.0", | ||
"@smithy/smithy-client": "^3.2.0", | ||
"@smithy/types": "^3.3.0", | ||
"@aws-sdk/util-dynamodb": "3.649.0", | ||
"@smithy/core": "^2.4.1", | ||
"@smithy/smithy-client": "^3.3.0", | ||
"@smithy/types": "^3.4.0", | ||
"tslib": "^2.6.2" | ||
}, | ||
"peerDependencies": { | ||
"@aws-sdk/client-dynamodb": "^3.648.0" | ||
"@aws-sdk/client-dynamodb": "^3.649.0" | ||
}, | ||
"devDependencies": { | ||
"@aws-sdk/client-dynamodb": "3.648.0", | ||
"@aws-sdk/client-dynamodb": "3.649.0", | ||
"@tsconfig/recommended": "1.0.1", | ||
@@ -42,0 +42,0 @@ "@types/node": "^16.18.96", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
210732
4736
+ Added@aws-sdk/util-dynamodb@3.649.0(transitive)
- Removed@aws-sdk/util-dynamodb@3.648.0(transitive)
Updated@smithy/core@^2.4.1
Updated@smithy/smithy-client@^3.3.0
Updated@smithy/types@^3.4.0