remove deasync package as it was causing npm problems

This commit is contained in:
Dobromir Popov
2023-05-15 11:55:56 +03:00
parent ff168b1c18
commit 53a8dc8cdf
3 changed files with 1545 additions and 9064 deletions

10605
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -27,7 +27,6 @@
"cookie-auth": "^2.4.2", "cookie-auth": "^2.4.2",
"cookie-parser": "^1.4.5", "cookie-parser": "^1.4.5",
"cors": "2.8.5", "cors": "2.8.5",
"deasync": "^0.1.20",
"ejs": "^3.1.3", "ejs": "^3.1.3",
"express": "^4.8.7", "express": "^4.8.7",
"express-ejs-layouts": "^2.5.0", "express-ejs-layouts": "^2.5.0",

View File

@@ -44,7 +44,8 @@ function GetDht() {
} }
})(); })();
while(result === undefined) { while(result === undefined) {
require('deasync').runLoopOnce(); /* {package.json>dependencies} "deasync": "^0.1.20", */
//require('deasync').runLoopOnce();
} }
return result; return result;