update, text, response

This commit is contained in:
2025-11-02 11:09:14 +01:00
parent 14776c86b0
commit eed8a4ddcf
2794 changed files with 156786 additions and 129204 deletions

View File

@@ -1,3 +1 @@
{
"globals": { "Promise": true }
}
{ "globals": { "Promise": true } }

View File

@@ -11,9 +11,7 @@ module.exports = function (/* timeout */) {
if (isValue(timeout)) timeout = ensureTimeout(timeout);
return new Constructor(function (resolve) {
if (isValue(timeout)) {
setTimeout(function () {
resolve();
}, timeout);
setTimeout(function () { resolve(); }, timeout);
} else {
nextTick(resolve);
}