New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cyclonedx/cdxgen

Package Overview
Dependencies
Maintainers
5
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cyclonedx/cdxgen - npm Package Compare versions

Comparing version 8.4.3 to 8.4.6

14

package.json
{
"name": "@cyclonedx/cdxgen",
"version": "8.4.3",
"version": "8.4.6",
"description": "Creates CycloneDX Software Bill-of-Materials (SBOM) from source or container image",

@@ -46,3 +46,3 @@ "homepage": "http://github.com/cyclonedx/cdxgen",

"type": "git",
"url": "git+https://github.com/cyclonedx/cdxgen.git"
"url": "git+https://github.com/CycloneDX/cdxgen"
},

@@ -53,4 +53,4 @@ "bugs": {

"dependencies": {
"@babel/parser": "^7.21.4",
"@babel/traverse": "^7.21.4",
"@babel/parser": "^7.21.8",
"@babel/traverse": "^7.21.5",
"cheerio": "^1.0.0-rc.12",

@@ -71,7 +71,7 @@ "edn-data": "^1.0.0",

"table": "^6.8.1",
"tar": "^6.1.13",
"tar": "^6.1.14",
"uuid": "^9.0.0",
"xml-js": "^1.6.11",
"xmlbuilder": "^15.1.1",
"yargs": "^17.7.1"
"yargs": "^17.7.2"
},

@@ -94,5 +94,5 @@ "optionalDependencies": {

"devDependencies": {
"eslint": "^8.39.0",
"eslint": "^8.40.0",
"jest": "^26.6.3"
}
}

@@ -1100,2 +1100,26 @@ const utils = require("./utils");

});
parsedList = await utils.parsePkgLock("./test/data/package-lock-v2.json");
deps = parsedList.pkgList;
expect(deps.length).toEqual(1467);
expect(parsedList.dependenciesList.length).toEqual(1280);
expect(deps[0]).toEqual({
"bom-ref": "pkg:application/flink-dashboard@2.0.0",
group: "",
name: "flink-dashboard",
type: "application",
version: "2.0.0"
});
expect(deps[deps.length - 1].name).toEqual("zone.js");
parsedList = await utils.parsePkgLock("./test/data/package-lock-v3.json");
deps = parsedList.pkgList;
expect(deps.length).toEqual(879);
expect(parsedList.dependenciesList.length).toEqual(879);
expect(deps[0]).toEqual({
"bom-ref": "pkg:application/@cyclonedx/cdxgen@8.4.3",
group: "",
name: "@cyclonedx/cdxgen",
type: "application",
version: "8.4.3"
});
expect(deps[deps.length - 1].name).toEqual("yocto-queue");
});

@@ -1102,0 +1126,0 @@

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc