string-kit
Advanced tools
Comparing version 0.11.3 to 0.11.5
@@ -889,2 +889,3 @@ /* | ||
var match , k , v , | ||
outputMaxLength , | ||
depth = 3 , | ||
@@ -903,2 +904,5 @@ style = options && options.color ? 'color' : 'none' ; | ||
} | ||
else if ( k === 'l' ) { | ||
outputMaxLength = parseInt( v , 10 ) || undefined ; | ||
} | ||
else if ( ! k ) { | ||
@@ -911,7 +915,6 @@ depth = parseInt( v , 10 ) || 1 ; | ||
if ( isInspectError ) { | ||
return inspectError( Object.assign( { depth , style } , modeOptions ) , arg ) ; | ||
return inspectError( Object.assign( { depth , style , outputMaxLength } , modeOptions ) , arg ) ; | ||
} | ||
return inspect( Object.assign( { depth , style } , modeOptions ) , arg ) ; | ||
return inspect( Object.assign( { depth , style , outputMaxLength } , modeOptions ) , arg ) ; | ||
} | ||
@@ -922,2 +925,3 @@ | ||
// From math-kit module | ||
// /!\ Should be updated with the new way the math-kit module do it!!! /!\ | ||
const EPSILON = 0.0000000001 ; | ||
@@ -924,0 +928,0 @@ const INVERSE_EPSILON = Math.round( 1 / EPSILON ) ; |
{ | ||
"name": "string-kit", | ||
"version": "0.11.3", | ||
"version": "0.11.5", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=6.0.0" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
253300
3822