construct-hub 0.4.377 → 0.4.378

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/.jsii CHANGED
@@ -20131,6 +20131,6 @@
20131
20131
  "symbolId": "src/package-sources/npmjs:NpmJsProps"
20132
20132
  }
20133
20133
  },
20134
- "version": "0.4.377",
20135
- "fingerprint": "CWHjlxcbL9nRKURez6ZOnxoxAyTRt3cobkFEwbQXSKs="
20134
+ "version": "0.4.378",
20135
+ "fingerprint": "/M87KDawFnsnbbMH1uwSheIXZGxaL+j8fifu62s2sAk="
20136
20136
  }
@@ -21752,7 +21752,7 @@ var require_dist_cjs71 = __commonJS({
21752
21752
  MetricsFilter: () => MetricsFilter,
21753
21753
  MetricsStatus: () => MetricsStatus,
21754
21754
  NoSuchBucket: () => NoSuchBucket,
21755
- NoSuchKey: () => NoSuchKey,
21755
+ NoSuchKey: () => NoSuchKey2,
21756
21756
  NoSuchUpload: () => NoSuchUpload,
21757
21757
  NotFound: () => NotFound3,
21758
21758
  ObjectAlreadyInActiveTierError: () => ObjectAlreadyInActiveTierError,
@@ -22365,7 +22365,7 @@ var require_dist_cjs71 = __commonJS({
22365
22365
  }
22366
22366
  };
22367
22367
  __name(_NoSuchKey, "NoSuchKey");
22368
- var NoSuchKey = _NoSuchKey;
22368
+ var NoSuchKey2 = _NoSuchKey;
22369
22369
  var ObjectAttributes = {
22370
22370
  CHECKSUM: "Checksum",
22371
22371
  ETAG: "ETag",
@@ -26382,7 +26382,7 @@ var require_dist_cjs71 = __commonJS({
26382
26382
  var de_NoSuchKeyRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
26383
26383
  const contents = (0, import_smithy_client5.map)({});
26384
26384
  const data = parsedOutput.body;
26385
- const exception = new NoSuchKey({
26385
+ const exception = new NoSuchKey2({
26386
26386
  $metadata: deserializeMetadata(parsedOutput),
26387
26387
  ...contents
26388
26388
  });
@@ -65440,7 +65440,7 @@ var getPackageReleaseNotes = async (packageName, packageVersion) => {
65440
65440
  console.log("release notes:", releaseNotes);
65441
65441
  return releaseNotes;
65442
65442
  } catch (error) {
65443
- if (error instanceof import_client_s33.NotFound || error.name === "NotFound" || error.statusCode === 404) {
65443
+ if (error instanceof import_client_s33.NotFound || error.name === "NotFound" || error instanceof import_client_s33.NoSuchKey || error.name === "NoSuchKey") {
65444
65444
  return "No release notes";
65445
65445
  }
65446
65446
  throw error;