@angular/core 20.3.11 → 20.3.13
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 +8 -1
- package/chrome_dev_tools_performance.d.d.ts +11 -1
- package/discovery.d.d.ts +33 -2
- package/effect.d.d.ts +1 -1
- package/event_dispatcher.d.d.ts +1 -1
- package/fesm2022/attribute.mjs +1 -1
- package/fesm2022/core.mjs +29 -1
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/debug_node.mjs +12 -2
- package/fesm2022/debug_node.mjs.map +1 -1
- package/fesm2022/effect.mjs +1 -1
- package/fesm2022/not_found.mjs +1 -1
- package/fesm2022/primitives/di.mjs +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/resource.mjs +10 -15
- package/fesm2022/resource.mjs.map +1 -1
- package/fesm2022/root_effect_scheduler.mjs +22 -3
- package/fesm2022/root_effect_scheduler.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +11 -1
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/signal.mjs +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/fesm2022/weak_ref.mjs +1 -1
- package/formatter.d.d.ts +1 -1
- package/index.d.ts +55 -4
- 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 +1 -1
- package/rxjs-interop/index.d.ts +11 -1
- package/schematics/bundles/add-bootstrap-context-to-server-main.cjs +5 -5
- package/schematics/bundles/{apply_import_manager-CPOYeJ7t.cjs → apply_import_manager-D4J7SXHI.cjs} +3 -3
- package/schematics/bundles/cleanup-unused-imports.cjs +5 -5
- package/schematics/bundles/{compiler_host-BGZcziuy.cjs → compiler_host-C306_97v.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-BXjkzENj.cjs → index-AeYmwRJL.cjs} +12 -12
- package/schematics/bundles/{index-BmMfRg5d.cjs → index-u3tqvIQa.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-7eTqUKA-.cjs → migrate_ts_type_references-D0f8FXVW.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-Dr30Du8j.cjs → project_paths-CMd3bdgw.cjs} +3 -3
- package/schematics/bundles/{project_tsconfig_paths-CaweCOep.cjs → project_tsconfig_paths-CopGppNj.cjs} +47 -77
- 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 +7 -7
- 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,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.3.
|
|
3
|
+
* @license Angular v20.3.13
|
|
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-CMd3bdgw.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-CopGppNj.cjs');
|
|
15
|
+
var index = require('./index-AeYmwRJL.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-D4J7SXHI.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.3.
|
|
3
|
+
* @license Angular v20.3.13
|
|
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-CopGppNj.cjs');
|
|
11
11
|
require('os');
|
|
12
12
|
var p = require('path');
|
|
13
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.3.
|
|
3
|
+
* @license Angular v20.3.13
|
|
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 schematics = require('@angular-devkit/schematics');
|
|
10
10
|
var path = require('node:path');
|
|
11
|
-
var compiler_host = require('./compiler_host-
|
|
12
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
11
|
+
var compiler_host = require('./compiler_host-C306_97v.cjs');
|
|
12
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-CopGppNj.cjs');
|
|
13
13
|
var ts = require('typescript');
|
|
14
14
|
var p = require('path');
|
|
15
15
|
require('os');
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.3.
|
|
3
|
+
* @license Angular v20.3.13
|
|
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-CopGppNj.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-D4J7SXHI.cjs');
|
|
13
|
+
require('./index-AeYmwRJL.cjs');
|
|
14
14
|
require('path');
|
|
15
15
|
require('node:path');
|
|
16
|
-
var project_paths = require('./project_paths-
|
|
16
|
+
var project_paths = require('./project_paths-CMd3bdgw.cjs');
|
|
17
17
|
var imports = require('./imports-CIX-JgAN.cjs');
|
|
18
18
|
require('@angular-devkit/core');
|
|
19
19
|
require('node:path/posix');
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.3.
|
|
3
|
+
* @license Angular v20.3.13
|
|
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-CopGppNj.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.13'));
|
|
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.13'));
|
|
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.13'));
|
|
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.13'));
|
|
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.13'));
|
|
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.13'));
|
|
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.13'));
|
|
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.13'));
|
|
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);
|
|
@@ -12362,7 +12362,7 @@ class PipeDecoratorHandler {
|
|
|
12362
12362
|
* @description
|
|
12363
12363
|
* Entry point for all public APIs of the compiler-cli package.
|
|
12364
12364
|
*/
|
|
12365
|
-
new project_tsconfig_paths.Version('20.3.
|
|
12365
|
+
new project_tsconfig_paths.Version('20.3.13');
|
|
12366
12366
|
|
|
12367
12367
|
/**
|
|
12368
12368
|
* Whether a given decorator should be treated as an Angular decorator.
|
|
@@ -20550,7 +20550,7 @@ var semver = /*@__PURE__*/getDefaultExportFromCjs(semverExports);
|
|
|
20550
20550
|
* @param minVersion Minimum required version for the feature.
|
|
20551
20551
|
*/
|
|
20552
20552
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
20553
|
-
// A version of `20.3.
|
|
20553
|
+
// A version of `20.3.13` usually means that core is at head so it supports
|
|
20554
20554
|
// all features. Use string interpolation prevent the placeholder from being replaced
|
|
20555
20555
|
// with the current version during build time.
|
|
20556
20556
|
if (coreVersion === `0.0.0-${'PLACEHOLDER'}`) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.3.
|
|
3
|
+
* @license Angular v20.3.13
|
|
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-CopGppNj.cjs');
|
|
12
|
+
var index = require('./index-AeYmwRJL.cjs');
|
|
13
13
|
require('path');
|
|
14
14
|
require('node:path');
|
|
15
|
-
var project_paths = require('./project_paths-
|
|
15
|
+
var project_paths = require('./project_paths-CMd3bdgw.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.13
|
|
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-CopGppNj.cjs');
|
|
12
|
+
require('./index-AeYmwRJL.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-CMd3bdgw.cjs');
|
|
16
|
+
var apply_import_manager = require('./apply_import_manager-D4J7SXHI.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.13
|
|
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-C306_97v.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-CopGppNj.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.13
|
|
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-CopGppNj.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-u3tqvIQa.cjs');
|
|
14
|
+
var project_paths = require('./project_paths-CMd3bdgw.cjs');
|
|
15
15
|
var leading_space = require('./leading_space-D9nQ8UQC.cjs');
|
|
16
|
-
require('./index-
|
|
16
|
+
require('./index-AeYmwRJL.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.13
|
|
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-CopGppNj.cjs');
|
|
12
|
+
var index$1 = require('./index-AeYmwRJL.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-CMd3bdgw.cjs');
|
|
16
|
+
var apply_import_manager = require('./apply_import_manager-D4J7SXHI.cjs');
|
|
17
|
+
var index = require('./index-u3tqvIQa.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.13
|
|
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-AeYmwRJL.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-CopGppNj.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.3.
|
|
3
|
+
* @license Angular v20.3.13
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -7681,13 +7681,11 @@ class ShadowCss {
|
|
|
7681
7681
|
return cssText.replace(_cssColonHostRe, (_, hostSelectors, otherSelectors) => {
|
|
7682
7682
|
if (hostSelectors) {
|
|
7683
7683
|
const convertedSelectors = [];
|
|
7684
|
-
|
|
7685
|
-
|
|
7686
|
-
if (!
|
|
7684
|
+
const hostSelectorArray = hostSelectors.split(',').map((p) => p.trim());
|
|
7685
|
+
for (const hostSelector of hostSelectorArray) {
|
|
7686
|
+
if (!hostSelector)
|
|
7687
7687
|
break;
|
|
7688
|
-
const convertedSelector = _polyfillHostNoCombinator +
|
|
7689
|
-
trimmedHostSelector.replace(_polyfillHost, '') +
|
|
7690
|
-
otherSelectors;
|
|
7688
|
+
const convertedSelector = _polyfillHostNoCombinator + hostSelector.replace(_polyfillHost, '') + otherSelectors;
|
|
7691
7689
|
convertedSelectors.push(convertedSelector);
|
|
7692
7690
|
}
|
|
7693
7691
|
return convertedSelectors.join(',');
|
|
@@ -7697,38 +7695,6 @@ class ShadowCss {
|
|
|
7697
7695
|
}
|
|
7698
7696
|
});
|
|
7699
7697
|
}
|
|
7700
|
-
/**
|
|
7701
|
-
* Generator function that splits a string on top-level commas (commas that are not inside parentheses).
|
|
7702
|
-
* Yields each part of the string between top-level commas. Terminates if an extra closing paren is found.
|
|
7703
|
-
*
|
|
7704
|
-
* @param text The string to split
|
|
7705
|
-
*/
|
|
7706
|
-
*_splitOnTopLevelCommas(text) {
|
|
7707
|
-
const length = text.length;
|
|
7708
|
-
let parens = 0;
|
|
7709
|
-
let prev = 0;
|
|
7710
|
-
for (let i = 0; i < length; i++) {
|
|
7711
|
-
const charCode = text.charCodeAt(i);
|
|
7712
|
-
if (charCode === $LPAREN) {
|
|
7713
|
-
parens++;
|
|
7714
|
-
}
|
|
7715
|
-
else if (charCode === $RPAREN) {
|
|
7716
|
-
parens--;
|
|
7717
|
-
if (parens < 0) {
|
|
7718
|
-
// Found an extra closing paren. Assume we want the list terminated here
|
|
7719
|
-
yield text.slice(prev, i);
|
|
7720
|
-
return;
|
|
7721
|
-
}
|
|
7722
|
-
}
|
|
7723
|
-
else if (charCode === $COMMA && parens === 0) {
|
|
7724
|
-
// Found a top-level comma, yield the current chunk
|
|
7725
|
-
yield text.slice(prev, i);
|
|
7726
|
-
prev = i + 1;
|
|
7727
|
-
}
|
|
7728
|
-
}
|
|
7729
|
-
// Yield the final chunk
|
|
7730
|
-
yield text.slice(prev);
|
|
7731
|
-
}
|
|
7732
7698
|
/*
|
|
7733
7699
|
* convert a rule like :host-context(.foo) > .bar { }
|
|
7734
7700
|
*
|
|
@@ -7745,14 +7711,34 @@ class ShadowCss {
|
|
|
7745
7711
|
* .foo<scopeName> .bar { ... }
|
|
7746
7712
|
*/
|
|
7747
7713
|
_convertColonHostContext(cssText) {
|
|
7714
|
+
const length = cssText.length;
|
|
7715
|
+
let parens = 0;
|
|
7716
|
+
let prev = 0;
|
|
7717
|
+
let result = '';
|
|
7748
7718
|
// Splits up the selectors on their top-level commas, processes the :host-context in them
|
|
7749
7719
|
// individually and stitches them back together. This ensures that individual selectors don't
|
|
7750
7720
|
// affect each other.
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
|
|
7721
|
+
for (let i = 0; i < length; i++) {
|
|
7722
|
+
const char = cssText[i];
|
|
7723
|
+
// If we hit a comma and there are no open parentheses, take the current chunk and process it.
|
|
7724
|
+
if (char === ',' && parens === 0) {
|
|
7725
|
+
result += this._convertColonHostContextInSelectorPart(cssText.slice(prev, i)) + ',';
|
|
7726
|
+
prev = i + 1;
|
|
7727
|
+
continue;
|
|
7728
|
+
}
|
|
7729
|
+
// We've hit the end. Take everything since the last comma.
|
|
7730
|
+
if (i === length - 1) {
|
|
7731
|
+
result += this._convertColonHostContextInSelectorPart(cssText.slice(prev));
|
|
7732
|
+
break;
|
|
7733
|
+
}
|
|
7734
|
+
if (char === '(') {
|
|
7735
|
+
parens++;
|
|
7736
|
+
}
|
|
7737
|
+
else if (char === ')') {
|
|
7738
|
+
parens--;
|
|
7739
|
+
}
|
|
7754
7740
|
}
|
|
7755
|
-
return
|
|
7741
|
+
return result;
|
|
7756
7742
|
}
|
|
7757
7743
|
_convertColonHostContextInSelectorPart(cssText) {
|
|
7758
7744
|
return cssText.replace(_cssColonHostContextReGlobal, (selectorText, pseudoPrefix) => {
|
|
@@ -7764,26 +7750,17 @@ class ShadowCss {
|
|
|
7764
7750
|
const contextSelectorGroups = [[]];
|
|
7765
7751
|
// There may be more than `:host-context` in this selector so `selectorText` could look like:
|
|
7766
7752
|
// `:host-context(.one):host-context(.two)`.
|
|
7767
|
-
//
|
|
7768
|
-
|
|
7769
|
-
|
|
7770
|
-
|
|
7771
|
-
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
-
|
|
7775
|
-
|
|
7776
|
-
|
|
7777
|
-
|
|
7778
|
-
const newContextSelectors = [];
|
|
7779
|
-
let endIndex = 0; // Index of the closing paren of the :host-context()
|
|
7780
|
-
for (const selector of this._splitOnTopLevelCommas(afterPrefix.substring(1))) {
|
|
7781
|
-
endIndex = endIndex + selector.length + 1;
|
|
7782
|
-
const trimmed = selector.trim();
|
|
7783
|
-
if (trimmed) {
|
|
7784
|
-
newContextSelectors.push(trimmed);
|
|
7785
|
-
}
|
|
7786
|
-
}
|
|
7753
|
+
// Execute `_cssColonHostContextRe` over and over until we have extracted all the
|
|
7754
|
+
// `:host-context` selectors from this selector.
|
|
7755
|
+
let match;
|
|
7756
|
+
while ((match = _cssColonHostContextRe.exec(selectorText))) {
|
|
7757
|
+
// `match` = [':host-context(<selectors>)<rest>', <selectors>, <rest>]
|
|
7758
|
+
// The `<selectors>` could actually be a comma separated list: `:host-context(.one, .two)`.
|
|
7759
|
+
const newContextSelectors = (match[1] ?? '')
|
|
7760
|
+
.trim()
|
|
7761
|
+
.split(',')
|
|
7762
|
+
.map((m) => m.trim())
|
|
7763
|
+
.filter((m) => m !== '');
|
|
7787
7764
|
// We must duplicate the current selector group for each of these new selectors.
|
|
7788
7765
|
// For example if the current groups are:
|
|
7789
7766
|
// ```
|
|
@@ -7810,8 +7787,7 @@ class ShadowCss {
|
|
|
7810
7787
|
}
|
|
7811
7788
|
}
|
|
7812
7789
|
// Update the `selectorText` and see repeat to see if there are more `:host-context`s.
|
|
7813
|
-
selectorText =
|
|
7814
|
-
startIndex = selectorText.indexOf(_polyfillHostContext);
|
|
7790
|
+
selectorText = match[2];
|
|
7815
7791
|
}
|
|
7816
7792
|
// The context selectors now must be combined with each other to capture all the possible
|
|
7817
7793
|
// selectors that `:host-context` can match. See `_combineHostContextSelectors()` for more
|
|
@@ -8118,9 +8094,9 @@ class SafeSelector {
|
|
|
8118
8094
|
});
|
|
8119
8095
|
// Replaces the expression in `:nth-child(2n + 1)` with a placeholder.
|
|
8120
8096
|
// WS and "+" would otherwise be interpreted as selector separators.
|
|
8121
|
-
this._content = selector.replace(
|
|
8097
|
+
this._content = selector.replace(/(:nth-[-\w]+)(\([^)]+\))/g, (_, pseudo, exp) => {
|
|
8122
8098
|
const replaceBy = `__ph-${this.index}__`;
|
|
8123
|
-
this.placeholders.push(
|
|
8099
|
+
this.placeholders.push(exp);
|
|
8124
8100
|
this.index++;
|
|
8125
8101
|
return pseudo + replaceBy;
|
|
8126
8102
|
});
|
|
@@ -8152,19 +8128,13 @@ const _cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content:[\s]*([
|
|
|
8152
8128
|
const _polyfillHost = '-shadowcsshost';
|
|
8153
8129
|
// note: :host-context pre-processed to -shadowcsshostcontext.
|
|
8154
8130
|
const _polyfillHostContext = '-shadowcsscontext';
|
|
8155
|
-
|
|
8156
|
-
const _noParens = '[^)(]*';
|
|
8157
|
-
// Matches content with at most ONE level of nesting, e.g., "a(b)c"
|
|
8158
|
-
const _level1Parens = String.raw `(?:\(${_noParens}\)|${_noParens})+?`;
|
|
8159
|
-
// Matches content with at most TWO levels of nesting, e.g., "a(b(c)d)e"
|
|
8160
|
-
const _level2Parens = String.raw `(?:\(${_level1Parens}\)|${_noParens})+?`;
|
|
8161
|
-
const _parenSuffix = String.raw `(?:\((${_level2Parens})\))`;
|
|
8162
|
-
const nthRegex = new RegExp(String.raw `(:nth-[-\w]+)` + _parenSuffix, 'g');
|
|
8131
|
+
const _parenSuffix = '(?:\\((' + '(?:\\([^)(]*\\)|[^)(]*)+?' + ')\\))';
|
|
8163
8132
|
const _cssColonHostRe = new RegExp(_polyfillHost + _parenSuffix + '?([^,{]*)', 'gim');
|
|
8164
8133
|
// note: :host-context patterns are terminated with `{`, as opposed to :host which
|
|
8165
8134
|
// is both `{` and `,` because :host-context handles top-level commas differently.
|
|
8166
8135
|
const _hostContextPattern = _polyfillHostContext + _parenSuffix + '?([^{]*)';
|
|
8167
8136
|
const _cssColonHostContextReGlobal = new RegExp(`${_cssScopedPseudoFunctionPrefix}(${_hostContextPattern})`, 'gim');
|
|
8137
|
+
const _cssColonHostContextRe = new RegExp(_hostContextPattern, 'im');
|
|
8168
8138
|
const _polyfillHostNoCombinator = _polyfillHost + '-no-combinator';
|
|
8169
8139
|
const _polyfillHostNoCombinatorOutsidePseudoFunction = new RegExp(`${_polyfillHostNoCombinator}(?![^(]*\\))`, 'g');
|
|
8170
8140
|
const _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s,]*)/;
|
|
@@ -32822,7 +32792,7 @@ function isAttrNode(ast) {
|
|
|
32822
32792
|
* @description
|
|
32823
32793
|
* Entry point for all public APIs of the compiler package.
|
|
32824
32794
|
*/
|
|
32825
|
-
const VERSION = new Version('20.3.
|
|
32795
|
+
const VERSION = new Version('20.3.13');
|
|
32826
32796
|
|
|
32827
32797
|
//////////////////////////////////////
|
|
32828
32798
|
// THIS FILE HAS GLOBAL SIDE EFFECT //
|
|
@@ -33884,7 +33854,7 @@ class NodeJSPathManipulation {
|
|
|
33884
33854
|
// G3-ESM-MARKER: G3 uses CommonJS, but externally everything in ESM.
|
|
33885
33855
|
// CommonJS/ESM interop for determining the current file name and containing dir.
|
|
33886
33856
|
const isCommonJS = typeof __filename !== 'undefined';
|
|
33887
|
-
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-
|
|
33857
|
+
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-CopGppNj.cjs', document.baseURI).href));
|
|
33888
33858
|
// Note, when this code loads in the browser, `url` may be an empty `{}` due to the Closure shims.
|
|
33889
33859
|
const currentFileName = isCommonJS
|
|
33890
33860
|
? __filename
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.3.
|
|
3
|
+
* @license Angular v20.3.13
|
|
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-C306_97v.cjs');
|
|
13
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-CopGppNj.cjs');
|
|
14
14
|
var ts = require('typescript');
|
|
15
15
|
var property_name = require('./property_name-BBwFuqMe.cjs');
|
|
16
16
|
require('os');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.3.
|
|
3
|
+
* @license Angular v20.3.13
|
|
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
|
-
require('./project_tsconfig_paths-
|
|
12
|
-
require('./index-
|
|
11
|
+
require('./project_tsconfig_paths-CopGppNj.cjs');
|
|
12
|
+
require('./index-AeYmwRJL.cjs');
|
|
13
13
|
require('path');
|
|
14
14
|
require('node:path');
|
|
15
|
-
var project_paths = require('./project_paths-
|
|
15
|
+
var project_paths = require('./project_paths-CMd3bdgw.cjs');
|
|
16
16
|
var imports = require('./imports-CIX-JgAN.cjs');
|
|
17
17
|
var symbol = require('./symbol-VPWguRxr.cjs');
|
|
18
18
|
require('@angular-devkit/core');
|