updated dependencies & devDependencies
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*!
|
||||
|
||||
JSZip v3.2.1 - A JavaScript class for generating and reading zip files
|
||||
JSZip v3.3.0 - A JavaScript class for generating and reading zip files
|
||||
<http://stuartk.com/jszip>
|
||||
|
||||
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
|
||||
@@ -178,7 +178,7 @@ CompressedObject.prototype = {
|
||||
|
||||
/**
|
||||
* Chain the given worker with other workers to compress the content with the
|
||||
* given compresion.
|
||||
* given compression.
|
||||
* @param {GenericWorker} uncompressedWorker the worker to pipe.
|
||||
* @param {Object} compression the compression object.
|
||||
* @param {Object} compressionOptions the options to use when compressing.
|
||||
@@ -484,7 +484,7 @@ var generateDosExternalFileAttr = function (dosPermissions, isDir) {
|
||||
|
||||
/**
|
||||
* Generate the various parts used in the construction of the final zip file.
|
||||
* @param {Object} streamInfo the hash with informations about the compressed file.
|
||||
* @param {Object} streamInfo the hash with information about the compressed file.
|
||||
* @param {Boolean} streamedContent is the content streamed ?
|
||||
* @param {Boolean} streamingEnded is the stream finished ?
|
||||
* @param {number} offset the current offset from the start of the zip file.
|
||||
@@ -707,7 +707,7 @@ var generateCentralDirectoryEnd = function (entriesCount, centralDirLength, loca
|
||||
|
||||
/**
|
||||
* Generate data descriptors for a file entry.
|
||||
* @param {Object} streamInfo the hash generated by a worker, containing informations
|
||||
* @param {Object} streamInfo the hash generated by a worker, containing information
|
||||
* on the file entry.
|
||||
* @return {String} the data descriptors.
|
||||
*/
|
||||
@@ -759,7 +759,7 @@ function ZipFileWorker(streamFiles, comment, platform, encodeFileName) {
|
||||
// The total number of entries in this zip file.
|
||||
this.entriesCount = 0;
|
||||
// the name of the file currently being added, null when handling the end of the zip file.
|
||||
// Used for the emited metadata.
|
||||
// Used for the emitted metadata.
|
||||
this.currentFile = null;
|
||||
|
||||
|
||||
@@ -1667,7 +1667,7 @@ var out = {
|
||||
opts.type = opts.type.toLowerCase();
|
||||
opts.compression = opts.compression.toUpperCase();
|
||||
|
||||
// "binarystring" is prefered but the internals use "string".
|
||||
// "binarystring" is preferred but the internals use "string".
|
||||
if(opts.type === "binarystring") {
|
||||
opts.type = "string";
|
||||
}
|
||||
@@ -1876,9 +1876,9 @@ DataReader.prototype = {
|
||||
// see implementations
|
||||
},
|
||||
/**
|
||||
* Find the last occurence of a zip signature (4 bytes).
|
||||
* Find the last occurrence of a zip signature (4 bytes).
|
||||
* @param {string} sig the signature to find.
|
||||
* @return {number} the index of the last occurence, -1 if not found.
|
||||
* @return {number} the index of the last occurrence, -1 if not found.
|
||||
*/
|
||||
lastIndexOfSignature: function(sig) {
|
||||
// see implementations
|
||||
@@ -3122,7 +3122,7 @@ function stringToArrayLike(str, array) {
|
||||
|
||||
/**
|
||||
* An helper for the function arrayLikeToString.
|
||||
* This contains static informations and functions that
|
||||
* This contains static information and functions that
|
||||
* can be optimized by the browser JIT compiler.
|
||||
*/
|
||||
var arrayToStringHelper = {
|
||||
@@ -3862,7 +3862,7 @@ ZipEntry.prototype = {
|
||||
reader.skip(localExtraFieldsLength);
|
||||
|
||||
if (this.compressedSize === -1 || this.uncompressedSize === -1) {
|
||||
throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory " + "(compressedSize === -1 || uncompressedSize === -1)");
|
||||
throw new Error("Bug or corrupted zip : didn't get enough information from the central directory " + "(compressedSize === -1 || uncompressedSize === -1)");
|
||||
}
|
||||
|
||||
compression = findCompression(this.compressionMethod);
|
||||
|
||||
4
plugins/jszip/jszip.min.js
vendored
4
plugins/jszip/jszip.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user