@angular/compiler-cli
Advanced tools
Comparing version 17.3.0-next.0 to 17.3.0-next.1
@@ -12,3 +12,3 @@ | ||
getInitializerApiJitTransform | ||
} from "./chunk-NZQBYQYJ.js"; | ||
} from "./chunk-2CAUFIKU.js"; | ||
import { | ||
@@ -40,10 +40,10 @@ DEFAULT_ERROR_CODE, | ||
untagAllTsFiles | ||
} from "./chunk-GWFFFWTW.js"; | ||
} from "./chunk-5A5Y7O22.js"; | ||
import { | ||
OptimizeFor | ||
} from "./chunk-Q5Y7HH3O.js"; | ||
import "./chunk-OW77LBBK.js"; | ||
import "./chunk-YVYW546M.js"; | ||
import { | ||
isLocalCompilationDiagnostics | ||
} from "./chunk-XLXSE3QH.js"; | ||
} from "./chunk-7VU7HCQZ.js"; | ||
import { | ||
@@ -82,3 +82,3 @@ ActivePerfRecorder, | ||
import { Version } from "@angular/compiler"; | ||
var VERSION = new Version("17.3.0-next.0"); | ||
var VERSION = new Version("17.3.0-next.1"); | ||
@@ -85,0 +85,0 @@ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs |
@@ -11,4 +11,4 @@ | ||
isFatalLinkerError | ||
} from "../../chunk-VPKIGOWE.js"; | ||
import "../../chunk-XLXSE3QH.js"; | ||
} from "../../chunk-IIZOI4XA.js"; | ||
import "../../chunk-7VU7HCQZ.js"; | ||
import { | ||
@@ -15,0 +15,0 @@ ConsoleLogger, |
@@ -13,4 +13,4 @@ | ||
needsLinking | ||
} from "../chunk-VPKIGOWE.js"; | ||
import "../chunk-XLXSE3QH.js"; | ||
} from "../chunk-IIZOI4XA.js"; | ||
import "../chunk-7VU7HCQZ.js"; | ||
import "../chunk-WCD6LVCP.js"; | ||
@@ -17,0 +17,0 @@ import "../chunk-75YFKYUJ.js"; |
@@ -14,3 +14,3 @@ | ||
forwardRefResolver | ||
} from "../chunk-OW77LBBK.js"; | ||
} from "../chunk-YVYW546M.js"; | ||
import { | ||
@@ -20,3 +20,3 @@ Reference, | ||
reflectObjectLiteral | ||
} from "../chunk-XLXSE3QH.js"; | ||
} from "../chunk-7VU7HCQZ.js"; | ||
import "../chunk-R4KQI5XI.js"; | ||
@@ -23,0 +23,0 @@ import "../chunk-75YFKYUJ.js"; |
@@ -9,5 +9,5 @@ | ||
constructorParametersDownlevelTransform | ||
} from "../chunk-NZQBYQYJ.js"; | ||
import "../chunk-OW77LBBK.js"; | ||
import "../chunk-XLXSE3QH.js"; | ||
} from "../chunk-2CAUFIKU.js"; | ||
import "../chunk-YVYW546M.js"; | ||
import "../chunk-7VU7HCQZ.js"; | ||
import "../chunk-R4KQI5XI.js"; | ||
@@ -14,0 +14,0 @@ import "../chunk-75YFKYUJ.js"; |
@@ -9,9 +9,9 @@ #!/usr/bin/env node | ||
readCommandLineAndConfiguration | ||
} from "../../chunk-JKNKVO7U.js"; | ||
} from "../../chunk-FPKC3HSK.js"; | ||
import { | ||
EmitFlags | ||
} from "../../chunk-GWFFFWTW.js"; | ||
} from "../../chunk-5A5Y7O22.js"; | ||
import "../../chunk-Q5Y7HH3O.js"; | ||
import "../../chunk-OW77LBBK.js"; | ||
import "../../chunk-XLXSE3QH.js"; | ||
import "../../chunk-YVYW546M.js"; | ||
import "../../chunk-7VU7HCQZ.js"; | ||
import "../../chunk-R4KQI5XI.js"; | ||
@@ -18,0 +18,0 @@ import { |
@@ -8,7 +8,7 @@ #!/usr/bin/env node | ||
main | ||
} from "../../chunk-JKNKVO7U.js"; | ||
import "../../chunk-GWFFFWTW.js"; | ||
} from "../../chunk-FPKC3HSK.js"; | ||
import "../../chunk-5A5Y7O22.js"; | ||
import "../../chunk-Q5Y7HH3O.js"; | ||
import "../../chunk-OW77LBBK.js"; | ||
import "../../chunk-XLXSE3QH.js"; | ||
import "../../chunk-YVYW546M.js"; | ||
import "../../chunk-7VU7HCQZ.js"; | ||
import "../../chunk-R4KQI5XI.js"; | ||
@@ -15,0 +15,0 @@ import { |
@@ -10,4 +10,4 @@ /** | ||
import { AstObject, AstValue } from '../../ast/ast_value'; | ||
export declare const PLACEHOLDER_VERSION = "17.3.0-next.0"; | ||
export declare const SHOULD_USE_TEMPLATE_PIPELINE_FOR_LINKER = false; | ||
export declare const PLACEHOLDER_VERSION = "17.3.0-next.1"; | ||
export declare const SHOULD_USE_TEMPLATE_PIPELINE_FOR_LINKER = true; | ||
export declare function wrapReference<TExpression>(wrapped: o.WrappedNodeExpr<TExpression>): R3Reference; | ||
@@ -14,0 +14,0 @@ /** |
{ | ||
"name": "@angular/compiler-cli", | ||
"version": "17.3.0-next.0", | ||
"version": "17.3.0-next.1", | ||
"description": "Angular - the compiler CLI for Node.js", | ||
@@ -56,4 +56,4 @@ "typings": "index.d.ts", | ||
"peerDependencies": { | ||
"@angular/compiler": "17.3.0-next.0", | ||
"typescript": ">=5.2 <5.4" | ||
"@angular/compiler": "17.3.0-next.1", | ||
"typescript": ">=5.2 <5.5" | ||
}, | ||
@@ -60,0 +60,0 @@ "repository": { |
@@ -11,3 +11,3 @@ /** | ||
import { CycleAnalyzer, CycleHandlingStrategy } from '../../../cycles'; | ||
import { DeferredSymbolTracker, LocalCompilationExtraImportsTracker, ModuleResolver, ReferenceEmitter } from '../../../imports'; | ||
import { DeferredSymbolTracker, ImportedSymbolsTracker, LocalCompilationExtraImportsTracker, ModuleResolver, ReferenceEmitter } from '../../../imports'; | ||
import { DependencyTracker } from '../../../incremental/api'; | ||
@@ -61,2 +61,3 @@ import { SemanticDepGraphUpdater } from '../../../incremental/semantic_graph'; | ||
private hostDirectivesResolver; | ||
private importTracker; | ||
private includeClassMetadata; | ||
@@ -69,3 +70,3 @@ private readonly compilationMode; | ||
private readonly localCompilationExtraImportsTracker; | ||
constructor(reflector: ReflectionHost, evaluator: PartialEvaluator, metaRegistry: MetadataRegistry, metaReader: MetadataReader, scopeReader: ComponentScopeReader, dtsScopeReader: DtsModuleScopeResolver, scopeRegistry: LocalModuleScopeRegistry, typeCheckScopeRegistry: TypeCheckScopeRegistry, resourceRegistry: ResourceRegistry, isCore: boolean, strictCtorDeps: boolean, resourceLoader: ResourceLoader, rootDirs: ReadonlyArray<string>, defaultPreserveWhitespaces: boolean, i18nUseExternalIds: boolean, enableI18nLegacyMessageIdFormat: boolean, usePoisonedData: boolean, i18nNormalizeLineEndingsInICUs: boolean, moduleResolver: ModuleResolver, cycleAnalyzer: CycleAnalyzer, cycleHandlingStrategy: CycleHandlingStrategy, refEmitter: ReferenceEmitter, referencesRegistry: ReferencesRegistry, depTracker: DependencyTracker | null, injectableRegistry: InjectableClassRegistry, semanticDepGraphUpdater: SemanticDepGraphUpdater | null, annotateForClosureCompiler: boolean, perf: PerfRecorder, hostDirectivesResolver: HostDirectivesResolver, includeClassMetadata: boolean, compilationMode: CompilationMode, deferredSymbolTracker: DeferredSymbolTracker, forbidOrphanRendering: boolean, enableBlockSyntax: boolean, useTemplatePipeline: boolean, localCompilationExtraImportsTracker: LocalCompilationExtraImportsTracker | null); | ||
constructor(reflector: ReflectionHost, evaluator: PartialEvaluator, metaRegistry: MetadataRegistry, metaReader: MetadataReader, scopeReader: ComponentScopeReader, dtsScopeReader: DtsModuleScopeResolver, scopeRegistry: LocalModuleScopeRegistry, typeCheckScopeRegistry: TypeCheckScopeRegistry, resourceRegistry: ResourceRegistry, isCore: boolean, strictCtorDeps: boolean, resourceLoader: ResourceLoader, rootDirs: ReadonlyArray<string>, defaultPreserveWhitespaces: boolean, i18nUseExternalIds: boolean, enableI18nLegacyMessageIdFormat: boolean, usePoisonedData: boolean, i18nNormalizeLineEndingsInICUs: boolean, moduleResolver: ModuleResolver, cycleAnalyzer: CycleAnalyzer, cycleHandlingStrategy: CycleHandlingStrategy, refEmitter: ReferenceEmitter, referencesRegistry: ReferencesRegistry, depTracker: DependencyTracker | null, injectableRegistry: InjectableClassRegistry, semanticDepGraphUpdater: SemanticDepGraphUpdater | null, annotateForClosureCompiler: boolean, perf: PerfRecorder, hostDirectivesResolver: HostDirectivesResolver, importTracker: ImportedSymbolsTracker, includeClassMetadata: boolean, compilationMode: CompilationMode, deferredSymbolTracker: DeferredSymbolTracker, forbidOrphanRendering: boolean, enableBlockSyntax: boolean, useTemplatePipeline: boolean, localCompilationExtraImportsTracker: LocalCompilationExtraImportsTracker | null); | ||
private literalCache; | ||
@@ -72,0 +73,0 @@ private elementSchemaRegistry; |
@@ -10,3 +10,3 @@ /** | ||
import ts from 'typescript'; | ||
import { Reference, ReferenceEmitter } from '../../../imports'; | ||
import { ImportedSymbolsTracker, Reference, ReferenceEmitter } from '../../../imports'; | ||
import { SemanticDepGraphUpdater } from '../../../incremental/semantic_graph'; | ||
@@ -49,2 +49,3 @@ import { ClassPropertyMapping, DirectiveTypeCheckMeta, HostDirectiveMeta, InputMapping, MetadataReader, MetadataRegistry } from '../../../metadata'; | ||
private perf; | ||
private importTracker; | ||
private includeClassMetadata; | ||
@@ -54,3 +55,3 @@ private readonly compilationMode; | ||
private readonly generateExtraImportsInLocalMode; | ||
constructor(reflector: ReflectionHost, evaluator: PartialEvaluator, metaRegistry: MetadataRegistry, scopeRegistry: LocalModuleScopeRegistry, metaReader: MetadataReader, injectableRegistry: InjectableClassRegistry, refEmitter: ReferenceEmitter, referencesRegistry: ReferencesRegistry, isCore: boolean, strictCtorDeps: boolean, semanticDepGraphUpdater: SemanticDepGraphUpdater | null, annotateForClosureCompiler: boolean, perf: PerfRecorder, includeClassMetadata: boolean, compilationMode: CompilationMode, useTemplatePipeline: boolean, generateExtraImportsInLocalMode: boolean); | ||
constructor(reflector: ReflectionHost, evaluator: PartialEvaluator, metaRegistry: MetadataRegistry, scopeRegistry: LocalModuleScopeRegistry, metaReader: MetadataReader, injectableRegistry: InjectableClassRegistry, refEmitter: ReferenceEmitter, referencesRegistry: ReferencesRegistry, isCore: boolean, strictCtorDeps: boolean, semanticDepGraphUpdater: SemanticDepGraphUpdater | null, annotateForClosureCompiler: boolean, perf: PerfRecorder, importTracker: ImportedSymbolsTracker, includeClassMetadata: boolean, compilationMode: CompilationMode, useTemplatePipeline: boolean, generateExtraImportsInLocalMode: boolean); | ||
readonly precedence = HandlerPrecedence.PRIMARY; | ||
@@ -57,0 +58,0 @@ readonly name = "DirectiveDecoratorHandler"; |
@@ -9,2 +9,3 @@ /** | ||
import ts from 'typescript'; | ||
import { ImportedSymbolsTracker } from '../../../imports'; | ||
import { ClassMember, ReflectionHost } from '../../../reflection'; | ||
@@ -42,5 +43,3 @@ /** | ||
*/ | ||
export declare function tryParseInitializerApiMember<FnNames extends InitializerApiFunction[]>(fnNames: FnNames, member: Pick<ClassMember, 'value'>, reflector: ReflectionHost, isCore: boolean): InitializerFunctionMetadata & { | ||
apiName: FnNames[number]; | ||
} | null; | ||
export declare function tryParseInitializerApiMember<FnNames extends InitializerApiFunction[]>(fnNames: FnNames, member: Pick<ClassMember, 'value'>, reflector: ReflectionHost, importTracker: ImportedSymbolsTracker): InitializerFunctionMetadata | null; | ||
export {}; |
@@ -8,2 +8,3 @@ /** | ||
*/ | ||
import { ImportedSymbolsTracker } from '../../../imports'; | ||
import { InputMapping } from '../../../metadata'; | ||
@@ -15,2 +16,2 @@ import { ClassMember, ReflectionHost } from '../../../reflection'; | ||
*/ | ||
export declare function tryParseSignalInputMapping(member: Pick<ClassMember, 'name' | 'value'>, reflector: ReflectionHost, isCore: boolean): InputMapping | null; | ||
export declare function tryParseSignalInputMapping(member: Pick<ClassMember, 'name' | 'value'>, reflector: ReflectionHost, importTracker: ImportedSymbolsTracker): InputMapping | null; |
@@ -8,2 +8,3 @@ /** | ||
*/ | ||
import { ImportedSymbolsTracker } from '../../../imports'; | ||
import { ModelMapping } from '../../../metadata'; | ||
@@ -14,2 +15,2 @@ import { ClassMember, ReflectionHost } from '../../../reflection'; | ||
*/ | ||
export declare function tryParseSignalModelMapping(member: Pick<ClassMember, 'name' | 'value'>, reflector: ReflectionHost, isCore: boolean): ModelMapping | null; | ||
export declare function tryParseSignalModelMapping(member: Pick<ClassMember, 'name' | 'value'>, reflector: ReflectionHost, importTracker: ImportedSymbolsTracker): ModelMapping | null; |
@@ -9,2 +9,3 @@ /** | ||
import ts from 'typescript'; | ||
import { ImportedSymbolsTracker } from '../../../imports'; | ||
import { InputOrOutput } from '../../../metadata'; | ||
@@ -16,5 +17,5 @@ import { ClassMember, ReflectionHost } from '../../../reflection'; | ||
*/ | ||
export declare function tryParseInitializerBasedOutput(member: Pick<ClassMember, 'name' | 'value'>, reflector: ReflectionHost, isCore: boolean): { | ||
export declare function tryParseInitializerBasedOutput(member: Pick<ClassMember, 'name' | 'value'>, reflector: ReflectionHost, importTracker: ImportedSymbolsTracker): { | ||
call: ts.CallExpression; | ||
metadata: InputOrOutput; | ||
} | null; |
@@ -10,2 +10,3 @@ /** | ||
import ts from 'typescript'; | ||
import { ImportedSymbolsTracker } from '../../../imports'; | ||
import { ClassMember, ReflectionHost } from '../../../reflection'; | ||
@@ -22,3 +23,3 @@ /** Possible query initializer API functions. */ | ||
*/ | ||
export declare function tryParseSignalQueryFromInitializer(member: Pick<ClassMember, 'name' | 'value'>, reflector: ReflectionHost, isCore: boolean): { | ||
export declare function tryParseSignalQueryFromInitializer(member: Pick<ClassMember, 'name' | 'value'>, reflector: ReflectionHost, importTracker: ImportedSymbolsTracker): { | ||
name: QueryFunctionName; | ||
@@ -25,0 +26,0 @@ metadata: R3QueryMetadata; |
@@ -10,3 +10,3 @@ /** | ||
import ts from 'typescript'; | ||
import { Reference, ReferenceEmitter } from '../../../imports'; | ||
import { ImportedSymbolsTracker, Reference, ReferenceEmitter } from '../../../imports'; | ||
import { ClassPropertyMapping, DecoratorInputTransform, HostDirectiveMeta, InputMapping } from '../../../metadata'; | ||
@@ -25,3 +25,3 @@ import { DynamicValue, PartialEvaluator } from '../../../partial_evaluator'; | ||
*/ | ||
export declare function extractDirectiveMetadata(clazz: ClassDeclaration, decorator: Readonly<Decorator>, reflector: ReflectionHost, evaluator: PartialEvaluator, refEmitter: ReferenceEmitter, referencesRegistry: ReferencesRegistry, isCore: boolean, annotateForClosureCompiler: boolean, compilationMode: CompilationMode, defaultSelector: string | null, useTemplatePipeline: boolean): { | ||
export declare function extractDirectiveMetadata(clazz: ClassDeclaration, decorator: Readonly<Decorator>, reflector: ReflectionHost, importTracker: ImportedSymbolsTracker, evaluator: PartialEvaluator, refEmitter: ReferenceEmitter, referencesRegistry: ReferencesRegistry, isCore: boolean, annotateForClosureCompiler: boolean, compilationMode: CompilationMode, defaultSelector: string | null, useTemplatePipeline: boolean): { | ||
decorator: Map<string, ts.Expression>; | ||
@@ -28,0 +28,0 @@ metadata: R3DirectiveMetadata; |
@@ -13,2 +13,3 @@ /** | ||
export { AbsoluteModuleStrategy, assertSuccessfulReferenceEmit, EmittedReference, FailedEmitResult, ImportedFile, ImportFlags, LocalIdentifierStrategy, LogicalProjectStrategy, ReferenceEmitKind, ReferenceEmitResult, ReferenceEmitStrategy, ReferenceEmitter, RelativePathStrategy, UnifiedModulesStrategy } from './src/emitter'; | ||
export { ImportedSymbolsTracker } from './src/imported_symbols_tracker'; | ||
export { LocalCompilationExtraImportsTracker } from './src/local_compilation_extra_imports_tracker'; | ||
@@ -15,0 +16,0 @@ export { isAliasImportDeclaration, loadIsReferencedAliasDeclarationPatch } from './src/patch_alias_reference_resolution'; |
@@ -9,3 +9,4 @@ /** | ||
import ts from 'typescript'; | ||
import { Decorator, ReflectionHost } from '../../..//ngtsc/reflection'; | ||
import { ImportedSymbolsTracker } from '../../../ngtsc/imports'; | ||
import { Decorator, ReflectionHost } from '../../../ngtsc/reflection'; | ||
import { ImportManager } from '../../../ngtsc/translator'; | ||
@@ -15,3 +16,3 @@ /** Function that can be used to transform class properties. */ | ||
name: ts.Identifier | ts.StringLiteralLike; | ||
}, host: ReflectionHost, factory: ts.NodeFactory, importManager: ImportManager, classDecorator: Decorator, isCore: boolean) => ts.PropertyDeclaration; | ||
}, host: ReflectionHost, factory: ts.NodeFactory, importTracker: ImportedSymbolsTracker, importManager: ImportManager, classDecorator: Decorator, isCore: boolean) => ts.PropertyDeclaration; | ||
/** | ||
@@ -18,0 +19,0 @@ * Creates an import and access for a given Angular core import while |
@@ -9,2 +9,3 @@ /** | ||
import ts from 'typescript'; | ||
import { ImportedSymbolsTracker } from '../../../ngtsc/imports'; | ||
import { ReflectionHost } from '../../../ngtsc/reflection'; | ||
@@ -18,2 +19,2 @@ /** | ||
*/ | ||
export declare function getInitializerApiJitTransform(host: ReflectionHost, isCore: boolean): ts.TransformerFactory<ts.SourceFile>; | ||
export declare function getInitializerApiJitTransform(host: ReflectionHost, importTracker: ImportedSymbolsTracker, isCore: boolean): ts.TransformerFactory<ts.SourceFile>; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2382876
350
39374