@storm-software/untyped 0.24.254 → 0.24.256

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
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-0.24.252-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)
30
+ [![Version](https://img.shields.io/badge/version-0.24.254-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)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
package/bin/untyped.cjs CHANGED
@@ -1348,15 +1348,16 @@ var handleProcess = (config) => {
1348
1348
  );
1349
1349
  process.on("unhandledRejection", (error) => {
1350
1350
  writeError(
1351
- `An Unhandled Rejection occurred while running the program: ${error}`,
1351
+ `An Unhandled Rejection occurred while running the program: ${error && typeof error === "object" && "message" in error && error?.message ? error.message : typeof error === "string" ? error : "Unknown error"}
1352
+ Stacktrace: ${error && typeof error === "object" && "stack" in error && error?.stack ? error.stack : ""}`,
1352
1353
  config
1353
1354
  );
1354
1355
  exitWithError(config);
1355
1356
  });
1356
1357
  process.on("uncaughtException", (error) => {
1357
1358
  writeError(
1358
- `An Uncaught Exception occurred while running the program: ${error.message}
1359
- Stacktrace: ${error.stack}`,
1359
+ `An Uncaught Exception occurred while running the program: ${error && typeof error === "object" && "message" in error && error?.message ? error.message : typeof error === "string" ? error : "Unknown error"}
1360
+ Stacktrace: ${error && typeof error === "object" && "stack" in error && error?.stack ? error.stack : ""}`,
1360
1361
  config
1361
1362
  );
1362
1363
  exitWithError(config);
package/bin/untyped.js CHANGED
@@ -1326,15 +1326,16 @@ var handleProcess = (config) => {
1326
1326
  );
1327
1327
  process.on("unhandledRejection", (error) => {
1328
1328
  writeError(
1329
- `An Unhandled Rejection occurred while running the program: ${error}`,
1329
+ `An Unhandled Rejection occurred while running the program: ${error && typeof error === "object" && "message" in error && error?.message ? error.message : typeof error === "string" ? error : "Unknown error"}
1330
+ Stacktrace: ${error && typeof error === "object" && "stack" in error && error?.stack ? error.stack : ""}`,
1330
1331
  config
1331
1332
  );
1332
1333
  exitWithError(config);
1333
1334
  });
1334
1335
  process.on("uncaughtException", (error) => {
1335
1336
  writeError(
1336
- `An Uncaught Exception occurred while running the program: ${error.message}
1337
- Stacktrace: ${error.stack}`,
1337
+ `An Uncaught Exception occurred while running the program: ${error && typeof error === "object" && "message" in error && error?.message ? error.message : typeof error === "string" ? error : "Unknown error"}
1338
+ Stacktrace: ${error && typeof error === "object" && "stack" in error && error?.stack ? error.stack : ""}`,
1338
1339
  config
1339
1340
  );
1340
1341
  exitWithError(config);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/untyped",
3
- "version": "0.24.254",
3
+ "version": "0.24.256",
4
4
  "private": false,
5
5
  "description": "A package containing `untyped` utilities for building Storm Software libraries and applications",
6
6
  "keywords": [
@@ -178,7 +178,7 @@
178
178
  },
179
179
  "files": ["dist/**/*"],
180
180
  "dependencies": {
181
- "@storm-software/config-tools": "^1.190.112",
181
+ "@storm-software/config-tools": "1.190.114",
182
182
  "commander": "^12.1.0",
183
183
  "glob": "^11.1.0",
184
184
  "jiti": "^2.7.0",
@@ -190,5 +190,5 @@
190
190
  "untyped": "^2.0.0"
191
191
  },
192
192
  "publishConfig": { "access": "public" },
193
- "gitHead": "2537bf05bf1146299a7eacaf917f1a5f4cd26a98"
193
+ "gitHead": "37e2a4dcb02f87727a9de4428f910ba4d9c4524f"
194
194
  }