@tryghost/metrics 1.0.32 → 1.0.34
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/lib/GhostMetrics.js +0 -7
- package/package.json +6 -8
package/lib/GhostMetrics.js
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
const jsonStringifySafe = require('json-stringify-safe');
|
|
2
2
|
|
|
3
|
-
try {
|
|
4
|
-
const allSettled = require('promise.allsettled');
|
|
5
|
-
allSettled.shim();
|
|
6
|
-
} catch (err) {
|
|
7
|
-
// no-op - shim not required
|
|
8
|
-
}
|
|
9
|
-
|
|
10
3
|
/**
|
|
11
4
|
* @description Metric shipper class built on the loggingrc config used in Ghost projects
|
|
12
5
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/metrics",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.34",
|
|
4
4
|
"repository": "https://github.com/TryGhost/framework/tree/main/packages/metrics",
|
|
5
5
|
"author": "Ghost Foundation",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,18 +20,16 @@
|
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"c8": "10.1.2",
|
|
23
|
-
"mocha": "10.
|
|
23
|
+
"mocha": "10.6.0",
|
|
24
24
|
"rewire": "7.0.0",
|
|
25
25
|
"should": "13.2.3",
|
|
26
26
|
"sinon": "18.0.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@tryghost/elasticsearch": "^3.0.
|
|
30
|
-
"@tryghost/pretty-stream": "^0.1.
|
|
31
|
-
"@tryghost/root-utils": "^0.3.
|
|
29
|
+
"@tryghost/elasticsearch": "^3.0.21",
|
|
30
|
+
"@tryghost/pretty-stream": "^0.1.26",
|
|
31
|
+
"@tryghost/root-utils": "^0.3.30",
|
|
32
32
|
"json-stringify-safe": "^5.0.1"
|
|
33
33
|
},
|
|
34
|
-
"
|
|
35
|
-
"promise.allsettled": "^1.0.5"
|
|
36
|
-
}
|
|
34
|
+
"gitHead": "d3d489cb44ac3d4e35e21388d48ee0d94e496d86"
|
|
37
35
|
}
|