newrelic 8.13.0 → 8.13.1
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/NEWS.md +4 -0
- package/THIRD_PARTY_NOTICES.md +1 -1
- package/lib/instrumentation/winston.js +1 -1
- package/package.json +2 -2
package/NEWS.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
### v8.13.1 (2022-05-27)
|
|
2
|
+
|
|
3
|
+
* Fixed passing undefined as a formatter options to `winston.format.combine`
|
|
4
|
+
|
|
1
5
|
### v8.13.0 (2022-05-26)
|
|
2
6
|
|
|
3
7
|
* Moved log forwarding logic to a transport so customer transports are not polluted with NR linking metadata and timestamp and error manipulations.
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -1801,7 +1801,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
1801
1801
|
|
|
1802
1802
|
### @newrelic/test-utilities
|
|
1803
1803
|
|
|
1804
|
-
This product includes source derived from [@newrelic/test-utilities](https://github.com/newrelic/node-test-utilities) ([v6.5.
|
|
1804
|
+
This product includes source derived from [@newrelic/test-utilities](https://github.com/newrelic/node-test-utilities) ([v6.5.4](https://github.com/newrelic/node-test-utilities/tree/v6.5.4)), distributed under the [Apache-2.0 License](https://github.com/newrelic/node-test-utilities/blob/v6.5.4/LICENSE):
|
|
1805
1805
|
|
|
1806
1806
|
```
|
|
1807
1807
|
Apache License
|
|
@@ -64,7 +64,7 @@ module.exports = function instrument(agent, winston, _, shim) {
|
|
|
64
64
|
function registerFormatter({ opts, agent, winston }) {
|
|
65
65
|
const instrumentedFormatter = nrWinstonFormatter(agent, winston)
|
|
66
66
|
|
|
67
|
-
if (
|
|
67
|
+
if (opts.format) {
|
|
68
68
|
opts.format = winston.format.combine(instrumentedFormatter(), opts.format)
|
|
69
69
|
} else {
|
|
70
70
|
opts.format = instrumentedFormatter()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "newrelic",
|
|
3
|
-
"version": "8.13.
|
|
3
|
+
"version": "8.13.1",
|
|
4
4
|
"author": "New Relic Node.js agent team <nodejs@newrelic.com>",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"contributors": [
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
"@newrelic/eslint-config": "^0.0.3",
|
|
181
181
|
"@newrelic/newrelic-oss-cli": "^0.1.2",
|
|
182
182
|
"@newrelic/proxy": "^2.0.0",
|
|
183
|
-
"@newrelic/test-utilities": "^6.5.
|
|
183
|
+
"@newrelic/test-utilities": "^6.5.4",
|
|
184
184
|
"@octokit/rest": "^18.0.15",
|
|
185
185
|
"@slack/bolt": "^3.7.0",
|
|
186
186
|
"ajv": "^6.12.6",
|