"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/core/src/render3/di.ts" between
angular-11.0.1.tar.gz and angular-11.0.2.tar.gz

About: Angular is a development platform for building mobile and desktop web applications using Typescript/JavaScript.

di.ts  (angular-11.0.1):di.ts  (angular-11.0.2)
skipping to change at line 21 skipping to change at line 21
import {InjectionToken} from '../di/injection_token'; import {InjectionToken} from '../di/injection_token';
import {Injector} from '../di/injector'; import {Injector} from '../di/injector';
import {InjectorMarkers} from '../di/injector_marker'; import {InjectorMarkers} from '../di/injector_marker';
import {getInjectorDef} from '../di/interface/defs'; import {getInjectorDef} from '../di/interface/defs';
import {InjectFlags} from '../di/interface/injector'; import {InjectFlags} from '../di/interface/injector';
import {Type} from '../interface/type'; import {Type} from '../interface/type';
import {assertDefined, assertEqual, assertIndexInRange} from '../util/assert'; import {assertDefined, assertEqual, assertIndexInRange} from '../util/assert';
import {noSideEffects} from '../util/closure'; import {noSideEffects} from '../util/closure';
import {assertDirectiveDef, assertNodeInjector, assertTNodeForLView} from './ass ert'; import {assertDirectiveDef, assertNodeInjector, assertTNodeForLView} from './ass ert';
import {getFactoryDef} from './definition'; import {FactoryFn, getFactoryDef} from './definition_factory';
import {throwCyclicDependencyError, throwProviderNotFoundError} from './errors'; import {throwCyclicDependencyError, throwProviderNotFoundError} from './errors_d
i';
import {NG_ELEMENT_ID, NG_FACTORY_DEF} from './fields'; import {NG_ELEMENT_ID, NG_FACTORY_DEF} from './fields';
import {registerPreOrderHooks} from './hooks'; import {registerPreOrderHooks} from './hooks';
import {DirectiveDef, FactoryFn} from './interfaces/definition'; import {DirectiveDef} from './interfaces/definition';
import {isFactory, NO_PARENT_INJECTOR, NodeInjectorFactory, NodeInjectorOffset, RelativeInjectorLocation, RelativeInjectorLocationFlags} from './interfaces/inje ctor'; import {isFactory, NO_PARENT_INJECTOR, NodeInjectorFactory, NodeInjectorOffset, RelativeInjectorLocation, RelativeInjectorLocationFlags} from './interfaces/inje ctor';
import {AttributeMarker, TContainerNode, TDirectiveHostNode, TElementContainerNo de, TElementNode, TNode, TNodeProviderIndexes, TNodeType} from './interfaces/nod e'; import {AttributeMarker, TContainerNode, TDirectiveHostNode, TElementContainerNo de, TElementNode, TNode, TNodeProviderIndexes, TNodeType} from './interfaces/nod e';
import {isComponentDef, isComponentHost} from './interfaces/type_checks'; import {isComponentDef, isComponentHost} from './interfaces/type_checks';
import {DECLARATION_COMPONENT_VIEW, DECLARATION_VIEW, INJECTOR, LView, T_HOST, T Data, TVIEW, TView, TViewType} from './interfaces/view'; import {DECLARATION_COMPONENT_VIEW, DECLARATION_VIEW, INJECTOR, LView, T_HOST, T Data, TVIEW, TView, TViewType} from './interfaces/view';
import {assertTNodeType} from './node_assert'; import {assertTNodeType} from './node_assert';
import {enterDI, getCurrentTNode, getLView, leaveDI} from './state'; import {enterDI, getCurrentTNode, getLView, leaveDI} from './state';
import {isNameOnlyAttributeMarker} from './util/attrs_utils'; import {isNameOnlyAttributeMarker} from './util/attrs_utils';
import {getParentInjectorIndex, getParentInjectorView, hasParentInjector} from ' ./util/injector_utils'; import {getParentInjectorIndex, getParentInjectorView, hasParentInjector} from ' ./util/injector_utils';
import {stringifyForError} from './util/misc_utils'; import {stringifyForError} from './util/stringify_utils';
/** /**
* Defines if the call to `inject` should include `viewProviders` in its resolut ion. * Defines if the call to `inject` should include `viewProviders` in its resolut ion.
* *
* This is set to true when we try to instantiate a component. This value is res et in * This is set to true when we try to instantiate a component. This value is res et in
* `getNodeInjectable` to a value which matches the declaration location of the token about to be * `getNodeInjectable` to a value which matches the declaration location of the token about to be
* instantiated. This is done so that if we are injecting a token which was decl ared outside of * instantiated. This is done so that if we are injecting a token which was decl ared outside of
* `viewProviders` we don't accidentally pull `viewProviders` in. * `viewProviders` we don't accidentally pull `viewProviders` in.
* *
* Example: * Example:
 End of changes. 3 change blocks. 
4 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)