@angular/core 19.0.6 → 19.0.7
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 +33 -28
- 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 +36 -33
- 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-99fcd356.js → checker-a3b46ff3.js} +19 -19
- package/schematics/bundles/{combine_units-755cada7.js → combine_units-e4fe9a1e.js} +3 -3
- package/schematics/bundles/{compiler_host-6ebdb0ca.js → compiler_host-00ae769f.js} +2 -2
- package/schematics/bundles/control-flow-migration.js +3 -3
- package/schematics/bundles/explicit-standalone-flag.js +5 -5
- package/schematics/bundles/{imports-abe29092.js → imports-31a38653.js} +1 -1
- package/schematics/bundles/inject-migration.js +6 -6
- package/schematics/bundles/{leading_space-d190b83b.js → leading_space-6e7a8ec6.js} +1 -1
- package/schematics/bundles/{migrate_ts_type_references-c61efd47.js → migrate_ts_type_references-c5fea22f.js} +5 -5
- package/schematics/bundles/{nodes-a9f0b985.js → nodes-88c2157f.js} +2 -2
- package/schematics/bundles/output-migration.js +5 -5
- package/schematics/bundles/pending-tasks.js +5 -5
- package/schematics/bundles/{program-2d2a3ded.js → program-857d3416.js} +34 -19
- package/schematics/bundles/{project_tsconfig_paths-e9ccccbf.js → project_tsconfig_paths-6c9cde78.js} +1 -1
- package/schematics/bundles/provide-initializer.js +5 -5
- package/schematics/bundles/route-lazy-loading.js +4 -4
- package/schematics/bundles/signal-input-migration.js +7 -7
- package/schematics/bundles/signal-queries-migration.js +13 -7
- package/schematics/bundles/signals.js +7 -7
- package/schematics/bundles/standalone-migration.js +8 -8
- 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.7
|
|
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.7", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
179
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", 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.7", 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.7
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1303,7 +1303,7 @@ export declare interface BootstrapOptions {
|
|
|
1303
1303
|
* Optionally specify coalescing event change detections or not.
|
|
1304
1304
|
* Consider the following case.
|
|
1305
1305
|
*
|
|
1306
|
-
* ```
|
|
1306
|
+
* ```html
|
|
1307
1307
|
* <div (click)="doSomething()">
|
|
1308
1308
|
* <button (click)="doSomethingElse()"></button>
|
|
1309
1309
|
* </div>
|
|
@@ -1326,7 +1326,7 @@ export declare interface BootstrapOptions {
|
|
|
1326
1326
|
* into a single change detection.
|
|
1327
1327
|
*
|
|
1328
1328
|
* Consider the following case.
|
|
1329
|
-
* ```
|
|
1329
|
+
* ```ts
|
|
1330
1330
|
* for (let i = 0; i < 10; i ++) {
|
|
1331
1331
|
* ngZone.run(() => {
|
|
1332
1332
|
* // do something
|
|
@@ -1946,7 +1946,7 @@ declare interface ComponentDefinition<T> extends Omit<DirectiveDefinition<T>, 'f
|
|
|
1946
1946
|
*
|
|
1947
1947
|
* This function has following structure.
|
|
1948
1948
|
*
|
|
1949
|
-
* ```
|
|
1949
|
+
* ```ts
|
|
1950
1950
|
* function Template<T>(ctx:T, creationMode: boolean) {
|
|
1951
1951
|
* if (creationMode) {
|
|
1952
1952
|
* // Contains creation mode instructions.
|
|
@@ -6558,7 +6558,7 @@ export declare class IterableDiffers {
|
|
|
6558
6558
|
* which will only be applied to the injector for this component and its children.
|
|
6559
6559
|
* This step is all that's required to make a new {@link IterableDiffer} available.
|
|
6560
6560
|
*
|
|
6561
|
-
* ```
|
|
6561
|
+
* ```ts
|
|
6562
6562
|
* @Component({
|
|
6563
6563
|
* viewProviders: [
|
|
6564
6564
|
* IterableDiffers.extend([new ImmutableListDiffer()])
|
|
@@ -6708,7 +6708,7 @@ export declare class KeyValueDiffers {
|
|
|
6708
6708
|
* which will only be applied to the injector for this component and its children.
|
|
6709
6709
|
* This step is all that's required to make a new {@link KeyValueDiffer} available.
|
|
6710
6710
|
*
|
|
6711
|
-
* ```
|
|
6711
|
+
* ```ts
|
|
6712
6712
|
* @Component({
|
|
6713
6713
|
* viewProviders: [
|
|
6714
6714
|
* KeyValueDiffers.extend([new ImmutableMapDiffer()])
|
|
@@ -6814,6 +6814,8 @@ export declare function linkedSignal<D>(computation: () => D, options?: {
|
|
|
6814
6814
|
* Creates a writable signals whose value is initialized and reset by the linked, reactive computation.
|
|
6815
6815
|
* This is an advanced API form where the computation has access to the previous value of the signal and the computation result.
|
|
6816
6816
|
*
|
|
6817
|
+
* Note: The computation is reactive, meaning the linked signal will automatically update whenever any of the signals used within the computation change.
|
|
6818
|
+
*
|
|
6817
6819
|
* @developerPreview
|
|
6818
6820
|
*/
|
|
6819
6821
|
export declare function linkedSignal<S, D>(options: {
|
|
@@ -6988,7 +6990,7 @@ declare interface LView<T = unknown> extends Array<any> {
|
|
|
6988
6990
|
* Store the `TNode` of the location where the current `LView` is inserted into.
|
|
6989
6991
|
*
|
|
6990
6992
|
* Given:
|
|
6991
|
-
* ```
|
|
6993
|
+
* ```html
|
|
6992
6994
|
* <div>
|
|
6993
6995
|
* <ng-template><span></span></ng-template>
|
|
6994
6996
|
* </div>
|
|
@@ -7003,7 +7005,7 @@ declare interface LView<T = unknown> extends Array<any> {
|
|
|
7003
7005
|
* insertion information in the `TView` and instead we must store it in the `LView[T_HOST]`.
|
|
7004
7006
|
*
|
|
7005
7007
|
* So to determine where is our insertion parent we would execute:
|
|
7006
|
-
* ```
|
|
7008
|
+
* ```ts
|
|
7007
7009
|
* const parentLView = lView[PARENT];
|
|
7008
7010
|
* const parentTNode = lView[T_HOST];
|
|
7009
7011
|
* const insertionParent = parentLView[parentTNode.index];
|
|
@@ -7089,7 +7091,7 @@ declare interface LView<T = unknown> extends Array<any> {
|
|
|
7089
7091
|
* `DECLARATION_VIEW`.
|
|
7090
7092
|
*
|
|
7091
7093
|
* Example:
|
|
7092
|
-
* ```
|
|
7094
|
+
* ```html
|
|
7093
7095
|
* <#VIEW #myComp>
|
|
7094
7096
|
* <div *ngIf="true">
|
|
7095
7097
|
* <ng-template #myTmpl>...</ng-template>
|
|
@@ -7114,7 +7116,7 @@ declare interface LView<T = unknown> extends Array<any> {
|
|
|
7114
7116
|
* `DECLARATION_COMPONENT_VIEW` to differentiate them. As in this example.
|
|
7115
7117
|
*
|
|
7116
7118
|
* Example showing intra component `LView` movement.
|
|
7117
|
-
* ```
|
|
7119
|
+
* ```html
|
|
7118
7120
|
* <#VIEW #myComp>
|
|
7119
7121
|
* <div *ngIf="condition; then thenBlock else elseBlock"></div>
|
|
7120
7122
|
* <ng-template #thenBlock>Content to render when condition is true.</ng-template>
|
|
@@ -7124,7 +7126,7 @@ declare interface LView<T = unknown> extends Array<any> {
|
|
|
7124
7126
|
* The `thenBlock` and `elseBlock` is moved but not transplanted.
|
|
7125
7127
|
*
|
|
7126
7128
|
* Example showing inter component `LView` movement (transplanted view).
|
|
7127
|
-
* ```
|
|
7129
|
+
* ```html
|
|
7128
7130
|
* <#VIEW #myComp>
|
|
7129
7131
|
* <ng-template #myTmpl>...</ng-template>
|
|
7130
7132
|
* <insertion-component [template]="myTmpl"></insertion-component>
|
|
@@ -7514,7 +7516,7 @@ export declare interface NgModule {
|
|
|
7514
7516
|
* The following example defines a class that is injected in
|
|
7515
7517
|
* the HelloWorld NgModule:
|
|
7516
7518
|
*
|
|
7517
|
-
* ```
|
|
7519
|
+
* ```ts
|
|
7518
7520
|
* class Greeter {
|
|
7519
7521
|
* greet(name:string) {
|
|
7520
7522
|
* return 'Hello ' + name + '!';
|
|
@@ -7944,7 +7946,7 @@ export declare interface NgZoneOptions {
|
|
|
7944
7946
|
* Optionally specify coalescing event change detections or not.
|
|
7945
7947
|
* Consider the following case.
|
|
7946
7948
|
*
|
|
7947
|
-
* ```
|
|
7949
|
+
* ```html
|
|
7948
7950
|
* <div (click)="doSomething()">
|
|
7949
7951
|
* <button (click)="doSomethingElse()"></button>
|
|
7950
7952
|
* </div>
|
|
@@ -7966,7 +7968,7 @@ export declare interface NgZoneOptions {
|
|
|
7966
7968
|
* into a single change detection.
|
|
7967
7969
|
*
|
|
7968
7970
|
* Consider the following case.
|
|
7969
|
-
* ```
|
|
7971
|
+
* ```ts
|
|
7970
7972
|
* for (let i = 0; i < 10; i ++) {
|
|
7971
7973
|
* ngZone.run(() => {
|
|
7972
7974
|
* // do something
|
|
@@ -8385,7 +8387,7 @@ export declare class PendingTasks {
|
|
|
8385
8387
|
/**
|
|
8386
8388
|
* Runs an asynchronous function and blocks the application's stability until the function completes.
|
|
8387
8389
|
*
|
|
8388
|
-
* ```
|
|
8390
|
+
* ```ts
|
|
8389
8391
|
* pendingTasks.run(async () => {
|
|
8390
8392
|
* const userData = await fetch('/api/user');
|
|
8391
8393
|
* this.userData.set(userData);
|
|
@@ -8395,7 +8397,7 @@ export declare class PendingTasks {
|
|
|
8395
8397
|
* Application stability is at least delayed until the next tick after the `run` method resolves
|
|
8396
8398
|
* so it is safe to make additional updates to application state that would require UI synchronization:
|
|
8397
8399
|
*
|
|
8398
|
-
* ```
|
|
8400
|
+
* ```ts
|
|
8399
8401
|
* const userData = await pendingTasks.run(() => fetch('/api/user'));
|
|
8400
8402
|
* this.userData.set(userData);
|
|
8401
8403
|
* ```
|
|
@@ -10739,7 +10741,7 @@ declare interface TNode {
|
|
|
10739
10741
|
* such a case the value stores an array of text nodes to insert.
|
|
10740
10742
|
*
|
|
10741
10743
|
* Example:
|
|
10742
|
-
* ```
|
|
10744
|
+
* ```html
|
|
10743
10745
|
* <div i18n>
|
|
10744
10746
|
* Hello <span>World</span>!
|
|
10745
10747
|
* </div>
|
|
@@ -10752,7 +10754,7 @@ declare interface TNode {
|
|
|
10752
10754
|
* `<span>` itself.
|
|
10753
10755
|
*
|
|
10754
10756
|
* Pseudo code:
|
|
10755
|
-
* ```
|
|
10757
|
+
* ```ts
|
|
10756
10758
|
* if (insertBeforeIndex === null) {
|
|
10757
10759
|
* // append as normal
|
|
10758
10760
|
* } else if (Array.isArray(insertBeforeIndex)) {
|
|
@@ -10962,12 +10964,12 @@ declare interface TNode {
|
|
|
10962
10964
|
*
|
|
10963
10965
|
* For easier discussion assume this example:
|
|
10964
10966
|
* `<parent>`'s view definition:
|
|
10965
|
-
* ```
|
|
10967
|
+
* ```html
|
|
10966
10968
|
* <child id="c1">content1</child>
|
|
10967
10969
|
* <child id="c2"><span>content2</span></child>
|
|
10968
10970
|
* ```
|
|
10969
10971
|
* `<child>`'s view definition:
|
|
10970
|
-
* ```
|
|
10972
|
+
* ```html
|
|
10971
10973
|
* <ng-content id="cont1"></ng-content>
|
|
10972
10974
|
* ```
|
|
10973
10975
|
*
|
|
@@ -11027,7 +11029,7 @@ declare interface TNode {
|
|
|
11027
11029
|
* styling than the instruction.
|
|
11028
11030
|
*
|
|
11029
11031
|
* Imagine:
|
|
11030
|
-
* ```
|
|
11032
|
+
* ```angular-ts
|
|
11031
11033
|
* <div style="color: highest;" my-dir>
|
|
11032
11034
|
*
|
|
11033
11035
|
* @Directive({
|
|
@@ -12737,12 +12739,12 @@ export declare const enum ɵAttributeMarker {
|
|
|
12737
12739
|
* ## Example:
|
|
12738
12740
|
*
|
|
12739
12741
|
* Given:
|
|
12740
|
-
* ```
|
|
12741
|
-
* <div class="foo bar baz"
|
|
12742
|
+
* ```html
|
|
12743
|
+
* <div class="foo bar baz">...</div>
|
|
12742
12744
|
* ```
|
|
12743
12745
|
*
|
|
12744
12746
|
* the generated code is:
|
|
12745
|
-
* ```
|
|
12747
|
+
* ```ts
|
|
12746
12748
|
* var _c1 = [AttributeMarker.Classes, 'foo', 'bar', 'baz'];
|
|
12747
12749
|
* ```
|
|
12748
12750
|
*/
|
|
@@ -12755,12 +12757,12 @@ export declare const enum ɵAttributeMarker {
|
|
|
12755
12757
|
* ## Example:
|
|
12756
12758
|
*
|
|
12757
12759
|
* Given:
|
|
12758
|
-
* ```
|
|
12760
|
+
* ```html
|
|
12759
12761
|
* <div style="width:100px; height:200px; color:red">...</div>
|
|
12760
12762
|
* ```
|
|
12761
12763
|
*
|
|
12762
12764
|
* the generated code is:
|
|
12763
|
-
* ```
|
|
12765
|
+
* ```ts
|
|
12764
12766
|
* var _c1 = [AttributeMarker.Styles, 'width', '100px', 'height'. '200px', 'color', 'red'];
|
|
12765
12767
|
* ```
|
|
12766
12768
|
*/
|
|
@@ -12770,13 +12772,13 @@ export declare const enum ɵAttributeMarker {
|
|
|
12770
12772
|
*
|
|
12771
12773
|
* For example, given the following HTML:
|
|
12772
12774
|
*
|
|
12773
|
-
* ```
|
|
12775
|
+
* ```html
|
|
12774
12776
|
* <div moo="car" [foo]="exp" (bar)="doSth()">
|
|
12775
12777
|
* ```
|
|
12776
12778
|
*
|
|
12777
12779
|
* the generated code is:
|
|
12778
12780
|
*
|
|
12779
|
-
* ```
|
|
12781
|
+
* ```ts
|
|
12780
12782
|
* var _c1 = ['moo', 'car', AttributeMarker.Bindings, 'foo', 'bar'];
|
|
12781
12783
|
* ```
|
|
12782
12784
|
*/
|
|
@@ -12786,7 +12788,7 @@ export declare const enum ɵAttributeMarker {
|
|
|
12786
12788
|
*
|
|
12787
12789
|
* For example, given the following HTML:
|
|
12788
12790
|
*
|
|
12789
|
-
* ```
|
|
12791
|
+
* ```html
|
|
12790
12792
|
* <div *ngFor="let value of values; trackBy:trackBy" dirA [dirB]="value">
|
|
12791
12793
|
* ```
|
|
12792
12794
|
*
|
|
@@ -12811,13 +12813,13 @@ export declare const enum ɵAttributeMarker {
|
|
|
12811
12813
|
*
|
|
12812
12814
|
* For example, given the following HTML:
|
|
12813
12815
|
*
|
|
12814
|
-
* ```
|
|
12816
|
+
* ```html
|
|
12815
12817
|
* <h1 attr="value" ngProjectAs="[title]">
|
|
12816
12818
|
* ```
|
|
12817
12819
|
*
|
|
12818
12820
|
* the generated code for the `element()` instruction would include:
|
|
12819
12821
|
*
|
|
12820
|
-
* ```
|
|
12822
|
+
* ```ts
|
|
12821
12823
|
* ['attr', 'value', AttributeMarker.ProjectAs, ['', 'title', '']]
|
|
12822
12824
|
* ```
|
|
12823
12825
|
*/
|
|
@@ -12827,14 +12829,15 @@ export declare const enum ɵAttributeMarker {
|
|
|
12827
12829
|
*
|
|
12828
12830
|
* For example, given the following HTML:
|
|
12829
12831
|
*
|
|
12830
|
-
* ```
|
|
12832
|
+
* ```html
|
|
12831
12833
|
* <div moo="car" foo="value" i18n-foo [bar]="binding" i18n-bar>
|
|
12832
12834
|
* ```
|
|
12833
12835
|
*
|
|
12834
12836
|
* the generated code is:
|
|
12835
12837
|
*
|
|
12836
|
-
* ```
|
|
12838
|
+
* ```ts
|
|
12837
12839
|
* var _c1 = ['moo', 'car', AttributeMarker.I18n, 'foo', 'bar'];
|
|
12840
|
+
* ```
|
|
12838
12841
|
*/
|
|
12839
12842
|
I18n = 6
|
|
12840
12843
|
}
|
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.7
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -4281,7 +4281,7 @@ class TypeofExpression extends AST {
|
|
|
4281
4281
|
this.expression = expression;
|
|
4282
4282
|
}
|
|
4283
4283
|
visit(visitor, context = null) {
|
|
4284
|
-
return visitor.
|
|
4284
|
+
return visitor.visitTypeofExpression(this, context);
|
|
4285
4285
|
}
|
|
4286
4286
|
}
|
|
4287
4287
|
class NonNullAssert extends AST {
|
|
@@ -4441,7 +4441,7 @@ class RecursiveAstVisitor {
|
|
|
4441
4441
|
visitPrefixNot(ast, context) {
|
|
4442
4442
|
this.visit(ast.expression, context);
|
|
4443
4443
|
}
|
|
4444
|
-
|
|
4444
|
+
visitTypeofExpression(ast, context) {
|
|
4445
4445
|
this.visit(ast.expression, context);
|
|
4446
4446
|
}
|
|
4447
4447
|
visitNonNullAssert(ast, context) {
|
|
@@ -7346,7 +7346,7 @@ class ShadowCss {
|
|
|
7346
7346
|
*
|
|
7347
7347
|
* For example, we convert this css:
|
|
7348
7348
|
*
|
|
7349
|
-
* ```
|
|
7349
|
+
* ```scss
|
|
7350
7350
|
* .box {
|
|
7351
7351
|
* animation: box-animation 1s forwards;
|
|
7352
7352
|
* }
|
|
@@ -7360,7 +7360,7 @@ class ShadowCss {
|
|
|
7360
7360
|
*
|
|
7361
7361
|
* to this:
|
|
7362
7362
|
*
|
|
7363
|
-
* ```
|
|
7363
|
+
* ```scss
|
|
7364
7364
|
* .box {
|
|
7365
7365
|
* animation: scopeName_box-animation 1s forwards;
|
|
7366
7366
|
* }
|
|
@@ -7389,7 +7389,7 @@ class ShadowCss {
|
|
|
7389
7389
|
*
|
|
7390
7390
|
* For example, it takes a rule such as:
|
|
7391
7391
|
*
|
|
7392
|
-
* ```
|
|
7392
|
+
* ```scss
|
|
7393
7393
|
* @keyframes box-animation {
|
|
7394
7394
|
* to {
|
|
7395
7395
|
* background-color: green;
|
|
@@ -7399,7 +7399,7 @@ class ShadowCss {
|
|
|
7399
7399
|
*
|
|
7400
7400
|
* and returns:
|
|
7401
7401
|
*
|
|
7402
|
-
* ```
|
|
7402
|
+
* ```scss
|
|
7403
7403
|
* @keyframes scopeName_box-animation {
|
|
7404
7404
|
* to {
|
|
7405
7405
|
* background-color: green;
|
|
@@ -17742,7 +17742,7 @@ class Parser {
|
|
|
17742
17742
|
* parsing errors in case the given expression is invalid.
|
|
17743
17743
|
*
|
|
17744
17744
|
* For example,
|
|
17745
|
-
* ```
|
|
17745
|
+
* ```html
|
|
17746
17746
|
* <div *ngFor="let item of items">
|
|
17747
17747
|
* ^ ^ absoluteValueOffset for `templateValue`
|
|
17748
17748
|
* absoluteKeyOffset for `templateKey`
|
|
@@ -17753,7 +17753,7 @@ class Parser {
|
|
|
17753
17753
|
* 3. ngForOf -> items
|
|
17754
17754
|
*
|
|
17755
17755
|
* This is apparent from the de-sugared template:
|
|
17756
|
-
* ```
|
|
17756
|
+
* ```html
|
|
17757
17757
|
* <ng-template ngFor let-item [ngForOf]="items">
|
|
17758
17758
|
* ```
|
|
17759
17759
|
*
|
|
@@ -18610,7 +18610,7 @@ class _ParseAST {
|
|
|
18610
18610
|
* parsing errors in case the given expression is invalid.
|
|
18611
18611
|
*
|
|
18612
18612
|
* For example,
|
|
18613
|
-
* ```
|
|
18613
|
+
* ```html
|
|
18614
18614
|
* <div *ngFor="let item of items; index as i; trackBy: func">
|
|
18615
18615
|
* ```
|
|
18616
18616
|
* contains five bindings:
|
|
@@ -19001,7 +19001,7 @@ class SerializeExpressionVisitor {
|
|
|
19001
19001
|
.map((e) => e.visit(this, context))
|
|
19002
19002
|
.join(', ')})`;
|
|
19003
19003
|
}
|
|
19004
|
-
|
|
19004
|
+
visitTypeofExpression(ast, context) {
|
|
19005
19005
|
return `typeof ${ast.expression.visit(this, context)}`;
|
|
19006
19006
|
}
|
|
19007
19007
|
visitASTWithSource(ast, context) {
|
|
@@ -26295,7 +26295,7 @@ class BindingParser {
|
|
|
26295
26295
|
}
|
|
26296
26296
|
/**
|
|
26297
26297
|
* Parses the bindings in a microsyntax expression, e.g.
|
|
26298
|
-
* ```
|
|
26298
|
+
* ```html
|
|
26299
26299
|
* <tag *tplKey="let value1 = prop; let value2 = localVar">
|
|
26300
26300
|
* ```
|
|
26301
26301
|
*
|
|
@@ -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.7');
|
|
30325
30325
|
|
|
30326
30326
|
const _I18N_ATTR = 'i18n';
|
|
30327
30327
|
const _I18N_ATTR_PREFIX = 'i18n-';
|
|
@@ -31025,7 +31025,7 @@ exports.ErrorCode = void 0;
|
|
|
31025
31025
|
* The left-hand side of an assignment expression was a template variable. Effectively, the
|
|
31026
31026
|
* template looked like:
|
|
31027
31027
|
*
|
|
31028
|
-
* ```
|
|
31028
|
+
* ```html
|
|
31029
31029
|
* <ng-template let-something>
|
|
31030
31030
|
* <button (click)="something = ...">...</button>
|
|
31031
31031
|
* </ng-template>
|
|
@@ -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-a3b46ff3.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.
|
|
@@ -33064,13 +33064,13 @@ class TypeScriptReflectionHost {
|
|
|
33064
33064
|
*
|
|
33065
33065
|
* For example, if the identifier is the `Directive` part of a qualified type chain like:
|
|
33066
33066
|
*
|
|
33067
|
-
* ```
|
|
33067
|
+
* ```ts
|
|
33068
33068
|
* core.Directive
|
|
33069
33069
|
* ```
|
|
33070
33070
|
*
|
|
33071
33071
|
* then it might be that `core` is a namespace import such as:
|
|
33072
33072
|
*
|
|
33073
|
-
* ```
|
|
33073
|
+
* ```ts
|
|
33074
33074
|
* import * as core from 'tslib';
|
|
33075
33075
|
* ```
|
|
33076
33076
|
*
|
|
@@ -40978,7 +40978,7 @@ class AstTranslator {
|
|
|
40978
40978
|
addParseSpanInfo(node, ast.sourceSpan);
|
|
40979
40979
|
return node;
|
|
40980
40980
|
}
|
|
40981
|
-
|
|
40981
|
+
visitTypeofExpression(ast) {
|
|
40982
40982
|
const expression = wrapForDiagnostics(this.translate(ast.expression));
|
|
40983
40983
|
const node = ts__default["default"].factory.createTypeOfExpression(expression);
|
|
40984
40984
|
addParseSpanInfo(node, ast.sourceSpan);
|
|
@@ -41192,7 +41192,7 @@ class VeSafeLhsInferenceBugDetector {
|
|
|
41192
41192
|
visitPrefixNot(ast) {
|
|
41193
41193
|
return ast.expression.visit(this);
|
|
41194
41194
|
}
|
|
41195
|
-
|
|
41195
|
+
visitTypeofExpression(ast) {
|
|
41196
41196
|
return ast.expression.visit(this);
|
|
41197
41197
|
}
|
|
41198
41198
|
visitNonNullAssert(ast) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.0.
|
|
3
|
+
* @license Angular v19.0.7
|
|
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-a3b46ff3.js');
|
|
14
|
+
var program = require('./program-857d3416.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.7
|
|
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-a3b46ff3.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.7
|
|
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-00ae769f.js');
|
|
14
|
+
var checker = require('./checker-a3b46ff3.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.7
|
|
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-6c9cde78.js');
|
|
14
|
+
var compiler_host = require('./compiler_host-00ae769f.js');
|
|
15
15
|
var ts = require('typescript');
|
|
16
|
-
var imports = require('./imports-
|
|
16
|
+
var imports = require('./imports-31a38653.js');
|
|
17
17
|
require('@angular-devkit/core');
|
|
18
|
-
require('./checker-
|
|
18
|
+
require('./checker-a3b46ff3.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.7
|
|
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-00ae769f.js');
|
|
14
14
|
var ts = require('typescript');
|
|
15
|
-
var nodes = require('./nodes-
|
|
16
|
-
var imports = require('./imports-
|
|
17
|
-
var leading_space = require('./leading_space-
|
|
18
|
-
require('./checker-
|
|
15
|
+
var nodes = require('./nodes-88c2157f.js');
|
|
16
|
+
var imports = require('./imports-31a38653.js');
|
|
17
|
+
var leading_space = require('./leading_space-6e7a8ec6.js');
|
|
18
|
+
require('./checker-a3b46ff3.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.7
|
|
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-a3b46ff3.js');
|
|
10
10
|
var ts = require('typescript');
|
|
11
11
|
require('os');
|
|
12
12
|
var assert = require('assert');
|
|
13
|
-
var combine_units = require('./combine_units-
|
|
14
|
-
var leading_space = require('./leading_space-
|
|
15
|
-
require('./program-
|
|
13
|
+
var combine_units = require('./combine_units-e4fe9a1e.js');
|
|
14
|
+
var leading_space = require('./leading_space-6e7a8ec6.js');
|
|
15
|
+
require('./program-857d3416.js');
|
|
16
16
|
require('path');
|
|
17
17
|
|
|
18
18
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|