@tryghost/helpers 1.1.103 → 1.1.104
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/cjs/helpers.js +2 -2
- package/es/helpers.js +2 -2
- package/es/helpers.js.map +1 -1
- package/package.json +6 -6
- package/umd/helpers.min.js.map +1 -1
package/cjs/helpers.js
CHANGED
|
@@ -1762,7 +1762,7 @@ function setCacheAdd(value) {
|
|
|
1762
1762
|
* @name has
|
|
1763
1763
|
* @memberOf SetCache
|
|
1764
1764
|
* @param {*} value The value to search for.
|
|
1765
|
-
* @returns {
|
|
1765
|
+
* @returns {boolean} Returns `true` if `value` is found, else `false`.
|
|
1766
1766
|
*/
|
|
1767
1767
|
function setCacheHas(value) {
|
|
1768
1768
|
return this.__data__.has(value);
|
|
@@ -3668,7 +3668,7 @@ function readingTime (post, options = {}) {
|
|
|
3668
3668
|
|
|
3669
3669
|
/**
|
|
3670
3670
|
* Creates an array with all falsey values removed. The values `false`, `null`,
|
|
3671
|
-
* `0`, `""`, `undefined`, and `NaN` are
|
|
3671
|
+
* `0`, `-0`, `0n`, `""`, `undefined`, and `NaN` are falsy.
|
|
3672
3672
|
*
|
|
3673
3673
|
* @static
|
|
3674
3674
|
* @memberOf _
|
package/es/helpers.js
CHANGED
|
@@ -1758,7 +1758,7 @@ function setCacheAdd(value) {
|
|
|
1758
1758
|
* @name has
|
|
1759
1759
|
* @memberOf SetCache
|
|
1760
1760
|
* @param {*} value The value to search for.
|
|
1761
|
-
* @returns {
|
|
1761
|
+
* @returns {boolean} Returns `true` if `value` is found, else `false`.
|
|
1762
1762
|
*/
|
|
1763
1763
|
function setCacheHas(value) {
|
|
1764
1764
|
return this.__data__.has(value);
|
|
@@ -3650,7 +3650,7 @@ function readingTime (post, options = {}) {
|
|
|
3650
3650
|
|
|
3651
3651
|
/**
|
|
3652
3652
|
* Creates an array with all falsey values removed. The values `false`, `null`,
|
|
3653
|
-
* `0`, `""`, `undefined`, and `NaN` are
|
|
3653
|
+
* `0`, `-0`, `0n`, `""`, `undefined`, and `NaN` are falsy.
|
|
3654
3654
|
*
|
|
3655
3655
|
* @static
|
|
3656
3656
|
* @memberOf _
|