@angular-eslint/bundled-angular-compiler 18.0.2-alpha.2 → 18.0.2-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.0.
|
|
4
|
+
* @license Angular v18.0.3
|
|
5
5
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
6
6
|
* License: MIT
|
|
7
7
|
*/
|
|
@@ -29113,7 +29113,7 @@ function publishFacade(global) {
|
|
|
29113
29113
|
* @description
|
|
29114
29114
|
* Entry point for all public APIs of the compiler package.
|
|
29115
29115
|
*/
|
|
29116
|
-
const VERSION = new Version('18.0.
|
|
29116
|
+
const VERSION = new Version('18.0.3');
|
|
29117
29117
|
|
|
29118
29118
|
class CompilerConfig {
|
|
29119
29119
|
constructor({ defaultEncapsulation = exports.ViewEncapsulation.Emulated, preserveWhitespaces, strictInjectionParameters, } = {}) {
|
|
@@ -30751,7 +30751,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
30751
30751
|
function compileDeclareClassMetadata(metadata) {
|
|
30752
30752
|
const definitionMap = new DefinitionMap();
|
|
30753
30753
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
30754
|
-
definitionMap.set('version', literal('18.0.
|
|
30754
|
+
definitionMap.set('version', literal('18.0.3'));
|
|
30755
30755
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
30756
30756
|
definitionMap.set('type', metadata.type);
|
|
30757
30757
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -30769,7 +30769,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
30769
30769
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
30770
30770
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
30771
30771
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
30772
|
-
definitionMap.set('version', literal('18.0.
|
|
30772
|
+
definitionMap.set('version', literal('18.0.3'));
|
|
30773
30773
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
30774
30774
|
definitionMap.set('type', metadata.type);
|
|
30775
30775
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -30864,7 +30864,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
30864
30864
|
const definitionMap = new DefinitionMap();
|
|
30865
30865
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
30866
30866
|
definitionMap.set('minVersion', literal(minVersion));
|
|
30867
|
-
definitionMap.set('version', literal('18.0.
|
|
30867
|
+
definitionMap.set('version', literal('18.0.3'));
|
|
30868
30868
|
// e.g. `type: MyDirective`
|
|
30869
30869
|
definitionMap.set('type', meta.type.value);
|
|
30870
30870
|
if (meta.isStandalone) {
|
|
@@ -31283,7 +31283,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
31283
31283
|
function compileDeclareFactoryFunction(meta) {
|
|
31284
31284
|
const definitionMap = new DefinitionMap();
|
|
31285
31285
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
31286
|
-
definitionMap.set('version', literal('18.0.
|
|
31286
|
+
definitionMap.set('version', literal('18.0.3'));
|
|
31287
31287
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31288
31288
|
definitionMap.set('type', meta.type.value);
|
|
31289
31289
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -31318,7 +31318,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
31318
31318
|
function createInjectableDefinitionMap(meta) {
|
|
31319
31319
|
const definitionMap = new DefinitionMap();
|
|
31320
31320
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
31321
|
-
definitionMap.set('version', literal('18.0.
|
|
31321
|
+
definitionMap.set('version', literal('18.0.3'));
|
|
31322
31322
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31323
31323
|
definitionMap.set('type', meta.type.value);
|
|
31324
31324
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -31369,7 +31369,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
31369
31369
|
function createInjectorDefinitionMap(meta) {
|
|
31370
31370
|
const definitionMap = new DefinitionMap();
|
|
31371
31371
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
31372
|
-
definitionMap.set('version', literal('18.0.
|
|
31372
|
+
definitionMap.set('version', literal('18.0.3'));
|
|
31373
31373
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31374
31374
|
definitionMap.set('type', meta.type.value);
|
|
31375
31375
|
definitionMap.set('providers', meta.providers);
|
|
@@ -31402,7 +31402,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
31402
31402
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
31403
31403
|
}
|
|
31404
31404
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
31405
|
-
definitionMap.set('version', literal('18.0.
|
|
31405
|
+
definitionMap.set('version', literal('18.0.3'));
|
|
31406
31406
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31407
31407
|
definitionMap.set('type', meta.type.value);
|
|
31408
31408
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -31453,7 +31453,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
31453
31453
|
function createPipeDefinitionMap(meta) {
|
|
31454
31454
|
const definitionMap = new DefinitionMap();
|
|
31455
31455
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
31456
|
-
definitionMap.set('version', literal('18.0.
|
|
31456
|
+
definitionMap.set('version', literal('18.0.3'));
|
|
31457
31457
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31458
31458
|
// e.g. `type: MyPipe`
|
|
31459
31459
|
definitionMap.set('type', meta.type.value);
|