diff options
Diffstat (limited to 'node_modules/locutus/php/strings/md5_file.js.map')
-rw-r--r-- | node_modules/locutus/php/strings/md5_file.js.map | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/node_modules/locutus/php/strings/md5_file.js.map b/node_modules/locutus/php/strings/md5_file.js.map deleted file mode 100644 index a662dd3..0000000 --- a/node_modules/locutus/php/strings/md5_file.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../src/php/strings/md5_file.js"],"names":["module","exports","md5_file","str_filename","fileGetContents","require","md5","buf"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,QAAT,CAAmBC,YAAnB,EAAiC;AAAE;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,kBAAkBC,QAAQ,iCAAR,CAAtB;AACA,MAAIC,MAAMD,QAAQ,gBAAR,CAAV;AACA,MAAIE,MAAMH,gBAAgBD,YAAhB,CAAV;;AAEA,MAAII,QAAQ,KAAZ,EAAmB;AACjB,WAAO,KAAP;AACD;;AAED,SAAOD,IAAIC,GAAJ,CAAP;AACD,CArBD","file":"md5_file.js","sourcesContent":["module.exports = function md5_file (str_filename) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/md5_file/\n // original by: Kevin van Zonneveld (http://kvz.io)\n // input by: Brett Zamir (http://brett-zamir.me)\n // bugfixed by: Kevin van Zonneveld (http://kvz.io)\n // note 1: Relies on file_get_contents which does not work in the browser, so Node only.\n // note 2: Keep in mind that in accordance with PHP, the whole file is buffered and then\n // note 2: hashed. We'd recommend Node's native crypto modules for faster and more\n // note 2: efficient hashing\n // example 1: md5_file('test/never-change.txt')\n // returns 1: 'bc3aa724b0ec7dce4c26e7f4d0d9b064'\n\n var fileGetContents = require('../filesystem/file_get_contents')\n var md5 = require('../strings/md5')\n var buf = fileGetContents(str_filename)\n\n if (buf === false) {\n return false\n }\n\n return md5(buf)\n}\n"]}
\ No newline at end of file |