Skip to content

Bump ng-bootstrap and fix an eslint incompatibility

Daniel Lyons requested to merge update-angular-deps into main

The previous values were preventing a clean build of the front-end without --force.

Before:

/code # npm i 
npm notice
npm notice New minor version of npm available! 10.7.0 -> 10.8.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.2
npm notice To update run: npm install -g npm@10.8.2
npm notice
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @ng-bootstrap/ng-bootstrap@16.0.0
npm error Found: @angular/common@18.0.1
npm error node_modules/@angular/common
npm error   @angular/common@"^18.0.1" from the root project
npm error   peer @angular/common@"18.0.1" from @angular/forms@18.0.1
npm error   node_modules/@angular/forms
npm error     @angular/forms@"^18.0.1" from the root project
npm error   3 more (@angular/platform-browser, ...)
npm error
npm error Could not resolve dependency:
npm error peer @angular/common@"^17.0.0" from @ng-bootstrap/ng-bootstrap@16.0.0
npm error node_modules/@ng-bootstrap/ng-bootstrap
npm error   @ng-bootstrap/ng-bootstrap@"^16.0.0" from the root project
npm error
npm error Conflicting peer dependency: @angular/common@17.3.12
npm error node_modules/@angular/common
npm error   peer @angular/common@"^17.0.0" from @ng-bootstrap/ng-bootstrap@16.0.0
npm error   node_modules/@ng-bootstrap/ng-bootstrap
npm error     @ng-bootstrap/ng-bootstrap@"^16.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /root/.npm/_logs/2024-08-19T22_03_48_124Z-eresolve-report.txt

npm error A complete log of this run can be found in: /root/.npm/_logs/2024-08-19T22_03_48_124Z-debug-0.log

After:

/code # npm i
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated read-package-json@6.0.4: This package is no longer supported. Please use @npmcli/package-json instead.
npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
npm warn deprecated npmlog@6.0.2: This package is no longer supported.
npm warn deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
npm warn deprecated gauge@4.0.4: This package is no longer supported.
npm warn deprecated tslint@6.1.3: TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information.

added 1499 packages, and audited 1500 packages in 6s

250 packages are looking for funding
  run `npm fund` for details

5 vulnerabilities (3 low, 2 moderate)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

Merge request reports

Loading