@aws-sdk/lib-dynamodb 3.848.0 → 3.850.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js
CHANGED
|
@@ -148,8 +148,18 @@ var DynamoDBDocumentClientCommand = class extends import_smithy_client.Command {
|
|
|
148
148
|
this.clientCommand.middlewareStack.addRelativeTo(
|
|
149
149
|
(next, context) => async (args) => {
|
|
150
150
|
(0, import_core.setFeature)(context, "DDB_MAPPER", "d");
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
return next({
|
|
152
|
+
...args,
|
|
153
|
+
/**
|
|
154
|
+
* We overwrite `args.input` at this middleware, but do not
|
|
155
|
+
* mutate the args object itself, which is initially the Command instance.
|
|
156
|
+
*
|
|
157
|
+
* The reason for this is to prevent mutations to the Command instance's inputs
|
|
158
|
+
* from being carried over if the Command instance is reused in a new
|
|
159
|
+
* request.
|
|
160
|
+
*/
|
|
161
|
+
input: marshallInput(args.input, this.inputKeyNodes, marshallOptions3)
|
|
162
|
+
});
|
|
153
163
|
},
|
|
154
164
|
{
|
|
155
165
|
name: "DocumentMarshall",
|
|
@@ -8,8 +8,10 @@ export class DynamoDBDocumentClientCommand extends $Command {
|
|
|
8
8
|
unmarshallOptions.convertWithoutMapWrapper = unmarshallOptions.convertWithoutMapWrapper ?? true;
|
|
9
9
|
this.clientCommand.middlewareStack.addRelativeTo((next, context) => async (args) => {
|
|
10
10
|
setFeature(context, "DDB_MAPPER", "d");
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
return next({
|
|
12
|
+
...args,
|
|
13
|
+
input: marshallInput(args.input, this.inputKeyNodes, marshallOptions),
|
|
14
|
+
});
|
|
13
15
|
}, {
|
|
14
16
|
name: "DocumentMarshall",
|
|
15
17
|
relation: "before",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/lib-dynamodb",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.850.0",
|
|
4
4
|
"description": "The document client simplifies working with items in Amazon DynamoDB by abstracting away the notion of attribute values.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -15,9 +15,11 @@
|
|
|
15
15
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
16
16
|
"extract:docs": "api-extractor run --local",
|
|
17
17
|
"test": "yarn g:vitest run",
|
|
18
|
-
"test:e2e": "yarn g:vitest run -c vitest.config.e2e.ts --mode development",
|
|
19
18
|
"test:watch": "yarn g:vitest watch",
|
|
20
|
-
"test:e2e
|
|
19
|
+
"test:e2e": "yarn g:vitest run -c vitest.config.e2e.ts --mode development",
|
|
20
|
+
"test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.ts",
|
|
21
|
+
"test:integration": "yarn g:vitest run -c vitest.config.integ.ts --mode development",
|
|
22
|
+
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.ts"
|
|
21
23
|
},
|
|
22
24
|
"engines": {
|
|
23
25
|
"node": ">=18.0.0"
|