Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 12, 2015
  1. Merge pull request #206 from dduponchel/release_v2.5.0

    authored
    Release v2.5.0
Commits on Mar 10, 2015
  1. @dduponchel

    JSZip 2.5.0

    dduponchel authored
  2. @dduponchel

    update the generated files

    dduponchel authored
  3. Merge pull request #205 from dduponchel/update_permissions

    authored
    Update permissions
Commits on Mar 8, 2015
  1. @dduponchel

    Rework the unix/dos permissions and the dir option.

    dduponchel authored
    This is an update for #200.
    
    If we don't keep the original unix/dos permissions, this will lead to
    hard-to-debug issues, where the permissions are not exactly like they
    were specified.
    This commit changes that and uses the exact file mode. It also updates the
    default umask from 022 to 002 (with unixPermissions == null, files will
    get 0664 and folders 0775).
    
    To put a folder with custom permissions, folder() is not a good
    candidate : its behavior is to re-use existing entries. Instead, this
    commit documents the existing dir attribute.
Commits on Feb 20, 2015
  1. @dduponchel

    Update the field "version made by" for UNIX

    dduponchel authored
    From "UNIX, version 2.0" to "UNIX, version 3.0". This is the value used
    by info-zip, ark and file-roller (on xubuntu). The others I tested
    file-roller (on ubuntu) and 7z uses "UNIX, version 6.3".
    
    Using "3.0" seems to be a safe bet.
  2. Merge pull request #201 from dduponchel/deflate_level

    authored
    Add an option to set the DEFLATE level.
Commits on Feb 19, 2015
  1. @dduponchel

    Fix Grammar.

    dduponchel authored
  2. Merge pull request #200 from dduponchel/feature-permissions

    authored
    Add support for UNIX / DOS permissions
  3. Merge pull request #202 from dduponchel/feature-error-message

    authored
    Improve the error message with corrupted zip.
Commits on Feb 18, 2015
  1. @dduponchel

    Improve the error message with corrupted zip.

    dduponchel authored
    Check if the content is a truncated zip or complete garbage.
    
    A "LOCAL_FILE_HEADER" is not required at the beginning (auto extractible zip
    for example) but it can give a good hint. If an ajax request was used without
    responseType, we will also get unreadable data.
    
    Fix #182.
  2. @dduponchel

    Add an option to set the DEFLATE level.

    dduponchel authored
    This commit adds a new option, `compressionOptions`. If it contains a field
    `level`, it is used by the DEFLATE compression to set the compression level :
    6 by default or any level between 1 (best speed) and 9 (best compression).
    
    Fix #165.
  3. @dduponchel

    Add support for UNIX / DOS permissions

    dduponchel authored
    Two new fields on ZipObject, `unixPermissions` and `dosPermissions`, hold the
    UNIX or DOS permissions of the file. A new option of `generate()`,
    `platform` (DOS or UNIX) controls the use of the permissions.
    
    The default behavior is to generate DOS archives, without any
    permissions, like before.
    
    Bonus side-effect : Finder on mac doesn't use the DOS directory flag,
    JSZip didn't properly recognize folders until now.
    
    Fix #194 and #198.
  4. @dduponchel

    Merge pull request #199 from min1974/master

    dduponchel authored
    Added support for custom mime-types, ie: "application/ods".
Commits on Jan 29, 2015
  1. @min1974

    Update test.js

    min1974 authored
    Added test for mimeType
  2. @min1974

    Update generate.md

    min1974 authored
    Added information for the new option "mimeType"
Commits on Jan 23, 2015
  1. @min1974

    Added support for custom mime-types, ie: "application/ods"

    min1974 authored
    Signed-off-by: Manuel Nuñez <yo.elmanu@gmail.com>
Commits on Aug 22, 2014
  1. @dduponchel

    Merge pull request #167 from SheetJSDev/master

    dduponchel authored
    removed trailing whitespaces and commas
Commits on Aug 21, 2014
  1. @SheetJSDev
Commits on Jul 24, 2014
  1. Merge pull request #161 from dduponchel/release_v2.4.0

    authored
    Release v2.4.0
  2. @dduponchel

    JSZip 2.4.0

    dduponchel authored
  3. @dduponchel

    update the generated files

    dduponchel authored
Commits on Jul 23, 2014
  1. Merge pull request #160 from isochronous/master

    authored
    change `createSubFolders` to just `createFolders`
  2. @isochronous

    change `createSubFolders` to just `createFolders`

    isochronous authored
    updated references in defaults, load, object, and test script files, as well as in file_data and load documentation files.
  3. Merge pull request #158 from dduponchel/issue_140

    authored
    Don't include the Buffer polyfill in dist/ files.
  4. @dduponchel

    Merge pull request #157 from isochronous/master

    dduponchel authored
    add createSubFolders option
  5. @isochronous

    add createSubFolders option

    isochronous authored
    And added unit tests for the functionality
Commits on Jul 22, 2014
  1. Merge pull request #159 from dduponchel/issue_151

    authored
    Remove usage of Text{En,De}coder.
Commits on Jul 21, 2014
  1. @dduponchel

    Remove usage of Text{En,De}coder.

    dduponchel authored
    The goal was to provide a faster utf8 encoding / decoding. This API is only
    available on Firefox and it doesn't work well in a Firefox addon context
    (the generated Uint8Array and the available Uint8Array class come from
    different contexts, leading to bugs and performance issues).
    
    Instead of adding more conditions to (try to) detect if the Uint8Array
    is from the same context or not, I think it's better to remove this
    optimization for now.
    
    Fix #151.
Commits on Jun 18, 2014
  1. Add Google Analytics to website

    authored
  2. Add .npmignore

    authored
  3. Merge pull request #145 from dduponchel/release_v2.3.0

    authored
    Release v2.3.0
  4. @dduponchel

    JSZip 2.3.0

    dduponchel authored
  5. @dduponchel

    update the generated files

    dduponchel authored
Something went wrong with that request. Please try again.