@aws-sdk/lib-dynamodb
Advanced tools
Comparing version
@@ -151,4 +151,14 @@ "use strict"; | ||
(0, import_core.setFeature)(context, "DDB_MAPPER", "d"); | ||
args.input = marshallInput(args.input, this.inputKeyNodes, marshallOptions3); | ||
return next(args); | ||
return next({ | ||
...args, | ||
/** | ||
* We overwrite `args.input` at this middleware, but do not | ||
* mutate the args object itself, which is initially the Command instance. | ||
* | ||
* The reason for this is to prevent mutations to the Command instance's inputs | ||
* from being carried over if the Command instance is reused in a new | ||
* request. | ||
*/ | ||
input: marshallInput(args.input, this.inputKeyNodes, marshallOptions3) | ||
}); | ||
}, | ||
@@ -155,0 +165,0 @@ { |
@@ -11,4 +11,6 @@ import { setFeature } from "@aws-sdk/core"; | ||
setFeature(context, "DDB_MAPPER", "d"); | ||
args.input = marshallInput(args.input, this.inputKeyNodes, marshallOptions); | ||
return next(args); | ||
return next({ | ||
...args, | ||
input: marshallInput(args.input, this.inputKeyNodes, marshallOptions), | ||
}); | ||
}, { | ||
@@ -15,0 +17,0 @@ name: "DocumentMarshall", |
{ | ||
"name": "@aws-sdk/lib-dynamodb", | ||
"version": "3.848.0", | ||
"version": "3.850.0", | ||
"description": "The document client simplifies working with items in Amazon DynamoDB by abstracting away the notion of attribute values.", | ||
@@ -18,5 +18,7 @@ "main": "./dist-cjs/index.js", | ||
"test": "yarn g:vitest run", | ||
"test:watch": "yarn g:vitest watch", | ||
"test:e2e": "yarn g:vitest run -c vitest.config.e2e.ts --mode development", | ||
"test:watch": "yarn g:vitest watch", | ||
"test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.ts" | ||
"test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.ts", | ||
"test:integration": "yarn g:vitest run -c vitest.config.integ.ts --mode development", | ||
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.ts" | ||
}, | ||
@@ -23,0 +25,0 @@ "engines": { |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
213331
0.29%4859
0.25%0
-100%