@tryghost/metrics 1.0.0 → 1.0.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/LICENSE +1 -1
- package/README.md +1 -1
- package/lib/GhostMetrics.js +1 -1
- package/package.json +9 -9
package/LICENSE
CHANGED
package/README.md
CHANGED
package/lib/GhostMetrics.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
const jsonStringifySafe = require('json-stringify-safe');
|
|
2
|
-
const GhostPrettyStream = require('@tryghost/pretty-stream');
|
|
3
2
|
|
|
4
3
|
try {
|
|
5
4
|
const allSettled = require('promise.allsettled');
|
|
@@ -58,6 +57,7 @@ class GhostMetrics {
|
|
|
58
57
|
* @description Setup stdout stream.
|
|
59
58
|
*/
|
|
60
59
|
setupStdoutShipper() {
|
|
60
|
+
const GhostPrettyStream = require('@tryghost/pretty-stream');
|
|
61
61
|
const prettyStdOut = new GhostPrettyStream({
|
|
62
62
|
mode: this.mode
|
|
63
63
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/metrics",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"repository": "https://github.com/TryGhost/framework/tree/main/packages/metrics",
|
|
5
5
|
"author": "Ghost Foundation",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,20 +19,20 @@
|
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"c8": "7.
|
|
23
|
-
"mocha": "9.
|
|
24
|
-
"rewire": "
|
|
22
|
+
"c8": "7.11.0",
|
|
23
|
+
"mocha": "9.2.0",
|
|
24
|
+
"rewire": "6.0.0",
|
|
25
25
|
"should": "13.2.3",
|
|
26
|
-
"sinon": "
|
|
26
|
+
"sinon": "13.0.1"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@tryghost/elasticsearch": "^1.0.
|
|
30
|
-
"@tryghost/pretty-stream": "^0.1.
|
|
31
|
-
"@tryghost/root-utils": "^0.3.
|
|
29
|
+
"@tryghost/elasticsearch": "^1.0.3",
|
|
30
|
+
"@tryghost/pretty-stream": "^0.1.5",
|
|
31
|
+
"@tryghost/root-utils": "^0.3.10",
|
|
32
32
|
"json-stringify-safe": "^5.0.1"
|
|
33
33
|
},
|
|
34
34
|
"optionalDependencies": {
|
|
35
35
|
"promise.allsettled": "^1.0.5"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "45777c4b5a010293f529f88aea19a81a896ba266"
|
|
38
38
|
}
|