@guardian/feast-multiplatform-library 13.0.0 → 15.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.
@@ -2960,12 +2960,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
2960
2960
  function setOf(element) {
2961
2961
  return hashSetOf([element]);
2962
2962
  }
2963
- function mapCapacity(expectedSize) {
2964
- return expectedSize;
2965
- }
2966
2963
  function mapOf(pair) {
2967
2964
  return hashMapOf([pair]);
2968
2965
  }
2966
+ function mapCapacity(expectedSize) {
2967
+ return expectedSize;
2968
+ }
2969
2969
  function listOf(element) {
2970
2970
  // Inline function 'kotlin.arrayOf' call
2971
2971
  // Inline function 'kotlin.js.unsafeCast' call
@@ -5886,15 +5886,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
5886
5886
  STRING_CASE_INSENSITIVE_ORDER = new sam$kotlin_Comparator$0(tmp);
5887
5887
  }
5888
5888
  }
5889
- function endsWith(_this__u8e3s4, suffix, ignoreCase) {
5890
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
5891
- if (!ignoreCase) {
5892
- // Inline function 'kotlin.text.nativeEndsWith' call
5893
- // Inline function 'kotlin.js.asDynamic' call
5894
- return _this__u8e3s4.endsWith(suffix);
5895
- } else
5896
- return regionMatches(_this__u8e3s4, _this__u8e3s4.length - suffix.length | 0, suffix, 0, suffix.length, ignoreCase);
5897
- }
5898
5889
  function replace(_this__u8e3s4, oldValue, newValue, ignoreCase) {
5899
5890
  ignoreCase = ignoreCase === VOID ? false : ignoreCase;
5900
5891
  var tmp2 = new RegExp(Companion_getInstance_5().ma(oldValue), ignoreCase ? 'gui' : 'gu');
@@ -5907,6 +5898,15 @@ if (typeof String.prototype.endsWith === 'undefined') {
5907
5898
  ignoreCase = ignoreCase === VOID ? false : ignoreCase;
5908
5899
  return regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase);
5909
5900
  }
5901
+ function endsWith(_this__u8e3s4, suffix, ignoreCase) {
5902
+ ignoreCase = ignoreCase === VOID ? false : ignoreCase;
5903
+ if (!ignoreCase) {
5904
+ // Inline function 'kotlin.text.nativeEndsWith' call
5905
+ // Inline function 'kotlin.js.asDynamic' call
5906
+ return _this__u8e3s4.endsWith(suffix);
5907
+ } else
5908
+ return regionMatches(_this__u8e3s4, _this__u8e3s4.length - suffix.length | 0, suffix, 0, suffix.length, ignoreCase);
5909
+ }
5910
5910
  function startsWith(_this__u8e3s4, prefix, ignoreCase) {
5911
5911
  ignoreCase = ignoreCase === VOID ? false : ignoreCase;
5912
5912
  if (!ignoreCase) {