Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@angular/compiler-cli

Package Overview
Dependencies
Maintainers
2
Versions
841
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-next.1 to 18.2.0-next.2

bundles/chunk-6OFVLEJY.js

12

bundles/index.js

@@ -9,3 +9,3 @@

constructorParametersDownlevelTransform
} from "./chunk-Z5UNTO33.js";
} from "./chunk-BR33BNGB.js";
import {

@@ -37,3 +37,3 @@ DEFAULT_ERROR_CODE,

readConfiguration
} from "./chunk-K6EUU7R4.js";
} from "./chunk-6OFVLEJY.js";
import {

@@ -43,10 +43,10 @@ angularJitApplicationTransform,

getInitializerApiJitTransform
} from "./chunk-SJE2NFCG.js";
} from "./chunk-YDQXTFSY.js";
import {
OptimizeFor,
TsCreateProgramDriver
} from "./chunk-GKWXRLYL.js";
} from "./chunk-CW5TTYLY.js";
import {
isLocalCompilationDiagnostics
} from "./chunk-AOEZR223.js";
} from "./chunk-I56P56EE.js";
import {

@@ -85,3 +85,3 @@ ActivePerfRecorder,

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

@@ -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-HXUTQSG7.js";
import "../../chunk-AOEZR223.js";
} from "../../chunk-GJ2BX3NZ.js";
import "../../chunk-I56P56EE.js";
import {

@@ -15,0 +15,0 @@ ConsoleLogger,

@@ -13,4 +13,4 @@

needsLinking
} from "../chunk-HXUTQSG7.js";
import "../chunk-AOEZR223.js";
} from "../chunk-GJ2BX3NZ.js";
import "../chunk-I56P56EE.js";
import "../chunk-WR7TUJ7M.js";

@@ -17,0 +17,0 @@ import "../chunk-XNL3EK5H.js";

@@ -12,8 +12,9 @@

forwardRefResolver
} from "../chunk-GKWXRLYL.js";
} from "../chunk-CW5TTYLY.js";
import {
ImportManager,
Reference,
TypeScriptReflectionHost,
reflectObjectLiteral
} from "../chunk-AOEZR223.js";
} from "../chunk-I56P56EE.js";
import "../chunk-THQF5ZZE.js";

@@ -24,2 +25,3 @@ import "../chunk-XNL3EK5H.js";

DynamicValue,
ImportManager,
PartialEvaluator,

@@ -26,0 +28,0 @@ PotentialImportKind,

@@ -9,6 +9,6 @@

constructorParametersDownlevelTransform
} from "../chunk-Z5UNTO33.js";
import "../chunk-SJE2NFCG.js";
import "../chunk-GKWXRLYL.js";
import "../chunk-AOEZR223.js";
} from "../chunk-BR33BNGB.js";
import "../chunk-YDQXTFSY.js";
import "../chunk-CW5TTYLY.js";
import "../chunk-I56P56EE.js";
import "../chunk-THQF5ZZE.js";

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

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

readCommandLineAndConfiguration
} from "../../chunk-MAWNNEES.js";
} from "../../chunk-XVC3L7YN.js";
import {
EmitFlags
} from "../../chunk-K6EUU7R4.js";
import "../../chunk-SJE2NFCG.js";
import "../../chunk-GKWXRLYL.js";
import "../../chunk-AOEZR223.js";
} from "../../chunk-6OFVLEJY.js";
import "../../chunk-YDQXTFSY.js";
import "../../chunk-CW5TTYLY.js";
import "../../chunk-I56P56EE.js";
import "../../chunk-THQF5ZZE.js";

@@ -18,0 +18,0 @@ import {

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

main
} from "../../chunk-MAWNNEES.js";
import "../../chunk-K6EUU7R4.js";
import "../../chunk-SJE2NFCG.js";
import "../../chunk-GKWXRLYL.js";
import "../../chunk-AOEZR223.js";
} from "../../chunk-XVC3L7YN.js";
import "../../chunk-6OFVLEJY.js";
import "../../chunk-YDQXTFSY.js";
import "../../chunk-CW5TTYLY.js";
import "../../chunk-I56P56EE.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.1";
export declare const PLACEHOLDER_VERSION = "18.2.0-next.2";
export declare function wrapReference<TExpression>(wrapped: o.WrappedNodeExpr<TExpression>): R3Reference;

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

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

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

"dependencies": {
"@babel/core": "7.24.7",
"@babel/core": "7.24.9",
"@jridgewell/sourcemap-codec": "^1.4.14",

@@ -57,3 +57,3 @@ "reflect-metadata": "^0.2.0",

"peerDependencies": {
"@angular/compiler": "18.2.0-next.1",
"@angular/compiler": "18.2.0-next.2",
"typescript": ">=5.4 <5.6"

@@ -60,0 +60,0 @@ },

@@ -17,1 +17,2 @@ /**

export { PotentialImport, PotentialImportKind, PotentialImportMode, TemplateTypeChecker, } from '../src/ngtsc/typecheck/api';
export { ImportManager } from '../src/ngtsc/translator';

@@ -34,2 +34,3 @@ /**

inputs: ClassPropertyMapping<InputMapping>;
inputFieldNamesFromMetadataArray: Set<string>;
outputs: ClassPropertyMapping;

@@ -36,0 +37,0 @@ /**

@@ -28,2 +28,3 @@ /**

inputs: ClassPropertyMapping<InputMapping>;
inputFieldNamesFromMetadataArray: Set<string>;
outputs: ClassPropertyMapping;

@@ -30,0 +31,0 @@ isPoisoned: boolean;

@@ -33,2 +33,3 @@ /**

rawHostDirectives: ts.Expression | null;
inputFieldNamesFromMetadataArray: Set<string>;
} | {

@@ -35,0 +36,0 @@ jitForced: true;

@@ -19,2 +19,7 @@ /**

/**
* Whether components that are poisoned should still be processed.
* E.g. for generation of type check blocks and diagnostics.
*/
_compilePoisedComponents?: boolean;
/**
* An option to enable ngtsc's internal performance tracing.

@@ -21,0 +26,0 @@ *

@@ -428,2 +428,14 @@ /**

/**
* A `@let` declaration in a template isn't used.
*
* For example:
* ```
* @let used = 1; <!-- Not an error -->
* @let notUsed = 2; <!-- Error -->
*
* {{used}}
* ```
*/
UNUSED_LET_DECLARATION = 8112,
/**
* The template type-checking engine would need to generate an inline type check block for a

@@ -430,0 +442,0 @@ * component, but the current type-checking environment doesn't support it.

@@ -28,3 +28,4 @@ /**

INTERPOLATED_SIGNAL_NOT_INVOKED = "interpolatedSignalNotInvoked",
CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION = "controlFlowPreventingContentProjection"
CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION = "controlFlowPreventingContentProjection",
UNUSED_LET_DECLARATION = "unusedLetDeclaration"
}

@@ -173,2 +173,7 @@ /**

/**
* List of input fields that were defined in the class decorator
* metadata. Null for directives extracted from `.d.ts`
*/
inputFieldNamesFromMetadataArray: Set<string> | null;
/**
* A mapping of output field names to the property names.

@@ -175,0 +180,0 @@ */

@@ -30,2 +30,12 @@ /**

requestedFile: TFile;
/**
* Specifies an alias under which the symbol can be referenced within
* the file (e.g. `import { symbol as alias } from 'module'`).
*
* !!!Warning!!! passing in this alias is considered unsafe, because the import manager won't
* try to avoid conflicts with existing identifiers in the file if it is specified. As such,
* this option should only be used if the caller has verified that the alias won't conflict
* with anything in the file.
*/
unsafeAliasOverride?: string;
}

@@ -32,0 +42,0 @@ /**

@@ -44,3 +44,2 @@ /**

export declare class ImportManager implements ImportGenerator<ts.SourceFile, ts.Identifier | ts.PropertyAccessExpression> {
private _config;
/** List of new imports that will be inserted into given source files. */

@@ -52,3 +51,3 @@ private newImports;

private reuseGeneratedImportsTracker;
constructor(_config?: Partial<ImportManagerConfig>);
constructor(config?: Partial<ImportManagerConfig>);
/** Adds a side-effect import for the given module. */

@@ -55,0 +54,0 @@ addSideEffectImport(requestedFile: ts.SourceFile, moduleSpecifier: string): void;

@@ -58,2 +58,12 @@ /**

export declare abstract class TemplateCheckWithVisitor<Code extends ErrorCode> implements TemplateCheck<Code> {
/**
* When extended diagnostics were first introduced, the visitor wasn't implemented correctly
* which meant that it wasn't visiting the `templateAttrs` of structural directives (e.g.
* the expression of `*ngIf`). Fixing the issue causes a lot of internal breakages and will likely
* need to be done in a major version to avoid external breakages. This flag is used to opt out
* pre-existing diagnostics from the correct behavior until the breakages have been fixed while
* ensuring that newly-written diagnostics are correct from the beginning.
* TODO(crisbeto): remove this flag and fix the internal brekages.
*/
readonly canVisitStructuralAttributes: boolean;
abstract code: Code;

@@ -60,0 +70,0 @@ /**

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