@angular/platform-browser-dynamic 9.1.0 → 9.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/bundles/platform-browser-dynamic-testing.umd.js +36 -9
  2. package/bundles/platform-browser-dynamic-testing.umd.js.map +1 -1
  3. package/bundles/platform-browser-dynamic-testing.umd.min.js +1 -1
  4. package/bundles/platform-browser-dynamic-testing.umd.min.js.map +1 -1
  5. package/bundles/platform-browser-dynamic.umd.js +61 -28
  6. package/bundles/platform-browser-dynamic.umd.js.map +1 -1
  7. package/bundles/platform-browser-dynamic.umd.min.js +2 -2
  8. package/bundles/platform-browser-dynamic.umd.min.js.map +1 -1
  9. package/esm2015/src/compiler_factory.js +33 -23
  10. package/esm2015/src/compiler_reflector.js +9 -5
  11. package/esm2015/src/platform-browser-dynamic.js +1 -1
  12. package/esm2015/src/platform_core_dynamic.js +1 -1
  13. package/esm2015/src/resource_loader/resource_loader_impl.js +4 -2
  14. package/esm2015/src/version.js +1 -1
  15. package/esm2015/testing/src/compiler_factory.js +16 -6
  16. package/esm2015/testing/src/dom_test_component_renderer.js +1 -1
  17. package/esm2015/testing/src/platform_core_dynamic_testing.js +2 -2
  18. package/esm2015/testing/src/testing.js +2 -2
  19. package/esm5/src/compiler_factory.js +33 -23
  20. package/esm5/src/compiler_reflector.js +9 -5
  21. package/esm5/src/platform-browser-dynamic.js +1 -1
  22. package/esm5/src/platform_core_dynamic.js +1 -1
  23. package/esm5/src/resource_loader/resource_loader_impl.js +4 -2
  24. package/esm5/src/version.js +1 -1
  25. package/esm5/testing/src/compiler_factory.js +16 -6
  26. package/esm5/testing/src/dom_test_component_renderer.js +1 -1
  27. package/esm5/testing/src/platform_core_dynamic_testing.js +2 -2
  28. package/esm5/testing/src/testing.js +2 -2
  29. package/fesm2015/platform-browser-dynamic.js +41 -25
  30. package/fesm2015/platform-browser-dynamic.js.map +1 -1
  31. package/fesm2015/testing.js +16 -6
  32. package/fesm2015/testing.js.map +1 -1
  33. package/fesm5/platform-browser-dynamic.js +41 -25
  34. package/fesm5/platform-browser-dynamic.js.map +1 -1
  35. package/fesm5/testing.js +16 -6
  36. package/fesm5/testing.js.map +1 -1
  37. package/package.json +5 -5
  38. package/platform-browser-dynamic.d.ts +1 -1
  39. package/platform-browser-dynamic.metadata.json +1 -1
  40. package/testing/testing.d.ts +1 -1
  41. package/testing.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v9.1.0
2
+ * @license Angular v9.1.4
3
3
  * (c) 2010-2020 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -38,7 +38,9 @@ var JitReflector = /** @class */ (function () {
38
38
  JitReflector.prototype.parameters = function (typeOrFunc) {
39
39
  return this.reflectionCapabilities.parameters(typeOrFunc);
40
40
  };
41
- JitReflector.prototype.tryAnnotations = function (typeOrFunc) { return this.annotations(typeOrFunc); };
41
+ JitReflector.prototype.tryAnnotations = function (typeOrFunc) {
42
+ return this.annotations(typeOrFunc);
43
+ };
42
44
  JitReflector.prototype.annotations = function (typeOrFunc) {
43
45
  return this.reflectionCapabilities.annotations(typeOrFunc);
44
46
  };
@@ -51,7 +53,9 @@ var JitReflector = /** @class */ (function () {
51
53
  JitReflector.prototype.hasLifecycleHook = function (type, lcProperty) {
52
54
  return this.reflectionCapabilities.hasLifecycleHook(type, lcProperty);
53
55
  };
54
- JitReflector.prototype.guards = function (type) { return this.reflectionCapabilities.guards(type); };
56
+ JitReflector.prototype.guards = function (type) {
57
+ return this.reflectionCapabilities.guards(type);
58
+ };
55
59
  JitReflector.prototype.resolveExternalReference = function (ref) {
56
60
  return builtinExternalReferences.get(ref) || ref.runtime;
57
61
  };
@@ -155,13 +159,21 @@ var CompilerImpl = /** @class */ (function () {
155
159
  componentFactories: result.componentFactories,
156
160
  }); });
157
161
  };
158
- CompilerImpl.prototype.loadAotSummaries = function (summaries) { this._delegate.loadAotSummaries(summaries); };
159
- CompilerImpl.prototype.hasAotSummary = function (ref) { return this._delegate.hasAotSummary(ref); };
162
+ CompilerImpl.prototype.loadAotSummaries = function (summaries) {
163
+ this._delegate.loadAotSummaries(summaries);
164
+ };
165
+ CompilerImpl.prototype.hasAotSummary = function (ref) {
166
+ return this._delegate.hasAotSummary(ref);
167
+ };
160
168
  CompilerImpl.prototype.getComponentFactory = function (component) {
161
169
  return this._delegate.getComponentFactory(component);
162
170
  };
163
- CompilerImpl.prototype.clearCache = function () { this._delegate.clearCache(); };
164
- CompilerImpl.prototype.clearCacheFor = function (type) { this._delegate.clearCacheFor(type); };
171
+ CompilerImpl.prototype.clearCache = function () {
172
+ this._delegate.clearCache();
173
+ };
174
+ CompilerImpl.prototype.clearCacheFor = function (type) {
175
+ this._delegate.clearCacheFor(type);
176
+ };
165
177
  CompilerImpl.prototype.getModuleId = function (moduleType) {
166
178
  var meta = this._metadataResolver.getNgModuleMetadata(moduleType);
167
179
  return meta && meta.id || undefined;
@@ -206,30 +218,32 @@ var COMPILER_PROVIDERS__PRE_R3__ = [
206
218
  useExisting: I18NHtmlParser,
207
219
  },
208
220
  {
209
- provide: TemplateParser, deps: [CompilerConfig, CompileReflector,
210
- Parser, ElementSchemaRegistry,
211
- I18NHtmlParser, ɵConsole]
221
+ provide: TemplateParser,
222
+ deps: [CompilerConfig, CompileReflector, Parser, ElementSchemaRegistry, I18NHtmlParser, ɵConsole]
212
223
  },
213
224
  { provide: JitEvaluator, useClass: JitEvaluator, deps: [] },
214
225
  { provide: DirectiveNormalizer, deps: [ResourceLoader, UrlResolver, HtmlParser, CompilerConfig] },
215
- { provide: CompileMetadataResolver, deps: [CompilerConfig, HtmlParser, NgModuleResolver,
216
- DirectiveResolver, PipeResolver,
217
- SummaryResolver,
218
- ElementSchemaRegistry,
219
- DirectiveNormalizer, ɵConsole,
220
- [Optional, StaticSymbolCache],
221
- CompileReflector,
222
- [Optional, ERROR_COLLECTOR_TOKEN]] },
226
+ {
227
+ provide: CompileMetadataResolver,
228
+ deps: [
229
+ CompilerConfig, HtmlParser, NgModuleResolver, DirectiveResolver, PipeResolver,
230
+ SummaryResolver, ElementSchemaRegistry, DirectiveNormalizer, ɵConsole,
231
+ [Optional, StaticSymbolCache], CompileReflector, [Optional, ERROR_COLLECTOR_TOKEN]
232
+ ]
233
+ },
223
234
  DEFAULT_PACKAGE_URL_PROVIDER,
224
235
  { provide: StyleCompiler, deps: [UrlResolver] },
225
236
  { provide: ViewCompiler, deps: [CompileReflector] },
226
237
  { provide: NgModuleCompiler, deps: [CompileReflector] },
227
238
  { provide: CompilerConfig, useValue: ɵ3 },
228
- { provide: Compiler, useClass: CompilerImpl, deps: [Injector, CompileMetadataResolver,
229
- TemplateParser, StyleCompiler,
230
- ViewCompiler, NgModuleCompiler,
231
- SummaryResolver, CompileReflector, JitEvaluator, CompilerConfig,
232
- ɵConsole] },
239
+ {
240
+ provide: Compiler,
241
+ useClass: CompilerImpl,
242
+ deps: [
243
+ Injector, CompileMetadataResolver, TemplateParser, StyleCompiler, ViewCompiler,
244
+ NgModuleCompiler, SummaryResolver, CompileReflector, JitEvaluator, CompilerConfig, ɵConsole
245
+ ]
246
+ },
233
247
  { provide: DomElementSchemaRegistry, deps: [] },
234
248
  { provide: ElementSchemaRegistry, useExisting: DomElementSchemaRegistry },
235
249
  { provide: UrlResolver, deps: [PACKAGE_ROOT_URL] },
@@ -355,7 +369,9 @@ var ResourceLoaderImpl = /** @class */ (function (_super) {
355
369
  reject("Failed to load " + url);
356
370
  }
357
371
  };
358
- xhr.onerror = function () { reject("Failed to load " + url); };
372
+ xhr.onerror = function () {
373
+ reject("Failed to load " + url);
374
+ };
359
375
  xhr.send();
360
376
  return promise;
361
377
  };
@@ -441,7 +457,7 @@ var CachedResourceLoader = /** @class */ (function (_super) {
441
457
  /**
442
458
  * @publicApi
443
459
  */
444
- var VERSION = new Version('9.1.0');
460
+ var VERSION = new Version('9.1.4');
445
461
 
446
462
  /**
447
463
  * @license
@@ -1 +1 @@
1
- {"version":3,"file":"platform-browser-dynamic.js","sources":["../../../../../../packages/platform-browser-dynamic/src/compiler_reflector.ts","../../../../../../packages/platform-browser-dynamic/src/compiler_factory.ts","../../../../../../packages/platform-browser-dynamic/src/platform_core_dynamic.ts","../../../../../../packages/platform-browser-dynamic/src/resource_loader/resource_loader_impl.ts","../../../../../../packages/platform-browser-dynamic/src/platform_providers.ts","../../../../../../packages/platform-browser-dynamic/src/resource_loader/resource_loader_cache.ts","../../../../../../packages/platform-browser-dynamic/src/private_export.ts","../../../../../../packages/platform-browser-dynamic/src/version.ts","../../../../../../packages/platform-browser-dynamic/src/platform-browser-dynamic.ts","../../../../../../packages/platform-browser-dynamic/public_api.ts","../../../../../../packages/platform-browser-dynamic/index.ts","../../../../../../packages/platform-browser-dynamic/platform-browser-dynamic.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {CompileReflector, ExternalReference, Identifiers, getUrlScheme, syntaxError} from '@angular/compiler';\nimport {ANALYZE_FOR_ENTRY_COMPONENTS, ChangeDetectionStrategy, ChangeDetectorRef, Component, ComponentFactory, ComponentFactoryResolver, ComponentRef, ElementRef, Injector, LOCALE_ID, NgModuleFactory, NgModuleRef, QueryList, Renderer2, SecurityContext, TRANSLATIONS_FORMAT, TemplateRef, ViewContainerRef, ViewEncapsulation, ɵCodegenComponentFactoryResolver, ɵEMPTY_ARRAY, ɵEMPTY_MAP, ɵReflectionCapabilities as ReflectionCapabilities, ɵand, ɵccf, ɵcmf, ɵcrt, ɵdid, ɵeld, ɵinlineInterpolate, ɵinterpolate, ɵmod, ɵmpd, ɵncd, ɵnov, ɵpad, ɵpid, ɵpod, ɵppd, ɵprd, ɵqud, ɵregisterModuleFactory, ɵstringify as stringify, ɵted, ɵunv, ɵvid} from '@angular/core';\n\nexport const MODULE_SUFFIX = '';\nconst builtinExternalReferences = createBuiltinExternalReferencesMap();\n\nexport class JitReflector implements CompileReflector {\n private reflectionCapabilities = new ReflectionCapabilities();\n\n componentModuleUrl(type: any, cmpMetadata: Component): string {\n const moduleId = cmpMetadata.moduleId;\n\n if (typeof moduleId === 'string') {\n const scheme = getUrlScheme(moduleId);\n return scheme ? moduleId : `package:${moduleId}${MODULE_SUFFIX}`;\n } else if (moduleId !== null && moduleId !== void 0) {\n throw syntaxError(\n `moduleId should be a string in \"${stringify(type)}\". See https://goo.gl/wIDDiL for more information.\\n` +\n `If you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.`);\n }\n\n return `./${stringify(type)}`;\n }\n parameters(typeOrFunc: /*Type*/ any): any[][] {\n return this.reflectionCapabilities.parameters(typeOrFunc);\n }\n tryAnnotations(typeOrFunc: /*Type*/ any): any[] { return this.annotations(typeOrFunc); }\n annotations(typeOrFunc: /*Type*/ any): any[] {\n return this.reflectionCapabilities.annotations(typeOrFunc);\n }\n shallowAnnotations(typeOrFunc: /*Type*/ any): any[] {\n throw new Error('Not supported in JIT mode');\n }\n propMetadata(typeOrFunc: /*Type*/ any): {[key: string]: any[]} {\n return this.reflectionCapabilities.propMetadata(typeOrFunc);\n }\n hasLifecycleHook(type: any, lcProperty: string): boolean {\n return this.reflectionCapabilities.hasLifecycleHook(type, lcProperty);\n }\n guards(type: any): {[key: string]: any} { return this.reflectionCapabilities.guards(type); }\n resolveExternalReference(ref: ExternalReference): any {\n return builtinExternalReferences.get(ref) || ref.runtime;\n }\n}\n\n\nfunction createBuiltinExternalReferencesMap() {\n const map = new Map<ExternalReference, any>();\n map.set(Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS, ANALYZE_FOR_ENTRY_COMPONENTS);\n map.set(Identifiers.ElementRef, ElementRef);\n map.set(Identifiers.NgModuleRef, NgModuleRef);\n map.set(Identifiers.ViewContainerRef, ViewContainerRef);\n map.set(Identifiers.ChangeDetectorRef, ChangeDetectorRef);\n map.set(Identifiers.Renderer2, Renderer2);\n map.set(Identifiers.QueryList, QueryList);\n map.set(Identifiers.TemplateRef, TemplateRef);\n map.set(Identifiers.CodegenComponentFactoryResolver, ɵCodegenComponentFactoryResolver);\n map.set(Identifiers.ComponentFactoryResolver, ComponentFactoryResolver);\n map.set(Identifiers.ComponentFactory, ComponentFactory);\n map.set(Identifiers.ComponentRef, ComponentRef);\n map.set(Identifiers.NgModuleFactory, NgModuleFactory);\n map.set(Identifiers.createModuleFactory, ɵcmf);\n map.set(Identifiers.moduleDef, ɵmod);\n map.set(Identifiers.moduleProviderDef, ɵmpd);\n map.set(Identifiers.RegisterModuleFactoryFn, ɵregisterModuleFactory);\n map.set(Identifiers.Injector, Injector);\n map.set(Identifiers.ViewEncapsulation, ViewEncapsulation);\n map.set(Identifiers.ChangeDetectionStrategy, ChangeDetectionStrategy);\n map.set(Identifiers.SecurityContext, SecurityContext);\n map.set(Identifiers.LOCALE_ID, LOCALE_ID);\n map.set(Identifiers.TRANSLATIONS_FORMAT, TRANSLATIONS_FORMAT);\n map.set(Identifiers.inlineInterpolate, ɵinlineInterpolate);\n map.set(Identifiers.interpolate, ɵinterpolate);\n map.set(Identifiers.EMPTY_ARRAY, ɵEMPTY_ARRAY);\n map.set(Identifiers.EMPTY_MAP, ɵEMPTY_MAP);\n map.set(Identifiers.viewDef, ɵvid);\n map.set(Identifiers.elementDef, ɵeld);\n map.set(Identifiers.anchorDef, ɵand);\n map.set(Identifiers.textDef, ɵted);\n map.set(Identifiers.directiveDef, ɵdid);\n map.set(Identifiers.providerDef, ɵprd);\n map.set(Identifiers.queryDef, ɵqud);\n map.set(Identifiers.pureArrayDef, ɵpad);\n map.set(Identifiers.pureObjectDef, ɵpod);\n map.set(Identifiers.purePipeDef, ɵppd);\n map.set(Identifiers.pipeDef, ɵpid);\n map.set(Identifiers.nodeValue, ɵnov);\n map.set(Identifiers.ngContentDef, ɵncd);\n map.set(Identifiers.unwrapValue, ɵunv);\n map.set(Identifiers.createRendererType2, ɵcrt);\n map.set(Identifiers.createComponentFactory, ɵccf);\n return map;\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {CompileMetadataResolver, CompileReflector, CompilerConfig, DirectiveNormalizer, DirectiveResolver, DomElementSchemaRegistry, ElementSchemaRegistry, HtmlParser, I18NHtmlParser, JitCompiler, JitEvaluator, JitSummaryResolver, Lexer, NgModuleCompiler, NgModuleResolver, Parser, PipeResolver, ProviderMeta, ResourceLoader, StaticSymbolCache, StyleCompiler, SummaryResolver, TemplateParser, UrlResolver, ViewCompiler} from '@angular/compiler';\nimport {Compiler, CompilerFactory, CompilerOptions, ComponentFactory, Inject, InjectionToken, Injector, MissingTranslationStrategy, ModuleWithComponentFactories, NgModuleFactory, Optional, PACKAGE_ROOT_URL, StaticProvider, TRANSLATIONS, TRANSLATIONS_FORMAT, Type, ViewEncapsulation, isDevMode, ɵConsole as Console} from '@angular/core';\n\nimport {JitReflector} from './compiler_reflector';\n\nexport const ERROR_COLLECTOR_TOKEN = new InjectionToken('ErrorCollector');\n\n/**\n * A default provider for {@link PACKAGE_ROOT_URL} that maps to '/'.\n */\nexport const DEFAULT_PACKAGE_URL_PROVIDER = {\n provide: PACKAGE_ROOT_URL,\n useValue: '/'\n};\n\nconst _NO_RESOURCE_LOADER: ResourceLoader = {\n get(url: string): Promise<string>{\n throw new Error(\n `No ResourceLoader implementation has been provided. Can't read the url \"${url}\"`);}\n};\n\nconst baseHtmlParser = new InjectionToken('HtmlParser');\n\nexport class CompilerImpl implements Compiler {\n private _delegate: JitCompiler;\n public readonly injector: Injector;\n constructor(\n injector: Injector, private _metadataResolver: CompileMetadataResolver,\n templateParser: TemplateParser, styleCompiler: StyleCompiler, viewCompiler: ViewCompiler,\n ngModuleCompiler: NgModuleCompiler, summaryResolver: SummaryResolver<Type<any>>,\n compileReflector: CompileReflector, jitEvaluator: JitEvaluator,\n compilerConfig: CompilerConfig, console: Console) {\n this._delegate = new JitCompiler(\n _metadataResolver, templateParser, styleCompiler, viewCompiler, ngModuleCompiler,\n summaryResolver, compileReflector, jitEvaluator, compilerConfig, console,\n this.getExtraNgModuleProviders.bind(this));\n this.injector = injector;\n }\n\n private getExtraNgModuleProviders() {\n return [this._metadataResolver.getProviderMetadata(\n new ProviderMeta(Compiler, {useValue: this}))];\n }\n\n compileModuleSync<T>(moduleType: Type<T>): NgModuleFactory<T> {\n return this._delegate.compileModuleSync(moduleType) as NgModuleFactory<T>;\n }\n compileModuleAsync<T>(moduleType: Type<T>): Promise<NgModuleFactory<T>> {\n return this._delegate.compileModuleAsync(moduleType) as Promise<NgModuleFactory<T>>;\n }\n compileModuleAndAllComponentsSync<T>(moduleType: Type<T>): ModuleWithComponentFactories<T> {\n const result = this._delegate.compileModuleAndAllComponentsSync(moduleType);\n return {\n ngModuleFactory: result.ngModuleFactory as NgModuleFactory<T>,\n componentFactories: result.componentFactories as ComponentFactory<any>[],\n };\n }\n compileModuleAndAllComponentsAsync<T>(moduleType: Type<T>):\n Promise<ModuleWithComponentFactories<T>> {\n return this._delegate.compileModuleAndAllComponentsAsync(moduleType)\n .then((result) => ({\n ngModuleFactory: result.ngModuleFactory as NgModuleFactory<T>,\n componentFactories: result.componentFactories as ComponentFactory<any>[],\n }));\n }\n loadAotSummaries(summaries: () => any[]) { this._delegate.loadAotSummaries(summaries); }\n hasAotSummary(ref: Type<any>): boolean { return this._delegate.hasAotSummary(ref); }\n getComponentFactory<T>(component: Type<T>): ComponentFactory<T> {\n return this._delegate.getComponentFactory(component) as ComponentFactory<T>;\n }\n clearCache(): void { this._delegate.clearCache(); }\n clearCacheFor(type: Type<any>) { this._delegate.clearCacheFor(type); }\n getModuleId(moduleType: Type<any>): string|undefined {\n const meta = this._metadataResolver.getNgModuleMetadata(moduleType);\n return meta && meta.id || undefined;\n }\n}\n/**\n * A set of providers that provide `JitCompiler` and its dependencies to use for\n * template compilation.\n */\nconst COMPILER_PROVIDERS__PRE_R3__ = <StaticProvider[]>[\n {provide: CompileReflector, useValue: new JitReflector()},\n {provide: ResourceLoader, useValue: _NO_RESOURCE_LOADER},\n {provide: JitSummaryResolver, deps: []},\n {provide: SummaryResolver, useExisting: JitSummaryResolver},\n {provide: Console, deps: []},\n {provide: Lexer, deps: []},\n {provide: Parser, deps: [Lexer]},\n {\n provide: baseHtmlParser,\n useClass: HtmlParser,\n deps: [],\n },\n {\n provide: I18NHtmlParser,\n useFactory: (parser: HtmlParser, translations: string | null, format: string,\n config: CompilerConfig, console: Console) => {\n translations = translations || '';\n const missingTranslation =\n translations ? config.missingTranslation ! : MissingTranslationStrategy.Ignore;\n return new I18NHtmlParser(parser, translations, format, missingTranslation, console);\n },\n deps: [\n baseHtmlParser,\n [new Optional(), new Inject(TRANSLATIONS)],\n [new Optional(), new Inject(TRANSLATIONS_FORMAT)],\n [CompilerConfig],\n [Console],\n ]\n },\n {\n provide: HtmlParser,\n useExisting: I18NHtmlParser,\n },\n {\n provide: TemplateParser, deps: [CompilerConfig, CompileReflector,\n Parser, ElementSchemaRegistry,\n I18NHtmlParser, Console]\n },\n { provide: JitEvaluator, useClass: JitEvaluator, deps: [] },\n { provide: DirectiveNormalizer, deps: [ResourceLoader, UrlResolver, HtmlParser, CompilerConfig]},\n { provide: CompileMetadataResolver, deps: [CompilerConfig, HtmlParser, NgModuleResolver,\n DirectiveResolver, PipeResolver,\n SummaryResolver,\n ElementSchemaRegistry,\n DirectiveNormalizer, Console,\n [Optional, StaticSymbolCache],\n CompileReflector,\n [Optional, ERROR_COLLECTOR_TOKEN]]},\n DEFAULT_PACKAGE_URL_PROVIDER,\n { provide: StyleCompiler, deps: [UrlResolver]},\n { provide: ViewCompiler, deps: [CompileReflector]},\n { provide: NgModuleCompiler, deps: [CompileReflector] },\n { provide: CompilerConfig, useValue: new CompilerConfig()},\n { provide: Compiler, useClass: CompilerImpl, deps: [Injector, CompileMetadataResolver,\n TemplateParser, StyleCompiler,\n ViewCompiler, NgModuleCompiler,\n SummaryResolver, CompileReflector, JitEvaluator, CompilerConfig,\n Console]},\n { provide: DomElementSchemaRegistry, deps: []},\n { provide: ElementSchemaRegistry, useExisting: DomElementSchemaRegistry},\n { provide: UrlResolver, deps: [PACKAGE_ROOT_URL]},\n { provide: DirectiveResolver, deps: [CompileReflector]},\n { provide: PipeResolver, deps: [CompileReflector]},\n { provide: NgModuleResolver, deps: [CompileReflector]},\n];\n\nexport const COMPILER_PROVIDERS__POST_R3__ =\n <StaticProvider[]>[{provide: Compiler, useFactory: () => new Compiler()}];\nexport const COMPILER_PROVIDERS = COMPILER_PROVIDERS__PRE_R3__;\n/**\n * @publicApi\n */\nexport class JitCompilerFactory implements CompilerFactory {\n private _defaultOptions: CompilerOptions[];\n\n /* @internal */\n constructor(defaultOptions: CompilerOptions[]) {\n const compilerOptions: CompilerOptions = {\n useJit: true,\n defaultEncapsulation: ViewEncapsulation.Emulated,\n missingTranslation: MissingTranslationStrategy.Warning,\n };\n\n this._defaultOptions = [compilerOptions, ...defaultOptions];\n }\n createCompiler(options: CompilerOptions[] = []): Compiler {\n const opts = _mergeOptions(this._defaultOptions.concat(options));\n const injector = Injector.create([\n COMPILER_PROVIDERS, {\n provide: CompilerConfig,\n useFactory: () => {\n return new CompilerConfig({\n // let explicit values from the compiler options overwrite options\n // from the app providers\n useJit: opts.useJit,\n jitDevMode: isDevMode(),\n // let explicit values from the compiler options overwrite options\n // from the app providers\n defaultEncapsulation: opts.defaultEncapsulation,\n missingTranslation: opts.missingTranslation,\n preserveWhitespaces: opts.preserveWhitespaces,\n });\n },\n deps: []\n },\n opts.providers !\n ]);\n return injector.get(Compiler);\n }\n}\n\nfunction _mergeOptions(optionsArr: CompilerOptions[]): CompilerOptions {\n return {\n useJit: _lastDefined(optionsArr.map(options => options.useJit)),\n defaultEncapsulation: _lastDefined(optionsArr.map(options => options.defaultEncapsulation)),\n providers: _mergeArrays(optionsArr.map(options => options.providers !)),\n missingTranslation: _lastDefined(optionsArr.map(options => options.missingTranslation)),\n preserveWhitespaces: _lastDefined(optionsArr.map(options => options.preserveWhitespaces)),\n };\n}\n\nfunction _lastDefined<T>(args: T[]): T|undefined {\n for (let i = args.length - 1; i >= 0; i--) {\n if (args[i] !== undefined) {\n return args[i];\n }\n }\n return undefined;\n}\n\nfunction _mergeArrays(parts: any[][]): any[] {\n const result: any[] = [];\n parts.forEach((part) => part && result.push(...part));\n return result;\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {COMPILER_OPTIONS, CompilerFactory, PlatformRef, StaticProvider, createPlatformFactory, platformCore} from '@angular/core';\nimport {JitCompilerFactory} from './compiler_factory';\n\n/**\n * A platform that included corePlatform and the compiler.\n *\n * @publicApi\n */\nexport const platformCoreDynamic = createPlatformFactory(platformCore, 'coreDynamic', [\n {provide: COMPILER_OPTIONS, useValue: {}, multi: true},\n {provide: CompilerFactory, useClass: JitCompilerFactory, deps: [COMPILER_OPTIONS]},\n]);\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport {ResourceLoader} from '@angular/compiler';\nimport {Injectable} from '@angular/core';\n\n\n@Injectable()\nexport class ResourceLoaderImpl extends ResourceLoader {\n get(url: string): Promise<string> {\n let resolve: (result: any) => void;\n let reject: (error: any) => void;\n const promise = new Promise<string>((res, rej) => {\n resolve = res;\n reject = rej;\n });\n const xhr = new XMLHttpRequest();\n xhr.open('GET', url, true);\n xhr.responseType = 'text';\n\n xhr.onload = function() {\n // responseText is the old-school way of retrieving response (supported by IE8 & 9)\n // response/responseType properties were introduced in ResourceLoader Level2 spec (supported\n // by IE10)\n const response = xhr.response || xhr.responseText;\n\n // normalize IE9 bug (http://bugs.jquery.com/ticket/1450)\n let status = xhr.status === 1223 ? 204 : xhr.status;\n\n // fix status code when it is 0 (0 status is undocumented).\n // Occurs when accessing file resources or on Android 4.1 stock browser\n // while retrieving files from application cache.\n if (status === 0) {\n status = response ? 200 : 0;\n }\n\n if (200 <= status && status <= 300) {\n resolve(response);\n } else {\n reject(`Failed to load ${url}`);\n }\n };\n\n xhr.onerror = function() { reject(`Failed to load ${url}`); };\n\n xhr.send();\n return promise;\n }\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ɵPLATFORM_BROWSER_ID as PLATFORM_BROWSER_ID} from '@angular/common';\nimport {ResourceLoader} from '@angular/compiler';\nimport {COMPILER_OPTIONS, PLATFORM_ID, StaticProvider} from '@angular/core';\n\nimport {ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS as INTERNAL_BROWSER_PLATFORM_PROVIDERS} from '@angular/platform-browser';\n\nimport {ResourceLoaderImpl} from './resource_loader/resource_loader_impl';\n\n/**\n * @publicApi\n */\nexport const INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS: StaticProvider[] = [\n INTERNAL_BROWSER_PLATFORM_PROVIDERS,\n {\n provide: COMPILER_OPTIONS,\n useValue: {providers: [{provide: ResourceLoader, useClass: ResourceLoaderImpl, deps: []}]},\n multi: true\n },\n {provide: PLATFORM_ID, useValue: PLATFORM_BROWSER_ID},\n];\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ResourceLoader} from '@angular/compiler';\nimport {ɵglobal as global} from '@angular/core';\n\n/**\n * An implementation of ResourceLoader that uses a template cache to avoid doing an actual\n * ResourceLoader.\n *\n * The template cache needs to be built and loaded into window.$templateCache\n * via a separate mechanism.\n *\n * @publicApi\n */\nexport class CachedResourceLoader extends ResourceLoader {\n private _cache: {[url: string]: string};\n\n constructor() {\n super();\n this._cache = (<any>global).$templateCache;\n if (this._cache == null) {\n throw new Error('CachedResourceLoader: Template cache was not found in $templateCache.');\n }\n }\n\n get(url: string): Promise<string> {\n if (this._cache.hasOwnProperty(url)) {\n return Promise.resolve(this._cache[url]);\n } else {\n return <Promise<any>>Promise.reject(\n 'CachedResourceLoader: Did not find cached template for ' + url);\n }\n }\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport {COMPILER_PROVIDERS__POST_R3__ as ɵCOMPILER_PROVIDERS__POST_R3__, CompilerImpl as ɵCompilerImpl} from './compiler_factory';\nexport {platformCoreDynamic as ɵplatformCoreDynamic} from './platform_core_dynamic';\nexport {INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS as ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS} from './platform_providers';\nexport {ResourceLoaderImpl as ɵResourceLoaderImpl} from './resource_loader/resource_loader_impl';\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the common package.\n */\n\nimport {Version} from '@angular/core';\n\n/**\n * @publicApi\n */\nexport const VERSION = new Version('9.1.0');\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ResourceLoader} from '@angular/compiler';\nimport {CompilerFactory, PlatformRef, Provider, StaticProvider, createPlatformFactory, platformCore} from '@angular/core';\n\nimport {platformCoreDynamic} from './platform_core_dynamic';\nimport {INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS} from './platform_providers';\nimport {CachedResourceLoader} from './resource_loader/resource_loader_cache';\n\nexport * from './private_export';\nexport {VERSION} from './version';\nexport {JitCompilerFactory} from './compiler_factory';\n\n/**\n * @publicApi\n */\nexport const RESOURCE_CACHE_PROVIDER: Provider[] =\n [{provide: ResourceLoader, useClass: CachedResourceLoader, deps: []}];\n\n/**\n * @publicApi\n */\nexport const platformBrowserDynamic = createPlatformFactory(\n platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\nexport * from './src/platform-browser-dynamic';\n\n// This file only reexports content of the `src` folder. Keep it that way.\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n// This file is not used to build this module. It is only used during editing\n// by the TypeScript language service and during build for verification. `ngc`\n// replaces this file with production index.ts when it rewrites private symbol\n// names.\n\nexport * from './public_api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {CachedResourceLoader as ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a} from './src/resource_loader/resource_loader_cache';"],"names":["ReflectionCapabilities","stringify","Console","PLATFORM_BROWSER_ID","INTERNAL_BROWSER_PLATFORM_PROVIDERS","global"],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAQA,AAGO,IAAM,aAAa,GAAG,EAAE,CAAC;AAChC,IAAM,yBAAyB,GAAG,kCAAkC,EAAE,CAAC;AAEvE;IAAA;QACU,2BAAsB,GAAG,IAAIA,uBAAsB,EAAE,CAAC;KAoC/D;IAlCC,yCAAkB,GAAlB,UAAmB,IAAS,EAAE,WAAsB;QAClD,IAAM,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC;QAEtC,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;YAChC,IAAM,MAAM,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;YACtC,OAAO,MAAM,GAAG,QAAQ,GAAG,aAAW,QAAQ,GAAG,aAAe,CAAC;SAClE;aAAM,IA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-dynamic.js","sources":["../../../../../../packages/platform-browser-dynamic/src/compiler_reflector.ts","../../../../../../packages/platform-browser-dynamic/src/compiler_factory.ts","../../../../../../packages/platform-browser-dynamic/src/platform_core_dynamic.ts","../../../../../../packages/platform-browser-dynamic/src/resource_loader/resource_loader_impl.ts","../../../../../../packages/platform-browser-dynamic/src/platform_providers.ts","../../../../../../packages/platform-browser-dynamic/src/resource_loader/resource_loader_cache.ts","../../../../../../packages/platform-browser-dynamic/src/private_export.ts","../../../../../../packages/platform-browser-dynamic/src/version.ts","../../../../../../packages/platform-browser-dynamic/src/platform-browser-dynamic.ts","../../../../../../packages/platform-browser-dynamic/public_api.ts","../../../../../../packages/platform-browser-dynamic/index.ts","../../../../../../packages/platform-browser-dynamic/platform-browser-dynamic.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {CompileReflector, ExternalReference, getUrlScheme, Identifiers, syntaxError} from '@angular/compiler';\nimport {ANALYZE_FOR_ENTRY_COMPONENTS, ChangeDetectionStrategy, ChangeDetectorRef, Component, ComponentFactory, ComponentFactoryResolver, ComponentRef, ElementRef, Injector, LOCALE_ID, NgModuleFactory, NgModuleRef, QueryList, Renderer2, SecurityContext, TemplateRef, TRANSLATIONS_FORMAT, ViewContainerRef, ViewEncapsulation, ɵand, ɵccf, ɵcmf, ɵCodegenComponentFactoryResolver, ɵcrt, ɵdid, ɵeld, ɵEMPTY_ARRAY, ɵEMPTY_MAP, ɵinlineInterpolate, ɵinterpolate, ɵmod, ɵmpd, ɵncd, ɵnov, ɵpad, ɵpid, ɵpod, ɵppd, ɵprd, ɵqud, ɵReflectionCapabilities as ReflectionCapabilities, ɵregisterModuleFactory, ɵstringify as stringify, ɵted, ɵunv, ɵvid} from '@angular/core';\n\nexport const MODULE_SUFFIX = '';\nconst builtinExternalReferences = createBuiltinExternalReferencesMap();\n\nexport class JitReflector implements CompileReflector {\n private reflectionCapabilities = new ReflectionCapabilities();\n\n componentModuleUrl(type: any, cmpMetadata: Component): string {\n const moduleId = cmpMetadata.moduleId;\n\n if (typeof moduleId === 'string') {\n const scheme = getUrlScheme(moduleId);\n return scheme ? moduleId : `package:${moduleId}${MODULE_SUFFIX}`;\n } else if (moduleId !== null && moduleId !== void 0) {\n throw syntaxError(\n `moduleId should be a string in \"${\n stringify(type)}\". See https://goo.gl/wIDDiL for more information.\\n` +\n `If you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.`);\n }\n\n return `./${stringify(type)}`;\n }\n parameters(typeOrFunc: /*Type*/ any): any[][] {\n return this.reflectionCapabilities.parameters(typeOrFunc);\n }\n tryAnnotations(typeOrFunc: /*Type*/ any): any[] {\n return this.annotations(typeOrFunc);\n }\n annotations(typeOrFunc: /*Type*/ any): any[] {\n return this.reflectionCapabilities.annotations(typeOrFunc);\n }\n shallowAnnotations(typeOrFunc: /*Type*/ any): any[] {\n throw new Error('Not supported in JIT mode');\n }\n propMetadata(typeOrFunc: /*Type*/ any): {[key: string]: any[]} {\n return this.reflectionCapabilities.propMetadata(typeOrFunc);\n }\n hasLifecycleHook(type: any, lcProperty: string): boolean {\n return this.reflectionCapabilities.hasLifecycleHook(type, lcProperty);\n }\n guards(type: any): {[key: string]: any} {\n return this.reflectionCapabilities.guards(type);\n }\n resolveExternalReference(ref: ExternalReference): any {\n return builtinExternalReferences.get(ref) || ref.runtime;\n }\n}\n\n\nfunction createBuiltinExternalReferencesMap() {\n const map = new Map<ExternalReference, any>();\n map.set(Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS, ANALYZE_FOR_ENTRY_COMPONENTS);\n map.set(Identifiers.ElementRef, ElementRef);\n map.set(Identifiers.NgModuleRef, NgModuleRef);\n map.set(Identifiers.ViewContainerRef, ViewContainerRef);\n map.set(Identifiers.ChangeDetectorRef, ChangeDetectorRef);\n map.set(Identifiers.Renderer2, Renderer2);\n map.set(Identifiers.QueryList, QueryList);\n map.set(Identifiers.TemplateRef, TemplateRef);\n map.set(Identifiers.CodegenComponentFactoryResolver, ɵCodegenComponentFactoryResolver);\n map.set(Identifiers.ComponentFactoryResolver, ComponentFactoryResolver);\n map.set(Identifiers.ComponentFactory, ComponentFactory);\n map.set(Identifiers.ComponentRef, ComponentRef);\n map.set(Identifiers.NgModuleFactory, NgModuleFactory);\n map.set(Identifiers.createModuleFactory, ɵcmf);\n map.set(Identifiers.moduleDef, ɵmod);\n map.set(Identifiers.moduleProviderDef, ɵmpd);\n map.set(Identifiers.RegisterModuleFactoryFn, ɵregisterModuleFactory);\n map.set(Identifiers.Injector, Injector);\n map.set(Identifiers.ViewEncapsulation, ViewEncapsulation);\n map.set(Identifiers.ChangeDetectionStrategy, ChangeDetectionStrategy);\n map.set(Identifiers.SecurityContext, SecurityContext);\n map.set(Identifiers.LOCALE_ID, LOCALE_ID);\n map.set(Identifiers.TRANSLATIONS_FORMAT, TRANSLATIONS_FORMAT);\n map.set(Identifiers.inlineInterpolate, ɵinlineInterpolate);\n map.set(Identifiers.interpolate, ɵinterpolate);\n map.set(Identifiers.EMPTY_ARRAY, ɵEMPTY_ARRAY);\n map.set(Identifiers.EMPTY_MAP, ɵEMPTY_MAP);\n map.set(Identifiers.viewDef, ɵvid);\n map.set(Identifiers.elementDef, ɵeld);\n map.set(Identifiers.anchorDef, ɵand);\n map.set(Identifiers.textDef, ɵted);\n map.set(Identifiers.directiveDef, ɵdid);\n map.set(Identifiers.providerDef, ɵprd);\n map.set(Identifiers.queryDef, ɵqud);\n map.set(Identifiers.pureArrayDef, ɵpad);\n map.set(Identifiers.pureObjectDef, ɵpod);\n map.set(Identifiers.purePipeDef, ɵppd);\n map.set(Identifiers.pipeDef, ɵpid);\n map.set(Identifiers.nodeValue, ɵnov);\n map.set(Identifiers.ngContentDef, ɵncd);\n map.set(Identifiers.unwrapValue, ɵunv);\n map.set(Identifiers.createRendererType2, ɵcrt);\n map.set(Identifiers.createComponentFactory, ɵccf);\n return map;\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {CompileMetadataResolver, CompilerConfig, CompileReflector, DirectiveNormalizer, DirectiveResolver, DomElementSchemaRegistry, ElementSchemaRegistry, HtmlParser, I18NHtmlParser, JitCompiler, JitEvaluator, JitSummaryResolver, Lexer, NgModuleCompiler, NgModuleResolver, Parser, PipeResolver, ProviderMeta, ResourceLoader, StaticSymbolCache, StyleCompiler, SummaryResolver, TemplateParser, UrlResolver, ViewCompiler} from '@angular/compiler';\nimport {Compiler, CompilerFactory, CompilerOptions, ComponentFactory, Inject, InjectionToken, Injector, isDevMode, MissingTranslationStrategy, ModuleWithComponentFactories, NgModuleFactory, Optional, PACKAGE_ROOT_URL, StaticProvider, TRANSLATIONS, TRANSLATIONS_FORMAT, Type, ViewEncapsulation, ɵConsole as Console} from '@angular/core';\n\nimport {JitReflector} from './compiler_reflector';\n\nexport const ERROR_COLLECTOR_TOKEN = new InjectionToken('ErrorCollector');\n\n/**\n * A default provider for {@link PACKAGE_ROOT_URL} that maps to '/'.\n */\nexport const DEFAULT_PACKAGE_URL_PROVIDER = {\n provide: PACKAGE_ROOT_URL,\n useValue: '/'\n};\n\nconst _NO_RESOURCE_LOADER: ResourceLoader = {\n get(url: string): Promise<string> {\n throw new Error(\n `No ResourceLoader implementation has been provided. Can't read the url \"${url}\"`);\n }\n};\n\nconst baseHtmlParser = new InjectionToken('HtmlParser');\n\nexport class CompilerImpl implements Compiler {\n private _delegate: JitCompiler;\n public readonly injector: Injector;\n constructor(\n injector: Injector, private _metadataResolver: CompileMetadataResolver,\n templateParser: TemplateParser, styleCompiler: StyleCompiler, viewCompiler: ViewCompiler,\n ngModuleCompiler: NgModuleCompiler, summaryResolver: SummaryResolver<Type<any>>,\n compileReflector: CompileReflector, jitEvaluator: JitEvaluator,\n compilerConfig: CompilerConfig, console: Console) {\n this._delegate = new JitCompiler(\n _metadataResolver, templateParser, styleCompiler, viewCompiler, ngModuleCompiler,\n summaryResolver, compileReflector, jitEvaluator, compilerConfig, console,\n this.getExtraNgModuleProviders.bind(this));\n this.injector = injector;\n }\n\n private getExtraNgModuleProviders() {\n return [this._metadataResolver.getProviderMetadata(\n new ProviderMeta(Compiler, {useValue: this}))];\n }\n\n compileModuleSync<T>(moduleType: Type<T>): NgModuleFactory<T> {\n return this._delegate.compileModuleSync(moduleType) as NgModuleFactory<T>;\n }\n compileModuleAsync<T>(moduleType: Type<T>): Promise<NgModuleFactory<T>> {\n return this._delegate.compileModuleAsync(moduleType) as Promise<NgModuleFactory<T>>;\n }\n compileModuleAndAllComponentsSync<T>(moduleType: Type<T>): ModuleWithComponentFactories<T> {\n const result = this._delegate.compileModuleAndAllComponentsSync(moduleType);\n return {\n ngModuleFactory: result.ngModuleFactory as NgModuleFactory<T>,\n componentFactories: result.componentFactories as ComponentFactory<any>[],\n };\n }\n compileModuleAndAllComponentsAsync<T>(moduleType: Type<T>):\n Promise<ModuleWithComponentFactories<T>> {\n return this._delegate.compileModuleAndAllComponentsAsync(moduleType)\n .then((result) => ({\n ngModuleFactory: result.ngModuleFactory as NgModuleFactory<T>,\n componentFactories: result.componentFactories as ComponentFactory<any>[],\n }));\n }\n loadAotSummaries(summaries: () => any[]) {\n this._delegate.loadAotSummaries(summaries);\n }\n hasAotSummary(ref: Type<any>): boolean {\n return this._delegate.hasAotSummary(ref);\n }\n getComponentFactory<T>(component: Type<T>): ComponentFactory<T> {\n return this._delegate.getComponentFactory(component) as ComponentFactory<T>;\n }\n clearCache(): void {\n this._delegate.clearCache();\n }\n clearCacheFor(type: Type<any>) {\n this._delegate.clearCacheFor(type);\n }\n getModuleId(moduleType: Type<any>): string|undefined {\n const meta = this._metadataResolver.getNgModuleMetadata(moduleType);\n return meta && meta.id || undefined;\n }\n}\n/**\n * A set of providers that provide `JitCompiler` and its dependencies to use for\n * template compilation.\n */\nconst COMPILER_PROVIDERS__PRE_R3__ = <StaticProvider[]>[\n {provide: CompileReflector, useValue: new JitReflector()},\n {provide: ResourceLoader, useValue: _NO_RESOURCE_LOADER},\n {provide: JitSummaryResolver, deps: []},\n {provide: SummaryResolver, useExisting: JitSummaryResolver},\n {provide: Console, deps: []},\n {provide: Lexer, deps: []},\n {provide: Parser, deps: [Lexer]},\n {\n provide: baseHtmlParser,\n useClass: HtmlParser,\n deps: [],\n },\n {\n provide: I18NHtmlParser,\n useFactory:\n (parser: HtmlParser, translations: string|null, format: string, config: CompilerConfig,\n console: Console) => {\n translations = translations || '';\n const missingTranslation =\n translations ? config.missingTranslation! : MissingTranslationStrategy.Ignore;\n return new I18NHtmlParser(parser, translations, format, missingTranslation, console);\n },\n deps: [\n baseHtmlParser,\n [new Optional(), new Inject(TRANSLATIONS)],\n [new Optional(), new Inject(TRANSLATIONS_FORMAT)],\n [CompilerConfig],\n [Console],\n ]\n },\n {\n provide: HtmlParser,\n useExisting: I18NHtmlParser,\n },\n {\n provide: TemplateParser,\n deps: [CompilerConfig, CompileReflector, Parser, ElementSchemaRegistry, I18NHtmlParser, Console]\n },\n {provide: JitEvaluator, useClass: JitEvaluator, deps: []},\n {provide: DirectiveNormalizer, deps: [ResourceLoader, UrlResolver, HtmlParser, CompilerConfig]},\n {\n provide: CompileMetadataResolver,\n deps: [\n CompilerConfig, HtmlParser, NgModuleResolver, DirectiveResolver, PipeResolver,\n SummaryResolver, ElementSchemaRegistry, DirectiveNormalizer, Console,\n [Optional, StaticSymbolCache], CompileReflector, [Optional, ERROR_COLLECTOR_TOKEN]\n ]\n },\n DEFAULT_PACKAGE_URL_PROVIDER,\n {provide: StyleCompiler, deps: [UrlResolver]},\n {provide: ViewCompiler, deps: [CompileReflector]},\n {provide: NgModuleCompiler, deps: [CompileReflector]},\n {provide: CompilerConfig, useValue: new CompilerConfig()},\n {\n provide: Compiler,\n useClass: CompilerImpl,\n deps: [\n Injector, CompileMetadataResolver, TemplateParser, StyleCompiler, ViewCompiler,\n NgModuleCompiler, SummaryResolver, CompileReflector, JitEvaluator, CompilerConfig, Console\n ]\n },\n {provide: DomElementSchemaRegistry, deps: []},\n {provide: ElementSchemaRegistry, useExisting: DomElementSchemaRegistry},\n {provide: UrlResolver, deps: [PACKAGE_ROOT_URL]},\n {provide: DirectiveResolver, deps: [CompileReflector]},\n {provide: PipeResolver, deps: [CompileReflector]},\n {provide: NgModuleResolver, deps: [CompileReflector]},\n];\n\nexport const COMPILER_PROVIDERS__POST_R3__ =\n <StaticProvider[]>[{provide: Compiler, useFactory: () => new Compiler()}];\nexport const COMPILER_PROVIDERS = COMPILER_PROVIDERS__PRE_R3__;\n/**\n * @publicApi\n */\nexport class JitCompilerFactory implements CompilerFactory {\n private _defaultOptions: CompilerOptions[];\n\n /* @internal */\n constructor(defaultOptions: CompilerOptions[]) {\n const compilerOptions: CompilerOptions = {\n useJit: true,\n defaultEncapsulation: ViewEncapsulation.Emulated,\n missingTranslation: MissingTranslationStrategy.Warning,\n };\n\n this._defaultOptions = [compilerOptions, ...defaultOptions];\n }\n createCompiler(options: CompilerOptions[] = []): Compiler {\n const opts = _mergeOptions(this._defaultOptions.concat(options));\n const injector = Injector.create([\n COMPILER_PROVIDERS, {\n provide: CompilerConfig,\n useFactory: () => {\n return new CompilerConfig({\n // let explicit values from the compiler options overwrite options\n // from the app providers\n useJit: opts.useJit,\n jitDevMode: isDevMode(),\n // let explicit values from the compiler options overwrite options\n // from the app providers\n defaultEncapsulation: opts.defaultEncapsulation,\n missingTranslation: opts.missingTranslation,\n preserveWhitespaces: opts.preserveWhitespaces,\n });\n },\n deps: []\n },\n opts.providers!\n ]);\n return injector.get(Compiler);\n }\n}\n\nfunction _mergeOptions(optionsArr: CompilerOptions[]): CompilerOptions {\n return {\n useJit: _lastDefined(optionsArr.map(options => options.useJit)),\n defaultEncapsulation: _lastDefined(optionsArr.map(options => options.defaultEncapsulation)),\n providers: _mergeArrays(optionsArr.map(options => options.providers!)),\n missingTranslation: _lastDefined(optionsArr.map(options => options.missingTranslation)),\n preserveWhitespaces: _lastDefined(optionsArr.map(options => options.preserveWhitespaces)),\n };\n}\n\nfunction _lastDefined<T>(args: T[]): T|undefined {\n for (let i = args.length - 1; i >= 0; i--) {\n if (args[i] !== undefined) {\n return args[i];\n }\n }\n return undefined;\n}\n\nfunction _mergeArrays(parts: any[][]): any[] {\n const result: any[] = [];\n parts.forEach((part) => part && result.push(...part));\n return result;\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {COMPILER_OPTIONS, CompilerFactory, createPlatformFactory, platformCore, PlatformRef, StaticProvider} from '@angular/core';\n\nimport {JitCompilerFactory} from './compiler_factory';\n\n/**\n * A platform that included corePlatform and the compiler.\n *\n * @publicApi\n */\nexport const platformCoreDynamic = createPlatformFactory(platformCore, 'coreDynamic', [\n {provide: COMPILER_OPTIONS, useValue: {}, multi: true},\n {provide: CompilerFactory, useClass: JitCompilerFactory, deps: [COMPILER_OPTIONS]},\n]);\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport {ResourceLoader} from '@angular/compiler';\nimport {Injectable} from '@angular/core';\n\n\n@Injectable()\nexport class ResourceLoaderImpl extends ResourceLoader {\n get(url: string): Promise<string> {\n let resolve: (result: any) => void;\n let reject: (error: any) => void;\n const promise = new Promise<string>((res, rej) => {\n resolve = res;\n reject = rej;\n });\n const xhr = new XMLHttpRequest();\n xhr.open('GET', url, true);\n xhr.responseType = 'text';\n\n xhr.onload = function() {\n // responseText is the old-school way of retrieving response (supported by IE8 & 9)\n // response/responseType properties were introduced in ResourceLoader Level2 spec (supported\n // by IE10)\n const response = xhr.response || xhr.responseText;\n\n // normalize IE9 bug (http://bugs.jquery.com/ticket/1450)\n let status = xhr.status === 1223 ? 204 : xhr.status;\n\n // fix status code when it is 0 (0 status is undocumented).\n // Occurs when accessing file resources or on Android 4.1 stock browser\n // while retrieving files from application cache.\n if (status === 0) {\n status = response ? 200 : 0;\n }\n\n if (200 <= status && status <= 300) {\n resolve(response);\n } else {\n reject(`Failed to load ${url}`);\n }\n };\n\n xhr.onerror = function() {\n reject(`Failed to load ${url}`);\n };\n\n xhr.send();\n return promise;\n }\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ɵPLATFORM_BROWSER_ID as PLATFORM_BROWSER_ID} from '@angular/common';\nimport {ResourceLoader} from '@angular/compiler';\nimport {COMPILER_OPTIONS, PLATFORM_ID, StaticProvider} from '@angular/core';\n\nimport {ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS as INTERNAL_BROWSER_PLATFORM_PROVIDERS} from '@angular/platform-browser';\n\nimport {ResourceLoaderImpl} from './resource_loader/resource_loader_impl';\n\n/**\n * @publicApi\n */\nexport const INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS: StaticProvider[] = [\n INTERNAL_BROWSER_PLATFORM_PROVIDERS,\n {\n provide: COMPILER_OPTIONS,\n useValue: {providers: [{provide: ResourceLoader, useClass: ResourceLoaderImpl, deps: []}]},\n multi: true\n },\n {provide: PLATFORM_ID, useValue: PLATFORM_BROWSER_ID},\n];\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ResourceLoader} from '@angular/compiler';\nimport {ɵglobal as global} from '@angular/core';\n\n/**\n * An implementation of ResourceLoader that uses a template cache to avoid doing an actual\n * ResourceLoader.\n *\n * The template cache needs to be built and loaded into window.$templateCache\n * via a separate mechanism.\n *\n * @publicApi\n */\nexport class CachedResourceLoader extends ResourceLoader {\n private _cache: {[url: string]: string};\n\n constructor() {\n super();\n this._cache = (<any>global).$templateCache;\n if (this._cache == null) {\n throw new Error('CachedResourceLoader: Template cache was not found in $templateCache.');\n }\n }\n\n get(url: string): Promise<string> {\n if (this._cache.hasOwnProperty(url)) {\n return Promise.resolve(this._cache[url]);\n } else {\n return <Promise<any>>Promise.reject(\n 'CachedResourceLoader: Did not find cached template for ' + url);\n }\n }\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport {COMPILER_PROVIDERS__POST_R3__ as ɵCOMPILER_PROVIDERS__POST_R3__, CompilerImpl as ɵCompilerImpl} from './compiler_factory';\nexport {platformCoreDynamic as ɵplatformCoreDynamic} from './platform_core_dynamic';\nexport {INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS as ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS} from './platform_providers';\nexport {ResourceLoaderImpl as ɵResourceLoaderImpl} from './resource_loader/resource_loader_impl';\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the common package.\n */\n\nimport {Version} from '@angular/core';\n\n/**\n * @publicApi\n */\nexport const VERSION = new Version('9.1.4');\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ResourceLoader} from '@angular/compiler';\nimport {CompilerFactory, createPlatformFactory, platformCore, PlatformRef, Provider, StaticProvider} from '@angular/core';\n\nimport {platformCoreDynamic} from './platform_core_dynamic';\nimport {INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS} from './platform_providers';\nimport {CachedResourceLoader} from './resource_loader/resource_loader_cache';\n\nexport * from './private_export';\nexport {VERSION} from './version';\nexport {JitCompilerFactory} from './compiler_factory';\n\n/**\n * @publicApi\n */\nexport const RESOURCE_CACHE_PROVIDER: Provider[] =\n [{provide: ResourceLoader, useClass: CachedResourceLoader, deps: []}];\n\n/**\n * @publicApi\n */\nexport const platformBrowserDynamic = createPlatformFactory(\n platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\nexport * from './src/platform-browser-dynamic';\n\n// This file only reexports content of the `src` folder. Keep it that way.\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n// This file is not used to build this module. It is only used during editing\n// by the TypeScript language service and during build for verification. `ngc`\n// replaces this file with production index.ts when it rewrites private symbol\n// names.\n\nexport * from './public_api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {CachedResourceLoader as ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a} from './src/resource_loader/resource_loader_cache';"],"names":["ReflectionCapabilities","stringify","Console","PLATFORM_BROWSER_ID","INTERNAL_BROWSER_PLATFORM_PROVIDERS","global"],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAQA,AAGO,IAAM,aAAa,GAAG,EAAE,CAAC;AAChC,IAAM,yBAAyB,GAAG,kCAAkC,EAAE,CAAC;AAEvE;IAAA;QACU,2BAAsB,GAAG,IAAIA,uBAAsB,EAAE,CAAC;KAyC/D;IAvCC,yCAAkB,GAAlB,UAAmB,IAAS,EAAE,WAAsB;QAClD,IAAM,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC;QAEtC,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;YAChC,IAAM,MAAM,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;YACtC,OAAO,MAAM,GAAG,QAAQ,GAAG,aAAW,QAAQ,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HANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v9.1.0
2
+ * @license Angular v9.1.4
3
3
  * (c) 2010-2020 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -100,7 +100,9 @@ var TestingCompilerImpl = /** @class */ (function () {
100
100
  this._overrider = new ɵMetadataOverrider();
101
101
  }
102
102
  Object.defineProperty(TestingCompilerImpl.prototype, "injector", {
103
- get: function () { return this._compiler.injector; },
103
+ get: function () {
104
+ return this._compiler.injector;
105
+ },
104
106
  enumerable: true,
105
107
  configurable: true
106
108
  });
@@ -148,10 +150,18 @@ var TestingCompilerImpl = /** @class */ (function () {
148
150
  this._pipeResolver.setPipe(pipe, this._overrider.overrideMetadata(Pipe, oldMetadata, override));
149
151
  this.clearCacheFor(pipe);
150
152
  };
151
- TestingCompilerImpl.prototype.loadAotSummaries = function (summaries) { this._compiler.loadAotSummaries(summaries); };
152
- TestingCompilerImpl.prototype.clearCache = function () { this._compiler.clearCache(); };
153
- TestingCompilerImpl.prototype.clearCacheFor = function (type) { this._compiler.clearCacheFor(type); };
154
- TestingCompilerImpl.prototype.getComponentFromError = function (error) { return error[ERROR_COMPONENT_TYPE] || null; };
153
+ TestingCompilerImpl.prototype.loadAotSummaries = function (summaries) {
154
+ this._compiler.loadAotSummaries(summaries);
155
+ };
156
+ TestingCompilerImpl.prototype.clearCache = function () {
157
+ this._compiler.clearCache();
158
+ };
159
+ TestingCompilerImpl.prototype.clearCacheFor = function (type) {
160
+ this._compiler.clearCacheFor(type);
161
+ };
162
+ TestingCompilerImpl.prototype.getComponentFromError = function (error) {
163
+ return error[ERROR_COMPONENT_TYPE] || null;
164
+ };
155
165
  TestingCompilerImpl.prototype.getModuleId = function (moduleType) {
156
166
  return this._moduleResolver.resolve(moduleType, true).id;
157
167
  };
@@ -1 +1 @@
1
- {"version":3,"file":"testing.js","sources":["../../../../../../packages/platform-browser-dynamic/testing/src/dom_test_component_renderer.ts","../../../../../../packages/platform-browser-dynamic/testing/src/metadata_overrider.ts","../../../../../../packages/platform-browser-dynamic/testing/src/compiler_factory.ts","../../../../../../packages/platform-browser-dynamic/testing/src/platform_core_dynamic_testing.ts","../../../../../../packages/platform-browser-dynamic/testing/src/private_export_testing.ts","../../../../../../packages/platform-browser-dynamic/testing/src/testing.ts","../../../../../../packages/platform-browser-dynamic/testing/public_api.ts","../../../../../../packages/platform-browser-dynamic/testing/index.ts","../../../../../../packages/platform-browser-dynamic/testing/testing.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {DOCUMENT, ɵgetDOM as getDOM} from '@angular/common';\nimport {Inject, Injectable} from '@angular/core';\nimport {TestComponentRenderer} from '@angular/core/testing';\n\n/**\n * A DOM based implementation of the TestComponentRenderer.\n */\n@Injectable()\nexport class DOMTestComponentRenderer extends TestComponentRenderer {\n constructor(@Inject(DOCUMENT) private _doc: any) { super(); }\n\n insertRootElement(rootElId: string) {\n const template = getDOM().getDefaultDocument().createElement('template');\n template.innerHTML = `<div id=\"${rootElId}\"></div>`;\n const rootEl = <HTMLElement>getContent(template).firstChild;\n\n // TODO(juliemr): can/should this be optional?\n const oldRoots = this._doc.querySelectorAll('[id^=root]');\n for (let i = 0; i < oldRoots.length; i++) {\n getDOM().remove(oldRoots[i]);\n }\n this._doc.body.appendChild(rootEl);\n }\n}\n\nfunction getContent(node: Node): Node {\n if ('content' in node) {\n return (<any>node).content;\n } else {\n return node;\n }\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n// `MetadataOverrider` has been moved to core/testing to allow using it from the render3 TestBed\nexport {ɵMetadataOverrider as MetadataOverrider} from '@angular/core/testing';\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {CompileReflector, DirectiveResolver, ERROR_COMPONENT_TYPE, NgModuleResolver, PipeResolver} from '@angular/compiler';\nimport {MockDirectiveResolver, MockNgModuleResolver, MockPipeResolver} from '@angular/compiler/testing';\nimport {CompilerFactory, CompilerOptions, Component, ComponentFactory, Directive, Injector, ModuleWithComponentFactories, NgModule, NgModuleFactory, Pipe, StaticProvider, Type, ɵstringify as stringify} from '@angular/core';\nimport {MetadataOverride, ɵTestingCompiler as TestingCompiler, ɵTestingCompilerFactory as TestingCompilerFactory} from '@angular/core/testing';\nimport {ɵCompilerImpl as CompilerImpl} from '@angular/platform-browser-dynamic';\n\nimport {MetadataOverrider} from './metadata_overrider';\n\nexport const COMPILER_PROVIDERS: StaticProvider[] = [\n {provide: MockPipeResolver, deps: [CompileReflector]},\n {provide: PipeResolver, useExisting: MockPipeResolver},\n {provide: MockDirectiveResolver, deps: [CompileReflector]},\n {provide: DirectiveResolver, useExisting: MockDirectiveResolver},\n {provide: MockNgModuleResolver, deps: [CompileReflector]},\n {provide: NgModuleResolver, useExisting: MockNgModuleResolver},\n];\n\nexport class TestingCompilerFactoryImpl implements TestingCompilerFactory {\n constructor(private _injector: Injector, private _compilerFactory: CompilerFactory) {}\n\n createTestingCompiler(options: CompilerOptions[]): TestingCompiler {\n const compiler = <CompilerImpl>this._compilerFactory.createCompiler(options);\n return new TestingCompilerImpl(\n compiler, compiler.injector.get(MockDirectiveResolver),\n compiler.injector.get(MockPipeResolver), compiler.injector.get(MockNgModuleResolver));\n }\n}\n\nexport class TestingCompilerImpl implements TestingCompiler {\n private _overrider = new MetadataOverrider();\n constructor(\n private _compiler: CompilerImpl, private _directiveResolver: MockDirectiveResolver,\n private _pipeResolver: MockPipeResolver, private _moduleResolver: MockNgModuleResolver) {}\n get injector(): Injector { return this._compiler.injector; }\n\n compileModuleSync<T>(moduleType: Type<T>): NgModuleFactory<T> {\n return this._compiler.compileModuleSync(moduleType);\n }\n\n compileModuleAsync<T>(moduleType: Type<T>): Promise<NgModuleFactory<T>> {\n return this._compiler.compileModuleAsync(moduleType);\n }\n compileModuleAndAllComponentsSync<T>(moduleType: Type<T>): ModuleWithComponentFactories<T> {\n return this._compiler.compileModuleAndAllComponentsSync(moduleType);\n }\n\n compileModuleAndAllComponentsAsync<T>(moduleType: Type<T>):\n Promise<ModuleWithComponentFactories<T>> {\n return this._compiler.compileModuleAndAllComponentsAsync(moduleType);\n }\n\n getComponentFactory<T>(component: Type<T>): ComponentFactory<T> {\n return this._compiler.getComponentFactory(component);\n }\n\n checkOverrideAllowed(type: Type<any>) {\n if (this._compiler.hasAotSummary(type)) {\n throw new Error(`${stringify(type)} was AOT compiled, so its metadata cannot be changed.`);\n }\n }\n\n overrideModule(ngModule: Type<any>, override: MetadataOverride<NgModule>): void {\n this.checkOverrideAllowed(ngModule);\n const oldMetadata = this._moduleResolver.resolve(ngModule, false);\n this._moduleResolver.setNgModule(\n ngModule, this._overrider.overrideMetadata(NgModule, oldMetadata, override));\n this.clearCacheFor(ngModule);\n }\n overrideDirective(directive: Type<any>, override: MetadataOverride<Directive>): void {\n this.checkOverrideAllowed(directive);\n const oldMetadata = this._directiveResolver.resolve(directive, false);\n this._directiveResolver.setDirective(\n directive, this._overrider.overrideMetadata(Directive, oldMetadata !, override));\n this.clearCacheFor(directive);\n }\n overrideComponent(component: Type<any>, override: MetadataOverride<Component>): void {\n this.checkOverrideAllowed(component);\n const oldMetadata = this._directiveResolver.resolve(component, false);\n this._directiveResolver.setDirective(\n component, this._overrider.overrideMetadata(Component, oldMetadata !, override));\n this.clearCacheFor(component);\n }\n overridePipe(pipe: Type<any>, override: MetadataOverride<Pipe>): void {\n this.checkOverrideAllowed(pipe);\n const oldMetadata = this._pipeResolver.resolve(pipe, false);\n this._pipeResolver.setPipe(pipe, this._overrider.overrideMetadata(Pipe, oldMetadata, override));\n this.clearCacheFor(pipe);\n }\n loadAotSummaries(summaries: () => any[]) { this._compiler.loadAotSummaries(summaries); }\n clearCache(): void { this._compiler.clearCache(); }\n clearCacheFor(type: Type<any>) { this._compiler.clearCacheFor(type); }\n\n getComponentFromError(error: Error) { return (error as any)[ERROR_COMPONENT_TYPE] || null; }\n\n getModuleId(moduleType: Type<any>): string|undefined {\n return this._moduleResolver.resolve(moduleType, true).id;\n }\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {COMPILER_OPTIONS, CompilerFactory, Injector, PlatformRef, createPlatformFactory} from '@angular/core';\nimport {ɵTestingCompilerFactory as TestingCompilerFactory} from '@angular/core/testing';\nimport {ɵplatformCoreDynamic as platformCoreDynamic} from '@angular/platform-browser-dynamic';\n\nimport {COMPILER_PROVIDERS, TestingCompilerFactoryImpl} from './compiler_factory';\n\n/**\n * Platform for dynamic tests\n *\n * @publicApi\n */\nexport const platformCoreDynamicTesting: (extraProviders?: any[]) => PlatformRef =\n createPlatformFactory(platformCoreDynamic, 'coreDynamicTesting', [\n {provide: COMPILER_OPTIONS, useValue: {providers: COMPILER_PROVIDERS}, multi: true}, {\n provide: TestingCompilerFactory,\n useClass: TestingCompilerFactoryImpl,\n deps: [Injector, CompilerFactory]\n }\n ]);\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport {DOMTestComponentRenderer as ɵDOMTestComponentRenderer} from './dom_test_component_renderer';\nexport {platformCoreDynamicTesting as ɵplatformCoreDynamicTesting} from './platform_core_dynamic_testing';\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {NgModule, PlatformRef, StaticProvider, createPlatformFactory} from '@angular/core';\nimport {TestComponentRenderer} from '@angular/core/testing';\nimport {ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS as INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS} from '@angular/platform-browser-dynamic';\nimport {BrowserTestingModule} from '@angular/platform-browser/testing';\n\nimport {DOMTestComponentRenderer} from './dom_test_component_renderer';\nimport {platformCoreDynamicTesting} from './platform_core_dynamic_testing';\n\nexport * from './private_export_testing';\n\n/**\n * @publicApi\n */\nexport const platformBrowserDynamicTesting = createPlatformFactory(\n platformCoreDynamicTesting, 'browserDynamicTesting',\n INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);\n\n/**\n * NgModule for testing.\n *\n * @publicApi\n */\n@NgModule({\n exports: [BrowserTestingModule],\n providers: [\n {provide: TestComponentRenderer, useClass: DOMTestComponentRenderer},\n ]\n})\nexport class BrowserDynamicTestingModule {\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\nexport * from './src/testing';\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n// This file is not used to build this module. It is only used during editing\n// by the TypeScript language service and during build for verification. `ngc`\n// replaces this file with production index.ts when it rewrites private symbol\n// names.\n\nexport * from './public_api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {COMPILER_PROVIDERS as ɵangular_packages_platform_browser_dynamic_testing_testing_a,TestingCompilerFactoryImpl as ɵangular_packages_platform_browser_dynamic_testing_testing_b} from './src/compiler_factory';"],"names":["getDOM","MetadataOverrider","stringify","platformCoreDynamic","TestingCompilerFactory","INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS"],"mappings":";;;;;;;;;;;;;;;AAAA;;;;;;;AAYA;;;AAIA;IAA8C,4CAAqB;IACjE,kCAAsC,IAAS;QAA/C,YAAmD,iBAAO,SAAG;QAAvB,UAAI,GAA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IAE5F,yCAAW,GAAX,UAAY,UAAqB;QAC/B,OAAO,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC,EAAE,CAAC;KAC1D;IACH,0BAAC;CAAA,IAAA;;ACzGD;;;;;;;AAQA,SAa4C,EAAC,SAAS,EAAE,kBAAkB,EAAC;;;;;;AAF3E,IAAa,0BAA0B,GACnC,qBAAqB,CAACC,oBAAmB,EAAE,oBAAoB,EAAE;IAC/D,EAAC,OAAO,EAAE,gBAAgB,EAAE,QAAQ,IAAiC,EAAE,KAAK,EAAE,IAAI,EAAC,EAAE;QACnF,OAAO,EAAEC,uBAAsB;QAC/B,QAAQ,EAAE,0BAA0B;QACpC,IAAI,EAAE,CAAC,QAAQ,EAAE,eAAe,CAAC;KAClC;CACF,CAAC;;AC1BN;;;;;;GAMG;;ACNH;;;;;;;AAkBA;;;AAGA,IAAa,6BAA6B,GAAG,qBAAqB,CAC9D,0BAA0B,EAAE,uBAAuB,EACnDC,4CAA2C,CAAC,CAAC;;;;;;AAajD;IAAA;KACC;IADY,2BAA2B;QANvC,QAAQ,CAAC;YACR,OAAO,EAAE,CAAC,oBAAoB,CAAC;YAC/B,SAAS,EAAE;gBACT,EAAC,OAAO,EAAE,qBAAqB,EAAE,QAAQ,EAAE,wBAAwB,EAAC;aACrE;SACF,CAAC;OACW,2BAA2B,CACvC;IAAD,kCAAC;CADD;;ACpCA;;;;;;GAMG;;ACNH;;;;;;GAMG;;ACNH;;GAEG;;;;"}
1
+ {"version":3,"file":"testing.js","sources":["../../../../../../packages/platform-browser-dynamic/testing/src/dom_test_component_renderer.ts","../../../../../../packages/platform-browser-dynamic/testing/src/metadata_overrider.ts","../../../../../../packages/platform-browser-dynamic/testing/src/compiler_factory.ts","../../../../../../packages/platform-browser-dynamic/testing/src/platform_core_dynamic_testing.ts","../../../../../../packages/platform-browser-dynamic/testing/src/private_export_testing.ts","../../../../../../packages/platform-browser-dynamic/testing/src/testing.ts","../../../../../../packages/platform-browser-dynamic/testing/public_api.ts","../../../../../../packages/platform-browser-dynamic/testing/index.ts","../../../../../../packages/platform-browser-dynamic/testing/testing.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {DOCUMENT, ɵgetDOM as getDOM} from '@angular/common';\nimport {Inject, Injectable} from '@angular/core';\nimport {TestComponentRenderer} from '@angular/core/testing';\n\n/**\n * A DOM based implementation of the TestComponentRenderer.\n */\n@Injectable()\nexport class DOMTestComponentRenderer extends TestComponentRenderer {\n constructor(@Inject(DOCUMENT) private _doc: any) {\n super();\n }\n\n insertRootElement(rootElId: string) {\n const template = getDOM().getDefaultDocument().createElement('template');\n template.innerHTML = `<div id=\"${rootElId}\"></div>`;\n const rootEl = <HTMLElement>getContent(template).firstChild;\n\n // TODO(juliemr): can/should this be optional?\n const oldRoots = this._doc.querySelectorAll('[id^=root]');\n for (let i = 0; i < oldRoots.length; i++) {\n getDOM().remove(oldRoots[i]);\n }\n this._doc.body.appendChild(rootEl);\n }\n}\n\nfunction getContent(node: Node): Node {\n if ('content' in node) {\n return (<any>node).content;\n } else {\n return node;\n }\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n// `MetadataOverrider` has been moved to core/testing to allow using it from the render3 TestBed\nexport {ɵMetadataOverrider as MetadataOverrider} from '@angular/core/testing';\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {CompileReflector, DirectiveResolver, ERROR_COMPONENT_TYPE, NgModuleResolver, PipeResolver} from '@angular/compiler';\nimport {MockDirectiveResolver, MockNgModuleResolver, MockPipeResolver} from '@angular/compiler/testing';\nimport {CompilerFactory, CompilerOptions, Component, ComponentFactory, Directive, Injector, ModuleWithComponentFactories, NgModule, NgModuleFactory, Pipe, StaticProvider, Type, ɵstringify as stringify} from '@angular/core';\nimport {MetadataOverride, ɵTestingCompiler as TestingCompiler, ɵTestingCompilerFactory as TestingCompilerFactory} from '@angular/core/testing';\nimport {ɵCompilerImpl as CompilerImpl} from '@angular/platform-browser-dynamic';\n\nimport {MetadataOverrider} from './metadata_overrider';\n\nexport const COMPILER_PROVIDERS: StaticProvider[] = [\n {provide: MockPipeResolver, deps: [CompileReflector]},\n {provide: PipeResolver, useExisting: MockPipeResolver},\n {provide: MockDirectiveResolver, deps: [CompileReflector]},\n {provide: DirectiveResolver, useExisting: MockDirectiveResolver},\n {provide: MockNgModuleResolver, deps: [CompileReflector]},\n {provide: NgModuleResolver, useExisting: MockNgModuleResolver},\n];\n\nexport class TestingCompilerFactoryImpl implements TestingCompilerFactory {\n constructor(private _injector: Injector, private _compilerFactory: CompilerFactory) {}\n\n createTestingCompiler(options: CompilerOptions[]): TestingCompiler {\n const compiler = <CompilerImpl>this._compilerFactory.createCompiler(options);\n return new TestingCompilerImpl(\n compiler, compiler.injector.get(MockDirectiveResolver),\n compiler.injector.get(MockPipeResolver), compiler.injector.get(MockNgModuleResolver));\n }\n}\n\nexport class TestingCompilerImpl implements TestingCompiler {\n private _overrider = new MetadataOverrider();\n constructor(\n private _compiler: CompilerImpl, private _directiveResolver: MockDirectiveResolver,\n private _pipeResolver: MockPipeResolver, private _moduleResolver: MockNgModuleResolver) {}\n get injector(): Injector {\n return this._compiler.injector;\n }\n\n compileModuleSync<T>(moduleType: Type<T>): NgModuleFactory<T> {\n return this._compiler.compileModuleSync(moduleType);\n }\n\n compileModuleAsync<T>(moduleType: Type<T>): Promise<NgModuleFactory<T>> {\n return this._compiler.compileModuleAsync(moduleType);\n }\n compileModuleAndAllComponentsSync<T>(moduleType: Type<T>): ModuleWithComponentFactories<T> {\n return this._compiler.compileModuleAndAllComponentsSync(moduleType);\n }\n\n compileModuleAndAllComponentsAsync<T>(moduleType: Type<T>):\n Promise<ModuleWithComponentFactories<T>> {\n return this._compiler.compileModuleAndAllComponentsAsync(moduleType);\n }\n\n getComponentFactory<T>(component: Type<T>): ComponentFactory<T> {\n return this._compiler.getComponentFactory(component);\n }\n\n checkOverrideAllowed(type: Type<any>) {\n if (this._compiler.hasAotSummary(type)) {\n throw new Error(`${stringify(type)} was AOT compiled, so its metadata cannot be changed.`);\n }\n }\n\n overrideModule(ngModule: Type<any>, override: MetadataOverride<NgModule>): void {\n this.checkOverrideAllowed(ngModule);\n const oldMetadata = this._moduleResolver.resolve(ngModule, false);\n this._moduleResolver.setNgModule(\n ngModule, this._overrider.overrideMetadata(NgModule, oldMetadata, override));\n this.clearCacheFor(ngModule);\n }\n overrideDirective(directive: Type<any>, override: MetadataOverride<Directive>): void {\n this.checkOverrideAllowed(directive);\n const oldMetadata = this._directiveResolver.resolve(directive, false);\n this._directiveResolver.setDirective(\n directive, this._overrider.overrideMetadata(Directive, oldMetadata!, override));\n this.clearCacheFor(directive);\n }\n overrideComponent(component: Type<any>, override: MetadataOverride<Component>): void {\n this.checkOverrideAllowed(component);\n const oldMetadata = this._directiveResolver.resolve(component, false);\n this._directiveResolver.setDirective(\n component, this._overrider.overrideMetadata(Component, oldMetadata!, override));\n this.clearCacheFor(component);\n }\n overridePipe(pipe: Type<any>, override: MetadataOverride<Pipe>): void {\n this.checkOverrideAllowed(pipe);\n const oldMetadata = this._pipeResolver.resolve(pipe, false);\n this._pipeResolver.setPipe(pipe, this._overrider.overrideMetadata(Pipe, oldMetadata, override));\n this.clearCacheFor(pipe);\n }\n loadAotSummaries(summaries: () => any[]) {\n this._compiler.loadAotSummaries(summaries);\n }\n clearCache(): void {\n this._compiler.clearCache();\n }\n clearCacheFor(type: Type<any>) {\n this._compiler.clearCacheFor(type);\n }\n\n getComponentFromError(error: Error) {\n return (error as any)[ERROR_COMPONENT_TYPE] || null;\n }\n\n getModuleId(moduleType: Type<any>): string|undefined {\n return this._moduleResolver.resolve(moduleType, true).id;\n }\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {COMPILER_OPTIONS, CompilerFactory, createPlatformFactory, Injector, PlatformRef} from '@angular/core';\nimport {ɵTestingCompilerFactory as TestingCompilerFactory} from '@angular/core/testing';\nimport {ɵplatformCoreDynamic as platformCoreDynamic} from '@angular/platform-browser-dynamic';\n\nimport {COMPILER_PROVIDERS, TestingCompilerFactoryImpl} from './compiler_factory';\n\n/**\n * Platform for dynamic tests\n *\n * @publicApi\n */\nexport const platformCoreDynamicTesting: (extraProviders?: any[]) => PlatformRef =\n createPlatformFactory(platformCoreDynamic, 'coreDynamicTesting', [\n {provide: COMPILER_OPTIONS, useValue: {providers: COMPILER_PROVIDERS}, multi: true}, {\n provide: TestingCompilerFactory,\n useClass: TestingCompilerFactoryImpl,\n deps: [Injector, CompilerFactory]\n }\n ]);\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport {DOMTestComponentRenderer as ɵDOMTestComponentRenderer} from './dom_test_component_renderer';\nexport {platformCoreDynamicTesting as ɵplatformCoreDynamicTesting} from './platform_core_dynamic_testing';\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {createPlatformFactory, NgModule, PlatformRef, StaticProvider} from '@angular/core';\nimport {TestComponentRenderer} from '@angular/core/testing';\nimport {ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS as INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS} from '@angular/platform-browser-dynamic';\nimport {BrowserTestingModule} from '@angular/platform-browser/testing';\n\nimport {DOMTestComponentRenderer} from './dom_test_component_renderer';\nimport {platformCoreDynamicTesting} from './platform_core_dynamic_testing';\n\nexport * from './private_export_testing';\n\n/**\n * @publicApi\n */\nexport const platformBrowserDynamicTesting = createPlatformFactory(\n platformCoreDynamicTesting, 'browserDynamicTesting',\n INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);\n\n/**\n * NgModule for testing.\n *\n * @publicApi\n */\n@NgModule({\n exports: [BrowserTestingModule],\n providers: [\n {provide: TestComponentRenderer, useClass: DOMTestComponentRenderer},\n ]\n})\nexport class BrowserDynamicTestingModule {\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\nexport * from './src/testing';\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n// This file is not used to build this module. It is only used during editing\n// by the TypeScript language service and during build for verification. `ngc`\n// replaces this file with production index.ts when it rewrites private symbol\n// names.\n\nexport * from './public_api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {COMPILER_PROVIDERS as ɵangular_packages_platform_browser_dynamic_testing_testing_a,TestingCompilerFactoryImpl as ɵangular_packages_platform_browser_dynamic_testing_testing_b} from './src/compiler_factory';"],"names":["getDOM","MetadataOverrider","stringify","platformCoreDynamic","TestingCompilerFactory","INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS"],"mappings":";;;;;;;;;;;;;;;AAAA;;;;;;;AAYA;;;AAIA;IAA8C,4CAAqB;IACjE,kCAAsC,IAAS;QAA/C,YACE,iBAAO,SACR;QAFqC,UAAI,GAAJ,IAAI,CAAK;;KAE9C;IAED,oDAAiB,GAAjB,UAAkB,QAAgB;QAChC,IAAM,QAAQ,GAAGA,OAAM,EAAE,CAAC,kBAAkB,EAAE,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;QACzE,QAAQ,CAAC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,SAa4C,EAAC,SAAS,EAAE,kBAAkB,EAAC;;;;;;AAF3E,IAAa,0BAA0B,GACnC,qBAAqB,CAACC,oBAAmB,EAAE,oBAAoB,EAAE;IAC/D,EAAC,OAAO,EAAE,gBAAgB,EAAE,QAAQ,IAAiC,EAAE,KAAK,EAAE,IAAI,EAAC,EAAE;QACnF,OAAO,EAAEC,uBAAsB;QAC/B,QAAQ,EAAE,0BAA0B;QACpC,IAAI,EAAE,CAAC,QAAQ,EAAE,eAAe,CAAC;KAClC;CACF,CAAC;;AC1BN;;;;;;GAMG;;ACNH;;;;;;;AAkBA;;;AAGA,IAAa,6BAA6B,GAAG,qBAAqB,CAC9D,0BAA0B,EAAE,uBAAuB,EACnDC,4CAA2C,CAAC,CAAC;;;;;;AAajD;IAAA;KACC;IADY,2BAA2B;QANvC,QAAQ,CAAC;YACR,OAAO,EAAE,CAAC,oBAAoB,CAAC;YAC/B,SAAS,EAAE;gBACT,EAAC,OAAO,EAAE,qBAAqB,EAAE,QAAQ,EAAE,wBAAwB,EAAC;aACrE;SACF,CAAC;OACW,2BAA2B,CACvC;IAAD,kCAAC;CADD;;ACpCA;;;;;;GAMG;;ACNH;;;;;;GAMG;;ACNH;;GAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/platform-browser-dynamic",
3
- "version": "9.1.0",
3
+ "version": "9.1.4",
4
4
  "description": "Angular - library for using Angular in a web browser with JIT compilation",
5
5
  "main": "./bundles/platform-browser-dynamic.umd.js",
6
6
  "module": "./fesm5/platform-browser-dynamic.js",
@@ -13,10 +13,10 @@
13
13
  "author": "angular",
14
14
  "license": "MIT",
15
15
  "peerDependencies": {
16
- "@angular/core": "9.1.0",
17
- "@angular/common": "9.1.0",
18
- "@angular/compiler": "9.1.0",
19
- "@angular/platform-browser": "9.1.0",
16
+ "@angular/core": "9.1.4",
17
+ "@angular/common": "9.1.4",
18
+ "@angular/compiler": "9.1.4",
19
+ "@angular/platform-browser": "9.1.4",
20
20
  "tslib": "^1.10.0"
21
21
  },
22
22
  "repository": {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v9.1.0
2
+ * @license Angular v9.1.4
3
3
  * (c) 2010-2020 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"metadata":{"RESOURCE_CACHE_PROVIDER":[{"provide":{"__symbolic":"reference","module":"@angular/compiler","name":"ResourceLoader","line":23,"character":15},"useClass":{"__symbolic":"reference","name":"ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a"},"deps":[]}],"platformBrowserDynamic":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"createPlatformFactory","line":28,"character":38},"arguments":[{"__symbolic":"reference","name":"ɵplatformCoreDynamic"},"browserDynamic",{"__symbolic":"reference","name":"ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS"}]},"ɵCOMPILER_PROVIDERS__POST_R3__":{"__symbolic":"error","message":"Lambda not supported","line":157,"character":55,"module":"./platform-browser-dynamic"},"ɵCompilerImpl":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":35,"character":16},{"__symbolic":"reference","module":"@angular/compiler","name":"CompileMetadataResolver","line":35,"character":53},{"__symbolic":"reference","module":"@angular/compiler","name":"TemplateParser","line":36,"character":22},{"__symbolic":"reference","module":"@angular/compiler","name":"StyleCompiler","line":36,"character":53},{"__symbolic":"reference","module":"@angular/compiler","name":"ViewCompiler","line":36,"character":82},{"__symbolic":"reference","module":"@angular/compiler","name":"NgModuleCompiler","line":37,"character":24},{"__symbolic":"reference","name":"SummaryResolver","module":"@angular/compiler","arguments":[{"__symbolic":"reference","name":"Type","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]},{"__symbolic":"reference","module":"@angular/compiler","name":"CompileReflector","line":38,"character":24},{"__symbolic":"reference","module":"@angular/compiler","name":"JitEvaluator","line":38,"character":56},{"__symbolic":"reference","module":"@angular/compiler","name":"CompilerConfig","line":39,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"ɵConsole","line":39,"character":47}]}],"getExtraNgModuleProviders":[{"__symbolic":"method"}],"compileModuleSync":[{"__symbolic":"method"}],"compileModuleAsync":[{"__symbolic":"method"}],"compileModuleAndAllComponentsSync":[{"__symbolic":"method"}],"compileModuleAndAllComponentsAsync":[{"__symbolic":"method"}],"loadAotSummaries":[{"__symbolic":"method"}],"hasAotSummary":[{"__symbolic":"method"}],"getComponentFactory":[{"__symbolic":"method"}],"clearCache":[{"__symbolic":"method"}],"clearCacheFor":[{"__symbolic":"method"}],"getModuleId":[{"__symbolic":"method"}]}},"ɵplatformCoreDynamic":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"createPlatformFactory","line":16,"character":35},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"platformCore","line":16,"character":57},"coreDynamic",[{"provide":{"__symbolic":"reference","module":"@angular/core","name":"COMPILER_OPTIONS","line":17,"character":12},"useValue":{},"multi":true},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"CompilerFactory","line":18,"character":12},"useClass":{"__symbolic":"reference","name":"JitCompilerFactory"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"COMPILER_OPTIONS","line":18,"character":66}]}]]},"ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS","line":20,"character":2},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"COMPILER_OPTIONS","line":22,"character":13},"useValue":{"providers":[{"provide":{"__symbolic":"reference","module":"@angular/compiler","name":"ResourceLoader","line":23,"character":37},"useClass":{"__symbolic":"reference","name":"ɵResourceLoaderImpl"},"deps":[]}]},"multi":true},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":26,"character":12},"useValue":{"__symbolic":"reference","module":"@angular/common","name":"ɵPLATFORM_BROWSER_ID","line":26,"character":35}}],"ɵResourceLoaderImpl":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/compiler","name":"ResourceLoader","line":12,"character":40},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":11,"character":1}}],"members":{"get":[{"__symbolic":"method"}]}},"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version","line":19,"character":27},"arguments":["9.1.0"]},"JitCompilerFactory":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"@angular/core","name":"CompilerOptions","line":166,"character":30}]}]}],"createCompiler":[{"__symbolic":"method"}]}},"ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/compiler","name":"ResourceLoader","line":20,"character":42},"members":{"__ctor__":[{"__symbolic":"constructor"}],"get":[{"__symbolic":"method"}]}}},"origins":{"RESOURCE_CACHE_PROVIDER":"./platform-browser-dynamic","platformBrowserDynamic":"./platform-browser-dynamic","ɵCOMPILER_PROVIDERS__POST_R3__":"./platform-browser-dynamic","ɵCompilerImpl":"./platform-browser-dynamic","ɵplatformCoreDynamic":"./platform-browser-dynamic","ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS":"./platform-browser-dynamic","ɵResourceLoaderImpl":"./platform-browser-dynamic","VERSION":"./platform-browser-dynamic","JitCompilerFactory":"./platform-browser-dynamic","ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a":"./platform-browser-dynamic"},"importAs":"@angular/platform-browser-dynamic"}
1
+ {"__symbolic":"module","version":4,"metadata":{"RESOURCE_CACHE_PROVIDER":[{"provide":{"__symbolic":"reference","module":"@angular/compiler","name":"ResourceLoader","line":23,"character":15},"useClass":{"__symbolic":"reference","name":"ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a"},"deps":[]}],"platformBrowserDynamic":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"createPlatformFactory","line":28,"character":38},"arguments":[{"__symbolic":"reference","name":"ɵplatformCoreDynamic"},"browserDynamic",{"__symbolic":"reference","name":"ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS"}]},"ɵCOMPILER_PROVIDERS__POST_R3__":{"__symbolic":"error","message":"Lambda not supported","line":169,"character":55,"module":"./platform-browser-dynamic"},"ɵCompilerImpl":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":36,"character":16},{"__symbolic":"reference","module":"@angular/compiler","name":"CompileMetadataResolver","line":36,"character":53},{"__symbolic":"reference","module":"@angular/compiler","name":"TemplateParser","line":37,"character":22},{"__symbolic":"reference","module":"@angular/compiler","name":"StyleCompiler","line":37,"character":53},{"__symbolic":"reference","module":"@angular/compiler","name":"ViewCompiler","line":37,"character":82},{"__symbolic":"reference","module":"@angular/compiler","name":"NgModuleCompiler","line":38,"character":24},{"__symbolic":"reference","name":"SummaryResolver","module":"@angular/compiler","arguments":[{"__symbolic":"reference","name":"Type","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]},{"__symbolic":"reference","module":"@angular/compiler","name":"CompileReflector","line":39,"character":24},{"__symbolic":"reference","module":"@angular/compiler","name":"JitEvaluator","line":39,"character":56},{"__symbolic":"reference","module":"@angular/compiler","name":"CompilerConfig","line":40,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"ɵConsole","line":40,"character":47}]}],"getExtraNgModuleProviders":[{"__symbolic":"method"}],"compileModuleSync":[{"__symbolic":"method"}],"compileModuleAsync":[{"__symbolic":"method"}],"compileModuleAndAllComponentsSync":[{"__symbolic":"method"}],"compileModuleAndAllComponentsAsync":[{"__symbolic":"method"}],"loadAotSummaries":[{"__symbolic":"method"}],"hasAotSummary":[{"__symbolic":"method"}],"getComponentFactory":[{"__symbolic":"method"}],"clearCache":[{"__symbolic":"method"}],"clearCacheFor":[{"__symbolic":"method"}],"getModuleId":[{"__symbolic":"method"}]}},"ɵplatformCoreDynamic":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"createPlatformFactory","line":17,"character":35},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"platformCore","line":17,"character":57},"coreDynamic",[{"provide":{"__symbolic":"reference","module":"@angular/core","name":"COMPILER_OPTIONS","line":18,"character":12},"useValue":{},"multi":true},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"CompilerFactory","line":19,"character":12},"useClass":{"__symbolic":"reference","name":"JitCompilerFactory"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"COMPILER_OPTIONS","line":19,"character":66}]}]]},"ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS","line":20,"character":2},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"COMPILER_OPTIONS","line":22,"character":13},"useValue":{"providers":[{"provide":{"__symbolic":"reference","module":"@angular/compiler","name":"ResourceLoader","line":23,"character":37},"useClass":{"__symbolic":"reference","name":"ɵResourceLoaderImpl"},"deps":[]}]},"multi":true},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":26,"character":12},"useValue":{"__symbolic":"reference","module":"@angular/common","name":"ɵPLATFORM_BROWSER_ID","line":26,"character":35}}],"ɵResourceLoaderImpl":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/compiler","name":"ResourceLoader","line":12,"character":40},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":11,"character":1}}],"members":{"get":[{"__symbolic":"method"}]}},"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version","line":19,"character":27},"arguments":["9.1.4"]},"JitCompilerFactory":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"@angular/core","name":"CompilerOptions","line":178,"character":30}]}]}],"createCompiler":[{"__symbolic":"method"}]}},"ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/compiler","name":"ResourceLoader","line":20,"character":42},"members":{"__ctor__":[{"__symbolic":"constructor"}],"get":[{"__symbolic":"method"}]}}},"origins":{"RESOURCE_CACHE_PROVIDER":"./platform-browser-dynamic","platformBrowserDynamic":"./platform-browser-dynamic","ɵCOMPILER_PROVIDERS__POST_R3__":"./platform-browser-dynamic","ɵCompilerImpl":"./platform-browser-dynamic","ɵplatformCoreDynamic":"./platform-browser-dynamic","ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS":"./platform-browser-dynamic","ɵResourceLoaderImpl":"./platform-browser-dynamic","VERSION":"./platform-browser-dynamic","JitCompilerFactory":"./platform-browser-dynamic","ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a":"./platform-browser-dynamic"},"importAs":"@angular/platform-browser-dynamic"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v9.1.0
2
+ * @license Angular v9.1.4
3
3
  * (c) 2010-2020 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/testing.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v9.1.0
2
+ * @license Angular v9.1.4
3
3
  * (c) 2010-2020 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */