1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

[PM-1415] [BEEEP] Angular 15 (#4719)

* Upgrade Angular to 15

* Remove attr.allow for webauthn
This commit is contained in:
Oscar Hinton
2023-03-22 18:26:04 +01:00
committed by GitHub
parent 4548defc49
commit 23c4d45285
16 changed files with 11967 additions and 10265 deletions

View File

@@ -2901,7 +2901,7 @@ function withPrototypeForArrayMembers<T>(
value: function (...args: any[]) {
const originalResult: Promise<any[]> = originalMethod.apply(this, args);
if (!(originalResult instanceof Promise)) {
if (!Utils.isPromise(originalResult)) {
throw new Error(
`Error applying prototype to stored value -- result is not a promise for method ${String(
propertyKey
@@ -2949,7 +2949,7 @@ function withPrototypeForObjectValues<T>(
value: function (...args: any[]) {
const originalResult: Promise<{ [key: string]: T }> = originalMethod.apply(this, args);
if (!(originalResult instanceof Promise)) {
if (!Utils.isPromise(originalResult)) {
throw new Error(
`Error applying prototype to stored value -- result is not a promise for method ${String(
propertyKey