Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
ReflectiveInjector,
Type,
createPlatform,
coreLoadAndBootstrap,
getPlatform,
provide
} from '@angular/core';
NgZone.assertNotInAngularZone = function() {};
import {Http} from '@angular/http';
import {XHR} from '@angular/compiler';
import {DirectiveResolver} from '@angular/compiler/src/directive_resolver';
import {DOCUMENT} from '@angular/platform-browser';
import {Parse5DomAdapter} from '@angular/platform-server';
Parse5DomAdapter.makeCurrent(); // ensure Parse5DomAdapter is used
import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter';
const DOM: any = getDOM();
import {isPresent, isBlank} from '@angular/core/src/facade/lang';
import * as Future from 'fibers/future';
import {
NODE_ROUTER_PROVIDERS,
NODE_HTTP_PROVIDERS,
NODE_PLATFORM_PIPES,
NODE_LOCATION_PROVIDERS,
REQUEST_URL,
BASE_URL,
ORIGIN_URL,
queryParamsToBoolean,
buildReflector,