@ejfdelgado/ejflab-common 1.16.5 → 1.16.7

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ejfdelgado/ejflab-common",
3
3
  "type": "commonjs",
4
- "version": "1.16.5",
4
+ "version": "1.16.7",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/ejfdelgado/ejflab-common.git"
package/src/MyDates.js CHANGED
@@ -64,7 +64,7 @@ class MyDates {
64
64
  "Sat",
65
65
  "Sunday",
66
66
  "Monday",
67
- "Thuesday",
67
+ "Tuesday",
68
68
  "Wednesday",
69
69
  "Thursday",
70
70
  "Friday",
package/src/MyTuples.js CHANGED
@@ -421,7 +421,7 @@ class MyTuples {
421
421
  }
422
422
 
423
423
  const compFun = (a, b) => {
424
- return b.k.length - a.k.length;
424
+ return a.k.length - b.k.length;
425
425
  };
426
426
  batch['*'].sort(compFun);
427
427
  batch['-'].sort(compFun);
@@ -432,6 +432,9 @@ class MyTuples {
432
432
  myFreeze = JSON.stringify(nuevo);
433
433
  pending.push(batch);
434
434
  startProcess();
435
+ } else {
436
+ // Nothing to do...
437
+ setActivityStatus(false);
435
438
  }
436
439
 
437
440
  return batch;
@@ -173,8 +173,11 @@ const test = async () => {
173
173
  throw Error(`referencia ${referencia} \nintercambio ${intercambio}\nresultadoTxt ${resultadoTxt}`);
174
174
  }
175
175
 
176
+ prueba.e.r = differences.r;
177
+ prueba.e.t = differences.t;
178
+ prueba.e.total = differences.total;
176
179
  if (sortify(prueba.e) != differencesTxt) {
177
- throw Error(`Modificación fallida ${JSON.stringify(prueba)}\n${differencesTxt}`);
180
+ throw Error(`Modificación fallida ${sortify(prueba.e)}\n${differencesTxt}`);
178
181
  }
179
182
 
180
183
  if (sortify(prueba.f) != sortify(afectado)) {
@@ -325,6 +328,7 @@ const testSimple = () => {
325
328
  console.log(afectado3);
326
329
  }
327
330
 
328
- testSimple();
331
+ test();
332
+ //testSimple();
329
333
  //testArrayCompress();
330
334
  //testConverter();