refactor: update depedencies

This commit is contained in:
Rainer Killinger
2022-08-19 15:14:33 +02:00
parent 68734bfe21
commit 399e1a6f7e
5 changed files with 1624 additions and 24861 deletions

26361
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -51,18 +51,18 @@
"test": "ng test" "test": "ng test"
}, },
"dependencies": { "dependencies": {
"@angular/animations": "13.3.10", "@angular/animations": "13.3.11",
"@angular/cdk": "13.3.8", "@angular/cdk": "13.3.9",
"@angular/common": "13.3.10", "@angular/common": "13.3.11",
"@angular/core": "13.3.10", "@angular/core": "13.3.11",
"@angular/forms": "13.3.10", "@angular/forms": "13.3.11",
"@angular/platform-browser": "13.3.10", "@angular/platform-browser": "13.3.11",
"@angular/platform-browser-dynamic": "13.3.10", "@angular/platform-browser-dynamic": "13.3.11",
"@angular/router": "13.3.10", "@angular/router": "13.3.11",
"@asymmetrik/ngx-leaflet": "13.0.2", "@asymmetrik/ngx-leaflet": "13.0.2",
"@asymmetrik/ngx-leaflet-markercluster": "13.0.1", "@asymmetrik/ngx-leaflet-markercluster": "13.0.1",
"@awesome-cordova-plugins/calendar": "5.43.0", "@awesome-cordova-plugins/calendar": "5.44.0",
"@awesome-cordova-plugins/core": "5.43.0", "@awesome-cordova-plugins/core": "5.44.0",
"@capacitor-community/http": "1.4.1", "@capacitor-community/http": "1.4.1",
"@capacitor/app": "1.1.1", "@capacitor/app": "1.1.1",
"@capacitor/browser": "1.0.7", "@capacitor/browser": "1.0.7",
@@ -81,15 +81,15 @@
"@capacitor/storage": "1.2.5", "@capacitor/storage": "1.2.5",
"@ionic-native/core": "5.36.0", "@ionic-native/core": "5.36.0",
"@ionic-native/file-opener": "5.36.0", "@ionic-native/file-opener": "5.36.0",
"@ionic/angular": "6.1.7", "@ionic/angular": "6.2.3",
"@ionic/storage-angular": "3.0.6", "@ionic/storage-angular": "3.0.6",
"@ngx-translate/core": "14.0.0", "@ngx-translate/core": "14.0.0",
"@ngx-translate/http-loader": "7.0.0", "@ngx-translate/http-loader": "7.0.0",
"@openstapps/api": "0.41.1", "@openstapps/api": "0.42.0",
"@openstapps/configuration": "0.29.1", "@openstapps/configuration": "0.33.0",
"@openstapps/core": "0.67.0", "@openstapps/core": "0.69.0",
"@transistorsoft/capacitor-background-fetch": "0.0.6", "@transistorsoft/capacitor-background-fetch": "0.0.6",
"capacitor-secure-storage-plugin": "0.7.0", "capacitor-secure-storage-plugin": "0.7.1",
"cordova-plugin-calendar": "5.1.6", "cordova-plugin-calendar": "5.1.6",
"cordova-plugin-file-opener2": "3.0.5", "cordova-plugin-file-opener2": "3.0.5",
"deepmerge": "4.2.2", "deepmerge": "4.2.2",
@@ -100,74 +100,74 @@
"leaflet": "1.8.0", "leaflet": "1.8.0",
"leaflet.markercluster": "1.5.3", "leaflet.markercluster": "1.5.3",
"material-symbols": "0.2.8", "material-symbols": "0.2.8",
"moment": "2.29.3", "moment": "2.29.4",
"ngx-logger": "4.3.3", "ngx-logger": "4.3.3",
"ngx-markdown": "13.1.0", "ngx-markdown": "13.1.0",
"ngx-moment": "6.0.2", "ngx-moment": "6.0.2",
"opening_hours": "3.8.0", "opening_hours": "3.8.0",
"rxjs": "6.6.7", "rxjs": "6.6.7",
"swiper": "8.1.6", "swiper": "8.3.2",
"tslib": "2.4.0", "tslib": "2.4.0",
"zone.js": "0.11.5" "zone.js": "0.11.8"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/architect": "0.1303.7", "@angular-devkit/architect": "0.1303.9",
"@angular-devkit/build-angular": "13.3.7", "@angular-devkit/build-angular": "13.3.9",
"@angular-devkit/core": "13.3.7", "@angular-devkit/core": "13.3.9",
"@angular-devkit/schematics": "13.3.7", "@angular-devkit/schematics": "13.3.9",
"@angular-eslint/builder": "13.2.1", "@angular-eslint/builder": "13.5.0",
"@angular-eslint/eslint-plugin": "13.2.1", "@angular-eslint/eslint-plugin": "13.5.0",
"@angular-eslint/eslint-plugin-template": "13.2.1", "@angular-eslint/eslint-plugin-template": "13.5.0",
"@angular-eslint/schematics": "13.2.1", "@angular-eslint/schematics": "13.5.0",
"@angular-eslint/template-parser": "13.2.1", "@angular-eslint/template-parser": "13.5.0",
"@angular/cli": "13.3.7", "@angular/cli": "13.3.9",
"@angular/compiler": "13.3.10", "@angular/compiler": "13.3.11",
"@angular/compiler-cli": "13.3.10", "@angular/compiler-cli": "13.3.11",
"@angular/language-service": "13.3.10", "@angular/language-service": "13.3.11",
"@capacitor/android": "3.5.1", "@capacitor/android": "3.5.1",
"@capacitor/cli": "3.5.1", "@capacitor/cli": "3.5.1",
"@capacitor/ios": "3.5.1", "@capacitor/ios": "3.5.1",
"@compodoc/compodoc": "1.1.19", "@compodoc/compodoc": "1.1.19",
"@cypress/schematic": "1.7.0", "@cypress/schematic": "1.7.0",
"@ionic/angular-toolkit": "6.1.0", "@ionic/angular-toolkit": "6.1.0",
"@ionic/cli": "6.19.1", "@ionic/cli": "6.20.1",
"@types/fontkit": "1.8.0", "@types/fontkit": "1.8.0",
"@types/glob": "7.2.0", "@types/glob": "7.2.0",
"@types/jasmine": "4.0.3", "@types/jasmine": "4.0.3",
"@types/jasminewd2": "2.0.10", "@types/jasminewd2": "2.0.10",
"@types/jsonpath": "0.2.0", "@types/jsonpath": "0.2.0",
"@types/leaflet": "1.7.10", "@types/leaflet": "1.7.11",
"@types/leaflet.markercluster": "1.5.0", "@types/leaflet.markercluster": "1.5.1",
"@types/node": "14.18.18", "@types/node": "14.18.24",
"@typescript-eslint/eslint-plugin": "5.26.0", "@typescript-eslint/eslint-plugin": "5.33.1",
"@typescript-eslint/parser": "5.26.0", "@typescript-eslint/parser": "5.33.1",
"conventional-changelog-cli": "2.2.2", "conventional-changelog-cli": "2.2.2",
"cordova-res": "0.15.4", "cordova-res": "0.15.4",
"cypress": "10.0.3", "cypress": "10.6.0",
"eslint": "8.16.0", "eslint": "8.22.0",
"eslint-config-prettier": "8.5.0", "eslint-config-prettier": "8.5.0",
"eslint-plugin-jsdoc": "39.3.2", "eslint-plugin-jsdoc": "39.3.6",
"eslint-plugin-prettier": "4.0.0", "eslint-plugin-prettier": "4.2.1",
"eslint-plugin-unicorn": "42.0.0", "eslint-plugin-unicorn": "43.0.2",
"fontkit": "2.0.2", "fontkit": "2.0.2",
"glob": "8.0.3", "glob": "8.0.3",
"is-docker": "2.2.1", "is-docker": "2.2.1",
"jasmine-core": "4.1.1", "jasmine-core": "4.3.0",
"jasmine-spec-reporter": "7.0.0", "jasmine-spec-reporter": "7.0.0",
"jetifier": "2.0.0", "jetifier": "2.0.0",
"karma": "6.3.20", "karma": "6.4.0",
"karma-chrome-launcher": "3.1.1", "karma-chrome-launcher": "3.1.1",
"karma-coverage-istanbul-reporter": "3.0.3", "karma-coverage-istanbul-reporter": "3.0.3",
"karma-jasmine": "5.0.1", "karma-jasmine": "5.1.0",
"karma-jasmine-html-reporter": "2.0.0", "karma-jasmine-html-reporter": "2.0.0",
"karma-mocha-reporter": "2.2.5", "karma-mocha-reporter": "2.2.5",
"license-checker": "25.0.1", "license-checker": "25.0.1",
"prettier": "2.6.2", "prettier": "2.7.1",
"protractor": "7.0.0", "protractor": "7.0.0",
"surge": "0.23.1", "surge": "0.23.1",
"ts-node": "10.8.0", "ts-node": "10.9.1",
"typescript": "4.4.4", "typescript": "4.4.4",
"webpack-bundle-analyzer": "4.5.0" "webpack-bundle-analyzer": "4.6.1"
}, },
"cordova": { "cordova": {
"plugins": {}, "plugins": {},

View File

@@ -76,18 +76,17 @@ export class AssessmentsDetailComponent
.then(assessments => { .then(assessments => {
const assessment = assessments.find(it => it.uid === event.uid); const assessment = assessments.find(it => it.uid === event.uid);
event.resolve( event.resolve(
assessment assessment ??
? assessment assessments
: assessments .flatMap(it =>
.flatMap(it => Array.isArray(it.superAssessments)
Array.isArray(it.superAssessments) ? it.superAssessments.map(superAssessment => ({
? it.superAssessments.map(superAssessment => ({ ...superAssessment,
...superAssessment, origin: it.origin,
origin: it.origin, }))
})) : [],
: [], )
) .find(it => it?.uid === event.uid),
.find(it => it?.uid === event.uid),
); );
}); });
} }

View File

@@ -78,9 +78,7 @@ export class ScheduleCardComponent implements OnInit {
* Get the note text * Get the note text
*/ */
getNote(): string | undefined { getNote(): string | undefined {
return this.scheduleEvent?.dateSeries?.name return this.scheduleEvent?.dateSeries?.name ?? undefined;
? this.scheduleEvent.dateSeries.name
: undefined;
} }
/** /**

View File

@@ -23,4 +23,5 @@ if (environment.production) {
platformBrowserDynamic() platformBrowserDynamic()
.bootstrapModule(AppModule) .bootstrapModule(AppModule)
// eslint-disable-next-line unicorn/prefer-top-level-await
.catch(async error => console.error(error)); .catch(async error => console.error(error));