utilitas 1989.9.25 → 1989.9.26

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/bot.mjs CHANGED
@@ -71,8 +71,8 @@ const init = async (options) => {
71
71
  const files = (fs.readdirSync(skillPath) || []).filter(
72
72
  file => /\.mjs$/i.test(file) && !file.startsWith('.')
73
73
  );
74
- for (let file of files) {
75
- const m = await import(path.join(skillPath, file));
74
+ for (let f of files) {
75
+ const m = await import(path.join(skillPath, f));
76
76
  mods.push({ ...m, name: m.name || f.replace(/^(.*)\.mjs$/i, '$1') });
77
77
  }
78
78
  }
package/lib/tape.mjs CHANGED
@@ -112,7 +112,7 @@ const init = async (options) => {
112
112
  case BOT:
113
113
  result = await botLoggerInit(options);
114
114
  break;
115
- case RSYSLOG:
115
+ case RSYSLOG: // prefer this one
116
116
  case PAPERTRAIL:
117
117
  result = await sysLogInit(options);
118
118
  break;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "utilitas",
3
3
  "description": "Just another common utility for Node.js.",
4
- "version": "1989.9.25",
4
+ "version": "1989.9.26",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",