Skip to content

Commit

Permalink
chore(deps-dev): bump the eslint group with 2 updates (#1124)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump the eslint group with 2 updates

Bumps the eslint group with 2 updates: [eslint](https://github.com/eslint/eslint) and [eslint-config-standard-with-typescript](https://github.com/standard/eslint-config-standard-with-typescript).


Updates `eslint` from 8.53.0 to 8.54.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.53.0...v8.54.0)

Updates `eslint-config-standard-with-typescript` from 39.1.1 to 40.0.0
- [Release notes](https://github.com/standard/eslint-config-standard-with-typescript/releases)
- [Changelog](https://github.com/standard/eslint-config-standard-with-typescript/blob/master/CHANGELOG.md)
- [Commits](mightyiam/eslint-config-love@v39.1.1...v40.0.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: eslint
- dependency-name: eslint-config-standard-with-typescript
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: eslint
...

Signed-off-by: dependabot[bot] <support@github.com>

* code style

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jan Kowalleck <jan.kowalleck@gmail.com>
  • Loading branch information
dependabot[bot] and jkowalleck authored Nov 18, 2023
1 parent 670701f commit c3f1b17
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
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

0 comments on commit c3f1b17

Please sign in to comment.