@stacksjs/logging 0.70.163 → 0.70.165

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
@@ -55,7 +55,7 @@ For help, discussion about best practices, or any other conversation that would
55
55
 
56
56
  For casual chit-chat with others using this package:
57
57
 
58
- [Join the Stacks Discord Server](https://discord.gg/stacksjs)
58
+ [Join the Stacks Discord Server](https://stacksjs.com/discord)
59
59
 
60
60
  ## 📄 License
61
61
 
package/dist/index.d.ts CHANGED
@@ -106,12 +106,13 @@ export declare interface Log {
106
106
  flush: () => Promise<void>
107
107
  }
108
108
  /**
109
- * @deprecated stacksjs/stacks#1932 the old union form
110
- * (`{…} | any | Error`) included `| any`, which collapsed the whole
111
- * union and let `log.error(msg, anything)` type-check while silently
112
- * dropping the error. Prefer `log.error(message, error?, context?)`.
113
- * This explicit object shape is retained only for the legacy
114
- * `{ shouldExit }` fatal path.
109
+ * Options for the fatal path: `log.error(message, { shouldExit: true })`.
110
+ *
111
+ * Kept as an explicit object shape rather than folded into a union with
112
+ * `Error`. The old union included `| any`, which collapsed the whole thing and
113
+ * let `log.error(msg, anything)` type check while silently dropping the error
114
+ * (stacksjs/stacks#1932). For ordinary reporting use
115
+ * `log.error(message, error?, context?)`.
115
116
  */
116
117
  export declare interface LogErrorOptions {
117
118
  shouldExit: boolean
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/logging",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.70.163",
5
+ "version": "0.70.165",
6
6
  "description": "The Stacks logging system.",
7
7
  "author": "Chris Breuer",
8
8
  "contributors": [
@@ -54,12 +54,12 @@
54
54
  },
55
55
  "devDependencies": {
56
56
  "@stacksjs/clarity": "^0.3.31",
57
- "@stacksjs/cli": "0.70.163",
58
- "@stacksjs/config": "0.70.163",
59
- "@stacksjs/error-handling": "0.70.163",
60
- "@stacksjs/path": "0.70.163",
61
- "@stacksjs/storage": "0.70.163",
62
- "@stacksjs/validation": "0.70.163",
57
+ "@stacksjs/cli": "0.70.165",
58
+ "@stacksjs/config": "0.70.165",
59
+ "@stacksjs/error-handling": "0.70.165",
60
+ "@stacksjs/path": "0.70.165",
61
+ "@stacksjs/storage": "0.70.165",
62
+ "@stacksjs/validation": "0.70.165",
63
63
  "typescript": "^7.0.2"
64
64
  }
65
65
  }