@angular-eslint/bundled-angular-compiler 19.0.3-alpha.16 → 19.0.3-alpha.18
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 -14
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -265,7 +265,7 @@ __export(index_exports, {
|
|
|
265
265
|
});
|
|
266
266
|
module.exports = __toCommonJS(index_exports);
|
|
267
267
|
|
|
268
|
-
// ../../node_modules/.pnpm/@angular+compiler@19.1.
|
|
268
|
+
// ../../node_modules/.pnpm/@angular+compiler@19.1.5/node_modules/@angular/compiler/fesm2022/compiler.mjs
|
|
269
269
|
var _SELECTOR_REGEXP = new RegExp(
|
|
270
270
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
271
271
|
// 8: ","
|
|
@@ -27615,7 +27615,7 @@ function publishFacade(global) {
|
|
|
27615
27615
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
27616
27616
|
}
|
|
27617
27617
|
__name(publishFacade, "publishFacade");
|
|
27618
|
-
var VERSION = new Version("19.1.
|
|
27618
|
+
var VERSION = new Version("19.1.5");
|
|
27619
27619
|
var CompilerConfig = class {
|
|
27620
27620
|
static {
|
|
27621
27621
|
__name(this, "CompilerConfig");
|
|
@@ -29329,12 +29329,16 @@ function compileHmrInitializer(meta) {
|
|
|
29329
29329
|
const dataName = "d";
|
|
29330
29330
|
const timestampName = "t";
|
|
29331
29331
|
const importCallbackName = `${meta.className}_HmrLoad`;
|
|
29332
|
-
const locals = meta.localDependencies.map((localName) => variable(localName));
|
|
29333
29332
|
const namespaces = meta.namespaceDependencies.map((dep) => {
|
|
29334
29333
|
return new ExternalExpr({ moduleName: dep.moduleName, name: null });
|
|
29335
29334
|
});
|
|
29336
29335
|
const defaultRead = variable(moduleName).prop("default");
|
|
29337
|
-
const replaceCall = importExpr(Identifiers.replaceMetadata).callFn([
|
|
29336
|
+
const replaceCall = importExpr(Identifiers.replaceMetadata).callFn([
|
|
29337
|
+
meta.type,
|
|
29338
|
+
defaultRead,
|
|
29339
|
+
literalArr(namespaces),
|
|
29340
|
+
literalArr(meta.localDependencies.map((l) => l.runtimeRepresentation))
|
|
29341
|
+
]);
|
|
29338
29342
|
const replaceCallback = arrowFn([new FnParam(moduleName)], defaultRead.and(replaceCall));
|
|
29339
29343
|
const urlValue = literal(urlPartial).plus(variable("encodeURIComponent").callFn([variable(timestampName)]));
|
|
29340
29344
|
const urlBase = variable("import").prop("meta").prop("url");
|
|
@@ -29361,8 +29365,11 @@ function compileHmrInitializer(meta) {
|
|
|
29361
29365
|
__name(compileHmrInitializer, "compileHmrInitializer");
|
|
29362
29366
|
function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
29363
29367
|
const namespaces = "\u0275\u0275namespaces";
|
|
29364
|
-
const params = [meta.className, namespaces
|
|
29368
|
+
const params = [meta.className, namespaces].map((name) => new FnParam(name, DYNAMIC_TYPE));
|
|
29365
29369
|
const body = [];
|
|
29370
|
+
for (const local of meta.localDependencies) {
|
|
29371
|
+
params.push(new FnParam(local.name));
|
|
29372
|
+
}
|
|
29366
29373
|
for (let i = 0; i < meta.namespaceDependencies.length; i++) {
|
|
29367
29374
|
body.push(new DeclareVarStmt(meta.namespaceDependencies[i].assignedName, variable(namespaces).key(literal(i)), DYNAMIC_TYPE, StmtModifier.Final));
|
|
29368
29375
|
}
|
|
@@ -29383,7 +29390,7 @@ var MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = "18.0.0";
|
|
|
29383
29390
|
function compileDeclareClassMetadata(metadata) {
|
|
29384
29391
|
const definitionMap = new DefinitionMap();
|
|
29385
29392
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
29386
|
-
definitionMap.set("version", literal("19.1.
|
|
29393
|
+
definitionMap.set("version", literal("19.1.5"));
|
|
29387
29394
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29388
29395
|
definitionMap.set("type", metadata.type);
|
|
29389
29396
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -29402,7 +29409,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
29402
29409
|
callbackReturnDefinitionMap.set("ctorParameters", metadata.ctorParameters ?? literal(null));
|
|
29403
29410
|
callbackReturnDefinitionMap.set("propDecorators", metadata.propDecorators ?? literal(null));
|
|
29404
29411
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
29405
|
-
definitionMap.set("version", literal("19.1.
|
|
29412
|
+
definitionMap.set("version", literal("19.1.5"));
|
|
29406
29413
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29407
29414
|
definitionMap.set("type", metadata.type);
|
|
29408
29415
|
definitionMap.set("resolveDeferredDeps", compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -29471,7 +29478,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
29471
29478
|
const definitionMap = new DefinitionMap();
|
|
29472
29479
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
29473
29480
|
definitionMap.set("minVersion", literal(minVersion));
|
|
29474
|
-
definitionMap.set("version", literal("19.1.
|
|
29481
|
+
definitionMap.set("version", literal("19.1.5"));
|
|
29475
29482
|
definitionMap.set("type", meta.type.value);
|
|
29476
29483
|
if (meta.isStandalone !== void 0) {
|
|
29477
29484
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -29799,7 +29806,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION$4 = "12.0.0";
|
|
|
29799
29806
|
function compileDeclareFactoryFunction(meta) {
|
|
29800
29807
|
const definitionMap = new DefinitionMap();
|
|
29801
29808
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
29802
|
-
definitionMap.set("version", literal("19.1.
|
|
29809
|
+
definitionMap.set("version", literal("19.1.5"));
|
|
29803
29810
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29804
29811
|
definitionMap.set("type", meta.type.value);
|
|
29805
29812
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -29822,7 +29829,7 @@ __name(compileDeclareInjectableFromMetadata, "compileDeclareInjectableFromMetada
|
|
|
29822
29829
|
function createInjectableDefinitionMap(meta) {
|
|
29823
29830
|
const definitionMap = new DefinitionMap();
|
|
29824
29831
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
29825
|
-
definitionMap.set("version", literal("19.1.
|
|
29832
|
+
definitionMap.set("version", literal("19.1.5"));
|
|
29826
29833
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29827
29834
|
definitionMap.set("type", meta.type.value);
|
|
29828
29835
|
if (meta.providedIn !== void 0) {
|
|
@@ -29860,7 +29867,7 @@ __name(compileDeclareInjectorFromMetadata, "compileDeclareInjectorFromMetadata")
|
|
|
29860
29867
|
function createInjectorDefinitionMap(meta) {
|
|
29861
29868
|
const definitionMap = new DefinitionMap();
|
|
29862
29869
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
29863
|
-
definitionMap.set("version", literal("19.1.
|
|
29870
|
+
definitionMap.set("version", literal("19.1.5"));
|
|
29864
29871
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29865
29872
|
definitionMap.set("type", meta.type.value);
|
|
29866
29873
|
definitionMap.set("providers", meta.providers);
|
|
@@ -29884,7 +29891,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
29884
29891
|
throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
|
|
29885
29892
|
}
|
|
29886
29893
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
29887
|
-
definitionMap.set("version", literal("19.1.
|
|
29894
|
+
definitionMap.set("version", literal("19.1.5"));
|
|
29888
29895
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29889
29896
|
definitionMap.set("type", meta.type.value);
|
|
29890
29897
|
if (meta.bootstrap.length > 0) {
|
|
@@ -29919,7 +29926,7 @@ __name(compileDeclarePipeFromMetadata, "compileDeclarePipeFromMetadata");
|
|
|
29919
29926
|
function createPipeDefinitionMap(meta) {
|
|
29920
29927
|
const definitionMap = new DefinitionMap();
|
|
29921
29928
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
29922
|
-
definitionMap.set("version", literal("19.1.
|
|
29929
|
+
definitionMap.set("version", literal("19.1.5"));
|
|
29923
29930
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29924
29931
|
definitionMap.set("type", meta.type.value);
|
|
29925
29932
|
if (meta.isStandalone !== void 0) {
|
|
@@ -30181,7 +30188,7 @@ publishFacade(_global);
|
|
|
30181
30188
|
|
|
30182
30189
|
@angular/compiler/fesm2022/compiler.mjs:
|
|
30183
30190
|
(**
|
|
30184
|
-
* @license Angular v19.1.
|
|
30191
|
+
* @license Angular v19.1.5
|
|
30185
30192
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
30186
30193
|
* License: MIT
|
|
30187
30194
|
*)
|