You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by "riemer.apache.org via commits" <co...@streampipes.apache.org> on 2026/10/31 21:20:02 UTC
(streampipes) branch add-extracted-sbom-to-ui created (now 5aabeefe0c)
This is an automated email from the ASF dual-hosted git repository.
dominikriemer pushed a change to branch add-extracted-sbom-to-ui
in repository https://gitbox.apache.org/repos/asf/streampipes.git
at 5aabeefe0c feat: Show project sbom in help
This branch includes the following new commits:
new 5aabeefe0c feat: Show project sbom in help
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(streampipes) 01/01: feat: Show project sbom in help
Posted by "riemer.apache.org via commits" <co...@streampipes.apache.org>.
This is an automated email from the ASF dual-hosted git repository.
dominikriemer pushed a commit to branch add-extracted-sbom-to-ui
in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit 5aabeefe0cd4e4ade74f23e605331ffd1c1bd307
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Sat Oct 31 22:18:30 2026 +0100
feat: Show project sbom in help
---
pom.xml | 39 +
ui/deployment/i18n/de.json | 15 +
ui/deployment/i18n/en.json | 15 +
ui/deployment/i18n/pl.json | 15 +
ui/nginx_config/default.conf | 5 +
ui/nginx_config/default.conf.template | 5 +
ui/package-lock.json | 1845 +++++++++++++++++++-
ui/package.json | 26 +-
ui/scripts/write-sbom-index.cjs | 277 +++
ui/scripts/write-sbom-index.test.cjs | 169 ++
ui/src/app/help/components/sbom/sbom-merge.spec.ts | 130 ++
ui/src/app/help/components/sbom/sbom-merge.ts | 87 +
.../app/help/components/sbom/sbom.component.html | 214 +++
.../app/help/components/sbom/sbom.component.scss | 81 +
ui/src/app/help/components/sbom/sbom.component.ts | 203 +++
ui/src/app/help/components/sbom/sbom.model.ts | 83 +
ui/src/app/help/components/sbom/sbom.service.ts | 49 +
ui/src/app/help/help.component.html | 63 +-
ui/src/app/help/help.component.ts | 35 +-
19 files changed, 3268 insertions(+), 88 deletions(-)
diff --git a/pom.xml b/pom.xml
index 5e87cb97fa..09d08e61fb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -137,6 +137,7 @@
<!-- Maven settings & dependencies -->
<apache-rat-plugin.version>0.16.1</apache-rat-plugin.version>
<checksum-maven-plugin.version>1.11</checksum-maven-plugin.version>
+ <cyclonedx-maven-plugin.version>2.9.3</cyclonedx-maven-plugin.version>
<checkstyle.version>14.1.0</checkstyle.version>
<extra-enforcer-rules.version>1.8.0</extra-enforcer-rules.version>
<formatter-maven-plugin.version>2.23.0</formatter-maven-plugin.version>
@@ -149,6 +150,9 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<dependency.locations.enabled>false</dependency.locations.enabled>
+
+ <!-- Set to true to skip the per-module CycloneDX SBOM (target/bom.json) -->
+ <sbom.skip>false</sbom.skip>
</properties>
<dependencyManagement>
@@ -1050,6 +1054,24 @@
<artifactId>typescript-generator-maven-plugin</artifactId>
<version>${typescript-generator-maven-plugin.version}</version>
</plugin>
+ <plugin>
+ <groupId>org.cyclonedx</groupId>
+ <artifactId>cyclonedx-maven-plugin</artifactId>
+ <version>${cyclonedx-maven-plugin.version}</version>
+ <configuration>
+ <skip>${sbom.skip}</skip>
+ <!-- Describe what ends up in the built jar: provided dependencies are not shipped -->
+ <includeProvidedScope>false</includeProvidedScope>
+ <includeTestScope>false</includeTestScope>
+ <!-- Service modules set maven.deploy.skip; still generate their SBOM -->
+ <skipNotDeployed>false</skipNotDeployed>
+ <!-- The SBOM is published through the UI, not as a Maven artifact -->
+ <skipAttach>true</skipAttach>
+ <outputFormat>json</outputFormat>
+ <outputName>bom</outputName>
+ <schemaVersion>1.6</schemaVersion>
+ </configuration>
+ </plugin>
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
@@ -1138,6 +1160,23 @@
<plugins>
+ <!--
+ Software bill of materials: every module writes target/bom.json (CycloneDX JSON).
+ ui/scripts/write-sbom-index.cjs picks selected modules up and publishes them with the UI.
+ -->
+ <plugin>
+ <groupId>org.cyclonedx</groupId>
+ <artifactId>cyclonedx-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>sbom</id>
+ <phase>package</phase>
+ <goals>
+ <goal>makeBom</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
diff --git a/ui/deployment/i18n/de.json b/ui/deployment/i18n/de.json
index 330c8657a4..466d1b4cdf 100644
--- a/ui/deployment/i18n/de.json
+++ b/ui/deployment/i18n/de.json
@@ -242,6 +242,7 @@
"Color used from min up to the low threshold.": "Farbe, die von Min bis zum niedrigen Schwellenwert verwendet wird.",
"Columns": "Spalten",
"Compatible Elements": "Kompatible Elemente",
+ "Component": "Komponente",
"Configuration": "Konfiguration",
"Configuration required": "Konfiguration erforderlich",
"Configure Element": "Element konfigurieren",
@@ -404,6 +405,7 @@
"Documentation": "Dokumentation",
"Documentation Link": "Dokumentations-Link",
"Download": "Download",
+ "Download CycloneDX JSON": "CycloneDX-JSON herunterladen",
"Download File": "Datei herunterladen",
"Download Format": "Download-Format",
"Download audit log": "Audit-Protokoll herunterladen",
@@ -539,6 +541,7 @@
"General": "Allgemein",
"General Settings": "Allgemeine Einstellungen",
"Generate and download new key pair": "Neues Schlüsselpaar generieren und herunterladen",
+ "Generated": "Erstellt am",
"Geo features": "Geo-Features",
"Geo features are used to better organize assets.": "Geo-Features dienen der besseren Organisation von Assets.",
"Get new sample": "Beispieldaten aktualisieren",
@@ -591,6 +594,8 @@
"Import target": "Importziel",
"Importing resources...": "Ressourcen importieren...",
"In case this account exists, you'll receive a mail with instructions to restore your password shortly.": "In dem Fall, dass dieses Konto existiert, erhalten Sie in Kürze eine E-Mail mit Anweisungen zur Wiederherstellung Ihres Passworts.",
+ "Included components": "Enthaltene Komponenten",
+ "Included in": "Enthalten in",
"Indicator": "Indikator",
"Indicator font size": "Schriftgröße des Indikators",
"Info": "Info",
@@ -667,6 +672,7 @@
"Leave entry empty": "Leer lassen",
"Left": "Links",
"Legacy multi-source chart": "Legacy-Diagramm mit mehreren Quellen",
+ "Licenses": "Lizenzen",
"Lifecycle": "Lebenszyklus",
"Light mode": "Hell",
"Limit": "Limit",
@@ -1036,6 +1042,7 @@
"Script failed. Review the error and run it again.": "Skript fehlgeschlagen. Prüfen Sie den Fehler und führen Sie es erneut aus.",
"Search": "Suche",
"Search charts": "Diagramme suchen",
+ "Search components": "Komponenten suchen",
"Search datasets": "Datensätze suchen",
"Searching for available extensions, please wait...": "Nach verfügbaren Extensions suchen, bitte warten...",
"Second": "Sekunde",
@@ -1130,7 +1137,9 @@
"Slide view": "Folienansicht",
"Slider": "Slider",
"Slides": "Folien",
+ "Software Bill of Materials": "Software-Stückliste (SBOM)",
"Some datasets could not be processed. Retry the failed datasets below.": "Einige Datensätze konnten nicht verarbeitet werden. Versuchen Sie es für die unten aufgeführten Datensätze erneut.",
+ "Some documents could not be loaded:": "Einige Dokumente konnten nicht geladen werden:",
"Some fields used by this chart no longer exist in the dataset.": "Einige von diesem Diagramm verwendete Felder existieren nicht mehr im Dataset.",
"Sorry, there are no adapters that are currently idle": "Leider gibt es derzeit keine inaktiven Adapter",
"Sorry, there are no adapters that are currently running": "Leider gibt es derzeit keine laufenden Adapter",
@@ -1223,6 +1232,7 @@
"The input data stream does not satisfy the requirements specified by the data processor.": "Der Eingabedatenstrom erfüllt nicht die vom Datenprozessor festgelegten Anforderungen.",
"The message as shown in the top right corner of every page. Longer messages are cut off after about 60 characters and shown in full on hover": "Die Meldung, wie sie oben rechts auf jeder Seite angezeigt wird. Längere Meldungen werden nach etwa 60 Zeichen abgeschnitten und beim Überfahren mit der Maus vollständig angezeigt",
"The original event is used without transformation. Your script is preserved.": "Das Originalereignis wird ohne Transformation verwendet. Ihr Skript bleibt erhalten.",
+ "The software bill of materials could not be loaded. Try refreshing.": "Die Software-Stückliste konnte nicht geladen werden. Bitte aktualisieren.",
"The timestamp must be a UNIX timestamp in milliseconds. Edit the timestamp field or add an ingestion timestamp.": "Der Zeitstempel muss einem UNIX-Zeitstempel in Millisekunden entsprechen. Zeitstempelfeld markieren oder einen Zeitstempel im Skripteditor hinzufügen.",
"The value should be a number": "Der Wert sollte eine Zahl sein",
"There was an error while guessing the schema of your configured data stream": "Beim Erkennen des Schemas der Datenquelle ist ein Fehler aufgetreten",
@@ -1230,10 +1240,12 @@
"These are default values - to use features such as email you need to store these values once.": "Dies sind lediglich Platzhalter - um Funktionen wie E-Mails zu nutzen, müssen diese Werte einmal abspeichert werden.",
"These elements can't be connected.": "Diese Elemente können nicht verbunden werden.",
"These fields should be renamed:": "Diese Felder sollten umbenannt werden:",
+ "Third-party components shipped with this installation, in CycloneDX format.": "Mit dieser Installation ausgelieferte Drittanbieter-Komponenten im CycloneDX-Format.",
"This action cannot be reversed!": "Diese Aktion kann nicht rückgängig gemacht werden!",
"This action cannot be undone!": "Diese Aktion kann nicht rückgängig gemacht werden!",
"This adapter is used by": "Dieser Adapter wird verwendet von",
"This audit event is no longer available.": "Dieses Audit-Ereignis ist nicht mehr verfügbar.",
+ "This build does not include a software bill of materials. It is generated by the production build when the Maven SBOM files are available.": "Dieser Build enthält keine Software-Stückliste. Sie wird vom Produktions-Build erzeugt, wenn die Maven-SBOM-Dateien vorliegen.",
"This cannot be undone.": "Dies kann nicht rückgängig gemacht werden.",
"This chart is missing required fields - choose another chart type or add additional fields.": "In diesem Diagramm fehlen erforderliche Felder - wählen Sie einen anderen Diagrammtyp oder fügen Sie zusätzliche Felder hinzu.",
"This chart is outdated and must be migrated.": "Dieses Diagramm ist veraltet und muss migriert werden.",
@@ -1363,6 +1375,7 @@
"Value where the medium color range ends and high begins.": "Wert, bei dem der mittlere Farbbereich endet und der hohe beginnt.",
"Values": "Werte",
"Vector": "Vektor",
+ "Version": "Version",
"Versions": "Versionen",
"View API Docs": "API-Doku anzeigen",
"View Documentation": "Dokumentation anzeigen",
@@ -1411,8 +1424,10 @@
"available": "verfügbar",
"chart available": "Diagramm verfügbar",
"charts available": "Diagramme verfügbar",
+ "components": "Komponenten",
"days": "Tage",
"delete": "löschen",
+ "distinct components selected": "verschiedene Komponenten ausgewählt",
"error": "Fehler",
"install": "installieren",
"left axis": "linke Achse",
diff --git a/ui/deployment/i18n/en.json b/ui/deployment/i18n/en.json
index 0cb6799dc3..4a078bc89e 100644
--- a/ui/deployment/i18n/en.json
+++ b/ui/deployment/i18n/en.json
@@ -242,6 +242,7 @@
"Color used from min up to the low threshold.": null,
"Columns": null,
"Compatible Elements": null,
+ "Component": null,
"Configuration": null,
"Configuration required": null,
"Configure Element": null,
@@ -404,6 +405,7 @@
"Documentation": null,
"Documentation Link": null,
"Download": null,
+ "Download CycloneDX JSON": null,
"Download File": null,
"Download Format": null,
"Download audit log": null,
@@ -539,6 +541,7 @@
"General": null,
"General Settings": null,
"Generate and download new key pair": null,
+ "Generated": null,
"Geo features": null,
"Geo features are used to better organize assets.": null,
"Get new sample": null,
@@ -591,6 +594,8 @@
"Import target": null,
"Importing resources...": null,
"In case this account exists, you'll receive a mail with instructions to restore your password shortly.": null,
+ "Included components": null,
+ "Included in": null,
"Indicator": null,
"Indicator font size": null,
"Info": null,
@@ -667,6 +672,7 @@
"Leave entry empty": null,
"Left": null,
"Legacy multi-source chart": null,
+ "Licenses": null,
"Lifecycle": null,
"Light mode": null,
"Limit": null,
@@ -1036,6 +1042,7 @@
"Script failed. Review the error and run it again.": null,
"Search": null,
"Search charts": null,
+ "Search components": null,
"Search datasets": null,
"Searching for available extensions, please wait...": null,
"Second": null,
@@ -1130,7 +1137,9 @@
"Slide view": null,
"Slider": null,
"Slides": null,
+ "Software Bill of Materials": null,
"Some datasets could not be processed. Retry the failed datasets below.": null,
+ "Some documents could not be loaded:": null,
"Some fields used by this chart no longer exist in the dataset.": null,
"Sorry, there are no adapters that are currently idle": null,
"Sorry, there are no adapters that are currently running": null,
@@ -1223,6 +1232,7 @@
"The input data stream does not satisfy the requirements specified by the data processor.": null,
"The message as shown in the top right corner of every page. Longer messages are cut off after about 60 characters and shown in full on hover": null,
"The original event is used without transformation. Your script is preserved.": null,
+ "The software bill of materials could not be loaded. Try refreshing.": null,
"The timestamp must be a UNIX timestamp in milliseconds. Edit the timestamp field or add an ingestion timestamp.": null,
"The value should be a number": null,
"There was an error while guessing the schema of your configured data stream": null,
@@ -1230,10 +1240,12 @@
"These are default values - to use features such as email you need to store these values once.": null,
"These elements can't be connected.": null,
"These fields should be renamed:": null,
+ "Third-party components shipped with this installation, in CycloneDX format.": null,
"This action cannot be reversed!": null,
"This action cannot be undone!": null,
"This adapter is used by": null,
"This audit event is no longer available.": "This audit event is no longer available.",
+ "This build does not include a software bill of materials. It is generated by the production build when the Maven SBOM files are available.": null,
"This cannot be undone.": null,
"This chart is missing required fields - choose another chart type or add additional fields.": null,
"This chart is outdated and must be migrated.": null,
@@ -1363,6 +1375,7 @@
"Value where the medium color range ends and high begins.": null,
"Values": null,
"Vector": null,
+ "Version": null,
"Versions": null,
"View API Docs": null,
"View Documentation": null,
@@ -1411,8 +1424,10 @@
"available": null,
"chart available": null,
"charts available": null,
+ "components": null,
"days": null,
"delete": null,
+ "distinct components selected": null,
"error": null,
"install": null,
"left axis": null,
diff --git a/ui/deployment/i18n/pl.json b/ui/deployment/i18n/pl.json
index d24bb1e2b8..4ff0f740a8 100644
--- a/ui/deployment/i18n/pl.json
+++ b/ui/deployment/i18n/pl.json
@@ -242,6 +242,7 @@
"Color used from min up to the low threshold.": "Kolor używany od minimum do niskiego progu.",
"Columns": "Kolumny",
"Compatible Elements": "Kompatybilne elementy",
+ "Component": "Komponent",
"Configuration": "Konfiguracja",
"Configuration required": "Wymagana konfiguracja",
"Configure Element": "Skonfiguruj element",
@@ -404,6 +405,7 @@
"Documentation": "Dokumentacja",
"Documentation Link": "Link do dokumentacji",
"Download": "Pobierz",
+ "Download CycloneDX JSON": "Pobierz CycloneDX JSON",
"Download File": "Pobierz plik",
"Download Format": "Format pobierania",
"Download audit log": "Pobierz dziennik audytu",
@@ -539,6 +541,7 @@
"General": "Ogólne",
"General Settings": "Ustawienia ogólne",
"Generate and download new key pair": "Wygeneruj i pobierz nową parę kluczy",
+ "Generated": "Wygenerowano",
"Geo features": "Funkcje geograficzne",
"Geo features are used to better organize assets.": "Funkcje geograficzne służą do lepszej organizacji zasobów.",
"Get new sample": "Pobierz nową próbkę",
@@ -591,6 +594,8 @@
"Import target": "Cel importu",
"Importing resources...": "Importowanie zasobów...",
"In case this account exists, you'll receive a mail with instructions to restore your password shortly.": "Jeśli to konto istnieje, wkrótce otrzymasz wiadomość z instrukcjami przywrócenia hasła.",
+ "Included components": "Uwzględnione komponenty",
+ "Included in": "Zawarte w",
"Indicator": "Wskaźnik",
"Indicator font size": "Rozmiar czcionki wskaźnika",
"Info": "Informacje",
@@ -667,6 +672,7 @@
"Leave entry empty": "Pozostaw puste",
"Left": "Lewa",
"Legacy multi-source chart": "Starszy wykres z wieloma źródłami",
+ "Licenses": "Licencje",
"Lifecycle": "Cykl życia",
"Light mode": "Jasny",
"Limit": "Limit",
@@ -1036,6 +1042,7 @@
"Script failed. Review the error and run it again.": "Skrypt nie powiódł się. Sprawdź błąd i uruchom go ponownie.",
"Search": "Szukaj",
"Search charts": "Szukaj wykresów",
+ "Search components": "Szukaj komponentów",
"Search datasets": "Szukaj zbiorów danych",
"Searching for available extensions, please wait...": "Wyszukiwanie dostępnych rozszerzeń, proszę czekać...",
"Second": "Sekunda",
@@ -1130,7 +1137,9 @@
"Slide view": "Widok slajdów",
"Slider": "Suwak",
"Slides": "Slajdy",
+ "Software Bill of Materials": "Zestawienie komponentów oprogramowania (SBOM)",
"Some datasets could not be processed. Retry the failed datasets below.": "Nie udało się przetworzyć niektórych zbiorów danych. Ponów próbę dla poniższych zbiorów.",
+ "Some documents could not be loaded:": "Niektórych dokumentów nie udało się wczytać:",
"Some fields used by this chart no longer exist in the dataset.": "Niektóre pola używane przez ten wykres nie istnieją już w zbiorze danych.",
"Sorry, there are no adapters that are currently idle": "Przepraszamy, obecnie nie ma bezczynnych adapterów",
"Sorry, there are no adapters that are currently running": "Przepraszamy, obecnie nie ma uruchomionych adapterów",
@@ -1223,6 +1232,7 @@
"The input data stream does not satisfy the requirements specified by the data processor.": "Strumień danych wejściowych nie spełnia wymagań określonych przez procesor danych.",
"The message as shown in the top right corner of every page. Longer messages are cut off after about 60 characters and shown in full on hover": "Komunikat wyświetlany w prawym górnym rogu każdej strony. Dłuższe komunikaty są skracane po około 60 znakach i wyświetlane w całości po najechaniu kursorem",
"The original event is used without transformation. Your script is preserved.": "Oryginalne zdarzenie jest używane bez przekształcania. Skrypt zostaje zachowany.",
+ "The software bill of materials could not be loaded. Try refreshing.": "Nie udało się wczytać zestawienia komponentów oprogramowania. Spróbuj odświeżyć.",
"The timestamp must be a UNIX timestamp in milliseconds. Edit the timestamp field or add an ingestion timestamp.": "Znacznik czasu musi być znacznikiem UNIX w milisekundach. Edytuj pole znacznika czasu lub dodaj znacznik czasu konsumowania zdarzenia.",
"The value should be a number": "Wartość powinna być liczbą",
"There was an error while guessing the schema of your configured data stream": "Wystąpił błąd podczas rozpoznawania schematu skonfigurowanego strumień danych",
@@ -1230,10 +1240,12 @@
"These are default values - to use features such as email you need to store these values once.": "To są wartości domyślne — aby używać funkcji, takich jak e-mail, musisz zapisać te wartości.",
"These elements can't be connected.": "Tych elementów nie można połączyć.",
"These fields should be renamed:": "Należy zmienić nazwy tych pól:",
+ "Third-party components shipped with this installation, in CycloneDX format.": "Komponenty firm trzecich dostarczane z tą instalacją, w formacie CycloneDX.",
"This action cannot be reversed!": "Tego działania nie można odwrócić!",
"This action cannot be undone!": "Tego działania nie można cofnąć!",
"This adapter is used by": "Ten adapter jest używany przez",
"This audit event is no longer available.": "To zdarzenie audytu nie jest już dostępne.",
+ "This build does not include a software bill of materials. It is generated by the production build when the Maven SBOM files are available.": "Ta kompilacja nie zawiera zestawienia komponentów oprogramowania. Jest ono generowane podczas kompilacji produkcyjnej, gdy dostępne są pliki SBOM z Mavena.",
"This cannot be undone.": "Tego nie można cofnąć.",
"This chart is missing required fields - choose another chart type or add additional fields.": "W tym wykresie brakuje wymaganych pól — wybierz inny typ wykresu lub dodaj dodatkowe pola.",
"This chart is outdated and must be migrated.": "Ten wykres jest przestarzały i musi zostać zmigrowany.",
@@ -1363,6 +1375,7 @@
"Value where the medium color range ends and high begins.": "Wartość, przy której kończy się średni zakres kolorów, a zaczyna wysoki.",
"Values": "Wartości",
"Vector": "Wektor",
+ "Version": "Wersja",
"Versions": "Wersje",
"View API Docs": "Zobacz dokumentację API",
"View Documentation": "Wyswietl dokumentacje",
@@ -1411,8 +1424,10 @@
"available": "dostępne",
"chart available": "wykres dostępny",
"charts available": "wykresy dostępne",
+ "components": "komponentów",
"days": "dni",
"delete": "usuń",
+ "distinct components selected": "wybranych unikalnych komponentów",
"error": "błąd",
"install": "zainstaluj",
"left axis": "lewa oś",
diff --git a/ui/nginx_config/default.conf b/ui/nginx_config/default.conf
index a2bfd3c18f..a789656201 100644
--- a/ui/nginx_config/default.conf
+++ b/ui/nginx_config/default.conf
@@ -34,6 +34,11 @@ server {
add_header Cache-Control "no-store" always;
}
+ # Software bills of materials published by ui/scripts/write-sbom-index.cjs
+ location /sbom/ {
+ add_header Cache-Control "no-store" always;
+ }
+
# Enable gzip compression
gzip on;
gzip_static on;
diff --git a/ui/nginx_config/default.conf.template b/ui/nginx_config/default.conf.template
index d15505b6e3..ba95f38916 100644
--- a/ui/nginx_config/default.conf.template
+++ b/ui/nginx_config/default.conf.template
@@ -34,6 +34,11 @@ server {
add_header Cache-Control "no-store" always;
}
+ # Software bills of materials published by ui/scripts/write-sbom-index.cjs
+ location /sbom/ {
+ add_header Cache-Control "no-store" always;
+ }
+
# Enable gzip compression
gzip on;
gzip_static on;
diff --git a/ui/package-lock.json b/ui/package-lock.json
index 0db3b9e288..e314264d63 100644
--- a/ui/package-lock.json
+++ b/ui/package-lock.json
@@ -71,6 +71,7 @@
"@angular/build": "^22.2.5",
"@angular/cli": "^22.2.5",
"@angular/compiler-cli": "^22.2.4",
+ "@cyclonedx/cyclonedx-npm": "^6.0.1",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^10.0.1",
"@types/leaflet": "^1.9.0",
@@ -1733,6 +1734,98 @@
"node": ">=20.19.0"
}
},
+ "node_modules/@cyclonedx/cyclonedx-library": {
+ "version": "10.3.0",
+ "resolved": "https://registry.npmjs.org/@cyclonedx/cyclonedx-library/-/cyclonedx-library-10.3.0.tgz",
+ "integrity": "sha512-RIT28sp1U0PCHaaeF3yNRwk6Jig/XJ8UsYAVOMYaHQ+0VVOvsjcp0PTWQFLUqJFF8XMud+Kdq6G+wtDAh+QJFA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://owasp.org/donate/?reponame=www-project-cyclonedx&title=OWASP+CycloneDX"
+ }
+ ],
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=20.18.0"
+ },
+ "peerDependencies": {
+ "ajv": "^8.12.0",
+ "ajv-formats": "^3.0.1",
+ "ajv-formats-draft2019": "^1.6.1",
+ "libxmljs2": "^0.35||^0.37",
+ "packageurl-js": "*",
+ "spdx-expression-parse": "*",
+ "xmlbuilder2": "^3.0.2||^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "ajv": {
+ "optional": true
+ },
+ "ajv-formats": {
+ "optional": true
+ },
+ "ajv-formats-draft2019": {
+ "optional": true
+ },
+ "libxmljs2": {
+ "optional": true
+ },
+ "packageurl-js": {
+ "optional": true
+ },
+ "spdx-expression-parse": {
+ "optional": true
+ },
+ "xmlbuilder2": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@cyclonedx/cyclonedx-npm": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/@cyclonedx/cyclonedx-npm/-/cyclonedx-npm-6.0.1.tgz",
+ "integrity": "sha512-/aU3bBC6qP6cV/qQ5SfUSygE/+2hQhwgg6sJML31/gZ96NyMvIUuwdk637H4z+LS/NryRT2kjR2wtD0qBEVVHQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://owasp.org/donate/?reponame=www-project-cyclonedx&title=OWASP+CycloneDX"
+ }
+ ],
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@cyclonedx/cyclonedx-library": "^10.0.0",
+ "commander": "^14.0.0",
+ "normalize-package-data": "^7.0.0 || ^8.0.0",
+ "packageurl-js": "^2.0.1",
+ "spdx-expression-parse": "^3.0.1 || ^4.0.0",
+ "xmlbuilder2": "^3.0.2 || ^4.0.3"
+ },
+ "bin": {
+ "cyclonedx-npm": "bin/cyclonedx-npm-cli.js"
+ },
+ "engines": {
+ "node": ">=20.18.0",
+ "npm": ">=9"
+ },
+ "optionalDependencies": {
+ "ajv": "^8.12.0",
+ "ajv-formats": "^3.0.1",
+ "ajv-formats-draft2019": "^1.6.1",
+ "libxmljs2": "^0.35||^0.37"
+ }
+ },
+ "node_modules/@cyclonedx/cyclonedx-npm/node_modules/commander": {
+ "version": "14.0.3",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.3.tgz",
+ "integrity": "sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=20"
+ }
+ },
"node_modules/@cypress/request": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/@cypress/request/-/request-4.0.1.tgz",
@@ -2985,6 +3078,99 @@
}
}
},
+ "node_modules/@isaacs/cliui": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
+ "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "string-width": "^5.1.2",
+ "string-width-cjs": "npm:string-width@^4.2.0",
+ "strip-ansi": "^7.0.1",
+ "strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
+ "wrap-ansi": "^8.1.0",
+ "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@isaacs/cliui/node_modules/ansi-styles": {
+ "version": "6.2.3",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz",
+ "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/@isaacs/cliui/node_modules/emoji-regex": {
+ "version": "9.2.2",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/@isaacs/cliui/node_modules/string-width": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
+ "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "eastasianwidth": "^0.2.0",
+ "emoji-regex": "^9.2.2",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@isaacs/cliui/node_modules/wrap-ansi": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
+ "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "ansi-styles": "^6.1.0",
+ "string-width": "^5.0.1",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
+ "node_modules/@isaacs/fs-minipass": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz",
+ "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "minipass": "^7.0.4"
+ },
+ "engines": {
+ "node": ">=18.0.0"
+ }
+ },
"node_modules/@jridgewell/gen-mapping": {
"version": "0.3.13",
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
@@ -3773,6 +3959,124 @@
"@ngx-translate/core": ">=18.0.0"
}
},
+ "node_modules/@npmcli/agent": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@npmcli/agent/-/agent-3.0.0.tgz",
+ "integrity": "sha512-S79NdEgDQd/NGCay6TCoVzXSj74skRZIKJcpJjC5lOq34SZzyI6MqtiiWoiVWoVrTcGjNeC4ipbh1VIHlpfF5Q==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "agent-base": "^7.1.0",
+ "http-proxy-agent": "^7.0.0",
+ "https-proxy-agent": "^7.0.1",
+ "lru-cache": "^10.0.1",
+ "socks-proxy-agent": "^8.0.3"
+ },
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
+ }
+ },
+ "node_modules/@npmcli/agent/node_modules/agent-base": {
+ "version": "7.1.4",
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz",
+ "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/@npmcli/agent/node_modules/https-proxy-agent": {
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz",
+ "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "agent-base": "^7.1.2",
+ "debug": "4"
+ },
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/@npmcli/agent/node_modules/lru-cache": {
+ "version": "10.4.3",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",
+ "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/@npmcli/fs": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-4.0.0.tgz",
+ "integrity": "sha512-/xGlezI6xfGO9NwuJlnwz/K14qD1kCSAGtacBHnGzeAIuJGazcp45KP5NuyARXoKb7cwulAGWVsbeSxdG/cb0Q==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "semver": "^7.3.5"
+ },
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
+ }
+ },
+ "node_modules/@oozcitak/dom": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/@oozcitak/dom/-/dom-2.0.2.tgz",
+ "integrity": "sha512-GjpKhkSYC3Mj4+lfwEyI1dqnsKTgwGy48ytZEhm4A/xnH/8z9M3ZVXKr/YGQi3uCLs1AEBS+x5T2JPiueEDW8w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@oozcitak/infra": "^2.0.2",
+ "@oozcitak/url": "^3.0.0",
+ "@oozcitak/util": "^10.0.0"
+ },
+ "engines": {
+ "node": ">=20.0"
+ }
+ },
+ "node_modules/@oozcitak/infra": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/@oozcitak/infra/-/infra-2.0.2.tgz",
+ "integrity": "sha512-2g+E7hoE2dgCz/APPOEK5s3rMhJvNxSMBrP+U+j1OWsIbtSpWxxlUjq1lU8RIsFJNYv7NMlnVsCuHcUzJW+8vA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@oozcitak/util": "^10.0.0"
+ },
+ "engines": {
+ "node": ">=20.0"
+ }
+ },
+ "node_modules/@oozcitak/url": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@oozcitak/url/-/url-3.0.0.tgz",
+ "integrity": "sha512-ZKfET8Ak1wsLAiLWNfFkZc/BraDccuTJKR6svTYc7sVjbR+Iu0vtXdiDMY4o6jaFl5TW2TlS7jbLl4VovtAJWQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@oozcitak/infra": "^2.0.2",
+ "@oozcitak/util": "^10.0.0"
+ },
+ "engines": {
+ "node": ">=20.0"
+ }
+ },
+ "node_modules/@oozcitak/util": {
+ "version": "10.0.0",
+ "resolved": "https://registry.npmjs.org/@oozcitak/util/-/util-10.0.0.tgz",
+ "integrity": "sha512-hAX0pT/73190NLqBPPWSdBVGtbY6VOhWYK3qqHqtXQ1gK7kS2yz4+ivsN07hpJ6I3aeMtKP6J6npsEKOAzuTLA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=20.0"
+ }
+ },
"node_modules/@oxc-parser/binding-android-arm-eabi": {
"version": "0.150.0",
"resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm-eabi/-/binding-android-arm-eabi-0.150.0.tgz",
@@ -4420,6 +4724,17 @@
"typescript": ">3.0.0"
}
},
+ "node_modules/@pkgjs/parseargs": {
+ "version": "0.11.0",
+ "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
+ "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=14"
+ }
+ },
"node_modules/@rolldown/binding-android-arm-eabi": {
"version": "1.2.15",
"resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.15.tgz",
@@ -5457,6 +5772,17 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/abbrev": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-3.0.1.tgz",
+ "integrity": "sha512-AO2ac6pjRB3SJmGJo+v5/aK6Omggp6fsLrs6wN9bd35ulu4cCwaAU9+7ZhXjeqHVkaHThLuzH0nZr0YpCDhygg==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
+ }
+ },
"node_modules/acorn": {
"version": "8.17.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz",
@@ -5535,6 +5861,23 @@
}
}
},
+ "node_modules/ajv-formats-draft2019": {
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/ajv-formats-draft2019/-/ajv-formats-draft2019-1.6.1.tgz",
+ "integrity": "sha512-JQPvavpkWDvIsBp2Z33UkYCtXCSpW4HD3tAZ+oL4iEFOk9obQZffx0yANwECt6vzr6ET+7HN5czRyqXbnq/u0Q==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "punycode": "^2.1.1",
+ "schemes": "^1.4.0",
+ "smtp-address-parser": "^1.0.3",
+ "uri-js": "^4.4.1"
+ },
+ "peerDependencies": {
+ "ajv": "*"
+ }
+ },
"node_modules/angular-eslint": {
"version": "22.6.0",
"resolved": "https://registry.npmjs.org/angular-eslint/-/angular-eslint-22.6.0.tgz",
@@ -5847,6 +6190,30 @@
"require-from-string": "^2.0.2"
}
},
+ "node_modules/bindings": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
+ "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "file-uri-to-path": "1.0.0"
+ }
+ },
+ "node_modules/bl": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
+ "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "buffer": "^5.5.0",
+ "inherits": "^2.0.4",
+ "readable-stream": "^3.4.0"
+ }
+ },
"node_modules/blob-util": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/blob-util/-/blob-util-2.0.2.tgz",
@@ -5973,45 +6340,147 @@
"dev": true,
"license": "MIT"
},
- "node_modules/cacheable": {
- "version": "2.5.0",
- "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-2.5.0.tgz",
- "integrity": "sha512-60cyAOytib/OzBw1JNSoSV/boK1AtHryDIjvVBk7XbN4ugfkM3+Sry7fEjNgPMGgOjuaZPAp8ruZ0Cxafwyq9g==",
+ "node_modules/cacache": {
+ "version": "19.0.1",
+ "resolved": "https://registry.npmjs.org/cacache/-/cacache-19.0.1.tgz",
+ "integrity": "sha512-hdsUxulXCi5STId78vRVYEtDAjq99ICAUktLTeTYsLoTE6Z8dS0c8pWNCxwdrk9YfJeobDZc2Y186hD/5ZQgFQ==",
"dev": true,
- "license": "MIT",
+ "license": "ISC",
+ "optional": true,
"dependencies": {
- "@cacheable/memory": "^2.2.0",
- "@cacheable/utils": "^2.5.0",
- "hookified": "^1.15.0",
- "keyv": "^5.6.0",
- "qified": "^0.10.1"
+ "@npmcli/fs": "^4.0.0",
+ "fs-minipass": "^3.0.0",
+ "glob": "^10.2.2",
+ "lru-cache": "^10.0.1",
+ "minipass": "^7.0.3",
+ "minipass-collect": "^2.0.1",
+ "minipass-flush": "^1.0.5",
+ "minipass-pipeline": "^1.2.4",
+ "p-map": "^7.0.2",
+ "ssri": "^12.0.0",
+ "tar": "^7.4.3",
+ "unique-filename": "^4.0.0"
+ },
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
}
},
- "node_modules/cachedir": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/cachedir/-/cachedir-2.4.0.tgz",
- "integrity": "sha512-9EtFOZR8g22CL7BWjJ9BUx1+A/djkofnyW3aOXZORNW2kxoUpx2h+uN2cOqwPmFhnpVmxg+KW2OjOSgChTEvsQ==",
+ "node_modules/cacache/node_modules/brace-expansion": {
+ "version": "2.1.7",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.7.tgz",
+ "integrity": "sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==",
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">=6"
+ "optional": true,
+ "dependencies": {
+ "balanced-match": "^1.0.0"
}
},
- "node_modules/call-bind-apply-helpers": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
- "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
+ "node_modules/cacache/node_modules/glob": {
+ "version": "10.5.0",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
+ "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
+ "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me",
"dev": true,
- "license": "MIT",
+ "license": "ISC",
+ "optional": true,
"dependencies": {
- "es-errors": "^1.3.0",
- "function-bind": "^1.1.2"
+ "foreground-child": "^3.1.0",
+ "jackspeak": "^3.1.2",
+ "minimatch": "^9.0.4",
+ "minipass": "^7.1.2",
+ "package-json-from-dist": "^1.0.0",
+ "path-scurry": "^1.11.1"
},
- "engines": {
- "node": ">= 0.4"
+ "bin": {
+ "glob": "dist/esm/bin.mjs"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/call-bound": {
+ "node_modules/cacache/node_modules/lru-cache": {
+ "version": "10.4.3",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",
+ "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/cacache/node_modules/minimatch": {
+ "version": "9.0.9",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz",
+ "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "brace-expansion": "^2.0.2"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/cacache/node_modules/path-scurry": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz",
+ "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "optional": true,
+ "dependencies": {
+ "lru-cache": "^10.2.0",
+ "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/cacheable": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-2.5.0.tgz",
+ "integrity": "sha512-60cyAOytib/OzBw1JNSoSV/boK1AtHryDIjvVBk7XbN4ugfkM3+Sry7fEjNgPMGgOjuaZPAp8ruZ0Cxafwyq9g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@cacheable/memory": "^2.2.0",
+ "@cacheable/utils": "^2.5.0",
+ "hookified": "^1.15.0",
+ "keyv": "^5.6.0",
+ "qified": "^0.10.1"
+ }
+ },
+ "node_modules/cachedir": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/cachedir/-/cachedir-2.4.0.tgz",
+ "integrity": "sha512-9EtFOZR8g22CL7BWjJ9BUx1+A/djkofnyW3aOXZORNW2kxoUpx2h+uN2cOqwPmFhnpVmxg+KW2OjOSgChTEvsQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/call-bind-apply-helpers": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
+ "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/call-bound": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz",
"integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==",
@@ -6129,6 +6598,17 @@
"url": "https://paulmillr.com/funding/"
}
},
+ "node_modules/chownr": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz",
+ "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "optional": true,
+ "engines": {
+ "node": ">=18"
+ }
+ },
"node_modules/chrome-remote-interface": {
"version": "0.33.3",
"resolved": "https://registry.npmjs.org/chrome-remote-interface/-/chrome-remote-interface-0.33.3.tgz",
@@ -6787,6 +7267,34 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/decompress-response": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz",
+ "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "mimic-response": "^3.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/deep-extend": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",
+ "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
"node_modules/deep-is": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
@@ -6869,6 +7377,14 @@
"node": ">=0.3.1"
}
},
+ "node_modules/discontinuous-range": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/discontinuous-range/-/discontinuous-range-1.0.0.tgz",
+ "integrity": "sha512-c68LpLbO+7kP/b1Hr1qs8/BJ09F5khZGTxqxZuhzxpmwJKOgRFHJWIb9/KmqnqHhLdO55aOxFH/EGBvUQbL/RQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
"node_modules/dom-serializer": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-3.1.1.tgz",
@@ -6991,6 +7507,14 @@
"integrity": "sha512-vnS4AVwp1KHAF13i1vp1/2D5evWy3k5u/iW/B81QVsUZtV8cv2tU0b2VNFlqvh4kYwrFMDdjPCfAmfyJW9y14Q==",
"license": "ISC"
},
+ "node_modules/eastasianwidth": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
+ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
"node_modules/ecc-jsbn": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
@@ -7102,6 +7626,17 @@
"url": "https://github.com/fb55/entities?sponsor=1"
}
},
+ "node_modules/env-paths": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",
+ "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/environment": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz",
@@ -7115,6 +7650,14 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/err-code": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz",
+ "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
"node_modules/errno": {
"version": "0.1.8",
"resolved": "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz",
@@ -7595,6 +8138,17 @@
"node": ">=4"
}
},
+ "node_modules/expand-template": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz",
+ "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==",
+ "dev": true,
+ "license": "(MIT OR WTFPL)",
+ "optional": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/expect-type": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.4.0.tgz",
@@ -7605,6 +8159,14 @@
"node": ">=12.0.0"
}
},
+ "node_modules/exponential-backoff": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.3.tgz",
+ "integrity": "sha512-ZgEeZXj30q+I0EN+CbSSpIyPaJ5HVQD18Z1m+u1FXbAeT94mr1zw50q4q6jiiC447Nl/YTcIYSAftiGqetwXCA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true
+ },
"node_modules/extend": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
@@ -7727,6 +8289,14 @@
"integrity": "sha512-P9bmyZ3h/PRG+Nzga+rbdI4OEpNDzAVyy74uVO9ATgzLK6VtAsYybF/+TOCvrc0MO793d6+42lLyZTw7/ArVzA==",
"license": "MIT"
},
+ "node_modules/file-uri-to-path": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
+ "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
"node_modules/fill-range": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
@@ -7850,6 +8420,24 @@
}
}
},
+ "node_modules/foreground-child": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz",
+ "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "cross-spawn": "^7.0.6",
+ "signal-exit": "^4.0.1"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
"node_modules/forever-agent": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
@@ -7877,6 +8465,14 @@
"node": ">= 6"
}
},
+ "node_modules/fs-constants": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
+ "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
"node_modules/fs-extra": {
"version": "9.1.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",
@@ -7893,6 +8489,20 @@
"node": ">=10"
}
},
+ "node_modules/fs-minipass": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz",
+ "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "minipass": "^7.0.3"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
"node_modules/fsevents": {
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
@@ -8046,6 +8656,14 @@
"node": ">=20"
}
},
+ "node_modules/github-from-package": {
+ "version": "0.0.0",
+ "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz",
+ "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
"node_modules/gl-matrix": {
"version": "3.4.4",
"resolved": "https://registry.npmjs.org/gl-matrix/-/gl-matrix-3.4.4.tgz",
@@ -8344,6 +8962,40 @@
"node": ">=20.19.0"
}
},
+ "node_modules/http-cache-semantics": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.3.0.tgz",
+ "integrity": "sha512-M5t5LlJpS1UHMjvwRQVdFHvPISGeLAxNcrWuJkeGh0KxsqCHZ1O3NXZU/8x7cD0BDcGW8kapxMKTvwlqrNkHkA==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "optional": true
+ },
+ "node_modules/http-proxy-agent": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz",
+ "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "agent-base": "^7.1.0",
+ "debug": "^4.3.4"
+ },
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/http-proxy-agent/node_modules/agent-base": {
+ "version": "7.1.4",
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz",
+ "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">= 14"
+ }
+ },
"node_modules/http-signature": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.4.0.tgz",
@@ -8499,6 +9151,14 @@
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
"license": "ISC"
},
+ "node_modules/ini": {
+ "version": "1.3.8",
+ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
+ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true
+ },
"node_modules/injection-js": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/injection-js/-/injection-js-2.6.1.tgz",
@@ -8518,6 +9178,17 @@
"node": ">=12"
}
},
+ "node_modules/ip-address": {
+ "version": "10.7.5",
+ "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.5.tgz",
+ "integrity": "sha512-t2v0rkILYv9WXmSL7TpAaU3HXgaFYOPUcH3QHgwQ++gpJuH3bqyMy4Fvt/DJCTKwzH3Cf+bAp5W/mFL39KPLzA==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">= 12"
+ }
+ },
"node_modules/is-extglob": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
@@ -8674,6 +9345,23 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/jackspeak": {
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz",
+ "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "optional": true,
+ "dependencies": {
+ "@isaacs/cliui": "^8.0.2"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ },
+ "optionalDependencies": {
+ "@pkgjs/parseargs": "^0.11.0"
+ }
+ },
"node_modules/js-yaml": {
"version": "5.4.1",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-5.4.1.tgz",
@@ -8987,6 +9675,24 @@
"node": ">= 0.8.0"
}
},
+ "node_modules/libxmljs2": {
+ "version": "0.37.0",
+ "resolved": "https://registry.npmjs.org/libxmljs2/-/libxmljs2-0.37.0.tgz",
+ "integrity": "sha512-Xb78V8GZouoZFrq8cCwx7+G3WYOcJG0xb3YUbweSyE4z2EIrQCZMr3Ye/dHn4mESs6YxUMeQeUZm5IXg+iLHog==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "bindings": "~1.5.0",
+ "nan": "~2.22.2",
+ "node-gyp": "^11.2.0",
+ "prebuild-install": "^7.1.3"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
"node_modules/lightningcss": {
"version": "1.33.0",
"resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz",
@@ -9589,6 +10295,41 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/make-fetch-happen": {
+ "version": "14.0.3",
+ "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-14.0.3.tgz",
+ "integrity": "sha512-QMjGbFTP0blj97EeidG5hk/QhKQ3T4ICckQGLgz38QF7Vgbk6e6FTARN8KhKxyBbWn8R0HU+bnw8aSoFPD4qtQ==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "@npmcli/agent": "^3.0.0",
+ "cacache": "^19.0.1",
+ "http-cache-semantics": "^4.1.1",
+ "minipass": "^7.0.2",
+ "minipass-fetch": "^4.0.0",
+ "minipass-flush": "^1.0.5",
+ "minipass-pipeline": "^1.2.4",
+ "negotiator": "^1.0.0",
+ "proc-log": "^5.0.0",
+ "promise-retry": "^2.0.1",
+ "ssri": "^12.0.0"
+ },
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
+ }
+ },
+ "node_modules/make-fetch-happen/node_modules/proc-log": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-5.0.0.tgz",
+ "integrity": "sha512-Azwzvl90HaF0aCz1JrDdXQykFakSSNPaPoiZ9fm5qJIMHioDZEi7OAdRwSm6rSoPtY3Qutnm3L7ogmg3dc+wbQ==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
+ }
+ },
"node_modules/maplibre-gl": {
"version": "6.8.0",
"resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-6.8.0.tgz",
@@ -9733,6 +10474,20 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/mimic-response": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz",
+ "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/minimatch": {
"version": "3.1.5",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
@@ -9765,15 +10520,178 @@
"node": ">=16 || 14 >=14.17"
}
},
- "node_modules/mocha": {
- "version": "12.0.1",
- "resolved": "https://registry.npmjs.org/mocha/-/mocha-12.0.1.tgz",
- "integrity": "sha512-/ILgtFHV+R7EJLwN0OkrPPOu6wbJyrtuRtTJ5szdFHv2A3mPmkbu3r1H2q6FhaAfywDJCulcQQ2S9qDGfZW6dw==",
- "devOptional": true,
- "license": "MIT",
- "peer": true,
+ "node_modules/minipass-collect": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-2.0.1.tgz",
+ "integrity": "sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
"dependencies": {
- "browser-stdout": "^1.3.1",
+ "minipass": "^7.0.3"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ }
+ },
+ "node_modules/minipass-fetch": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-4.0.1.tgz",
+ "integrity": "sha512-j7U11C5HXigVuutxebFadoYBbd7VSdZWggSe64NVdvWNBqGAiXPL2QVCehjmw7lY1oF9gOllYbORh+hiNgfPgQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "minipass": "^7.0.3",
+ "minipass-sized": "^1.0.3",
+ "minizlib": "^3.0.1"
+ },
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
+ },
+ "optionalDependencies": {
+ "encoding": "^0.1.13"
+ }
+ },
+ "node_modules/minipass-flush": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.7.tgz",
+ "integrity": "sha512-TbqTz9cUwWyHS2Dy89P3ocAGUGxKjjLuR9z8w4WUTGAVgEj17/4nhgo2Du56i0Fm3Pm30g4iA8Lcqctc76jCzA==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "optional": true,
+ "dependencies": {
+ "minipass": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/minipass-flush/node_modules/minipass": {
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
+ "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/minipass-flush/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/minipass-pipeline": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz",
+ "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "minipass": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/minipass-pipeline/node_modules/minipass": {
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
+ "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/minipass-pipeline/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/minipass-sized": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz",
+ "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "minipass": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/minipass-sized/node_modules/minipass": {
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
+ "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/minipass-sized/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/minizlib": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.1.0.tgz",
+ "integrity": "sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "minipass": "^7.1.2"
+ },
+ "engines": {
+ "node": ">= 18"
+ }
+ },
+ "node_modules/mkdirp-classic": {
+ "version": "0.5.3",
+ "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
+ "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/mocha": {
+ "version": "12.0.1",
+ "resolved": "https://registry.npmjs.org/mocha/-/mocha-12.0.1.tgz",
+ "integrity": "sha512-/ILgtFHV+R7EJLwN0OkrPPOu6wbJyrtuRtTJ5szdFHv2A3mPmkbu3r1H2q6FhaAfywDJCulcQQ2S9qDGfZW6dw==",
+ "devOptional": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "browser-stdout": "^1.3.1",
"chokidar": "^5.0.0",
"debug": "^4.3.5",
"diff": "^9.0.0",
@@ -9972,6 +10890,14 @@
"node": ">= 18"
}
},
+ "node_modules/moo": {
+ "version": "0.5.3",
+ "resolved": "https://registry.npmjs.org/moo/-/moo-0.5.3.tgz",
+ "integrity": "sha512-m2fmM2dDm7GZQsY7KK2cme8agi+AAljILjQnof7p1ZMDe6dQ4bdnSMx0cPppudoeNv5hEFQirN6u+O4fDE0IWA==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "optional": true
+ },
"node_modules/mrmime": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.1.tgz",
@@ -10049,6 +10975,14 @@
"node": "^20.17.0 || >=22.9.0"
}
},
+ "node_modules/nan": {
+ "version": "2.22.2",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.22.2.tgz",
+ "integrity": "sha512-DANghxFkS1plDdRsX0X9pm0Z6SJNN6gBdtXfanwoZ8hooC5gosGFSBGRYHUVPz1asKA/kMRqDRdHrluZ61SpBQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
"node_modules/nanoid": {
"version": "3.3.20",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz",
@@ -10068,6 +11002,14 @@
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
}
},
+ "node_modules/napi-build-utils": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-2.0.0.tgz",
+ "integrity": "sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
"node_modules/natural-compare": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
@@ -10075,6 +11017,38 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/nearley": {
+ "version": "2.20.1",
+ "resolved": "https://registry.npmjs.org/nearley/-/nearley-2.20.1.tgz",
+ "integrity": "sha512-+Mc8UaAebFzgV+KpI5n7DasuuQCHA89dmwm7JXw3TV43ukfNQ9DnBH3Mdb2g/I4Fdxc26pwimBWvjIw0UAILSQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "commander": "^2.19.0",
+ "moo": "^0.5.0",
+ "railroad-diagrams": "^1.0.0",
+ "randexp": "0.4.6"
+ },
+ "bin": {
+ "nearley-railroad": "bin/nearley-railroad.js",
+ "nearley-test": "bin/nearley-test.js",
+ "nearley-unparse": "bin/nearley-unparse.js",
+ "nearleyc": "bin/nearleyc.js"
+ },
+ "funding": {
+ "type": "individual",
+ "url": "https://nearley.js.org/#give-to-nearley"
+ }
+ },
+ "node_modules/nearley/node_modules/commander": {
+ "version": "2.20.3",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
"node_modules/needle": {
"version": "3.5.0",
"resolved": "https://registry.npmjs.org/needle/-/needle-3.5.0.tgz",
@@ -10107,6 +11081,39 @@
"node": ">=0.10.0"
}
},
+ "node_modules/negotiator": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.1.0.tgz",
+ "integrity": "sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "content-type": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/negotiator/node_modules/content-type": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz",
+ "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
"node_modules/ng-packagr": {
"version": "22.2.5",
"resolved": "https://registry.npmjs.org/ng-packagr/-/ng-packagr-22.2.5.tgz",
@@ -10263,6 +11270,20 @@
"rxjs": "^7.0.0"
}
},
+ "node_modules/node-abi": {
+ "version": "3.101.0",
+ "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.101.0.tgz",
+ "integrity": "sha512-bkb/RkuWCE64eWu1PCh3Fu2pGc9mKRs+kOE+FU2bGHRYlQa86/D321DSATV54AsCQMKz3/xSt9sRgraZTpqdhQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "semver": "^7.3.5"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
"node_modules/node-addon-api": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-6.1.0.tgz",
@@ -10271,6 +11292,32 @@
"license": "MIT",
"optional": true
},
+ "node_modules/node-gyp": {
+ "version": "11.5.0",
+ "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-11.5.0.tgz",
+ "integrity": "sha512-ra7Kvlhxn5V9Slyus0ygMa2h+UqExPqUIkfk7Pc8QTLT956JLSy51uWFwHtIYy0vI8cB4BDhc/S03+880My/LQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "env-paths": "^2.2.0",
+ "exponential-backoff": "^3.1.1",
+ "graceful-fs": "^4.2.6",
+ "make-fetch-happen": "^14.0.3",
+ "nopt": "^8.0.0",
+ "proc-log": "^5.0.0",
+ "semver": "^7.3.5",
+ "tar": "^7.4.3",
+ "tinyglobby": "^0.2.12",
+ "which": "^5.0.0"
+ },
+ "bin": {
+ "node-gyp": "bin/node-gyp.js"
+ },
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
+ }
+ },
"node_modules/node-gyp-build-optional-packages": {
"version": "5.2.2",
"resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.2.2.tgz",
@@ -10287,6 +11334,45 @@
"node-gyp-build-optional-packages-test": "build-test.js"
}
},
+ "node_modules/node-gyp/node_modules/isexe": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.5.tgz",
+ "integrity": "sha512-6B3tLtFqtQS4ekarvLVMZ+X+VlvQekbe4taUkf/rhVO3d/h0M2rfARm/pXLcPEsjjMsFgrFgSrhQIxcSVrBz8w==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "optional": true,
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/node-gyp/node_modules/proc-log": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-5.0.0.tgz",
+ "integrity": "sha512-Azwzvl90HaF0aCz1JrDdXQykFakSSNPaPoiZ9fm5qJIMHioDZEi7OAdRwSm6rSoPtY3Qutnm3L7ogmg3dc+wbQ==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
+ }
+ },
+ "node_modules/node-gyp/node_modules/which": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/which/-/which-5.0.0.tgz",
+ "integrity": "sha512-JEdGzHwwkrbWoGOlIHqQ5gtprKGOenpDHpxE9zVR1bWbOtYRyPPHMe9FaP6x61CmNaTThSkb0DAJte5jD+DmzQ==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "isexe": "^3.1.1"
+ },
+ "bin": {
+ "node-which": "bin/which.js"
+ },
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
+ }
+ },
"node_modules/node-releases": {
"version": "2.0.55",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.55.tgz",
@@ -10297,6 +11383,51 @@
"node": ">=18"
}
},
+ "node_modules/nopt": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/nopt/-/nopt-8.1.0.tgz",
+ "integrity": "sha512-ieGu42u/Qsa4TFktmaKEwM6MQH0pOWnaB3htzh0JRtx84+Mebc0cbZYN5bC+6WTZ4+77xrL9Pn5m7CV6VIkV7A==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "abbrev": "^3.0.0"
+ },
+ "bin": {
+ "nopt": "bin/nopt.js"
+ },
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
+ }
+ },
+ "node_modules/normalize-package-data": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-8.0.0.tgz",
+ "integrity": "sha512-RWk+PI433eESQ7ounYxIp67CYuVsS1uYSonX3kA6ps/3LWfjVQa/ptEg6Y3T6uAMq1mWpX9PQ+qx+QaHpsc7gQ==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "hosted-git-info": "^9.0.0",
+ "semver": "^7.3.5",
+ "validate-npm-package-license": "^3.0.4"
+ },
+ "engines": {
+ "node": "^20.17.0 || >=22.9.0"
+ }
+ },
+ "node_modules/normalize-package-data/node_modules/hosted-git-info": {
+ "version": "9.0.3",
+ "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-9.0.3.tgz",
+ "integrity": "sha512-Hc+ghLoSt6QaYZUv0WBiIvmMDZuZZ7oaDvdH8MbfOO4lOsxdXLEvuC6ePoGs9H1X9oCLyq6+NVN0MKqD+ydxyg==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "lru-cache": "^11.1.0"
+ },
+ "engines": {
+ "node": "^20.17.0 || >=22.9.0"
+ }
+ },
"node_modules/npm-package-arg": {
"version": "14.0.0",
"resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-14.0.0.tgz",
@@ -10581,6 +11712,35 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/p-map": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.1.1.tgz",
+ "integrity": "sha512-6Lh3jQPLthYujSrlw6ccWXBGZTkoTCz27Hd92g79LH/kjAbgoEu0t442cCCNbegPSJsA0lwDX8z0bcKtkpA32g==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/package-json-from-dist": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz",
+ "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "optional": true
+ },
+ "node_modules/packageurl-js": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/packageurl-js/-/packageurl-js-2.0.1.tgz",
+ "integrity": "sha512-N5ixXjzTy4QDQH0Q9YFjqIWd6zH6936Djpl2m9QNFmDv5Fum8q8BjkpAcHNMzOFE0IwQrFhJWex3AN6kS0OSwg==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/parchment": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/parchment/-/parchment-3.0.0.tgz",
@@ -10848,6 +12008,35 @@
"integrity": "sha512-pcaShQc1Shq0y+E7GqJqvZj8DTthWV1KeHGdi0Z6IAin2Oi3JnLCOfwnCo84qc+HAp52wT9nK9H7FAJp5a44GQ==",
"license": "ISC"
},
+ "node_modules/prebuild-install": {
+ "version": "7.1.3",
+ "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.3.tgz",
+ "integrity": "sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==",
+ "deprecated": "No longer maintained. Please contact the author of the relevant native addon; alternatives are available.",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "detect-libc": "^2.0.0",
+ "expand-template": "^2.0.3",
+ "github-from-package": "0.0.0",
+ "minimist": "^1.2.3",
+ "mkdirp-classic": "^0.5.3",
+ "napi-build-utils": "^2.0.0",
+ "node-abi": "^3.3.0",
+ "pump": "^3.0.0",
+ "rc": "^1.2.7",
+ "simple-get": "^4.0.0",
+ "tar-fs": "^2.0.0",
+ "tunnel-agent": "^0.6.0"
+ },
+ "bin": {
+ "prebuild-install": "bin.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
"node_modules/prelude-ls": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
@@ -10974,6 +12163,21 @@
"node": ">= 0.6.0"
}
},
+ "node_modules/promise-retry": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz",
+ "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "err-code": "^2.0.2",
+ "retry": "^0.12.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
"node_modules/protocol-buffers-schema": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/protocol-buffers-schema/-/protocol-buffers-schema-3.6.1.tgz",
@@ -11106,6 +12310,57 @@
"node": ">= 12.0.0"
}
},
+ "node_modules/railroad-diagrams": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/railroad-diagrams/-/railroad-diagrams-1.0.0.tgz",
+ "integrity": "sha512-cz93DjNeLY0idrCNOH6PviZGRN9GJhsdm9hpn1YCS879fj4W+x5IFJhhkRZcwVgMmFF7R82UA/7Oh+R8lLZg6A==",
+ "dev": true,
+ "license": "CC0-1.0",
+ "optional": true
+ },
+ "node_modules/randexp": {
+ "version": "0.4.6",
+ "resolved": "https://registry.npmjs.org/randexp/-/randexp-0.4.6.tgz",
+ "integrity": "sha512-80WNmd9DA0tmZrw9qQa62GPPWfuXJknrmVmLcxvq4uZBdYqb1wYoKTmnlGUchvVWe0XiLupYkBoXVOxz3C8DYQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "discontinuous-range": "1.0.0",
+ "ret": "~0.1.10"
+ },
+ "engines": {
+ "node": ">=0.12"
+ }
+ },
+ "node_modules/rc": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",
+ "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==",
+ "dev": true,
+ "license": "(BSD-2-Clause OR MIT OR Apache-2.0)",
+ "optional": true,
+ "dependencies": {
+ "deep-extend": "^0.6.0",
+ "ini": "~1.3.0",
+ "minimist": "^1.2.0",
+ "strip-json-comments": "~2.0.1"
+ },
+ "bin": {
+ "rc": "cli.js"
+ }
+ },
+ "node_modules/rc/node_modules/strip-json-comments": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
+ "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/readable-stream": {
"version": "3.6.2",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
@@ -11223,6 +12478,28 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/ret": {
+ "version": "0.1.15",
+ "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
+ "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=0.12"
+ }
+ },
+ "node_modules/retry": {
+ "version": "0.12.0",
+ "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz",
+ "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">= 4"
+ }
+ },
"node_modules/rfdc": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz",
@@ -11769,6 +13046,17 @@
"node": ">=v12.22.7"
}
},
+ "node_modules/schemes": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/schemes/-/schemes-1.4.0.tgz",
+ "integrity": "sha512-ImFy9FbCsQlVgnE3TCWmLPCFnVzx0lHL/l+umHplDqAKd0dzFpnS6lFZIpagBlYhKwzVmlV36ec0Y1XTu8JBAQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "extend": "^3.0.0"
+ }
+ },
"node_modules/semver": {
"version": "7.8.5",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
@@ -11912,6 +13200,55 @@
"url": "https://github.com/sponsors/isaacs"
}
},
+ "node_modules/simple-concat": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz",
+ "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/simple-get": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz",
+ "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "decompress-response": "^6.0.0",
+ "once": "^1.3.1",
+ "simple-concat": "^1.0.0"
+ }
+ },
"node_modules/slice-ansi": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-8.0.0.tgz",
@@ -11919,27 +13256,96 @@
"dev": true,
"license": "MIT",
"dependencies": {
- "ansi-styles": "^6.2.3",
- "is-fullwidth-code-point": "^5.1.0"
+ "ansi-styles": "^6.2.3",
+ "is-fullwidth-code-point": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=20"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/slice-ansi?sponsor=1"
+ }
+ },
+ "node_modules/slice-ansi/node_modules/ansi-styles": {
+ "version": "6.2.3",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz",
+ "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/smart-buffer": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz",
+ "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">= 6.0.0",
+ "npm": ">= 3.0.0"
+ }
+ },
+ "node_modules/smtp-address-parser": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/smtp-address-parser/-/smtp-address-parser-1.1.1.tgz",
+ "integrity": "sha512-02QRuo0uL+I6+VHY5LxYiKJMjbyrTJWFM6JWkWOcdLkfInjLvGdPQTjC+mUOt/0PzeNnRSCYNIDZfn6QRIQYug==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "nearley": "^2.20.1"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/socks": {
+ "version": "2.8.10",
+ "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.10.tgz",
+ "integrity": "sha512-e0VyvkVTwVYViNovRkZ9aodhxVlyoMn7eJhVUPxZ+eK9P/7CBkxvvsBOHqFPEH416726W8tLXXXjKwqgTErrCQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "ip-address": "^10.1.1",
+ "smart-buffer": "^4.2.0"
+ },
+ "engines": {
+ "node": ">= 10.0.0",
+ "npm": ">= 3.0.0"
+ }
+ },
+ "node_modules/socks-proxy-agent": {
+ "version": "8.0.5",
+ "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.5.tgz",
+ "integrity": "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "agent-base": "^7.1.2",
+ "debug": "^4.3.4",
+ "socks": "^2.8.3"
},
"engines": {
- "node": ">=20"
- },
- "funding": {
- "url": "https://github.com/chalk/slice-ansi?sponsor=1"
+ "node": ">= 14"
}
},
- "node_modules/slice-ansi/node_modules/ansi-styles": {
- "version": "6.2.3",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz",
- "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==",
+ "node_modules/socks-proxy-agent/node_modules/agent-base": {
+ "version": "7.1.4",
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz",
+ "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==",
"dev": true,
"license": "MIT",
+ "optional": true,
"engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ "node": ">= 14"
}
},
"node_modules/source-map": {
@@ -11983,6 +13389,53 @@
"node": ">=0.10.0"
}
},
+ "node_modules/spdx-correct": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz",
+ "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "spdx-expression-parse": "^3.0.0",
+ "spdx-license-ids": "^3.0.0"
+ }
+ },
+ "node_modules/spdx-correct/node_modules/spdx-expression-parse": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz",
+ "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "spdx-exceptions": "^2.1.0",
+ "spdx-license-ids": "^3.0.0"
+ }
+ },
+ "node_modules/spdx-exceptions": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz",
+ "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==",
+ "dev": true,
+ "license": "CC-BY-3.0"
+ },
+ "node_modules/spdx-expression-parse": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-4.0.0.tgz",
+ "integrity": "sha512-Clya5JIij/7C6bRR22+tnGXbc4VKlibKSVj2iHvVeX5iMW7s1SIQlqu699JkODJJIhh/pUu8L0/VLh8xflD+LQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "spdx-exceptions": "^2.1.0",
+ "spdx-license-ids": "^3.0.0"
+ }
+ },
+ "node_modules/spdx-license-ids": {
+ "version": "3.0.24",
+ "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.24.tgz",
+ "integrity": "sha512-cLS9TtWkIQFyLkJ3/5aFQAOHOSKTlOs/7WDut/XPSdjom1fJhUdkepeJAKXa9Y05+FabHd0sti+Et559vDtkpQ==",
+ "dev": true,
+ "license": "CC0-1.0"
+ },
"node_modules/sshpk": {
"version": "1.18.0",
"resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.18.0.tgz",
@@ -12009,6 +13462,20 @@
"node": ">=0.10.0"
}
},
+ "node_modules/ssri": {
+ "version": "12.0.0",
+ "resolved": "https://registry.npmjs.org/ssri/-/ssri-12.0.0.tgz",
+ "integrity": "sha512-S7iGNosepx9RadX82oimUkvr0Ct7IjJbEbs4mJcTxst8um95J3sDYU1RBEOvdu6oL1Wek2ODI5i4MAw+dZ6cAQ==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "minipass": "^7.0.3"
+ },
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
+ }
+ },
"node_modules/stackback": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz",
@@ -12110,6 +13577,59 @@
"node": ">=8"
}
},
+ "node_modules/string-width-cjs": {
+ "name": "string-width",
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/string-width-cjs/node_modules/ansi-regex": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/string-width-cjs/node_modules/is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/string-width-cjs/node_modules/strip-ansi": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/string-width/node_modules/ansi-regex": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
@@ -12159,6 +13679,32 @@
"url": "https://github.com/chalk/strip-ansi?sponsor=1"
}
},
+ "node_modules/strip-ansi-cjs": {
+ "name": "strip-ansi",
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-ansi-cjs/node_modules/ansi-regex": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/strip-final-newline": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
@@ -12274,6 +13820,64 @@
"url": "https://www.buymeacoffee.com/systeminfo"
}
},
+ "node_modules/tar": {
+ "version": "7.5.22",
+ "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.22.tgz",
+ "integrity": "sha512-MFO/QzvtAOmJbkhOaCTvbGcFN9L9b+JunIsDwaKljSOdcLMea3NJ1k9Usz/rjdfSXTq4dfzfeS7W4p4YOAAHeA==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "optional": true,
+ "dependencies": {
+ "@isaacs/fs-minipass": "^4.0.0",
+ "chownr": "^3.0.0",
+ "minipass": "^7.1.2",
+ "minizlib": "^3.1.0",
+ "yallist": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tar-fs": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.5.tgz",
+ "integrity": "sha512-OboTd8mmMhZDNPV+UjQcK9yKAatXu2aJ+r1w4im1Otd4M4fl2hwvdoXUxIYHFTHWK/3y3FarBP70v3vwmGlOxw==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "chownr": "^1.1.1",
+ "mkdirp-classic": "^0.5.2",
+ "pump": "^3.0.0",
+ "tar-stream": "^2.1.4"
+ }
+ },
+ "node_modules/tar-fs/node_modules/chownr": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",
+ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true
+ },
+ "node_modules/tar-stream": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
+ "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "bl": "^4.0.3",
+ "end-of-stream": "^1.4.1",
+ "fs-constants": "^1.0.0",
+ "inherits": "^2.0.3",
+ "readable-stream": "^3.1.1"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/throttleit": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/throttleit/-/throttleit-1.0.1.tgz",
@@ -12545,6 +14149,34 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/unique-filename": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-4.0.0.tgz",
+ "integrity": "sha512-XSnEewXmQ+veP7xX2dS5Q4yZAvO40cBN2MWkJ7D/6sW4Dg6wYBNwM1Vrnz1FhH5AdeLIlUXRI9e28z1YZi71NQ==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "unique-slug": "^5.0.0"
+ },
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
+ }
+ },
+ "node_modules/unique-slug": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-5.0.0.tgz",
+ "integrity": "sha512-9OdaqO5kwqR+1kVgHAhsp5vPNU0hnxRa26rBFNfNgM7M6pNtgzeBn3s/xbyCQL3dcjzOatcef6UUHpB/6MaETg==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "dependencies": {
+ "imurmurhash": "^0.1.4"
+ },
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
+ }
+ },
"node_modules/universalify": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
@@ -12612,6 +14244,28 @@
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
"license": "MIT"
},
+ "node_modules/validate-npm-package-license": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
+ "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "spdx-correct": "^3.0.0",
+ "spdx-expression-parse": "^3.0.0"
+ }
+ },
+ "node_modules/validate-npm-package-license/node_modules/spdx-expression-parse": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz",
+ "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "spdx-exceptions": "^2.1.0",
+ "spdx-license-ids": "^3.0.0"
+ }
+ },
"node_modules/validate-npm-package-name": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-8.0.0.tgz",
@@ -12949,6 +14603,51 @@
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
}
},
+ "node_modules/wrap-ansi-cjs": {
+ "name": "wrap-ansi",
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
+ "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/wrap-ansi/node_modules/ansi-styles": {
"version": "6.2.3",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz",
@@ -13018,6 +14717,45 @@
"node": ">=18"
}
},
+ "node_modules/xmlbuilder2": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/xmlbuilder2/-/xmlbuilder2-4.0.3.tgz",
+ "integrity": "sha512-bx8Q1STctnNaaDymWnkfQLKofs0mGNN7rLLapJlGuV3VlvegD7Ls4ggMjE3aUSWItCCzU0PEv45lI87iSigiCA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@oozcitak/dom": "^2.0.2",
+ "@oozcitak/infra": "^2.0.2",
+ "@oozcitak/util": "^10.0.0",
+ "js-yaml": "^4.1.1"
+ },
+ "engines": {
+ "node": ">=20.0"
+ }
+ },
+ "node_modules/xmlbuilder2/node_modules/js-yaml": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz",
+ "integrity": "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/puzrin"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/nodeca"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "argparse": "^2.0.1"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
"node_modules/xmlchars": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz",
@@ -13042,6 +14780,17 @@
"node": ">=10"
}
},
+ "node_modules/yallist": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz",
+ "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "optional": true,
+ "engines": {
+ "node": ">=18"
+ }
+ },
"node_modules/yaml": {
"version": "2.9.0",
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz",
diff --git a/ui/package.json b/ui/package.json
index 4f68023b69..64671d6970 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -15,14 +15,15 @@
"test": "node ./deployment/prebuild.js && npm run build-libraries && ng test",
"run-prebuild-script": "node ./deployment/prebuild.js",
"build": "npm run i18n:validate && node ./deployment/prebuild.js && set NODE_OPTIONS=--max-old-space-size=8192 && npm run build-libraries && ng build --configuration production",
- "postbuild": "node ./scripts/write-build-version.cjs dist/streampipes/ui/browser",
- "postbuild-dev": "node ./scripts/write-build-version.cjs dist/streampipes/ui/browser",
+ "postbuild": "node ./scripts/write-build-version.cjs dist/streampipes/ui/browser && node ./scripts/write-sbom-index.cjs dist/streampipes/ui/browser",
+ "postbuild-dev": "node ./scripts/write-build-version.cjs dist/streampipes/ui/browser && node ./scripts/write-sbom-index.cjs dist/streampipes/ui/browser",
"build-dev": "node ./deployment/prebuild.js && set NODE_OPTIONS=--max-old-space-size=8192 && npm run build-libraries && ng build",
"lint": "ng lint app && ng lint app-e2e && ng lint @streampipes/platform-services && ng lint @streampipes/shared-ui",
"lint:fix": "ng lint app --fix && ng lint app-e2e --fix && ng lint @streampipes/platform-services --fix && ng lint @streampipes/shared-ui --fix",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"lint-staged": "lint-staged",
+ "test:scripts": "node --test \"scripts/*.test.cjs\"",
"test-cypress-open": "cypress open --config baseUrl=http://localhost:8082 --expose DEVELOPMENT=true",
"test-cypress-smoke": "npx cypress run --spec 'cypress/tests/**/*.smoke.spec.ts' --config baseUrl=http://localhost:8082",
"test-cypress-all": "npx cypress run --spec 'cypress/tests/**/*.spec.ts' --config baseUrl=http://localhost:8082",
@@ -55,7 +56,6 @@
"@ngx-translate/core": "^18.0.0",
"@ngx-translate/http-loader": "^18.0.0",
"@panzoom/panzoom": "^4.5.1",
- "monaco-editor": "^0.56.0",
"console-browserify": "^1.2.0",
"d3-array": "^3.2.4",
"d3-contour": "^4.0.2",
@@ -64,13 +64,16 @@
"date-fns": "^4.1.0",
"echarts": "^6.0.0",
"echarts-simple-transform": "^1.0.0",
- "gridstack": "^12.6.0",
"file-saver": "2.0.5",
+ "gridstack": "^12.6.0",
+ "katex": "^0.16.47",
"leaflet": "1.9.3",
"lodash.clonedeep": "^4.5.0",
+ "maplibre-gl": "^6.8.0",
"marked": "^18.0.3",
+ "marked-katex-extension": "^5.1.12",
"material-icons": "^1.13.14",
- "maplibre-gl": "^6.8.0",
+ "monaco-editor": "^0.56.0",
"ngx-color-picker": "^20.1.1",
"ngx-echarts": "^22.0.0",
"ngx-markdown": "^22.0.2",
@@ -79,13 +82,11 @@
"quill": "^2.0.3",
"roboto-fontface": "0.10.0",
"rxjs": "^7.8.2",
- "supercluster": "^9.1.0",
"stream-browserify": "3.0.0",
+ "supercluster": "^9.1.0",
"swagger-ui-dist": "5.33.0",
"tslib": "^2.6.2",
- "zone.js": "~0.16.3",
- "katex": "^0.16.47",
- "marked-katex-extension": "^5.1.12"
+ "zone.js": "~0.16.3"
},
"devDependencies": {
"@angular-eslint/builder": "^22.6.0",
@@ -96,6 +97,7 @@
"@angular/build": "^22.2.5",
"@angular/cli": "^22.2.5",
"@angular/compiler-cli": "^22.2.4",
+ "@cyclonedx/cyclonedx-npm": "^6.0.1",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^10.0.1",
"@types/leaflet": "^1.9.0",
@@ -103,6 +105,7 @@
"@typescript-eslint/eslint-plugin": "^8.46.1",
"@typescript-eslint/parser": "^8.32.1",
"@vendure/ngx-translate-extract": "^10.1.3",
+ "angular-eslint": "^22.6.0",
"csv-string": "^4.1.1",
"cypress": "^16.1.0",
"cypress-multi-reporters": "^2.0.5",
@@ -110,14 +113,13 @@
"eslint": "^10.0.0",
"eslint-config-prettier": "^10.0.1",
"husky": "^8.0.2",
- "jsdom": "^30.0.1",
"js-yaml": "^5.4.1",
+ "jsdom": "^30.0.1",
"lint-staged": "^17.4.1",
"mustache": "^4.2.0",
"ng-packagr": "^22.2.5",
"prettier": "3.9.6",
"typescript": "6.0.3",
- "vitest": "^4.1.12",
- "angular-eslint": "^22.6.0"
+ "vitest": "^4.1.12"
}
}
diff --git a/ui/scripts/write-sbom-index.cjs b/ui/scripts/write-sbom-index.cjs
new file mode 100644
index 0000000000..d8c0d224b6
--- /dev/null
+++ b/ui/scripts/write-sbom-index.cjs
@@ -0,0 +1,277 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+/*
+ * Publishes software bills of materials (CycloneDX JSON) with the UI build.
+ *
+ * The Maven build writes one SBOM per module to <module>/target/bom.json
+ * (cyclonedx-maven-plugin, configured in the root pom). This script copies a
+ * selection of those files into <browser-output-directory>/sbom/, generates
+ * the SBOM of the UI's own npm dependencies into the same folder and writes
+ * sbom/index.json, which the Help > Software Bill of Materials tab reads.
+ *
+ * Usage:
+ * node write-sbom-index.cjs <browser-output-directory> [id=path/to/bom.json ...]
+ *
+ * Environment:
+ * SP_SBOM_MODULES Comma-separated Maven module paths relative to the
+ * repository root. Each resolves to <module>/target/bom.json.
+ * Default: streampipes-service-core and
+ * streampipes-extensions/streampipes-extensions-all-iiot.
+ * SP_SBOM_SOURCES Comma-separated id=path pairs. Takes precedence over
+ * SP_SBOM_MODULES, as do id=path command line arguments.
+ * SP_SBOM_SKIP_UI Set to "true" to skip the npm SBOM.
+ *
+ * Missing SBOM files are skipped with a warning so that UI-only builds
+ * (ng serve, PR validation) keep working; the index then lists fewer entries.
+ */
+
+const { spawnSync } = require('node:child_process');
+const {
+ copyFileSync,
+ existsSync,
+ mkdirSync,
+ readFileSync,
+ readdirSync,
+ rmSync,
+ writeFileSync,
+} = require('node:fs');
+const path = require('node:path');
+
+const SBOM_DIRECTORY = 'sbom';
+const INDEX_FILE = 'index.json';
+const UI_SBOM_ID = 'ui';
+const DEFAULT_MODULES = [
+ 'streampipes-service-core',
+ 'streampipes-extensions/streampipes-extensions-all-iiot',
+];
+
+function repositoryRoot() {
+ return path.resolve(__dirname, '..', '..');
+}
+
+function sourceFromModule(modulePath, root = repositoryRoot()) {
+ const normalized = modulePath.trim().replace(/\/+$/, '');
+ return {
+ id: path.posix.basename(normalized),
+ file: path.resolve(root, normalized, 'target', 'bom.json'),
+ };
+}
+
+function parseSourcePairs(pairs) {
+ return pairs
+ .map(pair => pair.trim())
+ .filter(pair => pair.length > 0)
+ .map(pair => {
+ const separator = pair.indexOf('=');
+ if (separator <= 0) {
+ throw new Error(
+ `Invalid SBOM source "${pair}", expected id=path/to/bom.json`,
+ );
+ }
+ return {
+ id: pair.slice(0, separator).trim(),
+ file: path.resolve(pair.slice(separator + 1).trim()),
+ };
+ });
+}
+
+function sourcesFromEnvironment(env = process.env, argv = []) {
+ if (argv.length > 0) {
+ return parseSourcePairs(argv);
+ }
+ if (env.SP_SBOM_SOURCES) {
+ return parseSourcePairs(env.SP_SBOM_SOURCES.split(','));
+ }
+ const modules = env.SP_SBOM_MODULES
+ ? env.SP_SBOM_MODULES.split(',').filter(m => m.trim().length > 0)
+ : DEFAULT_MODULES;
+ return modules.map(modulePath => sourceFromModule(modulePath));
+}
+
+function validateId(id) {
+ if (!/^[a-zA-Z0-9][a-zA-Z0-9._-]*$/.test(id) || id === UI_SBOM_ID) {
+ throw new Error(
+ `Invalid SBOM id "${id}": use letters, digits, ".", "_" or "-"; "${UI_SBOM_ID}" is reserved`,
+ );
+ }
+}
+
+function describeBom(id, kind, fileName, bomPath) {
+ const bom = JSON.parse(readFileSync(bomPath, 'utf8'));
+ const component = bom.metadata?.component ?? {};
+ return {
+ id,
+ kind,
+ label: component.name ?? id,
+ name: component.name ?? null,
+ group: component.group ?? null,
+ version: component.version ?? null,
+ path: fileName,
+ bomFormat: bom.bomFormat ?? null,
+ specVersion: bom.specVersion ?? null,
+ serialNumber: bom.serialNumber ?? null,
+ generatedAt: bom.metadata?.timestamp ?? null,
+ componentCount: Array.isArray(bom.components)
+ ? bom.components.length
+ : 0,
+ };
+}
+
+function cleanSbomDirectory(sbomDirectory) {
+ mkdirSync(sbomDirectory, { recursive: true });
+ for (const entry of readdirSync(sbomDirectory)) {
+ if (entry.endsWith('.json')) {
+ rmSync(path.join(sbomDirectory, entry));
+ }
+ }
+}
+
+function copyMavenSboms(sources, sbomDirectory, log) {
+ const entries = [];
+ for (const source of sources) {
+ validateId(source.id);
+ if (!existsSync(source.file)) {
+ log.warn(
+ `SBOM "${source.id}" skipped: ${source.file} does not exist (run the Maven build first)`,
+ );
+ continue;
+ }
+ const fileName = `${source.id}.json`;
+ copyFileSync(source.file, path.join(sbomDirectory, fileName));
+ entries.push(describeBom(source.id, 'maven', fileName, source.file));
+ log.info(`SBOM "${source.id}" copied from ${source.file}`);
+ }
+ return entries;
+}
+
+function cyclonedxNpmBinary(uiPackageDir) {
+ // The package restricts "exports", so locate its manifest on disk instead of via require.resolve.
+ const packageJson = path.join(
+ uiPackageDir,
+ 'node_modules',
+ '@cyclonedx',
+ 'cyclonedx-npm',
+ 'package.json',
+ );
+ if (!existsSync(packageJson)) {
+ throw new Error(`${packageJson} not found`);
+ }
+ const manifest = JSON.parse(readFileSync(packageJson, 'utf8'));
+ const bin =
+ typeof manifest.bin === 'string'
+ ? manifest.bin
+ : manifest.bin['cyclonedx-npm'];
+ return path.join(path.dirname(packageJson), bin);
+}
+
+function generateUiSbom(uiPackageDir, sbomDirectory, log) {
+ const fileName = `${UI_SBOM_ID}.json`;
+ const outputFile = path.join(sbomDirectory, fileName);
+ let binary;
+ try {
+ binary = cyclonedxNpmBinary(uiPackageDir);
+ } catch (error) {
+ log.warn(
+ `UI SBOM skipped: @cyclonedx/cyclonedx-npm is not installed (${error.message})`,
+ );
+ return null;
+ }
+ const result = spawnSync(
+ process.execPath,
+ [
+ binary,
+ '--package-lock-only',
+ '--ignore-npm-errors',
+ '--omit',
+ 'dev',
+ '--mc-type',
+ 'application',
+ '--spec-version',
+ '1.6',
+ '--output-format',
+ 'JSON',
+ '--output-file',
+ outputFile,
+ ],
+ { cwd: uiPackageDir, encoding: 'utf8' },
+ );
+ if (result.status !== 0 || !existsSync(outputFile)) {
+ log.warn(
+ `UI SBOM skipped: cyclonedx-npm failed with status ${result.status}\n${result.stderr ?? ''}`,
+ );
+ return null;
+ }
+ log.info(`UI SBOM written to ${outputFile}`);
+ // The npm package name (e.g. "apache-streampipes") does not say "UI"; label the entry by its id.
+ return {
+ ...describeBom(UI_SBOM_ID, 'npm', fileName, outputFile),
+ label: UI_SBOM_ID,
+ };
+}
+
+function writeSbomIndex(outputDirectory, options = {}) {
+ const log = options.log ?? console;
+ const sources = options.sources ?? sourcesFromEnvironment();
+ const uiPackageDir = options.uiPackageDir ?? path.resolve(__dirname, '..');
+ const skipUi =
+ options.skipUi ?? process.env.SP_SBOM_SKIP_UI?.trim() === 'true';
+ const sbomDirectory = path.join(outputDirectory, SBOM_DIRECTORY);
+
+ cleanSbomDirectory(sbomDirectory);
+ const entries = copyMavenSboms(sources, sbomDirectory, log);
+ if (!skipUi) {
+ const uiEntry = generateUiSbom(uiPackageDir, sbomDirectory, log);
+ if (uiEntry) {
+ entries.push(uiEntry);
+ }
+ }
+ const index = {
+ generatedAt: new Date().toISOString(),
+ entries,
+ };
+ writeFileSync(
+ path.join(sbomDirectory, INDEX_FILE),
+ JSON.stringify(index, null, 2) + '\n',
+ );
+ log.info(
+ `SBOM index written with ${entries.length} entr${entries.length === 1 ? 'y' : 'ies'}`,
+ );
+ return index;
+}
+
+if (require.main === module) {
+ const [outputDirectory, ...sourceArguments] = process.argv.slice(2);
+ if (!outputDirectory) {
+ throw new Error(
+ 'Usage: node write-sbom-index.cjs <browser-output-directory> [id=path/to/bom.json ...]',
+ );
+ }
+ writeSbomIndex(outputDirectory, {
+ sources: sourcesFromEnvironment(process.env, sourceArguments),
+ });
+}
+
+module.exports = {
+ writeSbomIndex,
+ sourcesFromEnvironment,
+ sourceFromModule,
+ parseSourcePairs,
+ describeBom,
+ DEFAULT_MODULES,
+};
diff --git a/ui/scripts/write-sbom-index.test.cjs b/ui/scripts/write-sbom-index.test.cjs
new file mode 100644
index 0000000000..70830cd9f2
--- /dev/null
+++ b/ui/scripts/write-sbom-index.test.cjs
@@ -0,0 +1,169 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+const { test } = require('node:test');
+const assert = require('node:assert/strict');
+const {
+ mkdtempSync,
+ mkdirSync,
+ readFileSync,
+ writeFileSync,
+} = require('node:fs');
+const { tmpdir } = require('node:os');
+const path = require('node:path');
+
+const {
+ writeSbomIndex,
+ sourcesFromEnvironment,
+ sourceFromModule,
+ parseSourcePairs,
+ DEFAULT_MODULES,
+} = require('./write-sbom-index.cjs');
+
+const silentLog = { info: () => undefined, warn: () => undefined };
+
+function writeBom(directory, name, version, componentCount) {
+ const file = path.join(directory, 'bom.json');
+ writeFileSync(
+ file,
+ JSON.stringify({
+ bomFormat: 'CycloneDX',
+ specVersion: '1.6',
+ serialNumber: `urn:uuid:${name}`,
+ metadata: {
+ timestamp: '2026-01-01T00:00:00Z',
+ component: { group: 'org.apache.streampipes', name, version },
+ },
+ components: Array.from({ length: componentCount }, (_, i) => ({
+ name: `dep-${i}`,
+ })),
+ }),
+ );
+ return file;
+}
+
+test('copies existing SBOMs, skips missing ones and writes the index', () => {
+ const root = mkdtempSync(path.join(tmpdir(), 'sbom-'));
+ const coreDir = path.join(root, 'core');
+ mkdirSync(coreDir);
+ const coreBom = writeBom(coreDir, 'streampipes-service-core', '1.0', 3);
+ const output = path.join(root, 'browser');
+ const warnings = [];
+
+ const index = writeSbomIndex(output, {
+ skipUi: true,
+ log: { info: () => undefined, warn: m => warnings.push(m) },
+ sources: [
+ { id: 'core', file: coreBom },
+ { id: 'missing', file: path.join(root, 'nowhere', 'bom.json') },
+ ],
+ });
+
+ assert.equal(index.entries.length, 1);
+ const [entry] = index.entries;
+ assert.equal(entry.id, 'core');
+ assert.equal(entry.kind, 'maven');
+ assert.equal(entry.label, 'streampipes-service-core');
+ assert.equal(entry.version, '1.0');
+ assert.equal(entry.componentCount, 3);
+ assert.equal(entry.path, 'core.json');
+ assert.equal(entry.generatedAt, '2026-01-01T00:00:00Z');
+ assert.equal(warnings.length, 1);
+ assert.match(warnings[0], /missing/);
+
+ const written = JSON.parse(
+ readFileSync(path.join(output, 'sbom', 'index.json'), 'utf8'),
+ );
+ assert.deepEqual(written.entries, index.entries);
+ assert.ok(written.generatedAt);
+ assert.deepEqual(
+ JSON.parse(
+ readFileSync(path.join(output, 'sbom', 'core.json'), 'utf8'),
+ ),
+ JSON.parse(readFileSync(coreBom, 'utf8')),
+ );
+});
+
+test('removes SBOM files from a previous build', () => {
+ const root = mkdtempSync(path.join(tmpdir(), 'sbom-'));
+ const output = path.join(root, 'browser');
+ const sbomDir = path.join(output, 'sbom');
+ mkdirSync(sbomDir, { recursive: true });
+ writeFileSync(path.join(sbomDir, 'stale.json'), '{}');
+
+ writeSbomIndex(output, { skipUi: true, log: silentLog, sources: [] });
+
+ assert.deepEqual(require('node:fs').readdirSync(sbomDir), ['index.json']);
+});
+
+test('rejects reserved and unsafe ids', () => {
+ const root = mkdtempSync(path.join(tmpdir(), 'sbom-'));
+ const bom = writeBom(root, 'x', '1', 0);
+ for (const id of ['ui', '../escape', 'with space']) {
+ assert.throws(() =>
+ writeSbomIndex(path.join(root, 'out'), {
+ skipUi: true,
+ log: silentLog,
+ sources: [{ id, file: bom }],
+ }),
+ );
+ }
+});
+
+test('resolves module paths relative to the repository root', () => {
+ const source = sourceFromModule(
+ 'streampipes-extensions/streampipes-extensions-all-iiot/',
+ '/repo',
+ );
+ assert.equal(source.id, 'streampipes-extensions-all-iiot');
+ assert.equal(
+ source.file,
+ path.resolve(
+ '/repo/streampipes-extensions/streampipes-extensions-all-iiot/target/bom.json',
+ ),
+ );
+});
+
+test('selects sources from arguments, SP_SBOM_SOURCES or SP_SBOM_MODULES', () => {
+ const fromArgs = sourcesFromEnvironment({}, ['a=/x/bom.json']);
+ assert.deepEqual(fromArgs, [
+ { id: 'a', file: path.resolve('/x/bom.json') },
+ ]);
+
+ const fromEnv = sourcesFromEnvironment({
+ SP_SBOM_SOURCES: 'b=/y/bom.json, c=/z/bom.json',
+ SP_SBOM_MODULES: 'ignored',
+ });
+ assert.deepEqual(
+ fromEnv.map(s => s.id),
+ ['b', 'c'],
+ );
+
+ const fromModules = sourcesFromEnvironment({
+ SP_SBOM_MODULES: 'streampipes-service-core-minimal',
+ });
+ assert.deepEqual(
+ fromModules.map(s => s.id),
+ ['streampipes-service-core-minimal'],
+ );
+
+ const defaults = sourcesFromEnvironment({});
+ assert.equal(defaults.length, DEFAULT_MODULES.length);
+
+ assert.throws(() => parseSourcePairs(['no-equals-sign']));
+});
diff --git a/ui/src/app/help/components/sbom/sbom-merge.spec.ts b/ui/src/app/help/components/sbom/sbom-merge.spec.ts
new file mode 100644
index 0000000000..75ddf392f3
--- /dev/null
+++ b/ui/src/app/help/components/sbom/sbom-merge.spec.ts
@@ -0,0 +1,130 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+import { describe, expect, it } from 'vitest';
+import { componentKey, licenseText, mergeSbomComponents } from './sbom-merge';
+import { CycloneDxBom, SbomIndexEntry } from './sbom.model';
+
+function entry(id: string): SbomIndexEntry {
+ return {
+ id,
+ kind: 'maven',
+ label: id,
+ name: id,
+ group: null,
+ version: '1.0',
+ path: `${id}.json`,
+ bomFormat: 'CycloneDX',
+ specVersion: '1.6',
+ serialNumber: null,
+ generatedAt: null,
+ componentCount: 0,
+ };
+}
+
+function bom(components: CycloneDxBom['components']): CycloneDxBom {
+ return { bomFormat: 'CycloneDX', specVersion: '1.6', components };
+}
+
+describe('sbom-merge', () => {
+ it('joins distinct license ids, names and expressions', () => {
+ expect(
+ licenseText([
+ { license: { id: 'Apache-2.0' } },
+ { license: { name: 'BSD' } },
+ { expression: 'MIT OR GPL-2.0' },
+ { license: { id: 'Apache-2.0' } },
+ ]),
+ ).toBe('Apache-2.0, BSD, MIT OR GPL-2.0');
+ expect(licenseText(undefined)).toBe('');
+ });
+
+ it('keys components by purl and falls back to coordinates', () => {
+ expect(componentKey({ name: 'a', purl: 'pkg:maven/g/a@1' })).toBe(
+ 'pkg:maven/g/a@1',
+ );
+ expect(
+ componentKey({
+ type: 'library',
+ group: 'g',
+ name: 'a',
+ version: '1',
+ }),
+ ).toBe('library:g/a@1');
+ });
+
+ it('merges the same component across sources and sorts by name', () => {
+ const rows = mergeSbomComponents([
+ {
+ entry: entry('core'),
+ bom: bom([
+ {
+ type: 'library',
+ group: 'org.slf4j',
+ name: 'slf4j-api',
+ version: '2.0.0',
+ purl: 'pkg:maven/org.slf4j/slf4j-api@2.0.0',
+ licenses: [{ license: { id: 'MIT' } }],
+ },
+ {
+ type: 'library',
+ group: 'com.a',
+ name: 'zeta',
+ version: '1',
+ purl: 'pkg:maven/com.a/zeta@1',
+ },
+ ]),
+ },
+ {
+ entry: entry('iiot'),
+ bom: bom([
+ {
+ type: 'library',
+ group: 'org.slf4j',
+ name: 'slf4j-api',
+ version: '2.0.0',
+ purl: 'pkg:maven/org.slf4j/slf4j-api@2.0.0',
+ },
+ {
+ type: 'library',
+ group: 'org.slf4j',
+ name: 'slf4j-api',
+ version: '1.7.36',
+ purl: 'pkg:maven/org.slf4j/slf4j-api@1.7.36',
+ },
+ ]),
+ },
+ ]);
+
+ expect(rows.map(r => `${r.name}@${r.version}`)).toEqual([
+ 'slf4j-api@1.7.36',
+ 'slf4j-api@2.0.0',
+ 'zeta@1',
+ ]);
+ const shared = rows.find(r => r.version === '2.0.0');
+ expect(shared?.sources).toEqual(['core', 'iiot']);
+ expect(shared?.licenses).toBe('MIT');
+ expect(rows.find(r => r.name === 'zeta')?.sources).toEqual(['core']);
+ });
+
+ it('handles documents without components', () => {
+ expect(
+ mergeSbomComponents([{ entry: entry('x'), bom: bom(undefined) }]),
+ ).toEqual([]);
+ });
+});
diff --git a/ui/src/app/help/components/sbom/sbom-merge.ts b/ui/src/app/help/components/sbom/sbom-merge.ts
new file mode 100644
index 0000000000..fea5f4f97a
--- /dev/null
+++ b/ui/src/app/help/components/sbom/sbom-merge.ts
@@ -0,0 +1,87 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+import {
+ CycloneDxBom,
+ CycloneDxComponent,
+ CycloneDxLicense,
+ SbomIndexEntry,
+ SbomRow,
+} from './sbom.model';
+
+export interface LoadedSbom {
+ entry: SbomIndexEntry;
+ bom: CycloneDxBom;
+}
+
+export function licenseText(licenses: CycloneDxLicense[] | undefined): string {
+ if (!licenses?.length) {
+ return '';
+ }
+ const names = licenses
+ .map(l => l.expression ?? l.license?.id ?? l.license?.name ?? '')
+ .map(name => name.trim())
+ .filter(name => name.length > 0);
+ return Array.from(new Set(names)).join(', ');
+}
+
+export function componentKey(component: CycloneDxComponent): string {
+ if (component.purl) {
+ return component.purl;
+ }
+ return `${component.type ?? ''}:${component.group ?? ''}/${component.name}@${component.version ?? ''}`;
+}
+
+/**
+ * Merges the components of several CycloneDX documents into one row per
+ * component (keyed by package URL), remembering which SBOMs contain it.
+ */
+export function mergeSbomComponents(loaded: LoadedSbom[]): SbomRow[] {
+ const rows = new Map<string, SbomRow>();
+ for (const { entry, bom } of loaded) {
+ for (const component of bom.components ?? []) {
+ const key = componentKey(component);
+ const existing = rows.get(key);
+ if (existing) {
+ if (!existing.sources.includes(entry.id)) {
+ existing.sources.push(entry.id);
+ }
+ if (!existing.licenses) {
+ existing.licenses = licenseText(component.licenses);
+ }
+ continue;
+ }
+ rows.set(key, {
+ key,
+ name: component.name,
+ group: component.group ?? '',
+ version: component.version ?? '',
+ type: component.type ?? '',
+ licenses: licenseText(component.licenses),
+ purl: component.purl ?? '',
+ sources: [entry.id],
+ });
+ }
+ }
+ return Array.from(rows.values()).sort(
+ (a, b) =>
+ a.name.localeCompare(b.name) ||
+ a.group.localeCompare(b.group) ||
+ a.version.localeCompare(b.version),
+ );
+}
diff --git a/ui/src/app/help/components/sbom/sbom.component.html b/ui/src/app/help/components/sbom/sbom.component.html
new file mode 100644
index 0000000000..d2a2ffa8a0
--- /dev/null
+++ b/ui/src/app/help/components/sbom/sbom.component.html
@@ -0,0 +1,214 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ ~
+ -->
+
+<sp-split-section
+ [title]="'Software Bill of Materials' | translate"
+ [subtitle]="
+ 'Third-party components shipped with this installation, in CycloneDX format.'
+ | translate
+ "
+>
+ <button
+ section-actions
+ mat-icon-button
+ data-cy="sbom-refresh-button"
+ [attr.aria-label]="'Refresh' | translate"
+ [matTooltip]="'Refresh' | translate"
+ (click)="load()"
+ [disabled]="loading"
+ >
+ <mat-icon>refresh</mat-icon>
+ </button>
+ <div fxLayout="column" fxLayoutGap="var(--space-lg)">
+ @if (loading) {
+ <mat-progress-bar mode="indeterminate"></mat-progress-bar>
+ }
+ @if (loadFailed) {
+ <sp-alert-banner
+ type="error"
+ role="alert"
+ [description]="
+ 'The software bill of materials could not be loaded. Try refreshing.'
+ | translate
+ "
+ ></sp-alert-banner>
+ } @else if (notIncluded) {
+ <sp-alert-banner
+ type="info"
+ role="status"
+ [description]="
+ 'This build does not include a software bill of materials. It is generated by the production build when the Maven SBOM files are available.'
+ | translate
+ "
+ ></sp-alert-banner>
+ }
+ @if (failedEntries.length > 0) {
+ <sp-alert-banner
+ type="warning"
+ role="alert"
+ [description]="
+ ('Some documents could not be loaded:' | translate) +
+ ' ' +
+ failedEntries.join(', ')
+ "
+ ></sp-alert-banner>
+ }
+ @if (entries.length > 0) {
+ <section
+ class="sbom-sources"
+ [attr.aria-label]="'Included components' | translate"
+ >
+ <h3 class="sbom-sources-title">
+ {{ 'Included components' | translate }}
+ </h3>
+ <ul class="sbom-source-list">
+ @for (entry of entries; track entry.id) {
+ <li
+ class="sbom-source"
+ fxLayout="row"
+ fxLayoutAlign="start center"
+ fxLayoutGap="var(--space-sm)"
+ >
+ <mat-checkbox
+ [attr.data-cy]="'sbom-source-' + entry.id"
+ [checked]="isSelected(entry.id)"
+ (change)="
+ toggleSource(entry.id, $event.checked)
+ "
+ >
+ <span class="sbom-source-label">{{
+ entry.label
+ }}</span>
+ @if (entry.version) {
+ <span class="sbom-source-version">{{
+ entry.version
+ }}</span>
+ }
+ </mat-checkbox>
+ <sp-label
+ size="small"
+ variant="soft"
+ tone="neutral"
+ [labelText]="entry.kind"
+ />
+ <span class="sbom-source-meta">
+ {{ entry.componentCount }}
+ {{ 'components' | translate }}
+ </span>
+ <a
+ mat-icon-button
+ [href]="downloadUrl(entry)"
+ [attr.download]="downloadName(entry)"
+ [attr.data-cy]="'sbom-download-' + entry.id"
+ [matTooltip]="
+ 'Download CycloneDX JSON' | translate
+ "
+ [attr.aria-label]="
+ ('Download CycloneDX JSON' | translate) +
+ ': ' +
+ entry.label
+ "
+ >
+ <mat-icon>download</mat-icon>
+ </a>
+ </li>
+ }
+ </ul>
+ @if (generatedAt) {
+ <p class="sbom-generated">
+ {{ 'Generated' | translate }}
+ <time [attr.datetime]="generatedAt">{{
+ generatedAt | date: 'medium'
+ }}</time>
+ · {{ componentCount }}
+ {{ 'distinct components selected' | translate }}
+ </p>
+ }
+ </section>
+ <div class="sbom-table" [attr.aria-busy]="loading">
+ <sp-table
+ data-cy="sbom-table"
+ [columns]="columns"
+ [dataSource]="dataSource"
+ [nameSearchConfig]="searchConfig"
+ >
+ <ng-container matColumnDef="name">
+ <th mat-header-cell *matHeaderCellDef>
+ {{ 'Component' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let row">
+ <span class="sbom-component-name">{{
+ row.name
+ }}</span>
+ @if (row.group) {
+ <span class="sbom-component-group">{{
+ row.group
+ }}</span>
+ }
+ </td>
+ </ng-container>
+ <ng-container matColumnDef="version">
+ <th mat-header-cell *matHeaderCellDef>
+ {{ 'Version' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let row">
+ {{ row.version || '—' }}
+ </td>
+ </ng-container>
+ <ng-container matColumnDef="type">
+ <th mat-header-cell *matHeaderCellDef>
+ {{ 'Type' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let row">
+ {{ row.type || '—' }}
+ </td>
+ </ng-container>
+ <ng-container matColumnDef="licenses">
+ <th mat-header-cell *matHeaderCellDef>
+ {{ 'Licenses' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let row">
+ {{ row.licenses || '—' }}
+ </td>
+ </ng-container>
+ <ng-container matColumnDef="sources">
+ <th mat-header-cell *matHeaderCellDef>
+ {{ 'Included in' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let row">
+ <span
+ class="sbom-row-sources"
+ fxLayout="row wrap"
+ fxLayoutGap="var(--space-xs)"
+ >
+ @for (source of row.sources; track source) {
+ <sp-label
+ size="small"
+ variant="outline"
+ tone="neutral"
+ [labelText]="labelFor(source)"
+ />
+ }
+ </span>
+ </td>
+ </ng-container>
+ </sp-table>
+ </div>
+ }
+ </div>
+</sp-split-section>
diff --git a/ui/src/app/help/components/sbom/sbom.component.scss b/ui/src/app/help/components/sbom/sbom.component.scss
new file mode 100644
index 0000000000..68a7f6cd5e
--- /dev/null
+++ b/ui/src/app/help/components/sbom/sbom.component.scss
@@ -0,0 +1,81 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+:host {
+ display: block;
+}
+
+h3,
+p {
+ margin: 0;
+}
+
+.sbom-sources-title {
+ font-size: var(--font-size-sm);
+ font-weight: 600;
+ color: var(--mat-sys-on-surface-variant);
+ margin-bottom: var(--space-xs);
+}
+
+.sbom-source-list {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+}
+
+.sbom-source-version,
+.sbom-source-meta,
+.sbom-generated,
+.sbom-component-group {
+ color: var(--mat-sys-on-surface-variant);
+ font-size: var(--font-size-sm);
+}
+
+.sbom-source-version {
+ margin-left: var(--space-xs);
+}
+
+.sbom-generated {
+ margin-top: var(--space-sm);
+}
+
+.sbom-component-name {
+ display: block;
+}
+
+.sbom-component-group {
+ display: block;
+ overflow-wrap: anywhere;
+}
+
+.sbom-table {
+ overflow-x: auto;
+}
+
+.sbom-table sp-table {
+ display: block;
+}
+
+.sbom-table td.mat-column-licenses {
+ overflow-wrap: anywhere;
+}
+
+.sbom-table td.mat-column-version,
+.sbom-table td.mat-column-type {
+ white-space: nowrap;
+}
diff --git a/ui/src/app/help/components/sbom/sbom.component.ts b/ui/src/app/help/components/sbom/sbom.component.ts
new file mode 100644
index 0000000000..b7ae3baa8e
--- /dev/null
+++ b/ui/src/app/help/components/sbom/sbom.component.ts
@@ -0,0 +1,203 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+import {
+ ChangeDetectionStrategy,
+ Component,
+ DestroyRef,
+ OnInit,
+ inject,
+} from '@angular/core';
+import { DatePipe } from '@angular/common';
+import { HttpErrorResponse } from '@angular/common/http';
+import { MatButtonModule } from '@angular/material/button';
+import { MatCheckboxModule } from '@angular/material/checkbox';
+import { MatIconModule } from '@angular/material/icon';
+import { MatProgressBarModule } from '@angular/material/progress-bar';
+import { MatTableDataSource, MatTableModule } from '@angular/material/table';
+import { MatTooltipModule } from '@angular/material/tooltip';
+import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
+import {
+ LayoutAlignDirective,
+ LayoutDirective,
+ LayoutGapDirective,
+} from '@ngbracket/ngx-layout/flex';
+import { TranslatePipe, TranslateService } from '@ngx-translate/core';
+import {
+ SpAlertBannerComponent,
+ SpLabelComponent,
+ SpTableComponent,
+ SpTableNameSearchConfig,
+ SplitSectionComponent,
+} from '@streampipes/shared-ui';
+import { forkJoin, of } from 'rxjs';
+import { catchError, map } from 'rxjs/operators';
+import { SbomService } from './sbom.service';
+import { CycloneDxBom, SbomIndexEntry, SbomRow } from './sbom.model';
+import { LoadedSbom, mergeSbomComponents } from './sbom-merge';
+
+@Component({
+ selector: 'sp-sbom-tab',
+ templateUrl: './sbom.component.html',
+ styleUrls: ['./sbom.component.scss'],
+ changeDetection: ChangeDetectionStrategy.Eager,
+ imports: [
+ DatePipe,
+ MatButtonModule,
+ MatCheckboxModule,
+ MatIconModule,
+ MatProgressBarModule,
+ MatTableModule,
+ MatTooltipModule,
+ LayoutDirective,
+ LayoutGapDirective,
+ LayoutAlignDirective,
+ TranslatePipe,
+ SpAlertBannerComponent,
+ SpLabelComponent,
+ SpTableComponent,
+ SplitSectionComponent,
+ ],
+})
+export class SbomTabComponent implements OnInit {
+ private sbomService = inject(SbomService);
+ private translate = inject(TranslateService);
+ private destroyRef = inject(DestroyRef);
+
+ readonly columns = ['name', 'version', 'type', 'licenses', 'sources'];
+ readonly searchConfig: SpTableNameSearchConfig<SbomRow> = {
+ enabled: true,
+ placeholder: this.translate.instant('Search components'),
+ searchKey: ['name', 'group', 'version', 'purl', 'licenses'],
+ };
+
+ dataSource = new MatTableDataSource<SbomRow>([]);
+ entries: SbomIndexEntry[] = [];
+ generatedAt?: string;
+ selected = new Set<string>();
+ loading = false;
+ /** The build did not publish an index or it lists no SBOM. */
+ notIncluded = false;
+ /** The index or a document could not be loaded for another reason. */
+ loadFailed = false;
+ failedEntries: string[] = [];
+
+ private boms = new Map<string, CycloneDxBom>();
+ private labels = new Map<string, string>();
+
+ ngOnInit(): void {
+ this.load();
+ }
+
+ load(): void {
+ this.loading = true;
+ this.notIncluded = false;
+ this.loadFailed = false;
+ this.failedEntries = [];
+ this.sbomService
+ .loadIndex()
+ .pipe(takeUntilDestroyed(this.destroyRef))
+ .subscribe({
+ next: index => {
+ this.entries = index.entries ?? [];
+ this.generatedAt = index.generatedAt;
+ this.labels = new Map(
+ this.entries.map(entry => [entry.id, entry.label]),
+ );
+ this.selected = new Set(this.entries.map(e => e.id));
+ if (this.entries.length === 0) {
+ this.notIncluded = true;
+ this.loading = false;
+ this.rebuildRows();
+ return;
+ }
+ this.loadDocuments();
+ },
+ error: (error: HttpErrorResponse) => {
+ this.loading = false;
+ this.entries = [];
+ this.rebuildRows();
+ if (error.status === 404) {
+ this.notIncluded = true;
+ } else {
+ this.loadFailed = true;
+ }
+ },
+ });
+ }
+
+ toggleSource(id: string, checked: boolean): void {
+ if (checked) {
+ this.selected.add(id);
+ } else {
+ this.selected.delete(id);
+ }
+ this.rebuildRows();
+ }
+
+ isSelected(id: string): boolean {
+ return this.selected.has(id);
+ }
+
+ labelFor(id: string): string {
+ return this.labels.get(id) ?? id;
+ }
+
+ downloadUrl(entry: SbomIndexEntry): string {
+ return this.sbomService.downloadUrl(entry);
+ }
+
+ downloadName(entry: SbomIndexEntry): string {
+ return `${entry.id}-bom.json`;
+ }
+
+ get componentCount(): number {
+ return this.dataSource.data.length;
+ }
+
+ private loadDocuments(): void {
+ const requests = this.entries.map(entry =>
+ this.sbomService.loadBom(entry).pipe(
+ map(bom => ({ entry, bom }) as LoadedSbom),
+ catchError(() => {
+ this.failedEntries.push(entry.label);
+ return of(null);
+ }),
+ ),
+ );
+ forkJoin(requests)
+ .pipe(takeUntilDestroyed(this.destroyRef))
+ .subscribe(loaded => {
+ this.boms = new Map(
+ loaded
+ .filter((item): item is LoadedSbom => item !== null)
+ .map(item => [item.entry.id, item.bom]),
+ );
+ this.loading = false;
+ this.rebuildRows();
+ });
+ }
+
+ private rebuildRows(): void {
+ const loaded: LoadedSbom[] = this.entries
+ .filter(entry => this.selected.has(entry.id))
+ .filter(entry => this.boms.has(entry.id))
+ .map(entry => ({ entry, bom: this.boms.get(entry.id) }));
+ this.dataSource.data = mergeSbomComponents(loaded);
+ }
+}
diff --git a/ui/src/app/help/components/sbom/sbom.model.ts b/ui/src/app/help/components/sbom/sbom.model.ts
new file mode 100644
index 0000000000..51cec6c383
--- /dev/null
+++ b/ui/src/app/help/components/sbom/sbom.model.ts
@@ -0,0 +1,83 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+/**
+ * Model of the SBOM files published by ui/scripts/write-sbom-index.cjs
+ * (sbom/index.json and one CycloneDX JSON document per entry).
+ */
+export type SbomKind = 'maven' | 'npm';
+
+export interface SbomIndexEntry {
+ id: string;
+ kind: SbomKind;
+ label: string;
+ name: string | null;
+ group: string | null;
+ version: string | null;
+ path: string;
+ bomFormat: string | null;
+ specVersion: string | null;
+ serialNumber: string | null;
+ generatedAt: string | null;
+ componentCount: number;
+}
+
+export interface SbomIndex {
+ generatedAt: string;
+ entries: SbomIndexEntry[];
+}
+
+/** The subset of a CycloneDX document the UI reads. */
+export interface CycloneDxLicense {
+ license?: { id?: string; name?: string; url?: string };
+ expression?: string;
+}
+
+export interface CycloneDxComponent {
+ type?: string;
+ group?: string;
+ name: string;
+ version?: string;
+ purl?: string;
+ description?: string;
+ licenses?: CycloneDxLicense[];
+}
+
+export interface CycloneDxBom {
+ bomFormat: string;
+ specVersion: string;
+ serialNumber?: string;
+ metadata?: {
+ timestamp?: string;
+ component?: CycloneDxComponent;
+ };
+ components?: CycloneDxComponent[];
+}
+
+/** One table row: a component merged across the selected SBOMs. */
+export interface SbomRow {
+ key: string;
+ name: string;
+ group: string;
+ version: string;
+ type: string;
+ licenses: string;
+ purl: string;
+ /** Ids of the SBOM entries that contain this component. */
+ sources: string[];
+}
diff --git a/ui/src/app/help/components/sbom/sbom.service.ts b/ui/src/app/help/components/sbom/sbom.service.ts
new file mode 100644
index 0000000000..90f822a44b
--- /dev/null
+++ b/ui/src/app/help/components/sbom/sbom.service.ts
@@ -0,0 +1,49 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+import { Injectable, inject } from '@angular/core';
+import { DOCUMENT } from '@angular/common';
+import { HttpClient } from '@angular/common/http';
+import { Observable } from 'rxjs';
+import { CycloneDxBom, SbomIndex, SbomIndexEntry } from './sbom.model';
+
+/**
+ * Reads the software bills of materials that the UI build publishes as static
+ * files under <base href>/sbom/ (see ui/scripts/write-sbom-index.cjs).
+ */
+@Injectable({ providedIn: 'root' })
+export class SbomService {
+ private http = inject(HttpClient);
+ private document = inject(DOCUMENT);
+
+ loadIndex(): Observable<SbomIndex> {
+ return this.http.get<SbomIndex>(this.fileUrl('index.json'));
+ }
+
+ loadBom(entry: SbomIndexEntry): Observable<CycloneDxBom> {
+ return this.http.get<CycloneDxBom>(this.fileUrl(entry.path));
+ }
+
+ downloadUrl(entry: SbomIndexEntry): string {
+ return this.fileUrl(entry.path);
+ }
+
+ private fileUrl(file: string): string {
+ return new URL(`sbom/${file}`, this.document.baseURI).toString();
+ }
+}
diff --git a/ui/src/app/help/help.component.html b/ui/src/app/help/help.component.html
index abb192b9e0..75ae46ac2d 100644
--- a/ui/src/app/help/help.component.html
+++ b/ui/src/app/help/help.component.html
@@ -25,30 +25,51 @@
(selectedIndexChange)="selectedIndexChange($event)"
[mat-stretch-tabs]="false"
>
- <mat-tab [label]="'Info' | translate"></mat-tab>
- @if (showDocumentationTab) {
- <mat-tab [label]="'Documentation' | translate"></mat-tab>
+ @for (tab of tabs; track tab) {
+ <mat-tab>
+ <ng-template mat-tab-label>
+ @switch (tab) {
+ @case ('info') {
+ {{ 'Info' | translate }}
+ }
+ @case ('documentation') {
+ {{ 'Documentation' | translate }}
+ }
+ @case ('sbom') {
+ {{ 'Software Bill of Materials' | translate }}
+ }
+ @case ('shortcuts') {
+ {{ 'Shortcuts' | translate }}
+ }
+ }
+ </ng-template>
+ </mat-tab>
}
- <mat-tab [label]="'Shortcuts' | translate"></mat-tab>
</mat-tab-group>
-
<div class="fixed-height page-tab-content" fxLayout="column" fxFlex="100">
- @if (selectedIndex === 0) {
- <div class="fixed-height" fxLayout="column" fxFlex="100">
- <sp-info-tab></sp-info-tab>
- </div>
- }
- @if (showDocumentationTab && selectedIndex === 1) {
- <div class="fixed-height" fxLayout="column" fxFlex="100">
- <sp-documentation-tab
- [documentationLink]="documentationLink"
- ></sp-documentation-tab>
- </div>
- }
- @if (selectedIndex === shortcutsTabIndex) {
- <div class="fixed-height" fxLayout="column" fxFlex="100">
- <sp-shortcuts-tab></sp-shortcuts-tab>
- </div>
+ @switch (selectedTab) {
+ @case ('info') {
+ <div class="fixed-height" fxLayout="column" fxFlex="100">
+ <sp-info-tab></sp-info-tab>
+ </div>
+ }
+ @case ('documentation') {
+ <div class="fixed-height" fxLayout="column" fxFlex="100">
+ <sp-documentation-tab
+ [documentationLink]="documentationLink"
+ ></sp-documentation-tab>
+ </div>
+ }
+ @case ('sbom') {
+ <div class="fixed-height" fxLayout="column" fxFlex="100">
+ <sp-sbom-tab></sp-sbom-tab>
+ </div>
+ }
+ @case ('shortcuts') {
+ <div class="fixed-height" fxLayout="column" fxFlex="100">
+ <sp-shortcuts-tab></sp-shortcuts-tab>
+ </div>
+ }
}
</div>
</sp-basic-view>
diff --git a/ui/src/app/help/help.component.ts b/ui/src/app/help/help.component.ts
index d40c583370..8c6544bd3e 100644
--- a/ui/src/app/help/help.component.ts
+++ b/ui/src/app/help/help.component.ts
@@ -23,18 +23,22 @@ import {
ChangeDetectionStrategy,
} from '@angular/core';
import {
+ CurrentUserService,
SpBasicViewComponent,
SpBreadcrumbService,
SpPageHeaderComponent,
} from '@streampipes/shared-ui';
import { FlexDirective, LayoutDirective } from '@ngbracket/ngx-layout/flex';
-import { MatTab, MatTabGroup } from '@angular/material/tabs';
+import { MatTab, MatTabGroup, MatTabLabel } from '@angular/material/tabs';
import { LoginSettingsService } from '../login/services/login-settings.service';
import { InfoTabComponent } from './components/info/info.component';
import { DocumentationTabComponent } from './components/documentation/documentation.component';
import { ShortcutsTabComponent } from './components/shortcuts/shortcuts.component';
+import { SbomTabComponent } from './components/sbom/sbom.component';
import { TranslatePipe, TranslateService } from '@ngx-translate/core';
+export type HelpTabId = 'info' | 'documentation' | 'sbom' | 'shortcuts';
+
@Component({
selector: 'sp-help',
templateUrl: './help.component.html',
@@ -47,42 +51,59 @@ import { TranslatePipe, TranslateService } from '@ngx-translate/core';
LayoutDirective,
MatTabGroup,
MatTab,
+ MatTabLabel,
TranslatePipe,
InfoTabComponent,
DocumentationTabComponent,
ShortcutsTabComponent,
+ SbomTabComponent,
],
})
export class HelpComponent implements OnInit {
private breadcrumbService = inject(SpBreadcrumbService);
private loginSettingsService = inject(LoginSettingsService);
+ private currentUserService = inject(CurrentUserService);
private translateService = inject(TranslateService);
+ tabs: HelpTabId[] = [];
selectedIndex = 0;
documentationLink = '';
showDocumentationTab = false;
+ /** The SBOM tab is only shown to administrators; the files themselves are public. */
+ showSbomTab = false;
- get shortcutsTabIndex(): number {
- return this.showDocumentationTab ? 2 : 1;
+ get selectedTab(): HelpTabId | undefined {
+ return this.tabs[this.selectedIndex];
}
ngOnInit(): void {
this.breadcrumbService.updateBreadcrumb([
{ label: this.translateService.instant('Help') },
]);
+ this.showSbomTab = this.currentUserService.hasRole('ROLE_ADMIN');
+ this.rebuildTabs();
this.loginSettingsService.getSettings().subscribe(res => {
this.documentationLink = res.linkSettings?.documentationUrl || '';
this.showDocumentationTab =
!!res.linkSettings?.showDocumentationLinkInProfileMenu &&
!!this.documentationLink;
-
- if (this.selectedIndex > this.shortcutsTabIndex) {
- this.selectedIndex = this.shortcutsTabIndex;
- }
+ this.rebuildTabs();
});
}
selectedIndexChange(index: number) {
this.selectedIndex = index;
}
+
+ private rebuildTabs(): void {
+ const current = this.selectedTab;
+ this.tabs = [
+ 'info',
+ ...(this.showDocumentationTab ? (['documentation'] as const) : []),
+ ...(this.showSbomTab ? (['sbom'] as const) : []),
+ 'shortcuts',
+ ];
+ const index = current ? this.tabs.indexOf(current) : -1;
+ this.selectedIndex = index >= 0 ? index : 0;
+ }
}