1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-05 23:53:21 +00:00

upgrade Angular libs to v20 (#892)

This commit is contained in:
Brandon Treston
2025-10-07 10:09:22 -04:00
committed by GitHub
parent a4ec6df118
commit f722196149
3 changed files with 4757 additions and 5501 deletions

View File

@@ -1,4 +1,4 @@
import { InjectFlags, InjectOptions, Injector, ProviderToken } from "@angular/core"; import { InjectOptions, Injector, ProviderToken } from "@angular/core";
export class ModalInjector implements Injector { export class ModalInjector implements Injector {
constructor( constructor(
@@ -12,8 +12,7 @@ export class ModalInjector implements Injector {
options: InjectOptions & { optional?: false }, options: InjectOptions & { optional?: false },
): T; ): T;
get<T>(token: ProviderToken<T>, notFoundValue: null, options: InjectOptions): T; get<T>(token: ProviderToken<T>, notFoundValue: null, options: InjectOptions): T;
get<T>(token: ProviderToken<T>, notFoundValue?: T, options?: InjectOptions | InjectFlags): T; get<T>(token: ProviderToken<T>, notFoundValue?: T, options?: InjectOptions): T;
get<T>(token: ProviderToken<T>, notFoundValue?: T, flags?: InjectFlags): T;
get(token: any, notFoundValue?: any): any; get(token: any, notFoundValue?: any): any;
get(token: any, notFoundValue?: any, flags?: any): any { get(token: any, notFoundValue?: any, flags?: any): any {
return this._additionalTokens.get(token) ?? this._parentInjector.get<any>(token, notFoundValue); return this._additionalTokens.get(token) ?? this._parentInjector.get<any>(token, notFoundValue);

10221
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -73,15 +73,15 @@
"test:types": "npx tsc --noEmit" "test:types": "npx tsc --noEmit"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "19.2.15", "@angular-devkit/build-angular": "20.3.3",
"@angular-eslint/eslint-plugin-template": "19.8.0", "@angular-eslint/eslint-plugin-template": "20.3.0",
"@angular-eslint/template-parser": "19.8.0", "@angular-eslint/template-parser": "20.3.0",
"@angular/compiler-cli": "19.2.14", "@angular/compiler-cli": "20.3.3",
"@electron/notarize": "2.5.0", "@electron/notarize": "2.5.0",
"@electron/rebuild": "4.0.1", "@electron/rebuild": "4.0.1",
"@fluffy-spoon/substitute": "1.208.0", "@fluffy-spoon/substitute": "1.208.0",
"@microsoft/microsoft-graph-types": "2.40.0", "@microsoft/microsoft-graph-types": "2.40.0",
"@ngtools/webpack": "19.2.14", "@ngtools/webpack": "20.3.3",
"@types/inquirer": "8.2.10", "@types/inquirer": "8.2.10",
"@types/jest": "29.5.14", "@types/jest": "29.5.14",
"@types/lowdb": "1.0.15", "@types/lowdb": "1.0.15",
@@ -112,6 +112,7 @@
"eslint-plugin-rxjs": "5.0.3", "eslint-plugin-rxjs": "5.0.3",
"eslint-plugin-rxjs-angular": "2.0.1", "eslint-plugin-rxjs-angular": "2.0.1",
"form-data": "4.0.4", "form-data": "4.0.4",
"glob": "8.1.0",
"html-loader": "5.1.0", "html-loader": "5.1.0",
"html-webpack-plugin": "5.6.3", "html-webpack-plugin": "5.6.3",
"husky": "9.1.7", "husky": "9.1.7",
@@ -121,6 +122,7 @@
"jest-preset-angular": "14.6.0", "jest-preset-angular": "14.6.0",
"lint-staged": "16.1.2", "lint-staged": "16.1.2",
"mini-css-extract-plugin": "2.9.2", "mini-css-extract-plugin": "2.9.2",
"minimatch": "5.1.2",
"node-abi": "3.77.0", "node-abi": "3.77.0",
"node-forge": "1.3.1", "node-forge": "1.3.1",
"node-loader": "2.1.0", "node-loader": "2.1.0",
@@ -141,16 +143,16 @@
"zone.js": "0.15.1" "zone.js": "0.15.1"
}, },
"dependencies": { "dependencies": {
"@angular/animations": "19.2.14", "@angular/animations": "20.3.3",
"@angular/cdk": "19.2.14", "@angular/cdk": "20.2.7",
"@angular/cli": "19.2.14", "@angular/cli": "20.3.3",
"@angular/common": "19.2.14", "@angular/common": "20.3.3",
"@angular/compiler": "19.2.14", "@angular/compiler": "20.3.3",
"@angular/core": "19.2.14", "@angular/core": "20.3.3",
"@angular/forms": "19.2.14", "@angular/forms": "20.3.3",
"@angular/platform-browser": "19.2.14", "@angular/platform-browser": "20.3.3",
"@angular/platform-browser-dynamic": "19.2.14", "@angular/platform-browser-dynamic": "20.3.3",
"@angular/router": "19.2.14", "@angular/router": "20.3.3",
"@microsoft/microsoft-graph-client": "3.0.7", "@microsoft/microsoft-graph-client": "3.0.7",
"big-integer": "1.6.52", "big-integer": "1.6.52",
"bootstrap": "5.3.7", "bootstrap": "5.3.7",