@pnpm/deps.compliance.sbom 1100.0.8 → 1100.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/serializeCycloneDx.d.ts +1 -0
- package/lib/serializeCycloneDx.js +3 -2
- package/package.json +15 -15
|
@@ -125,10 +125,11 @@ export function serializeCycloneDx(result, opts) {
|
|
|
125
125
|
if (opts?.sbomSupplier) {
|
|
126
126
|
metadata.supplier = { name: opts.sbomSupplier };
|
|
127
127
|
}
|
|
128
|
+
const version = opts?.specVersion || '1.7';
|
|
128
129
|
const bom = {
|
|
129
|
-
$schema:
|
|
130
|
+
$schema: `http://cyclonedx.org/schema/bom-${version}.schema.json`,
|
|
130
131
|
bomFormat: 'CycloneDX',
|
|
131
|
-
specVersion:
|
|
132
|
+
specVersion: version,
|
|
132
133
|
serialNumber: `urn:uuid:${crypto.randomUUID()}`,
|
|
133
134
|
version: 1,
|
|
134
135
|
metadata,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/deps.compliance.sbom",
|
|
3
|
-
"version": "1100.0
|
|
3
|
+
"version": "1100.1.0",
|
|
4
4
|
"description": "Generate SBOM from pnpm lockfile",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -28,28 +28,28 @@
|
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@cyclonedx/cyclonedx-library": "10.0.0",
|
|
31
|
-
"p-limit": "^7.
|
|
31
|
+
"p-limit": "^7.1.0",
|
|
32
32
|
"ssri": "13.0.1",
|
|
33
|
-
"@pnpm/lockfile.types": "1100.0.4",
|
|
34
|
-
"@pnpm/lockfile.utils": "1100.0.6",
|
|
35
33
|
"@pnpm/deps.compliance.license-resolver": "1100.0.0",
|
|
36
|
-
"@pnpm/lockfile.
|
|
37
|
-
"@pnpm/lockfile.walker": "1100.0.
|
|
38
|
-
"@pnpm/pkg-manifest.reader": "1100.0.
|
|
39
|
-
"@pnpm/
|
|
40
|
-
"@pnpm/
|
|
41
|
-
"@pnpm/
|
|
42
|
-
"@pnpm/
|
|
34
|
+
"@pnpm/lockfile.utils": "1100.0.7",
|
|
35
|
+
"@pnpm/lockfile.walker": "1100.0.5",
|
|
36
|
+
"@pnpm/pkg-manifest.reader": "1100.0.3",
|
|
37
|
+
"@pnpm/store.index": "1100.1.0",
|
|
38
|
+
"@pnpm/lockfile.detect-dep-types": "1100.0.5",
|
|
39
|
+
"@pnpm/resolving.resolver-base": "1100.1.3",
|
|
40
|
+
"@pnpm/store.pkg-finder": "1100.0.8",
|
|
41
|
+
"@pnpm/lockfile.types": "1100.0.5",
|
|
42
|
+
"@pnpm/types": "1101.1.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@pnpm/logger": "
|
|
45
|
+
"@pnpm/logger": ">=1001.0.0 <1002.0.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@jest/globals": "30.3.0",
|
|
49
49
|
"@types/ssri": "^7.1.5",
|
|
50
|
-
"@pnpm/deps.compliance.sbom": "1100.0
|
|
51
|
-
"@pnpm/
|
|
52
|
-
"@pnpm/
|
|
50
|
+
"@pnpm/deps.compliance.sbom": "1100.1.0",
|
|
51
|
+
"@pnpm/store.cafs": "1100.1.3",
|
|
52
|
+
"@pnpm/logger": "1100.0.0"
|
|
53
53
|
},
|
|
54
54
|
"engines": {
|
|
55
55
|
"node": ">=22.13"
|