@angular/core 20.3.0 → 20.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.d.d.ts +1 -1
- package/chrome_dev_tools_performance.d.d.ts +1 -1
- package/discovery.d.d.ts +43 -3
- package/effect.d.d.ts +1 -1
- package/event_dispatcher.d.d.ts +1 -1
- package/fesm2022/attribute.mjs +1 -1
- package/fesm2022/attribute.mjs.map +1 -1
- package/fesm2022/core.mjs +4 -27
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/debug_node.mjs +505 -483
- package/fesm2022/debug_node.mjs.map +1 -1
- package/fesm2022/effect.mjs +1 -1
- package/fesm2022/effect.mjs.map +1 -1
- package/fesm2022/not_found.mjs +1 -1
- package/fesm2022/not_found.mjs.map +1 -1
- package/fesm2022/primitives/di.mjs +1 -1
- package/fesm2022/primitives/di.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +2 -2
- package/fesm2022/primitives/signals.mjs.map +1 -1
- package/fesm2022/resource.mjs +1 -1
- package/fesm2022/resource.mjs.map +1 -1
- package/fesm2022/root_effect_scheduler.mjs +47 -27
- package/fesm2022/root_effect_scheduler.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +3 -1
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/signal.mjs +32 -11
- package/fesm2022/signal.mjs.map +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/weak_ref.mjs +1 -1
- package/fesm2022/weak_ref.mjs.map +1 -1
- package/graph.d.d.ts +24 -4
- package/index.d.ts +10 -94
- package/package.json +2 -2
- package/primitives/di/index.d.ts +1 -1
- package/primitives/event-dispatch/index.d.ts +1 -1
- package/primitives/signals/index.d.ts +2 -2
- package/rxjs-interop/index.d.ts +3 -1
- package/schematics/bundles/add-bootstrap-context-to-server-main.cjs +5 -5
- package/schematics/bundles/{apply_import_manager-CeOmw2t5.cjs → apply_import_manager-C8vgfoJx.cjs} +3 -3
- package/schematics/bundles/cleanup-unused-imports.cjs +5 -5
- package/schematics/bundles/{compiler_host-CXabxf2P.cjs → compiler_host-DC7Yquzy.cjs} +2 -2
- package/schematics/bundles/control-flow-migration.cjs +3 -3
- package/schematics/bundles/document-core.cjs +5 -5
- package/schematics/bundles/imports-CIX-JgAN.cjs +1 -1
- package/schematics/bundles/{index-CLpTl6rd.cjs → index-B5lv9x1v.cjs} +101 -29
- package/schematics/bundles/{index-CKtFJ_6n.cjs → index-Bufm9_1r.cjs} +4 -4
- package/schematics/bundles/inject-flags.cjs +5 -5
- package/schematics/bundles/inject-migration.cjs +3 -3
- package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
- package/schematics/bundles/{migrate_ts_type_references-CjIN7lkE.cjs → migrate_ts_type_references-Ctl6-8qO.cjs} +5 -5
- package/schematics/bundles/ng_decorators-B5HCqr20.cjs +1 -1
- package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
- package/schematics/bundles/output-migration.cjs +6 -6
- package/schematics/bundles/{project_paths-CGqaSutM.cjs → project_paths-CIUSEdn4.cjs} +3 -3
- package/schematics/bundles/{project_tsconfig_paths-RAvhwg8f.cjs → project_tsconfig_paths-crm5NKE7.cjs} +168 -198
- package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
- package/schematics/bundles/route-lazy-loading.cjs +48 -4
- package/schematics/bundles/router-current-navigation.cjs +4 -4
- package/schematics/bundles/self-closing-tags-migration.cjs +4 -4
- package/schematics/bundles/signal-input-migration.cjs +17 -9
- package/schematics/bundles/signal-queries-migration.cjs +7 -7
- package/schematics/bundles/signals.cjs +7 -7
- package/schematics/bundles/standalone-migration.cjs +4 -4
- package/schematics/bundles/symbol-VPWguRxr.cjs +1 -1
- package/schematics/bundles/test-bed-get.cjs +4 -4
- package/testing/index.d.ts +1 -1
- package/weak_ref.d.d.ts +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.3.
|
|
3
|
+
* @license Angular v20.3.1
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
9
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-crm5NKE7.cjs');
|
|
10
10
|
var ts = require('typescript');
|
|
11
11
|
var p = require('path');
|
|
12
12
|
require('os');
|
|
@@ -891,7 +891,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
891
891
|
function compileDeclareClassMetadata(metadata) {
|
|
892
892
|
const definitionMap = new project_tsconfig_paths.DefinitionMap();
|
|
893
893
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
894
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.3.
|
|
894
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.3.1'));
|
|
895
895
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
896
896
|
definitionMap.set('type', metadata.type);
|
|
897
897
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -909,7 +909,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
909
909
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? project_tsconfig_paths.literal(null));
|
|
910
910
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? project_tsconfig_paths.literal(null));
|
|
911
911
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
912
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.3.
|
|
912
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.3.1'));
|
|
913
913
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
914
914
|
definitionMap.set('type', metadata.type);
|
|
915
915
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -1004,7 +1004,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
1004
1004
|
const definitionMap = new project_tsconfig_paths.DefinitionMap();
|
|
1005
1005
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
1006
1006
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(minVersion));
|
|
1007
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.3.
|
|
1007
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.3.1'));
|
|
1008
1008
|
// e.g. `type: MyDirective`
|
|
1009
1009
|
definitionMap.set('type', meta.type.value);
|
|
1010
1010
|
if (meta.isStandalone !== undefined) {
|
|
@@ -1420,7 +1420,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
1420
1420
|
function compileDeclareFactoryFunction(meta) {
|
|
1421
1421
|
const definitionMap = new project_tsconfig_paths.DefinitionMap();
|
|
1422
1422
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
1423
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.3.
|
|
1423
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.3.1'));
|
|
1424
1424
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
1425
1425
|
definitionMap.set('type', meta.type.value);
|
|
1426
1426
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -1455,7 +1455,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
1455
1455
|
function createInjectableDefinitionMap(meta) {
|
|
1456
1456
|
const definitionMap = new project_tsconfig_paths.DefinitionMap();
|
|
1457
1457
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
1458
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.3.
|
|
1458
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.3.1'));
|
|
1459
1459
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
1460
1460
|
definitionMap.set('type', meta.type.value);
|
|
1461
1461
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -1506,7 +1506,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
1506
1506
|
function createInjectorDefinitionMap(meta) {
|
|
1507
1507
|
const definitionMap = new project_tsconfig_paths.DefinitionMap();
|
|
1508
1508
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
1509
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.3.
|
|
1509
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.3.1'));
|
|
1510
1510
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
1511
1511
|
definitionMap.set('type', meta.type.value);
|
|
1512
1512
|
definitionMap.set('providers', meta.providers);
|
|
@@ -1539,7 +1539,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
1539
1539
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
1540
1540
|
}
|
|
1541
1541
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
1542
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.3.
|
|
1542
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.3.1'));
|
|
1543
1543
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
1544
1544
|
definitionMap.set('type', meta.type.value);
|
|
1545
1545
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -1590,7 +1590,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
1590
1590
|
function createPipeDefinitionMap(meta) {
|
|
1591
1591
|
const definitionMap = new project_tsconfig_paths.DefinitionMap();
|
|
1592
1592
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
1593
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.3.
|
|
1593
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.3.1'));
|
|
1594
1594
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
1595
1595
|
// e.g. `type: MyPipe`
|
|
1596
1596
|
definitionMap.set('type', meta.type.value);
|
|
@@ -1741,15 +1741,6 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
|
1741
1741
|
return new project_tsconfig_paths.DeclareFunctionStmt(`${meta.className}_UpdateMetadata`, params, body, null, project_tsconfig_paths.StmtModifier.Final);
|
|
1742
1742
|
}
|
|
1743
1743
|
|
|
1744
|
-
/**
|
|
1745
|
-
* Base URL for the error details page.
|
|
1746
|
-
*
|
|
1747
|
-
* Keep the files below in full sync:
|
|
1748
|
-
* - packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.ts
|
|
1749
|
-
* - packages/core/src/error_details_base_url.ts
|
|
1750
|
-
*/
|
|
1751
|
-
const ERROR_DETAILS_PAGE_BASE_URL = 'https://angular.dev/errors';
|
|
1752
|
-
|
|
1753
1744
|
// Escape anything that isn't alphanumeric, '/' or '_'.
|
|
1754
1745
|
const CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1755
1746
|
/**
|
|
@@ -12330,7 +12321,7 @@ class PipeDecoratorHandler {
|
|
|
12330
12321
|
* @description
|
|
12331
12322
|
* Entry point for all public APIs of the compiler-cli package.
|
|
12332
12323
|
*/
|
|
12333
|
-
new project_tsconfig_paths.Version('20.3.
|
|
12324
|
+
new project_tsconfig_paths.Version('20.3.1');
|
|
12334
12325
|
|
|
12335
12326
|
/**
|
|
12336
12327
|
* Whether a given decorator should be treated as an Angular decorator.
|
|
@@ -16453,10 +16444,10 @@ class InterpolatedSignalCheck extends TemplateCheckWithVisitor {
|
|
|
16453
16444
|
}
|
|
16454
16445
|
// bound properties like `[prop]="mySignal"`
|
|
16455
16446
|
else if (node instanceof project_tsconfig_paths.BoundAttribute) {
|
|
16456
|
-
|
|
16457
|
-
|
|
16458
|
-
|
|
16459
|
-
|
|
16447
|
+
const symbol = ctx.templateTypeChecker.getSymbolOfNode(node, component);
|
|
16448
|
+
if (symbol?.kind === project_tsconfig_paths.SymbolKind.Input &&
|
|
16449
|
+
symbol.bindings.length > 0 &&
|
|
16450
|
+
symbol.bindings.some((binding) => binding.target.kind === project_tsconfig_paths.SymbolKind.Directive)) {
|
|
16460
16451
|
return [];
|
|
16461
16452
|
}
|
|
16462
16453
|
// otherwise, we check if the node is
|
|
@@ -17367,7 +17358,7 @@ function unwrapAstWithSource(ast) {
|
|
|
17367
17358
|
* found in the LICENSE file at https://angular.dev/license
|
|
17368
17359
|
*/
|
|
17369
17360
|
/** APIs whose usages should be checked by the rule. */
|
|
17370
|
-
const APIS_TO_CHECK = [
|
|
17361
|
+
const APIS_TO_CHECK$1 = [
|
|
17371
17362
|
project_tsconfig_paths.INPUT_INITIALIZER_FN,
|
|
17372
17363
|
project_tsconfig_paths.MODEL_INITIALIZER_FN,
|
|
17373
17364
|
...project_tsconfig_paths.OUTPUT_INITIALIZER_FNS,
|
|
@@ -17385,7 +17376,7 @@ class InitializerApiUsageRule {
|
|
|
17385
17376
|
}
|
|
17386
17377
|
shouldCheck(sourceFile) {
|
|
17387
17378
|
// Skip the traversal if there are no imports of the initializer APIs.
|
|
17388
|
-
return APIS_TO_CHECK.some(({ functionName, owningModule }) => {
|
|
17379
|
+
return APIS_TO_CHECK$1.some(({ functionName, owningModule }) => {
|
|
17389
17380
|
return (this.importedSymbolsTracker.hasNamedImport(sourceFile, functionName, owningModule) ||
|
|
17390
17381
|
this.importedSymbolsTracker.hasNamespaceImport(sourceFile, owningModule));
|
|
17391
17382
|
});
|
|
@@ -17403,7 +17394,7 @@ class InitializerApiUsageRule {
|
|
|
17403
17394
|
if (!node.parent || !ts.isCallExpression(node)) {
|
|
17404
17395
|
return null;
|
|
17405
17396
|
}
|
|
17406
|
-
const identifiedInitializer = project_tsconfig_paths.tryParseInitializerApi(APIS_TO_CHECK, node, this.reflector, this.importedSymbolsTracker);
|
|
17397
|
+
const identifiedInitializer = project_tsconfig_paths.tryParseInitializerApi(APIS_TO_CHECK$1, node, this.reflector, this.importedSymbolsTracker);
|
|
17407
17398
|
if (identifiedInitializer === null) {
|
|
17408
17399
|
return null;
|
|
17409
17400
|
}
|
|
@@ -17565,6 +17556,86 @@ function closestNode(start, predicate) {
|
|
|
17565
17556
|
return null;
|
|
17566
17557
|
}
|
|
17567
17558
|
|
|
17559
|
+
/*!
|
|
17560
|
+
* @license
|
|
17561
|
+
* Copyright Google LLC All Rights Reserved.
|
|
17562
|
+
*
|
|
17563
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
17564
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
17565
|
+
*/
|
|
17566
|
+
/** APIs whose usages should be checked by the rule. */
|
|
17567
|
+
const APIS_TO_CHECK = [
|
|
17568
|
+
project_tsconfig_paths.INPUT_INITIALIZER_FN,
|
|
17569
|
+
project_tsconfig_paths.MODEL_INITIALIZER_FN,
|
|
17570
|
+
...project_tsconfig_paths.QUERY_INITIALIZER_FNS,
|
|
17571
|
+
];
|
|
17572
|
+
/**
|
|
17573
|
+
* Rule that flags forbidden invocations of required initializers in property initializers and constructors.
|
|
17574
|
+
*/
|
|
17575
|
+
class ForbiddenRequiredInitializersInvocationRule {
|
|
17576
|
+
reflector;
|
|
17577
|
+
importedSymbolsTracker;
|
|
17578
|
+
constructor(reflector, importedSymbolsTracker) {
|
|
17579
|
+
this.reflector = reflector;
|
|
17580
|
+
this.importedSymbolsTracker = importedSymbolsTracker;
|
|
17581
|
+
}
|
|
17582
|
+
shouldCheck(sourceFile) {
|
|
17583
|
+
// Skip the traversal if there are no imports of the initializer APIs.
|
|
17584
|
+
return APIS_TO_CHECK.some(({ functionName, owningModule }) => {
|
|
17585
|
+
return (this.importedSymbolsTracker.hasNamedImport(sourceFile, functionName, owningModule) ||
|
|
17586
|
+
this.importedSymbolsTracker.hasNamespaceImport(sourceFile, owningModule));
|
|
17587
|
+
});
|
|
17588
|
+
}
|
|
17589
|
+
checkNode(node) {
|
|
17590
|
+
if (!ts.isClassDeclaration(node))
|
|
17591
|
+
return null;
|
|
17592
|
+
const requiredInitializerDeclarations = node.members.filter((m) => ts.isPropertyDeclaration(m) && this.isPropDeclarationARequiredInitializer(m));
|
|
17593
|
+
const diagnostics = [];
|
|
17594
|
+
// Handling of the usages in props initializations
|
|
17595
|
+
for (let decl of node.members) {
|
|
17596
|
+
if (!ts.isPropertyDeclaration(decl))
|
|
17597
|
+
continue;
|
|
17598
|
+
const initiallizerExpr = decl.initializer;
|
|
17599
|
+
if (!initiallizerExpr)
|
|
17600
|
+
continue;
|
|
17601
|
+
checkForbiddenInvocation(initiallizerExpr);
|
|
17602
|
+
}
|
|
17603
|
+
function checkForbiddenInvocation(node) {
|
|
17604
|
+
if (ts.isArrowFunction(node) || ts.isFunctionExpression(node))
|
|
17605
|
+
return;
|
|
17606
|
+
if (ts.isPropertyAccessExpression(node) &&
|
|
17607
|
+
node.expression.kind === ts.SyntaxKind.ThisKeyword &&
|
|
17608
|
+
// With the following we make sure we only flag invoked required initializers
|
|
17609
|
+
ts.isCallExpression(node.parent) &&
|
|
17610
|
+
node.parent.expression === node) {
|
|
17611
|
+
const requiredProp = requiredInitializerDeclarations.find((prop) => prop.name.getText() === node.name.getText());
|
|
17612
|
+
if (requiredProp) {
|
|
17613
|
+
const initializerFn = requiredProp.initializer.expression.expression.getText();
|
|
17614
|
+
diagnostics.push(project_tsconfig_paths.makeDiagnostic(project_tsconfig_paths.ErrorCode.FORBIDDEN_REQUIRED_INITIALIZER_INVOCATION, node, `\`${node.name.getText()}\` is a required \`${initializerFn}\` and does not have a value in this context.`));
|
|
17615
|
+
}
|
|
17616
|
+
}
|
|
17617
|
+
return node.forEachChild(checkForbiddenInvocation);
|
|
17618
|
+
}
|
|
17619
|
+
const ctor = getConstructorFromClass(node);
|
|
17620
|
+
if (ctor) {
|
|
17621
|
+
checkForbiddenInvocation(ctor);
|
|
17622
|
+
}
|
|
17623
|
+
return diagnostics;
|
|
17624
|
+
}
|
|
17625
|
+
isPropDeclarationARequiredInitializer(node) {
|
|
17626
|
+
if (!node.initializer)
|
|
17627
|
+
return false;
|
|
17628
|
+
const identifiedInitializer = project_tsconfig_paths.tryParseInitializerApi(APIS_TO_CHECK, node.initializer, this.reflector, this.importedSymbolsTracker);
|
|
17629
|
+
if (identifiedInitializer === null || !identifiedInitializer.isRequired)
|
|
17630
|
+
return false;
|
|
17631
|
+
return true;
|
|
17632
|
+
}
|
|
17633
|
+
}
|
|
17634
|
+
function getConstructorFromClass(node) {
|
|
17635
|
+
// We also check for a constructor body to avoid picking up parent constructors.
|
|
17636
|
+
return node.members.find((m) => ts.isConstructorDeclaration(m) && m.body !== undefined);
|
|
17637
|
+
}
|
|
17638
|
+
|
|
17568
17639
|
/*!
|
|
17569
17640
|
* @license
|
|
17570
17641
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -17580,6 +17651,7 @@ class SourceFileValidator {
|
|
|
17580
17651
|
constructor(reflector, importedSymbolsTracker, templateTypeChecker, typeCheckingConfig) {
|
|
17581
17652
|
this.rules = [new InitializerApiUsageRule(reflector, importedSymbolsTracker)];
|
|
17582
17653
|
this.rules.push(new UnusedStandaloneImportsRule(templateTypeChecker, typeCheckingConfig, importedSymbolsTracker));
|
|
17654
|
+
this.rules.push(new ForbiddenRequiredInitializersInvocationRule(reflector, importedSymbolsTracker));
|
|
17583
17655
|
}
|
|
17584
17656
|
/**
|
|
17585
17657
|
* Gets the diagnostics for a specific file, or null if the file is valid.
|
|
@@ -20341,7 +20413,7 @@ var semver = /*@__PURE__*/getDefaultExportFromCjs(semverExports);
|
|
|
20341
20413
|
* @param minVersion Minimum required version for the feature.
|
|
20342
20414
|
*/
|
|
20343
20415
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
20344
|
-
// A version of `20.3.
|
|
20416
|
+
// A version of `20.3.1` usually means that core is at head so it supports
|
|
20345
20417
|
// all features. Use string interpolation prevent the placeholder from being replaced
|
|
20346
20418
|
// with the current version during build time.
|
|
20347
20419
|
if (coreVersion === `0.0.0-${'PLACEHOLDER'}`) {
|
|
@@ -20667,7 +20739,7 @@ class NgCompiler {
|
|
|
20667
20739
|
return {
|
|
20668
20740
|
...diag,
|
|
20669
20741
|
messageText: diag.messageText +
|
|
20670
|
-
`. Find more at ${ERROR_DETAILS_PAGE_BASE_URL}/NG${project_tsconfig_paths.ngErrorCode(diag.code)}`,
|
|
20742
|
+
`. Find more at ${project_tsconfig_paths.ERROR_DETAILS_PAGE_BASE_URL}/NG${project_tsconfig_paths.ngErrorCode(diag.code)}`,
|
|
20671
20743
|
};
|
|
20672
20744
|
}
|
|
20673
20745
|
return diag;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.3.
|
|
3
|
+
* @license Angular v20.3.1
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
10
|
require('os');
|
|
11
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
12
|
-
var index = require('./index-
|
|
11
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-crm5NKE7.cjs');
|
|
12
|
+
var index = require('./index-B5lv9x1v.cjs');
|
|
13
13
|
require('path');
|
|
14
14
|
require('node:path');
|
|
15
|
-
var project_paths = require('./project_paths-
|
|
15
|
+
var project_paths = require('./project_paths-CIUSEdn4.cjs');
|
|
16
16
|
|
|
17
17
|
function getMemberName(member) {
|
|
18
18
|
if (member.name === undefined) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.3.
|
|
3
|
+
* @license Angular v20.3.1
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
10
|
require('os');
|
|
11
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
12
|
-
require('./index-
|
|
11
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-crm5NKE7.cjs');
|
|
12
|
+
require('./index-B5lv9x1v.cjs');
|
|
13
13
|
require('path');
|
|
14
14
|
require('node:path');
|
|
15
|
-
var project_paths = require('./project_paths-
|
|
16
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
15
|
+
var project_paths = require('./project_paths-CIUSEdn4.cjs');
|
|
16
|
+
var apply_import_manager = require('./apply_import_manager-C8vgfoJx.cjs');
|
|
17
17
|
var imports = require('./imports-CIX-JgAN.cjs');
|
|
18
18
|
require('@angular-devkit/core');
|
|
19
19
|
require('node:path/posix');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.3.
|
|
3
|
+
* @license Angular v20.3.1
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
var schematics = require('@angular-devkit/schematics');
|
|
10
10
|
var p = require('path');
|
|
11
|
-
var compiler_host = require('./compiler_host-
|
|
11
|
+
var compiler_host = require('./compiler_host-DC7Yquzy.cjs');
|
|
12
12
|
var ts = require('typescript');
|
|
13
13
|
var ng_decorators = require('./ng_decorators-B5HCqr20.cjs');
|
|
14
14
|
var imports = require('./imports-CIX-JgAN.cjs');
|
|
15
15
|
var nodes = require('./nodes-B16H9JUd.cjs');
|
|
16
16
|
var leading_space = require('./leading_space-D9nQ8UQC.cjs');
|
|
17
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
17
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-crm5NKE7.cjs');
|
|
18
18
|
require('os');
|
|
19
19
|
require('fs');
|
|
20
20
|
require('module');
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.3.
|
|
3
|
+
* @license Angular v20.3.1
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
9
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-crm5NKE7.cjs');
|
|
10
10
|
var ts = require('typescript');
|
|
11
11
|
require('os');
|
|
12
12
|
var assert = require('assert');
|
|
13
|
-
var index = require('./index-
|
|
14
|
-
var project_paths = require('./project_paths-
|
|
13
|
+
var index = require('./index-Bufm9_1r.cjs');
|
|
14
|
+
var project_paths = require('./project_paths-CIUSEdn4.cjs');
|
|
15
15
|
var leading_space = require('./leading_space-D9nQ8UQC.cjs');
|
|
16
|
-
require('./index-
|
|
16
|
+
require('./index-B5lv9x1v.cjs');
|
|
17
17
|
require('path');
|
|
18
18
|
require('node:path');
|
|
19
19
|
var assert$1 = require('node:assert');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.3.
|
|
3
|
+
* @license Angular v20.3.1
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
10
|
require('os');
|
|
11
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
12
|
-
var index$1 = require('./index-
|
|
11
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-crm5NKE7.cjs');
|
|
12
|
+
var index$1 = require('./index-B5lv9x1v.cjs');
|
|
13
13
|
require('path');
|
|
14
14
|
require('node:path');
|
|
15
|
-
var project_paths = require('./project_paths-
|
|
16
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
17
|
-
var index = require('./index-
|
|
15
|
+
var project_paths = require('./project_paths-CIUSEdn4.cjs');
|
|
16
|
+
var apply_import_manager = require('./apply_import_manager-C8vgfoJx.cjs');
|
|
17
|
+
var index = require('./index-Bufm9_1r.cjs');
|
|
18
18
|
require('@angular-devkit/core');
|
|
19
19
|
require('node:path/posix');
|
|
20
20
|
require('fs');
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.3.
|
|
3
|
+
* @license Angular v20.3.1
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
|
-
var index = require('./index-
|
|
9
|
+
var index = require('./index-B5lv9x1v.cjs');
|
|
10
10
|
var schematics = require('@angular-devkit/schematics');
|
|
11
11
|
var core = require('@angular-devkit/core');
|
|
12
12
|
var posixPath = require('node:path/posix');
|
|
13
13
|
var os = require('os');
|
|
14
14
|
var ts = require('typescript');
|
|
15
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
15
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-crm5NKE7.cjs');
|
|
16
16
|
require('path');
|
|
17
17
|
var path = require('node:path');
|
|
18
18
|
|