diff --git a/deplist.txt b/deplist.txt deleted file mode 100644 index c6dc5df..0000000 --- a/deplist.txt +++ /dev/null @@ -1,13 +0,0 @@ -# -# *************************************************************************** -# -# Note: This file has been deprecated and exists for backward compatibility. -# Please use package.json to add dependencies to the Node modules -# your application requires. -# -# *************************************************************************** -# - -# -# For a list of globally installed modules - see file: npm_global_module_list. -# diff --git a/package.json b/package.json index f460e63..5da3f1a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "IRC-Gateway", - "version": "1.3.0", + "version": "1.3.1", "description": "The IRC Gateway server and client for the game SG-Realities", "keywords": [ "SGR", @@ -19,22 +19,22 @@ "url": "https://git.assembla.com/irc-gateway.git" }, "engines": { - "node": ">= 4.4.0", - "npm": ">= 2.10.0" + "node": ">= 6.0.0", + "npm": ">= 3.0.0" }, "scripts": { - "preinstall": "npm install coffee-script@1.10.0 -g", + "preinstall": "npm install coffee-script@1.12.7 -g", "install": "cake build" }, "dependencies": { - "q": "~1.4.1", - "express": "~4.13.0", - "socket.io": "~1.4.5", - "irc": "~0.4.1", - "mysql": "~2.10.2" + "q": "~1.5.1", + "express": "~4.16.2", + "socket.io": "~1.7.4", + "irc": "~0.5.2", + "mysql": "~2.15.0" }, "devDependencies": { - "coffee-script": "1.10.0" + "coffee-script": "1.12.7" }, "bundleDependencies": [], "private": true, diff --git a/src_coffee/server/main.coffee b/src_coffee/server/main.coffee index b3e7c90..e6af010 100644 --- a/src_coffee/server/main.coffee +++ b/src_coffee/server/main.coffee @@ -31,10 +31,10 @@ db = new Database() # Create database wrapper object log = Logger ## Set object to global scope -GLOBAL.Q = Q -GLOBAL.io = io -GLOBAL.db = db -GLOBAL.log = log +global.Q = Q +global.io = io +global.db = db +global.log = log ## Main class