@js-joda/extra 0.10.0 → 0.10.1

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/README.md CHANGED
@@ -3,12 +3,12 @@
3
3
  ## additional date-time classes that complement those in js-joda
4
4
 
5
5
  [![npm version](https://badge.fury.io/js/%40js-joda%2Fextra.svg)](https://badge.fury.io/js/%40js-joda%2Fextra)
6
- [![Travis Build Status](https://travis-ci.org/js-joda/js-joda.svg)](https://travis-ci.org/js-joda/js-joda)
6
+ [![GH Actions Build Status](https://github.com/js-joda/js-joda/actions/workflows/tests.yaml/badge.svg?branch=main)](https://github.com/js-joda/js-joda/actions)
7
7
  [![Sauce Test Status](https://saucelabs.com/buildstatus/js-joda)](https://saucelabs.com/u/js-joda)
8
- [![Coverage Status](https://coveralls.io/repos/js-joda/js-joda/badge.svg?branch=master&service=github)](https://coveralls.io/github/js-joda/js-joda?branch=master)
8
+ [![Coverage Status](https://coveralls.io/repos/js-joda/js-joda/badge.svg?branch=main&service=github)](https://coveralls.io/github/js-joda/js-joda?branch=main)
9
9
  [![Downloads/Month](https://img.shields.io/npm/dm/%40js-joda%2Fextra.svg)](https://img.shields.io/npm/dm/%40js-joda%2Fextra.svg)
10
10
 
11
- [![Sauce Browser Matrix](https://saucelabs.com/browser-matrix/js-joda.svg?branch=master)](https://saucelabs.com/u/js-joda)
11
+ [![Sauce Browser Matrix](https://saucelabs.com/browser-matrix/js-joda.svg?branch=main&42)](https://saucelabs.com/u/js-joda)
12
12
 
13
13
  Attempt to port https://github.com/ThreeTen/threeten-extra to https://github.com/js-joda/js-joda as a js-joda plugin.
14
14
 
@@ -1,4 +1,4 @@
1
- //! @version @js-joda/extra - 0.10.0
1
+ //! @version @js-joda/extra - 0.10.1
2
2
  //! @copyright (c) 2015-present, Philipp Thürwächter, Pattrick Hüper & js-joda contributors
3
3
  //! @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos
4
4
  //! @license BSD-3-Clause (see LICENSE in the root directory of this source tree)
@@ -977,7 +977,7 @@ var LocalDateRange = function () {
977
977
 
978
978
  _proto.lengthInDays = function lengthInDays() {
979
979
  if (this.isUnboundedStart() || this.isUnboundedEnd()) {
980
- return Number.NaN;
980
+ return Number.POSITIVE_INFINITY;
981
981
  }
982
982
 
983
983
  return this._end.toEpochDay() - this._start.toEpochDay();