construct-hub 0.4.373 → 0.4.374

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.373",
20135
- "fingerprint": "qbx4A5TQYdkGIYRaItzEaVl+tBq139rmWi41zqihysw="
20134
+ "version": "0.4.374",
20135
+ "fingerprint": "A48CbkBVoj8FiiRnVL7f2CDHSFNc+GOXT9hdRdy6jbs="
20136
20136
  }
@@ -54761,6 +54761,7 @@ async function appendPackage(packages, pkgKey, bucketName, denyList) {
54761
54761
  const pkg = await S3_CLIENT.send(
54762
54762
  new import_client_s33.GetObjectCommand({ Bucket: bucketName, Key: pkgKey })
54763
54763
  );
54764
+ const pkgData = await pkg.Body.transformToByteArray();
54764
54765
  const metadataKey = pkgKey.replace(
54765
54766
  PACKAGE_KEY_SUFFIX,
54766
54767
  METADATA_KEY_SUFFIX
@@ -54769,7 +54770,7 @@ async function appendPackage(packages, pkgKey, bucketName, denyList) {
54769
54770
  new import_client_s33.GetObjectCommand({ Bucket: bucketName, Key: metadataKey })
54770
54771
  );
54771
54772
  const manifest = await new Promise((ok, ko) => {
54772
- (0, import_zlib.gunzip)(Buffer.from(pkg.Body), (err, tar) => {
54773
+ (0, import_zlib.gunzip)(pkgData, (err, tar) => {
54773
54774
  if (err) {
54774
54775
  return ko(err);
54775
54776
  }