@angular/compiler-cli
Advanced tools
Comparing version 18.2.0 to 18.2.1
@@ -9,3 +9,3 @@ | ||
constructorParametersDownlevelTransform | ||
} from "./chunk-JA5OGHV4.js"; | ||
} from "./chunk-4GMJ67OV.js"; | ||
import { | ||
@@ -37,3 +37,3 @@ DEFAULT_ERROR_CODE, | ||
readConfiguration | ||
} from "./chunk-K32LEXRQ.js"; | ||
} from "./chunk-5I46MBAD.js"; | ||
import { | ||
@@ -43,18 +43,18 @@ angularJitApplicationTransform, | ||
getInitializerApiJitTransform | ||
} from "./chunk-ZHNORXPH.js"; | ||
} from "./chunk-ZHJO7SMX.js"; | ||
import { | ||
OptimizeFor, | ||
TsCreateProgramDriver | ||
} from "./chunk-2SSA4Y5F.js"; | ||
} from "./chunk-56IXZIL6.js"; | ||
import { | ||
isLocalCompilationDiagnostics | ||
} from "./chunk-WYWH4ABE.js"; | ||
} from "./chunk-5DVL3S3Z.js"; | ||
import { | ||
ActivePerfRecorder, | ||
PerfPhase | ||
} from "./chunk-ERN7RQQ7.js"; | ||
} from "./chunk-THQF5ZZE.js"; | ||
import { | ||
ConsoleLogger, | ||
LogLevel | ||
} from "./chunk-LYJKWJUC.js"; | ||
} from "./chunk-SBDNBITT.js"; | ||
import { | ||
@@ -80,10 +80,10 @@ LogicalFileSystem, | ||
toRelativeImport | ||
} from "./chunk-3W345P4E.js"; | ||
} from "./chunk-XNL3EK5H.js"; | ||
import "./chunk-XI2RTGAL.js"; | ||
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version.mjs | ||
import { Version } from "@angular/compiler"; | ||
var VERSION = new Version("18.2.0"); | ||
var VERSION = new Version("18.2.1"); | ||
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs | ||
var NgTscPlugin = class { | ||
@@ -164,3 +164,3 @@ get compiler() { | ||
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/index.mjs | ||
setFileSystem(new NodeJSFileSystem()); | ||
@@ -167,0 +167,0 @@ export { |
@@ -11,18 +11,18 @@ | ||
isFatalLinkerError | ||
} from "../../chunk-KCKRBU6N.js"; | ||
import "../../chunk-WYWH4ABE.js"; | ||
} from "../../chunk-B4ZOGV3N.js"; | ||
import "../../chunk-5DVL3S3Z.js"; | ||
import { | ||
ConsoleLogger, | ||
LogLevel | ||
} from "../../chunk-LYJKWJUC.js"; | ||
import "../../chunk-QYV344EV.js"; | ||
} from "../../chunk-SBDNBITT.js"; | ||
import "../../chunk-WR7TUJ7M.js"; | ||
import { | ||
NodeJSFileSystem | ||
} from "../../chunk-3W345P4E.js"; | ||
} from "../../chunk-XNL3EK5H.js"; | ||
import "../../chunk-XI2RTGAL.js"; | ||
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.mjs | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.mjs | ||
import { types as t4 } from "@babel/core"; | ||
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_factory.mjs | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_factory.mjs | ||
import { types as t } from "@babel/core"; | ||
@@ -152,3 +152,3 @@ var BabelAstFactory = class { | ||
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_host.mjs | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_host.mjs | ||
import { types as t2 } from "@babel/core"; | ||
@@ -281,3 +281,3 @@ var BabelAstHost = class { | ||
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_declaration_scope.mjs | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_declaration_scope.mjs | ||
import { types as t3 } from "@babel/core"; | ||
@@ -308,3 +308,3 @@ var BabelDeclarationScope = class { | ||
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.mjs | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.mjs | ||
function createEs2015LinkerPlugin({ fileSystem, logger, ...options }) { | ||
@@ -410,3 +410,3 @@ let fileLinker = null; | ||
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_plugin.mjs | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_plugin.mjs | ||
function defaultLinkerPlugin(api, options) { | ||
@@ -421,3 +421,3 @@ api.assertVersion(7); | ||
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/index.mjs | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/index.mjs | ||
var babel_default = defaultLinkerPlugin; | ||
@@ -424,0 +424,0 @@ export { |
@@ -13,6 +13,6 @@ | ||
needsLinking | ||
} from "../chunk-KCKRBU6N.js"; | ||
import "../chunk-WYWH4ABE.js"; | ||
import "../chunk-QYV344EV.js"; | ||
import "../chunk-3W345P4E.js"; | ||
} from "../chunk-B4ZOGV3N.js"; | ||
import "../chunk-5DVL3S3Z.js"; | ||
import "../chunk-WR7TUJ7M.js"; | ||
import "../chunk-XNL3EK5H.js"; | ||
import "../chunk-XI2RTGAL.js"; | ||
@@ -19,0 +19,0 @@ export { |
@@ -7,3 +7,3 @@ #!/usr/bin/env node | ||
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/index.mjs | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/index.mjs | ||
function stringEncaseCRLFWithFirstIndex(value, prefix, postfix, index) { | ||
@@ -10,0 +10,0 @@ let endIndex = 0; |
@@ -7,3 +7,3 @@ | ||
PerfPhase | ||
} from "../chunk-ERN7RQQ7.js"; | ||
} from "../chunk-THQF5ZZE.js"; | ||
import "../chunk-XI2RTGAL.js"; | ||
@@ -10,0 +10,0 @@ export { |
@@ -8,7 +8,7 @@ | ||
LogLevel | ||
} from "../chunk-LYJKWJUC.js"; | ||
} from "../chunk-SBDNBITT.js"; | ||
import { | ||
SourceFile, | ||
SourceFileLoader | ||
} from "../chunk-QYV344EV.js"; | ||
} from "../chunk-WR7TUJ7M.js"; | ||
import { | ||
@@ -34,3 +34,3 @@ LogicalFileSystem, | ||
toRelativeImport | ||
} from "../chunk-3W345P4E.js"; | ||
} from "../chunk-XNL3EK5H.js"; | ||
import "../chunk-XI2RTGAL.js"; | ||
@@ -37,0 +37,0 @@ export { |
@@ -12,3 +12,3 @@ | ||
forwardRefResolver | ||
} from "../chunk-2SSA4Y5F.js"; | ||
} from "../chunk-56IXZIL6.js"; | ||
import { | ||
@@ -19,5 +19,5 @@ ImportManager, | ||
reflectObjectLiteral | ||
} from "../chunk-WYWH4ABE.js"; | ||
import "../chunk-ERN7RQQ7.js"; | ||
import "../chunk-3W345P4E.js"; | ||
} from "../chunk-5DVL3S3Z.js"; | ||
import "../chunk-THQF5ZZE.js"; | ||
import "../chunk-XNL3EK5H.js"; | ||
import "../chunk-XI2RTGAL.js"; | ||
@@ -24,0 +24,0 @@ export { |
@@ -9,8 +9,8 @@ | ||
constructorParametersDownlevelTransform | ||
} from "../chunk-JA5OGHV4.js"; | ||
import "../chunk-ZHNORXPH.js"; | ||
import "../chunk-2SSA4Y5F.js"; | ||
import "../chunk-WYWH4ABE.js"; | ||
import "../chunk-ERN7RQQ7.js"; | ||
import "../chunk-3W345P4E.js"; | ||
} from "../chunk-4GMJ67OV.js"; | ||
import "../chunk-ZHJO7SMX.js"; | ||
import "../chunk-56IXZIL6.js"; | ||
import "../chunk-5DVL3S3Z.js"; | ||
import "../chunk-THQF5ZZE.js"; | ||
import "../chunk-XNL3EK5H.js"; | ||
import "../chunk-XI2RTGAL.js"; | ||
@@ -17,0 +17,0 @@ export { |
@@ -9,20 +9,20 @@ #!/usr/bin/env node | ||
readCommandLineAndConfiguration | ||
} from "../../chunk-ZLQQWV6U.js"; | ||
} from "../../chunk-NOUP24WG.js"; | ||
import { | ||
EmitFlags | ||
} from "../../chunk-K32LEXRQ.js"; | ||
import "../../chunk-ZHNORXPH.js"; | ||
import "../../chunk-2SSA4Y5F.js"; | ||
import "../../chunk-WYWH4ABE.js"; | ||
import "../../chunk-ERN7RQQ7.js"; | ||
} from "../../chunk-5I46MBAD.js"; | ||
import "../../chunk-ZHJO7SMX.js"; | ||
import "../../chunk-56IXZIL6.js"; | ||
import "../../chunk-5DVL3S3Z.js"; | ||
import "../../chunk-THQF5ZZE.js"; | ||
import { | ||
NodeJSFileSystem, | ||
setFileSystem | ||
} from "../../chunk-3W345P4E.js"; | ||
} from "../../chunk-XNL3EK5H.js"; | ||
import "../../chunk-XI2RTGAL.js"; | ||
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs | ||
import "reflect-metadata"; | ||
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/extract_i18n.mjs | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/extract_i18n.mjs | ||
import yargs from "yargs"; | ||
@@ -50,3 +50,3 @@ function mainXi18n(args2, consoleError = console.error) { | ||
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs | ||
process.title = "Angular i18n Message Extractor (ng-xi18n)"; | ||
@@ -53,0 +53,0 @@ var args = process.argv.slice(2); |
@@ -8,15 +8,15 @@ #!/usr/bin/env node | ||
main | ||
} from "../../chunk-ZLQQWV6U.js"; | ||
import "../../chunk-K32LEXRQ.js"; | ||
import "../../chunk-ZHNORXPH.js"; | ||
import "../../chunk-2SSA4Y5F.js"; | ||
import "../../chunk-WYWH4ABE.js"; | ||
import "../../chunk-ERN7RQQ7.js"; | ||
} from "../../chunk-NOUP24WG.js"; | ||
import "../../chunk-5I46MBAD.js"; | ||
import "../../chunk-ZHJO7SMX.js"; | ||
import "../../chunk-56IXZIL6.js"; | ||
import "../../chunk-5DVL3S3Z.js"; | ||
import "../../chunk-THQF5ZZE.js"; | ||
import { | ||
NodeJSFileSystem, | ||
setFileSystem | ||
} from "../../chunk-3W345P4E.js"; | ||
} from "../../chunk-XNL3EK5H.js"; | ||
import "../../chunk-XI2RTGAL.js"; | ||
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/bin/ngc.mjs | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/bin/ngc.mjs | ||
import "reflect-metadata"; | ||
@@ -23,0 +23,0 @@ async function runNgcComamnd() { |
@@ -10,3 +10,3 @@ /** | ||
import { AstObject, AstValue } from '../../ast/ast_value'; | ||
export declare const PLACEHOLDER_VERSION = "18.2.0"; | ||
export declare const PLACEHOLDER_VERSION = "18.2.1"; | ||
export declare function wrapReference<TExpression>(wrapped: o.WrappedNodeExpr<TExpression>): R3Reference; | ||
@@ -13,0 +13,0 @@ /** |
{ | ||
"name": "@angular/compiler-cli", | ||
"version": "18.2.0", | ||
"version": "18.2.1", | ||
"description": "Angular - the compiler CLI for Node.js", | ||
@@ -56,3 +56,3 @@ "typings": "index.d.ts", | ||
"peerDependencies": { | ||
"@angular/compiler": "18.2.0", | ||
"@angular/compiler": "18.2.1", | ||
"typescript": ">=5.4 <5.6" | ||
@@ -59,0 +59,0 @@ }, |
@@ -109,3 +109,3 @@ /** | ||
} | ||
export interface FunctionEntry extends DocEntry { | ||
export interface FunctionSignatureMetadata extends DocEntry { | ||
params: ParameterEntry[]; | ||
@@ -147,7 +147,10 @@ returnType: string; | ||
} | ||
export type FunctionEntry = FunctionDefinitionEntry & DocEntry & { | ||
implementation: FunctionSignatureMetadata; | ||
}; | ||
/** Interface describing a function with overload signatures. */ | ||
export interface FunctionWithOverloads { | ||
export interface FunctionDefinitionEntry { | ||
name: string; | ||
signatures: FunctionEntry[]; | ||
implementation: FunctionEntry | null; | ||
signatures: FunctionSignatureMetadata[]; | ||
implementation: FunctionSignatureMetadata | null; | ||
} | ||
@@ -168,4 +171,4 @@ /** | ||
export interface InitializerApiFunctionEntry extends DocEntry { | ||
callFunction: FunctionWithOverloads; | ||
subFunctions: FunctionWithOverloads[]; | ||
callFunction: FunctionDefinitionEntry; | ||
subFunctions: FunctionDefinitionEntry[]; | ||
__docsMetadata__?: { | ||
@@ -172,0 +175,0 @@ /** |
@@ -9,15 +9,25 @@ /** | ||
import ts from 'typescript'; | ||
import { FunctionEntry, ParameterEntry } from './entities'; | ||
import { EntryType, FunctionEntry, ParameterEntry } from './entities'; | ||
export type FunctionLike = ts.FunctionDeclaration | ts.MethodDeclaration | ts.MethodSignature | ts.CallSignatureDeclaration | ts.ConstructSignatureDeclaration; | ||
export declare class FunctionExtractor { | ||
private name; | ||
private declaration; | ||
private exportDeclaration; | ||
private typeChecker; | ||
constructor(name: string, declaration: FunctionLike, typeChecker: ts.TypeChecker); | ||
constructor(name: string, exportDeclaration: FunctionLike, typeChecker: ts.TypeChecker); | ||
extract(): FunctionEntry; | ||
/** Gets all overloads for the function (excluding this extractor's FunctionDeclaration). */ | ||
getOverloads(): ts.FunctionDeclaration[]; | ||
private getSymbol; | ||
} | ||
/** Extracts parameters of the given parameter declaration AST nodes. */ | ||
export declare function extractAllParams(params: ts.NodeArray<ts.ParameterDeclaration>, typeChecker: ts.TypeChecker): ParameterEntry[]; | ||
export declare function extractCallSignatures(name: string, typeChecker: ts.TypeChecker, type: ts.Type): { | ||
name: string; | ||
entryType: EntryType; | ||
description: string; | ||
generics: import("./entities").GenericEntry[]; | ||
isNewType: boolean; | ||
jsdocTags: import("./entities").JsDocTagEntry[]; | ||
params: ParameterEntry[]; | ||
rawComment: string; | ||
returnType: string; | ||
}[]; | ||
/** Finds the implementation of the given function declaration overload signature. */ | ||
export declare function findImplementationOfFunction(node: FunctionLike, typeChecker: ts.TypeChecker): FunctionLike | undefined; |
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
2568985
42556
1