@angular/compiler-cli
Advanced tools
Comparing version 18.2.0-next.2 to 18.2.0-next.3
@@ -9,3 +9,3 @@ | ||
constructorParametersDownlevelTransform | ||
} from "./chunk-BR33BNGB.js"; | ||
} from "./chunk-KQXJFD6L.js"; | ||
import { | ||
@@ -37,3 +37,3 @@ DEFAULT_ERROR_CODE, | ||
readConfiguration | ||
} from "./chunk-6OFVLEJY.js"; | ||
} from "./chunk-AQRCENAS.js"; | ||
import { | ||
@@ -43,10 +43,10 @@ angularJitApplicationTransform, | ||
getInitializerApiJitTransform | ||
} from "./chunk-YDQXTFSY.js"; | ||
} from "./chunk-O4UKU4TQ.js"; | ||
import { | ||
OptimizeFor, | ||
TsCreateProgramDriver | ||
} from "./chunk-CW5TTYLY.js"; | ||
} from "./chunk-EFWQF5B3.js"; | ||
import { | ||
isLocalCompilationDiagnostics | ||
} from "./chunk-I56P56EE.js"; | ||
} from "./chunk-5DVL3S3Z.js"; | ||
import { | ||
@@ -85,3 +85,3 @@ ActivePerfRecorder, | ||
import { Version } from "@angular/compiler"; | ||
var VERSION = new Version("18.2.0-next.2"); | ||
var VERSION = new Version("18.2.0-next.3"); | ||
@@ -88,0 +88,0 @@ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs |
@@ -11,4 +11,4 @@ | ||
isFatalLinkerError | ||
} from "../../chunk-GJ2BX3NZ.js"; | ||
import "../../chunk-I56P56EE.js"; | ||
} from "../../chunk-B4ZOGV3N.js"; | ||
import "../../chunk-5DVL3S3Z.js"; | ||
import { | ||
@@ -15,0 +15,0 @@ ConsoleLogger, |
@@ -13,4 +13,4 @@ | ||
needsLinking | ||
} from "../chunk-GJ2BX3NZ.js"; | ||
import "../chunk-I56P56EE.js"; | ||
} from "../chunk-B4ZOGV3N.js"; | ||
import "../chunk-5DVL3S3Z.js"; | ||
import "../chunk-WR7TUJ7M.js"; | ||
@@ -17,0 +17,0 @@ import "../chunk-XNL3EK5H.js"; |
@@ -12,3 +12,3 @@ | ||
forwardRefResolver | ||
} from "../chunk-CW5TTYLY.js"; | ||
} from "../chunk-EFWQF5B3.js"; | ||
import { | ||
@@ -19,3 +19,3 @@ ImportManager, | ||
reflectObjectLiteral | ||
} from "../chunk-I56P56EE.js"; | ||
} from "../chunk-5DVL3S3Z.js"; | ||
import "../chunk-THQF5ZZE.js"; | ||
@@ -22,0 +22,0 @@ import "../chunk-XNL3EK5H.js"; |
@@ -9,6 +9,6 @@ | ||
constructorParametersDownlevelTransform | ||
} from "../chunk-BR33BNGB.js"; | ||
import "../chunk-YDQXTFSY.js"; | ||
import "../chunk-CW5TTYLY.js"; | ||
import "../chunk-I56P56EE.js"; | ||
} from "../chunk-KQXJFD6L.js"; | ||
import "../chunk-O4UKU4TQ.js"; | ||
import "../chunk-EFWQF5B3.js"; | ||
import "../chunk-5DVL3S3Z.js"; | ||
import "../chunk-THQF5ZZE.js"; | ||
@@ -15,0 +15,0 @@ import "../chunk-XNL3EK5H.js"; |
@@ -9,9 +9,9 @@ #!/usr/bin/env node | ||
readCommandLineAndConfiguration | ||
} from "../../chunk-XVC3L7YN.js"; | ||
} from "../../chunk-FL7B5BOI.js"; | ||
import { | ||
EmitFlags | ||
} from "../../chunk-6OFVLEJY.js"; | ||
import "../../chunk-YDQXTFSY.js"; | ||
import "../../chunk-CW5TTYLY.js"; | ||
import "../../chunk-I56P56EE.js"; | ||
} from "../../chunk-AQRCENAS.js"; | ||
import "../../chunk-O4UKU4TQ.js"; | ||
import "../../chunk-EFWQF5B3.js"; | ||
import "../../chunk-5DVL3S3Z.js"; | ||
import "../../chunk-THQF5ZZE.js"; | ||
@@ -18,0 +18,0 @@ import { |
@@ -8,7 +8,7 @@ #!/usr/bin/env node | ||
main | ||
} from "../../chunk-XVC3L7YN.js"; | ||
import "../../chunk-6OFVLEJY.js"; | ||
import "../../chunk-YDQXTFSY.js"; | ||
import "../../chunk-CW5TTYLY.js"; | ||
import "../../chunk-I56P56EE.js"; | ||
} from "../../chunk-FL7B5BOI.js"; | ||
import "../../chunk-AQRCENAS.js"; | ||
import "../../chunk-O4UKU4TQ.js"; | ||
import "../../chunk-EFWQF5B3.js"; | ||
import "../../chunk-5DVL3S3Z.js"; | ||
import "../../chunk-THQF5ZZE.js"; | ||
@@ -15,0 +15,0 @@ import { |
@@ -10,3 +10,3 @@ /** | ||
import { AstObject, AstValue } from '../../ast/ast_value'; | ||
export declare const PLACEHOLDER_VERSION = "18.2.0-next.2"; | ||
export declare const PLACEHOLDER_VERSION = "18.2.0-next.3"; | ||
export declare function wrapReference<TExpression>(wrapped: o.WrappedNodeExpr<TExpression>): R3Reference; | ||
@@ -13,0 +13,0 @@ /** |
{ | ||
"name": "@angular/compiler-cli", | ||
"version": "18.2.0-next.2", | ||
"version": "18.2.0-next.3", | ||
"description": "Angular - the compiler CLI for Node.js", | ||
@@ -56,3 +56,3 @@ "typings": "index.d.ts", | ||
"peerDependencies": { | ||
"@angular/compiler": "18.2.0-next.2", | ||
"@angular/compiler": "18.2.0-next.3", | ||
"typescript": ">=5.4 <5.6" | ||
@@ -59,0 +59,0 @@ }, |
@@ -18,3 +18,3 @@ /** | ||
import { AnalysisOutput, CompilationMode, CompileResult, DecoratorHandler, DetectResult, HandlerPrecedence, ResolveResult } from '../../../transform'; | ||
import { InjectableClassRegistry, ReferencesRegistry } from '../../common'; | ||
import { InjectableClassRegistry, JitDeclarationRegistry, ReferencesRegistry } from '../../common'; | ||
export interface NgModuleAnalysis { | ||
@@ -88,3 +88,4 @@ mod: R3NgModuleMetadata; | ||
private readonly localCompilationExtraImportsTracker; | ||
constructor(reflector: ReflectionHost, evaluator: PartialEvaluator, metaReader: MetadataReader, metaRegistry: MetadataRegistry, scopeRegistry: LocalModuleScopeRegistry, referencesRegistry: ReferencesRegistry, exportedProviderStatusResolver: ExportedProviderStatusResolver, semanticDepGraphUpdater: SemanticDepGraphUpdater | null, isCore: boolean, refEmitter: ReferenceEmitter, annotateForClosureCompiler: boolean, onlyPublishPublicTypings: boolean, injectableRegistry: InjectableClassRegistry, perf: PerfRecorder, includeClassMetadata: boolean, includeSelectorScope: boolean, compilationMode: CompilationMode, localCompilationExtraImportsTracker: LocalCompilationExtraImportsTracker | null); | ||
private readonly jitDeclarationRegistry; | ||
constructor(reflector: ReflectionHost, evaluator: PartialEvaluator, metaReader: MetadataReader, metaRegistry: MetadataRegistry, scopeRegistry: LocalModuleScopeRegistry, referencesRegistry: ReferencesRegistry, exportedProviderStatusResolver: ExportedProviderStatusResolver, semanticDepGraphUpdater: SemanticDepGraphUpdater | null, isCore: boolean, refEmitter: ReferenceEmitter, annotateForClosureCompiler: boolean, onlyPublishPublicTypings: boolean, injectableRegistry: InjectableClassRegistry, perf: PerfRecorder, includeClassMetadata: boolean, includeSelectorScope: boolean, compilationMode: CompilationMode, localCompilationExtraImportsTracker: LocalCompilationExtraImportsTracker | null, jitDeclarationRegistry: JitDeclarationRegistry); | ||
readonly precedence = HandlerPrecedence.PRIMARY; | ||
@@ -91,0 +92,0 @@ readonly name = "NgModuleDecoratorHandler"; |
@@ -22,3 +22,3 @@ /** | ||
*/ | ||
_compilePoisedComponents?: boolean; | ||
_compilePoisonedComponents?: boolean; | ||
/** | ||
@@ -25,0 +25,0 @@ * An option to enable ngtsc's internal performance tracing. |
@@ -46,2 +46,9 @@ /** | ||
private newImports; | ||
/** | ||
* Keeps track of imports marked for removal. The root-level key is the file from which the | ||
* import should be removed, the inner map key is the name of the module from which the symbol | ||
* is being imported. The value of the inner map is a set of symbol names that should be removed. | ||
* Note! the inner map tracks the original names of the imported symbols, not their local aliases. | ||
*/ | ||
private removedImports; | ||
private nextUniqueIndex; | ||
@@ -64,2 +71,10 @@ private config; | ||
}): ts.Identifier | ts.PropertyAccessExpression; | ||
/** | ||
* Marks all imported symbols with a specific name for removal. | ||
* Call `addImport` to undo this operation. | ||
* @param requestedFile File from which to remove the imports. | ||
* @param exportSymbolName Declared name of the symbol being removed. | ||
* @param moduleSpecifier Module from which the symbol is being imported. | ||
*/ | ||
removeImport(requestedFile: ts.SourceFile, exportSymbolName: string, moduleSpecifier: string): void; | ||
private _generateNewImport; | ||
@@ -79,2 +94,3 @@ /** | ||
reusedOriginalAliasDeclarations: Set<AliasImportDeclaration>; | ||
deletedImports: Set<ts.ImportDeclaration>; | ||
}; | ||
@@ -96,2 +112,3 @@ /** | ||
private _getNewImportsTrackerForFile; | ||
private _canAddSpecifier; | ||
} |
@@ -16,3 +16,4 @@ /** | ||
* - The transform inserts additional optional statements after imports. | ||
* - The transform deletes any nodes that are marked for deletion by the manager. | ||
*/ | ||
export declare function createTsTransformForImportManager(manager: ImportManager, extraStatementsForFiles?: Map<string, ts.Statement[]>): 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
2569004
42549
112