@angular/compiler 15.0.0-next.3 → 15.0.0-next.5

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v15.0.0-next.3
2
+ * @license Angular v15.0.0-next.5
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v15.0.0-next.3
2
+ * @license Angular v15.0.0-next.5
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -7691,7 +7691,26 @@ class BuiltinFunctionCall extends Call {
7691
7691
  * found in the LICENSE file at https://angular.io/license
7692
7692
  */
7693
7693
  /**
7694
- * This file is a port of shadowCSS from webcomponents.js to TypeScript.
7694
+ * The following set contains all keywords that can be used in the animation css shorthand
7695
+ * property and is used during the scoping of keyframes to make sure such keywords
7696
+ * are not modified.
7697
+ */
7698
+ const animationKeywords = new Set([
7699
+ // global values
7700
+ 'inherit', 'initial', 'revert', 'unset',
7701
+ // animation-direction
7702
+ 'alternate', 'alternate-reverse', 'normal', 'reverse',
7703
+ // animation-fill-mode
7704
+ 'backwards', 'both', 'forwards', 'none',
7705
+ // animation-play-state
7706
+ 'paused', 'running',
7707
+ // animation-timing-function
7708
+ 'ease', 'ease-in', 'ease-in-out', 'ease-out', 'linear', 'step-start', 'step-end',
7709
+ // `steps()` function
7710
+ 'end', 'jump-both', 'jump-end', 'jump-none', 'jump-start', 'start'
7711
+ ]);
7712
+ /**
7713
+ * The following class is a port of shadowCSS from webcomponents.js to TypeScript.
7695
7714
  *
7696
7715
  * Please make sure to keep to edits in sync with the source file.
7697
7716
  *
@@ -7817,6 +7836,21 @@ class BuiltinFunctionCall extends Call {
7817
7836
  class ShadowCss {
7818
7837
  constructor() {
7819
7838
  this.strictStyling = true;
7839
+ /**
7840
+ * Regular expression used to extrapolate the possible keyframes from an
7841
+ * animation declaration (with possibly multiple animation definitions)
7842
+ *
7843
+ * The regular expression can be divided in three parts
7844
+ * - (^|\s+)
7845
+ * simply captures how many (if any) leading whitespaces are present
7846
+ * - (?:(?:(['"])((?:\\\\|\\\2|(?!\2).)+)\2)|(-?[A-Za-z][\w\-]*))
7847
+ * captures two different possible keyframes, ones which are quoted or ones which are valid css
7848
+ * idents (custom properties excluded)
7849
+ * - (?=[,\s;]|$)
7850
+ * simply matches the end of the possible keyframe, valid endings are: a comma, a space, a
7851
+ * semicolon or the end of the string
7852
+ */
7853
+ this._animationDeclarationKeyframesRe = /(^|\s+)(?:(?:(['"])((?:\\\\|\\\2|(?!\2).)+)\2)|(-?[A-Za-z][\w\-]*))(?=[,\s]|$)/g;
7820
7854
  }
7821
7855
  /*
7822
7856
  * Shim some cssText with the given selector. Returns cssText that can
@@ -7837,6 +7871,143 @@ class ShadowCss {
7837
7871
  cssText = this._insertPolyfillDirectivesInCssText(cssText);
7838
7872
  return this._insertPolyfillRulesInCssText(cssText);
7839
7873
  }
7874
+ /**
7875
+ * Process styles to add scope to keyframes.
7876
+ *
7877
+ * Modify both the names of the keyframes defined in the component styles and also the css
7878
+ * animation rules using them.
7879
+ *
7880
+ * Animation rules using keyframes defined elsewhere are not modified to allow for globally
7881
+ * defined keyframes.
7882
+ *
7883
+ * For example, we convert this css:
7884
+ *
7885
+ * ```
7886
+ * .box {
7887
+ * animation: box-animation 1s forwards;
7888
+ * }
7889
+ *
7890
+ * @keyframes box-animation {
7891
+ * to {
7892
+ * background-color: green;
7893
+ * }
7894
+ * }
7895
+ * ```
7896
+ *
7897
+ * to this:
7898
+ *
7899
+ * ```
7900
+ * .box {
7901
+ * animation: scopeName_box-animation 1s forwards;
7902
+ * }
7903
+ *
7904
+ * @keyframes scopeName_box-animation {
7905
+ * to {
7906
+ * background-color: green;
7907
+ * }
7908
+ * }
7909
+ * ```
7910
+ *
7911
+ * @param cssText the component's css text that needs to be scoped.
7912
+ * @param scopeSelector the component's scope selector.
7913
+ *
7914
+ * @returns the scoped css text.
7915
+ */
7916
+ _scopeKeyframesRelatedCss(cssText, scopeSelector) {
7917
+ const unscopedKeyframesSet = new Set();
7918
+ const scopedKeyframesCssText = processRules(cssText, rule => this._scopeLocalKeyframeDeclarations(rule, scopeSelector, unscopedKeyframesSet));
7919
+ return processRules(scopedKeyframesCssText, rule => this._scopeAnimationRule(rule, scopeSelector, unscopedKeyframesSet));
7920
+ }
7921
+ /**
7922
+ * Scopes local keyframes names, returning the updated css rule and it also
7923
+ * adds the original keyframe name to a provided set to collect all keyframes names
7924
+ * so that it can later be used to scope the animation rules.
7925
+ *
7926
+ * For example, it takes a rule such as:
7927
+ *
7928
+ * ```
7929
+ * @keyframes box-animation {
7930
+ * to {
7931
+ * background-color: green;
7932
+ * }
7933
+ * }
7934
+ * ```
7935
+ *
7936
+ * and returns:
7937
+ *
7938
+ * ```
7939
+ * @keyframes scopeName_box-animation {
7940
+ * to {
7941
+ * background-color: green;
7942
+ * }
7943
+ * }
7944
+ * ```
7945
+ * and as a side effect it adds "box-animation" to the `unscopedKeyframesSet` set
7946
+ *
7947
+ * @param cssRule the css rule to process.
7948
+ * @param scopeSelector the component's scope selector.
7949
+ * @param unscopedKeyframesSet the set of unscoped keyframes names (which can be
7950
+ * modified as a side effect)
7951
+ *
7952
+ * @returns the css rule modified with the scoped keyframes name.
7953
+ */
7954
+ _scopeLocalKeyframeDeclarations(rule, scopeSelector, unscopedKeyframesSet) {
7955
+ return {
7956
+ ...rule,
7957
+ selector: rule.selector.replace(/(^@(?:-webkit-)?keyframes(?:\s+))(['"]?)(.+)\2(\s*)$/, (_, start, quote, keyframeName, endSpaces) => {
7958
+ unscopedKeyframesSet.add(unescapeQuotes(keyframeName, quote));
7959
+ return `${start}${quote}${scopeSelector}_${keyframeName}${quote}${endSpaces}`;
7960
+ }),
7961
+ };
7962
+ }
7963
+ /**
7964
+ * Function used to scope a keyframes name (obtained from an animation declaration)
7965
+ * using an existing set of unscopedKeyframes names to discern if the scoping needs to be
7966
+ * performed (keyframes names of keyframes not defined in the component's css need not to be
7967
+ * scoped).
7968
+ *
7969
+ * @param keyframe the keyframes name to check.
7970
+ * @param scopeSelector the component's scope selector.
7971
+ * @param unscopedKeyframesSet the set of unscoped keyframes names.
7972
+ *
7973
+ * @returns the scoped name of the keyframe, or the original name is the name need not to be
7974
+ * scoped.
7975
+ */
7976
+ _scopeAnimationKeyframe(keyframe, scopeSelector, unscopedKeyframesSet) {
7977
+ return keyframe.replace(/^(\s*)(['"]?)(.+?)\2(\s*)$/, (_, spaces1, quote, name, spaces2) => {
7978
+ name = `${unscopedKeyframesSet.has(unescapeQuotes(name, quote)) ? scopeSelector + '_' : ''}${name}`;
7979
+ return `${spaces1}${quote}${name}${quote}${spaces2}`;
7980
+ });
7981
+ }
7982
+ /**
7983
+ * Scope an animation rule so that the keyframes mentioned in such rule
7984
+ * are scoped if defined in the component's css and left untouched otherwise.
7985
+ *
7986
+ * It can scope values of both the 'animation' and 'animation-name' properties.
7987
+ *
7988
+ * @param rule css rule to scope.
7989
+ * @param scopeSelector the component's scope selector.
7990
+ * @param unscopedKeyframesSet the set of unscoped keyframes names.
7991
+ *
7992
+ * @returns the updated css rule.
7993
+ **/
7994
+ _scopeAnimationRule(rule, scopeSelector, unscopedKeyframesSet) {
7995
+ let content = rule.content.replace(/((?:^|\s+|;)(?:-webkit-)?animation(?:\s*):(?:\s*))([^;]+)/g, (_, start, animationDeclarations) => start +
7996
+ animationDeclarations.replace(this._animationDeclarationKeyframesRe, (original, leadingSpaces, quote = '', quotedName, nonQuotedName) => {
7997
+ if (quotedName) {
7998
+ return `${leadingSpaces}${this._scopeAnimationKeyframe(`${quote}${quotedName}${quote}`, scopeSelector, unscopedKeyframesSet)}`;
7999
+ }
8000
+ else {
8001
+ return animationKeywords.has(nonQuotedName) ?
8002
+ original :
8003
+ `${leadingSpaces}${this._scopeAnimationKeyframe(nonQuotedName, scopeSelector, unscopedKeyframesSet)}`;
8004
+ }
8005
+ }));
8006
+ content = content.replace(/((?:^|\s+|;)(?:-webkit-)?animation-name(?:\s*):(?:\s*))([^;]+)/g, (_match, start, commaSeparatedKeyframes) => `${start}${commaSeparatedKeyframes.split(',')
8007
+ .map((keyframe) => this._scopeAnimationKeyframe(keyframe, scopeSelector, unscopedKeyframesSet))
8008
+ .join(',')}`);
8009
+ return { ...rule, content };
8010
+ }
7840
8011
  /*
7841
8012
  * Process styles to convert native ShadowDOM rules that will trip
7842
8013
  * up the css parser; we rely on decorating the stylesheet with inert rules.
@@ -7895,6 +8066,7 @@ class ShadowCss {
7895
8066
  cssText = this._convertColonHostContext(cssText);
7896
8067
  cssText = this._convertShadowDOMSelectors(cssText);
7897
8068
  if (scopeSelector) {
8069
+ cssText = this._scopeKeyframesRelatedCss(cssText, scopeSelector);
7898
8070
  cssText = this._scopeSelectors(cssText, scopeSelector, hostSelector);
7899
8071
  }
7900
8072
  cssText = cssText + '\n' + unscopedRules;
@@ -8266,11 +8438,14 @@ function extractCommentsWithHash(input) {
8266
8438
  return input.match(_commentWithHashRe) || [];
8267
8439
  }
8268
8440
  const BLOCK_PLACEHOLDER = '%BLOCK%';
8269
- const QUOTE_PLACEHOLDER = '%QUOTED%';
8270
8441
  const _ruleRe = /(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g;
8271
- const _quotedRe = /%QUOTED%/g;
8272
8442
  const CONTENT_PAIRS = new Map([['{', '}']]);
8273
- const QUOTE_PAIRS = new Map([[`"`, `"`], [`'`, `'`]]);
8443
+ const COMMA_IN_PLACEHOLDER = '%COMMA_IN_PLACEHOLDER%';
8444
+ const SEMI_IN_PLACEHOLDER = '%SEMI_IN_PLACEHOLDER%';
8445
+ const COLON_IN_PLACEHOLDER = '%COLON_IN_PLACEHOLDER%';
8446
+ const _cssCommaInPlaceholderReGlobal = new RegExp(COMMA_IN_PLACEHOLDER, 'g');
8447
+ const _cssSemiInPlaceholderReGlobal = new RegExp(SEMI_IN_PLACEHOLDER, 'g');
8448
+ const _cssColonInPlaceholderReGlobal = new RegExp(COLON_IN_PLACEHOLDER, 'g');
8274
8449
  class CssRule {
8275
8450
  constructor(selector, content) {
8276
8451
  this.selector = selector;
@@ -8278,12 +8453,10 @@ class CssRule {
8278
8453
  }
8279
8454
  }
8280
8455
  function processRules(input, ruleCallback) {
8281
- const inputWithEscapedQuotes = escapeBlocks(input, QUOTE_PAIRS, QUOTE_PLACEHOLDER);
8282
- const inputWithEscapedBlocks = escapeBlocks(inputWithEscapedQuotes.escapedString, CONTENT_PAIRS, BLOCK_PLACEHOLDER);
8456
+ const escaped = escapeInStrings(input);
8457
+ const inputWithEscapedBlocks = escapeBlocks(escaped, CONTENT_PAIRS, BLOCK_PLACEHOLDER);
8283
8458
  let nextBlockIndex = 0;
8284
- let nextQuoteIndex = 0;
8285
- return inputWithEscapedBlocks.escapedString
8286
- .replace(_ruleRe, (...m) => {
8459
+ const escapedResult = inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {
8287
8460
  const selector = m[2];
8288
8461
  let content = '';
8289
8462
  let suffix = m[4];
@@ -8295,8 +8468,8 @@ function processRules(input, ruleCallback) {
8295
8468
  }
8296
8469
  const rule = ruleCallback(new CssRule(selector, content));
8297
8470
  return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;
8298
- })
8299
- .replace(_quotedRe, () => inputWithEscapedQuotes.blocks[nextQuoteIndex++]);
8471
+ });
8472
+ return unescapeInStrings(escapedResult);
8300
8473
  }
8301
8474
  class StringWithEscapedBlocks {
8302
8475
  constructor(escapedString, blocks) {
@@ -8347,6 +8520,112 @@ function escapeBlocks(input, charPairs, placeholder) {
8347
8520
  }
8348
8521
  return new StringWithEscapedBlocks(resultParts.join(''), escapedBlocks);
8349
8522
  }
8523
+ /**
8524
+ * Object containing as keys characters that should be substituted by placeholders
8525
+ * when found in strings during the css text parsing, and as values the respective
8526
+ * placeholders
8527
+ */
8528
+ const ESCAPE_IN_STRING_MAP = {
8529
+ ';': SEMI_IN_PLACEHOLDER,
8530
+ ',': COMMA_IN_PLACEHOLDER,
8531
+ ':': COLON_IN_PLACEHOLDER
8532
+ };
8533
+ /**
8534
+ * Parse the provided css text and inside strings (meaning, inside pairs of unescaped single or
8535
+ * double quotes) replace specific characters with their respective placeholders as indicated
8536
+ * by the `ESCAPE_IN_STRING_MAP` map.
8537
+ *
8538
+ * For example convert the text
8539
+ * `animation: "my-anim:at\"ion" 1s;`
8540
+ * to
8541
+ * `animation: "my-anim%COLON_IN_PLACEHOLDER%at\"ion" 1s;`
8542
+ *
8543
+ * This is necessary in order to remove the meaning of some characters when found inside strings
8544
+ * (for example `;` indicates the end of a css declaration, `,` the sequence of values and `:` the
8545
+ * division between property and value during a declaration, none of these meanings apply when such
8546
+ * characters are within strings and so in order to prevent parsing issues they need to be replaced
8547
+ * with placeholder text for the duration of the css manipulation process).
8548
+ *
8549
+ * @param input the original css text.
8550
+ *
8551
+ * @returns the css text with specific characters in strings replaced by placeholders.
8552
+ **/
8553
+ function escapeInStrings(input) {
8554
+ let result = input;
8555
+ let currentQuoteChar = null;
8556
+ for (let i = 0; i < result.length; i++) {
8557
+ const char = result[i];
8558
+ if (char === '\\') {
8559
+ i++;
8560
+ }
8561
+ else {
8562
+ if (currentQuoteChar !== null) {
8563
+ // index i is inside a quoted sub-string
8564
+ if (char === currentQuoteChar) {
8565
+ currentQuoteChar = null;
8566
+ }
8567
+ else {
8568
+ const placeholder = ESCAPE_IN_STRING_MAP[char];
8569
+ if (placeholder) {
8570
+ result = `${result.substr(0, i)}${placeholder}${result.substr(i + 1)}`;
8571
+ i += placeholder.length - 1;
8572
+ }
8573
+ }
8574
+ }
8575
+ else if (char === '\'' || char === '"') {
8576
+ currentQuoteChar = char;
8577
+ }
8578
+ }
8579
+ }
8580
+ return result;
8581
+ }
8582
+ /**
8583
+ * Replace in a string all occurrences of keys in the `ESCAPE_IN_STRING_MAP` map with their
8584
+ * original representation, this is simply used to revert the changes applied by the
8585
+ * escapeInStrings function.
8586
+ *
8587
+ * For example it reverts the text:
8588
+ * `animation: "my-anim%COLON_IN_PLACEHOLDER%at\"ion" 1s;`
8589
+ * to it's original form of:
8590
+ * `animation: "my-anim:at\"ion" 1s;`
8591
+ *
8592
+ * Note: For the sake of simplicity this function does not check that the placeholders are
8593
+ * actually inside strings as it would anyway be extremely unlikely to find them outside of strings.
8594
+ *
8595
+ * @param input the css text containing the placeholders.
8596
+ *
8597
+ * @returns the css text without the placeholders.
8598
+ */
8599
+ function unescapeInStrings(input) {
8600
+ let result = input.replace(_cssCommaInPlaceholderReGlobal, ',');
8601
+ result = result.replace(_cssSemiInPlaceholderReGlobal, ';');
8602
+ result = result.replace(_cssColonInPlaceholderReGlobal, ':');
8603
+ return result;
8604
+ }
8605
+ /**
8606
+ * Unescape all quotes present in a string, but only if the string was actually already
8607
+ * quoted.
8608
+ *
8609
+ * This generates a "canonical" representation of strings which can be used to match strings
8610
+ * which would otherwise only differ because of differently escaped quotes.
8611
+ *
8612
+ * For example it converts the string (assumed to be quoted):
8613
+ * `this \\"is\\" a \\'\\\\'test`
8614
+ * to:
8615
+ * `this "is" a '\\\\'test`
8616
+ * (note that the latter backslashes are not removed as they are not actually escaping the single
8617
+ * quote)
8618
+ *
8619
+ *
8620
+ * @param input the string possibly containing escaped quotes.
8621
+ * @param isQuoted boolean indicating whether the string was quoted inside a bigger string (if not
8622
+ * then it means that it doesn't represent an inner string and thus no unescaping is required)
8623
+ *
8624
+ * @returns the string in the "canonical" representation without escaped quotes.
8625
+ */
8626
+ function unescapeQuotes(str, isQuoted) {
8627
+ return !isQuoted ? str : str.replace(/((?:^|[^\\])(?:\\\\)*)\\(?=['"])/g, '$1');
8628
+ }
8350
8629
  /**
8351
8630
  * Combine the `contextSelectors` with the `hostMarker` and the `otherSelectors`
8352
8631
  * to create a selector that matches the same as `:host-context()`.
@@ -20008,7 +20287,7 @@ function publishFacade(global) {
20008
20287
  * Use of this source code is governed by an MIT-style license that can be
20009
20288
  * found in the LICENSE file at https://angular.io/license
20010
20289
  */
20011
- const VERSION = new Version('15.0.0-next.3');
20290
+ const VERSION = new Version('15.0.0-next.5');
20012
20291
 
20013
20292
  /**
20014
20293
  * @license
@@ -20018,10 +20297,9 @@ const VERSION = new Version('15.0.0-next.3');
20018
20297
  * found in the LICENSE file at https://angular.io/license
20019
20298
  */
20020
20299
  class CompilerConfig {
20021
- constructor({ defaultEncapsulation = ViewEncapsulation.Emulated, useJit = true, jitDevMode = false, missingTranslation = null, preserveWhitespaces, strictInjectionParameters } = {}) {
20300
+ constructor({ defaultEncapsulation = ViewEncapsulation.Emulated, useJit = true, missingTranslation = null, preserveWhitespaces, strictInjectionParameters } = {}) {
20022
20301
  this.defaultEncapsulation = defaultEncapsulation;
20023
20302
  this.useJit = !!useJit;
20024
- this.jitDevMode = !!jitDevMode;
20025
20303
  this.missingTranslation = missingTranslation;
20026
20304
  this.preserveWhitespaces = preserveWhitespacesDefault(noUndefined(preserveWhitespaces));
20027
20305
  this.strictInjectionParameters = strictInjectionParameters === true;
@@ -22041,7 +22319,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$6 = '12.0.0';
22041
22319
  function compileDeclareClassMetadata(metadata) {
22042
22320
  const definitionMap = new DefinitionMap();
22043
22321
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$6));
22044
- definitionMap.set('version', literal('15.0.0-next.3'));
22322
+ definitionMap.set('version', literal('15.0.0-next.5'));
22045
22323
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22046
22324
  definitionMap.set('type', metadata.type);
22047
22325
  definitionMap.set('decorators', metadata.decorators);
@@ -22158,7 +22436,7 @@ function compileDeclareDirectiveFromMetadata(meta) {
22158
22436
  function createDirectiveDefinitionMap(meta) {
22159
22437
  const definitionMap = new DefinitionMap();
22160
22438
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
22161
- definitionMap.set('version', literal('15.0.0-next.3'));
22439
+ definitionMap.set('version', literal('15.0.0-next.5'));
22162
22440
  // e.g. `type: MyDirective`
22163
22441
  definitionMap.set('type', meta.internalType);
22164
22442
  if (meta.isStandalone) {
@@ -22397,7 +22675,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
22397
22675
  function compileDeclareFactoryFunction(meta) {
22398
22676
  const definitionMap = new DefinitionMap();
22399
22677
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
22400
- definitionMap.set('version', literal('15.0.0-next.3'));
22678
+ definitionMap.set('version', literal('15.0.0-next.5'));
22401
22679
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22402
22680
  definitionMap.set('type', meta.internalType);
22403
22681
  definitionMap.set('deps', compileDependencies(meta.deps));
@@ -22439,7 +22717,7 @@ function compileDeclareInjectableFromMetadata(meta) {
22439
22717
  function createInjectableDefinitionMap(meta) {
22440
22718
  const definitionMap = new DefinitionMap();
22441
22719
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
22442
- definitionMap.set('version', literal('15.0.0-next.3'));
22720
+ definitionMap.set('version', literal('15.0.0-next.5'));
22443
22721
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22444
22722
  definitionMap.set('type', meta.internalType);
22445
22723
  // Only generate providedIn property if it has a non-null value
@@ -22497,7 +22775,7 @@ function compileDeclareInjectorFromMetadata(meta) {
22497
22775
  function createInjectorDefinitionMap(meta) {
22498
22776
  const definitionMap = new DefinitionMap();
22499
22777
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
22500
- definitionMap.set('version', literal('15.0.0-next.3'));
22778
+ definitionMap.set('version', literal('15.0.0-next.5'));
22501
22779
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22502
22780
  definitionMap.set('type', meta.internalType);
22503
22781
  definitionMap.set('providers', meta.providers);
@@ -22534,7 +22812,7 @@ function compileDeclareNgModuleFromMetadata(meta) {
22534
22812
  function createNgModuleDefinitionMap(meta) {
22535
22813
  const definitionMap = new DefinitionMap();
22536
22814
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
22537
- definitionMap.set('version', literal('15.0.0-next.3'));
22815
+ definitionMap.set('version', literal('15.0.0-next.5'));
22538
22816
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22539
22817
  definitionMap.set('type', meta.internalType);
22540
22818
  // We only generate the keys in the metadata if the arrays contain values.
@@ -22592,7 +22870,7 @@ function compileDeclarePipeFromMetadata(meta) {
22592
22870
  function createPipeDefinitionMap(meta) {
22593
22871
  const definitionMap = new DefinitionMap();
22594
22872
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
22595
- definitionMap.set('version', literal('15.0.0-next.3'));
22873
+ definitionMap.set('version', literal('15.0.0-next.5'));
22596
22874
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22597
22875
  // e.g. `type: MyPipe`
22598
22876
  definitionMap.set('type', meta.internalType);