mirror of
https://github.com/tj-actions/changed-files
synced 2025-03-07 09:27:23 +00:00
Added missing changes and modified dist assets.
This commit is contained in:
parent
e4fe134b73
commit
a77ecbc238
2 changed files with 25 additions and 8 deletions
31
dist/index.js
generated
vendored
31
dist/index.js
generated
vendored
|
@ -12712,7 +12712,7 @@ function formatDouble( token ) {
|
||||||
}
|
}
|
||||||
if ( !token.alternate ) {
|
if ( !token.alternate ) {
|
||||||
out = replace.call( out, RE_ZERO_BEFORE_EXP, '$1e' );
|
out = replace.call( out, RE_ZERO_BEFORE_EXP, '$1e' );
|
||||||
out = replace.call( out, RE_PERIOD_ZERO_EXP, 'e');
|
out = replace.call( out, RE_PERIOD_ZERO_EXP, 'e' );
|
||||||
out = replace.call( out, RE_TRAILING_PERIOD_ZERO, '' );
|
out = replace.call( out, RE_TRAILING_PERIOD_ZERO, '' );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -13054,12 +13054,30 @@ var zeroPad = __nccwpck_require__( 6267 );
|
||||||
// VARIABLES //
|
// VARIABLES //
|
||||||
|
|
||||||
var fromCharCode = String.fromCharCode;
|
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.
|
var isArray = Array.isArray; // NOTE: We use the global `Array.isArray` function here instead of `@stdlib/assert/is-array` to avoid circular dependencies.
|
||||||
|
|
||||||
|
|
||||||
// FUNCTIONS //
|
// 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.
|
* 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':
|
||||||
// Case: %s (string)
|
// Case: %s (string)
|
||||||
token.maxWidth = ( hasPeriod ) ? token.precision : -1;
|
token.maxWidth = ( hasPeriod ) ? token.precision : -1;
|
||||||
|
token.arg = String( token.arg );
|
||||||
break;
|
break;
|
||||||
case 'c':
|
case 'c':
|
||||||
// Case: %c (character)
|
// Case: %c (character)
|
||||||
|
@ -13197,9 +13216,7 @@ function formatInterpolate( tokens ) {
|
||||||
if ( num < 0 || num > 127 ) {
|
if ( num < 0 || num > 127 ) {
|
||||||
throw new Error( 'invalid character code. Value: ' + token.arg );
|
throw new Error( 'invalid character code. Value: ' + token.arg );
|
||||||
}
|
}
|
||||||
token.arg = ( isnan( num ) ) ?
|
token.arg = ( isnan( num ) ) ? String( token.arg ) : fromCharCode( num ); // eslint-disable-line max-len
|
||||||
String( token.arg ) :
|
|
||||||
fromCharCode( num );
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'e':
|
case 'e':
|
||||||
|
@ -13746,7 +13763,7 @@ module.exports = main;
|
||||||
* return capitalize( p1 );
|
* return capitalize( p1 );
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* var out = replace( str, /([^\s]*)/gi, replacer);
|
* var out = replace( str, /([^\s]*)/gi, replacer );
|
||||||
* // returns 'Oranges And Lemons Say The Bells Of St. Clement\'s'
|
* // returns 'Oranges And Lemons Say The Bells Of St. Clement\'s'
|
||||||
*/
|
*/
|
||||||
function replace( str, search, newval ) {
|
function replace( str, search, newval ) {
|
||||||
|
@ -14053,7 +14070,7 @@ var base = __nccwpck_require__( 2569 );
|
||||||
* return capitalize( p1 );
|
* return capitalize( p1 );
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* var out = replace( str, /([^\s]*)/gi, replacer);
|
* var out = replace( str, /([^\s]*)/gi, replacer );
|
||||||
* // returns 'Oranges And Lemons Say The Bells Of St. Clement\'s'
|
* // returns 'Oranges And Lemons Say The Bells Of St. Clement\'s'
|
||||||
*/
|
*/
|
||||||
function replace( str, search, newval ) {
|
function replace( str, search, newval ) {
|
||||||
|
|
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue