Socket
Socket
Sign inDemoInstall

pretty-format

Package Overview
Dependencies
Maintainers
6
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 27.0.6 to 27.1.0

3

build/index.d.ts

@@ -7,4 +7,5 @@ /**

*/
import type { NewPlugin, OptionsReceived } from './types';
import type { NewPlugin, Options, OptionsReceived } from './types';
export type { Colors, Config, Options, OptionsReceived, OldPlugin, NewPlugin, Plugin, Plugins, Printer, Refs, Theme, } from './types';
export declare const DEFAULT_OPTIONS: Options;
/**

@@ -11,0 +12,0 @@ * Returns a presentation string of your `val` object

@@ -7,3 +7,3 @@ 'use strict';

exports.format = format;
exports.default = exports.plugins = void 0;
exports.default = exports.plugins = exports.DEFAULT_OPTIONS = void 0;

@@ -424,2 +424,3 @@ var _ansiStyles = _interopRequireDefault(require('ansi-styles'));

};
exports.DEFAULT_OPTIONS = DEFAULT_OPTIONS;

@@ -426,0 +427,0 @@ function validateOptions(options) {

@@ -118,3 +118,3 @@ 'use strict';

SPACE +
'{' + // from Immutable collection of entries or from ECMAScript object
'{' +
(val._iter || val._object

@@ -121,0 +121,0 @@ ? (0, _collections.printIteratorEntries)(

@@ -59,3 +59,3 @@ /**

};
export declare type OptionsReceived = {
export interface PrettyFormatOptions {
callToJSON?: boolean;

@@ -72,3 +72,4 @@ escapeRegex?: boolean;

theme?: ThemeReceived;
};
}
export declare type OptionsReceived = PrettyFormatOptions;
export declare type Config = {

@@ -75,0 +76,0 @@ callToJSON: boolean;

{
"name": "pretty-format",
"version": "27.0.6",
"version": "27.1.0",
"repository": {

@@ -19,3 +19,3 @@ "type": "git",

"dependencies": {
"@jest/types": "^27.0.6",
"@jest/types": "^27.1.0",
"ansi-regex": "^5.0.0",

@@ -30,3 +30,3 @@ "ansi-styles": "^5.0.0",

"immutable": "4.0.0-rc.9",
"jest-util": "^27.0.6",
"jest-util": "^27.1.0",
"react": "*",

@@ -42,3 +42,3 @@ "react-dom": "*",

},
"gitHead": "d257d1c44ba62079bd4307ae78ba226d47c56ac9"
"gitHead": "5ef792e957e83428d868a18618b8629e32719993"
}
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