@nestia/e2e 12.1.0 → 13.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/GaffComparator.js
CHANGED
|
@@ -111,9 +111,7 @@ var GaffComparator;
|
|
|
111
111
|
const a = wrap(getter(x));
|
|
112
112
|
const b = wrap(getter(y));
|
|
113
113
|
const idx = a.findIndex((v, i) => v !== b[i]);
|
|
114
|
-
return idx !== -1
|
|
115
|
-
? compare(a[idx], b[idx])
|
|
116
|
-
: a.length - b.length;
|
|
114
|
+
return idx !== -1 ? compare(a[idx], b[idx]) : a.length - b.length;
|
|
117
115
|
};
|
|
118
116
|
/**
|
|
119
117
|
* Creates a comparator function for date-based sorting with automatic string
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GaffComparator.js","sourceRoot":"","sources":["../src/GaffComparator.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,IAAiB,cAAc,
|
|
1
|
+
{"version":3,"file":"GaffComparator.js","sourceRoot":"","sources":["../src/GaffComparator.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,IAAiB,cAAc,CAgP9B;AAhPD,WAAiB,cAAc;IAC7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyDG;IACU,sBAAO,GAClB,CAAI,MAAuC,EAAE,EAAE,CAC/C,CAAC,CAAI,EAAE,CAAI,EAAU,EAAE;QACrB,MAAM,CAAC,GAAa,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;QACpC,MAAM,CAAC,GAAa,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;QAEpC,MAAM,GAAG,GAAW,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,C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,CAAI,OAAwC,EAAE,EAAE,CAChD,CAAC,CAAI,EAAE,CAAI,EAAU,EAAE;QACrB,MAAM,CAAC,GAAa,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;QACrC,MAAM,CAAC,GAAa,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;QAErC,MAAM,GAAG,GAAW,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACtD,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAE,GAAG,CAAC,CAAC,GAAG,CAAE,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9D,CAAC,CAAC;IAEJ,MAAM,OAAO,GAAG,CAAC,CAAS,EAAE,CAAS,EAAE,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;IAE7D,MAAM,IAAI,GAAG,CAAI,IAAa,EAAO,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;AAChF,CAAC,EAhPgB,cAAc,aAAd,cAAc,GAAd,cAAc,QAgP9B"}
|
package/package.json
CHANGED
package/src/GaffComparator.ts
CHANGED
|
@@ -110,9 +110,7 @@ export namespace GaffComparator {
|
|
|
110
110
|
const b: string[] = wrap(getter(y));
|
|
111
111
|
|
|
112
112
|
const idx: number = a.findIndex((v, i) => v !== b[i]);
|
|
113
|
-
return idx !== -1
|
|
114
|
-
? compare(a[idx]!, b[idx]!)
|
|
115
|
-
: a.length - b.length;
|
|
113
|
+
return idx !== -1 ? compare(a[idx]!, b[idx]!) : a.length - b.length;
|
|
116
114
|
};
|
|
117
115
|
|
|
118
116
|
/**
|