@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
- const keys = Object.keys(value);
10
- for (let index = 0; index < keys.length; index++) {
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
@@ -521,7 +521,7 @@
521
521
  "optional": true
522
522
  }
523
523
  },
524
- "version": "5.43.0-next.53",
524
+ "version": "5.43.0-next.55",
525
525
  "dependencies": {
526
526
  "@aws-amplify/adapter-nextjs": "^1.7.3",
527
527
  "@aws-crypto/sha256-js": "5.2.0",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.43.0-next.53",
2
+ "version": "5.43.0-next.55",
3
3
  "routes": [
4
4
  {
5
5
  "file": "app/%5F_preview/[[...path]]/route.ts",