@cyclonedx/cyclonedx-library 6.4.0 → 6.4.2

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/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # CycloneDX JavaScript Library
2
2
 
3
3
  [![shield_npm-version]][link_npm]
4
+ [![shield_rtfd]][link_rtfd]
4
5
  [![shield_gh-workflow-test]][link_gh-workflow-test]
5
6
  [![shield_coverage]][link_codacy]
6
7
  [![shield_ossf-best-practices]][link_ossf-best-practices]
@@ -173,8 +174,9 @@ bom.metadata.component.dependencies.add(componentA.bomRef)
173
174
 
174
175
  ## API documentation
175
176
 
176
- There is no pre-rendered documentation at the time.
177
- Instead, there are annotated type definitions, so that your IDE and tools may pick up the documentation when you use this library downstream.
177
+ We ship annotated type definitions, so that your IDE and tools may pick up the documentation when you use this library downstream.
178
+
179
+ There are also pre-rendered documentations hosted on [readthedocs][link_rtfd].
178
180
 
179
181
  Additionally, there is a prepared set of configs for [TypeDoc](https://typedoc.org), so that you can build the API documentation from source via `npm run api-doc`.
180
182
 
@@ -193,8 +195,10 @@ See the [LICENSE][license_file] file for the full license.
193
195
  [license_file]: https://github.com/CycloneDX/cyclonedx-javascript-library/blob/main/LICENSE
194
196
  [contributing_file]: https://github.com/CycloneDX/cyclonedx-javascript-library/blob/main/CONTRIBUTING.md
195
197
  [examples]: https://github.com/CycloneDX/cyclonedx-javascript-library/tree/main/examples/README.md
198
+ [link_rtfd]: https://cyclonedx-javascript-library.readthedocs.io
196
199
 
197
200
  [shield_npm-version]: https://img.shields.io/npm/v/@cyclonedx/cyclonedx-library?logo=npm&logoColor=white "npm"
201
+ [shield_rtfd]: https://img.shields.io/readthedocs/cyclonedx-javascript-library?logo=readthedocs&logoColor=white "Read the Docs"
198
202
  [shield_gh-workflow-test]: https://img.shields.io/github/actions/workflow/status/CycloneDX/cyclonedx-javascript-library/nodejs.yml?branch=main&logo=GitHub&logoColor=white "tests"
199
203
  [shield_coverage]: https://img.shields.io/codacy/coverage/ae6c086b53d54653ad5077b12ec22264?logo=Codacy&logoColor=white "test coverage"
200
204
  [shield_ossf-best-practices]: https://img.shields.io/cii/level/7883?label=OpenSSF%20best%20practices "OpenSSF best practices"
@@ -206,6 +210,7 @@ See the [LICENSE][license_file] file for the full license.
206
210
 
207
211
  [link_website]: https://cyclonedx.org/
208
212
  [link_npm]: https://www.npmjs.com/package/@cyclonedx/cyclonedx-library
213
+
209
214
  [link_gh-workflow-test]: https://github.com/CycloneDX/cyclonedx-javascript-library/actions/workflows/nodejs.yml?query=branch%3Amain
210
215
  [link_codacy]: https://app.codacy.com/gh/CycloneDX/cyclonedx-javascript-library/dashboard
211
216
  [link_ossf-best-practices]: https://www.bestpractices.dev/projects/7883
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyclonedx/cyclonedx-library",
3
- "version": "6.4.0",
3
+ "version": "6.4.2",
4
4
  "description": "Core functionality of CycloneDX for JavaScript (Node.js or WebBrowser).",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -74,7 +74,7 @@
74
74
  },
75
75
  "devDependencies": {
76
76
  "@types/mocha": "^10",
77
- "@types/node": "ts5.3",
77
+ "@types/node": "ts5.4",
78
78
  "@types/spdx-expression-parse": "^3",
79
79
  "c8": "^8||^9",
80
80
  "deepmerge": "^4.2.2",
@@ -82,7 +82,7 @@
82
82
  "eslint-config-standard": "17.1.0",
83
83
  "eslint-config-standard-with-typescript": "43.0.1",
84
84
  "eslint-plugin-header": "3.1.1",
85
- "eslint-plugin-jsdoc": "48.2.0",
85
+ "eslint-plugin-jsdoc": "48.2.1",
86
86
  "eslint-plugin-simple-import-sort": "12.0.0",
87
87
  "eslint-plugin-tsdoc": "0.2.17",
88
88
  "fast-glob": "^3.3.1",
@@ -91,8 +91,8 @@
91
91
  "ts-loader": "9.5.1",
92
92
  "typedoc": "^0.25.0",
93
93
  "typedoc-plugin-missing-exports": "^2.0.1",
94
- "typescript": "5.3.3",
95
- "webpack": "5.90.3",
94
+ "typescript": "5.4.3",
95
+ "webpack": "5.91.0",
96
96
  "webpack-cli": "5.1.4",
97
97
  "webpack-node-externals": "3.0.0"
98
98
  },
package/typedoc.node.json CHANGED
@@ -3,6 +3,5 @@
3
3
  "extends": ["./typedoc.json"],
4
4
  "entryPoints": ["src/index.node.ts"],
5
5
  "name": "CycloneDX JavaScript Library - Node",
6
- "out": "docs/api/node/",
7
- "json": "docs/api/node.json"
6
+ "out": "docs/api/typedoc/node/"
8
7
  }
package/typedoc.web.json CHANGED
@@ -3,6 +3,5 @@
3
3
  "extends": ["./typedoc.json"],
4
4
  "entryPoints": ["src/index.web.ts"],
5
5
  "name": "CycloneDX JavaScript Library - Web",
6
- "out": "docs/api/web/",
7
- "json": "docs/api/web.json"
6
+ "out": "docs/api/typedoc/web/"
8
7
  }