@angular/language-service 12.0.0-rc.3 → 12.0.0

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/bundles/ivy.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v12.0.0-rc.3
2
+ * @license Angular v12.0.0
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  * License: MIT
5
5
  */
@@ -2865,10 +2865,10 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
2865
2865
  class Version {
2866
2866
  constructor(full) {
2867
2867
  this.full = full;
2868
- const [major, minor, ...rest] = full.split('.');
2869
- this.major = major;
2870
- this.minor = minor;
2871
- this.patch = rest.join('.');
2868
+ const splits = full.split('.');
2869
+ this.major = splits[0];
2870
+ this.minor = splits[1];
2871
+ this.patch = splits.slice(2).join('.');
2872
2872
  }
2873
2873
  }
2874
2874
  const __window = typeof window !== 'undefined' && window;
@@ -17871,7 +17871,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
17871
17871
  * Use of this source code is governed by an MIT-style license that can be
17872
17872
  * found in the LICENSE file at https://angular.io/license
17873
17873
  */
17874
- const VERSION$1 = new Version('12.0.0-rc.3');
17874
+ const VERSION$1 = new Version('12.0.0');
17875
17875
 
17876
17876
  /**
17877
17877
  * @license
@@ -18510,7 +18510,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
18510
18510
  function compileDeclareClassMetadata(metadata) {
18511
18511
  const definitionMap = new DefinitionMap();
18512
18512
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
18513
- definitionMap.set('version', literal('12.0.0-rc.3'));
18513
+ definitionMap.set('version', literal('12.0.0'));
18514
18514
  definitionMap.set('ngImport', importExpr(Identifiers.core));
18515
18515
  definitionMap.set('type', metadata.type);
18516
18516
  definitionMap.set('decorators', metadata.decorators);
@@ -18550,7 +18550,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
18550
18550
  function createDirectiveDefinitionMap(meta) {
18551
18551
  const definitionMap = new DefinitionMap();
18552
18552
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
18553
- definitionMap.set('version', literal('12.0.0-rc.3'));
18553
+ definitionMap.set('version', literal('12.0.0'));
18554
18554
  // e.g. `type: MyDirective`
18555
18555
  definitionMap.set('type', meta.internalType);
18556
18556
  // e.g. `selector: 'some-dir'`
@@ -18767,7 +18767,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
18767
18767
  function compileDeclareFactoryFunction(meta) {
18768
18768
  const definitionMap = new DefinitionMap();
18769
18769
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
18770
- definitionMap.set('version', literal('12.0.0-rc.3'));
18770
+ definitionMap.set('version', literal('12.0.0'));
18771
18771
  definitionMap.set('ngImport', importExpr(Identifiers.core));
18772
18772
  definitionMap.set('type', meta.internalType);
18773
18773
  definitionMap.set('deps', compileDependencies(meta.deps));
@@ -18809,7 +18809,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
18809
18809
  function createInjectableDefinitionMap(meta) {
18810
18810
  const definitionMap = new DefinitionMap();
18811
18811
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
18812
- definitionMap.set('version', literal('12.0.0-rc.3'));
18812
+ definitionMap.set('version', literal('12.0.0'));
18813
18813
  definitionMap.set('ngImport', importExpr(Identifiers.core));
18814
18814
  definitionMap.set('type', meta.internalType);
18815
18815
  // Only generate providedIn property if it has a non-null value
@@ -18888,7 +18888,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
18888
18888
  function createInjectorDefinitionMap(meta) {
18889
18889
  const definitionMap = new DefinitionMap();
18890
18890
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
18891
- definitionMap.set('version', literal('12.0.0-rc.3'));
18891
+ definitionMap.set('version', literal('12.0.0'));
18892
18892
  definitionMap.set('ngImport', importExpr(Identifiers.core));
18893
18893
  definitionMap.set('type', meta.internalType);
18894
18894
  definitionMap.set('providers', meta.providers);
@@ -18925,7 +18925,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
18925
18925
  function createNgModuleDefinitionMap(meta) {
18926
18926
  const definitionMap = new DefinitionMap();
18927
18927
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
18928
- definitionMap.set('version', literal('12.0.0-rc.3'));
18928
+ definitionMap.set('version', literal('12.0.0'));
18929
18929
  definitionMap.set('ngImport', importExpr(Identifiers.core));
18930
18930
  definitionMap.set('type', meta.internalType);
18931
18931
  // We only generate the keys in the metadata if the arrays contain values.
@@ -18983,7 +18983,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
18983
18983
  function createPipeDefinitionMap(meta) {
18984
18984
  const definitionMap = new DefinitionMap();
18985
18985
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$6));
18986
- definitionMap.set('version', literal('12.0.0-rc.3'));
18986
+ definitionMap.set('version', literal('12.0.0'));
18987
18987
  definitionMap.set('ngImport', importExpr(Identifiers.core));
18988
18988
  // e.g. `type: MyPipe`
18989
18989
  definitionMap.set('type', meta.internalType);
@@ -19015,7 +19015,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
19015
19015
  * Use of this source code is governed by an MIT-style license that can be
19016
19016
  * found in the LICENSE file at https://angular.io/license
19017
19017
  */
19018
- const VERSION$2 = new Version('12.0.0-rc.3');
19018
+ const VERSION$2 = new Version('12.0.0');
19019
19019
 
19020
19020
  /**
19021
19021
  * @license
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v12.0.0-rc.3
2
+ * @license Angular v12.0.0
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  * License: MIT
5
5
  */
@@ -2567,10 +2567,10 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'typescript', 'path'], func
2567
2567
  class Version {
2568
2568
  constructor(full) {
2569
2569
  this.full = full;
2570
- const [major, minor, ...rest] = full.split('.');
2571
- this.major = major;
2572
- this.minor = minor;
2573
- this.patch = rest.join('.');
2570
+ const splits = full.split('.');
2571
+ this.major = splits[0];
2572
+ this.minor = splits[1];
2573
+ this.patch = splits.slice(2).join('.');
2574
2574
  }
2575
2575
  }
2576
2576
  const __window = typeof window !== 'undefined' && window;
@@ -19412,7 +19412,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'typescript', 'path'], func
19412
19412
  * Use of this source code is governed by an MIT-style license that can be
19413
19413
  * found in the LICENSE file at https://angular.io/license
19414
19414
  */
19415
- const VERSION$1 = new Version('12.0.0-rc.3');
19415
+ const VERSION$1 = new Version('12.0.0');
19416
19416
 
19417
19417
  /**
19418
19418
  * @license
@@ -35472,16 +35472,15 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'typescript', 'path'], func
35472
35472
  class Version$1 {
35473
35473
  constructor(full) {
35474
35474
  this.full = full;
35475
- const [major, minor, ...rest] = full.split('.');
35476
- this.major = major;
35477
- this.minor = minor;
35478
- this.patch = rest.join('.');
35475
+ this.major = full.split('.')[0];
35476
+ this.minor = full.split('.')[1];
35477
+ this.patch = full.split('.').slice(2).join('.');
35479
35478
  }
35480
35479
  }
35481
35480
  /**
35482
35481
  * @publicApi
35483
35482
  */
35484
- const VERSION$2 = new Version$1('12.0.0-rc.3');
35483
+ const VERSION$2 = new Version$1('12.0.0');
35485
35484
 
35486
35485
  /**
35487
35486
  * @license
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/language-service",
3
- "version": "12.0.0-rc.3",
3
+ "version": "12.0.0",
4
4
  "description": "Angular - language services",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",