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

jest-snapshot

Package Overview
Dependencies
Maintainers
5
Versions
280
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-snapshot - npm Package Compare versions

Comparing version 21.3.0-beta.6 to 21.3.0-beta.7

22

build/mock_serializer.js

@@ -20,8 +20,22 @@ 'use strict';Object.defineProperty(exports, "__esModule", { value: true });

{
const mockObject = {
calls: val.mock.calls,
name: val.getMockName() };
const indentationNext = indentation + config.indent;
return (
'MockFunction {\n' +
`${indentationNext}"calls": ${printer(
val.mock.calls,
config,
indentationNext,
depth,
refs)
},\n` +
`${indentationNext}"name": ${printer(
val.getMockName(),
config,
indentationNext,
depth,
refs)
},\n` +
'}');
return printer(mockObject, config, indentation, depth, refs);
}; /**

@@ -28,0 +42,0 @@ * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.

8

package.json
{
"name": "jest-snapshot",
"version": "21.3.0-beta.6",
"version": "21.3.0-beta.7",
"repository": {

@@ -12,8 +12,8 @@ "type": "git",

"chalk": "^2.0.1",
"jest-diff": "21.3.0-beta.6",
"jest-matcher-utils": "21.3.0-beta.6",
"jest-diff": "21.3.0-beta.7",
"jest-matcher-utils": "21.3.0-beta.7",
"mkdirp": "^0.5.1",
"natural-compare": "^1.4.0",
"pretty-format": "21.3.0-beta.6"
"pretty-format": "21.3.0-beta.7"
}
}
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