@telia-ace/alliance-internal-node-utilities 1.0.3-next.3 → 1.0.3-next.4
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 +6 -0
- package/dist/index.cjs +6 -8
- package/dist/index.mjs +6 -8
- package/package.json +1 -3
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -751,14 +751,12 @@ exports.LoggerModule = class LoggerModule {
|
|
|
751
751
|
useFactory: async (configService) => ({
|
|
752
752
|
pinoHttp: {
|
|
753
753
|
level: logLevel || configService.get(SharedConfigKeys.ServiceLogLevel) || "silent",
|
|
754
|
-
redact: redact ? [
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
}
|
|
761
|
-
}
|
|
754
|
+
redact: redact ? [
|
|
755
|
+
"authorization",
|
|
756
|
+
"headers.authorization",
|
|
757
|
+
"req.headers.authorization",
|
|
758
|
+
"res.headers.authorization"
|
|
759
|
+
] : []
|
|
762
760
|
}
|
|
763
761
|
})
|
|
764
762
|
})
|
package/dist/index.mjs
CHANGED
|
@@ -745,14 +745,12 @@ let LoggerModule = class {
|
|
|
745
745
|
useFactory: async (configService) => ({
|
|
746
746
|
pinoHttp: {
|
|
747
747
|
level: logLevel || configService.get(SharedConfigKeys.ServiceLogLevel) || "silent",
|
|
748
|
-
redact: redact ? [
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
}
|
|
755
|
-
}
|
|
748
|
+
redact: redact ? [
|
|
749
|
+
"authorization",
|
|
750
|
+
"headers.authorization",
|
|
751
|
+
"req.headers.authorization",
|
|
752
|
+
"res.headers.authorization"
|
|
753
|
+
] : []
|
|
756
754
|
}
|
|
757
755
|
})
|
|
758
756
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telia-ace/alliance-internal-node-utilities",
|
|
3
|
-
"version": "1.0.3-next.
|
|
3
|
+
"version": "1.0.3-next.4",
|
|
4
4
|
"description": "Utilities used internally by packages developed by team Alliance.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "Telia Company AB",
|
|
@@ -23,8 +23,6 @@
|
|
|
23
23
|
"jsonschema": "^1.4.1",
|
|
24
24
|
"jsonwebtoken": "^9.0.1",
|
|
25
25
|
"nestjs-pino": "^3.3.0",
|
|
26
|
-
"pino-http": "^8.3.3",
|
|
27
|
-
"pino-pretty": "^10.1.0",
|
|
28
26
|
"redis": "^4.6.8",
|
|
29
27
|
"slugify": "^1.6.6"
|
|
30
28
|
},
|