@angular/core 19.0.5 → 19.0.6
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/LICENSE +1 -1
- package/fesm2022/core.mjs +32 -26
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -24
- package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +4 -4
- package/index.d.ts +5 -3
- package/package.json +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 +1 -1
- package/schematics/bundles/{checker-eced36c5.js → checker-99fcd356.js} +25 -9
- package/schematics/bundles/{combine_units-438d7a79.js → combine_units-755cada7.js} +3 -3
- package/schematics/bundles/{compiler_host-82c877de.js → compiler_host-6ebdb0ca.js} +2 -2
- package/schematics/bundles/control-flow-migration.js +3 -3
- package/schematics/bundles/explicit-standalone-flag.js +3 -3
- package/schematics/bundles/imports-abe29092.js +1 -1
- package/schematics/bundles/inject-migration.js +3 -3
- package/schematics/bundles/leading_space-d190b83b.js +1 -1
- package/schematics/bundles/{migrate_ts_type_references-7e102890.js → migrate_ts_type_references-c61efd47.js} +4 -4
- package/schematics/bundles/nodes-a9f0b985.js +1 -1
- package/schematics/bundles/output-migration.js +4 -4
- package/schematics/bundles/pending-tasks.js +3 -3
- package/schematics/bundles/{program-c49e652e.js → program-2d2a3ded.js} +70 -29
- package/schematics/bundles/project_tsconfig_paths-e9ccccbf.js +1 -1
- package/schematics/bundles/provide-initializer.js +3 -3
- package/schematics/bundles/route-lazy-loading.js +3 -3
- package/schematics/bundles/signal-input-migration.js +5 -5
- package/schematics/bundles/signal-queries-migration.js +5 -5
- package/schematics/bundles/signals.js +5 -5
- package/schematics/bundles/standalone-migration.js +5 -5
- package/testing/index.d.ts +1 -1
package/fesm2022/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.0.
|
|
2
|
+
* @license Angular v19.0.6
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -175,10 +175,10 @@ class TestBedApplicationErrorHandler {
|
|
|
175
175
|
throw e;
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
179
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.
|
|
178
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
179
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: TestBedApplicationErrorHandler });
|
|
180
180
|
}
|
|
181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: TestBedApplicationErrorHandler, decorators: [{
|
|
182
182
|
type: Injectable
|
|
183
183
|
}] });
|
|
184
184
|
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.0.
|
|
2
|
+
* @license Angular v19.0.6
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1170,7 +1170,6 @@ export declare class ApplicationRef {
|
|
|
1170
1170
|
* Returns the number of attached views.
|
|
1171
1171
|
*/
|
|
1172
1172
|
get viewCount(): number;
|
|
1173
|
-
private warnIfDestroyed;
|
|
1174
1173
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationRef, never>;
|
|
1175
1174
|
static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationRef>;
|
|
1176
1175
|
}
|
|
@@ -12641,6 +12640,7 @@ declare class ZoneAwareEffectScheduler implements ɵEffectScheduler {
|
|
|
12641
12640
|
private queuedEffectCount;
|
|
12642
12641
|
private queues;
|
|
12643
12642
|
schedule(handle: SchedulableEffect): void;
|
|
12643
|
+
remove(handle: SchedulableEffect): void;
|
|
12644
12644
|
private enqueue;
|
|
12645
12645
|
/**
|
|
12646
12646
|
* Run all scheduled effects.
|
|
@@ -13452,6 +13452,8 @@ export declare abstract class ɵEffectScheduler {
|
|
|
13452
13452
|
* Run any scheduled effects.
|
|
13453
13453
|
*/
|
|
13454
13454
|
abstract flush(): void;
|
|
13455
|
+
/** Remove a scheduled effect */
|
|
13456
|
+
abstract remove(e: SchedulableEffect): void;
|
|
13455
13457
|
/** @nocollapse */
|
|
13456
13458
|
static ɵprov: unknown;
|
|
13457
13459
|
}
|
|
@@ -14531,7 +14533,7 @@ export declare const enum ɵRuntimeErrorCode {
|
|
|
14531
14533
|
ASSERTION_NOT_INSIDE_REACTIVE_CONTEXT = -602,
|
|
14532
14534
|
INVALID_I18N_STRUCTURE = 700,
|
|
14533
14535
|
MISSING_LOCALE_DATA = 701,
|
|
14534
|
-
DEFER_LOADING_FAILED = 750,
|
|
14536
|
+
DEFER_LOADING_FAILED = -750,
|
|
14535
14537
|
IMPORT_PROVIDERS_FROM_STANDALONE = 800,
|
|
14536
14538
|
INVALID_DIFFER_INPUT = 900,
|
|
14537
14539
|
NO_SUPPORTING_DIFFER_FACTORY = 901,
|
package/package.json
CHANGED
package/rxjs-interop/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.0.
|
|
3
|
+
* @license Angular v19.0.6
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -26881,7 +26881,7 @@ function parseForLoopParameters(block, errors, bindingParser) {
|
|
|
26881
26881
|
}
|
|
26882
26882
|
continue;
|
|
26883
26883
|
}
|
|
26884
|
-
errors.push(new ParseError(param.sourceSpan, `Unrecognized @for loop
|
|
26884
|
+
errors.push(new ParseError(param.sourceSpan, `Unrecognized @for loop parameter "${param.expression}"`));
|
|
26885
26885
|
}
|
|
26886
26886
|
return result;
|
|
26887
26887
|
}
|
|
@@ -27028,7 +27028,7 @@ function parseConditionalBlockParameters(block, errors, bindingParser) {
|
|
|
27028
27028
|
// For now conditionals can only have an `as` parameter.
|
|
27029
27029
|
// We may want to rework this later if we add more.
|
|
27030
27030
|
if (aliasMatch === null) {
|
|
27031
|
-
errors.push(new ParseError(param.sourceSpan, `Unrecognized conditional
|
|
27031
|
+
errors.push(new ParseError(param.sourceSpan, `Unrecognized conditional parameter "${param.expression}"`));
|
|
27032
27032
|
}
|
|
27033
27033
|
else if (block.name !== 'if') {
|
|
27034
27034
|
errors.push(new ParseError(param.sourceSpan, '"as" expression is only allowed on the primary @if block'));
|
|
@@ -30321,7 +30321,7 @@ function publishFacade(global) {
|
|
|
30321
30321
|
* @description
|
|
30322
30322
|
* Entry point for all public APIs of the compiler package.
|
|
30323
30323
|
*/
|
|
30324
|
-
new Version('19.0.
|
|
30324
|
+
new Version('19.0.6');
|
|
30325
30325
|
|
|
30326
30326
|
const _I18N_ATTR = 'i18n';
|
|
30327
30327
|
const _I18N_ATTR_PREFIX = 'i18n-';
|
|
@@ -31729,7 +31729,7 @@ class NodeJSPathManipulation {
|
|
|
31729
31729
|
// G3-ESM-MARKER: G3 uses CommonJS, but externally everything in ESM.
|
|
31730
31730
|
// CommonJS/ESM interop for determining the current file name and containing dir.
|
|
31731
31731
|
const isCommonJS = typeof __filename !== 'undefined';
|
|
31732
|
-
const currentFileUrl = isCommonJS ? null : (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT' && document.currentScript.src || new URL('checker-
|
|
31732
|
+
const currentFileUrl = isCommonJS ? null : (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT' && document.currentScript.src || new URL('checker-99fcd356.js', document.baseURI).href));
|
|
31733
31733
|
const currentFileName = isCommonJS ? __filename : url.fileURLToPath(currentFileUrl);
|
|
31734
31734
|
/**
|
|
31735
31735
|
* A wrapper around the Node.js file-system that supports readonly operations and path manipulation.
|
|
@@ -32828,9 +32828,16 @@ function classMemberAccessLevelToString(level) {
|
|
|
32828
32828
|
class TypeScriptReflectionHost {
|
|
32829
32829
|
checker;
|
|
32830
32830
|
isLocalCompilation;
|
|
32831
|
-
|
|
32831
|
+
skipPrivateValueDeclarationTypes;
|
|
32832
|
+
/**
|
|
32833
|
+
* @param skipPrivateValueDeclarationTypes Avoids using a value declaration that is considered private (using a ɵ-prefix),
|
|
32834
|
+
* instead using the first available declaration. This is needed for the {@link FormControl} API of
|
|
32835
|
+
* which the type declaration documents the type and the value declaration corresponds with an implementation detail.
|
|
32836
|
+
*/
|
|
32837
|
+
constructor(checker, isLocalCompilation = false, skipPrivateValueDeclarationTypes = false) {
|
|
32832
32838
|
this.checker = checker;
|
|
32833
32839
|
this.isLocalCompilation = isLocalCompilation;
|
|
32840
|
+
this.skipPrivateValueDeclarationTypes = skipPrivateValueDeclarationTypes;
|
|
32834
32841
|
}
|
|
32835
32842
|
getDecoratorsOfDeclaration(declaration) {
|
|
32836
32843
|
const decorators = ts__default["default"].canHaveDecorators(declaration)
|
|
@@ -33129,9 +33136,10 @@ class TypeScriptReflectionHost {
|
|
|
33129
33136
|
while (symbol.flags & ts__default["default"].SymbolFlags.Alias) {
|
|
33130
33137
|
symbol = this.checker.getAliasedSymbol(symbol);
|
|
33131
33138
|
}
|
|
33132
|
-
// Look at the resolved Symbol's declarations and pick one of them to return.
|
|
33133
|
-
// are given precedence over type declarations
|
|
33134
|
-
if (symbol.valueDeclaration !== undefined
|
|
33139
|
+
// Look at the resolved Symbol's declarations and pick one of them to return.
|
|
33140
|
+
// Value declarations are given precedence over type declarations if not specified otherwise
|
|
33141
|
+
if (symbol.valueDeclaration !== undefined &&
|
|
33142
|
+
(!this.skipPrivateValueDeclarationTypes || !isPrivateSymbol(this.checker, symbol))) {
|
|
33135
33143
|
return {
|
|
33136
33144
|
node: symbol.valueDeclaration,
|
|
33137
33145
|
viaModule: this._viaModule(symbol.valueDeclaration, originalId, importInfo),
|
|
@@ -33442,6 +33450,14 @@ function propertyNameToString(node) {
|
|
|
33442
33450
|
return null;
|
|
33443
33451
|
}
|
|
33444
33452
|
}
|
|
33453
|
+
/** Determines whether a given symbol represents a private API (symbols with names that start with `ɵ`) */
|
|
33454
|
+
function isPrivateSymbol(typeChecker, symbol) {
|
|
33455
|
+
if (symbol.valueDeclaration !== undefined) {
|
|
33456
|
+
const symbolType = typeChecker.getTypeOfSymbolAtLocation(symbol, symbol.valueDeclaration);
|
|
33457
|
+
return symbolType?.symbol?.name.startsWith('ɵ') === true;
|
|
33458
|
+
}
|
|
33459
|
+
return false;
|
|
33460
|
+
}
|
|
33445
33461
|
/**
|
|
33446
33462
|
* Compute the left most identifier in a qualified type chain. E.g. the `a` of `a.b.c.SomeType`.
|
|
33447
33463
|
* @param qualifiedName The starting property access expression from which we want to compute
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.0.
|
|
3
|
+
* @license Angular v19.0.6
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -10,8 +10,8 @@ var core = require('@angular-devkit/core');
|
|
|
10
10
|
var posixPath = require('node:path/posix');
|
|
11
11
|
var os = require('os');
|
|
12
12
|
var ts = require('typescript');
|
|
13
|
-
var checker = require('./checker-
|
|
14
|
-
var program = require('./program-
|
|
13
|
+
var checker = require('./checker-99fcd356.js');
|
|
14
|
+
var program = require('./program-2d2a3ded.js');
|
|
15
15
|
require('path');
|
|
16
16
|
|
|
17
17
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.0.
|
|
3
|
+
* @license Angular v19.0.6
|
|
4
4
|
* (c) 2010-2024 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 checker = require('./checker-
|
|
10
|
+
var checker = require('./checker-99fcd356.js');
|
|
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 v19.0.
|
|
3
|
+
* @license Angular v19.0.6
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -10,8 +10,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
10
10
|
|
|
11
11
|
var schematics = require('@angular-devkit/schematics');
|
|
12
12
|
var p = require('path');
|
|
13
|
-
var compiler_host = require('./compiler_host-
|
|
14
|
-
var checker = require('./checker-
|
|
13
|
+
var compiler_host = require('./compiler_host-6ebdb0ca.js');
|
|
14
|
+
var checker = require('./checker-99fcd356.js');
|
|
15
15
|
var ts = require('typescript');
|
|
16
16
|
require('os');
|
|
17
17
|
require('fs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.0.
|
|
3
|
+
* @license Angular v19.0.6
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -11,11 +11,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
11
11
|
var schematics = require('@angular-devkit/schematics');
|
|
12
12
|
var p = require('path');
|
|
13
13
|
var project_tsconfig_paths = require('./project_tsconfig_paths-e9ccccbf.js');
|
|
14
|
-
var compiler_host = require('./compiler_host-
|
|
14
|
+
var compiler_host = require('./compiler_host-6ebdb0ca.js');
|
|
15
15
|
var ts = require('typescript');
|
|
16
16
|
var imports = require('./imports-abe29092.js');
|
|
17
17
|
require('@angular-devkit/core');
|
|
18
|
-
require('./checker-
|
|
18
|
+
require('./checker-99fcd356.js');
|
|
19
19
|
require('os');
|
|
20
20
|
require('fs');
|
|
21
21
|
require('module');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.0.
|
|
3
|
+
* @license Angular v19.0.6
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -10,12 +10,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
10
10
|
|
|
11
11
|
var schematics = require('@angular-devkit/schematics');
|
|
12
12
|
var p = require('path');
|
|
13
|
-
var compiler_host = require('./compiler_host-
|
|
13
|
+
var compiler_host = require('./compiler_host-6ebdb0ca.js');
|
|
14
14
|
var ts = require('typescript');
|
|
15
15
|
var nodes = require('./nodes-a9f0b985.js');
|
|
16
16
|
var imports = require('./imports-abe29092.js');
|
|
17
17
|
var leading_space = require('./leading_space-d190b83b.js');
|
|
18
|
-
require('./checker-
|
|
18
|
+
require('./checker-99fcd356.js');
|
|
19
19
|
require('os');
|
|
20
20
|
require('fs');
|
|
21
21
|
require('module');
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.0.
|
|
3
|
+
* @license Angular v19.0.6
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
|
-
var checker = require('./checker-
|
|
9
|
+
var checker = require('./checker-99fcd356.js');
|
|
10
10
|
var ts = require('typescript');
|
|
11
11
|
require('os');
|
|
12
12
|
var assert = require('assert');
|
|
13
|
-
var combine_units = require('./combine_units-
|
|
13
|
+
var combine_units = require('./combine_units-755cada7.js');
|
|
14
14
|
var leading_space = require('./leading_space-d190b83b.js');
|
|
15
|
-
require('./program-
|
|
15
|
+
require('./program-2d2a3ded.js');
|
|
16
16
|
require('path');
|
|
17
17
|
|
|
18
18
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.0.
|
|
3
|
+
* @license Angular v19.0.6
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -10,11 +10,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
10
10
|
|
|
11
11
|
var schematics = require('@angular-devkit/schematics');
|
|
12
12
|
var project_tsconfig_paths = require('./project_tsconfig_paths-e9ccccbf.js');
|
|
13
|
-
var combine_units = require('./combine_units-
|
|
13
|
+
var combine_units = require('./combine_units-755cada7.js');
|
|
14
14
|
require('os');
|
|
15
15
|
var ts = require('typescript');
|
|
16
|
-
var checker = require('./checker-
|
|
17
|
-
var program = require('./program-
|
|
16
|
+
var checker = require('./checker-99fcd356.js');
|
|
17
|
+
var program = require('./program-2d2a3ded.js');
|
|
18
18
|
require('path');
|
|
19
19
|
require('@angular-devkit/core');
|
|
20
20
|
require('node:path/posix');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.0.
|
|
3
|
+
* @license Angular v19.0.6
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -11,11 +11,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
11
11
|
var schematics = require('@angular-devkit/schematics');
|
|
12
12
|
var p = require('path');
|
|
13
13
|
var project_tsconfig_paths = require('./project_tsconfig_paths-e9ccccbf.js');
|
|
14
|
-
var compiler_host = require('./compiler_host-
|
|
14
|
+
var compiler_host = require('./compiler_host-6ebdb0ca.js');
|
|
15
15
|
var ts = require('typescript');
|
|
16
16
|
var imports = require('./imports-abe29092.js');
|
|
17
17
|
require('@angular-devkit/core');
|
|
18
|
-
require('./checker-
|
|
18
|
+
require('./checker-99fcd356.js');
|
|
19
19
|
require('os');
|
|
20
20
|
require('fs');
|
|
21
21
|
require('module');
|