@angular-eslint/bundled-angular-compiler 19.0.0-alpha.3 → 19.0.0-alpha.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/dist/index.js +17 -15
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -267,7 +267,7 @@ __export(src_exports, {
|
|
|
267
267
|
});
|
|
268
268
|
module.exports = __toCommonJS(src_exports);
|
|
269
269
|
|
|
270
|
-
// ../../node_modules/.pnpm/@angular+compiler@19.0.
|
|
270
|
+
// ../../node_modules/.pnpm/@angular+compiler@19.0.1/node_modules/@angular/compiler/fesm2022/compiler.mjs
|
|
271
271
|
var _SELECTOR_REGEXP = new RegExp(
|
|
272
272
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
273
273
|
// 8: ","
|
|
@@ -7169,10 +7169,12 @@ var ParseError = class {
|
|
|
7169
7169
|
span;
|
|
7170
7170
|
msg;
|
|
7171
7171
|
level;
|
|
7172
|
-
|
|
7172
|
+
relatedError;
|
|
7173
|
+
constructor(span, msg, level = ParseErrorLevel.ERROR, relatedError) {
|
|
7173
7174
|
this.span = span;
|
|
7174
7175
|
this.msg = msg;
|
|
7175
7176
|
this.level = level;
|
|
7177
|
+
this.relatedError = relatedError;
|
|
7176
7178
|
}
|
|
7177
7179
|
contextualMessage() {
|
|
7178
7180
|
const ctx = this.span.start.getContext(100, 3);
|
|
@@ -24308,12 +24310,12 @@ var BindingParser = class {
|
|
|
24308
24310
|
return this._exprParser.wrapLiteralPrimitive("ERROR", sourceInfo, absoluteOffset);
|
|
24309
24311
|
}
|
|
24310
24312
|
}
|
|
24311
|
-
_reportError(message, sourceSpan, level = ParseErrorLevel.ERROR) {
|
|
24312
|
-
this.errors.push(new ParseError(sourceSpan, message, level));
|
|
24313
|
+
_reportError(message, sourceSpan, level = ParseErrorLevel.ERROR, relatedError) {
|
|
24314
|
+
this.errors.push(new ParseError(sourceSpan, message, level, relatedError));
|
|
24313
24315
|
}
|
|
24314
24316
|
_reportExpressionParserErrors(errors, sourceSpan) {
|
|
24315
24317
|
for (const error of errors) {
|
|
24316
|
-
this._reportError(error.message, sourceSpan);
|
|
24318
|
+
this._reportError(error.message, sourceSpan, void 0, error);
|
|
24317
24319
|
}
|
|
24318
24320
|
}
|
|
24319
24321
|
/**
|
|
@@ -27777,7 +27779,7 @@ function publishFacade(global) {
|
|
|
27777
27779
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
27778
27780
|
}
|
|
27779
27781
|
__name(publishFacade, "publishFacade");
|
|
27780
|
-
var VERSION = new Version("19.0.
|
|
27782
|
+
var VERSION = new Version("19.0.1");
|
|
27781
27783
|
var CompilerConfig = class {
|
|
27782
27784
|
static {
|
|
27783
27785
|
__name(this, "CompilerConfig");
|
|
@@ -29534,7 +29536,7 @@ var MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = "18.0.0";
|
|
|
29534
29536
|
function compileDeclareClassMetadata(metadata) {
|
|
29535
29537
|
const definitionMap = new DefinitionMap();
|
|
29536
29538
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
29537
|
-
definitionMap.set("version", literal("19.0.
|
|
29539
|
+
definitionMap.set("version", literal("19.0.1"));
|
|
29538
29540
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29539
29541
|
definitionMap.set("type", metadata.type);
|
|
29540
29542
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -29553,7 +29555,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
29553
29555
|
callbackReturnDefinitionMap.set("ctorParameters", metadata.ctorParameters ?? literal(null));
|
|
29554
29556
|
callbackReturnDefinitionMap.set("propDecorators", metadata.propDecorators ?? literal(null));
|
|
29555
29557
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
29556
|
-
definitionMap.set("version", literal("19.0.
|
|
29558
|
+
definitionMap.set("version", literal("19.0.1"));
|
|
29557
29559
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29558
29560
|
definitionMap.set("type", metadata.type);
|
|
29559
29561
|
definitionMap.set("resolveDeferredDeps", compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -29622,7 +29624,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
29622
29624
|
const definitionMap = new DefinitionMap();
|
|
29623
29625
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
29624
29626
|
definitionMap.set("minVersion", literal(minVersion));
|
|
29625
|
-
definitionMap.set("version", literal("19.0.
|
|
29627
|
+
definitionMap.set("version", literal("19.0.1"));
|
|
29626
29628
|
definitionMap.set("type", meta.type.value);
|
|
29627
29629
|
if (meta.isStandalone !== void 0) {
|
|
29628
29630
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -29950,7 +29952,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION$4 = "12.0.0";
|
|
|
29950
29952
|
function compileDeclareFactoryFunction(meta) {
|
|
29951
29953
|
const definitionMap = new DefinitionMap();
|
|
29952
29954
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
29953
|
-
definitionMap.set("version", literal("19.0.
|
|
29955
|
+
definitionMap.set("version", literal("19.0.1"));
|
|
29954
29956
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29955
29957
|
definitionMap.set("type", meta.type.value);
|
|
29956
29958
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -29973,7 +29975,7 @@ __name(compileDeclareInjectableFromMetadata, "compileDeclareInjectableFromMetada
|
|
|
29973
29975
|
function createInjectableDefinitionMap(meta) {
|
|
29974
29976
|
const definitionMap = new DefinitionMap();
|
|
29975
29977
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
29976
|
-
definitionMap.set("version", literal("19.0.
|
|
29978
|
+
definitionMap.set("version", literal("19.0.1"));
|
|
29977
29979
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29978
29980
|
definitionMap.set("type", meta.type.value);
|
|
29979
29981
|
if (meta.providedIn !== void 0) {
|
|
@@ -30011,7 +30013,7 @@ __name(compileDeclareInjectorFromMetadata, "compileDeclareInjectorFromMetadata")
|
|
|
30011
30013
|
function createInjectorDefinitionMap(meta) {
|
|
30012
30014
|
const definitionMap = new DefinitionMap();
|
|
30013
30015
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
30014
|
-
definitionMap.set("version", literal("19.0.
|
|
30016
|
+
definitionMap.set("version", literal("19.0.1"));
|
|
30015
30017
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30016
30018
|
definitionMap.set("type", meta.type.value);
|
|
30017
30019
|
definitionMap.set("providers", meta.providers);
|
|
@@ -30035,7 +30037,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
30035
30037
|
throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
|
|
30036
30038
|
}
|
|
30037
30039
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
30038
|
-
definitionMap.set("version", literal("19.0.
|
|
30040
|
+
definitionMap.set("version", literal("19.0.1"));
|
|
30039
30041
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30040
30042
|
definitionMap.set("type", meta.type.value);
|
|
30041
30043
|
if (meta.bootstrap.length > 0) {
|
|
@@ -30070,7 +30072,7 @@ __name(compileDeclarePipeFromMetadata, "compileDeclarePipeFromMetadata");
|
|
|
30070
30072
|
function createPipeDefinitionMap(meta) {
|
|
30071
30073
|
const definitionMap = new DefinitionMap();
|
|
30072
30074
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
30073
|
-
definitionMap.set("version", literal("19.0.
|
|
30075
|
+
definitionMap.set("version", literal("19.0.1"));
|
|
30074
30076
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30075
30077
|
definitionMap.set("type", meta.type.value);
|
|
30076
30078
|
if (meta.isStandalone !== void 0) {
|
|
@@ -30334,7 +30336,7 @@ publishFacade(_global);
|
|
|
30334
30336
|
|
|
30335
30337
|
@angular/compiler/fesm2022/compiler.mjs:
|
|
30336
30338
|
(**
|
|
30337
|
-
* @license Angular v19.0.
|
|
30339
|
+
* @license Angular v19.0.1
|
|
30338
30340
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
30339
30341
|
* License: MIT
|
|
30340
30342
|
*)
|