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.0 to 3.5.1

fbkpm.lock

10

index.js

@@ -39,4 +39,2 @@ 'use strict';

function printFunction(val) {

@@ -265,3 +263,9 @@ if (val.name === '') {

function print(val, indent, prevIndent, refs, maxDepth, currentDepth, plugins) {
return printBasicValue(val) || printComplexValue(val, indent, prevIndent, refs, maxDepth, currentDepth, plugins);
const basic = printBasicValue(val);
if (basic) return basic;
const plugin = printPlugin(val, indent, prevIndent, refs, maxDepth, currentDepth, plugins);
if (plugin) return plugin;
return printComplexValue(val, indent, prevIndent, refs, maxDepth, currentDepth, plugins);
}

@@ -268,0 +272,0 @@

@@ -0,1 +1,3 @@

## ISC License
Copyright (c) 2016, James Kyle <me@thejameskyle.com>

@@ -2,0 +4,0 @@

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

@@ -5,0 +5,0 @@ "license": "MIT",

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