@angular/core 19.0.4 → 19.0.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 +93 -70
- 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 +24 -2
- 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-c58f97d2.js → checker-eced36c5.js} +45 -21
- package/schematics/bundles/{combine_units-7f681271.js → combine_units-438d7a79.js} +3 -3
- package/schematics/bundles/{compiler_host-f5d588fe.js → compiler_host-82c877de.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-31a38653.js → imports-abe29092.js} +1 -1
- package/schematics/bundles/inject-migration.js +6 -6
- package/schematics/bundles/{leading_space-6e7a8ec6.js → leading_space-d190b83b.js} +1 -1
- package/schematics/bundles/{migrate_ts_type_references-4ddf2b3b.js → migrate_ts_type_references-7e102890.js} +5 -5
- package/schematics/bundles/{nodes-88c2157f.js → nodes-a9f0b985.js} +2 -2
- package/schematics/bundles/output-migration.js +5 -5
- package/schematics/bundles/pending-tasks.js +5 -5
- package/schematics/bundles/{program-4ee751e4.js → program-c49e652e.js} +11 -11
- package/schematics/bundles/{project_tsconfig_paths-6c9cde78.js → project_tsconfig_paths-e9ccccbf.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 +7 -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.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 ɵ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.5", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
179
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.5", 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.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.
|
|
2
|
+
* @license Angular v19.0.5
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -7903,7 +7903,7 @@ export declare class NgZone {
|
|
|
7903
7903
|
* Executes the `fn` function synchronously within the Angular zone as a task and returns value
|
|
7904
7904
|
* returned by the function.
|
|
7905
7905
|
*
|
|
7906
|
-
* Running functions via `
|
|
7906
|
+
* Running functions via `runTask` allows you to reenter Angular zone from a task that was executed
|
|
7907
7907
|
* outside of the Angular zone (typically started via {@link #runOutsideAngular}).
|
|
7908
7908
|
*
|
|
7909
7909
|
* Any future tasks or microtasks scheduled from within this function will continue executing from
|
|
@@ -13456,6 +13456,28 @@ export declare abstract class ɵEffectScheduler {
|
|
|
13456
13456
|
static ɵprov: unknown;
|
|
13457
13457
|
}
|
|
13458
13458
|
|
|
13459
|
+
/**
|
|
13460
|
+
* InjectionToken to control root component bootstrap behavior.
|
|
13461
|
+
*
|
|
13462
|
+
* This token is primarily used in Angular's server-side rendering (SSR) scenarios,
|
|
13463
|
+
* particularly by the `@angular/ssr` package, to manage whether the root component
|
|
13464
|
+
* should be bootstrapped during the application initialization process.
|
|
13465
|
+
*
|
|
13466
|
+
* ## Purpose:
|
|
13467
|
+
* During SSR route extraction, setting this token to `false` prevents Angular from
|
|
13468
|
+
* bootstrapping the root component. This avoids unnecessary component rendering,
|
|
13469
|
+
* enabling route extraction without requiring additional APIs or triggering
|
|
13470
|
+
* component logic.
|
|
13471
|
+
*
|
|
13472
|
+
* ## Behavior:
|
|
13473
|
+
* - **`false`**: Prevents the root component from being bootstrapped.
|
|
13474
|
+
* - **`true`** (default): Proceeds with the normal root component bootstrap process.
|
|
13475
|
+
*
|
|
13476
|
+
* This mechanism ensures SSR can efficiently separate route extraction logic
|
|
13477
|
+
* from component rendering.
|
|
13478
|
+
*/
|
|
13479
|
+
export declare const ɵENABLE_ROOT_COMPONENT_BOOTSTRAP: InjectionToken<boolean>;
|
|
13480
|
+
|
|
13459
13481
|
/**
|
|
13460
13482
|
* This enables an internal performance profiler
|
|
13461
13483
|
*
|
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.5
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -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.5');
|
|
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-eced36c5.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.
|
|
@@ -33226,6 +33226,13 @@ class TypeScriptReflectionHost {
|
|
|
33226
33226
|
}
|
|
33227
33227
|
}
|
|
33228
33228
|
class TypeEntityToDeclarationError extends Error {
|
|
33229
|
+
constructor(message) {
|
|
33230
|
+
super(message);
|
|
33231
|
+
// Extending `Error` ends up breaking some internal tests. This appears to be a known issue
|
|
33232
|
+
// when extending errors in TS and the workaround is to explicitly set the prototype.
|
|
33233
|
+
// https://stackoverflow.com/questions/41102060/typescript-extending-error-class
|
|
33234
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
33235
|
+
}
|
|
33229
33236
|
}
|
|
33230
33237
|
/**
|
|
33231
33238
|
* @throws {TypeEntityToDeclarationError} if the type cannot be converted
|
|
@@ -38423,7 +38430,7 @@ class Chunk {
|
|
|
38423
38430
|
// ' test'.trim()
|
|
38424
38431
|
// split -> ' ' + 'test'
|
|
38425
38432
|
// ✔️ edit -> '' + 'test'
|
|
38426
|
-
// ✖️ edit -> 'test' + ''
|
|
38433
|
+
// ✖️ edit -> 'test' + ''
|
|
38427
38434
|
// TODO is this block necessary?...
|
|
38428
38435
|
newChunk.edit('', false);
|
|
38429
38436
|
this.content = '';
|
|
@@ -38670,6 +38677,7 @@ class Mappings {
|
|
|
38670
38677
|
this.raw[this.generatedCodeLine] = this.rawSegments = [];
|
|
38671
38678
|
this.generatedCodeColumn = 0;
|
|
38672
38679
|
first = true;
|
|
38680
|
+
charInHiresBoundary = false;
|
|
38673
38681
|
} else {
|
|
38674
38682
|
if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
|
|
38675
38683
|
const segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
|
|
@@ -38747,6 +38755,7 @@ class MagicString {
|
|
|
38747
38755
|
storedNames: { writable: true, value: {} },
|
|
38748
38756
|
indentStr: { writable: true, value: undefined },
|
|
38749
38757
|
ignoreList: { writable: true, value: options.ignoreList },
|
|
38758
|
+
offset: { writable: true, value: options.offset || 0 },
|
|
38750
38759
|
});
|
|
38751
38760
|
|
|
38752
38761
|
this.byStart[0] = chunk;
|
|
@@ -38765,6 +38774,8 @@ class MagicString {
|
|
|
38765
38774
|
}
|
|
38766
38775
|
|
|
38767
38776
|
appendLeft(index, content) {
|
|
38777
|
+
index = index + this.offset;
|
|
38778
|
+
|
|
38768
38779
|
if (typeof content !== 'string') throw new TypeError('inserted content must be a string');
|
|
38769
38780
|
|
|
38770
38781
|
this._split(index);
|
|
@@ -38780,6 +38791,8 @@ class MagicString {
|
|
|
38780
38791
|
}
|
|
38781
38792
|
|
|
38782
38793
|
appendRight(index, content) {
|
|
38794
|
+
index = index + this.offset;
|
|
38795
|
+
|
|
38783
38796
|
if (typeof content !== 'string') throw new TypeError('inserted content must be a string');
|
|
38784
38797
|
|
|
38785
38798
|
this._split(index);
|
|
@@ -38795,7 +38808,7 @@ class MagicString {
|
|
|
38795
38808
|
}
|
|
38796
38809
|
|
|
38797
38810
|
clone() {
|
|
38798
|
-
const cloned = new MagicString(this.original, { filename: this.filename });
|
|
38811
|
+
const cloned = new MagicString(this.original, { filename: this.filename, offset: this.offset });
|
|
38799
38812
|
|
|
38800
38813
|
let originalChunk = this.firstChunk;
|
|
38801
38814
|
let clonedChunk = (cloned.firstChunk = cloned.lastSearchedChunk = originalChunk.clone());
|
|
@@ -38993,7 +39006,7 @@ class MagicString {
|
|
|
38993
39006
|
if (!warned.insertLeft) {
|
|
38994
39007
|
console.warn(
|
|
38995
39008
|
'magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead',
|
|
38996
|
-
);
|
|
39009
|
+
);
|
|
38997
39010
|
warned.insertLeft = true;
|
|
38998
39011
|
}
|
|
38999
39012
|
|
|
@@ -39004,7 +39017,7 @@ class MagicString {
|
|
|
39004
39017
|
if (!warned.insertRight) {
|
|
39005
39018
|
console.warn(
|
|
39006
39019
|
'magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead',
|
|
39007
|
-
);
|
|
39020
|
+
);
|
|
39008
39021
|
warned.insertRight = true;
|
|
39009
39022
|
}
|
|
39010
39023
|
|
|
@@ -39012,6 +39025,10 @@ class MagicString {
|
|
|
39012
39025
|
}
|
|
39013
39026
|
|
|
39014
39027
|
move(start, end, index) {
|
|
39028
|
+
start = start + this.offset;
|
|
39029
|
+
end = end + this.offset;
|
|
39030
|
+
index = index + this.offset;
|
|
39031
|
+
|
|
39015
39032
|
if (index >= start && index <= end) throw new Error('Cannot move a selection inside itself');
|
|
39016
39033
|
|
|
39017
39034
|
this._split(start);
|
|
@@ -39054,6 +39071,9 @@ class MagicString {
|
|
|
39054
39071
|
}
|
|
39055
39072
|
|
|
39056
39073
|
update(start, end, content, options) {
|
|
39074
|
+
start = start + this.offset;
|
|
39075
|
+
end = end + this.offset;
|
|
39076
|
+
|
|
39057
39077
|
if (typeof content !== 'string') throw new TypeError('replacement content must be a string');
|
|
39058
39078
|
|
|
39059
39079
|
if (this.original.length !== 0) {
|
|
@@ -39074,7 +39094,7 @@ class MagicString {
|
|
|
39074
39094
|
if (!warned.storeName) {
|
|
39075
39095
|
console.warn(
|
|
39076
39096
|
'The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string',
|
|
39077
|
-
);
|
|
39097
|
+
);
|
|
39078
39098
|
warned.storeName = true;
|
|
39079
39099
|
}
|
|
39080
39100
|
|
|
@@ -39125,6 +39145,8 @@ class MagicString {
|
|
|
39125
39145
|
}
|
|
39126
39146
|
|
|
39127
39147
|
prependLeft(index, content) {
|
|
39148
|
+
index = index + this.offset;
|
|
39149
|
+
|
|
39128
39150
|
if (typeof content !== 'string') throw new TypeError('inserted content must be a string');
|
|
39129
39151
|
|
|
39130
39152
|
this._split(index);
|
|
@@ -39140,6 +39162,8 @@ class MagicString {
|
|
|
39140
39162
|
}
|
|
39141
39163
|
|
|
39142
39164
|
prependRight(index, content) {
|
|
39165
|
+
index = index + this.offset;
|
|
39166
|
+
|
|
39143
39167
|
if (typeof content !== 'string') throw new TypeError('inserted content must be a string');
|
|
39144
39168
|
|
|
39145
39169
|
this._split(index);
|
|
@@ -39155,6 +39179,9 @@ class MagicString {
|
|
|
39155
39179
|
}
|
|
39156
39180
|
|
|
39157
39181
|
remove(start, end) {
|
|
39182
|
+
start = start + this.offset;
|
|
39183
|
+
end = end + this.offset;
|
|
39184
|
+
|
|
39158
39185
|
if (this.original.length !== 0) {
|
|
39159
39186
|
while (start < 0) start += this.original.length;
|
|
39160
39187
|
while (end < 0) end += this.original.length;
|
|
@@ -39181,6 +39208,9 @@ class MagicString {
|
|
|
39181
39208
|
}
|
|
39182
39209
|
|
|
39183
39210
|
reset(start, end) {
|
|
39211
|
+
start = start + this.offset;
|
|
39212
|
+
end = end + this.offset;
|
|
39213
|
+
|
|
39184
39214
|
if (this.original.length !== 0) {
|
|
39185
39215
|
while (start < 0) start += this.original.length;
|
|
39186
39216
|
while (end < 0) end += this.original.length;
|
|
@@ -39245,7 +39275,10 @@ class MagicString {
|
|
|
39245
39275
|
return this.intro + lineStr;
|
|
39246
39276
|
}
|
|
39247
39277
|
|
|
39248
|
-
slice(start = 0, end = this.original.length) {
|
|
39278
|
+
slice(start = 0, end = this.original.length - this.offset) {
|
|
39279
|
+
start = start + this.offset;
|
|
39280
|
+
end = end + this.offset;
|
|
39281
|
+
|
|
39249
39282
|
if (this.original.length !== 0) {
|
|
39250
39283
|
while (start < 0) start += this.original.length;
|
|
39251
39284
|
while (end < 0) end += this.original.length;
|
|
@@ -39481,11 +39514,7 @@ class MagicString {
|
|
|
39481
39514
|
if (match.index != null) {
|
|
39482
39515
|
const replacement = getReplacement(match, this.original);
|
|
39483
39516
|
if (replacement !== match[0]) {
|
|
39484
|
-
this.overwrite(
|
|
39485
|
-
match.index,
|
|
39486
|
-
match.index + match[0].length,
|
|
39487
|
-
replacement
|
|
39488
|
-
);
|
|
39517
|
+
this.overwrite(match.index, match.index + match[0].length, replacement);
|
|
39489
39518
|
}
|
|
39490
39519
|
}
|
|
39491
39520
|
});
|
|
@@ -39494,11 +39523,7 @@ class MagicString {
|
|
|
39494
39523
|
if (match && match.index != null) {
|
|
39495
39524
|
const replacement = getReplacement(match, this.original);
|
|
39496
39525
|
if (replacement !== match[0]) {
|
|
39497
|
-
this.overwrite(
|
|
39498
|
-
match.index,
|
|
39499
|
-
match.index + match[0].length,
|
|
39500
|
-
replacement
|
|
39501
|
-
);
|
|
39526
|
+
this.overwrite(match.index, match.index + match[0].length, replacement);
|
|
39502
39527
|
}
|
|
39503
39528
|
}
|
|
39504
39529
|
}
|
|
@@ -39533,8 +39558,7 @@ class MagicString {
|
|
|
39533
39558
|
index = original.indexOf(string, index + stringLength)
|
|
39534
39559
|
) {
|
|
39535
39560
|
const previous = original.slice(index, index + stringLength);
|
|
39536
|
-
if (previous !== replacement)
|
|
39537
|
-
this.overwrite(index, index + stringLength, replacement);
|
|
39561
|
+
if (previous !== replacement) this.overwrite(index, index + stringLength, replacement);
|
|
39538
39562
|
}
|
|
39539
39563
|
|
|
39540
39564
|
return this;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.0.
|
|
3
|
+
* @license Angular v19.0.5
|
|
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-eced36c5.js');
|
|
14
|
+
var program = require('./program-c49e652e.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.5
|
|
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-eced36c5.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.5
|
|
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-82c877de.js');
|
|
14
|
+
var checker = require('./checker-eced36c5.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.5
|
|
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-82c877de.js');
|
|
15
15
|
var ts = require('typescript');
|
|
16
|
-
var imports = require('./imports-
|
|
16
|
+
var imports = require('./imports-abe29092.js');
|
|
17
17
|
require('@angular-devkit/core');
|
|
18
|
-
require('./checker-
|
|
18
|
+
require('./checker-eced36c5.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.5
|
|
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-82c877de.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-a9f0b985.js');
|
|
16
|
+
var imports = require('./imports-abe29092.js');
|
|
17
|
+
var leading_space = require('./leading_space-d190b83b.js');
|
|
18
|
+
require('./checker-eced36c5.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.5
|
|
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-eced36c5.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-438d7a79.js');
|
|
14
|
+
var leading_space = require('./leading_space-d190b83b.js');
|
|
15
|
+
require('./program-c49e652e.js');
|
|
16
16
|
require('path');
|
|
17
17
|
|
|
18
18
|
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.5
|
|
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 imports = require('./imports-
|
|
10
|
+
var imports = require('./imports-abe29092.js');
|
|
11
11
|
|
|
12
12
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
13
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.0.
|
|
3
|
+
* @license Angular v19.0.5
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
10
10
|
|
|
11
11
|
var schematics = require('@angular-devkit/schematics');
|
|
12
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
13
|
-
var combine_units = require('./combine_units-
|
|
12
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-e9ccccbf.js');
|
|
13
|
+
var combine_units = require('./combine_units-438d7a79.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-eced36c5.js');
|
|
17
|
+
var program = require('./program-c49e652e.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.5
|
|
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-82c877de.js');
|
|
15
15
|
var ts = require('typescript');
|
|
16
|
-
var imports = require('./imports-
|
|
16
|
+
var imports = require('./imports-abe29092.js');
|
|
17
17
|
require('@angular-devkit/core');
|
|
18
|
-
require('./checker-
|
|
18
|
+
require('./checker-eced36c5.js');
|
|
19
19
|
require('os');
|
|
20
20
|
require('fs');
|
|
21
21
|
require('module');
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.0.
|
|
3
|
+
* @license Angular v19.0.5
|
|
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-eced36c5.js');
|
|
10
10
|
var ts = require('typescript');
|
|
11
11
|
var p = require('path');
|
|
12
12
|
require('os');
|
|
@@ -995,7 +995,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
995
995
|
function compileDeclareClassMetadata(metadata) {
|
|
996
996
|
const definitionMap = new checker.DefinitionMap();
|
|
997
997
|
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
998
|
-
definitionMap.set('version', checker.literal('19.0.
|
|
998
|
+
definitionMap.set('version', checker.literal('19.0.5'));
|
|
999
999
|
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
|
|
1000
1000
|
definitionMap.set('type', metadata.type);
|
|
1001
1001
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -1013,7 +1013,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
1013
1013
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? checker.literal(null));
|
|
1014
1014
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? checker.literal(null));
|
|
1015
1015
|
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
1016
|
-
definitionMap.set('version', checker.literal('19.0.
|
|
1016
|
+
definitionMap.set('version', checker.literal('19.0.5'));
|
|
1017
1017
|
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
|
|
1018
1018
|
definitionMap.set('type', metadata.type);
|
|
1019
1019
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -1108,7 +1108,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
1108
1108
|
const definitionMap = new checker.DefinitionMap();
|
|
1109
1109
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
1110
1110
|
definitionMap.set('minVersion', checker.literal(minVersion));
|
|
1111
|
-
definitionMap.set('version', checker.literal('19.0.
|
|
1111
|
+
definitionMap.set('version', checker.literal('19.0.5'));
|
|
1112
1112
|
// e.g. `type: MyDirective`
|
|
1113
1113
|
definitionMap.set('type', meta.type.value);
|
|
1114
1114
|
if (meta.isStandalone !== undefined) {
|
|
@@ -1524,7 +1524,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
1524
1524
|
function compileDeclareFactoryFunction(meta) {
|
|
1525
1525
|
const definitionMap = new checker.DefinitionMap();
|
|
1526
1526
|
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
1527
|
-
definitionMap.set('version', checker.literal('19.0.
|
|
1527
|
+
definitionMap.set('version', checker.literal('19.0.5'));
|
|
1528
1528
|
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
|
|
1529
1529
|
definitionMap.set('type', meta.type.value);
|
|
1530
1530
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -1559,7 +1559,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
1559
1559
|
function createInjectableDefinitionMap(meta) {
|
|
1560
1560
|
const definitionMap = new checker.DefinitionMap();
|
|
1561
1561
|
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
1562
|
-
definitionMap.set('version', checker.literal('19.0.
|
|
1562
|
+
definitionMap.set('version', checker.literal('19.0.5'));
|
|
1563
1563
|
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
|
|
1564
1564
|
definitionMap.set('type', meta.type.value);
|
|
1565
1565
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -1610,7 +1610,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
1610
1610
|
function createInjectorDefinitionMap(meta) {
|
|
1611
1611
|
const definitionMap = new checker.DefinitionMap();
|
|
1612
1612
|
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
1613
|
-
definitionMap.set('version', checker.literal('19.0.
|
|
1613
|
+
definitionMap.set('version', checker.literal('19.0.5'));
|
|
1614
1614
|
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
|
|
1615
1615
|
definitionMap.set('type', meta.type.value);
|
|
1616
1616
|
definitionMap.set('providers', meta.providers);
|
|
@@ -1643,7 +1643,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
1643
1643
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
1644
1644
|
}
|
|
1645
1645
|
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
1646
|
-
definitionMap.set('version', checker.literal('19.0.
|
|
1646
|
+
definitionMap.set('version', checker.literal('19.0.5'));
|
|
1647
1647
|
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
|
|
1648
1648
|
definitionMap.set('type', meta.type.value);
|
|
1649
1649
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -1694,7 +1694,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
1694
1694
|
function createPipeDefinitionMap(meta) {
|
|
1695
1695
|
const definitionMap = new checker.DefinitionMap();
|
|
1696
1696
|
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
1697
|
-
definitionMap.set('version', checker.literal('19.0.
|
|
1697
|
+
definitionMap.set('version', checker.literal('19.0.5'));
|
|
1698
1698
|
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
|
|
1699
1699
|
// e.g. `type: MyPipe`
|
|
1700
1700
|
definitionMap.set('type', meta.type.value);
|
|
@@ -20164,7 +20164,7 @@ var semver = /*@__PURE__*/getDefaultExportFromCjs(semverExports);
|
|
|
20164
20164
|
* @param minVersion Minimum required version for the feature.
|
|
20165
20165
|
*/
|
|
20166
20166
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
20167
|
-
// A version of `19.0.
|
|
20167
|
+
// A version of `19.0.5` usually means that core is at head so it supports
|
|
20168
20168
|
// all features. Use string interpolation prevent the placeholder from being replaced
|
|
20169
20169
|
// with the current version during build time.
|
|
20170
20170
|
if (coreVersion === `0.0.0-${'PLACEHOLDER'}`) {
|