Skip to content

Commit c7ca07a

Browse files
committed
chore(upgrade): Upgrade to Angular 4
1 parent 2679353 commit c7ca07a

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

package.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@
3535
},
3636
"homepage": "https://github.com/angular/angularfire2#readme",
3737
"dependencies": {
38-
"@angular/common": "^2.0.0",
39-
"@angular/compiler": "^2.0.0",
40-
"@angular/core": "^2.0.0",
41-
"@angular/platform-browser": "^2.0.0",
42-
"@angular/platform-browser-dynamic": "^2.0.0",
38+
"@angular/common": "^4.0.0",
39+
"@angular/compiler": "^4.0.0",
40+
"@angular/core": "^4.0.0",
41+
"@angular/platform-browser": "^4.0.0",
42+
"@angular/platform-browser-dynamic": "^4.0.0",
4343
"firebase": "^3.6.6",
4444
"rxjs": "^5.0.1"
4545
},
4646
"devDependencies": {
47-
"@angular/compiler-cli": "^2.0.0",
48-
"@angular/platform-server": "^2.0.0-rc.5",
47+
"@angular/compiler-cli": "^4.0.0",
48+
"@angular/platform-server": "^4.0.0-rc.5",
4949
"@types/jasmine": "^2.5.36",
5050
"@types/request": "0.0.30",
5151
"concurrently": "^2.2.0",
@@ -75,9 +75,8 @@
7575
"systemjs": "^0.19.16",
7676
"systemjs-builder": "^0.15.7",
7777
"traceur": "0.0.96",
78-
"typedoc": "github:jeffbcross/typedoc",
7978
"typescript": "^2.0.2",
80-
"zone.js": "^0.7.2"
79+
"zone.js": "^0.8.0"
8180
},
8281
"typings": "index.d.ts"
8382
}

src/angularfire2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as utils from './utils';
33
import { FirebaseAppConfigToken, FirebaseApp, _firebaseAppFactory } from './app/index';
44
import { FirebaseListFactoryOpts, FirebaseObjectFactoryOpts, FirebaseAppConfig } from './interfaces';
55
import { FirebaseAppName } from './tokens';
6-
import { Injectable, OpaqueToken, NgModule } from '@angular/core';
6+
import { Injectable, InjectionToken, OpaqueToken, NgModule } from '@angular/core';
77

88
export const FirebaseAppProvider = {
99
provide: FirebaseApp,

src/app/firebase.app.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { Injectable, OpaqueToken, Inject, NgModule, ModuleWithProviders } from '@angular/core';
1+
import { Injectable, Inject, InjectionToken, NgModule, ModuleWithProviders } from '@angular/core';
22
import * as firebase from 'firebase/app';
33

4-
export const FirebaseAppConfigToken = new OpaqueToken('FirebaseAppConfigToken');
4+
export const FirebaseAppConfigToken = new InjectionToken('FirebaseAppConfigToken');
55

66
export class FirebaseApp implements firebase.app.App {
77
name: string;

0 commit comments

Comments
 (0)