@salesforce/plugin-trust 2.6.0 → 2.6.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.
|
@@ -8,7 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
8
8
|
*/
|
|
9
9
|
const os = require("os");
|
|
10
10
|
const core_1 = require("@salesforce/core");
|
|
11
|
-
const appInsights_1 = require("@salesforce/telemetry/lib/appInsights");
|
|
12
11
|
const hook = async function (opts) {
|
|
13
12
|
try {
|
|
14
13
|
global.cliTelemetry?.record({
|
|
@@ -32,9 +31,7 @@ const hook = async function (opts) {
|
|
|
32
31
|
eventName: 'JIT_INSTALL_FAILED',
|
|
33
32
|
type: 'EVENT',
|
|
34
33
|
message: error instanceof Error ? error.message : 'malformed error',
|
|
35
|
-
stackTrace: error instanceof Error
|
|
36
|
-
? error?.stack?.replace(new RegExp(os.homedir(), 'g'), appInsights_1.AppInsights.GDPR_HIDDEN)
|
|
37
|
-
: undefined,
|
|
34
|
+
stackTrace: error instanceof Error ? error?.stack?.replace(new RegExp(os.homedir(), 'g'), '<GDPR_HIDDEN>') : undefined,
|
|
38
35
|
version: opts.pluginVersion,
|
|
39
36
|
plugin: opts.command.pluginName,
|
|
40
37
|
command: opts.command.id,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jitPluginInstall.js","sourceRoot":"","sources":["../../src/hooks/jitPluginInstall.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AAEzB,2CAA2C;
|
|
1
|
+
{"version":3,"file":"jitPluginInstall.js","sourceRoot":"","sources":["../../src/hooks/jitPluginInstall.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AAEzB,2CAA2C;AAK3C,MAAM,IAAI,GAAqC,KAAK,WAAW,IAAI;IACjE,IAAI;QACF,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC;YAC1B,SAAS,EAAE,qBAAqB;YAChC,IA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C;KAC5F;AACH,CAAC,CAAC;AAEF,kBAAe,IAAI,CAAC"}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-trust",
|
|
3
3
|
"description": "validate a digital signature for a npm package",
|
|
4
|
-
"version": "2.6.
|
|
4
|
+
"version": "2.6.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"bin": {
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
"@oclif/core": "^2.11.8",
|
|
13
13
|
"@salesforce/core": "^5.2.0",
|
|
14
14
|
"@salesforce/sf-plugins-core": "^3.1.14",
|
|
15
|
-
"@salesforce/telemetry": "^4.1.0",
|
|
16
15
|
"got": "^11",
|
|
17
16
|
"npm": "^8.19.4",
|
|
18
17
|
"npm-run-path": "^4.0.1",
|
|
@@ -227,7 +226,7 @@
|
|
|
227
226
|
}
|
|
228
227
|
},
|
|
229
228
|
"sfdx": {
|
|
230
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/2.6.
|
|
231
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/2.6.
|
|
229
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/2.6.1.crt",
|
|
230
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/2.6.1.sig"
|
|
232
231
|
}
|
|
233
232
|
}
|