@angular/core 19.0.0-next.7 → 19.0.0-next.8
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 +21 -0
- package/fesm2022/core.mjs +274 -147
- 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 +67 -52
- 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-637eee78.js → checker-e68dd7ce.js} +15 -5
- package/schematics/bundles/{compiler_host-1e62b899.js → compiler_host-9a4d0c2b.js} +2 -2
- package/schematics/bundles/control-flow-migration.js +3 -3
- package/schematics/bundles/explicit-standalone-flag.js +5 -5
- package/schematics/bundles/group_replacements-472b2387.js +31445 -0
- package/schematics/bundles/{imports-44987700.js → imports-4ac08251.js} +1 -1
- package/schematics/bundles/inject-migration.js +24 -8
- package/schematics/bundles/{leading_space-6e7a8ec6.js → leading_space-d190b83b.js} +1 -1
- package/schematics/bundles/{nodes-b12e919a.js → nodes-0e7d45ca.js} +2 -2
- package/schematics/bundles/pending-tasks.js +5 -5
- package/schematics/bundles/{program-893e3fe7.js → program-105283c5.js} +66 -24
- package/schematics/bundles/{project_tsconfig_paths-6c9cde78.js → project_tsconfig_paths-e9ccccbf.js} +1 -1
- package/schematics/bundles/route-lazy-loading.js +4 -4
- package/schematics/bundles/signal-input-migration.js +371 -31688
- package/schematics/bundles/signal-queries-migration.js +905 -0
- package/schematics/bundles/standalone-migration.js +8 -8
- package/schematics/collection.json +6 -0
- package/schematics/ng-generate/signal-queries-migration/schema.json +19 -0
- 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.8
|
|
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.8", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
179
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.8", 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.8", 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.8
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -10,12 +10,12 @@ import { EnvironmentProviders as EnvironmentProviders_2 } from '@angular/core';
|
|
|
10
10
|
import { EventContract } from '@angular/core/primitives/event-dispatch';
|
|
11
11
|
import { Observable } from 'rxjs';
|
|
12
12
|
import { ReactiveNode } from '@angular/core/primitives/signals';
|
|
13
|
-
import { SIGNAL } from '@angular/core/primitives/signals';
|
|
14
13
|
import { SignalNode } from '@angular/core/primitives/signals';
|
|
15
14
|
import { Subject } from 'rxjs';
|
|
16
15
|
import { Subscribable } from 'rxjs';
|
|
17
16
|
import { Subscription } from 'rxjs';
|
|
18
17
|
import { ɵProfiler as ɵProfiler_2 } from '@angular/core';
|
|
18
|
+
import { SIGNAL as ɵSIGNAL } from '@angular/core/primitives/signals';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* @description
|
|
@@ -503,6 +503,13 @@ export declare interface AfterRenderOptions {
|
|
|
503
503
|
* If this is not provided, the current injection context will be used instead (via `inject`).
|
|
504
504
|
*/
|
|
505
505
|
injector?: Injector;
|
|
506
|
+
/**
|
|
507
|
+
* Whether the hook should require manual cleanup.
|
|
508
|
+
*
|
|
509
|
+
* If this is `false` (the default) the hook will automatically register itself to be cleaned up
|
|
510
|
+
* with the current `DestroyRef`.
|
|
511
|
+
*/
|
|
512
|
+
manualCleanup?: boolean;
|
|
506
513
|
/**
|
|
507
514
|
* The phase the callback should be invoked in.
|
|
508
515
|
*
|
|
@@ -609,7 +616,7 @@ declare class AfterRenderSequence implements AfterRenderRef {
|
|
|
609
616
|
*/
|
|
610
617
|
pipelinedValue: unknown;
|
|
611
618
|
private unregisterOnDestroy;
|
|
612
|
-
constructor(impl: AfterRenderImpl, hooks: AfterRenderHooks, once: boolean, destroyRef: DestroyRef);
|
|
619
|
+
constructor(impl: AfterRenderImpl, hooks: AfterRenderHooks, once: boolean, destroyRef: DestroyRef | null);
|
|
613
620
|
afterRun(): void;
|
|
614
621
|
destroy(): void;
|
|
615
622
|
}
|
|
@@ -4686,21 +4693,6 @@ export declare interface GetTestability {
|
|
|
4686
4693
|
* */
|
|
4687
4694
|
declare const GLOBAL_PUBLISH_EXPANDO_KEY = "ng";
|
|
4688
4695
|
|
|
4689
|
-
/**
|
|
4690
|
-
* This class is the delegate for `EventDelegationPlugin`. It represents the
|
|
4691
|
-
* noop version of this class, with the enabled version set when
|
|
4692
|
-
* `provideGlobalEventDelegation` is called.
|
|
4693
|
-
*/
|
|
4694
|
-
declare class GlobalEventDelegation implements OnDestroy {
|
|
4695
|
-
private eventContractDetails;
|
|
4696
|
-
ngOnDestroy(): void;
|
|
4697
|
-
supports(eventType: string): boolean;
|
|
4698
|
-
addEventListener(element: HTMLElement, eventType: string, handler: Function): Function;
|
|
4699
|
-
removeEventListener(element: HTMLElement, eventType: string, callback: Function): void;
|
|
4700
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GlobalEventDelegation, never>;
|
|
4701
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GlobalEventDelegation>;
|
|
4702
|
-
}
|
|
4703
|
-
|
|
4704
4696
|
/**
|
|
4705
4697
|
* The goal here is to make sure that the browser DOM API is the Renderer.
|
|
4706
4698
|
* We do this by defining a subset of DOM API to be the renderer and then
|
|
@@ -6270,27 +6262,6 @@ export declare type InputOptionsWithTransform<T, TransformT> = Required<Pick<Inp
|
|
|
6270
6262
|
export declare interface InputSignal<T> extends InputSignalWithTransform<T, T> {
|
|
6271
6263
|
}
|
|
6272
6264
|
|
|
6273
|
-
/**
|
|
6274
|
-
* Reactive node type for an input signal. An input signal extends a signal.
|
|
6275
|
-
* There are special properties to enable transforms and required inputs.
|
|
6276
|
-
*/
|
|
6277
|
-
declare interface InputSignalNode<T, TransformT> extends SignalNode<T> {
|
|
6278
|
-
/**
|
|
6279
|
-
* User-configured transform that will run whenever a new value is applied
|
|
6280
|
-
* to the input signal node.
|
|
6281
|
-
*/
|
|
6282
|
-
transformFn: ((value: TransformT) => T) | undefined;
|
|
6283
|
-
/**
|
|
6284
|
-
* Applies a new value to the input signal. Expects transforms to be run
|
|
6285
|
-
* manually before.
|
|
6286
|
-
*
|
|
6287
|
-
* This function is called by the framework runtime code whenever a binding
|
|
6288
|
-
* changes. The value can in practice be anything at runtime, but for typing
|
|
6289
|
-
* purposes we assume it's a valid `T` value. Type-checking will enforce that.
|
|
6290
|
-
*/
|
|
6291
|
-
applyValueToInputSignal<T, TransformT>(node: InputSignalNode<T, TransformT>, value: T): void;
|
|
6292
|
-
}
|
|
6293
|
-
|
|
6294
6265
|
/**
|
|
6295
6266
|
* `InputSignalWithTransform` represents a special `Signal` for a
|
|
6296
6267
|
* directive/component input with a `transform` function.
|
|
@@ -6316,7 +6287,7 @@ declare interface InputSignalNode<T, TransformT> extends SignalNode<T> {
|
|
|
6316
6287
|
* @publicAPI
|
|
6317
6288
|
*/
|
|
6318
6289
|
export declare interface InputSignalWithTransform<T, TransformT> extends Signal<T> {
|
|
6319
|
-
[
|
|
6290
|
+
[ɵSIGNAL]: ɵInputSignalNode<T, TransformT>;
|
|
6320
6291
|
[ɵINPUT_SIGNAL_BRAND_READ_TYPE]: T;
|
|
6321
6292
|
[ɵINPUT_SIGNAL_BRAND_WRITE_TYPE]: TransformT;
|
|
6322
6293
|
}
|
|
@@ -7365,7 +7336,7 @@ export declare interface ModelOptions {
|
|
|
7365
7336
|
* @publicAPI
|
|
7366
7337
|
*/
|
|
7367
7338
|
export declare interface ModelSignal<T> extends WritableSignal<T>, InputSignal<T>, OutputRef<T> {
|
|
7368
|
-
[
|
|
7339
|
+
[ɵSIGNAL]: ɵInputSignalNode<T, T>;
|
|
7369
7340
|
}
|
|
7370
7341
|
|
|
7371
7342
|
/**
|
|
@@ -9432,6 +9403,11 @@ export declare interface RendererType2 {
|
|
|
9432
9403
|
data: {
|
|
9433
9404
|
[kind: string]: any;
|
|
9434
9405
|
};
|
|
9406
|
+
/**
|
|
9407
|
+
* A function added by the {@link ɵɵExternalStylesFeature} and used by the framework to create
|
|
9408
|
+
* the list of external runtime style URLs.
|
|
9409
|
+
*/
|
|
9410
|
+
getExternalStyles?: ((encapsulationId?: string) => string[]) | null;
|
|
9435
9411
|
}
|
|
9436
9412
|
|
|
9437
9413
|
/**
|
|
@@ -9746,7 +9722,7 @@ export declare function setTestabilityGetter(getter: GetTestability): void;
|
|
|
9746
9722
|
* Ordinary values can be turned into `Signal`s with the `signal` function.
|
|
9747
9723
|
*/
|
|
9748
9724
|
export declare type Signal<T> = (() => T) & {
|
|
9749
|
-
[
|
|
9725
|
+
[ɵSIGNAL]: unknown;
|
|
9750
9726
|
};
|
|
9751
9727
|
|
|
9752
9728
|
/**
|
|
@@ -12696,6 +12672,11 @@ export declare interface ɵComponentDef<T> extends ɵDirectiveDef<T> {
|
|
|
12696
12672
|
* standalone injectors.
|
|
12697
12673
|
*/
|
|
12698
12674
|
getStandaloneInjector: ((parentInjector: EnvironmentInjector) => EnvironmentInjector | null) | null;
|
|
12675
|
+
/**
|
|
12676
|
+
* A function added by the {@link ɵɵExternalStylesFeature} and used by the framework to create
|
|
12677
|
+
* the list of external runtime style URLs.
|
|
12678
|
+
*/
|
|
12679
|
+
getExternalStyles: ((encapsulationId?: string) => string[]) | null;
|
|
12699
12680
|
/**
|
|
12700
12681
|
* Used to store the result of `noSideEffects` function so that it is not removed by closure
|
|
12701
12682
|
* compiler. The property should never be read.
|
|
@@ -13003,7 +12984,7 @@ export declare interface ɵDirectiveDef<T> {
|
|
|
13003
12984
|
findHostDirectiveDefs: ((currentDef: ɵDirectiveDef<unknown>, matchedDefs: ɵDirectiveDef<unknown>[], hostDirectiveDefs: HostDirectiveDefs) => void) | null;
|
|
13004
12985
|
/** Additional directives to be applied whenever the directive has been matched. */
|
|
13005
12986
|
hostDirectives: HostDirectiveDef[] | null;
|
|
13006
|
-
setInput: (<U extends T>(this: ɵDirectiveDef<U>, instance: U, inputSignalNode: null |
|
|
12987
|
+
setInput: (<U extends T>(this: ɵDirectiveDef<U>, instance: U, inputSignalNode: null | ɵInputSignalNode<unknown, unknown>, value: any, publicName: string, privateName: string) => void) | null;
|
|
13007
12988
|
}
|
|
13008
12989
|
|
|
13009
12990
|
/**
|
|
@@ -13202,8 +13183,6 @@ export declare function ɵgetUnknownPropertyStrictMode(): boolean;
|
|
|
13202
13183
|
|
|
13203
13184
|
export declare const ɵglobal: any;
|
|
13204
13185
|
|
|
13205
|
-
export declare const ɵGLOBAL_EVENT_DELEGATION: InjectionToken<GlobalEventDelegation>;
|
|
13206
|
-
|
|
13207
13186
|
/**
|
|
13208
13187
|
* Default debug tools available under `window.ng`.
|
|
13209
13188
|
*/
|
|
@@ -13288,6 +13267,27 @@ declare const ɵINPUT_SIGNAL_BRAND_READ_TYPE: unique symbol;
|
|
|
13288
13267
|
|
|
13289
13268
|
export declare const ɵINPUT_SIGNAL_BRAND_WRITE_TYPE: unique symbol;
|
|
13290
13269
|
|
|
13270
|
+
/**
|
|
13271
|
+
* Reactive node type for an input signal. An input signal extends a signal.
|
|
13272
|
+
* There are special properties to enable transforms and required inputs.
|
|
13273
|
+
*/
|
|
13274
|
+
export declare interface ɵInputSignalNode<T, TransformT> extends SignalNode<T> {
|
|
13275
|
+
/**
|
|
13276
|
+
* User-configured transform that will run whenever a new value is applied
|
|
13277
|
+
* to the input signal node.
|
|
13278
|
+
*/
|
|
13279
|
+
transformFn: ((value: TransformT) => T) | undefined;
|
|
13280
|
+
/**
|
|
13281
|
+
* Applies a new value to the input signal. Expects transforms to be run
|
|
13282
|
+
* manually before.
|
|
13283
|
+
*
|
|
13284
|
+
* This function is called by the framework runtime code whenever a binding
|
|
13285
|
+
* changes. The value can in practice be anything at runtime, but for typing
|
|
13286
|
+
* purposes we assume it's a valid `T` value. Type-checking will enforce that.
|
|
13287
|
+
*/
|
|
13288
|
+
applyValueToInputSignal<T, TransformT>(node: ɵInputSignalNode<T, TransformT>, value: T): void;
|
|
13289
|
+
}
|
|
13290
|
+
|
|
13291
13291
|
/**
|
|
13292
13292
|
* `InjectionToken` used to configure how to call the `ErrorHandler`.
|
|
13293
13293
|
*
|
|
@@ -13733,13 +13733,6 @@ export declare const enum ɵProfilerEvent {
|
|
|
13733
13733
|
*/
|
|
13734
13734
|
export declare const ɵPROVIDED_NG_ZONE: InjectionToken<boolean>;
|
|
13735
13735
|
|
|
13736
|
-
/**
|
|
13737
|
-
* Returns a set of providers required to setup support for event delegation.
|
|
13738
|
-
* @param multiContract - Experimental support to provide one event contract
|
|
13739
|
-
* when there are multiple binaries on the page.
|
|
13740
|
-
*/
|
|
13741
|
-
export declare function ɵprovideGlobalEventDelegation(multiContract?: boolean): Provider[];
|
|
13742
|
-
|
|
13743
13736
|
/**
|
|
13744
13737
|
* An object that contains information about a provider that has been configured
|
|
13745
13738
|
*
|
|
@@ -14175,6 +14168,8 @@ export declare function ɵsetUnknownElementStrictMode(shouldThrow: boolean): voi
|
|
|
14175
14168
|
*/
|
|
14176
14169
|
export declare function ɵsetUnknownPropertyStrictMode(shouldThrow: boolean): void;
|
|
14177
14170
|
|
|
14171
|
+
export { ɵSIGNAL }
|
|
14172
|
+
|
|
14178
14173
|
/**
|
|
14179
14174
|
* Marker used in a comment node to ensure hydration content integrity
|
|
14180
14175
|
*/
|
|
@@ -15727,6 +15722,18 @@ export declare function ɵɵelementStart(index: number, name: string, attrsIndex
|
|
|
15727
15722
|
*/
|
|
15728
15723
|
export declare function ɵɵenableBindings(): void;
|
|
15729
15724
|
|
|
15725
|
+
/**
|
|
15726
|
+
* A feature that adds support for external runtime styles for a component.
|
|
15727
|
+
* An external runtime style is a URL to a CSS stylesheet that contains the styles
|
|
15728
|
+
* for a given component. For browsers, this URL will be used in an appended `link` element
|
|
15729
|
+
* when the component is rendered. This feature is typically used for Hot Module Replacement
|
|
15730
|
+
* (HMR) of component stylesheets by leveraging preexisting global stylesheet HMR available
|
|
15731
|
+
* in most development servers.
|
|
15732
|
+
*
|
|
15733
|
+
* @codeGenApi
|
|
15734
|
+
*/
|
|
15735
|
+
export declare function ɵɵExternalStylesFeature(styleUrls: string[]): ComponentDefFeature;
|
|
15736
|
+
|
|
15730
15737
|
/**
|
|
15731
15738
|
* @publicApi
|
|
15732
15739
|
*/
|
|
@@ -17075,6 +17082,14 @@ export declare function ɵɵrepeaterTrackByIdentity<T>(_: number, value: T): T;
|
|
|
17075
17082
|
*/
|
|
17076
17083
|
export declare function ɵɵrepeaterTrackByIndex(index: number): number;
|
|
17077
17084
|
|
|
17085
|
+
/**
|
|
17086
|
+
* Replaces the metadata of a component type and re-renders all live instances of the component.
|
|
17087
|
+
* @param type Class whose metadata will be replaced.
|
|
17088
|
+
* @param applyMetadata Callback that will apply a new set of metadata on the `type` when invoked.
|
|
17089
|
+
* @codeGenApi
|
|
17090
|
+
*/
|
|
17091
|
+
export declare function ɵɵreplaceMetadata(type: Type<unknown>, applyMetadata: () => void): void;
|
|
17092
|
+
|
|
17078
17093
|
/**
|
|
17079
17094
|
* Clears the view set in `ɵɵrestoreView` from memory. Returns the passed in
|
|
17080
17095
|
* value so that it can be used as a return value of an instruction.
|
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.8
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -2539,6 +2539,7 @@ class Identifiers {
|
|
|
2539
2539
|
}; }
|
|
2540
2540
|
static { this.forwardRef = { name: 'forwardRef', moduleName: CORE }; }
|
|
2541
2541
|
static { this.resolveForwardRef = { name: 'resolveForwardRef', moduleName: CORE }; }
|
|
2542
|
+
static { this.replaceMetadata = { name: 'ɵɵreplaceMetadata', moduleName: CORE }; }
|
|
2542
2543
|
static { this.ɵɵdefineInjectable = { name: 'ɵɵdefineInjectable', moduleName: CORE }; }
|
|
2543
2544
|
static { this.declareInjectable = { name: 'ɵɵngDeclareInjectable', moduleName: CORE }; }
|
|
2544
2545
|
static { this.InjectableDeclaration = {
|
|
@@ -29245,7 +29246,7 @@ function publishFacade(global) {
|
|
|
29245
29246
|
* @description
|
|
29246
29247
|
* Entry point for all public APIs of the compiler package.
|
|
29247
29248
|
*/
|
|
29248
|
-
new Version('19.0.0-next.
|
|
29249
|
+
new Version('19.0.0-next.8');
|
|
29249
29250
|
|
|
29250
29251
|
const _I18N_ATTR = 'i18n';
|
|
29251
29252
|
const _I18N_ATTR_PREFIX = 'i18n-';
|
|
@@ -29806,6 +29807,10 @@ exports.ErrorCode = void 0;
|
|
|
29806
29807
|
* pipe.
|
|
29807
29808
|
*/
|
|
29808
29809
|
ErrorCode[ErrorCode["COMPONENT_UNKNOWN_DEFERRED_IMPORT"] = 2022] = "COMPONENT_UNKNOWN_DEFERRED_IMPORT";
|
|
29810
|
+
/**
|
|
29811
|
+
* Raised when a `standalone: false` component is declared but `strictStandalone` is set.
|
|
29812
|
+
*/
|
|
29813
|
+
ErrorCode[ErrorCode["NON_STANDALONE_NOT_ALLOWED"] = 2023] = "NON_STANDALONE_NOT_ALLOWED";
|
|
29809
29814
|
ErrorCode[ErrorCode["SYMBOL_NOT_EXPORTED"] = 3001] = "SYMBOL_NOT_EXPORTED";
|
|
29810
29815
|
/**
|
|
29811
29816
|
* Raised when a relationship between directives and/or pipes would cause a cyclic import to be
|
|
@@ -30589,7 +30594,7 @@ class NodeJSPathManipulation {
|
|
|
30589
30594
|
// G3-ESM-MARKER: G3 uses CommonJS, but externally everything in ESM.
|
|
30590
30595
|
// CommonJS/ESM interop for determining the current file name and containing dir.
|
|
30591
30596
|
const isCommonJS = typeof __filename !== 'undefined';
|
|
30592
|
-
const currentFileUrl = isCommonJS ? null : (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('checker-
|
|
30597
|
+
const currentFileUrl = isCommonJS ? null : (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('checker-e68dd7ce.js', document.baseURI).href));
|
|
30593
30598
|
const currentFileName = isCommonJS ? __filename : url.fileURLToPath(currentFileUrl);
|
|
30594
30599
|
/**
|
|
30595
30600
|
* A wrapper around the Node.js file-system that supports readonly operations and path manipulation.
|
|
@@ -43456,9 +43461,11 @@ class SymbolBuilder {
|
|
|
43456
43461
|
return this.getSymbol(expressionTarget);
|
|
43457
43462
|
}
|
|
43458
43463
|
let withSpan = expression.sourceSpan;
|
|
43459
|
-
// The `name` part of a `PropertyWrite` and
|
|
43464
|
+
// The `name` part of a `PropertyWrite` and `ASTWithName` do not have their own
|
|
43460
43465
|
// AST so there is no way to retrieve a `Symbol` for just the `name` via a specific node.
|
|
43461
|
-
|
|
43466
|
+
// Also skipping SafePropertyReads as it breaks nullish coalescing not nullable extended diagnostic
|
|
43467
|
+
if (expression instanceof PropertyWrite ||
|
|
43468
|
+
(expression instanceof ASTWithName && !(expression instanceof SafePropertyRead))) {
|
|
43462
43469
|
withSpan = expression.nameSpan;
|
|
43463
43470
|
}
|
|
43464
43471
|
let node = null;
|
|
@@ -43511,6 +43518,9 @@ class SymbolBuilder {
|
|
|
43511
43518
|
if (ts__default["default"].isPropertyAccessExpression(node)) {
|
|
43512
43519
|
tsSymbol = this.getTypeChecker().getSymbolAtLocation(node.name);
|
|
43513
43520
|
}
|
|
43521
|
+
else if (ts__default["default"].isCallExpression(node)) {
|
|
43522
|
+
tsSymbol = this.getTypeChecker().getSymbolAtLocation(node.expression);
|
|
43523
|
+
}
|
|
43514
43524
|
else {
|
|
43515
43525
|
tsSymbol = this.getTypeChecker().getSymbolAtLocation(node);
|
|
43516
43526
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.0.0-next.
|
|
3
|
+
* @license Angular v19.0.0-next.8
|
|
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-e68dd7ce.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.0-next.
|
|
3
|
+
* @license Angular v19.0.0-next.8
|
|
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-9a4d0c2b.js');
|
|
14
|
+
var checker = require('./checker-e68dd7ce.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.0-next.
|
|
3
|
+
* @license Angular v19.0.0-next.8
|
|
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 project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
14
|
-
var compiler_host = require('./compiler_host-
|
|
13
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-e9ccccbf.js');
|
|
14
|
+
var compiler_host = require('./compiler_host-9a4d0c2b.js');
|
|
15
15
|
var ts = require('typescript');
|
|
16
|
-
var imports = require('./imports-
|
|
16
|
+
var imports = require('./imports-4ac08251.js');
|
|
17
17
|
require('@angular-devkit/core');
|
|
18
|
-
require('./checker-
|
|
18
|
+
require('./checker-e68dd7ce.js');
|
|
19
19
|
require('os');
|
|
20
20
|
require('fs');
|
|
21
21
|
require('module');
|