@salesforce/packaging 2.4.7 → 2.4.8
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.
|
@@ -135,6 +135,9 @@ async function waitForPublish(connection, subscriberPackageVersionId, frequency,
|
|
|
135
135
|
getLogger().debug(`Error during waitForPublish polling:\n${e.stack}`);
|
|
136
136
|
// append the original stack to this new error
|
|
137
137
|
error.stack += `\nDUE TO:\n${e.stack}`;
|
|
138
|
+
if (e.message) {
|
|
139
|
+
error.actions = (error.actions ?? []).concat([e.message]);
|
|
140
|
+
}
|
|
138
141
|
}
|
|
139
142
|
throw error;
|
|
140
143
|
}
|
|
@@ -173,6 +176,9 @@ async function pollStatus(connection, installRequestId, options = { pollingFrequ
|
|
|
173
176
|
if (error.stack && e instanceof Error && e.stack) {
|
|
174
177
|
// add the original stack to this new error
|
|
175
178
|
error.stack += `\nDUE TO:\n${e.stack}`;
|
|
179
|
+
if (e.message) {
|
|
180
|
+
error.actions = (error.actions ?? []).concat([e.message]);
|
|
181
|
+
}
|
|
176
182
|
}
|
|
177
183
|
throw error;
|
|
178
184
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/packaging",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.8",
|
|
4
4
|
"description": "Packaging library for the Salesforce packaging platform",
|
|
5
5
|
"main": "lib/exported",
|
|
6
6
|
"types": "lib/exported.d.ts",
|
|
@@ -60,12 +60,12 @@
|
|
|
60
60
|
"@salesforce/dev-config": "^4.0.1",
|
|
61
61
|
"@salesforce/dev-scripts": "^5.10.0",
|
|
62
62
|
"@salesforce/prettier-config": "^0.0.3",
|
|
63
|
-
"@salesforce/ts-sinon": "^1.4.
|
|
63
|
+
"@salesforce/ts-sinon": "^1.4.16",
|
|
64
64
|
"@types/globby": "^9.1.0",
|
|
65
65
|
"@types/jszip": "^3.4.1",
|
|
66
66
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
67
67
|
"@typescript-eslint/parser": "^5.62.0",
|
|
68
|
-
"chai": "^4.3.
|
|
68
|
+
"chai": "^4.3.10",
|
|
69
69
|
"eslint": "^8.50.0",
|
|
70
70
|
"eslint-config-prettier": "^8.10.0",
|
|
71
71
|
"eslint-config-salesforce": "^2.0.2",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"eslint-plugin-header": "3.1.1",
|
|
75
75
|
"eslint-plugin-import": "^2.28.1",
|
|
76
76
|
"eslint-plugin-jsdoc": "^44.2.7",
|
|
77
|
-
"eslint-plugin-sf-plugin": "^1.16.
|
|
77
|
+
"eslint-plugin-sf-plugin": "^1.16.7",
|
|
78
78
|
"husky": "^8.0.3",
|
|
79
79
|
"mocha": "^10.2.0",
|
|
80
80
|
"nyc": "^15.1.0",
|