Socket
Socket
Sign inDemoInstall

@angular/compiler-cli

Package Overview
Dependencies
Maintainers
2
Versions
828
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular/compiler-cli - npm Package Compare versions

Comparing version 18.2.0 to 19.0.0-next.0

bundles/chunk-QTQ6EDMV.js

2

bundles/chunk-KCKRBU6N.js

@@ -302,3 +302,3 @@

import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
var PLACEHOLDER_VERSION = "18.2.0";
var PLACEHOLDER_VERSION = "19.0.0-next.0";
function wrapReference(wrapped) {

@@ -305,0 +305,0 @@ return { value: wrapped, type: wrapped };

@@ -36,3 +36,3 @@

readConfiguration
} from "./chunk-K32LEXRQ.js";
} from "./chunk-TOHNTVMY.js";
import {

@@ -83,3 +83,3 @@ angularJitApplicationTransform,

import { Version } from "@angular/compiler";
var VERSION = new Version("18.2.0");
var VERSION = new Version("19.0.0-next.0");

@@ -86,0 +86,0 @@ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs

@@ -9,6 +9,6 @@ #!/usr/bin/env node

readCommandLineAndConfiguration
} from "../../chunk-ZLQQWV6U.js";
} from "../../chunk-QTQ6EDMV.js";
import {
EmitFlags
} from "../../chunk-K32LEXRQ.js";
} from "../../chunk-TOHNTVMY.js";
import "../../chunk-ZHNORXPH.js";

@@ -15,0 +15,0 @@ import "../../chunk-2SSA4Y5F.js";

@@ -8,4 +8,4 @@ #!/usr/bin/env node

main
} from "../../chunk-ZLQQWV6U.js";
import "../../chunk-K32LEXRQ.js";
} from "../../chunk-QTQ6EDMV.js";
import "../../chunk-TOHNTVMY.js";
import "../../chunk-ZHNORXPH.js";

@@ -12,0 +12,0 @@ import "../../chunk-2SSA4Y5F.js";

@@ -10,3 +10,3 @@ /**

import { AstObject, AstValue } from '../../ast/ast_value';
export declare const PLACEHOLDER_VERSION = "18.2.0";
export declare const PLACEHOLDER_VERSION = "19.0.0-next.0";
export declare function wrapReference<TExpression>(wrapped: o.WrappedNodeExpr<TExpression>): R3Reference;

@@ -13,0 +13,0 @@ /**

{
"name": "@angular/compiler-cli",
"version": "18.2.0",
"version": "19.0.0-next.0",
"description": "Angular - the compiler CLI for Node.js",

@@ -56,3 +56,3 @@ "typings": "index.d.ts",

"peerDependencies": {
"@angular/compiler": "18.2.0",
"@angular/compiler": "19.0.0-next.0",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc