@meadown/logger 1.8.1 → 1.8.3

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
@@ -1,3 +1,5 @@
1
+ ![meadown/logger — a development-focused logger for Node.js](media/header.png)
2
+
1
3
  # @meadown/logger
2
4
 
3
5
  A **development-focused logger** for Node.js and TypeScript — built to make your
@@ -63,7 +65,7 @@ actual response body. The promise flows through untouched. One line of code.
63
65
  ```ts
64
66
  const user = await logger.tap(
65
67
  fetch("https://api.example.com/users/1"),
66
- "GET /users/1"
68
+ "GET /users/1",
67
69
  )
68
70
  // user is the real Response — your code doesn't change at all
69
71
  ```
@@ -93,7 +95,7 @@ back? Without opening DevTools.
93
95
  Works with plain values too — logs it, returns it, nothing changes:
94
96
 
95
97
  ```ts
96
- const port = logger.tap(5000, "port") // port is still 5000
98
+ const port = logger.tap(5000, "port") // port is still 5000
97
99
  const user = logger.tap(await getUser(), "user") // same as without tap
98
100
  ```
99
101
 
package/SECURITY.md CHANGED
@@ -2,15 +2,15 @@
2
2
 
3
3
  ## Reporting a vulnerability
4
4
 
5
- Please report security issues **privately** by email to
6
- [inbox.meadown@gmail.com](mailto:inbox.meadown@gmail.com).
5
+ Please report security issues **privately** do not open a public issue for
6
+ anything exploitable.
7
+
8
+ - **Preferred:** [Open a private security advisory →](https://github.com/meadown/meadown-logger/security/advisories/new)
9
+ - **Alternative:** email [inbox.meadown@gmail.com](mailto:inbox.meadown@gmail.com)
7
10
 
8
11
  Include a description, the affected version, and steps to reproduce. We aim to
9
12
  acknowledge reports within a few days and to coordinate a fix and disclosure.
10
13
 
11
- > Once this repository is public, reports can also be filed via GitHub Security
12
- > Advisories ("Report a vulnerability" under the Security tab).
13
-
14
14
  ## Supported versions
15
15
 
16
16
  Only the latest published `@meadown/logger` release receives security fixes.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meadown/logger",
3
- "version": "1.8.1",
3
+ "version": "1.8.3",
4
4
  "description": "A development-focused logger for Node.js and TypeScript — zero dependencies, clickable source links, and API response logging built in.",
5
5
  "keywords": [
6
6
  "logger",