fix(core): Remove static dependency from @angular/core to @angular/compiler (#26734)
PR Close #26734
This commit is contained in:

committed by
Matias Niemelä

parent
5d740785a9
commit
d042c4afe0
@ -54,7 +54,7 @@
|
||||
"name": "EMPTY_ARR"
|
||||
},
|
||||
{
|
||||
"name": "EMPTY_ARRAY$1"
|
||||
"name": "EMPTY_ARRAY"
|
||||
},
|
||||
{
|
||||
"name": "EMPTY_OBJ"
|
||||
@ -216,7 +216,7 @@
|
||||
"name": "ViewContainerRef"
|
||||
},
|
||||
{
|
||||
"name": "ViewEncapsulation$1"
|
||||
"name": "ViewEncapsulation"
|
||||
},
|
||||
{
|
||||
"name": "ViewRef"
|
||||
@ -396,7 +396,7 @@
|
||||
"name": "createNodeAtIndex"
|
||||
},
|
||||
{
|
||||
"name": "createOutput$1"
|
||||
"name": "createOutput"
|
||||
},
|
||||
{
|
||||
"name": "createRootComponent"
|
||||
@ -1122,10 +1122,10 @@
|
||||
"name": "storeCleanupWithContext"
|
||||
},
|
||||
{
|
||||
"name": "stringify$1"
|
||||
"name": "stringify"
|
||||
},
|
||||
{
|
||||
"name": "stringify$2"
|
||||
"name": "stringify$1"
|
||||
},
|
||||
{
|
||||
"name": "swapMultiContextEntries"
|
||||
|
@ -45,6 +45,7 @@ ts_library(
|
||||
],
|
||||
deps = [
|
||||
"//packages:types",
|
||||
"//packages/compiler",
|
||||
"//packages/core/testing",
|
||||
"//packages/private/testing",
|
||||
],
|
||||
|
@ -27,7 +27,7 @@
|
||||
"name": "EMPTY"
|
||||
},
|
||||
{
|
||||
"name": "EMPTY_ARRAY$1"
|
||||
"name": "EMPTY_ARRAY"
|
||||
},
|
||||
{
|
||||
"name": "EmptyErrorImpl"
|
||||
@ -117,7 +117,7 @@
|
||||
"name": "VIEWS"
|
||||
},
|
||||
{
|
||||
"name": "ViewEncapsulation$1"
|
||||
"name": "ViewEncapsulation"
|
||||
},
|
||||
{
|
||||
"name": "_renderCompCount"
|
||||
@ -438,7 +438,7 @@
|
||||
"name": "setUpAttributes"
|
||||
},
|
||||
{
|
||||
"name": "stringify$2"
|
||||
"name": "stringify$1"
|
||||
},
|
||||
{
|
||||
"name": "syncViewWithBlueprint"
|
||||
|
@ -6,6 +6,7 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import '@angular/compiler';
|
||||
import {withBody} from '@angular/private/testing';
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
|
@ -47,6 +47,7 @@ ts_library(
|
||||
],
|
||||
deps = [
|
||||
"//packages:types",
|
||||
"//packages/compiler",
|
||||
"//packages/core/testing",
|
||||
"//packages/private/testing",
|
||||
],
|
||||
|
@ -240,7 +240,7 @@
|
||||
"name": "BINDING_INDEX"
|
||||
},
|
||||
{
|
||||
"name": "BIND_NAME_REGEXP"
|
||||
"name": "BIND_NAME_REGEXP$1"
|
||||
},
|
||||
{
|
||||
"name": "BLOCK_PLACEHOLDER"
|
||||
@ -813,16 +813,16 @@
|
||||
"name": "IDENT"
|
||||
},
|
||||
{
|
||||
"name": "IDENT_BANANA_BOX_IDX"
|
||||
"name": "IDENT_BANANA_BOX_IDX$1"
|
||||
},
|
||||
{
|
||||
"name": "IDENT_EVENT_IDX"
|
||||
"name": "IDENT_EVENT_IDX$1"
|
||||
},
|
||||
{
|
||||
"name": "IDENT_KW_IDX"
|
||||
"name": "IDENT_KW_IDX$1"
|
||||
},
|
||||
{
|
||||
"name": "IDENT_PROPERTY_IDX"
|
||||
"name": "IDENT_PROPERTY_IDX$1"
|
||||
},
|
||||
{
|
||||
"name": "ID_SEPARATOR"
|
||||
@ -939,22 +939,22 @@
|
||||
"name": "KEY_CONTEXT"
|
||||
},
|
||||
{
|
||||
"name": "KW_AT_IDX"
|
||||
"name": "KW_AT_IDX$1"
|
||||
},
|
||||
{
|
||||
"name": "KW_BINDON_IDX"
|
||||
"name": "KW_BINDON_IDX$1"
|
||||
},
|
||||
{
|
||||
"name": "KW_BIND_IDX"
|
||||
"name": "KW_BIND_IDX$1"
|
||||
},
|
||||
{
|
||||
"name": "KW_LET_IDX"
|
||||
"name": "KW_LET_IDX$1"
|
||||
},
|
||||
{
|
||||
"name": "KW_ON_IDX"
|
||||
"name": "KW_ON_IDX$1"
|
||||
},
|
||||
{
|
||||
"name": "KW_REF_IDX"
|
||||
"name": "KW_REF_IDX$1"
|
||||
},
|
||||
{
|
||||
"name": "KeyVisitor"
|
||||
@ -1116,7 +1116,7 @@
|
||||
"name": "NG_TOKEN_PATH"
|
||||
},
|
||||
{
|
||||
"name": "NON_BINDABLE_VISITOR"
|
||||
"name": "NON_BINDABLE_VISITOR$1"
|
||||
},
|
||||
{
|
||||
"name": "NOOP"
|
||||
@ -1209,7 +1209,7 @@
|
||||
"name": "NodeInjectorFactory"
|
||||
},
|
||||
{
|
||||
"name": "NonBindableVisitor"
|
||||
"name": "NonBindableVisitor$1"
|
||||
},
|
||||
{
|
||||
"name": "NonNullAssert"
|
||||
@ -1410,7 +1410,7 @@
|
||||
"name": "RecurseVisitor"
|
||||
},
|
||||
{
|
||||
"name": "RecursiveAstVisitor"
|
||||
"name": "RecursiveAstVisitor$1"
|
||||
},
|
||||
{
|
||||
"name": "RefCountOperator"
|
||||
@ -1629,7 +1629,7 @@
|
||||
"name": "TAIL"
|
||||
},
|
||||
{
|
||||
"name": "TEMPLATE_ATTR_PREFIX"
|
||||
"name": "TEMPLATE_ATTR_PREFIX$1"
|
||||
},
|
||||
{
|
||||
"name": "TEXT_CSS_SELECTOR"
|
||||
@ -1704,10 +1704,10 @@
|
||||
"name": "Text"
|
||||
},
|
||||
{
|
||||
"name": "Text$1"
|
||||
"name": "Text$2"
|
||||
},
|
||||
{
|
||||
"name": "Text$2"
|
||||
"name": "Text$3"
|
||||
},
|
||||
{
|
||||
"name": "TextAst"
|
||||
@ -1770,7 +1770,7 @@
|
||||
"name": "URL_WITH_SCHEMA_REGEXP"
|
||||
},
|
||||
{
|
||||
"name": "USE_VALUE$1"
|
||||
"name": "USE_VALUE$2"
|
||||
},
|
||||
{
|
||||
"name": "UnsubscriptionError"
|
||||
@ -1782,7 +1782,7 @@
|
||||
"name": "UrlResolver"
|
||||
},
|
||||
{
|
||||
"name": "VERSION$1"
|
||||
"name": "VERSION"
|
||||
},
|
||||
{
|
||||
"name": "VERSION$2"
|
||||
@ -2151,7 +2151,7 @@
|
||||
"name": "__read"
|
||||
},
|
||||
{
|
||||
"name": "__self"
|
||||
"name": "__self$1"
|
||||
},
|
||||
{
|
||||
"name": "__spread"
|
||||
@ -2163,7 +2163,7 @@
|
||||
"name": "__values"
|
||||
},
|
||||
{
|
||||
"name": "__window"
|
||||
"name": "__window$1"
|
||||
},
|
||||
{
|
||||
"name": "_addDebugContext"
|
||||
@ -2283,7 +2283,7 @@
|
||||
"name": "_getViewQueries"
|
||||
},
|
||||
{
|
||||
"name": "_global"
|
||||
"name": "_global$1"
|
||||
},
|
||||
{
|
||||
"name": "_isClosingComment"
|
||||
|
@ -6,6 +6,7 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import '@angular/compiler';
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
|
||||
|
@ -48,6 +48,7 @@ ts_library(
|
||||
deps = [
|
||||
":injection",
|
||||
"//packages:types",
|
||||
"//packages/compiler",
|
||||
"//packages/core/testing",
|
||||
"//packages/private/testing",
|
||||
],
|
||||
|
@ -6,7 +6,7 @@
|
||||
"name": "CIRCULAR$1"
|
||||
},
|
||||
{
|
||||
"name": "EMPTY_ARRAY$2"
|
||||
"name": "EMPTY_ARRAY$1"
|
||||
},
|
||||
{
|
||||
"name": "EmptyErrorImpl"
|
||||
@ -60,7 +60,7 @@
|
||||
"name": "THROW_IF_NOT_FOUND"
|
||||
},
|
||||
{
|
||||
"name": "USE_VALUE$1"
|
||||
"name": "USE_VALUE"
|
||||
},
|
||||
{
|
||||
"name": "UnsubscriptionErrorImpl"
|
||||
@ -159,12 +159,12 @@
|
||||
"name": "providerToRecord"
|
||||
},
|
||||
{
|
||||
"name": "resolveForwardRef$1"
|
||||
"name": "resolveForwardRef"
|
||||
},
|
||||
{
|
||||
"name": "setCurrentInjector"
|
||||
},
|
||||
{
|
||||
"name": "stringify$1"
|
||||
"name": "stringify"
|
||||
}
|
||||
]
|
@ -6,15 +6,9 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
|
||||
import '@angular/compiler';
|
||||
import {INJECTOR, ScopedService} from './usage';
|
||||
|
||||
const UTF8 = {
|
||||
encoding: 'utf-8'
|
||||
};
|
||||
const PACKAGE = 'angular/packages/core/test/bundling/hello_world';
|
||||
|
||||
describe('functional test for injection system bundling', () => {
|
||||
it('should be able to inject the scoped service',
|
||||
|
@ -50,6 +50,7 @@ ts_library(
|
||||
],
|
||||
deps = [
|
||||
"//packages:types",
|
||||
"//packages/compiler",
|
||||
"//packages/core",
|
||||
"//packages/core/testing",
|
||||
"//packages/private/testing",
|
||||
|
@ -45,7 +45,7 @@
|
||||
"name": "EMPTY"
|
||||
},
|
||||
{
|
||||
"name": "EMPTY_ARRAY$1"
|
||||
"name": "EMPTY_ARRAY"
|
||||
},
|
||||
{
|
||||
"name": "ElementRef"
|
||||
@ -231,7 +231,7 @@
|
||||
"name": "ViewContainerRef"
|
||||
},
|
||||
{
|
||||
"name": "ViewEncapsulation$1"
|
||||
"name": "ViewEncapsulation"
|
||||
},
|
||||
{
|
||||
"name": "ViewRef"
|
||||
@ -453,7 +453,7 @@
|
||||
"name": "createNodeAtIndex"
|
||||
},
|
||||
{
|
||||
"name": "createOutput$1"
|
||||
"name": "createOutput"
|
||||
},
|
||||
{
|
||||
"name": "createRootComponent"
|
||||
@ -1143,10 +1143,10 @@
|
||||
"name": "storeCleanupWithContext"
|
||||
},
|
||||
{
|
||||
"name": "stringify$1"
|
||||
"name": "stringify"
|
||||
},
|
||||
{
|
||||
"name": "stringify$2"
|
||||
"name": "stringify$1"
|
||||
},
|
||||
{
|
||||
"name": "syncViewWithBlueprint"
|
||||
|
@ -6,9 +6,9 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import '@angular/compiler';
|
||||
import {ɵwhenRendered as whenRendered} from '@angular/core';
|
||||
import {withBody} from '@angular/private/testing';
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
|
||||
const UTF8 = {
|
||||
|
@ -54,6 +54,7 @@ ts_library(
|
||||
],
|
||||
deps = [
|
||||
"//packages:types",
|
||||
"//packages/compiler",
|
||||
"//packages/core",
|
||||
"//packages/core/testing",
|
||||
"//packages/platform-browser",
|
||||
|
@ -99,13 +99,13 @@
|
||||
"name": "COMPONENT_REGEX"
|
||||
},
|
||||
{
|
||||
"name": "COMPONENT_VARIABLE$1"
|
||||
"name": "COMPONENT_VARIABLE"
|
||||
},
|
||||
{
|
||||
"name": "CONTAINER_INDEX"
|
||||
},
|
||||
{
|
||||
"name": "CONTENT_ATTR$1"
|
||||
"name": "CONTENT_ATTR"
|
||||
},
|
||||
{
|
||||
"name": "CONTEXT"
|
||||
@ -252,10 +252,10 @@
|
||||
"name": "EMPTY$1"
|
||||
},
|
||||
{
|
||||
"name": "EMPTY_ARRAY$1"
|
||||
"name": "EMPTY_ARRAY"
|
||||
},
|
||||
{
|
||||
"name": "EMPTY_ARRAY$2"
|
||||
"name": "EMPTY_ARRAY$1"
|
||||
},
|
||||
{
|
||||
"name": "EMPTY_PAYLOAD"
|
||||
@ -330,7 +330,7 @@
|
||||
"name": "HOST"
|
||||
},
|
||||
{
|
||||
"name": "HOST_ATTR$1"
|
||||
"name": "HOST_ATTR"
|
||||
},
|
||||
{
|
||||
"name": "HOST_NODE"
|
||||
@ -792,7 +792,7 @@
|
||||
"name": "SanitizingHtmlSerializer"
|
||||
},
|
||||
{
|
||||
"name": "SecurityContext$1"
|
||||
"name": "SecurityContext"
|
||||
},
|
||||
{
|
||||
"name": "Self"
|
||||
@ -906,7 +906,7 @@
|
||||
"name": "URL_RE"
|
||||
},
|
||||
{
|
||||
"name": "USE_VALUE$1"
|
||||
"name": "USE_VALUE"
|
||||
},
|
||||
{
|
||||
"name": "UnsubscriptionError"
|
||||
@ -930,13 +930,13 @@
|
||||
"name": "VOID_ELEMENTS"
|
||||
},
|
||||
{
|
||||
"name": "Version$1"
|
||||
"name": "Version"
|
||||
},
|
||||
{
|
||||
"name": "ViewContainerRef"
|
||||
},
|
||||
{
|
||||
"name": "ViewEncapsulation$1"
|
||||
"name": "ViewEncapsulation"
|
||||
},
|
||||
{
|
||||
"name": "ViewRef"
|
||||
@ -1341,7 +1341,7 @@
|
||||
"name": "createNodeAtIndex"
|
||||
},
|
||||
{
|
||||
"name": "createOutput$1"
|
||||
"name": "createOutput"
|
||||
},
|
||||
{
|
||||
"name": "createPlatform"
|
||||
@ -2118,10 +2118,10 @@
|
||||
"name": "isProceduralRenderer"
|
||||
},
|
||||
{
|
||||
"name": "isPromise$1"
|
||||
"name": "isPromise"
|
||||
},
|
||||
{
|
||||
"name": "isPromise$2"
|
||||
"name": "isPromise$1"
|
||||
},
|
||||
{
|
||||
"name": "isRootView"
|
||||
@ -2244,10 +2244,10 @@
|
||||
"name": "noSideEffects"
|
||||
},
|
||||
{
|
||||
"name": "noop$2"
|
||||
"name": "noop$1"
|
||||
},
|
||||
{
|
||||
"name": "noop$3"
|
||||
"name": "noop$2"
|
||||
},
|
||||
{
|
||||
"name": "noopScope"
|
||||
@ -2274,7 +2274,7 @@
|
||||
"name": "parseCookieValue"
|
||||
},
|
||||
{
|
||||
"name": "parseIntAutoRadix$1"
|
||||
"name": "parseIntAutoRadix"
|
||||
},
|
||||
{
|
||||
"name": "parseNumber"
|
||||
@ -2400,7 +2400,7 @@
|
||||
"name": "resolveDirectives"
|
||||
},
|
||||
{
|
||||
"name": "resolveForwardRef$1"
|
||||
"name": "resolveForwardRef"
|
||||
},
|
||||
{
|
||||
"name": "resolveProvider"
|
||||
@ -2550,10 +2550,10 @@
|
||||
"name": "strToNumber"
|
||||
},
|
||||
{
|
||||
"name": "stringify$1"
|
||||
"name": "stringify"
|
||||
},
|
||||
{
|
||||
"name": "stringify$2"
|
||||
"name": "stringify$1"
|
||||
},
|
||||
{
|
||||
"name": "subscribeTo"
|
||||
|
@ -6,9 +6,9 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import '@angular/compiler';
|
||||
import {ɵwhenRendered as whenRendered} from '@angular/core';
|
||||
import {withBody} from '@angular/private/testing';
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
|
||||
const UTF8 = {
|
||||
|
Reference in New Issue
Block a user