@storm-software/untyped 0.17.32 → 0.17.34

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/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-0.17.31-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.17.33-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/bin/untyped.cjs CHANGED
@@ -41468,12 +41468,12 @@ var init_dist5 = __esm({
41468
41468
  }
41469
41469
  });
41470
41470
 
41471
- // ../../node_modules/.pnpm/dotenv@16.6.0/node_modules/dotenv/package.json
41471
+ // ../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/package.json
41472
41472
  var require_package = __commonJS({
41473
- "../../node_modules/.pnpm/dotenv@16.6.0/node_modules/dotenv/package.json"(exports2, module2) {
41473
+ "../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/package.json"(exports2, module2) {
41474
41474
  module2.exports = {
41475
41475
  name: "dotenv",
41476
- version: "16.6.0",
41476
+ version: "16.6.1",
41477
41477
  description: "Loads environment variables from .env file",
41478
41478
  main: "lib/main.js",
41479
41479
  types: "lib/main.d.ts",
@@ -41496,7 +41496,7 @@ var require_package = __commonJS({
41496
41496
  lint: "standard",
41497
41497
  pretest: "npm run lint && npm run dts-check",
41498
41498
  test: "tap run --allow-empty-coverage --disable-coverage --timeout=60000",
41499
- "test:coverage": "tap run --show-full-coverage --timeout=60000 --coverage-report=lcov",
41499
+ "test:coverage": "tap run --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov",
41500
41500
  prerelease: "npm test",
41501
41501
  release: "standard-version"
41502
41502
  },
@@ -41536,9 +41536,9 @@ var require_package = __commonJS({
41536
41536
  }
41537
41537
  });
41538
41538
 
41539
- // ../../node_modules/.pnpm/dotenv@16.6.0/node_modules/dotenv/lib/main.js
41539
+ // ../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/lib/main.js
41540
41540
  var require_main = __commonJS({
41541
- "../../node_modules/.pnpm/dotenv@16.6.0/node_modules/dotenv/lib/main.js"(exports2, module2) {
41541
+ "../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/lib/main.js"(exports2, module2) {
41542
41542
  init_cjs_shims();
41543
41543
  var fs3 = require("fs");
41544
41544
  var path2 = require("path");
@@ -41567,6 +41567,7 @@ var require_main = __commonJS({
41567
41567
  return obj;
41568
41568
  }
41569
41569
  function _parseVault(options) {
41570
+ options = options || {};
41570
41571
  const vaultPath = _vaultPath(options);
41571
41572
  options.path = vaultPath;
41572
41573
  const result = DotenvModule.configDotenv(options);
@@ -41668,7 +41669,7 @@ var require_main = __commonJS({
41668
41669
  }
41669
41670
  function _configVault(options) {
41670
41671
  const debug2 = Boolean(options && options.debug);
41671
- const quiet = Boolean(options && options.quiet);
41672
+ const quiet = options && "quiet" in options ? options.quiet : true;
41672
41673
  if (debug2 || !quiet) {
41673
41674
  _log("Loading env from encrypted .env.vault");
41674
41675
  }
@@ -41684,7 +41685,7 @@ var require_main = __commonJS({
41684
41685
  const dotenvPath = path2.resolve(process.cwd(), ".env");
41685
41686
  let encoding = "utf8";
41686
41687
  const debug2 = Boolean(options && options.debug);
41687
- const quiet = Boolean(options && options.quiet);
41688
+ const quiet = options && "quiet" in options ? options.quiet : true;
41688
41689
  if (options && options.encoding) {
41689
41690
  encoding = options.encoding;
41690
41691
  } else {
@@ -41728,7 +41729,11 @@ var require_main = __commonJS({
41728
41729
  try {
41729
41730
  const relative2 = path2.relative(process.cwd(), filePath);
41730
41731
  shortPaths.push(relative2);
41731
- } catch {
41732
+ } catch (e3) {
41733
+ if (debug2) {
41734
+ _debug(`Failed to load ${filePath} ${e3.message}`);
41735
+ }
41736
+ lastError = e3;
41732
41737
  }
41733
41738
  }
41734
41739
  _log(`injecting env (${keysCount}) from ${shortPaths.join(",")}`);
@@ -68820,7 +68825,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CON
68820
68825
  return (message) => {
68821
68826
  console.debug(
68822
68827
  `
68823
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
68828
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#3e9eff")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
68824
68829
  `
68825
68830
  );
68826
68831
  };
@@ -68829,7 +68834,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CO
68829
68834
  return (message) => {
68830
68835
  console.debug(
68831
68836
  `
68832
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
68837
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0070E0")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
68833
68838
  `
68834
68839
  );
68835
68840
  };
@@ -68837,7 +68842,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CO
68837
68842
  return (message) => {
68838
68843
  console.log(
68839
68844
  `
68840
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
68845
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0356a8")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
68841
68846
  `
68842
68847
  );
68843
68848
  };
package/bin/untyped.js CHANGED
@@ -41482,7 +41482,7 @@ var init_dist5 = __esm({
41482
41482
  }
41483
41483
  });
41484
41484
 
41485
- // ../../node_modules/.pnpm/dotenv@16.6.0/node_modules/dotenv/package.json
41485
+ // ../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/package.json
41486
41486
  var package_exports = {};
41487
41487
  __export(package_exports, {
41488
41488
  browser: () => browser,
@@ -41505,9 +41505,9 @@ __export(package_exports, {
41505
41505
  });
41506
41506
  var name, version3, description, main, types2, exports, scripts, repository, homepage, funding, keywords2, readmeFilename, license, devDependencies, engines, browser, package_default;
41507
41507
  var init_package = __esm({
41508
- "../../node_modules/.pnpm/dotenv@16.6.0/node_modules/dotenv/package.json"() {
41508
+ "../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/package.json"() {
41509
41509
  name = "dotenv";
41510
- version3 = "16.6.0";
41510
+ version3 = "16.6.1";
41511
41511
  description = "Loads environment variables from .env file";
41512
41512
  main = "lib/main.js";
41513
41513
  types2 = "lib/main.d.ts";
@@ -41530,7 +41530,7 @@ var init_package = __esm({
41530
41530
  lint: "standard",
41531
41531
  pretest: "npm run lint && npm run dts-check",
41532
41532
  test: "tap run --allow-empty-coverage --disable-coverage --timeout=60000",
41533
- "test:coverage": "tap run --show-full-coverage --timeout=60000 --coverage-report=lcov",
41533
+ "test:coverage": "tap run --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov",
41534
41534
  prerelease: "npm test",
41535
41535
  release: "standard-version"
41536
41536
  };
@@ -41587,13 +41587,13 @@ var init_package = __esm({
41587
41587
  }
41588
41588
  });
41589
41589
 
41590
- // ../../node_modules/.pnpm/dotenv@16.6.0/node_modules/dotenv/lib/main.js
41590
+ // ../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/lib/main.js
41591
41591
  import * as __import_fs2 from "fs";
41592
41592
  import * as __import_path2 from "path";
41593
41593
  import * as __import_os2 from "os";
41594
41594
  import * as __import_crypto from "crypto";
41595
41595
  var require_main = __commonJS({
41596
- "../../node_modules/.pnpm/dotenv@16.6.0/node_modules/dotenv/lib/main.js"(exports2, module) {
41596
+ "../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/lib/main.js"(exports2, module) {
41597
41597
  init_esm_shims();
41598
41598
  init_package();
41599
41599
  var fs3 = __import_fs2;
@@ -41623,6 +41623,7 @@ var require_main = __commonJS({
41623
41623
  return obj;
41624
41624
  }
41625
41625
  function _parseVault(options) {
41626
+ options = options || {};
41626
41627
  const vaultPath = _vaultPath(options);
41627
41628
  options.path = vaultPath;
41628
41629
  const result = DotenvModule.configDotenv(options);
@@ -41724,7 +41725,7 @@ var require_main = __commonJS({
41724
41725
  }
41725
41726
  function _configVault(options) {
41726
41727
  const debug2 = Boolean(options && options.debug);
41727
- const quiet = Boolean(options && options.quiet);
41728
+ const quiet = options && "quiet" in options ? options.quiet : true;
41728
41729
  if (debug2 || !quiet) {
41729
41730
  _log("Loading env from encrypted .env.vault");
41730
41731
  }
@@ -41740,7 +41741,7 @@ var require_main = __commonJS({
41740
41741
  const dotenvPath = path2.resolve(process.cwd(), ".env");
41741
41742
  let encoding = "utf8";
41742
41743
  const debug2 = Boolean(options && options.debug);
41743
- const quiet = Boolean(options && options.quiet);
41744
+ const quiet = options && "quiet" in options ? options.quiet : true;
41744
41745
  if (options && options.encoding) {
41745
41746
  encoding = options.encoding;
41746
41747
  } else {
@@ -41784,7 +41785,11 @@ var require_main = __commonJS({
41784
41785
  try {
41785
41786
  const relative2 = path2.relative(process.cwd(), filePath);
41786
41787
  shortPaths.push(relative2);
41787
- } catch {
41788
+ } catch (e3) {
41789
+ if (debug2) {
41790
+ _debug(`Failed to load ${filePath} ${e3.message}`);
41791
+ }
41792
+ lastError = e3;
41788
41793
  }
41789
41794
  }
41790
41795
  _log(`injecting env (${keysCount}) from ${shortPaths.join(",")}`);
@@ -69027,7 +69032,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CON
69027
69032
  return (message) => {
69028
69033
  console.debug(
69029
69034
  `
69030
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
69035
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#3e9eff")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
69031
69036
  `
69032
69037
  );
69033
69038
  };
@@ -69036,7 +69041,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CO
69036
69041
  return (message) => {
69037
69042
  console.debug(
69038
69043
  `
69039
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
69044
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0070E0")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
69040
69045
  `
69041
69046
  );
69042
69047
  };
@@ -69044,7 +69049,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CO
69044
69049
  return (message) => {
69045
69050
  console.log(
69046
69051
  `
69047
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
69052
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0356a8")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
69048
69053
  `
69049
69054
  );
69050
69055
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  writeError,
3
3
  writeTrace
4
- } from "./chunk-FKEBWJOM.js";
4
+ } from "./chunk-F37LLXMQ.js";
5
5
  import {
6
6
  getOutputFile,
7
7
  init_esm_shims
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  writeError,
3
3
  writeTrace
4
- } from "./chunk-FKEBWJOM.js";
4
+ } from "./chunk-F37LLXMQ.js";
5
5
  import {
6
6
  getOutputFile,
7
7
  init_esm_shims
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkOQ3VISQUcjs = require('./chunk-OQ3VISQU.cjs');
4
+ var _chunkBNNCWU3Hcjs = require('./chunk-BNNCWU3H.cjs');
5
5
 
6
6
 
7
7
 
@@ -13,10 +13,10 @@ var _promises = require('fs/promises');
13
13
  function generateJsonSchemaFile(schema, file, config) {
14
14
  try {
15
15
  const jsonSchema = _chunkXT3SWD3Hcjs.getOutputFile.call(void 0, file, "json");
16
- _chunkOQ3VISQUcjs.writeTrace.call(void 0, `Writing JSON schema file ${jsonSchema}`, config);
16
+ _chunkBNNCWU3Hcjs.writeTrace.call(void 0, `Writing JSON schema file ${jsonSchema}`, config);
17
17
  return _promises.writeFile.call(void 0, jsonSchema, JSON.stringify(schema, null, 2));
18
18
  } catch (error) {
19
- _chunkOQ3VISQUcjs.writeError.call(void 0,
19
+ _chunkBNNCWU3Hcjs.writeError.call(void 0,
20
20
  `Error writing JSON schema file for ${file.name}
21
21
 
22
22
  Error:
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkOQ3VISQUcjs = require('./chunk-OQ3VISQU.cjs');
4
+ var _chunkBNNCWU3Hcjs = require('./chunk-BNNCWU3H.cjs');
5
5
 
6
6
 
7
7
 
@@ -27,10 +27,10 @@ ${_untyped.generateTypes.call(void 0, schema, {
27
27
  function generateDeclarationFile(schema, file, config) {
28
28
  try {
29
29
  const declarations = _chunkXT3SWD3Hcjs.getOutputFile.call(void 0, file, "d.ts");
30
- _chunkOQ3VISQUcjs.writeTrace.call(void 0, `Writing type declaration file ${declarations}`, config);
30
+ _chunkBNNCWU3Hcjs.writeTrace.call(void 0, `Writing type declaration file ${declarations}`, config);
31
31
  return _promises.writeFile.call(void 0, declarations, generateDeclaration(schema));
32
32
  } catch (error) {
33
- _chunkOQ3VISQUcjs.writeError.call(void 0,
33
+ _chunkBNNCWU3Hcjs.writeError.call(void 0,
34
34
  `Error writing declaration file for ${file.name}
35
35
 
36
36
  Error:
@@ -5492,7 +5492,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, ()
5492
5492
  return (message) => {
5493
5493
  console.debug(
5494
5494
  `
5495
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
5495
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#3e9eff")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
5496
5496
  `
5497
5497
  );
5498
5498
  };
@@ -5501,7 +5501,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, ()
5501
5501
  return (message) => {
5502
5502
  console.debug(
5503
5503
  `
5504
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
5504
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0070E0")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
5505
5505
  `
5506
5506
  );
5507
5507
  };
@@ -5509,7 +5509,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, ()
5509
5509
  return (message) => {
5510
5510
  console.log(
5511
5511
  `
5512
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
5512
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0356a8")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
5513
5513
  `
5514
5514
  );
5515
5515
  };
@@ -5497,7 +5497,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CON
5497
5497
  return (message) => {
5498
5498
  console.debug(
5499
5499
  `
5500
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
5500
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#3e9eff")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
5501
5501
  `
5502
5502
  );
5503
5503
  };
@@ -5506,7 +5506,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CO
5506
5506
  return (message) => {
5507
5507
  console.debug(
5508
5508
  `
5509
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
5509
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0070E0")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
5510
5510
  `
5511
5511
  );
5512
5512
  };
@@ -5514,7 +5514,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CO
5514
5514
  return (message) => {
5515
5515
  console.log(
5516
5516
  `
5517
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
5517
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0356a8")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
5518
5518
  `
5519
5519
  );
5520
5520
  };
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkLDCYNE6Ncjs = require('./chunk-LDCYNE6N.cjs');
3
+ var _chunkB2BMNO4Ycjs = require('./chunk-B2BMNO4Y.cjs');
4
4
 
5
5
 
6
- var _chunkKANB6P22cjs = require('./chunk-KANB6P22.cjs');
6
+ var _chunk77XYPEDPcjs = require('./chunk-77XYPEDP.cjs');
7
7
 
8
8
 
9
- var _chunkQERVTBIRcjs = require('./chunk-QERVTBIR.cjs');
9
+ var _chunkKHMSUGJQcjs = require('./chunk-KHMSUGJQ.cjs');
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunkOQ3VISQUcjs = require('./chunk-OQ3VISQU.cjs');
14
+ var _chunkBNNCWU3Hcjs = require('./chunk-BNNCWU3H.cjs');
15
15
 
16
16
 
17
17
 
@@ -22,7 +22,7 @@ _chunkXT3SWD3Hcjs.init_cjs_shims.call(void 0, );
22
22
  var _glob = require('glob');
23
23
  var _loader = require('untyped/loader');
24
24
  var getGenerateAction = (config) => async (options) => {
25
- _chunkOQ3VISQUcjs.writeTrace.call(void 0,
25
+ _chunkBNNCWU3Hcjs.writeTrace.call(void 0,
26
26
  `Running Storm Untyped with options: ${JSON.stringify(options)}`,
27
27
  config
28
28
  );
@@ -41,7 +41,7 @@ var getGenerateAction = (config) => async (options) => {
41
41
  });
42
42
  await Promise.all(
43
43
  files.map(async (file) => {
44
- _chunkOQ3VISQUcjs.writeTrace.call(void 0,
44
+ _chunkBNNCWU3Hcjs.writeTrace.call(void 0,
45
45
  `Generating files for schema file: ${_chunkXT3SWD3Hcjs.joinPaths.call(void 0, file.parentPath, file.name)}`,
46
46
  config
47
47
  );
@@ -49,7 +49,7 @@ var getGenerateAction = (config) => async (options) => {
49
49
  try {
50
50
  schema = await _loader.loadSchema.call(void 0, _chunkXT3SWD3Hcjs.joinPaths.call(void 0, file.parentPath, file.name), {
51
51
  jiti: {
52
- debug: _chunkOQ3VISQUcjs.isVerbose.call(void 0, config.logLevel),
52
+ debug: _chunkBNNCWU3Hcjs.isVerbose.call(void 0, config.logLevel),
53
53
  fsCache: config.skipCache ? false : _chunkXT3SWD3Hcjs.joinPaths.call(void 0,
54
54
  config.directories.cache || _chunkXT3SWD3Hcjs.joinPaths.call(void 0,
55
55
  config.workspaceRoot,
@@ -61,7 +61,7 @@ var getGenerateAction = (config) => async (options) => {
61
61
  }
62
62
  });
63
63
  } catch (error) {
64
- _chunkOQ3VISQUcjs.writeError.call(void 0,
64
+ _chunkBNNCWU3Hcjs.writeError.call(void 0,
65
65
  `Error while parsing schema file: ${_chunkXT3SWD3Hcjs.joinPaths.call(void 0, file.parentPath, file.name)}
66
66
 
67
67
  Error:
@@ -76,9 +76,9 @@ ${JSON.stringify(schema)}
76
76
  throw error;
77
77
  }
78
78
  const promises = [];
79
- promises.push(_chunkLDCYNE6Ncjs.generateDeclarationFile.call(void 0, schema, file, config));
80
- promises.push(_chunkQERVTBIRcjs.generateMarkdownFile.call(void 0, schema, file, config));
81
- promises.push(_chunkKANB6P22cjs.generateJsonSchemaFile.call(void 0, schema, file, config));
79
+ promises.push(_chunkB2BMNO4Ycjs.generateDeclarationFile.call(void 0, schema, file, config));
80
+ promises.push(_chunkKHMSUGJQcjs.generateMarkdownFile.call(void 0, schema, file, config));
81
+ promises.push(_chunk77XYPEDPcjs.generateJsonSchemaFile.call(void 0, schema, file, config));
82
82
  return Promise.all(promises);
83
83
  })
84
84
  );
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  writeError,
3
3
  writeTrace
4
- } from "./chunk-FKEBWJOM.js";
4
+ } from "./chunk-F37LLXMQ.js";
5
5
  import {
6
6
  getOutputFile,
7
7
  init_esm_shims
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkOQ3VISQUcjs = require('./chunk-OQ3VISQU.cjs');
4
+ var _chunkBNNCWU3Hcjs = require('./chunk-BNNCWU3H.cjs');
5
5
 
6
6
 
7
7
 
@@ -47,10 +47,10 @@ function generateMarkdownLevel(schema, title, level) {
47
47
  function generateMarkdownFile(schema, file, config) {
48
48
  try {
49
49
  const declarations = _chunkXT3SWD3Hcjs.getOutputFile.call(void 0, file, "md");
50
- _chunkOQ3VISQUcjs.writeTrace.call(void 0, `Writing type markdown file ${declarations}`, config);
50
+ _chunkBNNCWU3Hcjs.writeTrace.call(void 0, `Writing type markdown file ${declarations}`, config);
51
51
  return _promises.writeFile.call(void 0, declarations, generateMarkdown(schema));
52
52
  } catch (error) {
53
- _chunkOQ3VISQUcjs.writeError.call(void 0,
53
+ _chunkBNNCWU3Hcjs.writeError.call(void 0,
54
54
  `Error writing markdown file for ${file.name}
55
55
 
56
56
  Error:
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  generateDeclarationFile
3
- } from "./chunk-FWWEBJNY.js";
3
+ } from "./chunk-GLA2LYBJ.js";
4
4
  import {
5
5
  generateJsonSchemaFile
6
- } from "./chunk-D57K6LA7.js";
6
+ } from "./chunk-3PM3MLAN.js";
7
7
  import {
8
8
  generateMarkdownFile
9
- } from "./chunk-ET6O6QX6.js";
9
+ } from "./chunk-2WKV44ZY.js";
10
10
  import {
11
11
  isVerbose,
12
12
  writeError,
13
13
  writeTrace
14
- } from "./chunk-FKEBWJOM.js";
14
+ } from "./chunk-F37LLXMQ.js";
15
15
  import {
16
16
  init_esm_shims,
17
17
  joinPaths
package/dist/generate.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkOKLGFDRUcjs = require('./chunk-OKLGFDRU.cjs');
4
- require('./chunk-LDCYNE6N.cjs');
5
- require('./chunk-KANB6P22.cjs');
6
- require('./chunk-QERVTBIR.cjs');
7
- require('./chunk-OQ3VISQU.cjs');
3
+ var _chunkFZEWRCRFcjs = require('./chunk-FZEWRCRF.cjs');
4
+ require('./chunk-B2BMNO4Y.cjs');
5
+ require('./chunk-77XYPEDP.cjs');
6
+ require('./chunk-KHMSUGJQ.cjs');
7
+ require('./chunk-BNNCWU3H.cjs');
8
8
  require('./chunk-XT3SWD3H.cjs');
9
9
 
10
10
 
11
- exports.getGenerateAction = _chunkOKLGFDRUcjs.getGenerateAction;
11
+ exports.getGenerateAction = _chunkFZEWRCRFcjs.getGenerateAction;
package/dist/generate.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getGenerateAction
3
- } from "./chunk-SQWAYPVO.js";
4
- import "./chunk-FWWEBJNY.js";
5
- import "./chunk-D57K6LA7.js";
6
- import "./chunk-ET6O6QX6.js";
7
- import "./chunk-FKEBWJOM.js";
3
+ } from "./chunk-SQ2XCBCX.js";
4
+ import "./chunk-GLA2LYBJ.js";
5
+ import "./chunk-3PM3MLAN.js";
6
+ import "./chunk-2WKV44ZY.js";
7
+ import "./chunk-F37LLXMQ.js";
8
8
  import "./chunk-ULFSIWVE.js";
9
9
  export {
10
10
  getGenerateAction
package/dist/index.cjs CHANGED
@@ -1,19 +1,19 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkOKLGFDRUcjs = require('./chunk-OKLGFDRU.cjs');
3
+ var _chunkFZEWRCRFcjs = require('./chunk-FZEWRCRF.cjs');
4
4
  require('./chunk-NIVF6RAP.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkLDCYNE6Ncjs = require('./chunk-LDCYNE6N.cjs');
8
+ var _chunkB2BMNO4Ycjs = require('./chunk-B2BMNO4Y.cjs');
9
9
 
10
10
 
11
- var _chunkKANB6P22cjs = require('./chunk-KANB6P22.cjs');
11
+ var _chunk77XYPEDPcjs = require('./chunk-77XYPEDP.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunkQERVTBIRcjs = require('./chunk-QERVTBIR.cjs');
16
- require('./chunk-OQ3VISQU.cjs');
15
+ var _chunkKHMSUGJQcjs = require('./chunk-KHMSUGJQ.cjs');
16
+ require('./chunk-BNNCWU3H.cjs');
17
17
 
18
18
 
19
19
 
@@ -29,4 +29,4 @@ _chunkXT3SWD3Hcjs.init_cjs_shims.call(void 0, );
29
29
 
30
30
 
31
31
 
32
- exports.generateDeclaration = _chunkLDCYNE6Ncjs.generateDeclaration; exports.generateDeclarationFile = _chunkLDCYNE6Ncjs.generateDeclarationFile; exports.generateJsonSchemaFile = _chunkKANB6P22cjs.generateJsonSchemaFile; exports.generateMarkdown = _chunkQERVTBIRcjs.generateMarkdown; exports.generateMarkdownFile = _chunkQERVTBIRcjs.generateMarkdownFile; exports.getGenerateAction = _chunkOKLGFDRUcjs.getGenerateAction; exports.getOutputFile = _chunkXT3SWD3Hcjs.getOutputFile;
32
+ exports.generateDeclaration = _chunkB2BMNO4Ycjs.generateDeclaration; exports.generateDeclarationFile = _chunkB2BMNO4Ycjs.generateDeclarationFile; exports.generateJsonSchemaFile = _chunk77XYPEDPcjs.generateJsonSchemaFile; exports.generateMarkdown = _chunkKHMSUGJQcjs.generateMarkdown; exports.generateMarkdownFile = _chunkKHMSUGJQcjs.generateMarkdownFile; exports.getGenerateAction = _chunkFZEWRCRFcjs.getGenerateAction; exports.getOutputFile = _chunkXT3SWD3Hcjs.getOutputFile;
package/dist/index.js CHANGED
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  getGenerateAction
3
- } from "./chunk-SQWAYPVO.js";
3
+ } from "./chunk-SQ2XCBCX.js";
4
4
  import "./chunk-3UCBC3LF.js";
5
5
  import {
6
6
  generateDeclaration,
7
7
  generateDeclarationFile
8
- } from "./chunk-FWWEBJNY.js";
8
+ } from "./chunk-GLA2LYBJ.js";
9
9
  import {
10
10
  generateJsonSchemaFile
11
- } from "./chunk-D57K6LA7.js";
11
+ } from "./chunk-3PM3MLAN.js";
12
12
  import {
13
13
  generateMarkdown,
14
14
  generateMarkdownFile
15
- } from "./chunk-ET6O6QX6.js";
16
- import "./chunk-FKEBWJOM.js";
15
+ } from "./chunk-2WKV44ZY.js";
16
+ import "./chunk-F37LLXMQ.js";
17
17
  import {
18
18
  getOutputFile,
19
19
  init_esm_shims
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/untyped",
3
- "version": "0.17.32",
3
+ "version": "0.17.34",
4
4
  "type": "module",
5
5
  "description": "A package containing `untyped` utilities for building Storm Software libraries and applications",
6
6
  "repository": {
@@ -197,5 +197,5 @@
197
197
  },
198
198
  "publishConfig": { "access": "public" },
199
199
  "sideEffects": false,
200
- "gitHead": "446803d73ec4fd31944e933c4965955bc744c0db"
200
+ "gitHead": "7d6d43d5036939eba54634847fae361a5ee35057"
201
201
  }