jest-snapshot
Advanced tools
Comparing version 16.0.0 to 16.0.2
@@ -79,2 +79,5 @@ /** | ||
const normalizeNewlines = | ||
string => string.replace(/\r\n/g, '\n'); | ||
const saveSnapshotFile = ( | ||
@@ -87,3 +90,3 @@ snapshotData, | ||
'exports[`' + escape(key) + '`] = `' + | ||
escape(snapshotData[key]) + '`;'); | ||
normalizeNewlines(escape(snapshotData[key])) + '`;'); | ||
@@ -90,0 +93,0 @@ |
{ | ||
"name": "jest-snapshot", | ||
"version": "16.0.0", | ||
"version": "16.0.2", | ||
"repository": { | ||
@@ -14,3 +14,3 @@ "type": "git", | ||
"jest-matcher-utils": "^16.0.0", | ||
"jest-util": "^16.0.0", | ||
"jest-util": "^16.0.2", | ||
"natural-compare": "^1.4.0", | ||
@@ -17,0 +17,0 @@ "pretty-format": "~4.2.1" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11314
313
Updatedjest-util@^16.0.2