@angular/compiler-cli 19.1.0-next.3 → 19.1.0-next.4
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/bundles/{chunk-F3XFZLFK.js → chunk-AAMTATB3.js} +3 -3
- package/bundles/{chunk-F73PYGWL.js → chunk-ACKPW32M.js} +24 -15
- package/bundles/{chunk-F73PYGWL.js.map → chunk-ACKPW32M.js.map} +1 -1
- package/bundles/{chunk-JU5KR7ZS.js → chunk-AHHY35ZY.js} +4 -4
- package/bundles/{chunk-DVLQORCX.js → chunk-JQUCZAGS.js} +2 -2
- package/bundles/{chunk-QMSFXNUC.js → chunk-LSXJNKBJ.js} +3 -3
- package/bundles/{chunk-BC3UIHLS.js → chunk-Q73LD63I.js} +5 -1
- package/bundles/chunk-Q73LD63I.js.map +6 -0
- package/bundles/{chunk-CONSPLNK.js → chunk-QFDZTXLY.js} +2 -2
- package/bundles/index.js +6 -6
- package/bundles/linker/babel/index.js +2 -2
- package/bundles/linker/index.js +2 -2
- package/bundles/private/migrations.js +2 -2
- package/bundles/private/tooling.js +4 -4
- package/bundles/src/bin/ng_xi18n.js +5 -5
- package/bundles/src/bin/ngc.js +5 -5
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/reflection/src/typescript.d.ts +1 -0
- package/bundles/chunk-BC3UIHLS.js.map +0 -6
- /package/bundles/{chunk-F3XFZLFK.js.map → chunk-AAMTATB3.js.map} +0 -0
- /package/bundles/{chunk-JU5KR7ZS.js.map → chunk-AHHY35ZY.js.map} +0 -0
- /package/bundles/{chunk-DVLQORCX.js.map → chunk-JQUCZAGS.js.map} +0 -0
- /package/bundles/{chunk-QMSFXNUC.js.map → chunk-LSXJNKBJ.js.map} +0 -0
- /package/bundles/{chunk-CONSPLNK.js.map → chunk-QFDZTXLY.js.map} +0 -0
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import {
|
|
6
6
|
Context,
|
|
7
7
|
ExpressionTranslatorVisitor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Q73LD63I.js";
|
|
9
9
|
import {
|
|
10
10
|
SourceFileLoader
|
|
11
11
|
} from "./chunk-77D5CI2U.js";
|
|
@@ -311,7 +311,7 @@ import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSo
|
|
|
311
311
|
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
312
312
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
313
313
|
import semver from "semver";
|
|
314
|
-
var PLACEHOLDER_VERSION = "19.1.0-next.
|
|
314
|
+
var PLACEHOLDER_VERSION = "19.1.0-next.4";
|
|
315
315
|
function wrapReference(wrapped) {
|
|
316
316
|
return { value: wrapped, type: wrapped };
|
|
317
317
|
}
|
|
@@ -1150,4 +1150,4 @@ export {
|
|
|
1150
1150
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1151
1151
|
* found in the LICENSE file at https://angular.dev/license
|
|
1152
1152
|
*/
|
|
1153
|
-
//# sourceMappingURL=chunk-
|
|
1153
|
+
//# sourceMappingURL=chunk-AAMTATB3.js.map
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
translateStatement,
|
|
49
49
|
translateType,
|
|
50
50
|
typeNodeToValueExpr
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-Q73LD63I.js";
|
|
52
52
|
import {
|
|
53
53
|
PerfCheckpoint,
|
|
54
54
|
PerfEvent,
|
|
@@ -8298,6 +8298,7 @@ var Mappings = class {
|
|
|
8298
8298
|
this.raw[this.generatedCodeLine] = this.rawSegments = [];
|
|
8299
8299
|
this.generatedCodeColumn = 0;
|
|
8300
8300
|
first = true;
|
|
8301
|
+
charInHiresBoundary = false;
|
|
8301
8302
|
} else {
|
|
8302
8303
|
if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
|
|
8303
8304
|
const segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
|
|
@@ -8360,7 +8361,8 @@ var MagicString = class {
|
|
|
8360
8361
|
sourcemapLocations: { writable: true, value: new BitSet() },
|
|
8361
8362
|
storedNames: { writable: true, value: {} },
|
|
8362
8363
|
indentStr: { writable: true, value: void 0 },
|
|
8363
|
-
ignoreList: { writable: true, value: options.ignoreList }
|
|
8364
|
+
ignoreList: { writable: true, value: options.ignoreList },
|
|
8365
|
+
offset: { writable: true, value: options.offset || 0 }
|
|
8364
8366
|
});
|
|
8365
8367
|
this.byStart[0] = chunk;
|
|
8366
8368
|
this.byEnd[string.length] = chunk;
|
|
@@ -8375,6 +8377,7 @@ var MagicString = class {
|
|
|
8375
8377
|
return this;
|
|
8376
8378
|
}
|
|
8377
8379
|
appendLeft(index, content) {
|
|
8380
|
+
index = index + this.offset;
|
|
8378
8381
|
if (typeof content !== "string")
|
|
8379
8382
|
throw new TypeError("inserted content must be a string");
|
|
8380
8383
|
this._split(index);
|
|
@@ -8387,6 +8390,7 @@ var MagicString = class {
|
|
|
8387
8390
|
return this;
|
|
8388
8391
|
}
|
|
8389
8392
|
appendRight(index, content) {
|
|
8393
|
+
index = index + this.offset;
|
|
8390
8394
|
if (typeof content !== "string")
|
|
8391
8395
|
throw new TypeError("inserted content must be a string");
|
|
8392
8396
|
this._split(index);
|
|
@@ -8399,7 +8403,7 @@ var MagicString = class {
|
|
|
8399
8403
|
return this;
|
|
8400
8404
|
}
|
|
8401
8405
|
clone() {
|
|
8402
|
-
const cloned = new MagicString(this.original, { filename: this.filename });
|
|
8406
|
+
const cloned = new MagicString(this.original, { filename: this.filename, offset: this.offset });
|
|
8403
8407
|
let originalChunk = this.firstChunk;
|
|
8404
8408
|
let clonedChunk = cloned.firstChunk = cloned.lastSearchedChunk = originalChunk.clone();
|
|
8405
8409
|
while (originalChunk) {
|
|
@@ -8568,6 +8572,9 @@ var MagicString = class {
|
|
|
8568
8572
|
return this.prependRight(index, content);
|
|
8569
8573
|
}
|
|
8570
8574
|
move(start, end, index) {
|
|
8575
|
+
start = start + this.offset;
|
|
8576
|
+
end = end + this.offset;
|
|
8577
|
+
index = index + this.offset;
|
|
8571
8578
|
if (index >= start && index <= end)
|
|
8572
8579
|
throw new Error("Cannot move a selection inside itself");
|
|
8573
8580
|
this._split(start);
|
|
@@ -8608,6 +8615,8 @@ var MagicString = class {
|
|
|
8608
8615
|
return this.update(start, end, content, { ...options, overwrite: !options.contentOnly });
|
|
8609
8616
|
}
|
|
8610
8617
|
update(start, end, content, options) {
|
|
8618
|
+
start = start + this.offset;
|
|
8619
|
+
end = end + this.offset;
|
|
8611
8620
|
if (typeof content !== "string")
|
|
8612
8621
|
throw new TypeError("replacement content must be a string");
|
|
8613
8622
|
if (this.original.length !== 0) {
|
|
@@ -8669,6 +8678,7 @@ var MagicString = class {
|
|
|
8669
8678
|
return this;
|
|
8670
8679
|
}
|
|
8671
8680
|
prependLeft(index, content) {
|
|
8681
|
+
index = index + this.offset;
|
|
8672
8682
|
if (typeof content !== "string")
|
|
8673
8683
|
throw new TypeError("inserted content must be a string");
|
|
8674
8684
|
this._split(index);
|
|
@@ -8681,6 +8691,7 @@ var MagicString = class {
|
|
|
8681
8691
|
return this;
|
|
8682
8692
|
}
|
|
8683
8693
|
prependRight(index, content) {
|
|
8694
|
+
index = index + this.offset;
|
|
8684
8695
|
if (typeof content !== "string")
|
|
8685
8696
|
throw new TypeError("inserted content must be a string");
|
|
8686
8697
|
this._split(index);
|
|
@@ -8693,6 +8704,8 @@ var MagicString = class {
|
|
|
8693
8704
|
return this;
|
|
8694
8705
|
}
|
|
8695
8706
|
remove(start, end) {
|
|
8707
|
+
start = start + this.offset;
|
|
8708
|
+
end = end + this.offset;
|
|
8696
8709
|
if (this.original.length !== 0) {
|
|
8697
8710
|
while (start < 0)
|
|
8698
8711
|
start += this.original.length;
|
|
@@ -8717,6 +8730,8 @@ var MagicString = class {
|
|
|
8717
8730
|
return this;
|
|
8718
8731
|
}
|
|
8719
8732
|
reset(start, end) {
|
|
8733
|
+
start = start + this.offset;
|
|
8734
|
+
end = end + this.offset;
|
|
8720
8735
|
if (this.original.length !== 0) {
|
|
8721
8736
|
while (start < 0)
|
|
8722
8737
|
start += this.original.length;
|
|
@@ -8785,7 +8800,9 @@ var MagicString = class {
|
|
|
8785
8800
|
return this.intro.substr(lineIndex + 1) + lineStr;
|
|
8786
8801
|
return this.intro + lineStr;
|
|
8787
8802
|
}
|
|
8788
|
-
slice(start = 0, end = this.original.length) {
|
|
8803
|
+
slice(start = 0, end = this.original.length - this.offset) {
|
|
8804
|
+
start = start + this.offset;
|
|
8805
|
+
end = end + this.offset;
|
|
8789
8806
|
if (this.original.length !== 0) {
|
|
8790
8807
|
while (start < 0)
|
|
8791
8808
|
start += this.original.length;
|
|
@@ -8974,11 +8991,7 @@ var MagicString = class {
|
|
|
8974
8991
|
if (match.index != null) {
|
|
8975
8992
|
const replacement2 = getReplacement(match, this.original);
|
|
8976
8993
|
if (replacement2 !== match[0]) {
|
|
8977
|
-
this.overwrite(
|
|
8978
|
-
match.index,
|
|
8979
|
-
match.index + match[0].length,
|
|
8980
|
-
replacement2
|
|
8981
|
-
);
|
|
8994
|
+
this.overwrite(match.index, match.index + match[0].length, replacement2);
|
|
8982
8995
|
}
|
|
8983
8996
|
}
|
|
8984
8997
|
});
|
|
@@ -8987,11 +9000,7 @@ var MagicString = class {
|
|
|
8987
9000
|
if (match && match.index != null) {
|
|
8988
9001
|
const replacement2 = getReplacement(match, this.original);
|
|
8989
9002
|
if (replacement2 !== match[0]) {
|
|
8990
|
-
this.overwrite(
|
|
8991
|
-
match.index,
|
|
8992
|
-
match.index + match[0].length,
|
|
8993
|
-
replacement2
|
|
8994
|
-
);
|
|
9003
|
+
this.overwrite(match.index, match.index + match[0].length, replacement2);
|
|
8995
9004
|
}
|
|
8996
9005
|
}
|
|
8997
9006
|
}
|
|
@@ -15456,4 +15465,4 @@ export {
|
|
|
15456
15465
|
* Use of this source code is governed by an MIT-style license that can be
|
|
15457
15466
|
* found in the LICENSE file at https://angular.dev/license
|
|
15458
15467
|
*/
|
|
15459
|
-
//# sourceMappingURL=chunk-
|
|
15468
|
+
//# sourceMappingURL=chunk-ACKPW32M.js.map
|