Skip to content

Commit 6934310

Browse files
chore(): Upgrade (#2650)
Co-authored-by: Michael Prentice <[email protected]>
1 parent 0d799da commit 6934310

File tree

8 files changed

+1954
-1876
lines changed

8 files changed

+1954
-1876
lines changed

docs/performance/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ trace.stop();
6262

6363
## RXJS operators
6464

65-
AngularFire provides a number of RXJS operaters which wrap the User Timing API. These are picked up by performance monitoring tools such as Chrome Inspector and Firebase Performance Monitoring.
65+
AngularFire provides a number of RXJS operators which wrap the User Timing API. These are picked up by performance monitoring tools such as Chrome Inspector and Firebase Performance Monitoring.
6666

6767
```ts
6868
import { trace } from '@angular/fire/performance';

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
"tslint": "~6.1.0",
117117
"ttypescript": "^1.5.12",
118118
"typedoc": "^0.16.4",
119-
"typescript": "~3.9.7"
119+
"typescript": ">=4.0.0 <4.1.0"
120120
},
121121
"typings": "index.d.ts"
122122
}

sample/angular.json

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
"optimization": true,
4343
"outputHashing": "all",
4444
"sourceMap": false,
45-
"extractCss": true,
4645
"namedChunks": false,
4746
"extractLicenses": true,
4847
"vendorChunk": false,

sample/package.json

+16-16
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616
},
1717
"private": true,
1818
"dependencies": {
19-
"@angular/animations": "~10.2.1",
20-
"@angular/common": "~10.2.1",
21-
"@angular/compiler": "~10.2.1",
22-
"@angular/core": "~10.2.1",
19+
"@angular/animations": "~11.0.0",
20+
"@angular/common": "~11.0.0",
21+
"@angular/compiler": "~11.0.0",
22+
"@angular/core": "~11.0.0",
2323
"@angular/fire": "../dist/packages-dist",
24-
"@angular/forms": "~10.2.1",
25-
"@angular/platform-browser": "~10.2.1",
26-
"@angular/platform-browser-dynamic": "~10.2.1",
27-
"@angular/platform-server": "~10.2.1",
28-
"@angular/router": "~10.2.1",
29-
"@angular/service-worker": "^10.2.1",
24+
"@angular/forms": "~11.0.0",
25+
"@angular/platform-browser": "~11.0.0",
26+
"@angular/platform-browser-dynamic": "~11.0.0",
27+
"@angular/platform-server": "~11.0.0",
28+
"@angular/router": "~11.0.0",
29+
"@angular/service-worker": "^11.0.0",
3030
"@nguniversal/express-engine": "~10.1.0",
3131
"core-js": "^3.6.5",
3232
"firebase": "^8.0.0",
@@ -39,10 +39,10 @@
3939
},
4040
"devDependencies": {
4141
"@angular-devkit/architect": "~0.1001.3",
42-
"@angular-devkit/build-angular": "~0.1002.0",
43-
"@angular/cli": "~10.2.0",
44-
"@angular/compiler-cli": "~10.2.1",
45-
"@angular/language-service": "~10.2.1",
42+
"@angular-devkit/build-angular": "~0.1100.0",
43+
"@angular/cli": "~11.0.0",
44+
"@angular/compiler-cli": "~11.0.0",
45+
"@angular/language-service": "~11.0.0",
4646
"@firebase/app-types": "^0.6.1",
4747
"@nguniversal/builders": "^10.1.0",
4848
"@types/jasmine": "~3.5.0",
@@ -60,13 +60,13 @@
6060
"inquirer-autocomplete-prompt": "^1.0.1",
6161
"jasmine-core": "~3.5.0",
6262
"jasmine-spec-reporter": "~5.0.0",
63-
"karma": "~5.0.0",
63+
"karma": "~5.1.1",
6464
"karma-chrome-launcher": "~3.1.0",
6565
"karma-coverage-istanbul-reporter": "~3.0.2",
6666
"karma-jasmine": "~4.0.0",
6767
"karma-jasmine-html-reporter": "^1.5.0",
6868
"ts-node": "~9.0.0",
6969
"tslint": "~6.1.3",
70-
"typescript": "~3.9.7"
70+
"typescript": "~4.0.5"
7171
}
7272
}

sample/src/app/app-routing.module.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ const routes: Routes = [
99

1010
@NgModule({
1111
imports: [RouterModule.forRoot(routes, {
12-
initialNavigation: 'enabled'
13-
})],
12+
initialNavigation: 'enabled',
13+
relativeLinkResolution: 'legacy'
14+
})],
1415
exports: [RouterModule]
1516
})
1617
export class AppRoutingModule { }

sample/src/polyfills.ts

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import 'proxy-polyfill/proxy.min.js';
2525
import 'core-js/stable';
2626
import 'whatwg-fetch';
27+
import 'first-input-delay/dist/first-input-delay.js';
2728

2829
/**
2930
* Web Animations `@angular/platform-browser/animations`

0 commit comments

Comments
 (0)