This was an old attempt at gracefully unloading channels that still had pending callbacks. Its implementation was always flawed, and the number of places where it was used is small enough to replace with straightforward checks for whether the channel has been unloaded after an asynchronous operation. Hopefully fixes the stuck 0 user channels issue.
85 lines
2.3 KiB
JSON
85 lines
2.3 KiB
JSON
{
|
|
"author": "Calvin Montgomery",
|
|
"name": "CyTube",
|
|
"description": "Online media synchronizer and chat",
|
|
"version": "3.74.0",
|
|
"repository": {
|
|
"url": "http://github.com/calzoneman/sync"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@calzoneman/express-babel-decorators": "^1.0.0",
|
|
"@calzoneman/jsli": "^2.0.1",
|
|
"@cytube/mediaquery": "0.0.24",
|
|
"bcrypt": "^5.0.0",
|
|
"bluebird": "^3.5.1",
|
|
"body-parser": "^1.18.2",
|
|
"cheerio": "^1.0.0-rc.2",
|
|
"clone": "^2.1.1",
|
|
"compression": "^1.5.2",
|
|
"cookie-parser": "^1.4.0",
|
|
"create-error": "^0.3.1",
|
|
"csrf": "^3.0.0",
|
|
"cytubefilters": "github:calzoneman/cytubefilters#c67b2dab2dc5cc5ed11018819f71273d0f8a1bf5",
|
|
"express": "^4.16.2",
|
|
"express-minify": "^1.0.0",
|
|
"graceful-fs": "^4.1.2",
|
|
"json-typecheck": "^0.1.3",
|
|
"knex": "^0.20.3",
|
|
"lodash": "^4.17.5",
|
|
"morgan": "^1.6.1",
|
|
"mysql": "^2.9.0",
|
|
"nodemailer": "^6.2.1",
|
|
"prom-client": "^10.0.2",
|
|
"proxy-addr": "^2.0.2",
|
|
"pug": "^2.0.0-beta3",
|
|
"redis": "^2.4.2",
|
|
"sanitize-html": "^1.14.1",
|
|
"serve-static": "^1.13.2",
|
|
"socket.io": "^2.0.3",
|
|
"source-map-support": "^0.5.3",
|
|
"sprintf-js": "^1.0.3",
|
|
"toml": "^2.3.0",
|
|
"uuid": "^3.2.1",
|
|
"yamljs": "^0.2.8"
|
|
},
|
|
"scripts": {
|
|
"build-player": "./bin/build-player.js",
|
|
"build-server": "babel -D --source-maps --out-dir lib/ src/",
|
|
"flow": "flow",
|
|
"lint": "eslint src",
|
|
"pretest": "npm run lint",
|
|
"postinstall": "./postinstall.sh",
|
|
"server-dev": "babel -D --watch --source-maps --verbose --out-dir lib/ src/",
|
|
"generate-userscript": "$npm_node_execpath gdrive-userscript/generate-userscript $@ > www/js/cytube-google-drive.user.js",
|
|
"test": "mocha --recursive --exit test",
|
|
"integration-test": "mocha --recursive --exit integration_test"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.10.5",
|
|
"@babel/core": "^7.11.4",
|
|
"@babel/preset-env": "^7.11.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-plugin-add-module-exports": "^1.0.2",
|
|
"coffeescript": "^1.9.2",
|
|
"eslint": "^7.7.0",
|
|
"mocha": "^8.1.1",
|
|
"sinon": "^9.0.3"
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
[
|
|
"@babel/env",
|
|
{
|
|
"targets": {
|
|
"node": "12"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"plugins": [
|
|
"add-module-exports"
|
|
]
|
|
}
|
|
}
|