@anthusai/papyrus 5.43.0-next.53 → 5.43.0-next.55
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.
|
@@ -6,9 +6,8 @@ import * as ddb from "@aws-appsync/utils/dynamodb";
|
|
|
6
6
|
|
|
7
7
|
function clean(value) {
|
|
8
8
|
const out = {};
|
|
9
|
-
|
|
10
|
-
for (
|
|
11
|
-
const key = keys[index];
|
|
9
|
+
// The APPSYNC_JS runtime has no classic for loop and no ++; for...of is supported.
|
|
10
|
+
for (const key of Object.keys(value)) {
|
|
12
11
|
if (value[key] !== null && value[key] !== undefined) out[key] = value[key];
|
|
13
12
|
}
|
|
14
13
|
return out;
|
package/package.json
CHANGED
package/routes.manifest.json
CHANGED