Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ updates:
- dependency-name: "@types/node" # version is like `ts.X.Y` -- need to maintain manually
groups:
eslint:
typedoc:
- 'typedoc'
- 'typedoc-*'
- '*-tsdoc'
patterns:
- 'eslint'
- '@eslint/*'
Expand Down
5 changes: 5 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ All notable changes to this project will be documented in this file.

<!-- add unreleased items here -->

* Refactor:
* Applied latest code style (via [#1341])

[#1341]: https://github.com/CycloneDX/cyclonedx-javascript-library/pull/1341

## 9.2.0 -- 2025-10-22

* Added
Expand Down
8 changes: 4 additions & 4 deletions src/factories/fromNodePackageJson.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ export class ExternalReferenceFactory {
makeVcs (data: NodePackageJson): ExternalReference | undefined {
/* see https://docs.npmjs.com/cli/v9/configuring-npm/package-json#repositoryc */
const repository = data.repository
let url = undefined
let comment: string | undefined = undefined
let url // eslint-disable-line @typescript-eslint/init-declarations -- ack
let comment // eslint-disable-line @typescript-eslint/init-declarations -- ack
if (typeof repository === 'object') {
url = tryCanonicalizeGitUrl(repository.url)
comment = 'as detected from PackageJson property "repository.url"'
Expand Down Expand Up @@ -91,8 +91,8 @@ export class ExternalReferenceFactory {
makeIssueTracker (data: NodePackageJson): ExternalReference | undefined {
/* see https://docs.npmjs.com/cli/v9/configuring-npm/package-json#bugs */
const bugs = data.bugs
let url = undefined
let comment: string | undefined = undefined
let url // eslint-disable-line @typescript-eslint/init-declarations -- ack
let comment // eslint-disable-line @typescript-eslint/init-declarations -- ack
if (typeof bugs === 'object') {
url = bugs.url
comment = 'as detected from PackageJson property "bugs.url"'
Expand Down
8 changes: 4 additions & 4 deletions tools/code-style/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
"dependencies": {
"@eslint/js": "9.39.1",
"eslint": "9.35.0",
"eslint-config-love": "133.0.0",
"eslint-config-love": "134.0.0",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jsdoc": "61.1.12",
"eslint-plugin-jsdoc": "61.4.1",
"eslint-plugin-license-header": "0.8.0",
"eslint-plugin-n": "17.23.1",
"eslint-plugin-promise": "7.2.1",
"eslint-plugin-simple-import-sort": "12.1.1",
"eslint-plugin-tsdoc": "0.4.0",
"eslint-plugin-tsdoc": "0.5.0",
"globals": "^16.0.0",
"neostandard": "0.12.2",
"typescript-eslint": "8.46.3"
"typescript-eslint": "8.48.0"
},
"scripts": {
"cs-fix": "npm exec -- eslint --fix ."
Expand Down
4 changes: 2 additions & 2 deletions tools/docs-gen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"node": ">=20.18"
},
"dependencies": {
"typedoc": "^0.28.1",
"typedoc-plugin-missing-exports": "^4.0.0"
"typedoc": "^0.28.15",
"typedoc-plugin-missing-exports": "^4.1.2"
},
"scripts": {
"cs-fix": "npm --prefix ../code-style exec -- eslint --fix ."
Expand Down