@cyclonedx/cdxgen 10.3.3 → 10.3.4

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.
Files changed (2) hide show
  1. package/bin/cdxgen.js +11 -10
  2. package/package.json +1 -1
package/bin/cdxgen.js CHANGED
@@ -299,6 +299,17 @@ if (process.argv[1].includes("obom") && !args.type) {
299
299
  args.type = "os";
300
300
  }
301
301
 
302
+ /**
303
+ * Command line options
304
+ */
305
+ const options = Object.assign({}, args, {
306
+ projectType: args.type,
307
+ multiProject: args.recurse,
308
+ noBabel: args.noBabel || args.babel === false,
309
+ project: args.projectId,
310
+ deep: args.deep || args.evidence
311
+ });
312
+
302
313
  if (process.argv[1].includes("cbom")) {
303
314
  options.includeCrypto = true;
304
315
  options.includeFormulation = true;
@@ -374,16 +385,6 @@ const applyAdvancedOptions = (options) => {
374
385
  return options;
375
386
  };
376
387
 
377
- /**
378
- * Command line options
379
- */
380
- const options = Object.assign({}, args, {
381
- projectType: args.type,
382
- multiProject: args.recurse,
383
- noBabel: args.noBabel || args.babel === false,
384
- project: args.projectId,
385
- deep: args.deep || args.evidence
386
- });
387
388
  applyAdvancedOptions(options);
388
389
 
389
390
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyclonedx/cdxgen",
3
- "version": "10.3.3",
3
+ "version": "10.3.4",
4
4
  "description": "Creates CycloneDX Software Bill of Materials (SBOM) from source or container image",
5
5
  "homepage": "http://github.com/cyclonedx/cdxgen",
6
6
  "author": "Prabhu Subramanian <prabhu@appthreat.com>",