@angular/core 20.2.1 → 20.2.2
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 +7 -8
- package/{signal.d.d.ts → effect.d.d.ts} +13 -3
- 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 +3 -3
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/debug_node.mjs +48 -31
- package/fesm2022/debug_node.mjs.map +1 -1
- package/fesm2022/{untracked.mjs → effect.mjs} +29 -4
- package/fesm2022/effect.mjs.map +1 -0
- 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 +18 -27
- package/fesm2022/resource.mjs.map +1 -1
- package/fesm2022/root_effect_scheduler.mjs +1 -1
- package/fesm2022/root_effect_scheduler.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +2 -2
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/signal.mjs +1 -1
- 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 +1 -1
- package/index.d.ts +2 -2
- 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 +3 -3
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/bundles/{apply_import_manager-BvwNQhfG.cjs → apply_import_manager-jh6mrC6i.cjs} +3 -3
- package/schematics/bundles/cleanup-unused-imports.cjs +5 -5
- package/schematics/bundles/{compiler_host-DbXQvYKt.cjs → compiler_host-B_eI7M_O.cjs} +2 -2
- package/schematics/bundles/control-flow-migration.cjs +10 -9
- package/schematics/bundles/document-core.cjs +5 -5
- package/schematics/bundles/imports-CIX-JgAN.cjs +1 -1
- package/schematics/bundles/{index-Bphk20D_.cjs → index-BakSPuLU.cjs} +4 -4
- package/schematics/bundles/{index-Bcv0dPD8.cjs → index-D6oJ4URa.cjs} +12 -12
- 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-xcaijJqF.cjs → migrate_ts_type_references-Cv_ejjaV.cjs} +10 -9
- 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-BaK5P5a5.cjs → project_paths-CSaggenP.cjs} +3 -3
- package/schematics/bundles/{project_tsconfig_paths-COqholMT.cjs → project_tsconfig_paths-BDoOg2Cc.cjs} +11 -5
- package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
- package/schematics/bundles/route-lazy-loading.cjs +3 -3
- 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 +13 -12
- package/schematics/bundles/signal-queries-migration.cjs +8 -7
- package/schematics/bundles/signals.cjs +8 -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 +2 -2
- package/weak_ref.d.d.ts +1 -1
- package/fesm2022/untracked.mjs.map +0 -1
package/fesm2022/weak_ref.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"weak_ref.mjs","sources":["../../../../../
|
|
1
|
+
{"version":3,"file":"weak_ref.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/packages/core/primitives/signals/src/weak_ref.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nexport function setAlternateWeakRefImpl(impl: unknown) {\n // TODO: remove this function\n}\n"],"names":[],"mappings":";;;;;;AAQM,SAAU,uBAAuB,CAAC,IAAa,EAAA;;AAErD;;;;"}
|
package/graph.d.d.ts
CHANGED
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.2.
|
|
2
|
+
* @license Angular v20.2.2
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -15,7 +15,7 @@ import './event_dispatcher.d.js';
|
|
|
15
15
|
import { Observable, Subscribable } from 'rxjs';
|
|
16
16
|
export { setAlternateWeakRefImpl as ɵsetAlternateWeakRefImpl } from './weak_ref.d.js';
|
|
17
17
|
export { setCurrentInjector as ɵsetCurrentInjector } from './primitives/di/index.js';
|
|
18
|
-
import './
|
|
18
|
+
import './effect.d.js';
|
|
19
19
|
import '@angular/core/primitives/di';
|
|
20
20
|
|
|
21
21
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/core",
|
|
3
|
-
"version": "20.2.
|
|
3
|
+
"version": "20.2.2",
|
|
4
4
|
"description": "Angular - the core framework",
|
|
5
5
|
"author": "angular",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"tslib": "^2.3.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@angular/compiler": "20.2.
|
|
49
|
+
"@angular/compiler": "20.2.2",
|
|
50
50
|
"rxjs": "^6.5.3 || ^7.4.0",
|
|
51
51
|
"zone.js": "~0.15.0"
|
|
52
52
|
},
|
package/primitives/di/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.2.
|
|
2
|
+
* @license Angular v20.2.2
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import { ReactiveNode, ValueEqualityFn, SIGNAL } from '../../graph.d.js';
|
|
8
8
|
export { REACTIVE_NODE, Reactive, ReactiveHookFn, consumerAfterComputation, consumerBeforeComputation, consumerDestroy, consumerMarkDirty, consumerPollProducersForChange, defaultEquals, getActiveConsumer, isInNotificationPhase, isReactive, producerAccessed, producerIncrementEpoch, producerMarkClean, producerNotifyConsumers, producerUpdateValueVersion, producerUpdatesAllowed, runPostProducerCreatedFn, setActiveConsumer, setPostProducerCreatedFn } from '../../graph.d.js';
|
|
9
|
-
import { SignalNode } from '../../
|
|
10
|
-
export { SIGNAL_NODE, SignalGetter, createSignal, runPostSignalSetFn, setPostSignalSetFn, signalGetFn, signalSetFn, signalUpdateFn } from '../../
|
|
9
|
+
import { SignalNode } from '../../effect.d.js';
|
|
10
|
+
export { BASE_EFFECT_NODE, BaseEffectNode, SIGNAL_NODE, SignalGetter, createSignal, runEffect, runPostSignalSetFn, setPostSignalSetFn, signalGetFn, signalSetFn, signalUpdateFn } from '../../effect.d.js';
|
|
11
11
|
export { setAlternateWeakRefImpl } from '../../weak_ref.d.js';
|
|
12
12
|
|
|
13
13
|
/**
|
package/rxjs-interop/index.d.ts
CHANGED
package/schematics/bundles/{apply_import_manager-BvwNQhfG.cjs → apply_import_manager-jh6mrC6i.cjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.
|
|
3
|
+
* @license Angular v20.2.2
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
10
|
require('os');
|
|
11
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
12
|
-
var project_paths = require('./project_paths-
|
|
11
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-BDoOg2Cc.cjs');
|
|
12
|
+
var project_paths = require('./project_paths-CSaggenP.cjs');
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Applies import manager changes, and writes them as replacements the
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.
|
|
3
|
+
* @license Angular v20.2.2
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
|
|
9
9
|
require('@angular-devkit/core');
|
|
10
10
|
require('node:path/posix');
|
|
11
|
-
var project_paths = require('./project_paths-
|
|
11
|
+
var project_paths = require('./project_paths-CSaggenP.cjs');
|
|
12
12
|
var ts = require('typescript');
|
|
13
13
|
require('os');
|
|
14
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
15
|
-
var index = require('./index-
|
|
14
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-BDoOg2Cc.cjs');
|
|
15
|
+
var index = require('./index-D6oJ4URa.cjs');
|
|
16
16
|
require('path');
|
|
17
17
|
require('node:path');
|
|
18
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
18
|
+
var apply_import_manager = require('./apply_import_manager-jh6mrC6i.cjs');
|
|
19
19
|
require('@angular-devkit/schematics');
|
|
20
20
|
require('fs');
|
|
21
21
|
require('module');
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.
|
|
3
|
+
* @license Angular v20.2.2
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
10
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-BDoOg2Cc.cjs');
|
|
11
11
|
require('os');
|
|
12
12
|
var p = require('path');
|
|
13
13
|
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.
|
|
3
|
+
* @license Angular v20.2.2
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
9
|
var schematics = require('@angular-devkit/schematics');
|
|
10
|
-
var
|
|
11
|
-
var compiler_host = require('./compiler_host-
|
|
12
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
10
|
+
var path = require('node:path');
|
|
11
|
+
var compiler_host = require('./compiler_host-B_eI7M_O.cjs');
|
|
12
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-BDoOg2Cc.cjs');
|
|
13
13
|
var ts = require('typescript');
|
|
14
|
+
var p = require('path');
|
|
14
15
|
require('os');
|
|
15
16
|
require('fs');
|
|
16
17
|
require('module');
|
|
@@ -1843,7 +1844,7 @@ function migrate(options) {
|
|
|
1843
1844
|
const basePath = process.cwd();
|
|
1844
1845
|
let pathToMigrate;
|
|
1845
1846
|
if (options.path) {
|
|
1846
|
-
pathToMigrate = compiler_host.normalizePath(
|
|
1847
|
+
pathToMigrate = compiler_host.normalizePath(path.join(basePath, options.path));
|
|
1847
1848
|
if (pathToMigrate.trim() !== '') {
|
|
1848
1849
|
allPaths.push(pathToMigrate);
|
|
1849
1850
|
}
|
|
@@ -1888,10 +1889,10 @@ function runControlFlowMigration(tree, tsconfigPath, basePath, pathToMigrate, sc
|
|
|
1888
1889
|
// sort files with .html files first
|
|
1889
1890
|
// this ensures class files know if it's safe to remove CommonModule
|
|
1890
1891
|
const paths = sortFilePaths([...analysis.keys()]);
|
|
1891
|
-
for (const path of paths) {
|
|
1892
|
-
const file = analysis.get(path);
|
|
1892
|
+
for (const path$1 of paths) {
|
|
1893
|
+
const file = analysis.get(path$1);
|
|
1893
1894
|
const ranges = file.getSortedRanges();
|
|
1894
|
-
const relativePath =
|
|
1895
|
+
const relativePath = path.relative(basePath, path$1);
|
|
1895
1896
|
const content = tree.readText(relativePath);
|
|
1896
1897
|
const update = tree.beginUpdate(relativePath);
|
|
1897
1898
|
for (const { start, end, node, type } of ranges) {
|
|
@@ -1903,7 +1904,7 @@ function runControlFlowMigration(tree, tsconfigPath, basePath, pathToMigrate, sc
|
|
|
1903
1904
|
update.insertLeft(start, migrated);
|
|
1904
1905
|
}
|
|
1905
1906
|
if (errors.length > 0) {
|
|
1906
|
-
migrateErrors.set(path, errors);
|
|
1907
|
+
migrateErrors.set(path$1, errors);
|
|
1907
1908
|
}
|
|
1908
1909
|
}
|
|
1909
1910
|
tree.commitUpdate(update);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.
|
|
3
|
+
* @license Angular v20.2.2
|
|
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-BDoOg2Cc.cjs');
|
|
10
10
|
require('typescript');
|
|
11
11
|
require('os');
|
|
12
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
13
|
-
require('./index-
|
|
12
|
+
var apply_import_manager = require('./apply_import_manager-jh6mrC6i.cjs');
|
|
13
|
+
require('./index-D6oJ4URa.cjs');
|
|
14
14
|
require('path');
|
|
15
15
|
require('node:path');
|
|
16
|
-
var project_paths = require('./project_paths-
|
|
16
|
+
var project_paths = require('./project_paths-CSaggenP.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.2.
|
|
3
|
+
* @license Angular v20.2.2
|
|
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-BDoOg2Cc.cjs');
|
|
12
|
+
var index = require('./index-D6oJ4URa.cjs');
|
|
13
13
|
require('path');
|
|
14
14
|
require('node:path');
|
|
15
|
-
var project_paths = require('./project_paths-
|
|
15
|
+
var project_paths = require('./project_paths-CSaggenP.cjs');
|
|
16
16
|
|
|
17
17
|
function getMemberName(member) {
|
|
18
18
|
if (member.name === undefined) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.
|
|
3
|
+
* @license Angular v20.2.2
|
|
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-BDoOg2Cc.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.2.
|
|
894
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.2.2'));
|
|
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.2.
|
|
912
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.2.2'));
|
|
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.2.
|
|
1007
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.2.2'));
|
|
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.2.
|
|
1423
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.2.2'));
|
|
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.2.
|
|
1458
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.2.2'));
|
|
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.2.
|
|
1509
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.2.2'));
|
|
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.2.
|
|
1542
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.2.2'));
|
|
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.2.
|
|
1593
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.2.2'));
|
|
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);
|
|
@@ -12330,7 +12330,7 @@ class PipeDecoratorHandler {
|
|
|
12330
12330
|
* @description
|
|
12331
12331
|
* Entry point for all public APIs of the compiler-cli package.
|
|
12332
12332
|
*/
|
|
12333
|
-
new project_tsconfig_paths.Version('20.2.
|
|
12333
|
+
new project_tsconfig_paths.Version('20.2.2');
|
|
12334
12334
|
|
|
12335
12335
|
/**
|
|
12336
12336
|
* Whether a given decorator should be treated as an Angular decorator.
|
|
@@ -20320,7 +20320,7 @@ var semver = /*@__PURE__*/getDefaultExportFromCjs(semverExports);
|
|
|
20320
20320
|
* @param minVersion Minimum required version for the feature.
|
|
20321
20321
|
*/
|
|
20322
20322
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
20323
|
-
// A version of `20.2.
|
|
20323
|
+
// A version of `20.2.2` usually means that core is at head so it supports
|
|
20324
20324
|
// all features. Use string interpolation prevent the placeholder from being replaced
|
|
20325
20325
|
// with the current version during build time.
|
|
20326
20326
|
if (coreVersion === `0.0.0-${'PLACEHOLDER'}`) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.
|
|
3
|
+
* @license Angular v20.2.2
|
|
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-BDoOg2Cc.cjs');
|
|
12
|
+
require('./index-D6oJ4URa.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-CSaggenP.cjs');
|
|
16
|
+
var apply_import_manager = require('./apply_import_manager-jh6mrC6i.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.2.
|
|
3
|
+
* @license Angular v20.2.2
|
|
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-B_eI7M_O.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-BDoOg2Cc.cjs');
|
|
18
18
|
require('os');
|
|
19
19
|
require('fs');
|
|
20
20
|
require('module');
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.
|
|
3
|
+
* @license Angular v20.2.2
|
|
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-BDoOg2Cc.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-BakSPuLU.cjs');
|
|
14
|
+
var project_paths = require('./project_paths-CSaggenP.cjs');
|
|
15
15
|
var leading_space = require('./leading_space-D9nQ8UQC.cjs');
|
|
16
|
-
require('./index-
|
|
16
|
+
require('./index-D6oJ4URa.cjs');
|
|
17
17
|
require('path');
|
|
18
18
|
require('node:path');
|
|
19
|
+
var assert$1 = require('node:assert');
|
|
19
20
|
|
|
20
21
|
/**
|
|
21
22
|
* Reasons why a field cannot be migrated.
|
|
@@ -1127,7 +1128,7 @@ function analyzeControlFlow(entries, checker) {
|
|
|
1127
1128
|
for (const entry of entries) {
|
|
1128
1129
|
const { flowContainer, resultIndex } = referenceToMetadata.get(entry);
|
|
1129
1130
|
const flowPathInterestingNodes = traverseFlowForInterestingNodes(getFlowNode(entry));
|
|
1130
|
-
assert(flowContainer !== null && flowPathInterestingNodes !== null, 'Expected a flow container to exist.');
|
|
1131
|
+
assert$1(flowContainer !== null && flowPathInterestingNodes !== null, 'Expected a flow container to exist.');
|
|
1131
1132
|
const narrowPartners = getAllMatchingReferencesInFlowPath(flowPathInterestingNodes, entry, referenceToMetadata, flowContainer, checker);
|
|
1132
1133
|
if (narrowPartners.length !== 0) {
|
|
1133
1134
|
connectSharedReferences(result, narrowPartners, resultIndex);
|
|
@@ -1153,8 +1154,8 @@ function connectSharedReferences(result, flowPartners, refId) {
|
|
|
1153
1154
|
earliestPartnerId = partnerId;
|
|
1154
1155
|
}
|
|
1155
1156
|
}
|
|
1156
|
-
assert(earliestPartner !== null, 'Expected an earliest partner to be found.');
|
|
1157
|
-
assert(earliestPartnerId !== null, 'Expected an earliest partner to be found.');
|
|
1157
|
+
assert$1(earliestPartner !== null, 'Expected an earliest partner to be found.');
|
|
1158
|
+
assert$1(earliestPartnerId !== null, 'Expected an earliest partner to be found.');
|
|
1158
1159
|
// Earliest partner ID could be higher than `refId` in cyclic
|
|
1159
1160
|
// situations like `loop` flow nodes. We need to find the minimum
|
|
1160
1161
|
// and maximum to iterate through partners in between.
|
|
@@ -1195,7 +1196,7 @@ function connectSharedReferences(result, flowPartners, refId) {
|
|
|
1195
1196
|
if (!highestBlock) {
|
|
1196
1197
|
console.error(earliestPartnerId, refId, refFlowContainer.getText(), seenBlocks);
|
|
1197
1198
|
}
|
|
1198
|
-
assert(highestBlock, 'Expected a block anchor to be found');
|
|
1199
|
+
assert$1(highestBlock, 'Expected a block anchor to be found');
|
|
1199
1200
|
result[earliestPartnerId].recommendedNode = highestBlock;
|
|
1200
1201
|
}
|
|
1201
1202
|
function isPotentialInsertionAncestor(node) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.
|
|
3
|
+
* @license Angular v20.2.2
|
|
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-BDoOg2Cc.cjs');
|
|
12
|
+
var index$1 = require('./index-D6oJ4URa.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-CSaggenP.cjs');
|
|
16
|
+
var apply_import_manager = require('./apply_import_manager-jh6mrC6i.cjs');
|
|
17
|
+
var index = require('./index-BakSPuLU.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.2.
|
|
3
|
+
* @license Angular v20.2.2
|
|
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-D6oJ4URa.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-BDoOg2Cc.cjs');
|
|
16
16
|
require('path');
|
|
17
17
|
var path = require('node:path');
|
|
18
18
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.
|
|
3
|
+
* @license Angular v20.2.2
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -29808,6 +29808,12 @@ class HtmlAstToIvyAst {
|
|
|
29808
29808
|
}
|
|
29809
29809
|
return directives;
|
|
29810
29810
|
}
|
|
29811
|
+
filterAnimationAttributes(attributes) {
|
|
29812
|
+
return attributes.filter((a) => !a.name.startsWith('animate.'));
|
|
29813
|
+
}
|
|
29814
|
+
filterAnimationInputs(attributes) {
|
|
29815
|
+
return attributes.filter((a) => a.type !== exports.BindingType.Animation);
|
|
29816
|
+
}
|
|
29811
29817
|
wrapInTemplate(node, templateProperties, templateVariables, i18nAttrsMeta, isTemplateElement, isI18nRootElement) {
|
|
29812
29818
|
// We need to hoist the attributes of the node to the template for content projection purposes.
|
|
29813
29819
|
const attrs = this.categorizePropertyAttributes('ng-template', templateProperties, i18nAttrsMeta);
|
|
@@ -29820,8 +29826,8 @@ class HtmlAstToIvyAst {
|
|
|
29820
29826
|
outputs: [],
|
|
29821
29827
|
};
|
|
29822
29828
|
if (node instanceof Element$1 || node instanceof Component$1) {
|
|
29823
|
-
hoistedAttrs.attributes.push(...node.attributes);
|
|
29824
|
-
hoistedAttrs.inputs.push(...node.inputs);
|
|
29829
|
+
hoistedAttrs.attributes.push(...this.filterAnimationAttributes(node.attributes));
|
|
29830
|
+
hoistedAttrs.inputs.push(...this.filterAnimationInputs(node.inputs));
|
|
29825
29831
|
hoistedAttrs.outputs.push(...node.outputs);
|
|
29826
29832
|
}
|
|
29827
29833
|
// For <ng-template>s with structural directives on them, avoid passing i18n information to
|
|
@@ -32832,7 +32838,7 @@ function isAttrNode(ast) {
|
|
|
32832
32838
|
* @description
|
|
32833
32839
|
* Entry point for all public APIs of the compiler package.
|
|
32834
32840
|
*/
|
|
32835
|
-
new Version('20.2.
|
|
32841
|
+
new Version('20.2.2');
|
|
32836
32842
|
|
|
32837
32843
|
//////////////////////////////////////
|
|
32838
32844
|
// THIS FILE HAS GLOBAL SIDE EFFECT //
|
|
@@ -33867,7 +33873,7 @@ class NodeJSPathManipulation {
|
|
|
33867
33873
|
// G3-ESM-MARKER: G3 uses CommonJS, but externally everything in ESM.
|
|
33868
33874
|
// CommonJS/ESM interop for determining the current file name and containing dir.
|
|
33869
33875
|
const isCommonJS = typeof __filename !== 'undefined';
|
|
33870
|
-
const currentFileUrl = isCommonJS ? null : (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('project_tsconfig_paths-
|
|
33876
|
+
const currentFileUrl = isCommonJS ? null : (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('project_tsconfig_paths-BDoOg2Cc.cjs', document.baseURI).href));
|
|
33871
33877
|
// Note, when this code loads in the browser, `url` may be an empty `{}` due to the Closure shims.
|
|
33872
33878
|
const currentFileName = isCommonJS
|
|
33873
33879
|
? __filename
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.
|
|
3
|
+
* @license Angular v20.2.2
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
var schematics = require('@angular-devkit/schematics');
|
|
10
10
|
var fs = require('fs');
|
|
11
11
|
var p = require('path');
|
|
12
|
-
var compiler_host = require('./compiler_host-
|
|
13
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
12
|
+
var compiler_host = require('./compiler_host-B_eI7M_O.cjs');
|
|
13
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-BDoOg2Cc.cjs');
|
|
14
14
|
var ts = require('typescript');
|
|
15
15
|
var property_name = require('./property_name-BBwFuqMe.cjs');
|
|
16
16
|
require('os');
|