From e661de3a42410b828e924f0c84c033228846f804 Mon Sep 17 00:00:00 2001 From: Wingy Date: Fri, 30 Oct 2020 12:11:20 -0400 Subject: [PATCH] dependency updates --- config/secret/index.js | 2 +- package.json | 10 +++++----- routes/wishlist/index.js | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config/secret/index.js b/config/secret/index.js index ba422a2..8036ce8 100644 --- a/config/secret/index.js +++ b/config/secret/index.js @@ -1,4 +1,4 @@ -const uuid = require('uuid/v4'); +const { v4: uuid} = require('uuid'); const path = require('path'); const fs = require('fs'); diff --git a/package.json b/package.json index 9ede9c0..593b021 100644 --- a/package.json +++ b/package.json @@ -17,9 +17,9 @@ "dependencies": { "bcrypt-nodejs": "^0.0.3", "body-parser": "^1.18.3", - "chalk": "^2.4.1", + "chalk": "^4.1.0", "connect-flash": "^0.1.1", - "dotenv": "^6.1.0", + "dotenv": "^8.2.0", "express": "4.17.1", "express-session": "^1.15.6", "express-session-level": "^1.0.0", @@ -29,9 +29,9 @@ "nanoid": "^3.1.16", "passport": "^0.4.0", "passport-local": "^1.0.0", - "pouchdb": "^7.0.0", - "pug": "^2.0.3", - "uuid": "^3.3.2", + "pouchdb": "^7.2.2", + "pug": "^3.0.0", + "uuid": "^8.3.1", "yes-no": "^0.0.1" } } diff --git a/routes/wishlist/index.js b/routes/wishlist/index.js index 5d37af9..cc4fba3 100644 --- a/routes/wishlist/index.js +++ b/routes/wishlist/index.js @@ -2,7 +2,7 @@ const verifyAuth = require('../../middlewares/verifyAuth'); const getProductName = require('get-product-name'); const express = require('express'); const config = require('../../config'); -const uuid = require('uuid/v4'); +const { v4: uuid} = require('uuid'); const totals = wishlist => { let unpledged = 0;