utilitas 1999.1.30 → 1999.1.31

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/manifest.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  const manifest = {
2
2
  "name": "utilitas",
3
3
  "description": "Just another common utility for JavaScript.",
4
- "version": "1999.1.30",
4
+ "version": "1999.1.31",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",
package/lib/utilitas.mjs CHANGED
@@ -552,8 +552,8 @@ const renderCode = (code, options) => {
552
552
  x => `${String(i++).padStart(bits, '0')} ${s} ${ensureString(x).replace('```', '\\`\\`\\`')}`
553
553
  );
554
554
  const output = (
555
- options?.md ? `\`\`\`${options.md === true ? '' : options.md}\n` : ''
556
- ) + (options?.asArray ? resp : resp.join('\n')) + (options.md ? '\n```' : '');
555
+ options?.md ? `\`\`\`${options?.md === true ? '' : options?.md}\n` : ''
556
+ ) + (options?.asArray ? resp : resp.join('\n')) + (options?.md ? '\n```' : '');
557
557
  options?.log && console.log(output);
558
558
  return output;
559
559
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "utilitas",
3
3
  "description": "Just another common utility for JavaScript.",
4
- "version": "1999.1.30",
4
+ "version": "1999.1.31",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",