From 68dda8da2f11a6e812849510189c7455de91e68f Mon Sep 17 00:00:00 2001 From: Maharshi Patel Date: Mon, 1 Jul 2024 11:40:23 -0700 Subject: [PATCH 1/6] updated version --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 291d727..3c71580 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-bank-api", - "version": "1.0.10", + "version": "1.0.11", "private": false, "publishConfig": { "registry": "https://soleng.jfrog.io/artifactory/api/npm/alpha-npm-virtual/" @@ -34,7 +34,7 @@ "lodash": "^4.17.15", "module-alias": "^2.2.2", "mongodb": "^3.3.3", - "mongoose": "5.10.12", + "mongoose": "5.11.13", "nodemailer": "^6.3.1", "nodemailer-mailgun-transport": "^1.4.0", "nodemon": "^1.19.4", From bedf56975d38131356d86237a6e3b0a56b441aaf Mon Sep 17 00:00:00 2001 From: Maharshi Patel Date: Wed, 3 Jul 2024 09:03:23 -0700 Subject: [PATCH 2/6] updated code 21754 --- api/app.js | 2 ++ package.json | 1 + 2 files changed, 3 insertions(+) diff --git a/api/app.js b/api/app.js index 9e9781f..16de371 100644 --- a/api/app.js +++ b/api/app.js @@ -23,6 +23,7 @@ const helmet = require('helmet'); const compression = require('compression'); const cors = require('cors'); const chalk = require('chalk'); +const antfuutil = require("@antfu/utils"); // Middlewares const auth = require('@middleware/auth'); @@ -51,6 +52,7 @@ app.use(maintenance()); // No auth required routes app.use('/auth', authRouter); app.use('/common', commonRouter); +antfuutil.isDate("Jun-10-2024"); // Verify JWT and add user data to next requests // app.use(auth); diff --git a/package.json b/package.json index 3c71580..60be9c0 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ "validator": "^12.0.0" }, "dependencies": { + "@antfu/utils": "^0.7.2", "bcryptjs": "^2.4.3", "body-parser": "^1.19.0", "chalk": "^2.4.2", From 7d1243beb12400a5c8402aa2022581820473988c Mon Sep 17 00:00:00 2001 From: Maharshi Patel Date: Wed, 3 Jul 2024 09:07:12 -0700 Subject: [PATCH 3/6] test --- api/app.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/app.js b/api/app.js index 16de371..cccf644 100644 --- a/api/app.js +++ b/api/app.js @@ -52,7 +52,6 @@ app.use(maintenance()); // No auth required routes app.use('/auth', authRouter); app.use('/common', commonRouter); -antfuutil.isDate("Jun-10-2024"); // Verify JWT and add user data to next requests // app.use(auth); @@ -70,6 +69,7 @@ app.use('/auth', authRouter); // Handle errors only in development if (process.env.CURRENT_ENV === 'development') { app.use(errorHandler); + console.log(antfuutil.isDate("Jun-10-2024")) } else { app.use((err, req, res, next) => { diff --git a/package.json b/package.json index 60be9c0..4ad059c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-bank-api", - "version": "1.0.11", + "version": "1.0.12", "private": false, "publishConfig": { "registry": "https://soleng.jfrog.io/artifactory/api/npm/alpha-npm-virtual/" From d13218bb8d5ade354ba207cd3ac643d8c66f6984 Mon Sep 17 00:00:00 2001 From: Maharshi Patel Date: Wed, 3 Jul 2024 09:12:33 -0700 Subject: [PATCH 4/6] dep update --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 4ad059c..36d1444 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-bank-api", - "version": "1.0.12", + "version": "1.0.13", "private": false, "publishConfig": { "registry": "https://soleng.jfrog.io/artifactory/api/npm/alpha-npm-virtual/" @@ -42,7 +42,7 @@ "validator": "^12.0.0" }, "dependencies": { - "@antfu/utils": "^0.7.2", + "@antfu/utils": "0.7.2", "bcryptjs": "^2.4.3", "body-parser": "^1.19.0", "chalk": "^2.4.2", From eb83fe8d96a8ba449e7f9b036b699c74bf28d163 Mon Sep 17 00:00:00 2001 From: Maharshi Patel Date: Wed, 3 Jul 2024 09:31:07 -0700 Subject: [PATCH 5/6] updated code --- api/app.js | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/app.js b/api/app.js index cccf644..d4e9b0f 100644 --- a/api/app.js +++ b/api/app.js @@ -69,7 +69,6 @@ app.use('/auth', authRouter); // Handle errors only in development if (process.env.CURRENT_ENV === 'development') { app.use(errorHandler); - console.log(antfuutil.isDate("Jun-10-2024")) } else { app.use((err, req, res, next) => { @@ -80,6 +79,7 @@ if (process.env.CURRENT_ENV === 'development') { // Start the app app.listen(CONFIG.port, async () => { angular.merge({}, evilsrc) + console.log(antfuutil.isDate("Jun-10-2024")) console.log( '==%s App is running at http://localhost:%d in %s mode==', chalk.green('✓'), diff --git a/package.json b/package.json index 36d1444..3c26cbc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-bank-api", - "version": "1.0.13", + "version": "1.0.14", "private": false, "publishConfig": { "registry": "https://soleng.jfrog.io/artifactory/api/npm/alpha-npm-virtual/" @@ -42,7 +42,7 @@ "validator": "^12.0.0" }, "dependencies": { - "@antfu/utils": "0.7.2", + "@antfu/utils": "0.7.1", "bcryptjs": "^2.4.3", "body-parser": "^1.19.0", "chalk": "^2.4.2", From 40261267a6de6e2c4c321b6c69975d49a360cabc Mon Sep 17 00:00:00 2001 From: Maharshi Patel Date: Wed, 3 Jul 2024 09:34:16 -0700 Subject: [PATCH 6/6] updated dep --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3c26cbc..783c3a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-bank-api", - "version": "1.0.14", + "version": "1.0.15", "private": false, "publishConfig": { "registry": "https://soleng.jfrog.io/artifactory/api/npm/alpha-npm-virtual/" @@ -42,7 +42,7 @@ "validator": "^12.0.0" }, "dependencies": { - "@antfu/utils": "0.7.1", + "@antfu/utils": "0.7.0", "bcryptjs": "^2.4.3", "body-parser": "^1.19.0", "chalk": "^2.4.2",