From d11a894dbd949fcbdb925fd1cd312aff7d45b063 Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Sat, 11 Nov 2023 10:59:00 +0100 Subject: [PATCH 1/3] explicit require `packageurl-js` Signed-off-by: Jan Kowalleck --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index fc62497cf..6128e127a 100644 --- a/package.json +++ b/package.json @@ -54,6 +54,7 @@ "@cyclonedx/cyclonedx-library": "^6.1.0", "commander": "^10.0.0", "normalize-package-data": "^3||^4||^5||^6", + "packageurl-js": "^1.2.1", "xmlbuilder2": "^3.0.2" }, "devDependencies": { From 992f6697e1ec24a39626820eaddf7323c60f688b Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Sat, 11 Nov 2023 11:06:51 +0100 Subject: [PATCH 2/3] update tests Signed-off-by: Jan Kowalleck --- .../package-with-build-id_npm10_node18_macos-latest.snap.json | 2 +- .../package-with-build-id_npm10_node18_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm10_node18_windows-latest.snap.json | 2 +- .../package-with-build-id_npm10_node20_macos-latest.snap.json | 2 +- .../package-with-build-id_npm10_node20_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm10_node20_windows-latest.snap.json | 2 +- .../package-with-build-id_npm7_node14_macos-latest.snap.json | 2 +- .../package-with-build-id_npm7_node14_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm7_node14_windows-latest.snap.json | 2 +- .../package-with-build-id_npm7_node16_macos-latest.snap.json | 2 +- .../package-with-build-id_npm7_node16_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm7_node16_windows-latest.snap.json | 2 +- .../package-with-build-id_npm7_node18_macos-latest.snap.json | 2 +- .../package-with-build-id_npm7_node18_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm7_node18_windows-latest.snap.json | 2 +- .../package-with-build-id_npm7_node19_macos-latest.snap.json | 2 +- .../package-with-build-id_npm7_node19_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm7_node19_windows-latest.snap.json | 2 +- .../package-with-build-id_npm8_node14_macos-latest.snap.json | 2 +- .../package-with-build-id_npm8_node14_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm8_node14_windows-latest.snap.json | 2 +- .../package-with-build-id_npm8_node16_macos-latest.snap.json | 2 +- .../package-with-build-id_npm8_node16_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm8_node16_windows-latest.snap.json | 2 +- .../package-with-build-id_npm8_node18_macos-latest.snap.json | 2 +- .../package-with-build-id_npm8_node18_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm8_node18_windows-latest.snap.json | 2 +- .../package-with-build-id_npm8_node19_macos-latest.snap.json | 2 +- .../package-with-build-id_npm8_node19_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm8_node19_windows-latest.snap.json | 2 +- .../package-with-build-id_npm9_node16_macos-latest.snap.json | 2 +- .../package-with-build-id_npm9_node16_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm9_node16_windows-latest.snap.json | 2 +- .../package-with-build-id_npm9_node18_macos-latest.snap.json | 2 +- .../package-with-build-id_npm9_node18_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm9_node18_windows-latest.snap.json | 2 +- .../package-with-build-id_npm9_node19_macos-latest.snap.json | 2 +- .../package-with-build-id_npm9_node19_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm9_node19_windows-latest.snap.json | 2 +- .../package-with-build-id_npm10_node18_macos-latest.snap.json | 2 +- .../package-with-build-id_npm10_node18_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm10_node18_windows-latest.snap.json | 2 +- .../package-with-build-id_npm10_node20_macos-latest.snap.json | 2 +- .../package-with-build-id_npm10_node20_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm10_node20_windows-latest.snap.json | 2 +- .../package-with-build-id_npm7_node14_macos-latest.snap.json | 2 +- .../package-with-build-id_npm7_node14_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm7_node14_windows-latest.snap.json | 2 +- .../package-with-build-id_npm7_node16_macos-latest.snap.json | 2 +- .../package-with-build-id_npm7_node16_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm7_node16_windows-latest.snap.json | 2 +- .../package-with-build-id_npm7_node18_macos-latest.snap.json | 2 +- .../package-with-build-id_npm7_node18_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm7_node18_windows-latest.snap.json | 2 +- .../package-with-build-id_npm7_node19_macos-latest.snap.json | 2 +- .../package-with-build-id_npm7_node19_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm7_node19_windows-latest.snap.json | 2 +- .../package-with-build-id_npm8_node14_macos-latest.snap.json | 2 +- .../package-with-build-id_npm8_node14_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm8_node14_windows-latest.snap.json | 2 +- .../package-with-build-id_npm8_node16_macos-latest.snap.json | 2 +- .../package-with-build-id_npm8_node16_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm8_node16_windows-latest.snap.json | 2 +- .../package-with-build-id_npm8_node18_macos-latest.snap.json | 2 +- .../package-with-build-id_npm8_node18_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm8_node18_windows-latest.snap.json | 2 +- .../package-with-build-id_npm8_node19_macos-latest.snap.json | 2 +- .../package-with-build-id_npm8_node19_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm8_node19_windows-latest.snap.json | 2 +- .../package-with-build-id_npm9_node16_macos-latest.snap.json | 2 +- .../package-with-build-id_npm9_node16_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm9_node16_windows-latest.snap.json | 2 +- .../package-with-build-id_npm9_node18_macos-latest.snap.json | 2 +- .../package-with-build-id_npm9_node18_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm9_node18_windows-latest.snap.json | 2 +- .../package-with-build-id_npm9_node19_macos-latest.snap.json | 2 +- .../package-with-build-id_npm9_node19_ubuntu-latest.snap.json | 2 +- .../package-with-build-id_npm9_node19_windows-latest.snap.json | 2 +- 78 files changed, 78 insertions(+), 78 deletions(-) diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node18_macos-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node18_macos-latest.snap.json index 8d273929c..3e32b87dd 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node18_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node18_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node18_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node18_ubuntu-latest.snap.json index 8d273929c..3e32b87dd 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node18_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node18_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node18_windows-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node18_windows-latest.snap.json index 8d273929c..3e32b87dd 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node18_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node18_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node20_macos-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node20_macos-latest.snap.json index 8d273929c..3e32b87dd 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node20_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node20_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node20_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node20_ubuntu-latest.snap.json index 8d273929c..3e32b87dd 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node20_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node20_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node20_windows-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node20_windows-latest.snap.json index 8d273929c..3e32b87dd 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node20_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm10_node20_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node14_macos-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node14_macos-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node14_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node14_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node14_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node14_ubuntu-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node14_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node14_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node14_windows-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node14_windows-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node14_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node14_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node16_macos-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node16_macos-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node16_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node16_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node16_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node16_ubuntu-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node16_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node16_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node16_windows-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node16_windows-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node16_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node16_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node18_macos-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node18_macos-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node18_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node18_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node18_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node18_ubuntu-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node18_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node18_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node18_windows-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node18_windows-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node18_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node18_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node19_macos-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node19_macos-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node19_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node19_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node19_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node19_ubuntu-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node19_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node19_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node19_windows-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node19_windows-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node19_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm7_node19_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node14_macos-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node14_macos-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node14_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node14_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node14_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node14_ubuntu-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node14_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node14_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node14_windows-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node14_windows-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node14_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node14_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node16_macos-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node16_macos-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node16_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node16_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node16_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node16_ubuntu-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node16_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node16_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node16_windows-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node16_windows-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node16_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node16_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node18_macos-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node18_macos-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node18_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node18_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node18_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node18_ubuntu-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node18_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node18_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node18_windows-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node18_windows-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node18_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node18_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node19_macos-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node19_macos-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node19_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node19_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node19_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node19_ubuntu-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node19_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node19_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node19_windows-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node19_windows-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node19_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm8_node19_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node16_macos-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node16_macos-latest.snap.json index 25bfe0926..0c629b17c 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node16_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node16_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node16_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node16_ubuntu-latest.snap.json index 25bfe0926..0c629b17c 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node16_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node16_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node16_windows-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node16_windows-latest.snap.json index 25bfe0926..0c629b17c 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node16_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node16_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node18_macos-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node18_macos-latest.snap.json index 25bfe0926..0c629b17c 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node18_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node18_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node18_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node18_ubuntu-latest.snap.json index 25bfe0926..0c629b17c 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node18_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node18_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node18_windows-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node18_windows-latest.snap.json index 25bfe0926..0c629b17c 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node18_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node18_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node19_macos-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node19_macos-latest.snap.json index 25bfe0926..0c629b17c 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node19_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node19_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node19_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node19_ubuntu-latest.snap.json index 25bfe0926..0c629b17c 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node19_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node19_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node19_windows-latest.snap.json b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node19_windows-latest.snap.json index 25bfe0926..0c629b17c 100644 --- a/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node19_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/bare/package-with-build-id_npm9_node19_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node18_macos-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node18_macos-latest.snap.json index 8d273929c..3e32b87dd 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node18_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node18_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node18_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node18_ubuntu-latest.snap.json index 8d273929c..3e32b87dd 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node18_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node18_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node18_windows-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node18_windows-latest.snap.json index 8d273929c..3e32b87dd 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node18_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node18_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node20_macos-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node20_macos-latest.snap.json index 8d273929c..3e32b87dd 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node20_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node20_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node20_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node20_ubuntu-latest.snap.json index 8d273929c..3e32b87dd 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node20_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node20_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node20_windows-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node20_windows-latest.snap.json index 8d273929c..3e32b87dd 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node20_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm10_node20_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node14_macos-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node14_macos-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node14_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node14_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node14_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node14_ubuntu-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node14_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node14_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node14_windows-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node14_windows-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node14_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node14_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node16_macos-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node16_macos-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node16_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node16_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node16_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node16_ubuntu-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node16_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node16_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node16_windows-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node16_windows-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node16_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node16_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node18_macos-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node18_macos-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node18_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node18_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node18_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node18_ubuntu-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node18_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node18_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node18_windows-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node18_windows-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node18_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node18_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node19_macos-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node19_macos-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node19_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node19_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node19_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node19_ubuntu-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node19_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node19_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node19_windows-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node19_windows-latest.snap.json index 9031628e5..e6666d22e 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node19_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm7_node19_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node14_macos-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node14_macos-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node14_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node14_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node14_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node14_ubuntu-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node14_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node14_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node14_windows-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node14_windows-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node14_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node14_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node16_macos-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node16_macos-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node16_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node16_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node16_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node16_ubuntu-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node16_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node16_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node16_windows-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node16_windows-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node16_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node16_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node18_macos-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node18_macos-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node18_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node18_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node18_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node18_ubuntu-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node18_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node18_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node18_windows-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node18_windows-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node18_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node18_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node19_macos-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node19_macos-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node19_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node19_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node19_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node19_ubuntu-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node19_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node19_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node19_windows-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node19_windows-latest.snap.json index 760c38853..da94a407f 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node19_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm8_node19_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node16_macos-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node16_macos-latest.snap.json index 25bfe0926..0c629b17c 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node16_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node16_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node16_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node16_ubuntu-latest.snap.json index 25bfe0926..0c629b17c 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node16_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node16_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node16_windows-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node16_windows-latest.snap.json index 25bfe0926..0c629b17c 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node16_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node16_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node18_macos-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node18_macos-latest.snap.json index 25bfe0926..0c629b17c 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node18_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node18_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node18_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node18_ubuntu-latest.snap.json index 25bfe0926..0c629b17c 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node18_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node18_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node18_windows-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node18_windows-latest.snap.json index 25bfe0926..0c629b17c 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node18_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node18_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node19_macos-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node19_macos-latest.snap.json index 25bfe0926..0c629b17c 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node19_macos-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node19_macos-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node19_ubuntu-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node19_ubuntu-latest.snap.json index 25bfe0926..0c629b17c 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node19_ubuntu-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node19_ubuntu-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", diff --git a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node19_windows-latest.snap.json b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node19_windows-latest.snap.json index 25bfe0926..0c629b17c 100644 --- a/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node19_windows-latest.snap.json +++ b/tests/_data/sbom_demo-results/flatten-components/package-with-build-id_npm9_node19_windows-latest.snap.json @@ -60,7 +60,7 @@ "version": "1.0.0-123+456", "bom-ref": "demo-package-with-build-id@1.0.0-123+456", "description": "demo: package-with-build-id -- show how buildID in the version looks like", - "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123%2B456", + "purl": "pkg:npm/demo-package-with-build-id@1.0.0-123+456", "externalReferences": [ { "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues/551", From 9302edb158693b399525237a577b058b51059e92 Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Sat, 11 Nov 2023 11:11:11 +0100 Subject: [PATCH 3/3] history Signed-off-by: Jan Kowalleck --- HISTORY.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index 085f8630f..2f910fc57 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. ## unreleased +* Fixed + * Added direct dependency `packageurl-js` as such (via [#1122]) + +[#1122]: https://github.com/CycloneDX/cyclonedx-node-npm/pull/1122 + ## 1.14.2 - 2023-11-06 * Fixed