Socket
Socket
Sign inDemoInstall

jest-diff

Package Overview
Dependencies
12
Maintainers
3
Versions
227
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 30.0.0-alpha.2 to 30.0.0-alpha.3

14

build/index.js

@@ -801,3 +801,2 @@ /*!

);
this.line.length = 0;

@@ -820,4 +819,3 @@ }

const iLast = substrings.length - 1;
for (let i = 0; i < substrings.length; i++) {
const substring = substrings[i];
for (const [i, substring] of substrings.entries()) {
if (i < iLast) {

@@ -887,4 +885,3 @@ // The first substring completes the current change line.

const iLast = substrings.length - 1;
for (let i = 0; i < substrings.length; i++) {
const substring = substrings[i];
for (const [i, substring] of substrings.entries()) {
if (i === 0) {

@@ -1055,3 +1052,2 @@ const subdiff = new _cleanupSemantic.Diff(op, substring);

}
const jLast = jLength - 1;

@@ -1270,3 +1266,2 @@ const lines = [];

);
if (hasCommonDiff(diffs, isMultiline)) {

@@ -1291,3 +1286,2 @@ const optionsNormalized = (0, _normalizeDiffOptions.normalizeDiffOptions)(options);

}
return diffs;

@@ -1480,6 +1474,6 @@ };

function sortMap(map) {
return new Map(Array.from(map.entries()).sort());
return new Map([...map.entries()].sort());
}
function sortSet(set) {
return new Set(Array.from(set.values()).sort());
return new Set([...set.values()].sort());
}

@@ -1486,0 +1480,0 @@ function compareObjects(a, b, options) {

{
"name": "jest-diff",
"version": "30.0.0-alpha.2",
"version": "30.0.0-alpha.3",
"repository": {

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

"chalk": "^4.0.0",
"diff-sequences": "30.0.0-alpha.2",
"jest-get-type": "30.0.0-alpha.2",
"pretty-format": "30.0.0-alpha.2"
"diff-sequences": "30.0.0-alpha.3",
"jest-get-type": "30.0.0-alpha.3",
"pretty-format": "30.0.0-alpha.3"
},
"devDependencies": {
"@jest/test-utils": "30.0.0-alpha.2",
"@jest/test-utils": "30.0.0-alpha.3",
"strip-ansi": "^6.0.0"

@@ -38,3 +38,3 @@ },

},
"gitHead": "c04d13d7abd22e47b0997f6027886aed225c9ce4"
"gitHead": "e267aff33d105399f2134bad7c8f82285104f3da"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc