update three dep. increase debug level for dep debug

This commit is contained in:
Stewart Allen 2022-01-27 12:42:06 -05:00
commit 6c3c379495
2 changed files with 3 additions and 3 deletions

4
app.js
View file

@ -53,7 +53,7 @@ function init(mod) {
return cached; return cached;
} }
if (seen.indexOf(path) >= 0) { if (seen.indexOf(path) >= 0) {
if (debug) { if (debug > 1) {
console.log(`circular dependency at ${path}`, seen); console.log(`circular dependency at ${path}`, seen);
} }
return []; return [];
@ -108,7 +108,7 @@ function init(mod) {
} }
// if list is modified, substitute // if list is modified, substitute
if (modd) { if (modd) {
if (debug) { if (debug > 1) {
console.log({path, val, nval}); console.log({path, val, nval});
} }
val = nval; val = nval;

View file

@ -33,7 +33,7 @@
"moment": "^2.24.0", "moment": "^2.24.0",
"pixi.js": "^4.8.9", "pixi.js": "^4.8.9",
"serve-static": "^1.14.1", "serve-static": "^1.14.1",
"three": "^0.136.0", "three": "^0.137.0",
"uglify-js": "3.14.5", "uglify-js": "3.14.5",
"validator": ">=13.7.0", "validator": ">=13.7.0",
"ws": "^7.5.5" "ws": "^7.5.5"