Added missing changes and modified dist assets.

This commit is contained in:
GitHub Action 2024-07-27 03:50:25 +00:00 committed by renovate[bot]
parent e4fe134b73
commit a77ecbc238
2 changed files with 25 additions and 8 deletions

25
dist/index.js generated vendored
View File

@ -13054,12 +13054,30 @@ var zeroPad = __nccwpck_require__( 6267 );
// VARIABLES //
var fromCharCode = String.fromCharCode;
var isnan = isNaN; // NOTE: We use the global `isNaN` function here instead of `@stdlib/math/base/assert/is-nan` to avoid circular dependencies.
var isArray = Array.isArray; // NOTE: We use the global `Array.isArray` function here instead of `@stdlib/assert/is-array` to avoid circular dependencies.
// FUNCTIONS //
/**
* Returns a boolean indicating whether a value is `NaN`.
*
* @private
* @param {*} value - input value
* @returns {boolean} boolean indicating whether a value is `NaN`
*
* @example
* var bool = isnan( NaN );
* // returns true
*
* @example
* var bool = isnan( 4 );
* // returns false
*/
function isnan( value ) { // explicitly define a function here instead of `@stdlib/math/base/assert/is-nan` in order to avoid circular dependencies
return ( value !== value );
}
/**
* Initializes token object with properties of supplied format identifier object or default values if not present.
*
@ -13189,6 +13207,7 @@ function formatInterpolate( tokens ) {
case 's':
// Case: %s (string)
token.maxWidth = ( hasPeriod ) ? token.precision : -1;
token.arg = String( token.arg );
break;
case 'c':
// Case: %c (character)
@ -13197,9 +13216,7 @@ function formatInterpolate( tokens ) {
if ( num < 0 || num > 127 ) {
throw new Error( 'invalid character code. Value: ' + token.arg );
}
token.arg = ( isnan( num ) ) ?
String( token.arg ) :
fromCharCode( num );
token.arg = ( isnan( num ) ) ? String( token.arg ) : fromCharCode( num ); // eslint-disable-line max-len
}
break;
case 'e':

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long