feat: update deps for new release

main
Ayush Mukherjee 1 year ago
parent 5c5312ff14
commit 6a1f2d0f61

3442
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -1,6 +1,6 @@
{
"name": "nuke",
"version": "1.4.7",
"version": "1.5.0",
"description": "APL Esports' Nuke Server",
"main": "index.js",
"scripts": {
@ -11,17 +11,17 @@
"author": "",
"license": "MIT",
"dependencies": {
"axios": "^0.21.1",
"axios": "^1",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"helmet": "^4.1.0",
"mongoose": "^5.11.19",
"morgan": "^1.10.0",
"uuid": "^8.3.2",
"ws": "^7.4.4"
"dotenv": "^8",
"express": "^4",
"helmet": "^7",
"mongoose": "^8",
"morgan": "^1.10",
"uuid": "^9",
"ws": "^8"
},
"devDependencies": {
"nodemon": "^2.0.4"
"nodemon": "^3.0"
}
}

@ -6,11 +6,7 @@ const { get } = require('./uuids')
const handler = require('./ws/handler')
const { subscribe } = require('./ws/streams')
mongoose.connect(process.env.MONGO_URI, {
useNewUrlParser: true,
useUnifiedTopology: true,
useFindAndModify: false,
})
mongoose.connect(process.env.MONGO_URI)
const db = mongoose.connection
db.once('open', () => console.log('Connected to mongodb instance!'))
@ -63,4 +59,4 @@ server.on('upgrade', (req, socket, head) => {
})
}
}
})
})

Loading…
Cancel
Save