From b22ad6b2ac1ca662917e56aba8514daa073d95f8 Mon Sep 17 00:00:00 2001 From: Suresh Alse Date: Mon, 9 Oct 2017 10:42:23 -0700 Subject: [PATCH] changing dependency mime to mime-types. Fix https://github.com/alseambusher/crontab-ui/issues/59 --- app.js | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app.js b/app.js index bf32f8a..be68cd4 100755 --- a/app.js +++ b/app.js @@ -6,7 +6,7 @@ var restore = require("./restore"); var moment = require('moment'); var path = require('path'); -var mime = require('mime'); +var mime = require('mime-types'); var fs = require('fs'); var busboy = require('connect-busboy'); // for file upload diff --git a/package.json b/package.json index 142b1fb..4c6f395 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "crontab-ui", - "version": "0.3.1", + "version": "0.3.2", "description": "Easy and safe way to manage your crontab file", "main": "index.js", "scripts": { @@ -11,7 +11,7 @@ "ejs": "latest", "nedb": "latest", "body-parser": "latest", - "mime": "latest", + "mime-types": "latest", "cron-parser": "latest", "connect-busboy": "latest", "moment": "latest",