diff --git a/lib/class/conduit.js b/lib/class/conduit.js index 1b3e2d08..e92e8ae8 100644 --- a/lib/class/conduit.js +++ b/lib/class/conduit.js @@ -2861,7 +2861,7 @@ Alchemy.setMethod(function broadcast(type, data) { * * @author Jelle De Loecker * @since 0.3.0 - * @version 0.3.0 + * @version 1.4.0 */ function getMagic() { @@ -2872,7 +2872,7 @@ function getMagic() { } // Get mmmagic module - mmmagic = alchemy.use('mmmagic') + mmmagic = alchemy.use('@picturae/mmmagic') if (mmmagic) { magic = new mmmagic.Magic(mmmagic.MAGIC_MIME_TYPE); diff --git a/lib/class/inode_file.js b/lib/class/inode_file.js index dc57da48..07c8e297 100644 --- a/lib/class/inode_file.js +++ b/lib/class/inode_file.js @@ -1,6 +1,6 @@ const HASH = Symbol('hash'), ALGORITHM = Symbol('algorithm'), - LIBMAGIC = alchemy.use('mmmagic'), + LIBMAGIC = alchemy.use('@picturae/mmmagic'), LIBMIME = alchemy.use('mime'), fs = alchemy.use('fs'); diff --git a/package.json b/package.json index 72a94f49..71ef68c8 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "mime" : "~3.0.0", "minimist" : "~1.2.5", "mkdirp" : "~3.0.1", - "mmmagic" : "~0.5.3", + "@picturae/mmmagic": "0.5.3", "mongodb" : "~6.1.0", "ncp" : "~2.0.0", "postcss" : "~8.4.31",