@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.js
CHANGED
|
@@ -1731,6 +1731,7 @@ var Trace = class {
|
|
|
1731
1731
|
);
|
|
1732
1732
|
if (__privateGet(this, _spans)[__privateGet(this, _spans).length - 1] === group) {
|
|
1733
1733
|
__privateGet(this, _spans).pop();
|
|
1734
|
+
__privateSet(this, _lastSpan2, void 0);
|
|
1734
1735
|
__privateGet(this, _log).call(this, `span type=group name=${name} dropped (no children)`);
|
|
1735
1736
|
}
|
|
1736
1737
|
}
|
|
@@ -1821,6 +1822,7 @@ pushSpan_fn = function(type, name, options, parentOrder) {
|
|
|
1821
1822
|
if (type !== "group" && type !== "message") {
|
|
1822
1823
|
if (options?.input === void 0 && options?.output === void 0) {
|
|
1823
1824
|
__privateGet(this, _log).call(this, `span type=${type} name=${name} dropped (no input or output)`);
|
|
1825
|
+
__privateSet(this, _lastSpan2, void 0);
|
|
1824
1826
|
return;
|
|
1825
1827
|
}
|
|
1826
1828
|
}
|