@storm-software/untyped 0.11.53 → 0.11.55

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.11.52-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.11.54-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
@@ -33,10 +33,10 @@ 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=214cbeb07445a723854c8fc34007a4790e4ea2ad2a5d1919d7b09d653a83dae4__55b515e7c12ac974ee579d60acf23eea/node_modules/tsup/assets/cjs_shims.js
36
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=03667209a675e5896d66bd6058c9830fe9adb022e07ce6b04adc2eb927ede5fd__f9deff99d28cedac02de9c72719d1b4e/node_modules/tsup/assets/cjs_shims.js
37
37
  var getImportMetaUrl, importMetaUrl;
38
38
  var init_cjs_shims = __esm({
39
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=214cbeb07445a723854c8fc34007a4790e4ea2ad2a5d1919d7b09d653a83dae4__55b515e7c12ac974ee579d60acf23eea/node_modules/tsup/assets/cjs_shims.js"() {
39
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=03667209a675e5896d66bd6058c9830fe9adb022e07ce6b04adc2eb927ede5fd__f9deff99d28cedac02de9c72719d1b4e/node_modules/tsup/assets/cjs_shims.js"() {
40
40
  getImportMetaUrl = /* @__PURE__ */ __name(() => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href, "getImportMetaUrl");
41
41
  importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
42
42
  }
package/bin/untyped.js CHANGED
@@ -39,9 +39,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
39
39
  mod
40
40
  ));
41
41
 
42
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=214cbeb07445a723854c8fc34007a4790e4ea2ad2a5d1919d7b09d653a83dae4__55b515e7c12ac974ee579d60acf23eea/node_modules/tsup/assets/esm_shims.js
42
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=03667209a675e5896d66bd6058c9830fe9adb022e07ce6b04adc2eb927ede5fd__f9deff99d28cedac02de9c72719d1b4e/node_modules/tsup/assets/esm_shims.js
43
43
  var init_esm_shims = __esm({
44
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=214cbeb07445a723854c8fc34007a4790e4ea2ad2a5d1919d7b09d653a83dae4__55b515e7c12ac974ee579d60acf23eea/node_modules/tsup/assets/esm_shims.js"() {
44
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=03667209a675e5896d66bd6058c9830fe9adb022e07ce6b04adc2eb927ede5fd__f9deff99d28cedac02de9c72719d1b4e/node_modules/tsup/assets/esm_shims.js"() {
45
45
  }
46
46
  });
47
47
 
@@ -1,15 +1,15 @@
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 _chunk2XWBCDOAcjs = require('./chunk-2XWBCDOA.cjs');
4
+ var _chunk6DLWUROGcjs = require('./chunk-6DLWUROG.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunkO5EBFGK7cjs = require('./chunk-O5EBFGK7.cjs');
9
+ var _chunkQYRAGPFTcjs = require('./chunk-QYRAGPFT.cjs');
10
10
 
11
11
  // src/generators/dts.ts
12
- _chunkO5EBFGK7cjs.init_cjs_shims.call(void 0, );
12
+ _chunkQYRAGPFTcjs.init_cjs_shims.call(void 0, );
13
13
  var _promises = require('fs/promises');
14
14
  var _untyped = require('untyped');
15
15
  function generateDeclaration(schema) {
@@ -25,14 +25,14 @@ ${_untyped.generateTypes.call(void 0, schema, {
25
25
 
26
26
  `;
27
27
  }
28
- _chunkO5EBFGK7cjs.__name.call(void 0, generateDeclaration, "generateDeclaration");
28
+ _chunkQYRAGPFTcjs.__name.call(void 0, generateDeclaration, "generateDeclaration");
29
29
  function generateDeclarationFile(schema, file, config) {
30
30
  try {
31
- const declarations = _chunkO5EBFGK7cjs.getOutputFile.call(void 0, file, "d.ts");
32
- _chunk2XWBCDOAcjs.writeTrace.call(void 0, `Writing type declaration file ${declarations}`, config);
31
+ const declarations = _chunkQYRAGPFTcjs.getOutputFile.call(void 0, file, "d.ts");
32
+ _chunk6DLWUROGcjs.writeTrace.call(void 0, `Writing type declaration file ${declarations}`, config);
33
33
  return _promises.writeFile.call(void 0, declarations, generateDeclaration(schema));
34
34
  } catch (error) {
35
- _chunk2XWBCDOAcjs.writeError.call(void 0, `Error writing declaration file for ${file.name}
35
+ _chunk6DLWUROGcjs.writeError.call(void 0, `Error writing declaration file for ${file.name}
36
36
 
37
37
  Error:
38
38
  ${_optionalChain([error, 'optionalAccess', _4 => _4.message]) ? error.message : JSON.stringify(error)}${_optionalChain([error, 'optionalAccess', _5 => _5.stack]) ? `
@@ -44,7 +44,7 @@ ${JSON.stringify(schema)}
44
44
  throw error;
45
45
  }
46
46
  }
47
- _chunkO5EBFGK7cjs.__name.call(void 0, generateDeclarationFile, "generateDeclarationFile");
47
+ _chunkQYRAGPFTcjs.__name.call(void 0, generateDeclarationFile, "generateDeclarationFile");
48
48
 
49
49
 
50
50
 
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  generateDeclarationFile
3
- } from "./chunk-OJCEMQWW.js";
3
+ } from "./chunk-SGZI3KJK.js";
4
4
  import {
5
5
  generateJsonSchemaFile
6
- } from "./chunk-INBW7RE7.js";
6
+ } from "./chunk-MG5LHTAC.js";
7
7
  import {
8
8
  generateMarkdownFile
9
- } from "./chunk-NME6I4YO.js";
9
+ } from "./chunk-D6QZHCD3.js";
10
10
  import {
11
11
  isVerbose,
12
12
  writeError,
13
13
  writeTrace
14
- } from "./chunk-WSKXKTII.js";
14
+ } from "./chunk-E2T2GVF4.js";
15
15
  import {
16
16
  __name,
17
17
  init_esm_shims,
18
18
  joinPaths
19
- } from "./chunk-ARVBKIVC.js";
19
+ } from "./chunk-P5O7CVNX.js";
20
20
 
21
21
  // src/generate.ts
22
22
  init_esm_shims();