@poe-platform/safe-js 0.1.460 → 0.1.462

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.
@@ -11854,7 +11854,7 @@ function ResolvePlural(pl, n, { getInternalSlots: getInternalSlots3, PluralRuleS
11854
11854
  }).pluralCategory;
11855
11855
  }
11856
11856
  function ResolvePluralRange(pluralRules, x, y, { getInternalSlots: getInternalSlots3, PluralRuleSelect: PluralRuleSelect2, PluralRuleSelectRange: PluralRuleSelectRange2 }) {
11857
- if (!x.isFinite() || !y.isFinite()) throw new RangeError("selectRange requires start and end values to be finite numbers");
11857
+ if (x.isNaN() || y.isNaN()) throw new RangeError("selectRange endpoints must not be NaN");
11858
11858
  const internalSlots = getInternalSlots3(pluralRules);
11859
11859
  invariant$1(Type(internalSlots) === "Object", "pluralRules has to be an object");
11860
11860
  invariant$1("initializedPluralRules" in internalSlots, "pluralrules must be initialized");
@@ -11919,6 +11919,10 @@ var PluralRules = class PluralRules2 {
11919
11919
  if (val !== void 0) opts[field] = val;
11920
11920
  });
11921
11921
  opts.pluralCategories = [...PluralRules2.localeData[opts.locale].categories[opts.type]];
11922
+ opts.roundingIncrement = internalSlots.roundingIncrement;
11923
+ opts.roundingMode = internalSlots.roundingMode;
11924
+ opts.roundingPriority = internalSlots.roundingPriority;
11925
+ opts.trailingZeroDisplay = internalSlots.trailingZeroDisplay;
11922
11926
  return opts;
11923
11927
  }
11924
11928
  select(val) {
@@ -56305,4 +56309,4 @@ The above copyright notice and this permission notice shall be included in all c
56305
56309
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
56306
56310
 
56307
56311
  */
56308
- //# sourceMappingURL=chunk-BJWRB7U7.js.map
56312
+ //# sourceMappingURL=chunk-2PVMLKJL.js.map