🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@vitest/snapshot

Package Overview
Dependencies
Maintainers
5
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vitest/snapshot - npm Package Compare versions

Comparing version
5.0.0-beta.5
to
5.0.0-beta.6
+1
-1
dist/index.js

@@ -813,3 +813,3 @@ import { parseErrorStacktrace } from '@vitest/utils/source-map';

// normalize EOL when snapshot contains CRLF but received is LF
if (rawSnapshot.content && rawSnapshot.content.match(/\r\n/) && !receivedSerialized.match(/\r\n/)) {
if (rawSnapshot.content && /\r\n/.test(rawSnapshot.content) && !/\r\n/.test(receivedSerialized)) {
rawSnapshot.content = normalizeNewlines(rawSnapshot.content);

@@ -816,0 +816,0 @@ }

{
"name": "@vitest/snapshot",
"type": "module",
"version": "5.0.0-beta.5",
"version": "5.0.0-beta.6",
"description": "Vitest snapshot manager",

@@ -51,4 +51,4 @@ "license": "MIT",

"pathe": "^2.0.3",
"@vitest/pretty-format": "5.0.0-beta.5",
"@vitest/utils": "5.0.0-beta.5"
"@vitest/pretty-format": "5.0.0-beta.6",
"@vitest/utils": "5.0.0-beta.6"
},

@@ -55,0 +55,0 @@ "devDependencies": {