@angular/core 19.0.0-next.4 → 19.0.0-next.5
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/fesm2022/core.mjs +13 -13
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +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 +10 -1
- 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/compiler_host-ca7ba733.js +2 -2
- package/schematics/bundles/control-flow-migration.js +1 -1
- package/schematics/bundles/explicit-standalone-flag.js +1 -1
- package/schematics/bundles/imports-4ac08251.js +1 -1
- package/schematics/bundles/inject-migration.js +1 -1
- package/schematics/bundles/nodes-0e7d45ca.js +1 -1
- package/schematics/bundles/project_tsconfig_paths-e9ccccbf.js +1 -1
- package/schematics/bundles/route-lazy-loading.js +1 -1
- package/schematics/bundles/standalone-migration.js +11 -11
- package/testing/index.d.ts +1 -1
package/fesm2022/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.0.0-next.
|
|
2
|
+
* @license Angular v19.0.0-next.5
|
|
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 { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
179
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
178
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.5", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
179
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.5", ngImport: i0, type: TestBedApplicationErrorHandler }); }
|
|
180
180
|
}
|
|
181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.5", 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.0-next.
|
|
2
|
+
* @license Angular v19.0.0-next.5
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -6190,6 +6190,8 @@ export declare interface InputFunction {
|
|
|
6190
6190
|
<T>(): InputSignal<T | undefined>;
|
|
6191
6191
|
/** Declares an input of type `T` with an explicit initial value. */
|
|
6192
6192
|
<T>(initialValue: T, opts?: InputOptionsWithoutTransform<T>): InputSignal<T>;
|
|
6193
|
+
/** Declares an input of type `T|undefined` without an initial value, but with input options */
|
|
6194
|
+
<T>(initialValue: undefined, opts: InputOptionsWithoutTransform<T>): InputSignal<T | undefined>;
|
|
6193
6195
|
/**
|
|
6194
6196
|
* Declares an input of type `T` with an initial value and a transform
|
|
6195
6197
|
* function.
|
|
@@ -6198,6 +6200,13 @@ export declare interface InputFunction {
|
|
|
6198
6200
|
* transform function will transform the value to type `T`.
|
|
6199
6201
|
*/
|
|
6200
6202
|
<T, TransformT>(initialValue: T, opts: InputOptionsWithTransform<T, TransformT>): InputSignalWithTransform<T, TransformT>;
|
|
6203
|
+
/**
|
|
6204
|
+
* Declares an input of type `T|undefined` without an initial value and with a transform
|
|
6205
|
+
* function.
|
|
6206
|
+
*
|
|
6207
|
+
* The input accepts values of type `TransformT` and the given
|
|
6208
|
+
* transform function will transform the value to type `T|undefined`.
|
|
6209
|
+
*/ <T, TransformT>(initialValue: undefined, opts: InputOptionsWithTransform<T | undefined, TransformT>): InputSignalWithTransform<T | undefined, TransformT>;
|
|
6201
6210
|
/**
|
|
6202
6211
|
* Initializes a required input.
|
|
6203
6212
|
*
|
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.0-next.
|
|
3
|
+
* @license Angular v19.0.0-next.5
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -29070,7 +29070,7 @@ function publishFacade(global) {
|
|
|
29070
29070
|
* @description
|
|
29071
29071
|
* Entry point for all public APIs of the compiler package.
|
|
29072
29072
|
*/
|
|
29073
|
-
new Version('19.0.0-next.
|
|
29073
|
+
new Version('19.0.0-next.5');
|
|
29074
29074
|
|
|
29075
29075
|
const _I18N_ATTR = 'i18n';
|
|
29076
29076
|
const _I18N_ATTR_PREFIX = 'i18n-';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.0.0-next.
|
|
3
|
+
* @license Angular v19.0.0-next.5
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -874,7 +874,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
874
874
|
function compileDeclareClassMetadata(metadata) {
|
|
875
875
|
const definitionMap = new compiler_host.DefinitionMap();
|
|
876
876
|
definitionMap.set('minVersion', compiler_host.literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
877
|
-
definitionMap.set('version', compiler_host.literal('19.0.0-next.
|
|
877
|
+
definitionMap.set('version', compiler_host.literal('19.0.0-next.5'));
|
|
878
878
|
definitionMap.set('ngImport', compiler_host.importExpr(compiler_host.Identifiers.core));
|
|
879
879
|
definitionMap.set('type', metadata.type);
|
|
880
880
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -892,7 +892,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
892
892
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? compiler_host.literal(null));
|
|
893
893
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? compiler_host.literal(null));
|
|
894
894
|
definitionMap.set('minVersion', compiler_host.literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
895
|
-
definitionMap.set('version', compiler_host.literal('19.0.0-next.
|
|
895
|
+
definitionMap.set('version', compiler_host.literal('19.0.0-next.5'));
|
|
896
896
|
definitionMap.set('ngImport', compiler_host.importExpr(compiler_host.Identifiers.core));
|
|
897
897
|
definitionMap.set('type', metadata.type);
|
|
898
898
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -987,7 +987,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
987
987
|
const definitionMap = new compiler_host.DefinitionMap();
|
|
988
988
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
989
989
|
definitionMap.set('minVersion', compiler_host.literal(minVersion));
|
|
990
|
-
definitionMap.set('version', compiler_host.literal('19.0.0-next.
|
|
990
|
+
definitionMap.set('version', compiler_host.literal('19.0.0-next.5'));
|
|
991
991
|
// e.g. `type: MyDirective`
|
|
992
992
|
definitionMap.set('type', meta.type.value);
|
|
993
993
|
if (meta.isStandalone) {
|
|
@@ -1406,7 +1406,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
1406
1406
|
function compileDeclareFactoryFunction(meta) {
|
|
1407
1407
|
const definitionMap = new compiler_host.DefinitionMap();
|
|
1408
1408
|
definitionMap.set('minVersion', compiler_host.literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
1409
|
-
definitionMap.set('version', compiler_host.literal('19.0.0-next.
|
|
1409
|
+
definitionMap.set('version', compiler_host.literal('19.0.0-next.5'));
|
|
1410
1410
|
definitionMap.set('ngImport', compiler_host.importExpr(compiler_host.Identifiers.core));
|
|
1411
1411
|
definitionMap.set('type', meta.type.value);
|
|
1412
1412
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -1441,7 +1441,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
1441
1441
|
function createInjectableDefinitionMap(meta) {
|
|
1442
1442
|
const definitionMap = new compiler_host.DefinitionMap();
|
|
1443
1443
|
definitionMap.set('minVersion', compiler_host.literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
1444
|
-
definitionMap.set('version', compiler_host.literal('19.0.0-next.
|
|
1444
|
+
definitionMap.set('version', compiler_host.literal('19.0.0-next.5'));
|
|
1445
1445
|
definitionMap.set('ngImport', compiler_host.importExpr(compiler_host.Identifiers.core));
|
|
1446
1446
|
definitionMap.set('type', meta.type.value);
|
|
1447
1447
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -1492,7 +1492,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
1492
1492
|
function createInjectorDefinitionMap(meta) {
|
|
1493
1493
|
const definitionMap = new compiler_host.DefinitionMap();
|
|
1494
1494
|
definitionMap.set('minVersion', compiler_host.literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
1495
|
-
definitionMap.set('version', compiler_host.literal('19.0.0-next.
|
|
1495
|
+
definitionMap.set('version', compiler_host.literal('19.0.0-next.5'));
|
|
1496
1496
|
definitionMap.set('ngImport', compiler_host.importExpr(compiler_host.Identifiers.core));
|
|
1497
1497
|
definitionMap.set('type', meta.type.value);
|
|
1498
1498
|
definitionMap.set('providers', meta.providers);
|
|
@@ -1525,7 +1525,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
1525
1525
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
1526
1526
|
}
|
|
1527
1527
|
definitionMap.set('minVersion', compiler_host.literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
1528
|
-
definitionMap.set('version', compiler_host.literal('19.0.0-next.
|
|
1528
|
+
definitionMap.set('version', compiler_host.literal('19.0.0-next.5'));
|
|
1529
1529
|
definitionMap.set('ngImport', compiler_host.importExpr(compiler_host.Identifiers.core));
|
|
1530
1530
|
definitionMap.set('type', meta.type.value);
|
|
1531
1531
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -1576,7 +1576,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
1576
1576
|
function createPipeDefinitionMap(meta) {
|
|
1577
1577
|
const definitionMap = new compiler_host.DefinitionMap();
|
|
1578
1578
|
definitionMap.set('minVersion', compiler_host.literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
1579
|
-
definitionMap.set('version', compiler_host.literal('19.0.0-next.
|
|
1579
|
+
definitionMap.set('version', compiler_host.literal('19.0.0-next.5'));
|
|
1580
1580
|
definitionMap.set('ngImport', compiler_host.importExpr(compiler_host.Identifiers.core));
|
|
1581
1581
|
// e.g. `type: MyPipe`
|
|
1582
1582
|
definitionMap.set('type', meta.type.value);
|
|
@@ -11536,7 +11536,7 @@ class PipeDecoratorHandler {
|
|
|
11536
11536
|
* @description
|
|
11537
11537
|
* Entry point for all public APIs of the compiler-cli package.
|
|
11538
11538
|
*/
|
|
11539
|
-
new compiler_host.Version('19.0.0-next.
|
|
11539
|
+
new compiler_host.Version('19.0.0-next.5');
|
|
11540
11540
|
|
|
11541
11541
|
/**
|
|
11542
11542
|
* Whether a given decorator should be treated as an Angular decorator.
|
|
@@ -18893,7 +18893,7 @@ var semver$1 = /*@__PURE__*/getDefaultExportFromCjs(semver);
|
|
|
18893
18893
|
* @param minVersion Minimum required version for the feature.
|
|
18894
18894
|
*/
|
|
18895
18895
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
18896
|
-
// A version of `19.0.0-next.
|
|
18896
|
+
// A version of `19.0.0-next.5` usually means that core is at head so it supports
|
|
18897
18897
|
// all features. Use string interpolation prevent the placeholder from being replaced
|
|
18898
18898
|
// with the current version during build time.
|
|
18899
18899
|
if (coreVersion === `0.0.0-${'PLACEHOLDER'}`) {
|
package/testing/index.d.ts
CHANGED