@salesforce/telemetry 4.1.17 → 4.1.19
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/appInsights.js +1 -1
- package/lib/exported.js +7 -7
- package/lib/telemetryReporter.js +1 -1
- package/package.json +6 -26
package/lib/appInsights.js
CHANGED
|
@@ -30,7 +30,7 @@ exports.AppInsights = exports.buildPropertiesAndMeasurements = exports.getCpus =
|
|
|
30
30
|
* Licensed under the BSD 3-Clause license.
|
|
31
31
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
32
32
|
*/
|
|
33
|
-
const os = __importStar(require("os"));
|
|
33
|
+
const os = __importStar(require("node:os"));
|
|
34
34
|
const core_1 = require("@salesforce/core");
|
|
35
35
|
const kit_1 = require("@salesforce/kit");
|
|
36
36
|
const ts_types_1 = require("@salesforce/ts-types");
|
package/lib/exported.js
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Copyright (c) 2020, salesforce.com, inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
* Licensed under the BSD 3-Clause license.
|
|
5
|
-
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
|
-
*/
|
|
7
|
-
'use strict';
|
|
1
|
+
"use strict";
|
|
8
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9
3
|
if (k2 === undefined) k2 = k;
|
|
10
4
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -21,6 +15,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
21
15
|
};
|
|
22
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
17
|
exports.isEnabled = void 0;
|
|
18
|
+
/*
|
|
19
|
+
* Copyright (c) 2020, salesforce.com, inc.
|
|
20
|
+
* All rights reserved.
|
|
21
|
+
* Licensed under the BSD 3-Clause license.
|
|
22
|
+
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
23
|
+
*/
|
|
24
24
|
const telemetryReporter_1 = require("./telemetryReporter");
|
|
25
25
|
__exportStar(require("./telemetryReporter"), exports);
|
|
26
26
|
var enabledCheck_1 = require("./enabledCheck");
|
package/lib/telemetryReporter.js
CHANGED
|
@@ -33,7 +33,7 @@ exports.TelemetryReporter = exports.TelemetryClient = void 0;
|
|
|
33
33
|
* Licensed under the BSD 3-Clause license.
|
|
34
34
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
35
35
|
*/
|
|
36
|
-
const os = __importStar(require("os"));
|
|
36
|
+
const os = __importStar(require("node:os"));
|
|
37
37
|
const core_1 = require("@salesforce/core");
|
|
38
38
|
const kit_1 = require("@salesforce/kit");
|
|
39
39
|
const got_1 = __importDefault(require("got"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/telemetry",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.19",
|
|
4
4
|
"description": "Library for application insights",
|
|
5
5
|
"main": "lib/exported",
|
|
6
6
|
"exports": {
|
|
@@ -39,37 +39,17 @@
|
|
|
39
39
|
"!lib/**/*.map"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@salesforce/core": "^5.3.
|
|
42
|
+
"@salesforce/core": "^5.3.17",
|
|
43
43
|
"@salesforce/ts-types": "^2.0.9",
|
|
44
44
|
"applicationinsights": "^2.9.0",
|
|
45
45
|
"got": "^11",
|
|
46
46
|
"proxy-agent": "^6.3.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@salesforce/dev-
|
|
50
|
-
"@salesforce/
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
54
|
-
"@typescript-eslint/parser": "^5.62.0",
|
|
55
|
-
"chai": "^4.3.10",
|
|
56
|
-
"eslint": "^8.52.0",
|
|
57
|
-
"eslint-config-prettier": "^8.10.0",
|
|
58
|
-
"eslint-config-salesforce": "^2.0.2",
|
|
59
|
-
"eslint-config-salesforce-license": "^0.2.0",
|
|
60
|
-
"eslint-config-salesforce-typescript": "^1.1.2",
|
|
61
|
-
"eslint-plugin-header": "^3.1.1",
|
|
62
|
-
"eslint-plugin-import": "2.28.1",
|
|
63
|
-
"eslint-plugin-jsdoc": "^44.2.7",
|
|
64
|
-
"husky": "^8.0.3",
|
|
65
|
-
"mocha": "^10.2.0",
|
|
66
|
-
"nyc": "^15.1.0",
|
|
67
|
-
"prettier": "^2.8.8",
|
|
68
|
-
"pretty-quick": "^3.1.0",
|
|
69
|
-
"sinon": "^15.2.0",
|
|
70
|
-
"ts-node": "^10.0.0",
|
|
71
|
-
"typescript": "^4.9.5",
|
|
72
|
-
"wireit": "^0.14.1"
|
|
49
|
+
"@salesforce/dev-scripts": "^6.0.3",
|
|
50
|
+
"@salesforce/ts-sinon": "^1.4.19",
|
|
51
|
+
"ts-node": "^10.9.1",
|
|
52
|
+
"typescript": "^5.2.2"
|
|
73
53
|
},
|
|
74
54
|
"types": "lib/exported.d.ts",
|
|
75
55
|
"publishConfig": {
|