diff --git a/src/components/listing-parts/bundles.astro b/src/components/listing-parts/bundles.astro index 4f38fcb..7d2b317 100644 --- a/src/components/listing-parts/bundles.astro +++ b/src/components/listing-parts/bundles.astro @@ -40,15 +40,7 @@ const hasBundleIdentifiers = Array.isArray( listing.bundles )
- { listing.bundles.map( ( [ bundleIdentifier, unsortedVersions ] ) => { - // console.log( 'unsortedVersions', Object.entries( unsortedVersions )[0] ) - // Sort versions by semver - const versions = Object.entries( unsortedVersions ).sort( ( [ aVersionRaw ], [ bVersionRaw ] ) => { - // const aVersion = aVersionRaw || '0.0.0' - // const bVersion = bVersionRaw || '0.0.0' - - return semver.compare( bVersionRaw, aVersionRaw ) - } ) + { listing.bundles.map( ( [ bundleIdentifier, versions ] ) => { return (
{ versions.map( ( [ version, report ] ) => ( -
-
v{ version }
-
-
- { getStatusOfScan( report, false ) } -
-
- 🖥 Supported Architectures { supportedArchitectures( report ).join(', ') } -
+
+
v{ version }
+
+
+ { getStatusOfScan( report, false ) } +
+
+ 🖥 Supported Architectures { supportedArchitectures( report ).join(', ') }
-
- Full Info Plist -
{ JSON.stringify( report['Info Plist'], undefined, 2) }
-
-
- Full Meta Details -
{ JSON.stringify( report['Macho Meta'], undefined, 2) }
-
+
+ Full Info Plist +
{ JSON.stringify( report['Info Plist'], undefined, 2) }
+
+
+ Full Meta Details +
{ JSON.stringify( report['Macho Meta'], undefined, 2) }
+
+
)) }