@aws-sdk/util-dynamodb 3.211.0 → 3.212.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.
|
@@ -57,7 +57,4 @@ const convertNumber = (numString, options) => {
|
|
|
57
57
|
const convertString = (stringValue) => stringValue;
|
|
58
58
|
const convertBinary = (binaryValue) => binaryValue;
|
|
59
59
|
const convertList = (list, options) => list.map((item) => (0, exports.convertToNative)(item, options));
|
|
60
|
-
const convertMap = (map, options) => Object.entries(map).reduce((acc, [key, value]) => ({
|
|
61
|
-
...acc,
|
|
62
|
-
[key]: (0, exports.convertToNative)(value, options),
|
|
63
|
-
}), {});
|
|
60
|
+
const convertMap = (map, options) => Object.entries(map).reduce((acc, [key, value]) => ((acc[key] = (0, exports.convertToNative)(value, options)), acc), {});
|
|
@@ -53,7 +53,4 @@ const convertNumber = (numString, options) => {
|
|
|
53
53
|
const convertString = (stringValue) => stringValue;
|
|
54
54
|
const convertBinary = (binaryValue) => binaryValue;
|
|
55
55
|
const convertList = (list, options) => list.map((item) => convertToNative(item, options));
|
|
56
|
-
const convertMap = (map, options) => Object.entries(map).reduce((acc, [key, value]) => ({
|
|
57
|
-
...acc,
|
|
58
|
-
[key]: convertToNative(value, options),
|
|
59
|
-
}), {});
|
|
56
|
+
const convertMap = (map, options) => Object.entries(map).reduce((acc, [key, value]) => ((acc[key] = convertToNative(value, options)), acc), {});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-dynamodb",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.212.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"tslib": "^2.3.1"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@aws-sdk/client-dynamodb": "3.
|
|
26
|
+
"@aws-sdk/client-dynamodb": "3.212.0",
|
|
27
27
|
"@tsconfig/recommended": "1.0.1",
|
|
28
28
|
"concurrently": "7.0.0",
|
|
29
29
|
"downlevel-dts": "0.10.1",
|