@angular-eslint/bundled-angular-compiler 18.3.1-alpha.2 → 18.3.1-alpha.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/dist/index.js +10 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* @license Angular v18.
|
|
4
|
+
* @license Angular v18.2.0
|
|
5
5
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
6
6
|
* License: MIT
|
|
7
7
|
*/
|
|
@@ -29442,7 +29442,7 @@ function publishFacade(global) {
|
|
|
29442
29442
|
* @description
|
|
29443
29443
|
* Entry point for all public APIs of the compiler package.
|
|
29444
29444
|
*/
|
|
29445
|
-
const VERSION = new Version('18.
|
|
29445
|
+
const VERSION = new Version('18.2.0');
|
|
29446
29446
|
|
|
29447
29447
|
class CompilerConfig {
|
|
29448
29448
|
constructor({ defaultEncapsulation = exports.ViewEncapsulation.Emulated, preserveWhitespaces, strictInjectionParameters, } = {}) {
|
|
@@ -31080,7 +31080,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
31080
31080
|
function compileDeclareClassMetadata(metadata) {
|
|
31081
31081
|
const definitionMap = new DefinitionMap();
|
|
31082
31082
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
31083
|
-
definitionMap.set('version', literal('18.
|
|
31083
|
+
definitionMap.set('version', literal('18.2.0'));
|
|
31084
31084
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31085
31085
|
definitionMap.set('type', metadata.type);
|
|
31086
31086
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -31098,7 +31098,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
31098
31098
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
31099
31099
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
31100
31100
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
31101
|
-
definitionMap.set('version', literal('18.
|
|
31101
|
+
definitionMap.set('version', literal('18.2.0'));
|
|
31102
31102
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31103
31103
|
definitionMap.set('type', metadata.type);
|
|
31104
31104
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -31193,7 +31193,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
31193
31193
|
const definitionMap = new DefinitionMap();
|
|
31194
31194
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
31195
31195
|
definitionMap.set('minVersion', literal(minVersion));
|
|
31196
|
-
definitionMap.set('version', literal('18.
|
|
31196
|
+
definitionMap.set('version', literal('18.2.0'));
|
|
31197
31197
|
// e.g. `type: MyDirective`
|
|
31198
31198
|
definitionMap.set('type', meta.type.value);
|
|
31199
31199
|
if (meta.isStandalone) {
|
|
@@ -31612,7 +31612,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
31612
31612
|
function compileDeclareFactoryFunction(meta) {
|
|
31613
31613
|
const definitionMap = new DefinitionMap();
|
|
31614
31614
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
31615
|
-
definitionMap.set('version', literal('18.
|
|
31615
|
+
definitionMap.set('version', literal('18.2.0'));
|
|
31616
31616
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31617
31617
|
definitionMap.set('type', meta.type.value);
|
|
31618
31618
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -31647,7 +31647,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
31647
31647
|
function createInjectableDefinitionMap(meta) {
|
|
31648
31648
|
const definitionMap = new DefinitionMap();
|
|
31649
31649
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
31650
|
-
definitionMap.set('version', literal('18.
|
|
31650
|
+
definitionMap.set('version', literal('18.2.0'));
|
|
31651
31651
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31652
31652
|
definitionMap.set('type', meta.type.value);
|
|
31653
31653
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -31698,7 +31698,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
31698
31698
|
function createInjectorDefinitionMap(meta) {
|
|
31699
31699
|
const definitionMap = new DefinitionMap();
|
|
31700
31700
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
31701
|
-
definitionMap.set('version', literal('18.
|
|
31701
|
+
definitionMap.set('version', literal('18.2.0'));
|
|
31702
31702
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31703
31703
|
definitionMap.set('type', meta.type.value);
|
|
31704
31704
|
definitionMap.set('providers', meta.providers);
|
|
@@ -31731,7 +31731,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
31731
31731
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
31732
31732
|
}
|
|
31733
31733
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
31734
|
-
definitionMap.set('version', literal('18.
|
|
31734
|
+
definitionMap.set('version', literal('18.2.0'));
|
|
31735
31735
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31736
31736
|
definitionMap.set('type', meta.type.value);
|
|
31737
31737
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -31782,7 +31782,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
31782
31782
|
function createPipeDefinitionMap(meta) {
|
|
31783
31783
|
const definitionMap = new DefinitionMap();
|
|
31784
31784
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
31785
|
-
definitionMap.set('version', literal('18.
|
|
31785
|
+
definitionMap.set('version', literal('18.2.0'));
|
|
31786
31786
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31787
31787
|
// e.g. `type: MyPipe`
|
|
31788
31788
|
definitionMap.set('type', meta.type.value);
|