mol_conform 0.0.72 → 0.0.74
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/node.test.js +4 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
package/node.test.js
CHANGED
|
@@ -1438,10 +1438,12 @@ var $;
|
|
|
1438
1438
|
result = wrappers.get(result);
|
|
1439
1439
|
}
|
|
1440
1440
|
else {
|
|
1441
|
-
|
|
1441
|
+
const put = (v) => {
|
|
1442
1442
|
if (this.cache === result)
|
|
1443
1443
|
this.absorb();
|
|
1444
|
-
|
|
1444
|
+
return v;
|
|
1445
|
+
};
|
|
1446
|
+
wrappers.set(result, result = Object.assign(result.then(put, put), { destructor: result.destructor || (() => { }) }));
|
|
1445
1447
|
const error = new Error(`Promise in ${this}`);
|
|
1446
1448
|
Object.defineProperty(result, 'stack', { get: () => error.stack });
|
|
1447
1449
|
}
|