asv-hlps 1.0.20 → 1.0.21

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.
@@ -217,10 +217,7 @@ const genSequenceRef = (refs, startChars, zeroFillWidth, dateFormat = '') => {
217
217
  return startChars + dateFormat + (0, exports.fillNumWithZero)(1, zeroFillWidth);
218
218
  }
219
219
  else {
220
- const seqs = (0, exports.sequencesToNumbers)(refs);
221
- console.log('------ fghj ------');
222
- console.log(seqs);
223
- console.log('------ fghj ------');
220
+ const seqs = (0, exports.sequencesToNumbers)(refs).sort((a, b) => a - b);
224
221
  const missingSequences = (0, exports.absFromSequence)(seqs);
225
222
  if (!missingSequences.length) {
226
223
  /* if(seqs.length === 1) => {
@@ -179,10 +179,7 @@ export const genSequenceRef = (refs, startChars, zeroFillWidth, dateFormat = '')
179
179
  return startChars + dateFormat + fillNumWithZero(1, zeroFillWidth);
180
180
  }
181
181
  else {
182
- const seqs = sequencesToNumbers(refs);
183
- console.log('------ fghj ------');
184
- console.log(seqs);
185
- console.log('------ fghj ------');
182
+ const seqs = sequencesToNumbers(refs).sort((a, b) => a - b);
186
183
  const missingSequences = absFromSequence(seqs);
187
184
  if (!missingSequences.length) {
188
185
  /* if(seqs.length === 1) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asv-hlps",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "module": "./lib/esm/index.js",