Update Angular to 9.1.4

This commit is contained in:
Geomitron
2020-05-04 19:14:09 -04:00
parent cb64dda84f
commit 1feb778577
6 changed files with 3079 additions and 1405 deletions

View File

@@ -36,6 +36,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"aot": true,
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
@@ -56,6 +57,12 @@
},
"configurations": {
"production": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",

4546
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -26,14 +26,14 @@
},
"dependencies": {
"7zip-bin": "^5.0.3",
"@angular/animations": "~8.2.14",
"@angular/common": "~8.2.14",
"@angular/compiler": "~8.2.14",
"@angular/core": "~8.2.14",
"@angular/forms": "~8.2.14",
"@angular/platform-browser": "~8.2.14",
"@angular/platform-browser-dynamic": "~8.2.14",
"@angular/router": "~8.2.14",
"@angular/animations": "~9.1.4",
"@angular/common": "~9.1.4",
"@angular/compiler": "~9.1.4",
"@angular/core": "~9.1.4",
"@angular/forms": "~9.1.4",
"@angular/platform-browser": "~9.1.4",
"@angular/platform-browser-dynamic": "~9.1.4",
"@angular/router": "~9.1.4",
"better-queue": "^3.8.10",
"cli-color": "^2.0.0",
"electron-window-state": "^5.0.3",
@@ -42,20 +42,20 @@
"needle": "^2.3.2",
"node-7z": "^2.0.5",
"node-unrar-js": "^0.8.1",
"rxjs": "~6.4.0",
"rxjs": "~6.5.5",
"sanitize-filename": "^1.6.3",
"tslib": "^1.10.0",
"underscore": "^1.9.2",
"zone.js": "~0.9.1"
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.803.26",
"@angular-devkit/build-angular": "~0.901.4",
"@angular-eslint/builder": "0.0.1-alpha.18",
"@angular/cli": "^8.3.26",
"@angular/compiler-cli": "~8.2.14",
"@angular/language-service": "~8.2.14",
"@angular/cli": "^9.1.4",
"@angular/compiler-cli": "~9.1.4",
"@angular/language-service": "~9.1.4",
"@types/better-queue": "^3.8.2",
"@types/node": "11.15.0",
"@types/node": "^12.11.1",
"@types/cli-color": "^2.0.0",
"@types/electron-window-state": "^2.0.33",
"@types/needle": "^2.0.4",
@@ -71,7 +71,7 @@
"rimraf": "^3.0.2",
"ts-node": "~7.0.0",
"tslint": "~5.15.0",
"typescript": "~3.5.3",
"typescript": "~3.8.3",
"wait-on": "^4.0.0"
}
}

View File

@@ -1,8 +1,10 @@
import { RouteReuseStrategy, ActivatedRouteSnapshot, DetachedRouteHandle } from '@angular/router'
import { Injectable } from '@angular/core'
/**
* This makes each route with the 'reuse' data flag persist when not in focus.
*/
@Injectable()
export class TabPersistStrategy extends RouteReuseStrategy {
private handles: { [path: string]: DetachedRouteHandle } = {}

View File

@@ -1,7 +1,11 @@
{
"extends": "./tsconfig.json",
"files": [
"src/main.ts",
"src/polyfills.ts"
],
"include": [
"src/**/*.ts"
"src/**/*.d.ts"
],
"angularCompilerOptions": {
"fullTemplateTypeCheck": true,

View File

@@ -2,6 +2,7 @@
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"module": "esnext",
"noImplicitAny": true,
"suppressImplicitAnyIndexErrors": true,
"sourceMap": true,