Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump the eslint group with 2 updates #1124

Merged
merged 2 commits into from
Nov 18, 2023
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
5 changes: 4 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ All notable changes to this project will be documented in this file.
* Fixed
* Added direct dependency `packageurl-js` as such (via [#1122])
* Docs
* Fixed typos (via [#1123])
* Fixed typos (via [#1123])
* Style
* Applied latest code standards (via [#1124])

[#1122]: https://github.com/CycloneDX/cyclonedx-node-npm/pull/1122
[#1123]: https://github.com/CycloneDX/cyclonedx-node-npm/pull/1123
[#1124]: https://github.com/CycloneDX/cyclonedx-node-npm/pull/1124

## 1.14.2 - 2023-11-06

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
"devDependencies": {
"@types/node": "ts5.2",
"@types/normalize-package-data": "^2.4.1",
"eslint": "8.53.0",
"eslint": "8.54.0",
"eslint-config-standard": "17.1.0",
"eslint-config-standard-with-typescript": "39.1.1",
"eslint-config-standard-with-typescript": "40.0.0",
"eslint-plugin-header": "3.1.1",
"eslint-plugin-simple-import-sort": "10.0.0",
"fast-glob": "^3.2.11",
Expand Down
2 changes: 2 additions & 0 deletions src/builders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -547,10 +547,12 @@ export class BomBuilder {
if (typeof rootPath !== 'string' || rootPath === '') {
return
}
/* eslint-disable @typescript-eslint/unbound-method */
// do not depend on `node:path.relative()` -- this would be runtime-dependent, not input-dependent
const [relativePath, dirSep] = rootPath[0] === '/'
? [path.posix.relative, '/']
: [path.win32.relative, '\\']
/* eslint-enable @typescript-eslint/unbound-method */
for (const component of components) {
for (const property of component.properties) {
if (property.name !== PropertyNames.PackageInstallPath) {
Expand Down