@angular/compiler 18.2.8 → 18.2.10

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.
@@ -11,5 +11,5 @@
11
11
  * Entry point for all public APIs of the compiler package.
12
12
  */
13
13
  import { Version } from './util';
14
- export const VERSION = new Version('18.2.8');
14
+ export const VERSION = new Version('18.2.10');
15
15
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBpbGVyL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVIOzs7O0dBSUc7QUFFSCxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sUUFBUSxDQUFDO0FBRS9CLE1BQU0sQ0FBQyxNQUFNLE9BQU8sR0FBRyxJQUFJLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuZGV2L2xpY2Vuc2VcbiAqL1xuXG4vKipcbiAqIEBtb2R1bGVcbiAqIEBkZXNjcmlwdGlvblxuICogRW50cnkgcG9pbnQgZm9yIGFsbCBwdWJsaWMgQVBJcyBvZiB0aGUgY29tcGlsZXIgcGFja2FnZS5cbiAqL1xuXG5pbXBvcnQge1ZlcnNpb259IGZyb20gJy4vdXRpbCc7XG5cbmV4cG9ydCBjb25zdCBWRVJTSU9OID0gbmV3IFZlcnNpb24oJzAuMC4wLVBMQUNFSE9MREVSJyk7XG4iXX0=
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.8
2
+ * @license Angular v18.2.10
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -7271,7 +7271,7 @@ class ShadowCss {
7271
7271
  * captures how many (if any) leading whitespaces are present or a comma
7272
7272
  * - (?:(?:(['"])((?:\\\\|\\\2|(?!\2).)+)\2)|(-?[A-Za-z][\w\-]*))
7273
7273
  * captures two different possible keyframes, ones which are quoted or ones which are valid css
7274
- * indents (custom properties excluded)
7274
+ * idents (custom properties excluded)
7275
7275
  * - (?=[,\s;]|$)
7276
7276
  * simply matches the end of the possible keyframe, valid endings are: a comma, a space, a
7277
7277
  * semicolon or the end of the string
@@ -7500,7 +7500,7 @@ class ShadowCss {
7500
7500
  */
7501
7501
  _scopeCssText(cssText, scopeSelector, hostSelector) {
7502
7502
  const unscopedRules = this._extractUnscopedRulesFromCssText(cssText);
7503
- // replace :host and :host-context with -shadowcsshost and -shadowcsshostcontext respectively
7503
+ // replace :host and :host-context -shadowcsshost and -shadowcsshost respectively
7504
7504
  cssText = this._insertPolyfillHostInCssText(cssText);
7505
7505
  cssText = this._convertColonHost(cssText);
7506
7506
  cssText = this._convertColonHostContext(cssText);
@@ -7578,7 +7578,7 @@ class ShadowCss {
7578
7578
  * .foo<scopeName> .bar { ... }
7579
7579
  */
7580
7580
  _convertColonHostContext(cssText) {
7581
- return cssText.replace(_cssColonHostContextReGlobal, (selectorText, pseudoPrefix) => {
7581
+ return cssText.replace(_cssColonHostContextReGlobal, (selectorText) => {
7582
7582
  // We have captured a selector that contains a `:host-context` rule.
7583
7583
  // For backward compatibility `:host-context` may contain a comma separated list of selectors.
7584
7584
  // Each context selector group will contain a list of host-context selectors that must match
@@ -7627,10 +7627,10 @@ class ShadowCss {
7627
7627
  selectorText = match[2];
7628
7628
  }
7629
7629
  // The context selectors now must be combined with each other to capture all the possible
7630
- // selectors that `:host-context` can match. See `_combineHostContextSelectors()` for more
7630
+ // selectors that `:host-context` can match. See `combineHostContextSelectors()` for more
7631
7631
  // info about how this is done.
7632
7632
  return contextSelectorGroups
7633
- .map((contextSelectors) => _combineHostContextSelectors(contextSelectors, selectorText, pseudoPrefix))
7633
+ .map((contextSelectors) => combineHostContextSelectors(contextSelectors, selectorText))
7634
7634
  .join(', ');
7635
7635
  });
7636
7636
  }
@@ -7647,12 +7647,7 @@ class ShadowCss {
7647
7647
  let selector = rule.selector;
7648
7648
  let content = rule.content;
7649
7649
  if (rule.selector[0] !== '@') {
7650
- selector = this._scopeSelector({
7651
- selector,
7652
- scopeSelector,
7653
- hostSelector,
7654
- isParentSelector: true,
7655
- });
7650
+ selector = this._scopeSelector(rule.selector, scopeSelector, hostSelector);
7656
7651
  }
7657
7652
  else if (scopedAtRuleIdentifiers.some((atRule) => rule.selector.startsWith(atRule))) {
7658
7653
  content = this._scopeSelectors(rule.content, scopeSelector, hostSelector);
@@ -7692,29 +7687,15 @@ class ShadowCss {
7692
7687
  return new CssRule(selector, rule.content);
7693
7688
  });
7694
7689
  }
7695
- // `isParentSelector` is used to distinguish the selectors which are coming from
7696
- // the initial selector string and any nested selectors, parsed recursively,
7697
- // for example `selector = 'a:where(.one)'` could be the parent, while recursive call
7698
- // would have `selector = '.one'`.
7699
- _scopeSelector({ selector, scopeSelector, hostSelector, isParentSelector = false, }) {
7700
- // Split the selector into independent parts by `,` (comma) unless
7701
- // comma is within parenthesis, for example `:is(.one, two)`.
7702
- // Negative lookup after comma allows not splitting inside nested parenthesis,
7703
- // up to three levels (((,))).
7704
- const selectorSplitRe = / ?,(?!(?:[^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\))) ?/;
7690
+ _scopeSelector(selector, scopeSelector, hostSelector) {
7705
7691
  return selector
7706
- .split(selectorSplitRe)
7692
+ .split(/ ?, ?/)
7707
7693
  .map((part) => part.split(_shadowDeepSelectors))
7708
7694
  .map((deepParts) => {
7709
7695
  const [shallowPart, ...otherParts] = deepParts;
7710
7696
  const applyScope = (shallowPart) => {
7711
7697
  if (this._selectorNeedsScoping(shallowPart, scopeSelector)) {
7712
- return this._applySelectorScope({
7713
- selector: shallowPart,
7714
- scopeSelector,
7715
- hostSelector,
7716
- isParentSelector,
7717
- });
7698
+ return this._applySelectorScope(shallowPart, scopeSelector, hostSelector);
7718
7699
  }
7719
7700
  else {
7720
7701
  return shallowPart;
@@ -7741,8 +7722,8 @@ class ShadowCss {
7741
7722
  if (_polyfillHostRe.test(selector)) {
7742
7723
  const replaceBy = `[${hostSelector}]`;
7743
7724
  return selector
7744
- .replace(_polyfillHostNoCombinatorReGlobal, (_hnc, selector) => {
7745
- return selector.replace(/([^:\)]*)(:*)(.*)/, (_, before, colon, after) => {
7725
+ .replace(_polyfillHostNoCombinatorRe, (hnc, selector) => {
7726
+ return selector.replace(/([^:]*)(:*)(.*)/, (_, before, colon, after) => {
7746
7727
  return before + replaceBy + colon + after;
7747
7728
  });
7748
7729
  })
@@ -7752,7 +7733,7 @@ class ShadowCss {
7752
7733
  }
7753
7734
  // return a selector with [name] suffix on each simple selector
7754
7735
  // e.g. .foo.bar > .zot becomes .foo[name].bar[name] > .zot[name] /** @internal */
7755
- _applySelectorScope({ selector, scopeSelector, hostSelector, isParentSelector, }) {
7736
+ _applySelectorScope(selector, scopeSelector, hostSelector) {
7756
7737
  const isRe = /\[is=([^\]]*)\]/g;
7757
7738
  scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);
7758
7739
  const attrName = '[' + scopeSelector + ']';
@@ -7763,10 +7744,6 @@ class ShadowCss {
7763
7744
  }
7764
7745
  if (p.includes(_polyfillHostNoCombinator)) {
7765
7746
  scopedP = this._applySimpleSelectorScope(p, scopeSelector, hostSelector);
7766
- if (_polyfillHostNoCombinatorWithinPseudoFunction.test(p)) {
7767
- const [_, before, colon, after] = scopedP.match(/([^:]*)(:*)(.*)/);
7768
- scopedP = before + attrName + colon + after;
7769
- }
7770
7747
  }
7771
7748
  else {
7772
7749
  // remove :host since it should be unnecessary
@@ -7780,50 +7757,12 @@ class ShadowCss {
7780
7757
  }
7781
7758
  return scopedP;
7782
7759
  };
7783
- // Wraps `_scopeSelectorPart()` to not use it directly on selectors with
7784
- // pseudo selector functions like `:where()`. Selectors within pseudo selector
7785
- // functions are recursively sent to `_scopeSelector()`.
7786
- const _pseudoFunctionAwareScopeSelectorPart = (selectorPart) => {
7787
- let scopedPart = '';
7788
- const cssPrefixWithPseudoSelectorFunctionMatch = selectorPart.match(_cssPrefixWithPseudoSelectorFunction);
7789
- if (cssPrefixWithPseudoSelectorFunctionMatch) {
7790
- const [cssPseudoSelectorFunction] = cssPrefixWithPseudoSelectorFunctionMatch;
7791
- // Unwrap the pseudo selector to scope its contents.
7792
- // For example,
7793
- // - `:where(selectorToScope)` -> `selectorToScope`;
7794
- // - `:is(.foo, .bar)` -> `.foo, .bar`.
7795
- const selectorToScope = selectorPart.slice(cssPseudoSelectorFunction.length, -1);
7796
- if (selectorToScope.includes(_polyfillHostNoCombinator)) {
7797
- this._shouldScopeIndicator = true;
7798
- }
7799
- const scopedInnerPart = this._scopeSelector({
7800
- selector: selectorToScope,
7801
- scopeSelector,
7802
- hostSelector,
7803
- });
7804
- // Put the result back into the pseudo selector function.
7805
- scopedPart = `${cssPseudoSelectorFunction}${scopedInnerPart})`;
7806
- }
7807
- else {
7808
- this._shouldScopeIndicator =
7809
- this._shouldScopeIndicator || selectorPart.includes(_polyfillHostNoCombinator);
7810
- scopedPart = this._shouldScopeIndicator ? _scopeSelectorPart(selectorPart) : selectorPart;
7811
- }
7812
- return scopedPart;
7813
- };
7814
- if (isParentSelector) {
7815
- this._safeSelector = new SafeSelector(selector);
7816
- selector = this._safeSelector.content();
7817
- }
7760
+ const safeContent = new SafeSelector(selector);
7761
+ selector = safeContent.content();
7818
7762
  let scopedSelector = '';
7819
7763
  let startIndex = 0;
7820
7764
  let res;
7821
- // Combinators aren't used as a delimiter if they are within parenthesis,
7822
- // for example `:where(.one .two)` stays intact.
7823
- // Similarly to selector separation by comma initially, negative lookahead
7824
- // is used here to not break selectors within nested parenthesis up to three
7825
- // nested layers.
7826
- const sep = /( |>|\+|~(?!=))(?!([^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\)))\s*/g;
7765
+ const sep = /( |>|\+|~(?!=))\s*/g;
7827
7766
  // If a selector appears before :host it should not be shimmed as it
7828
7767
  // matches on ancestor elements and not on elements in the host's shadow
7829
7768
  // `:host-context(div)` is transformed to
@@ -7836,13 +7775,8 @@ class ShadowCss {
7836
7775
  // - `tag :host` -> `tag [h]` (`tag` is not scoped because it's considered part of a
7837
7776
  // `:host-context(tag)`)
7838
7777
  const hasHost = selector.includes(_polyfillHostNoCombinator);
7839
- // Only scope parts after or on the same level as the first `-shadowcsshost-no-combinator`
7840
- // when it is present. The selector has the same level when it is a part of a pseudo
7841
- // selector, like `:where()`, for example `:where(:host, .foo)` would result in `.foo`
7842
- // being scoped.
7843
- if (isParentSelector || this._shouldScopeIndicator) {
7844
- this._shouldScopeIndicator = !hasHost;
7845
- }
7778
+ // Only scope parts after the first `-shadowcsshost-no-combinator` when it is present
7779
+ let shouldScope = !hasHost;
7846
7780
  while ((res = sep.exec(selector)) !== null) {
7847
7781
  const separator = res[1];
7848
7782
  // Do not trim the selector, as otherwise this will break sourcemaps
@@ -7858,15 +7792,16 @@ class ShadowCss {
7858
7792
  if (part.match(/__esc-ph-(\d+)__/) && selector[res.index + 1]?.match(/[a-fA-F\d]/)) {
7859
7793
  continue;
7860
7794
  }
7861
- const scopedPart = _pseudoFunctionAwareScopeSelectorPart(part);
7795
+ shouldScope = shouldScope || part.includes(_polyfillHostNoCombinator);
7796
+ const scopedPart = shouldScope ? _scopeSelectorPart(part) : part;
7862
7797
  scopedSelector += `${scopedPart} ${separator} `;
7863
7798
  startIndex = sep.lastIndex;
7864
7799
  }
7865
7800
  const part = selector.substring(startIndex);
7866
- scopedSelector += _pseudoFunctionAwareScopeSelectorPart(part);
7801
+ shouldScope = shouldScope || part.includes(_polyfillHostNoCombinator);
7802
+ scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;
7867
7803
  // replace the placeholders with their original values
7868
- // using values stored inside the `safeSelector` instance.
7869
- return this._safeSelector.restore(scopedSelector);
7804
+ return safeContent.restore(scopedSelector);
7870
7805
  }
7871
7806
  _insertPolyfillHostInCssText(selector) {
7872
7807
  return selector
@@ -7921,8 +7856,6 @@ class SafeSelector {
7921
7856
  });
7922
7857
  }
7923
7858
  }
7924
- const _cssScopedPseudoFunctionPrefix = '(:(where|is)\\()?';
7925
- const _cssPrefixWithPseudoSelectorFunction = /^:(where|is)\(/i;
7926
7859
  const _cssContentNextSelectorRe = /polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim;
7927
7860
  const _cssContentRuleRe = /(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
7928
7861
  const _cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
@@ -7931,12 +7864,10 @@ const _polyfillHost = '-shadowcsshost';
7931
7864
  const _polyfillHostContext = '-shadowcsscontext';
7932
7865
  const _parenSuffix = '(?:\\((' + '(?:\\([^)(]*\\)|[^)(]*)+?' + ')\\))?([^,{]*)';
7933
7866
  const _cssColonHostRe = new RegExp(_polyfillHost + _parenSuffix, 'gim');
7934
- const _cssColonHostContextReGlobal = new RegExp(_cssScopedPseudoFunctionPrefix + '(' + _polyfillHostContext + _parenSuffix + ')', 'gim');
7867
+ const _cssColonHostContextReGlobal = new RegExp(_polyfillHostContext + _parenSuffix, 'gim');
7935
7868
  const _cssColonHostContextRe = new RegExp(_polyfillHostContext + _parenSuffix, 'im');
7936
7869
  const _polyfillHostNoCombinator = _polyfillHost + '-no-combinator';
7937
- const _polyfillHostNoCombinatorWithinPseudoFunction = new RegExp(`:.*\\(.*${_polyfillHostNoCombinator}.*\\)`);
7938
7870
  const _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
7939
- const _polyfillHostNoCombinatorReGlobal = new RegExp(_polyfillHostNoCombinatorRe, 'g');
7940
7871
  const _shadowDOMSelectorsRe = [
7941
7872
  /::shadow/g,
7942
7873
  /::content/g,
@@ -8170,7 +8101,7 @@ function unescapeQuotes(str, isQuoted) {
8170
8101
  * @param contextSelectors an array of context selectors that will be combined.
8171
8102
  * @param otherSelectors the rest of the selectors that are not context selectors.
8172
8103
  */
8173
- function _combineHostContextSelectors(contextSelectors, otherSelectors, pseudoPrefix = '') {
8104
+ function combineHostContextSelectors(contextSelectors, otherSelectors) {
8174
8105
  const hostMarker = _polyfillHostNoCombinator;
8175
8106
  _polyfillHostRe.lastIndex = 0; // reset the regex to ensure we get an accurate test
8176
8107
  const otherSelectorsHasHost = _polyfillHostRe.test(otherSelectors);
@@ -8196,8 +8127,8 @@ function _combineHostContextSelectors(contextSelectors, otherSelectors, pseudoPr
8196
8127
  // (A<hostMarker>) or as an ancestor (A <hostMarker>).
8197
8128
  return combined
8198
8129
  .map((s) => otherSelectorsHasHost
8199
- ? `${pseudoPrefix}${s}${otherSelectors}`
8200
- : `${pseudoPrefix}${s}${hostMarker}${otherSelectors}, ${pseudoPrefix}${s} ${hostMarker}${otherSelectors}`)
8130
+ ? `${s}${otherSelectors}`
8131
+ : `${s}${hostMarker}${otherSelectors}, ${s} ${hostMarker}${otherSelectors}`)
8201
8132
  .join(',');
8202
8133
  }
8203
8134
  /**
@@ -29874,7 +29805,7 @@ function publishFacade(global) {
29874
29805
  * @description
29875
29806
  * Entry point for all public APIs of the compiler package.
29876
29807
  */
29877
- const VERSION = new Version('18.2.8');
29808
+ const VERSION = new Version('18.2.10');
29878
29809
 
29879
29810
  class CompilerConfig {
29880
29811
  constructor({ defaultEncapsulation = ViewEncapsulation.Emulated, preserveWhitespaces, strictInjectionParameters, } = {}) {
@@ -31525,7 +31456,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
31525
31456
  function compileDeclareClassMetadata(metadata) {
31526
31457
  const definitionMap = new DefinitionMap();
31527
31458
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
31528
- definitionMap.set('version', literal('18.2.8'));
31459
+ definitionMap.set('version', literal('18.2.10'));
31529
31460
  definitionMap.set('ngImport', importExpr(Identifiers.core));
31530
31461
  definitionMap.set('type', metadata.type);
31531
31462
  definitionMap.set('decorators', metadata.decorators);
@@ -31543,7 +31474,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
31543
31474
  callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
31544
31475
  callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
31545
31476
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
31546
- definitionMap.set('version', literal('18.2.8'));
31477
+ definitionMap.set('version', literal('18.2.10'));
31547
31478
  definitionMap.set('ngImport', importExpr(Identifiers.core));
31548
31479
  definitionMap.set('type', metadata.type);
31549
31480
  definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
@@ -31638,7 +31569,7 @@ function createDirectiveDefinitionMap(meta) {
31638
31569
  const definitionMap = new DefinitionMap();
31639
31570
  const minVersion = getMinimumVersionForPartialOutput(meta);
31640
31571
  definitionMap.set('minVersion', literal(minVersion));
31641
- definitionMap.set('version', literal('18.2.8'));
31572
+ definitionMap.set('version', literal('18.2.10'));
31642
31573
  // e.g. `type: MyDirective`
31643
31574
  definitionMap.set('type', meta.type.value);
31644
31575
  if (meta.isStandalone) {
@@ -32060,7 +31991,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
32060
31991
  function compileDeclareFactoryFunction(meta) {
32061
31992
  const definitionMap = new DefinitionMap();
32062
31993
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
32063
- definitionMap.set('version', literal('18.2.8'));
31994
+ definitionMap.set('version', literal('18.2.10'));
32064
31995
  definitionMap.set('ngImport', importExpr(Identifiers.core));
32065
31996
  definitionMap.set('type', meta.type.value);
32066
31997
  definitionMap.set('deps', compileDependencies(meta.deps));
@@ -32095,7 +32026,7 @@ function compileDeclareInjectableFromMetadata(meta) {
32095
32026
  function createInjectableDefinitionMap(meta) {
32096
32027
  const definitionMap = new DefinitionMap();
32097
32028
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
32098
- definitionMap.set('version', literal('18.2.8'));
32029
+ definitionMap.set('version', literal('18.2.10'));
32099
32030
  definitionMap.set('ngImport', importExpr(Identifiers.core));
32100
32031
  definitionMap.set('type', meta.type.value);
32101
32032
  // Only generate providedIn property if it has a non-null value
@@ -32146,7 +32077,7 @@ function compileDeclareInjectorFromMetadata(meta) {
32146
32077
  function createInjectorDefinitionMap(meta) {
32147
32078
  const definitionMap = new DefinitionMap();
32148
32079
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
32149
- definitionMap.set('version', literal('18.2.8'));
32080
+ definitionMap.set('version', literal('18.2.10'));
32150
32081
  definitionMap.set('ngImport', importExpr(Identifiers.core));
32151
32082
  definitionMap.set('type', meta.type.value);
32152
32083
  definitionMap.set('providers', meta.providers);
@@ -32179,7 +32110,7 @@ function createNgModuleDefinitionMap(meta) {
32179
32110
  throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
32180
32111
  }
32181
32112
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
32182
- definitionMap.set('version', literal('18.2.8'));
32113
+ definitionMap.set('version', literal('18.2.10'));
32183
32114
  definitionMap.set('ngImport', importExpr(Identifiers.core));
32184
32115
  definitionMap.set('type', meta.type.value);
32185
32116
  // We only generate the keys in the metadata if the arrays contain values.
@@ -32230,7 +32161,7 @@ function compileDeclarePipeFromMetadata(meta) {
32230
32161
  function createPipeDefinitionMap(meta) {
32231
32162
  const definitionMap = new DefinitionMap();
32232
32163
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
32233
- definitionMap.set('version', literal('18.2.8'));
32164
+ definitionMap.set('version', literal('18.2.10'));
32234
32165
  definitionMap.set('ngImport', importExpr(Identifiers.core));
32235
32166
  // e.g. `type: MyPipe`
32236
32167
  definitionMap.set('type', meta.type.value);