Update to Angular 11

This commit is contained in:
Nathanael Anderson
2024-02-22 15:16:50 -06:00
parent 82f5fd74a7
commit d4e6047ec5
21 changed files with 1768 additions and 2627 deletions
-4
View File
@@ -50,7 +50,6 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
@@ -73,7 +72,6 @@
"optimization": false,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": false,
"extractLicenses": true,
@@ -96,7 +94,6 @@
"optimization": false,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": false,
"extractLicenses": true,
@@ -119,7 +116,6 @@
"optimization": false,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": false,
"extractLicenses": true,
+18 -18
View File
@@ -17,15 +17,15 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^10.2.5",
"@angular/common": "^10.2.5",
"@angular/compiler": "^10.2.5",
"@angular/core": "^10.2.5",
"@angular/forms": "^10.2.5",
"@angular/platform-browser": "^10.2.5",
"@angular/platform-browser-dynamic": "^10.2.5",
"@angular/platform-server": "^10.2.5",
"@angular/router": "^10.2.5",
"@angular/animations": "^11.2.14",
"@angular/common": "^11.2.14",
"@angular/compiler": "^11.2.14",
"@angular/core": "^11.2.14",
"@angular/forms": "^11.2.14",
"@angular/platform-browser": "^11.2.14",
"@angular/platform-browser-dynamic": "^11.2.14",
"@angular/platform-server": "^11.2.14",
"@angular/router": "^11.2.14",
"@simonwep/pickr": "^1.0.0-beta",
"@types/hammerjs": "^2.0.45",
"@types/jquery": "^3.5.29",
@@ -47,17 +47,17 @@
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1002.4",
"@angular/cli": "^10.2.4",
"@angular/compiler-cli": "^10.2.5",
"@angular/language-service": "^10.2.5",
"@types/jasmine": "^3.3.13",
"@angular-devkit/build-angular": "~0.1102.19",
"@angular/cli": "^11.2.19",
"@angular/compiler-cli": "^11.2.14",
"@angular/language-service": "^11.2.14",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
"codelyzer": "^5.1.2",
"jasmine-core": "~3.5.0",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"karma": "~6.4.2",
"karma-chrome-launcher": "~3.1.0",
"karma-cli": "^2.0.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
@@ -71,4 +71,4 @@
"typescript": "4.0.8",
"webpack": "^4.34.0"
}
}
}
+2 -2
View File
@@ -1,8 +1,8 @@
import { TestBed, async } from '@angular/core/testing';
import { TestBed, waitForAsync } from '@angular/core/testing';
import { AppComponent } from './app.component';
describe('AppComponent', () => {
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [
AppComponent
+1 -1
View File
@@ -57,7 +57,7 @@ import { StreamOptionsComponent } from './stream-options/stream-options.componen
BrowserModule,
DragulaModule.forRoot(),
FormsModule,
RouterModule.forRoot(AppRoutes, { useHash: true }),
RouterModule.forRoot(AppRoutes, { useHash: true, relativeLinkResolution: 'legacy' }),
MzTooltipModule,
MzModalModule,
MzButtonModule,
@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { CurrentTaskItemComponent } from './current-task-item.component';
@@ -6,7 +6,7 @@ describe('CurrentTaskItemComponent', () => {
let component: CurrentTaskItemComponent;
let fixture: ComponentFixture<CurrentTaskItemComponent>;
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [CurrentTaskItemComponent],
}).compileComponents();
@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { CurrentTasksComponent } from './current-tasks.component';
@@ -6,7 +6,7 @@ describe('CurrentTasksComponent', () => {
let component: CurrentTasksComponent;
let fixture: ComponentFixture<CurrentTasksComponent>;
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [CurrentTasksComponent],
}).compileComponents();
@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { FilesComponent } from './files.component';
@@ -6,7 +6,7 @@ describe('FilesComponent', () => {
let component: FilesComponent;
let fixture: ComponentFixture<FilesComponent>;
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ FilesComponent ]
})
@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { HeaderBannerComponent } from './header-banner.component';
@@ -6,7 +6,7 @@ describe('HeaderBannerComponent', () => {
let component: HeaderBannerComponent;
let fixture: ComponentFixture<HeaderBannerComponent>;
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [HeaderBannerComponent],
}).compileComponents();
@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { HeaderComponent } from './header.component';
@@ -6,7 +6,7 @@ describe('HeaderComponent', () => {
let component: HeaderComponent;
let fixture: ComponentFixture<HeaderComponent>;
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ HeaderComponent ]
})
@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { ToolsComponent } from './tools.component';
@@ -6,7 +6,7 @@ describe('ToolsComponent', () => {
let component: ToolsComponent;
let fixture: ComponentFixture<ToolsComponent>;
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ToolsComponent],
}).compileComponents();
@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { LinkComponent } from './link.component';
@@ -6,7 +6,7 @@ describe('LinkComponent', () => {
let component: LinkComponent;
let fixture: ComponentFixture<LinkComponent>;
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ LinkComponent ]
})
@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { LoadingSpinnerSmallComponent } from './loading-spinner-small.component';
@@ -6,7 +6,7 @@ describe('LoadingSpinnerSmallComponent', () => {
let component: LoadingSpinnerSmallComponent;
let fixture: ComponentFixture<LoadingSpinnerSmallComponent>;
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ LoadingSpinnerSmallComponent ]
})
@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { LoadingSpinnerComponent } from './loading-spinner.component';
@@ -6,7 +6,7 @@ describe('LoadingSpinnerComponent', () => {
let component: LoadingSpinnerComponent;
let fixture: ComponentFixture<LoadingSpinnerComponent>;
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ LoadingSpinnerComponent ]
})
@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { PackageItemComponent } from './package-item.component';
@@ -6,7 +6,7 @@ describe('PackageItemComponent', () => {
let component: PackageItemComponent;
let fixture: ComponentFixture<PackageItemComponent>;
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ PackageItemComponent ]
})
@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { PackagesComponent } from './packages.component';
@@ -6,7 +6,7 @@ describe('PackagesComponent', () => {
let component: PackagesComponent;
let fixture: ComponentFixture<PackagesComponent>;
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ PackagesComponent ]
})
@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { SetupGuideComponent } from './setup-guide.component';
@@ -6,7 +6,7 @@ describe('SetupGuideComponent', () => {
let component: SetupGuideComponent;
let fixture: ComponentFixture<SetupGuideComponent>;
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [SetupGuideComponent],
}).compileComponents();
@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { StatusBarComponent } from './status-bar.component';
@@ -6,7 +6,7 @@ describe('StatusBarComponent', () => {
let component: StatusBarComponent;
let fixture: ComponentFixture<StatusBarComponent>;
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ StatusBarComponent ]
})
@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { StreamOptionsComponent } from './stream-options.component';
@@ -6,7 +6,7 @@ describe('StreamOptionsComponent', () => {
let component: StreamOptionsComponent;
let fixture: ComponentFixture<StreamOptionsComponent>;
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [StreamOptionsComponent],
}).compileComponents();
@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { WebviewComponent } from './webview.component';
@@ -6,7 +6,7 @@ describe('WebviewComponent', () => {
let component: WebviewComponent;
let fixture: ComponentFixture<WebviewComponent>;
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ WebviewComponent ]
})
@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { WirelessConnectionComponent } from './wireless-connection.component';
@@ -6,7 +6,7 @@ describe('WirelessConnectionComponent', () => {
let component: WirelessConnectionComponent;
let fixture: ComponentFixture<WirelessConnectionComponent>;
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [WirelessConnectionComponent],
}).compileComponents();
+1715 -2570
View File
File diff suppressed because it is too large Load Diff