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

4436
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

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

View File

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

View File

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

View File

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