Socket
Socket
Sign inDemoInstall

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.4.1 to 3.4.2

3

index.js

@@ -144,3 +144,4 @@ 'use strict';

function printObject(val, indent, prevIndent, refs, maxDepth, currentDepth, plugins) {
var result = val.constructor.name + ' {';
var constructor = val.constructor ? val.constructor.name + ' ' : 'Object ';
var result = constructor + '{';
var keys = Object.keys(val).sort();

@@ -147,0 +148,0 @@ var symbols = getSymbols(val);

{
"name": "pretty-format",
"version": "3.4.1",
"version": "3.4.2",
"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