@refactorlabs/recount 0.11.2 → 0.11.3
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/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1752,6 +1752,7 @@ var Trace = class {
|
|
|
1752
1752
|
);
|
|
1753
1753
|
if (__privateGet(this, _spans)[__privateGet(this, _spans).length - 1] === group) {
|
|
1754
1754
|
__privateGet(this, _spans).pop();
|
|
1755
|
+
__privateSet(this, _lastSpan2, void 0);
|
|
1755
1756
|
__privateGet(this, _log).call(this, `span type=group name=${name} dropped (no children)`);
|
|
1756
1757
|
}
|
|
1757
1758
|
}
|
|
@@ -1842,6 +1843,7 @@ pushSpan_fn = function(type, name, options, parentOrder) {
|
|
|
1842
1843
|
if (type !== "group" && type !== "message") {
|
|
1843
1844
|
if (options?.input === void 0 && options?.output === void 0) {
|
|
1844
1845
|
__privateGet(this, _log).call(this, `span type=${type} name=${name} dropped (no input or output)`);
|
|
1846
|
+
__privateSet(this, _lastSpan2, void 0);
|
|
1845
1847
|
return;
|
|
1846
1848
|
}
|
|
1847
1849
|
}
|