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

pretty-format

Package Overview
Dependencies
Maintainers
2
Versions
237
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pretty-format - npm Package Compare versions

Comparing version 3.5.1 to 3.5.2

8

package.json
{
"name": "pretty-format",
"version": "3.5.1",
"version": "3.5.2",
"description": "Stringify any JavaScript value.",

@@ -23,6 +23,6 @@ "license": "MIT",

"chalk": "^1.1.3",
"jest": "^13.2.3",
"left-pad": "^1.1.0",
"react": "15.2.0-rc.1"
"jest": "^14.1.0",
"left-pad": "^1.1.1",
"react": "15.3.0"
}
}

@@ -29,3 +29,5 @@ 'use strict';

function printElement(element, print, indent) {
if (typeof element === 'string') {
if (typeof element == 'number') {
return print(element);
} else if (typeof element === 'string') {
return printString(element);

@@ -32,0 +34,0 @@ }

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