@storm-software/untyped 0.17.4 → 0.17.6

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.2-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.5-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 -->
@@ -40,7 +40,6 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
40
40
 
41
41
  <!-- START doctoc -->
42
42
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
43
-
44
43
  ## Table of Contents
45
44
 
46
45
  - [Storm ESBuild Package](#storm-esbuild-package)
package/bin/untyped.cjs CHANGED
@@ -32,10 +32,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
32
32
  mod
33
33
  ));
34
34
 
35
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__b8584d6fbd29e6db4e299eaf46843332/node_modules/tsup/assets/cjs_shims.js
35
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__954ae7dac9bca61c20aa20d91ee91417/node_modules/tsup/assets/cjs_shims.js
36
36
  var getImportMetaUrl, importMetaUrl;
37
37
  var init_cjs_shims = __esm({
38
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__b8584d6fbd29e6db4e299eaf46843332/node_modules/tsup/assets/cjs_shims.js"() {
38
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__954ae7dac9bca61c20aa20d91ee91417/node_modules/tsup/assets/cjs_shims.js"() {
39
39
  getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
40
40
  importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
41
41
  }
@@ -63804,7 +63804,7 @@ init_cjs_shims();
63804
63804
  // ../config/src/schema.ts
63805
63805
  init_cjs_shims();
63806
63806
 
63807
- // ../../node_modules/.pnpm/zod@3.24.3/node_modules/zod/lib/index.mjs
63807
+ // ../../node_modules/.pnpm/zod@3.24.4/node_modules/zod/lib/index.mjs
63808
63808
  init_cjs_shims();
63809
63809
  var util;
63810
63810
  (function(util2) {
@@ -64649,13 +64649,14 @@ var base64urlRegex = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_
64649
64649
  var dateRegexSource = `((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))`;
64650
64650
  var dateRegex = new RegExp(`^${dateRegexSource}$`);
64651
64651
  function timeRegexSource(args) {
64652
- let regex = `([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d`;
64652
+ let secondsRegexSource = `[0-5]\\d`;
64653
64653
  if (args.precision) {
64654
- regex = `${regex}\\.\\d{${args.precision}}`;
64654
+ secondsRegexSource = `${secondsRegexSource}\\.\\d{${args.precision}}`;
64655
64655
  } else if (args.precision == null) {
64656
- regex = `${regex}(\\.\\d+)?`;
64656
+ secondsRegexSource = `${secondsRegexSource}(\\.\\d+)?`;
64657
64657
  }
64658
- return regex;
64658
+ const secondsQuantifier = args.precision ? "+" : "?";
64659
+ return `([01]\\d|2[0-3]):[0-5]\\d(:${secondsRegexSource})${secondsQuantifier}`;
64659
64660
  }
64660
64661
  function timeRegex(args) {
64661
64662
  return new RegExp(`^${timeRegexSource(args)}$`);
package/bin/untyped.js CHANGED
@@ -38,9 +38,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
38
38
  mod
39
39
  ));
40
40
 
41
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__b8584d6fbd29e6db4e299eaf46843332/node_modules/tsup/assets/esm_shims.js
41
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__954ae7dac9bca61c20aa20d91ee91417/node_modules/tsup/assets/esm_shims.js
42
42
  var init_esm_shims = __esm({
43
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__b8584d6fbd29e6db4e299eaf46843332/node_modules/tsup/assets/esm_shims.js"() {
43
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__954ae7dac9bca61c20aa20d91ee91417/node_modules/tsup/assets/esm_shims.js"() {
44
44
  }
45
45
  });
46
46
 
@@ -64014,7 +64014,7 @@ init_esm_shims();
64014
64014
  // ../config/src/schema.ts
64015
64015
  init_esm_shims();
64016
64016
 
64017
- // ../../node_modules/.pnpm/zod@3.24.3/node_modules/zod/lib/index.mjs
64017
+ // ../../node_modules/.pnpm/zod@3.24.4/node_modules/zod/lib/index.mjs
64018
64018
  init_esm_shims();
64019
64019
  var util;
64020
64020
  (function(util2) {
@@ -64859,13 +64859,14 @@ var base64urlRegex = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_
64859
64859
  var dateRegexSource = `((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))`;
64860
64860
  var dateRegex = new RegExp(`^${dateRegexSource}$`);
64861
64861
  function timeRegexSource(args) {
64862
- let regex = `([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d`;
64862
+ let secondsRegexSource = `[0-5]\\d`;
64863
64863
  if (args.precision) {
64864
- regex = `${regex}\\.\\d{${args.precision}}`;
64864
+ secondsRegexSource = `${secondsRegexSource}\\.\\d{${args.precision}}`;
64865
64865
  } else if (args.precision == null) {
64866
- regex = `${regex}(\\.\\d+)?`;
64866
+ secondsRegexSource = `${secondsRegexSource}(\\.\\d+)?`;
64867
64867
  }
64868
- return regex;
64868
+ const secondsQuantifier = args.precision ? "+" : "?";
64869
+ return `([01]\\d|2[0-3]):[0-5]\\d(:${secondsRegexSource})${secondsQuantifier}`;
64869
64870
  }
64870
64871
  function timeRegex(args) {
64871
64872
  return new RegExp(`^${timeRegexSource(args)}$`);
@@ -1,14 +1,14 @@
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 _chunkWZ3Z5M2Scjs = require('./chunk-WZ3Z5M2S.cjs');
4
+ var _chunkQLZGAZC5cjs = require('./chunk-QLZGAZC5.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunk2ZD6OKJUcjs = require('./chunk-2ZD6OKJU.cjs');
8
+ var _chunkWDYNO3M5cjs = require('./chunk-WDYNO3M5.cjs');
9
9
 
10
10
  // src/generators/dts.ts
11
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
11
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
12
12
  var _promises = require('fs/promises');
13
13
  var _untyped = require('untyped');
14
14
  function generateDeclaration(schema) {
@@ -26,11 +26,11 @@ ${_untyped.generateTypes.call(void 0, schema, {
26
26
  }
27
27
  function generateDeclarationFile(schema, file, config) {
28
28
  try {
29
- const declarations = _chunk2ZD6OKJUcjs.getOutputFile.call(void 0, file, "d.ts");
30
- _chunkWZ3Z5M2Scjs.writeTrace.call(void 0, `Writing type declaration file ${declarations}`, config);
29
+ const declarations = _chunkWDYNO3M5cjs.getOutputFile.call(void 0, file, "d.ts");
30
+ _chunkQLZGAZC5cjs.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
- _chunkWZ3Z5M2Scjs.writeError.call(void 0,
33
+ _chunkQLZGAZC5cjs.writeError.call(void 0,
34
34
  `Error writing declaration file for ${file.name}
35
35
 
36
36
  Error:
@@ -27,9 +27,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
27
  mod
28
28
  ));
29
29
 
30
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__b8584d6fbd29e6db4e299eaf46843332/node_modules/tsup/assets/esm_shims.js
30
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__954ae7dac9bca61c20aa20d91ee91417/node_modules/tsup/assets/esm_shims.js
31
31
  var init_esm_shims = __esm({
32
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__b8584d6fbd29e6db4e299eaf46843332/node_modules/tsup/assets/esm_shims.js"() {
32
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__954ae7dac9bca61c20aa20d91ee91417/node_modules/tsup/assets/esm_shims.js"() {
33
33
  }
34
34
  });
35
35
 
@@ -1,22 +1,22 @@
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 _chunkWZ3Z5M2Scjs = require('./chunk-WZ3Z5M2S.cjs');
4
+ var _chunkQLZGAZC5cjs = require('./chunk-QLZGAZC5.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunk2ZD6OKJUcjs = require('./chunk-2ZD6OKJU.cjs');
8
+ var _chunkWDYNO3M5cjs = require('./chunk-WDYNO3M5.cjs');
9
9
 
10
10
  // src/generators/json-schema.ts
11
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
11
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
12
12
  var _promises = require('fs/promises');
13
13
  function generateJsonSchemaFile(schema, file, config) {
14
14
  try {
15
- const jsonSchema = _chunk2ZD6OKJUcjs.getOutputFile.call(void 0, file, "json");
16
- _chunkWZ3Z5M2Scjs.writeTrace.call(void 0, `Writing JSON schema file ${jsonSchema}`, config);
15
+ const jsonSchema = _chunkWDYNO3M5cjs.getOutputFile.call(void 0, file, "json");
16
+ _chunkQLZGAZC5cjs.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
- _chunkWZ3Z5M2Scjs.writeError.call(void 0,
19
+ _chunkQLZGAZC5cjs.writeError.call(void 0,
20
20
  `Error writing JSON schema file for ${file.name}
21
21
 
22
22
  Error:
@@ -1,28 +1,28 @@
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 _chunkFRHKYHAFcjs = require('./chunk-FRHKYHAF.cjs');
3
+ var _chunk3VWRQEOFcjs = require('./chunk-3VWRQEOF.cjs');
4
4
 
5
5
 
6
- var _chunkYEORVDD4cjs = require('./chunk-YEORVDD4.cjs');
6
+ var _chunkHEWQ5KRScjs = require('./chunk-HEWQ5KRS.cjs');
7
7
 
8
8
 
9
- var _chunk3T4FQ2N3cjs = require('./chunk-3T4FQ2N3.cjs');
9
+ var _chunkOECQNTQ7cjs = require('./chunk-OECQNTQ7.cjs');
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunkWZ3Z5M2Scjs = require('./chunk-WZ3Z5M2S.cjs');
14
+ var _chunkQLZGAZC5cjs = require('./chunk-QLZGAZC5.cjs');
15
15
 
16
16
 
17
17
 
18
- var _chunk2ZD6OKJUcjs = require('./chunk-2ZD6OKJU.cjs');
18
+ var _chunkWDYNO3M5cjs = require('./chunk-WDYNO3M5.cjs');
19
19
 
20
20
  // src/generate.ts
21
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
21
+ _chunkWDYNO3M5cjs.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
- _chunkWZ3Z5M2Scjs.writeTrace.call(void 0,
25
+ _chunkQLZGAZC5cjs.writeTrace.call(void 0,
26
26
  `Running Storm Untyped with options: ${JSON.stringify(options)}`,
27
27
  config
28
28
  );
@@ -41,17 +41,17 @@ var getGenerateAction = (config) => async (options) => {
41
41
  });
42
42
  await Promise.all(
43
43
  files.map(async (file) => {
44
- _chunkWZ3Z5M2Scjs.writeTrace.call(void 0,
45
- `Generating files for schema file: ${_chunk2ZD6OKJUcjs.joinPaths.call(void 0, file.parentPath, file.name)}`,
44
+ _chunkQLZGAZC5cjs.writeTrace.call(void 0,
45
+ `Generating files for schema file: ${_chunkWDYNO3M5cjs.joinPaths.call(void 0, file.parentPath, file.name)}`,
46
46
  config
47
47
  );
48
48
  let schema;
49
49
  try {
50
- schema = await _loader.loadSchema.call(void 0, _chunk2ZD6OKJUcjs.joinPaths.call(void 0, file.parentPath, file.name), {
50
+ schema = await _loader.loadSchema.call(void 0, _chunkWDYNO3M5cjs.joinPaths.call(void 0, file.parentPath, file.name), {
51
51
  jiti: {
52
- debug: _chunkWZ3Z5M2Scjs.isVerbose.call(void 0, config.logLevel),
53
- fsCache: config.skipCache ? false : _chunk2ZD6OKJUcjs.joinPaths.call(void 0,
54
- config.directories.cache || _chunk2ZD6OKJUcjs.joinPaths.call(void 0,
52
+ debug: _chunkQLZGAZC5cjs.isVerbose.call(void 0, config.logLevel),
53
+ fsCache: config.skipCache ? false : _chunkWDYNO3M5cjs.joinPaths.call(void 0,
54
+ config.directories.cache || _chunkWDYNO3M5cjs.joinPaths.call(void 0,
55
55
  config.workspaceRoot,
56
56
  "node_modules/.cache/storm"
57
57
  ),
@@ -61,8 +61,8 @@ var getGenerateAction = (config) => async (options) => {
61
61
  }
62
62
  });
63
63
  } catch (error) {
64
- _chunkWZ3Z5M2Scjs.writeError.call(void 0,
65
- `Error while parsing schema file: ${_chunk2ZD6OKJUcjs.joinPaths.call(void 0, file.parentPath, file.name)}
64
+ _chunkQLZGAZC5cjs.writeError.call(void 0,
65
+ `Error while parsing schema file: ${_chunkWDYNO3M5cjs.joinPaths.call(void 0, file.parentPath, file.name)}
66
66
 
67
67
  Error:
68
68
  ${_optionalChain([error, 'optionalAccess', _ => _.message]) ? error.message : JSON.stringify(error)}${_optionalChain([error, 'optionalAccess', _2 => _2.stack]) ? `
@@ -76,9 +76,9 @@ ${JSON.stringify(schema)}
76
76
  throw error;
77
77
  }
78
78
  const promises = [];
79
- promises.push(_chunkFRHKYHAFcjs.generateDeclarationFile.call(void 0, schema, file, config));
80
- promises.push(_chunk3T4FQ2N3cjs.generateMarkdownFile.call(void 0, schema, file, config));
81
- promises.push(_chunkYEORVDD4cjs.generateJsonSchemaFile.call(void 0, schema, file, config));
79
+ promises.push(_chunk3VWRQEOFcjs.generateDeclarationFile.call(void 0, schema, file, config));
80
+ promises.push(_chunkOECQNTQ7cjs.generateMarkdownFile.call(void 0, schema, file, config));
81
+ promises.push(_chunkHEWQ5KRScjs.generateJsonSchemaFile.call(void 0, schema, file, config));
82
82
  return Promise.all(promises);
83
83
  })
84
84
  );
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  writeError,
3
3
  writeTrace
4
- } from "./chunk-QWILDW2U.js";
4
+ } from "./chunk-VJVLAVPV.js";
5
5
  import {
6
6
  getOutputFile,
7
7
  init_esm_shims
8
- } from "./chunk-DEC3RPOY.js";
8
+ } from "./chunk-4GFXPGEQ.js";
9
9
 
10
10
  // src/generators/json-schema.ts
11
11
  init_esm_shims();
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  writeError,
3
3
  writeTrace
4
- } from "./chunk-QWILDW2U.js";
4
+ } from "./chunk-VJVLAVPV.js";
5
5
  import {
6
6
  getOutputFile,
7
7
  init_esm_shims
8
- } from "./chunk-DEC3RPOY.js";
8
+ } from "./chunk-4GFXPGEQ.js";
9
9
 
10
10
  // src/generators/markdown.ts
11
11
  init_esm_shims();
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  writeError,
3
3
  writeTrace
4
- } from "./chunk-QWILDW2U.js";
4
+ } from "./chunk-VJVLAVPV.js";
5
5
  import {
6
6
  getOutputFile,
7
7
  init_esm_shims
8
- } from "./chunk-DEC3RPOY.js";
8
+ } from "./chunk-4GFXPGEQ.js";
9
9
 
10
10
  // src/generators/dts.ts
11
11
  init_esm_shims();
@@ -1,14 +1,14 @@
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 _chunkWZ3Z5M2Scjs = require('./chunk-WZ3Z5M2S.cjs');
4
+ var _chunkQLZGAZC5cjs = require('./chunk-QLZGAZC5.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunk2ZD6OKJUcjs = require('./chunk-2ZD6OKJU.cjs');
8
+ var _chunkWDYNO3M5cjs = require('./chunk-WDYNO3M5.cjs');
9
9
 
10
10
  // src/generators/markdown.ts
11
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
11
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
12
12
  var _promises = require('fs/promises');
13
13
  function generateMarkdown(schema) {
14
14
  return `
@@ -46,11 +46,11 @@ function generateMarkdownLevel(schema, title, level) {
46
46
  }
47
47
  function generateMarkdownFile(schema, file, config) {
48
48
  try {
49
- const declarations = _chunk2ZD6OKJUcjs.getOutputFile.call(void 0, file, "md");
50
- _chunkWZ3Z5M2Scjs.writeTrace.call(void 0, `Writing type markdown file ${declarations}`, config);
49
+ const declarations = _chunkWDYNO3M5cjs.getOutputFile.call(void 0, file, "md");
50
+ _chunkQLZGAZC5cjs.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
- _chunkWZ3Z5M2Scjs.writeError.call(void 0,
53
+ _chunkQLZGAZC5cjs.writeError.call(void 0,
54
54
  `Error writing markdown file for ${file.name}
55
55
 
56
56
  Error:
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  generateDeclarationFile
3
- } from "./chunk-DIHXE5BY.js";
3
+ } from "./chunk-N7OLMAZK.js";
4
4
  import {
5
5
  generateJsonSchemaFile
6
- } from "./chunk-R4WBB6BJ.js";
6
+ } from "./chunk-HNBDIWVI.js";
7
7
  import {
8
8
  generateMarkdownFile
9
- } from "./chunk-E6FY6YG7.js";
9
+ } from "./chunk-K62G4BHH.js";
10
10
  import {
11
11
  isVerbose,
12
12
  writeError,
13
13
  writeTrace
14
- } from "./chunk-QWILDW2U.js";
14
+ } from "./chunk-VJVLAVPV.js";
15
15
  import {
16
16
  init_esm_shims,
17
17
  joinPaths
18
- } from "./chunk-DEC3RPOY.js";
18
+ } from "./chunk-4GFXPGEQ.js";
19
19
 
20
20
  // src/generate.ts
21
21
  init_esm_shims();
@@ -3,13 +3,13 @@
3
3
 
4
4
 
5
5
 
6
- var _chunk2ZD6OKJUcjs = require('./chunk-2ZD6OKJU.cjs');
6
+ var _chunkWDYNO3M5cjs = require('./chunk-WDYNO3M5.cjs');
7
7
 
8
8
  // ../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js
9
- var require_color_name = _chunk2ZD6OKJUcjs.__commonJS.call(void 0, {
9
+ var require_color_name = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
10
10
  "../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js"(exports, module) {
11
11
  "use strict";
12
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
12
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
13
13
  module.exports = {
14
14
  "aliceblue": [240, 248, 255],
15
15
  "antiquewhite": [250, 235, 215],
@@ -164,9 +164,9 @@ var require_color_name = _chunk2ZD6OKJUcjs.__commonJS.call(void 0, {
164
164
  });
165
165
 
166
166
  // ../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js
167
- var require_conversions = _chunk2ZD6OKJUcjs.__commonJS.call(void 0, {
167
+ var require_conversions = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
168
168
  "../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js"(exports, module) {
169
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
169
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
170
170
  var cssKeywords = require_color_name();
171
171
  var reverseKeywords = {};
172
172
  for (const key of Object.keys(cssKeywords)) {
@@ -836,9 +836,9 @@ var require_conversions = _chunk2ZD6OKJUcjs.__commonJS.call(void 0, {
836
836
  });
837
837
 
838
838
  // ../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js
839
- var require_route = _chunk2ZD6OKJUcjs.__commonJS.call(void 0, {
839
+ var require_route = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
840
840
  "../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js"(exports, module) {
841
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
841
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
842
842
  var conversions = require_conversions();
843
843
  function buildGraph() {
844
844
  const graph = {};
@@ -907,9 +907,9 @@ var require_route = _chunk2ZD6OKJUcjs.__commonJS.call(void 0, {
907
907
  });
908
908
 
909
909
  // ../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js
910
- var require_color_convert = _chunk2ZD6OKJUcjs.__commonJS.call(void 0, {
910
+ var require_color_convert = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
911
911
  "../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js"(exports, module) {
912
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
912
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
913
913
  var conversions = require_conversions();
914
914
  var route = require_route();
915
915
  var convert = {};
@@ -969,10 +969,10 @@ var require_color_convert = _chunk2ZD6OKJUcjs.__commonJS.call(void 0, {
969
969
  });
970
970
 
971
971
  // ../../node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js
972
- var require_ansi_styles = _chunk2ZD6OKJUcjs.__commonJS.call(void 0, {
972
+ var require_ansi_styles = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
973
973
  "../../node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js"(exports, module) {
974
974
  "use strict";
975
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
975
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
976
976
  var wrapAnsi16 = (fn, offset) => (...args) => {
977
977
  const code = fn(...args);
978
978
  return `\x1B[${code + offset}m`;
@@ -1112,10 +1112,10 @@ var require_ansi_styles = _chunk2ZD6OKJUcjs.__commonJS.call(void 0, {
1112
1112
  });
1113
1113
 
1114
1114
  // ../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js
1115
- var require_has_flag = _chunk2ZD6OKJUcjs.__commonJS.call(void 0, {
1115
+ var require_has_flag = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
1116
1116
  "../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"(exports, module) {
1117
1117
  "use strict";
1118
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
1118
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1119
1119
  module.exports = (flag, argv = process.argv) => {
1120
1120
  const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
1121
1121
  const position = argv.indexOf(prefix + flag);
@@ -1126,12 +1126,12 @@ var require_has_flag = _chunk2ZD6OKJUcjs.__commonJS.call(void 0, {
1126
1126
  });
1127
1127
 
1128
1128
  // ../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js
1129
- var require_supports_color = _chunk2ZD6OKJUcjs.__commonJS.call(void 0, {
1129
+ var require_supports_color = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
1130
1130
  "../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js"(exports, module) {
1131
1131
  "use strict";
1132
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
1133
- var os = _chunk2ZD6OKJUcjs.__require.call(void 0, "os");
1134
- var tty = _chunk2ZD6OKJUcjs.__require.call(void 0, "tty");
1132
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1133
+ var os = _chunkWDYNO3M5cjs.__require.call(void 0, "os");
1134
+ var tty = _chunkWDYNO3M5cjs.__require.call(void 0, "tty");
1135
1135
  var hasFlag = require_has_flag();
1136
1136
  var { env } = process;
1137
1137
  var forceColor;
@@ -1229,10 +1229,10 @@ var require_supports_color = _chunk2ZD6OKJUcjs.__commonJS.call(void 0, {
1229
1229
  });
1230
1230
 
1231
1231
  // ../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js
1232
- var require_util = _chunk2ZD6OKJUcjs.__commonJS.call(void 0, {
1232
+ var require_util = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
1233
1233
  "../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js"(exports, module) {
1234
1234
  "use strict";
1235
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
1235
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1236
1236
  var stringReplaceAll = (string, substring, replacer) => {
1237
1237
  let index = string.indexOf(substring);
1238
1238
  if (index === -1) {
@@ -1269,10 +1269,10 @@ var require_util = _chunk2ZD6OKJUcjs.__commonJS.call(void 0, {
1269
1269
  });
1270
1270
 
1271
1271
  // ../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js
1272
- var require_templates = _chunk2ZD6OKJUcjs.__commonJS.call(void 0, {
1272
+ var require_templates = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
1273
1273
  "../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js"(exports, module) {
1274
1274
  "use strict";
1275
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
1275
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1276
1276
  var TEMPLATE_REGEX = /(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;
1277
1277
  var STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
1278
1278
  var STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;
@@ -1384,10 +1384,10 @@ var require_templates = _chunk2ZD6OKJUcjs.__commonJS.call(void 0, {
1384
1384
  });
1385
1385
 
1386
1386
  // ../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js
1387
- var require_source = _chunk2ZD6OKJUcjs.__commonJS.call(void 0, {
1387
+ var require_source = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
1388
1388
  "../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js"(exports, module) {
1389
1389
  "use strict";
1390
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
1390
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1391
1391
  var ansiStyles = require_ansi_styles();
1392
1392
  var { stdout: stdoutColor, stderr: stderrColor } = require_supports_color();
1393
1393
  var {
@@ -1563,10 +1563,10 @@ var require_source = _chunk2ZD6OKJUcjs.__commonJS.call(void 0, {
1563
1563
  });
1564
1564
 
1565
1565
  // ../config-tools/src/logger/get-log-level.ts
1566
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
1566
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1567
1567
 
1568
1568
  // ../config-tools/src/types.ts
1569
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
1569
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1570
1570
  var LogLevel = {
1571
1571
  SILENT: 0,
1572
1572
  FATAL: 10,
@@ -1619,16 +1619,16 @@ var isVerbose = (label = LogLevelLabel.SILENT) => {
1619
1619
  };
1620
1620
 
1621
1621
  // ../config-tools/src/logger/console.ts
1622
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
1622
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1623
1623
 
1624
1624
  // ../config-tools/src/utilities/get-default-config.ts
1625
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
1625
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1626
1626
 
1627
1627
  // ../config/src/index.ts
1628
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
1628
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1629
1629
 
1630
1630
  // ../config/src/constants.ts
1631
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
1631
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1632
1632
  var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
1633
1633
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
1634
1634
  var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
@@ -1650,13 +1650,13 @@ If this sounds interesting, and you would like to help us in creating the next g
1650
1650
  var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
1651
1651
 
1652
1652
  // ../config/src/define-config.ts
1653
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
1653
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1654
1654
 
1655
1655
  // ../config/src/schema.ts
1656
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
1656
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1657
1657
 
1658
- // ../../node_modules/.pnpm/zod@3.24.3/node_modules/zod/lib/index.mjs
1659
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
1658
+ // ../../node_modules/.pnpm/zod@3.24.4/node_modules/zod/lib/index.mjs
1659
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1660
1660
  var util;
1661
1661
  (function(util2) {
1662
1662
  util2.assertEqual = (val) => val;
@@ -2500,13 +2500,14 @@ var base64urlRegex = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_
2500
2500
  var dateRegexSource = `((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))`;
2501
2501
  var dateRegex = new RegExp(`^${dateRegexSource}$`);
2502
2502
  function timeRegexSource(args) {
2503
- let regex = `([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d`;
2503
+ let secondsRegexSource = `[0-5]\\d`;
2504
2504
  if (args.precision) {
2505
- regex = `${regex}\\.\\d{${args.precision}}`;
2505
+ secondsRegexSource = `${secondsRegexSource}\\.\\d{${args.precision}}`;
2506
2506
  } else if (args.precision == null) {
2507
- regex = `${regex}(\\.\\d+)?`;
2507
+ secondsRegexSource = `${secondsRegexSource}(\\.\\d+)?`;
2508
2508
  }
2509
- return regex;
2509
+ const secondsQuantifier = args.precision ? "+" : "?";
2510
+ return `([01]\\d|2[0-3]):[0-5]\\d(:${secondsRegexSource})${secondsQuantifier}`;
2510
2511
  }
2511
2512
  function timeRegex(args) {
2512
2513
  return new RegExp(`^${timeRegexSource(args)}$`);
@@ -5923,7 +5924,7 @@ var stormWorkspaceConfigSchema = z.object({
5923
5924
  );
5924
5925
 
5925
5926
  // ../config/src/types.ts
5926
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
5927
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
5927
5928
 
5928
5929
  // ../config-tools/src/utilities/get-default-config.ts
5929
5930
  var _fs = require('fs');
@@ -5959,8 +5960,8 @@ var DEFAULT_COLOR_CONFIG = {
5959
5960
  };
5960
5961
 
5961
5962
  // ../config-tools/src/logger/chalk.ts
5962
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
5963
- var import_chalk = _chunk2ZD6OKJUcjs.__toESM.call(void 0, require_source(), 1);
5963
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
5964
+ var import_chalk = _chunkWDYNO3M5cjs.__toESM.call(void 0, require_source(), 1);
5964
5965
  var chalkDefault = {
5965
5966
  hex: (_) => (message) => message,
5966
5967
  bgHex: (_) => ({
@@ -5989,10 +5990,10 @@ var getChalk = () => {
5989
5990
  };
5990
5991
 
5991
5992
  // ../config-tools/src/logger/console-icons.ts
5992
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
5993
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
5993
5994
 
5994
5995
  // ../config-tools/src/logger/is-unicode-supported.ts
5995
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
5996
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
5996
5997
  function isUnicodeSupported() {
5997
5998
  if (process.platform !== "win32") {
5998
5999
  return process.env.TERM !== "linux";
@@ -6017,7 +6018,7 @@ var CONSOLE_ICONS = {
6017
6018
  };
6018
6019
 
6019
6020
  // ../config-tools/src/logger/format-timestamp.ts
6020
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
6021
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
6021
6022
  var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
6022
6023
  return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
6023
6024
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-DEC3RPOY.js";
3
+ } from "./chunk-4GFXPGEQ.js";
4
4
 
5
5
  // src/generators/index.ts
6
6
  init_esm_shims();
@@ -2,7 +2,7 @@ import {
2
2
  __commonJS,
3
3
  __toESM,
4
4
  init_esm_shims
5
- } from "./chunk-DEC3RPOY.js";
5
+ } from "./chunk-4GFXPGEQ.js";
6
6
 
7
7
  // ../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js
8
8
  var require_color_name = __commonJS({
@@ -1663,7 +1663,7 @@ init_esm_shims();
1663
1663
  // ../config/src/schema.ts
1664
1664
  init_esm_shims();
1665
1665
 
1666
- // ../../node_modules/.pnpm/zod@3.24.3/node_modules/zod/lib/index.mjs
1666
+ // ../../node_modules/.pnpm/zod@3.24.4/node_modules/zod/lib/index.mjs
1667
1667
  init_esm_shims();
1668
1668
  var util;
1669
1669
  (function(util2) {
@@ -2508,13 +2508,14 @@ var base64urlRegex = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_
2508
2508
  var dateRegexSource = `((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))`;
2509
2509
  var dateRegex = new RegExp(`^${dateRegexSource}$`);
2510
2510
  function timeRegexSource(args) {
2511
- let regex = `([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d`;
2511
+ let secondsRegexSource = `[0-5]\\d`;
2512
2512
  if (args.precision) {
2513
- regex = `${regex}\\.\\d{${args.precision}}`;
2513
+ secondsRegexSource = `${secondsRegexSource}\\.\\d{${args.precision}}`;
2514
2514
  } else if (args.precision == null) {
2515
- regex = `${regex}(\\.\\d+)?`;
2515
+ secondsRegexSource = `${secondsRegexSource}(\\.\\d+)?`;
2516
2516
  }
2517
- return regex;
2517
+ const secondsQuantifier = args.precision ? "+" : "?";
2518
+ return `([01]\\d|2[0-3]):[0-5]\\d(:${secondsRegexSource})${secondsQuantifier}`;
2518
2519
  }
2519
2520
  function timeRegex(args) {
2520
2521
  return new RegExp(`^${timeRegexSource(args)}$`);
@@ -33,9 +33,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
  mod
34
34
  ));
35
35
 
36
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__b8584d6fbd29e6db4e299eaf46843332/node_modules/tsup/assets/cjs_shims.js
36
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__954ae7dac9bca61c20aa20d91ee91417/node_modules/tsup/assets/cjs_shims.js
37
37
  var init_cjs_shims = __esm({
38
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__b8584d6fbd29e6db4e299eaf46843332/node_modules/tsup/assets/cjs_shims.js"() {
38
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__954ae7dac9bca61c20aa20d91ee91417/node_modules/tsup/assets/cjs_shims.js"() {
39
39
  }
40
40
  });
41
41
 
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ var _chunkWDYNO3M5cjs = require('./chunk-WDYNO3M5.cjs');
4
+
5
+ // src/generators/index.ts
6
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
package/dist/generate.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkLJ2LMDDJcjs = require('./chunk-LJ2LMDDJ.cjs');
4
- require('./chunk-FRHKYHAF.cjs');
5
- require('./chunk-YEORVDD4.cjs');
6
- require('./chunk-3T4FQ2N3.cjs');
7
- require('./chunk-WZ3Z5M2S.cjs');
8
- require('./chunk-2ZD6OKJU.cjs');
3
+ var _chunkHHABLJELcjs = require('./chunk-HHABLJEL.cjs');
4
+ require('./chunk-3VWRQEOF.cjs');
5
+ require('./chunk-HEWQ5KRS.cjs');
6
+ require('./chunk-OECQNTQ7.cjs');
7
+ require('./chunk-QLZGAZC5.cjs');
8
+ require('./chunk-WDYNO3M5.cjs');
9
9
 
10
10
 
11
- exports.getGenerateAction = _chunkLJ2LMDDJcjs.getGenerateAction;
11
+ exports.getGenerateAction = _chunkHHABLJELcjs.getGenerateAction;
package/dist/generate.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getGenerateAction
3
- } from "./chunk-ZU5MJ2ML.js";
4
- import "./chunk-DIHXE5BY.js";
5
- import "./chunk-R4WBB6BJ.js";
6
- import "./chunk-E6FY6YG7.js";
7
- import "./chunk-QWILDW2U.js";
8
- import "./chunk-DEC3RPOY.js";
3
+ } from "./chunk-PVXOLNDJ.js";
4
+ import "./chunk-N7OLMAZK.js";
5
+ import "./chunk-HNBDIWVI.js";
6
+ import "./chunk-K62G4BHH.js";
7
+ import "./chunk-VJVLAVPV.js";
8
+ import "./chunk-4GFXPGEQ.js";
9
9
  export {
10
10
  getGenerateAction
11
11
  };
package/dist/index.cjs CHANGED
@@ -1,26 +1,26 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkLJ2LMDDJcjs = require('./chunk-LJ2LMDDJ.cjs');
4
- require('./chunk-5JBPDPER.cjs');
3
+ var _chunkHHABLJELcjs = require('./chunk-HHABLJEL.cjs');
4
+ require('./chunk-Y6P2DSX6.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkFRHKYHAFcjs = require('./chunk-FRHKYHAF.cjs');
8
+ var _chunk3VWRQEOFcjs = require('./chunk-3VWRQEOF.cjs');
9
9
 
10
10
 
11
- var _chunkYEORVDD4cjs = require('./chunk-YEORVDD4.cjs');
11
+ var _chunkHEWQ5KRScjs = require('./chunk-HEWQ5KRS.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunk3T4FQ2N3cjs = require('./chunk-3T4FQ2N3.cjs');
16
- require('./chunk-WZ3Z5M2S.cjs');
15
+ var _chunkOECQNTQ7cjs = require('./chunk-OECQNTQ7.cjs');
16
+ require('./chunk-QLZGAZC5.cjs');
17
17
 
18
18
 
19
19
 
20
- var _chunk2ZD6OKJUcjs = require('./chunk-2ZD6OKJU.cjs');
20
+ var _chunkWDYNO3M5cjs = require('./chunk-WDYNO3M5.cjs');
21
21
 
22
22
  // src/index.ts
23
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
23
+ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
24
24
 
25
25
 
26
26
 
@@ -29,4 +29,4 @@ _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );
29
29
 
30
30
 
31
31
 
32
- exports.generateDeclaration = _chunkFRHKYHAFcjs.generateDeclaration; exports.generateDeclarationFile = _chunkFRHKYHAFcjs.generateDeclarationFile; exports.generateJsonSchemaFile = _chunkYEORVDD4cjs.generateJsonSchemaFile; exports.generateMarkdown = _chunk3T4FQ2N3cjs.generateMarkdown; exports.generateMarkdownFile = _chunk3T4FQ2N3cjs.generateMarkdownFile; exports.getGenerateAction = _chunkLJ2LMDDJcjs.getGenerateAction; exports.getOutputFile = _chunk2ZD6OKJUcjs.getOutputFile;
32
+ exports.generateDeclaration = _chunk3VWRQEOFcjs.generateDeclaration; exports.generateDeclarationFile = _chunk3VWRQEOFcjs.generateDeclarationFile; exports.generateJsonSchemaFile = _chunkHEWQ5KRScjs.generateJsonSchemaFile; exports.generateMarkdown = _chunkOECQNTQ7cjs.generateMarkdown; exports.generateMarkdownFile = _chunkOECQNTQ7cjs.generateMarkdownFile; exports.getGenerateAction = _chunkHHABLJELcjs.getGenerateAction; exports.getOutputFile = _chunkWDYNO3M5cjs.getOutputFile;
package/dist/index.js CHANGED
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  getGenerateAction
3
- } from "./chunk-ZU5MJ2ML.js";
4
- import "./chunk-NCFBYTFS.js";
3
+ } from "./chunk-PVXOLNDJ.js";
4
+ import "./chunk-T2FRLVP5.js";
5
5
  import {
6
6
  generateDeclaration,
7
7
  generateDeclarationFile
8
- } from "./chunk-DIHXE5BY.js";
8
+ } from "./chunk-N7OLMAZK.js";
9
9
  import {
10
10
  generateJsonSchemaFile
11
- } from "./chunk-R4WBB6BJ.js";
11
+ } from "./chunk-HNBDIWVI.js";
12
12
  import {
13
13
  generateMarkdown,
14
14
  generateMarkdownFile
15
- } from "./chunk-E6FY6YG7.js";
16
- import "./chunk-QWILDW2U.js";
15
+ } from "./chunk-K62G4BHH.js";
16
+ import "./chunk-VJVLAVPV.js";
17
17
  import {
18
18
  getOutputFile,
19
19
  init_esm_shims
20
- } from "./chunk-DEC3RPOY.js";
20
+ } from "./chunk-4GFXPGEQ.js";
21
21
 
22
22
  // src/index.ts
23
23
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk2ZD6OKJUcjs = require('./chunk-2ZD6OKJU.cjs');
3
+ var _chunkWDYNO3M5cjs = require('./chunk-WDYNO3M5.cjs');
4
4
 
5
5
 
6
- exports.getOutputFile = _chunk2ZD6OKJUcjs.getOutputFile;
6
+ exports.getOutputFile = _chunkWDYNO3M5cjs.getOutputFile;
package/dist/utilities.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getOutputFile
3
- } from "./chunk-DEC3RPOY.js";
3
+ } from "./chunk-4GFXPGEQ.js";
4
4
  export {
5
5
  getOutputFile
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/untyped",
3
- "version": "0.17.4",
3
+ "version": "0.17.6",
4
4
  "type": "module",
5
5
  "description": "A package containing `untyped` utilities for building Storm Software libraries and applications",
6
6
  "repository": {
@@ -178,7 +178,7 @@
178
178
  "storm-stack",
179
179
  "sullivanpj"
180
180
  ],
181
- "peerDependencies": { "@nx/devkit": "21.0.0", "untyped": "^1.5.2" },
181
+ "peerDependencies": { "@nx/devkit": "21.0.3", "untyped": "^1.5.2" },
182
182
  "peerDependenciesMeta": {
183
183
  "@nx/devkit": { "optional": false },
184
184
  "untyped": { "optional": false }
@@ -187,10 +187,10 @@
187
187
  "commander": "^12.1.0",
188
188
  "glob": "^11.0.1",
189
189
  "knitwork": "^1.2.0",
190
- "nx": "21.0.0"
190
+ "nx": "21.0.3"
191
191
  },
192
192
  "devDependencies": {
193
- "@nx/devkit": "21.0.0",
193
+ "@nx/devkit": "21.0.3",
194
194
  "@types/node": "^22.10.2",
195
195
  "tsup": "8.4.0",
196
196
  "untyped": "^1.5.2"
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- var _chunk2ZD6OKJUcjs = require('./chunk-2ZD6OKJU.cjs');
4
-
5
- // src/generators/index.ts
6
- _chunk2ZD6OKJUcjs.init_cjs_shims.call(void 0, );