Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
update mime dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
natergj committed Nov 13, 2017
1 parent b96f01a commit 78180e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"image-size": "0.6.1",
"jszip": "3.1.5",
"lodash": "4.17.4",
"mime": "1.4.1",
"mime": "2.0.3",
"sloth-logger": "1.0.3",
"xmlbuilder": "9.0.4"
},
Expand Down
2 changes: 1 addition & 1 deletion source/lib/drawing/picture.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Picture extends Drawing {
? size.type
: path.extname(this.imagePath).substr(1);

this.contentType = mime.lookup(this._extension);
this.contentType = mime.getType(this._extension);

this._descr = null;
this._title = null;
Expand Down

0 comments on commit 78180e6

Please sign in to comment.