@angular/upgrade 15.1.0-next.3 → 15.1.0

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v15.1.0-next.3
2
+ * @license Angular v15.1.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -10,24 +10,15 @@ import { __decorate, __param, __metadata } from 'tslib';
10
10
  import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
11
11
 
12
12
  /**
13
- * @license
14
- * Copyright Google LLC All Rights Reserved.
15
- *
16
- * Use of this source code is governed by an MIT-style license that can be
17
- * found in the LICENSE file at https://angular.io/license
13
+ * @module
14
+ * @description
15
+ * Entry point for all public APIs of the upgrade package.
18
16
  */
19
17
  /**
20
18
  * @publicApi
21
19
  */
22
- const VERSION = new Version('15.1.0-next.3');
20
+ const VERSION = new Version('15.1.0');
23
21
 
24
- /**
25
- * @license
26
- * Copyright Google LLC All Rights Reserved.
27
- *
28
- * Use of this source code is governed by an MIT-style license that can be
29
- * found in the LICENSE file at https://angular.io/license
30
- */
31
22
  function noNg() {
32
23
  throw new Error('AngularJS v1.x is not loaded!');
33
24
  }
@@ -94,13 +85,6 @@ const injector = (modules, strictDi) => angular.injector(modules, strictDi);
94
85
  const resumeBootstrap = () => angular.resumeBootstrap();
95
86
  const getTestability = e => angular.getTestability(e);
96
87
 
97
- /**
98
- * @license
99
- * Copyright Google LLC All Rights Reserved.
100
- *
101
- * Use of this source code is governed by an MIT-style license that can be
102
- * found in the LICENSE file at https://angular.io/license
103
- */
104
88
  const $COMPILE = '$compile';
105
89
  const $CONTROLLER = '$controller';
106
90
  const $DELEGATE = '$delegate';
@@ -127,13 +111,6 @@ const REQUIRE_INJECTOR = '?^^' + INJECTOR_KEY;
127
111
  const REQUIRE_NG_MODEL = '?ngModel';
128
112
  const UPGRADE_MODULE_NAME = '$$UpgradeModule';
129
113
 
130
- /**
131
- * @license
132
- * Copyright Google LLC All Rights Reserved.
133
- *
134
- * Use of this source code is governed by an MIT-style license that can be
135
- * found in the LICENSE file at https://angular.io/license
136
- */
137
114
  /**
138
115
  * A `PropertyBinding` represents a mapping between a property name
139
116
  * and an attribute name. It is parsed from a string of the form
@@ -157,13 +134,6 @@ class PropertyBinding {
157
134
  }
158
135
  }
159
136
 
160
- /**
161
- * @license
162
- * Copyright Google LLC All Rights Reserved.
163
- *
164
- * Use of this source code is governed by an MIT-style license that can be
165
- * found in the LICENSE file at https://angular.io/license
166
- */
167
137
  const DIRECTIVE_PREFIX_REGEXP = /^(?:x|data)[:\-_]/i;
168
138
  const DIRECTIVE_SPECIAL_CHARS_REGEXP = /[:\-_]+(.)/g;
169
139
  function onError(e) {
@@ -309,13 +279,6 @@ function strictEquals(val1, val2) {
309
279
  return val1 === val2 || (val1 !== val1 && val2 !== val2);
310
280
  }
311
281
 
312
- /**
313
- * @license
314
- * Copyright Google LLC All Rights Reserved.
315
- *
316
- * Use of this source code is governed by an MIT-style license that can be
317
- * found in the LICENSE file at https://angular.io/license
318
- */
319
282
  const INITIAL_VALUE$1 = {
320
283
  __UNINITIALIZED__: true
321
284
  };
@@ -581,13 +544,6 @@ function matchesSelector(el, selector) {
581
544
  return el.nodeType === Node.ELEMENT_NODE ? _matches.call(el, selector) : false;
582
545
  }
583
546
 
584
- /**
585
- * @license
586
- * Copyright Google LLC All Rights Reserved.
587
- *
588
- * Use of this source code is governed by an MIT-style license that can be
589
- * found in the LICENSE file at https://angular.io/license
590
- */
591
547
  function isThenable(obj) {
592
548
  return !!obj && isFunction(obj.then);
593
549
  }
@@ -638,13 +594,6 @@ class SyncPromise {
638
594
  }
639
595
  }
640
596
 
641
- /**
642
- * @license
643
- * Copyright Google LLC All Rights Reserved.
644
- *
645
- * Use of this source code is governed by an MIT-style license that can be
646
- * found in the LICENSE file at https://angular.io/license
647
- */
648
597
  /**
649
598
  * @description
650
599
  *
@@ -831,13 +780,6 @@ class ParentInjectorPromise$1 extends SyncPromise {
831
780
  }
832
781
  }
833
782
 
834
- /**
835
- * @license
836
- * Copyright Google LLC All Rights Reserved.
837
- *
838
- * Use of this source code is governed by an MIT-style license that can be
839
- * found in the LICENSE file at https://angular.io/license
840
- */
841
783
  /**
842
784
  * @description
843
785
  *
@@ -916,13 +858,6 @@ function downgradeInjectable(token, downgradedModule = '') {
916
858
  return factory;
917
859
  }
918
860
 
919
- /**
920
- * @license
921
- * Copyright Google LLC All Rights Reserved.
922
- *
923
- * Use of this source code is governed by an MIT-style license that can be
924
- * found in the LICENSE file at https://angular.io/license
925
- */
926
861
  // Constants
927
862
  const REQUIRE_PREFIX_RE = /^(\^\^?)?(\?)?(\^\^?)?/;
928
863
  // Classes
@@ -1367,19 +1302,12 @@ class UpgradeNg1ComponentAdapter {
1367
1302
  this.destinationObj[this.propertyMap[name]] = value;
1368
1303
  }
1369
1304
  }
1370
- UpgradeNg1ComponentAdapter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: UpgradeNg1ComponentAdapter, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
1371
- UpgradeNg1ComponentAdapter.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: UpgradeNg1ComponentAdapter, usesOnChanges: true, ngImport: i0 });
1372
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: UpgradeNg1ComponentAdapter, decorators: [{
1305
+ UpgradeNg1ComponentAdapter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: UpgradeNg1ComponentAdapter, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
1306
+ UpgradeNg1ComponentAdapter.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0", type: UpgradeNg1ComponentAdapter, usesOnChanges: true, ngImport: i0 });
1307
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: UpgradeNg1ComponentAdapter, decorators: [{
1373
1308
  type: Directive
1374
1309
  }], ctorParameters: function () { return [{ type: UpgradeHelper }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }]; } });
1375
1310
 
1376
- /**
1377
- * @license
1378
- * Copyright Google LLC All Rights Reserved.
1379
- *
1380
- * Use of this source code is governed by an MIT-style license that can be
1381
- * found in the LICENSE file at https://angular.io/license
1382
- */
1383
1311
  let upgradeCount = 0;
1384
1312
  /**
1385
1313
  * Use `UpgradeAdapter` to allow AngularJS and Angular to coexist in a single application.
@@ -2048,21 +1976,14 @@ class UpgradeAdapterRef {
2048
1976
  }
2049
1977
 
2050
1978
  /**
2051
- * @license
2052
- * Copyright Google LLC All Rights Reserved.
2053
- *
2054
- * Use of this source code is governed by an MIT-style license that can be
2055
- * found in the LICENSE file at https://angular.io/license
1979
+ * @module
1980
+ * @description
1981
+ * Entry point for all public APIs of this package. allowing
1982
+ * Angular 1 and Angular 2+ to run side by side in the same application.
2056
1983
  */
2057
1984
  // This file only re-exports content of the `src` folder. Keep it that way.
2058
1985
 
2059
- /**
2060
- * @license
2061
- * Copyright Google LLC All Rights Reserved.
2062
- *
2063
- * Use of this source code is governed by an MIT-style license that can be
2064
- * found in the LICENSE file at https://angular.io/license
2065
- */
1986
+ // This file is not used to build this module. It is only used during editing
2066
1987
 
2067
1988
  /**
2068
1989
  * Generated bundle index. Do not edit.