lib0 0.2.48 → 0.2.49

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/test.js CHANGED
@@ -2926,7 +2926,7 @@
2926
2926
  return num >>> 0 // return unsigned number!
2927
2927
  }
2928
2928
  /* istanbul ignore if */
2929
- if (len > 35) {
2929
+ if (len > 53) {
2930
2930
  throw new Error('Integer out of range!')
2931
2931
  }
2932
2932
  }
@@ -2960,7 +2960,7 @@
2960
2960
  return sign * (num >>> 0)
2961
2961
  }
2962
2962
  /* istanbul ignore if */
2963
- if (len > 41) {
2963
+ if (len > 53) {
2964
2964
  throw new Error('Integer out of range!')
2965
2965
  }
2966
2966
  }
@@ -4605,8 +4605,8 @@
4605
4605
  }
4606
4606
  });
4607
4607
  });
4608
+ assert(durationConcatElements < durationConcatElementsNative * 1.3, '1.3x faster. We expect that the native approach is slower. If this fails, our expectantion is not met in your javascript environment. Please report this issue.');
4608
4609
  assert(durationConcatElements < durationSingleElements, 'We expect that the second approach is faster. If this fails, our expectantion is not met in your javascript environment. Please report this issue.');
4609
- assert(durationConcatElements < durationConcatElementsNative * 1.3, 'We expect that the native approach is slower. If this fails, our expectantion is not met in your javascript environment. Please report this issue.');
4610
4610
  };
4611
4611
 
4612
4612
  /**