@jini-ai/diagnostics 0.6.22 → 0.7.0
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/CHANGELOG.md +13 -0
- package/dist/core/secrets-only.js +5 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @jini-ai/diagnostics
|
|
2
2
|
|
|
3
|
+
## 0.7.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [8fe045b]
|
|
8
|
+
- Updated dependencies [41ff2ff]
|
|
9
|
+
- Updated dependencies [a266ba8]
|
|
10
|
+
- Updated dependencies [27063ef]
|
|
11
|
+
- Updated dependencies [6ab1d81]
|
|
12
|
+
- Updated dependencies [699b478]
|
|
13
|
+
- Updated dependencies [39cf677]
|
|
14
|
+
- @jini-ai/core@0.7.0
|
|
15
|
+
|
|
3
16
|
## 0.6.22
|
|
4
17
|
|
|
5
18
|
- Secret scrubbing: scheme names with no value are no longer treated as credentials; multi-word and prefixed labels are covered, Markdown code boundaries are kept.
|
|
@@ -73,8 +73,11 @@ const REDACTION_RULES = [
|
|
|
73
73
|
// review): a password that was never percent-encoded — `postgres://u:p@ss4@host/db` — otherwise
|
|
74
74
|
// matched only up to its FIRST `@`, leaving the tail (`ss4`) of the password in the output.
|
|
75
75
|
// `?` is excluded so a query string's own `@` cannot drag the match past the authority.
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
// Find the delimiter before checking the original scheme grammar. Starting at each word
|
|
77
|
+
// boundary rescans long dashed runs quadratically; delimiter-first checks disjoint runs once.
|
|
78
|
+
// The scheme stays outside the replacement, including suffixes after malformed prefixes.
|
|
79
|
+
pattern: /:\/\/(?<=\b[a-z][a-z0-9+.-]*:\/\/)(?!\[REDACTED)[^\s/@:]+:[^\s/?]+@/gi,
|
|
80
|
+
replacement: () => "://[REDACTED:url_credentials]@",
|
|
78
81
|
},
|
|
79
82
|
...REUSED_CREDENTIAL_RULES,
|
|
80
83
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jini-ai/diagnostics",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Diagnostics-bundle tooling: JSON/text secret redaction, log-source collection, manifest building, and zip packaging for support exports.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -82,13 +82,13 @@
|
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@vitest/coverage-v8": "^2.1.9",
|
|
84
84
|
"jszip": "^3.10.1",
|
|
85
|
-
"@jini-ai/
|
|
86
|
-
"@jini-ai/
|
|
85
|
+
"@jini-ai/analytics": "^0.7.0",
|
|
86
|
+
"@jini-ai/core": "^0.7.0"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
89
|
"js-tokens": "^9.0.1",
|
|
90
90
|
"jszip": "^3.10.1",
|
|
91
|
-
"@jini-ai/core": "^0.
|
|
91
|
+
"@jini-ai/core": "^0.7.0"
|
|
92
92
|
},
|
|
93
93
|
"scripts": {
|
|
94
94
|
"build": "tsc -p tsconfig.json",
|