angular2-meteor-auto-bootstrap
Advanced tools
Comparing version 0.5.4 to 0.5.5
@@ -1,4 +0,4 @@ | ||
import { Type, Provider, ComponentRef } from 'angular2/core'; | ||
export declare function bootstrap(component: any, providers?: Array<Type | Provider | any[]>): Promise<ComponentRef>; | ||
import { Type, Provider, ComponentRef } from '@angular/core'; | ||
export declare function bootstrap(component: any, providers?: Array<Type | Provider | any[]>): Promise<ComponentRef<any>>; | ||
export declare function MeteorApp(args?: any): (cls: any) => any; | ||
export declare function defineMetadata(cls: Type, args?: any): void; |
"use strict"; | ||
var core_1 = require('angular2/core'); | ||
var browser_common_1 = require('angular2/src/platform/browser_common'); | ||
var browser_1 = require('angular2/platform/browser'); | ||
var core_1 = require('@angular/core'); | ||
var browser_common_1 = require('@angular/platform-browser/src/browser_common'); | ||
var platform_browser_dynamic_1 = require('@angular/platform-browser-dynamic'); | ||
var angular2_meteor_1 = require('angular2-meteor'); | ||
@@ -9,3 +9,3 @@ // Bootstrap with Meteor providers. | ||
if (providers === void 0) { providers = null; } | ||
return angular2_meteor_1.MeteorApp.bootstrap(component, browser_common_1.BROWSER_PROVIDERS, [browser_1.BROWSER_APP_PROVIDERS, angular2_meteor_1.METEOR_PROVIDERS], providers); | ||
return angular2_meteor_1.MeteorApp.bootstrap(component, browser_common_1.BROWSER_PROVIDERS, [platform_browser_dynamic_1.BROWSER_APP_DYNAMIC_PROVIDERS, angular2_meteor_1.METEOR_PROVIDERS], providers); | ||
} | ||
@@ -12,0 +12,0 @@ exports.bootstrap = bootstrap; |
@@ -1,4 +0,4 @@ | ||
import {Type, Provider, Component, ComponentRef} from 'angular2/core'; | ||
import {BROWSER_PROVIDERS} from 'angular2/src/platform/browser_common'; | ||
import {BROWSER_APP_PROVIDERS} from 'angular2/platform/browser'; | ||
import {Type, Provider, Component, ComponentRef} from '@angular/core'; | ||
import {BROWSER_PROVIDERS} from '@angular/platform-browser/src/browser_common'; | ||
import {BROWSER_APP_DYNAMIC_PROVIDERS} from '@angular/platform-browser-dynamic'; | ||
import {MeteorApp as App, METEOR_PROVIDERS} from 'angular2-meteor'; | ||
@@ -8,5 +8,5 @@ | ||
export function bootstrap(component: any, | ||
providers: Array<Type | Provider | any[]> = null): Promise<ComponentRef> { | ||
providers: Array<Type | Provider | any[]> = null): Promise<ComponentRef<any>> { | ||
return App.bootstrap(component, BROWSER_PROVIDERS, | ||
[BROWSER_APP_PROVIDERS, METEOR_PROVIDERS], providers); | ||
[BROWSER_APP_DYNAMIC_PROVIDERS, METEOR_PROVIDERS], providers); | ||
} | ||
@@ -13,0 +13,0 @@ |
{ | ||
"name": "angular2-meteor-auto-bootstrap", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"author": "Dotan Simha <dotansimha@gmail.com> (http://github.com/dotansimha/)", | ||
@@ -11,12 +11,9 @@ "license": "MIT", | ||
}, | ||
"peerDependencies": { | ||
"angular2": "^2.0.0-beta.17" | ||
"dependencies": { | ||
"@angular/common": "2.0.0-rc.1", | ||
"@angular/compiler": "2.0.0-rc.1", | ||
"@angular/platform-browser": "2.0.0-rc.1", | ||
"@angular/platform-browser-dynamic": "2.0.0-rc.1" | ||
}, | ||
"devDependencies": { | ||
"angular2": "^2.0.0-beta.16", | ||
"angular2-meteor": "^0.5.4", | ||
"es6-shim": "^0.35.0", | ||
"zone.js": "^0.6.10", | ||
"rxjs": "5.0.0-beta.2", | ||
"reflect-metadata": "0.1.2", | ||
"gulp": "^3.9.1", | ||
@@ -23,0 +20,0 @@ "gulp-clean": "^0.3.2", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
184704
7
4
4
+ Added@angular/common@2.0.0-rc.1
+ Added@angular/compiler@2.0.0-rc.1
+ Added@angular/common@2.0.0-rc.1(transitive)
+ Added@angular/compiler@2.0.0-rc.1(transitive)
+ Added@angular/core@2.0.0-rc.1(transitive)
+ Added@angular/platform-browser@2.0.0-rc.1(transitive)
+ Added@angular/platform-browser-dynamic@2.0.0-rc.1(transitive)
- Removedangular2@2.0.0-beta.21(transitive)
- Removedes6-shim@0.35.8(transitive)
- Removedreflect-metadata@0.1.2(transitive)