@angular-eslint/bundled-angular-compiler 22.5.1-alpha.3 → 22.5.1-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 +21 -23
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -306,7 +306,7 @@ __export(index_exports, {
|
|
|
306
306
|
});
|
|
307
307
|
module.exports = __toCommonJS(index_exports);
|
|
308
308
|
|
|
309
|
-
// ../../node_modules/.pnpm/@angular+compiler@22.1.
|
|
309
|
+
// ../../node_modules/.pnpm/@angular+compiler@22.1.6/node_modules/@angular/compiler/fesm2022/compiler.mjs
|
|
310
310
|
var _SELECTOR_REGEXP = new RegExp(`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`, "g");
|
|
311
311
|
var CssSelector = class _CssSelector {
|
|
312
312
|
static {
|
|
@@ -7336,13 +7336,13 @@ function compileInjectable(meta, resolveForwardRefs) {
|
|
|
7336
7336
|
const expression = importExpr(Identifiers.\u0275\u0275defineInjectable).callFn([injectableProps.toLiteralMap()], void 0, true);
|
|
7337
7337
|
return {
|
|
7338
7338
|
expression,
|
|
7339
|
-
type: createInjectableType(
|
|
7339
|
+
type: createInjectableType(),
|
|
7340
7340
|
statements: result.statements
|
|
7341
7341
|
};
|
|
7342
7342
|
}
|
|
7343
7343
|
__name(compileInjectable, "compileInjectable");
|
|
7344
7344
|
function createInjectableType(type, typeArgumentCount) {
|
|
7345
|
-
return new ExpressionType(importExpr(Identifiers.InjectableDeclaration, [
|
|
7345
|
+
return new ExpressionType(importExpr(Identifiers.InjectableDeclaration, [DYNAMIC_TYPE]));
|
|
7346
7346
|
}
|
|
7347
7347
|
__name(createInjectableType, "createInjectableType");
|
|
7348
7348
|
function delegateToFactory(type, useType, unwrapForwardRefs) {
|
|
@@ -8445,13 +8445,13 @@ var COLON_IN_PLACEHOLDER = "%COLON_IN_PLACEHOLDER%";
|
|
|
8445
8445
|
var _cssCommaInPlaceholderReGlobal = new RegExp(COMMA_IN_PLACEHOLDER, "g");
|
|
8446
8446
|
var _cssSemiInPlaceholderReGlobal = new RegExp(SEMI_IN_PLACEHOLDER, "g");
|
|
8447
8447
|
var _cssColonInPlaceholderReGlobal = new RegExp(COLON_IN_PLACEHOLDER, "g");
|
|
8448
|
-
var _cssVariableRe = /(var\(\s
|
|
8448
|
+
var _cssVariableRe = /(var\(\s*|@property\s+)?(--(?:[a-zA-Z0-9_-]|[^\x00-\x7F])+)(\s*:)?/g;
|
|
8449
8449
|
function namespaceCssVariables(cssText) {
|
|
8450
|
-
return cssText.replace(_cssVariableRe, (match,
|
|
8451
|
-
if (!
|
|
8450
|
+
return cssText.replace(_cssVariableRe, (match, prefix, varName, trailingColon) => {
|
|
8451
|
+
if (!prefix && !trailingColon) {
|
|
8452
8452
|
return match;
|
|
8453
8453
|
}
|
|
8454
|
-
return (
|
|
8454
|
+
return (prefix ?? "") + namespaceCssVariable(varName) + (trailingColon ?? "");
|
|
8455
8455
|
});
|
|
8456
8456
|
}
|
|
8457
8457
|
__name(namespaceCssVariables, "namespaceCssVariables");
|
|
@@ -29162,7 +29162,7 @@ function compileService(meta, resolveForwardRefs) {
|
|
|
29162
29162
|
const expression = importExpr(Identifiers.defineService).callFn([def.toLiteralMap()], void 0, true);
|
|
29163
29163
|
return {
|
|
29164
29164
|
expression,
|
|
29165
|
-
type: createInjectableType(
|
|
29165
|
+
type: createInjectableType(),
|
|
29166
29166
|
statements: []
|
|
29167
29167
|
};
|
|
29168
29168
|
}
|
|
@@ -29280,7 +29280,6 @@ var CompilerFacadeImpl = class {
|
|
|
29280
29280
|
statements
|
|
29281
29281
|
} = compileService({
|
|
29282
29282
|
type: wrapReference(facade.type),
|
|
29283
|
-
typeArgumentCount: facade.typeArgumentCount,
|
|
29284
29283
|
autoProvided: facade.autoProvided,
|
|
29285
29284
|
factory: facade.factory ? wrapExpression(facade, "factory") : void 0
|
|
29286
29285
|
}, true);
|
|
@@ -29292,7 +29291,6 @@ var CompilerFacadeImpl = class {
|
|
|
29292
29291
|
statements
|
|
29293
29292
|
} = compileService({
|
|
29294
29293
|
type: wrapReference(facade.type),
|
|
29295
|
-
typeArgumentCount: 0,
|
|
29296
29294
|
autoProvided: facade.autoProvided,
|
|
29297
29295
|
factory: facade.factory ? wrapExpression(facade, "factory") : void 0
|
|
29298
29296
|
}, true);
|
|
@@ -31528,7 +31526,7 @@ var MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = "18.0.0";
|
|
|
31528
31526
|
function compileDeclareClassMetadata(metadata) {
|
|
31529
31527
|
const definitionMap = new DefinitionMap();
|
|
31530
31528
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$6));
|
|
31531
|
-
definitionMap.set("version", literal("22.1.
|
|
31529
|
+
definitionMap.set("version", literal("22.1.6"));
|
|
31532
31530
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
31533
31531
|
definitionMap.set("type", metadata.type);
|
|
31534
31532
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -31547,7 +31545,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
31547
31545
|
callbackReturnDefinitionMap.set("ctorParameters", metadata.ctorParameters ?? literal(null));
|
|
31548
31546
|
callbackReturnDefinitionMap.set("propDecorators", metadata.propDecorators ?? literal(null));
|
|
31549
31547
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
31550
|
-
definitionMap.set("version", literal("22.1.
|
|
31548
|
+
definitionMap.set("version", literal("22.1.6"));
|
|
31551
31549
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
31552
31550
|
definitionMap.set("type", metadata.type);
|
|
31553
31551
|
definitionMap.set("resolveDeferredDeps", compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -31624,7 +31622,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
31624
31622
|
const definitionMap = new DefinitionMap();
|
|
31625
31623
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
31626
31624
|
definitionMap.set("minVersion", literal(minVersion));
|
|
31627
|
-
definitionMap.set("version", literal("22.1.
|
|
31625
|
+
definitionMap.set("version", literal("22.1.6"));
|
|
31628
31626
|
definitionMap.set("type", meta.type.value);
|
|
31629
31627
|
if (meta.isStandalone !== void 0) {
|
|
31630
31628
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -31980,7 +31978,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION$5 = "12.0.0";
|
|
|
31980
31978
|
function compileDeclareFactoryFunction(meta) {
|
|
31981
31979
|
const definitionMap = new DefinitionMap();
|
|
31982
31980
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
31983
|
-
definitionMap.set("version", literal("22.1.
|
|
31981
|
+
definitionMap.set("version", literal("22.1.6"));
|
|
31984
31982
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
31985
31983
|
definitionMap.set("type", meta.type.value);
|
|
31986
31984
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -31996,7 +31994,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION$4 = "12.0.0";
|
|
|
31996
31994
|
function compileDeclareInjectableFromMetadata(meta) {
|
|
31997
31995
|
const definitionMap = createInjectableDefinitionMap(meta);
|
|
31998
31996
|
const expression = importExpr(Identifiers.declareInjectable).callFn([definitionMap.toLiteralMap()]);
|
|
31999
|
-
const type = createInjectableType(
|
|
31997
|
+
const type = createInjectableType();
|
|
32000
31998
|
return {
|
|
32001
31999
|
expression,
|
|
32002
32000
|
type,
|
|
@@ -32007,7 +32005,7 @@ __name(compileDeclareInjectableFromMetadata, "compileDeclareInjectableFromMetada
|
|
|
32007
32005
|
function createInjectableDefinitionMap(meta) {
|
|
32008
32006
|
const definitionMap = new DefinitionMap();
|
|
32009
32007
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
32010
|
-
definitionMap.set("version", literal("22.1.
|
|
32008
|
+
definitionMap.set("version", literal("22.1.6"));
|
|
32011
32009
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
32012
32010
|
definitionMap.set("type", meta.type.value);
|
|
32013
32011
|
if (meta.providedIn !== void 0) {
|
|
@@ -32038,7 +32036,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION$3 = "22.0.0";
|
|
|
32038
32036
|
function compileDeclareServiceFromMetadata(meta) {
|
|
32039
32037
|
const definitionMap = createServiceDefinitionMap(meta);
|
|
32040
32038
|
const expression = importExpr(Identifiers.declareService).callFn([definitionMap.toLiteralMap()]);
|
|
32041
|
-
const type = createInjectableType(
|
|
32039
|
+
const type = createInjectableType();
|
|
32042
32040
|
return {
|
|
32043
32041
|
expression,
|
|
32044
32042
|
type,
|
|
@@ -32049,7 +32047,7 @@ __name(compileDeclareServiceFromMetadata, "compileDeclareServiceFromMetadata");
|
|
|
32049
32047
|
function createServiceDefinitionMap(meta) {
|
|
32050
32048
|
const definitionMap = new DefinitionMap();
|
|
32051
32049
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
32052
|
-
definitionMap.set("version", literal("22.1.
|
|
32050
|
+
definitionMap.set("version", literal("22.1.6"));
|
|
32053
32051
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
32054
32052
|
definitionMap.set("type", meta.type.value);
|
|
32055
32053
|
if (meta.autoProvided === false) {
|
|
@@ -32076,7 +32074,7 @@ __name(compileDeclareInjectorFromMetadata, "compileDeclareInjectorFromMetadata")
|
|
|
32076
32074
|
function createInjectorDefinitionMap(meta) {
|
|
32077
32075
|
const definitionMap = new DefinitionMap();
|
|
32078
32076
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
32079
|
-
definitionMap.set("version", literal("22.1.
|
|
32077
|
+
definitionMap.set("version", literal("22.1.6"));
|
|
32080
32078
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
32081
32079
|
definitionMap.set("type", meta.type.value);
|
|
32082
32080
|
definitionMap.set("providers", meta.providers);
|
|
@@ -32107,7 +32105,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
32107
32105
|
throw new Error("Invalid path! Isolated compilation mode should not get into the partial compilation path");
|
|
32108
32106
|
}
|
|
32109
32107
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
32110
|
-
definitionMap.set("version", literal("22.1.
|
|
32108
|
+
definitionMap.set("version", literal("22.1.6"));
|
|
32111
32109
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
32112
32110
|
definitionMap.set("type", meta.type.value);
|
|
32113
32111
|
if (meta.bootstrap.length > 0) {
|
|
@@ -32146,7 +32144,7 @@ __name(compileDeclarePipeFromMetadata, "compileDeclarePipeFromMetadata");
|
|
|
32146
32144
|
function createPipeDefinitionMap(meta) {
|
|
32147
32145
|
const definitionMap = new DefinitionMap();
|
|
32148
32146
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
32149
|
-
definitionMap.set("version", literal("22.1.
|
|
32147
|
+
definitionMap.set("version", literal("22.1.6"));
|
|
32150
32148
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
32151
32149
|
definitionMap.set("type", meta.type.value);
|
|
32152
32150
|
if (meta.isStandalone !== void 0) {
|
|
@@ -32221,7 +32219,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
|
32221
32219
|
return new DeclareFunctionStmt(`${meta.className}_UpdateMetadata`, params, body, null, StmtModifier.Final);
|
|
32222
32220
|
}
|
|
32223
32221
|
__name(compileHmrUpdateCallback, "compileHmrUpdateCallback");
|
|
32224
|
-
var VERSION = new Version("22.1.
|
|
32222
|
+
var VERSION = new Version("22.1.6");
|
|
32225
32223
|
var HOST_BINDING_GUARD_COMMENT_TEXT = "hostBindingsBlockGuard";
|
|
32226
32224
|
function createHostElement(type, selector, nameSpan, hostObjectLiteralBindings, hostBindingDecorators, hostListenerDecorators) {
|
|
32227
32225
|
const bindings = [];
|
|
@@ -35590,7 +35588,7 @@ publishFacade(_global);
|
|
|
35590
35588
|
|
|
35591
35589
|
@angular/compiler/fesm2022/compiler.mjs:
|
|
35592
35590
|
(**
|
|
35593
|
-
* @license Angular v22.1.
|
|
35591
|
+
* @license Angular v22.1.6
|
|
35594
35592
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
35595
35593
|
* License: MIT
|
|
35596
35594
|
*)
|