smipper 25.0.0 → 27.0.0
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/index.js +5 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -168,7 +168,9 @@ function load(path) {
|
|
|
168
168
|
case 0: return [4 /*yield*/, got.get(path, { timeout: 10000 })];
|
|
169
169
|
case 1:
|
|
170
170
|
response = _a.sent();
|
|
171
|
-
|
|
171
|
+
if (verbose) {
|
|
172
|
+
console.error(response.headers);
|
|
173
|
+
}
|
|
172
174
|
return [2 /*return*/, response.body || ""];
|
|
173
175
|
}
|
|
174
176
|
});
|
|
@@ -185,7 +187,7 @@ function loadUri(path) {
|
|
|
185
187
|
}
|
|
186
188
|
return new Promise(function (resolve, reject) {
|
|
187
189
|
if (verbose) {
|
|
188
|
-
console.
|
|
190
|
+
console.error("loading", path);
|
|
189
191
|
}
|
|
190
192
|
if (!(path in sourceMaps)) {
|
|
191
193
|
sourceMaps[path] = {
|
|
@@ -264,7 +266,7 @@ function loadUri(path) {
|
|
|
264
266
|
}
|
|
265
267
|
function processFrame(functionName, url, line, column) {
|
|
266
268
|
if (verbose) {
|
|
267
|
-
console.
|
|
269
|
+
console.error("got frame", functionName, url, line, column);
|
|
268
270
|
}
|
|
269
271
|
if (functionName.endsWith("@")) {
|
|
270
272
|
functionName = functionName.substring(0, functionName.length - 1);
|