@angular/core 19.0.4 → 19.0.6
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 +1 -1
- package/fesm2022/core.mjs +122 -93
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -24
- package/fesm2022/primitives/event-dispatch.mjs.map +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 +28 -4
- 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-99fcd356.js} +67 -27
- package/schematics/bundles/{combine_units-7f681271.js → combine_units-755cada7.js} +3 -3
- package/schematics/bundles/{compiler_host-f5d588fe.js → compiler_host-6ebdb0ca.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-c61efd47.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-2d2a3ded.js} +70 -29
- 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.6
|
|
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.6", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
179
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.6", 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.6", 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.6
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1170,7 +1170,6 @@ export declare class ApplicationRef {
|
|
|
1170
1170
|
* Returns the number of attached views.
|
|
1171
1171
|
*/
|
|
1172
1172
|
get viewCount(): number;
|
|
1173
|
-
private warnIfDestroyed;
|
|
1174
1173
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationRef, never>;
|
|
1175
1174
|
static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationRef>;
|
|
1176
1175
|
}
|
|
@@ -7903,7 +7902,7 @@ export declare class NgZone {
|
|
|
7903
7902
|
* Executes the `fn` function synchronously within the Angular zone as a task and returns value
|
|
7904
7903
|
* returned by the function.
|
|
7905
7904
|
*
|
|
7906
|
-
* Running functions via `
|
|
7905
|
+
* Running functions via `runTask` allows you to reenter Angular zone from a task that was executed
|
|
7907
7906
|
* outside of the Angular zone (typically started via {@link #runOutsideAngular}).
|
|
7908
7907
|
*
|
|
7909
7908
|
* Any future tasks or microtasks scheduled from within this function will continue executing from
|
|
@@ -12641,6 +12640,7 @@ declare class ZoneAwareEffectScheduler implements ɵEffectScheduler {
|
|
|
12641
12640
|
private queuedEffectCount;
|
|
12642
12641
|
private queues;
|
|
12643
12642
|
schedule(handle: SchedulableEffect): void;
|
|
12643
|
+
remove(handle: SchedulableEffect): void;
|
|
12644
12644
|
private enqueue;
|
|
12645
12645
|
/**
|
|
12646
12646
|
* Run all scheduled effects.
|
|
@@ -13452,10 +13452,34 @@ export declare abstract class ɵEffectScheduler {
|
|
|
13452
13452
|
* Run any scheduled effects.
|
|
13453
13453
|
*/
|
|
13454
13454
|
abstract flush(): void;
|
|
13455
|
+
/** Remove a scheduled effect */
|
|
13456
|
+
abstract remove(e: SchedulableEffect): void;
|
|
13455
13457
|
/** @nocollapse */
|
|
13456
13458
|
static ɵprov: unknown;
|
|
13457
13459
|
}
|
|
13458
13460
|
|
|
13461
|
+
/**
|
|
13462
|
+
* InjectionToken to control root component bootstrap behavior.
|
|
13463
|
+
*
|
|
13464
|
+
* This token is primarily used in Angular's server-side rendering (SSR) scenarios,
|
|
13465
|
+
* particularly by the `@angular/ssr` package, to manage whether the root component
|
|
13466
|
+
* should be bootstrapped during the application initialization process.
|
|
13467
|
+
*
|
|
13468
|
+
* ## Purpose:
|
|
13469
|
+
* During SSR route extraction, setting this token to `false` prevents Angular from
|
|
13470
|
+
* bootstrapping the root component. This avoids unnecessary component rendering,
|
|
13471
|
+
* enabling route extraction without requiring additional APIs or triggering
|
|
13472
|
+
* component logic.
|
|
13473
|
+
*
|
|
13474
|
+
* ## Behavior:
|
|
13475
|
+
* - **`false`**: Prevents the root component from being bootstrapped.
|
|
13476
|
+
* - **`true`** (default): Proceeds with the normal root component bootstrap process.
|
|
13477
|
+
*
|
|
13478
|
+
* This mechanism ensures SSR can efficiently separate route extraction logic
|
|
13479
|
+
* from component rendering.
|
|
13480
|
+
*/
|
|
13481
|
+
export declare const ɵENABLE_ROOT_COMPONENT_BOOTSTRAP: InjectionToken<boolean>;
|
|
13482
|
+
|
|
13459
13483
|
/**
|
|
13460
13484
|
* This enables an internal performance profiler
|
|
13461
13485
|
*
|
|
@@ -14509,7 +14533,7 @@ export declare const enum ɵRuntimeErrorCode {
|
|
|
14509
14533
|
ASSERTION_NOT_INSIDE_REACTIVE_CONTEXT = -602,
|
|
14510
14534
|
INVALID_I18N_STRUCTURE = 700,
|
|
14511
14535
|
MISSING_LOCALE_DATA = 701,
|
|
14512
|
-
DEFER_LOADING_FAILED = 750,
|
|
14536
|
+
DEFER_LOADING_FAILED = -750,
|
|
14513
14537
|
IMPORT_PROVIDERS_FROM_STANDALONE = 800,
|
|
14514
14538
|
INVALID_DIFFER_INPUT = 900,
|
|
14515
14539
|
NO_SUPPORTING_DIFFER_FACTORY = 901,
|
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.6
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -26881,7 +26881,7 @@ function parseForLoopParameters(block, errors, bindingParser) {
|
|
|
26881
26881
|
}
|
|
26882
26882
|
continue;
|
|
26883
26883
|
}
|
|
26884
|
-
errors.push(new ParseError(param.sourceSpan, `Unrecognized @for loop
|
|
26884
|
+
errors.push(new ParseError(param.sourceSpan, `Unrecognized @for loop parameter "${param.expression}"`));
|
|
26885
26885
|
}
|
|
26886
26886
|
return result;
|
|
26887
26887
|
}
|
|
@@ -27028,7 +27028,7 @@ function parseConditionalBlockParameters(block, errors, bindingParser) {
|
|
|
27028
27028
|
// For now conditionals can only have an `as` parameter.
|
|
27029
27029
|
// We may want to rework this later if we add more.
|
|
27030
27030
|
if (aliasMatch === null) {
|
|
27031
|
-
errors.push(new ParseError(param.sourceSpan, `Unrecognized conditional
|
|
27031
|
+
errors.push(new ParseError(param.sourceSpan, `Unrecognized conditional parameter "${param.expression}"`));
|
|
27032
27032
|
}
|
|
27033
27033
|
else if (block.name !== 'if') {
|
|
27034
27034
|
errors.push(new ParseError(param.sourceSpan, '"as" expression is only allowed on the primary @if block'));
|
|
@@ -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.6');
|
|
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-99fcd356.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.
|
|
@@ -32828,9 +32828,16 @@ function classMemberAccessLevelToString(level) {
|
|
|
32828
32828
|
class TypeScriptReflectionHost {
|
|
32829
32829
|
checker;
|
|
32830
32830
|
isLocalCompilation;
|
|
32831
|
-
|
|
32831
|
+
skipPrivateValueDeclarationTypes;
|
|
32832
|
+
/**
|
|
32833
|
+
* @param skipPrivateValueDeclarationTypes Avoids using a value declaration that is considered private (using a ɵ-prefix),
|
|
32834
|
+
* instead using the first available declaration. This is needed for the {@link FormControl} API of
|
|
32835
|
+
* which the type declaration documents the type and the value declaration corresponds with an implementation detail.
|
|
32836
|
+
*/
|
|
32837
|
+
constructor(checker, isLocalCompilation = false, skipPrivateValueDeclarationTypes = false) {
|
|
32832
32838
|
this.checker = checker;
|
|
32833
32839
|
this.isLocalCompilation = isLocalCompilation;
|
|
32840
|
+
this.skipPrivateValueDeclarationTypes = skipPrivateValueDeclarationTypes;
|
|
32834
32841
|
}
|
|
32835
32842
|
getDecoratorsOfDeclaration(declaration) {
|
|
32836
32843
|
const decorators = ts__default["default"].canHaveDecorators(declaration)
|
|
@@ -33129,9 +33136,10 @@ class TypeScriptReflectionHost {
|
|
|
33129
33136
|
while (symbol.flags & ts__default["default"].SymbolFlags.Alias) {
|
|
33130
33137
|
symbol = this.checker.getAliasedSymbol(symbol);
|
|
33131
33138
|
}
|
|
33132
|
-
// Look at the resolved Symbol's declarations and pick one of them to return.
|
|
33133
|
-
// are given precedence over type declarations
|
|
33134
|
-
if (symbol.valueDeclaration !== undefined
|
|
33139
|
+
// Look at the resolved Symbol's declarations and pick one of them to return.
|
|
33140
|
+
// Value declarations are given precedence over type declarations if not specified otherwise
|
|
33141
|
+
if (symbol.valueDeclaration !== undefined &&
|
|
33142
|
+
(!this.skipPrivateValueDeclarationTypes || !isPrivateSymbol(this.checker, symbol))) {
|
|
33135
33143
|
return {
|
|
33136
33144
|
node: symbol.valueDeclaration,
|
|
33137
33145
|
viaModule: this._viaModule(symbol.valueDeclaration, originalId, importInfo),
|
|
@@ -33226,6 +33234,13 @@ class TypeScriptReflectionHost {
|
|
|
33226
33234
|
}
|
|
33227
33235
|
}
|
|
33228
33236
|
class TypeEntityToDeclarationError extends Error {
|
|
33237
|
+
constructor(message) {
|
|
33238
|
+
super(message);
|
|
33239
|
+
// Extending `Error` ends up breaking some internal tests. This appears to be a known issue
|
|
33240
|
+
// when extending errors in TS and the workaround is to explicitly set the prototype.
|
|
33241
|
+
// https://stackoverflow.com/questions/41102060/typescript-extending-error-class
|
|
33242
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
33243
|
+
}
|
|
33229
33244
|
}
|
|
33230
33245
|
/**
|
|
33231
33246
|
* @throws {TypeEntityToDeclarationError} if the type cannot be converted
|
|
@@ -33435,6 +33450,14 @@ function propertyNameToString(node) {
|
|
|
33435
33450
|
return null;
|
|
33436
33451
|
}
|
|
33437
33452
|
}
|
|
33453
|
+
/** Determines whether a given symbol represents a private API (symbols with names that start with `ɵ`) */
|
|
33454
|
+
function isPrivateSymbol(typeChecker, symbol) {
|
|
33455
|
+
if (symbol.valueDeclaration !== undefined) {
|
|
33456
|
+
const symbolType = typeChecker.getTypeOfSymbolAtLocation(symbol, symbol.valueDeclaration);
|
|
33457
|
+
return symbolType?.symbol?.name.startsWith('ɵ') === true;
|
|
33458
|
+
}
|
|
33459
|
+
return false;
|
|
33460
|
+
}
|
|
33438
33461
|
/**
|
|
33439
33462
|
* Compute the left most identifier in a qualified type chain. E.g. the `a` of `a.b.c.SomeType`.
|
|
33440
33463
|
* @param qualifiedName The starting property access expression from which we want to compute
|
|
@@ -38423,7 +38446,7 @@ class Chunk {
|
|
|
38423
38446
|
// ' test'.trim()
|
|
38424
38447
|
// split -> ' ' + 'test'
|
|
38425
38448
|
// ✔️ edit -> '' + 'test'
|
|
38426
|
-
// ✖️ edit -> 'test' + ''
|
|
38449
|
+
// ✖️ edit -> 'test' + ''
|
|
38427
38450
|
// TODO is this block necessary?...
|
|
38428
38451
|
newChunk.edit('', false);
|
|
38429
38452
|
this.content = '';
|
|
@@ -38670,6 +38693,7 @@ class Mappings {
|
|
|
38670
38693
|
this.raw[this.generatedCodeLine] = this.rawSegments = [];
|
|
38671
38694
|
this.generatedCodeColumn = 0;
|
|
38672
38695
|
first = true;
|
|
38696
|
+
charInHiresBoundary = false;
|
|
38673
38697
|
} else {
|
|
38674
38698
|
if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
|
|
38675
38699
|
const segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
|
|
@@ -38747,6 +38771,7 @@ class MagicString {
|
|
|
38747
38771
|
storedNames: { writable: true, value: {} },
|
|
38748
38772
|
indentStr: { writable: true, value: undefined },
|
|
38749
38773
|
ignoreList: { writable: true, value: options.ignoreList },
|
|
38774
|
+
offset: { writable: true, value: options.offset || 0 },
|
|
38750
38775
|
});
|
|
38751
38776
|
|
|
38752
38777
|
this.byStart[0] = chunk;
|
|
@@ -38765,6 +38790,8 @@ class MagicString {
|
|
|
38765
38790
|
}
|
|
38766
38791
|
|
|
38767
38792
|
appendLeft(index, content) {
|
|
38793
|
+
index = index + this.offset;
|
|
38794
|
+
|
|
38768
38795
|
if (typeof content !== 'string') throw new TypeError('inserted content must be a string');
|
|
38769
38796
|
|
|
38770
38797
|
this._split(index);
|
|
@@ -38780,6 +38807,8 @@ class MagicString {
|
|
|
38780
38807
|
}
|
|
38781
38808
|
|
|
38782
38809
|
appendRight(index, content) {
|
|
38810
|
+
index = index + this.offset;
|
|
38811
|
+
|
|
38783
38812
|
if (typeof content !== 'string') throw new TypeError('inserted content must be a string');
|
|
38784
38813
|
|
|
38785
38814
|
this._split(index);
|
|
@@ -38795,7 +38824,7 @@ class MagicString {
|
|
|
38795
38824
|
}
|
|
38796
38825
|
|
|
38797
38826
|
clone() {
|
|
38798
|
-
const cloned = new MagicString(this.original, { filename: this.filename });
|
|
38827
|
+
const cloned = new MagicString(this.original, { filename: this.filename, offset: this.offset });
|
|
38799
38828
|
|
|
38800
38829
|
let originalChunk = this.firstChunk;
|
|
38801
38830
|
let clonedChunk = (cloned.firstChunk = cloned.lastSearchedChunk = originalChunk.clone());
|
|
@@ -38993,7 +39022,7 @@ class MagicString {
|
|
|
38993
39022
|
if (!warned.insertLeft) {
|
|
38994
39023
|
console.warn(
|
|
38995
39024
|
'magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead',
|
|
38996
|
-
);
|
|
39025
|
+
);
|
|
38997
39026
|
warned.insertLeft = true;
|
|
38998
39027
|
}
|
|
38999
39028
|
|
|
@@ -39004,7 +39033,7 @@ class MagicString {
|
|
|
39004
39033
|
if (!warned.insertRight) {
|
|
39005
39034
|
console.warn(
|
|
39006
39035
|
'magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead',
|
|
39007
|
-
);
|
|
39036
|
+
);
|
|
39008
39037
|
warned.insertRight = true;
|
|
39009
39038
|
}
|
|
39010
39039
|
|
|
@@ -39012,6 +39041,10 @@ class MagicString {
|
|
|
39012
39041
|
}
|
|
39013
39042
|
|
|
39014
39043
|
move(start, end, index) {
|
|
39044
|
+
start = start + this.offset;
|
|
39045
|
+
end = end + this.offset;
|
|
39046
|
+
index = index + this.offset;
|
|
39047
|
+
|
|
39015
39048
|
if (index >= start && index <= end) throw new Error('Cannot move a selection inside itself');
|
|
39016
39049
|
|
|
39017
39050
|
this._split(start);
|
|
@@ -39054,6 +39087,9 @@ class MagicString {
|
|
|
39054
39087
|
}
|
|
39055
39088
|
|
|
39056
39089
|
update(start, end, content, options) {
|
|
39090
|
+
start = start + this.offset;
|
|
39091
|
+
end = end + this.offset;
|
|
39092
|
+
|
|
39057
39093
|
if (typeof content !== 'string') throw new TypeError('replacement content must be a string');
|
|
39058
39094
|
|
|
39059
39095
|
if (this.original.length !== 0) {
|
|
@@ -39074,7 +39110,7 @@ class MagicString {
|
|
|
39074
39110
|
if (!warned.storeName) {
|
|
39075
39111
|
console.warn(
|
|
39076
39112
|
'The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string',
|
|
39077
|
-
);
|
|
39113
|
+
);
|
|
39078
39114
|
warned.storeName = true;
|
|
39079
39115
|
}
|
|
39080
39116
|
|
|
@@ -39125,6 +39161,8 @@ class MagicString {
|
|
|
39125
39161
|
}
|
|
39126
39162
|
|
|
39127
39163
|
prependLeft(index, content) {
|
|
39164
|
+
index = index + this.offset;
|
|
39165
|
+
|
|
39128
39166
|
if (typeof content !== 'string') throw new TypeError('inserted content must be a string');
|
|
39129
39167
|
|
|
39130
39168
|
this._split(index);
|
|
@@ -39140,6 +39178,8 @@ class MagicString {
|
|
|
39140
39178
|
}
|
|
39141
39179
|
|
|
39142
39180
|
prependRight(index, content) {
|
|
39181
|
+
index = index + this.offset;
|
|
39182
|
+
|
|
39143
39183
|
if (typeof content !== 'string') throw new TypeError('inserted content must be a string');
|
|
39144
39184
|
|
|
39145
39185
|
this._split(index);
|
|
@@ -39155,6 +39195,9 @@ class MagicString {
|
|
|
39155
39195
|
}
|
|
39156
39196
|
|
|
39157
39197
|
remove(start, end) {
|
|
39198
|
+
start = start + this.offset;
|
|
39199
|
+
end = end + this.offset;
|
|
39200
|
+
|
|
39158
39201
|
if (this.original.length !== 0) {
|
|
39159
39202
|
while (start < 0) start += this.original.length;
|
|
39160
39203
|
while (end < 0) end += this.original.length;
|
|
@@ -39181,6 +39224,9 @@ class MagicString {
|
|
|
39181
39224
|
}
|
|
39182
39225
|
|
|
39183
39226
|
reset(start, end) {
|
|
39227
|
+
start = start + this.offset;
|
|
39228
|
+
end = end + this.offset;
|
|
39229
|
+
|
|
39184
39230
|
if (this.original.length !== 0) {
|
|
39185
39231
|
while (start < 0) start += this.original.length;
|
|
39186
39232
|
while (end < 0) end += this.original.length;
|
|
@@ -39245,7 +39291,10 @@ class MagicString {
|
|
|
39245
39291
|
return this.intro + lineStr;
|
|
39246
39292
|
}
|
|
39247
39293
|
|
|
39248
|
-
slice(start = 0, end = this.original.length) {
|
|
39294
|
+
slice(start = 0, end = this.original.length - this.offset) {
|
|
39295
|
+
start = start + this.offset;
|
|
39296
|
+
end = end + this.offset;
|
|
39297
|
+
|
|
39249
39298
|
if (this.original.length !== 0) {
|
|
39250
39299
|
while (start < 0) start += this.original.length;
|
|
39251
39300
|
while (end < 0) end += this.original.length;
|
|
@@ -39481,11 +39530,7 @@ class MagicString {
|
|
|
39481
39530
|
if (match.index != null) {
|
|
39482
39531
|
const replacement = getReplacement(match, this.original);
|
|
39483
39532
|
if (replacement !== match[0]) {
|
|
39484
|
-
this.overwrite(
|
|
39485
|
-
match.index,
|
|
39486
|
-
match.index + match[0].length,
|
|
39487
|
-
replacement
|
|
39488
|
-
);
|
|
39533
|
+
this.overwrite(match.index, match.index + match[0].length, replacement);
|
|
39489
39534
|
}
|
|
39490
39535
|
}
|
|
39491
39536
|
});
|
|
@@ -39494,11 +39539,7 @@ class MagicString {
|
|
|
39494
39539
|
if (match && match.index != null) {
|
|
39495
39540
|
const replacement = getReplacement(match, this.original);
|
|
39496
39541
|
if (replacement !== match[0]) {
|
|
39497
|
-
this.overwrite(
|
|
39498
|
-
match.index,
|
|
39499
|
-
match.index + match[0].length,
|
|
39500
|
-
replacement
|
|
39501
|
-
);
|
|
39542
|
+
this.overwrite(match.index, match.index + match[0].length, replacement);
|
|
39502
39543
|
}
|
|
39503
39544
|
}
|
|
39504
39545
|
}
|
|
@@ -39533,8 +39574,7 @@ class MagicString {
|
|
|
39533
39574
|
index = original.indexOf(string, index + stringLength)
|
|
39534
39575
|
) {
|
|
39535
39576
|
const previous = original.slice(index, index + stringLength);
|
|
39536
|
-
if (previous !== replacement)
|
|
39537
|
-
this.overwrite(index, index + stringLength, replacement);
|
|
39577
|
+
if (previous !== replacement) this.overwrite(index, index + stringLength, replacement);
|
|
39538
39578
|
}
|
|
39539
39579
|
|
|
39540
39580
|
return this;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.0.
|
|
3
|
+
* @license Angular v19.0.6
|
|
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-99fcd356.js');
|
|
14
|
+
var program = require('./program-2d2a3ded.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.6
|
|
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-99fcd356.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.6
|
|
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-6ebdb0ca.js');
|
|
14
|
+
var checker = require('./checker-99fcd356.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.6
|
|
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-6ebdb0ca.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-99fcd356.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.6
|
|
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-6ebdb0ca.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-99fcd356.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.6
|
|
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-99fcd356.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-755cada7.js');
|
|
14
|
+
var leading_space = require('./leading_space-d190b83b.js');
|
|
15
|
+
require('./program-2d2a3ded.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.6
|
|
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.6
|
|
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-755cada7.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-99fcd356.js');
|
|
17
|
+
var program = require('./program-2d2a3ded.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.6
|
|
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-6ebdb0ca.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-99fcd356.js');
|
|
19
19
|
require('os');
|
|
20
20
|
require('fs');
|
|
21
21
|
require('module');
|