@cyclonedx/cdxgen 8.0.5 → 8.0.6

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/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2108,7 +2108,7 @@ const createGoBom = async (path, options) => {
2108
2108
  for (let f of gomodFiles) {
2109
2109
  const basePath = pathLib.dirname(f);
2110
2110
  // Ignore vendor packages
2111
- if (basePath.includes("vendor") || basePath.includes("build")) {
2111
+ if (basePath.includes("/vendor/") || basePath.includes("/build/")) {
2112
2112
  continue;
2113
2113
  }
2114
2114
  if (DEBUG_MODE) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyclonedx/cdxgen",
3
- "version": "8.0.5",
3
+ "version": "8.0.6",
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>",