Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

string-kit

Package Overview
Dependencies
Maintainers
1
Versions
221
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

string-kit - npm Package Compare versions

Comparing version 0.11.3 to 0.11.5

10

lib/format.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc