You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

mst-server-common2

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mst-server-common2 - npm Package Compare versions

Comparing version

to
1.0.22

2

lib/common.js

@@ -1,1 +0,1 @@

const e=require("dotenv");e.config();const{checkAuth:t,getUserToken:n}=require("./authentication/customJwt"),{getMonth:r}=require("./helpers/dateHelper"),{transaction:o}=require("./transaction");var c={},a={};a.getMonth=r,c.helpers={dateHelper:a},c.transaction=o,c.authentication={jwt:{checkAuth:t,getUserToken:n}},c.configuration={JWT_SECRET:process.env.JWT_SECRET},module.exports=c;
const e=require("dotenv");e.config();const{checkAuth:t,getUserToken:r}=require("./authentication/customJwt"),n=require("./helpers/dateHelper"),{transaction:o}=require("./transaction");var c={};c.helpers={dateHelper:n},c.transaction=o,c.authentication={jwt:{checkAuth:t,getUserToken:r}},c.configuration={JWT_SECRET:process.env.JWT_SECRET},module.exports=c;

@@ -1,1 +0,1 @@

const t=t=>t.getMonth();module.exports={getMonth:t};
const t=t=>t.getMonth(),e=(t,e)=>{let a=new Date(t);return a.setDate(a.getDate()+e),a};module.exports={getMonth:t,addDays:e};
{
"name": "mst-server-common2",
"version": "1.0.21",
"version": "1.0.22",
"description": "MST backend project-ийн tools",

@@ -9,3 +9,3 @@ "main": "lib/common.js",

"minify": "node minify.js",
"test": "npm run build && mocha"
"test": "npm run build && mocha 'test/*.js' 'test/**/*.js' 'test/**/**/*.js' "
},

@@ -12,0 +12,0 @@ "type": "commonjs",