diff --git a/api/app.js b/api/app.js index 9e9781f..d4e9b0f 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'); @@ -78,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 291d727..783c3a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-bank-api", - "version": "1.0.10", + "version": "1.0.15", "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", @@ -42,6 +42,7 @@ "validator": "^12.0.0" }, "dependencies": { + "@antfu/utils": "0.7.0", "bcryptjs": "^2.4.3", "body-parser": "^1.19.0", "chalk": "^2.4.2",