assisweb 8.0.0 → 9.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  const mongoose = require('mongoose')
2
2
 
3
3
 
4
- mongoose.connect("mongodb+srv://Assis:200420082018@cluster0.el3tr.mongodb.net/myFirstDatabase?retryWrites=true&w=majority").then(() => {
4
+ mongoose.connect("mongodb+srv://Assis:200420082018@cluster0.el3tr.mongodb.net/myFirstDatabase?retryWrites=true&w=majority",{useNewUrlParser: true, useUnifiedTopology:true}).then(() => {
5
5
 
6
6
  }).catch(err => {
7
7
  console.log(err)
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "mongoose": "^6.2.8"
4
4
  },
5
5
  "name": "assisweb",
6
- "version": "8.0.0",
6
+ "version": "9.0.0",
7
7
  "main": "index.js",
8
8
  "devDependencies": {},
9
9
  "scripts": {