@reliverse/relinka 1.5.7 → 1.5.9

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.
Files changed (2) hide show
  1. package/bin/impl.js +3 -1
  2. package/package.json +2 -2
package/bin/impl.js CHANGED
@@ -328,7 +328,9 @@ async function getLogFilesSortedByDate(config) {
328
328
  return null;
329
329
  }
330
330
  });
331
- const logFileInfos = (await Promise.all(fileInfoPromises)).filter(Boolean);
331
+ const logFileInfos = (await Promise.all(fileInfoPromises)).filter(
332
+ (info) => info !== null
333
+ );
332
334
  return logFileInfos.sort((a, b) => b.mtime - a.mtime);
333
335
  } catch (_readErr) {
334
336
  if (isVerboseEnabled(config)) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "dependencies": {
3
3
  "@reliverse/pathkit": "^1.3.4",
4
- "@reliverse/relico": "^1.3.5",
4
+ "@reliverse/relico": "^1.3.7",
5
5
  "@reliverse/relifso": "^1.4.5",
6
6
  "c12": "^3.2.0"
7
7
  },
@@ -10,7 +10,7 @@
10
10
  "license": "MIT",
11
11
  "name": "@reliverse/relinka",
12
12
  "type": "module",
13
- "version": "1.5.7",
13
+ "version": "1.5.9",
14
14
  "keywords": [
15
15
  "logger",
16
16
  "consola",