Socket
Socket
Sign inDemoInstall

jest-snapshot

Package Overview
Dependencies
Maintainers
4
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 15.0.1 to 15.1.0

7

build/SnapshotFile.js

@@ -12,9 +12,12 @@ /**

const ReactElementPlugin = require('pretty-format/plugins/ReactElement');
const ReactTestComponentPlugin = require('pretty-format/plugins/ReactTestComponent');
const createDirectory = require('jest-util').createDirectory;
const fileExists = require('jest-file-exists');
const fs = require('fs');
const jsxLikeExtension = require('pretty-format/plugins/ReactTestComponent');
const path = require('path');
const prettyFormat = require('pretty-format');
const jsxLikePlugins = [ReactElementPlugin, ReactTestComponentPlugin];
const SNAPSHOT_EXTENSION = 'snap';

@@ -94,3 +97,3 @@

return addExtraLineBreaks(prettyFormat(data, {
plugins: [jsxLikeExtension] }));
plugins: jsxLikePlugins }));

@@ -97,0 +100,0 @@ }

{
"name": "jest-snapshot",
"version": "15.0.1",
"version": "15.1.0",
"repository": {

@@ -11,6 +11,6 @@ "type": "git",

"dependencies": {
"jest-diff": "^15.0.1",
"jest-diff": "^15.1.0",
"jest-file-exists": "^15.0.0",
"jest-util": "^15.0.1",
"pretty-format": "^3.6.0"
"jest-util": "^15.1.0",
"pretty-format": "^3.7.0"
},

@@ -17,0 +17,0 @@ "scripts": {

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