Permalink
Commits on Nov 9, 2017
  1. Merge pull request #482 from dduponchel/release_3.1.5

    dduponchel committed Nov 9, 2017
    Release 3.1.5
Commits on Nov 8, 2017
  1. JSZip 3.1.5

    dduponchel committed Nov 8, 2017
  2. Merge pull request #481 from dduponchel/no_type

    dduponchel committed Nov 8, 2017
    Improve the error without type in async()
  3. Improve the error without type in async()

    dduponchel committed Nov 7, 2017
    Without any type given to `async()`, an error is thrown with a message
    a bit useless. I re-used the check of `generateAsync()`: without type,
    the result is promise failed with an error "No output type specified".
  4. Merge pull request #480 from dduponchel/nodejs_0.10

    dduponchel committed Nov 8, 2017
    Fix nodejs 0.10 compatibility
Commits on Nov 7, 2017
  1. Fix nodejs 0.10 compatibility

    dduponchel committed Nov 7, 2017
    Some dependencies started to use new JavaScript language features that
    are not supported by nodejs 0.10.
Commits on Nov 5, 2017
  1. #296 - Replacing `window` references with `self` to allow running in …

    Draccoz authored and dduponchel committed Nov 5, 2017
    … a WebWorker (#468)
    
    * #296 - Replacing `window` references with `self` to allow running in a WebWorker
    
    * #296 - Adding `self` to global objects for linter
    
    * Revert the dist/ folder
    
    These files are only generated on new releases.
  2. Merge pull request #469 from harry-wood/patch-1

    dduponchel committed Nov 5, 2017
    Fix first sentence
Commits on Oct 15, 2017
  1. Fix first sentence

    harry-wood committed Oct 15, 2017
    It's obvious what it meant, but...
Commits on Sep 15, 2017
  1. Merge pull request #429 from adm90/Fix_IE11MemoryLeak

    dduponchel committed Sep 15, 2017
    Fix ie11 memory leak
  2. Blob creation: use the same code everywhere

    dduponchel committed Sep 14, 2017
    This reverts e156d9c (which triggered the memory leak) and partially
    reverts 72467ef.
    Using the presence of `MSBlobBuilder` means we will get a different
    behavior (double the amount of memory needed) only of IE11/Edge, even
    after they fix the issue. It also means using feature detection to work
    around bugs.
Commits on Sep 14, 2017
  1. Merge pull request #460 from dduponchel/cpgz

    dduponchel committed Sep 14, 2017
    Document the cpgz files on mac
  2. Document the cpgz files on mac

    dduponchel committed Sep 10, 2017
    This happens sometimes but Finder doesn't show any error. This leads to
    confused users.
  3. Merge pull request #461 from dduponchel/unsupported_format

    dduponchel committed Sep 14, 2017
    Improve the "unsupported format" error message
  4. Merge pull request #459 from dduponchel/nodejs_deprecate

    dduponchel committed Sep 14, 2017
    Handle 2 nodejs deprecations
Commits on Sep 10, 2017
  1. Improve the "unsupported format" error message

    dduponchel committed Sep 10, 2017
    The message was misleading and some users misunderstood it: JSZip doesn't
    reject a file because of what the content actually is (json file, mp4
    file, etc). It rejects a file because it is not a supported JavaScript
    object (usually a plain object containing the buffer, not the buffer
    directly).
    
    The new message and the FAQ entry should help clear the
    misunderstanding.
  2. Handle 2 nodejs deprecations

    dduponchel committed Aug 23, 2017
    - [DEP0005] is a documentation-only deprecation about buffers
    - [DEP0013] displayed warnings in the tests
    
      [DEP0005]: https://nodejs.org/api/deprecations.html#deprecations_dep0005_buffer_constructor
      [DEP0013]: https://nodejs.org/api/deprecations.html#deprecations_dep0013_fs_async_function_without_callback
Commits on Sep 6, 2017
  1. Merge pull request #457 from dduponchel/async_doc

    dduponchel committed Sep 6, 2017
    Fix async() examples
Commits on Sep 5, 2017
  1. Fix async() examples

    dduponchel committed Sep 5, 2017
    The example incorrectly used `.async({type: "uint8array"})` instead of
    `.async("uint8array")`.
    
    Fixes #456.
Commits on Sep 4, 2017
  1. Merge pull request #455 from jsoref/spelling

    dduponchel committed Sep 4, 2017
    Spelling
  2. spelling: unknown

    jsoref committed Sep 4, 2017
  3. spelling: spreadsheet

    jsoref committed Sep 4, 2017
  4. spelling: specified

    jsoref committed Sep 4, 2017
  5. spelling: relative

    jsoref committed Sep 4, 2017
  6. spelling: predictable

    jsoref committed Sep 4, 2017
  7. spelling: matching

    jsoref committed Sep 4, 2017
  8. spelling: javascript

    jsoref committed Sep 4, 2017
  9. spelling: deutsch

    jsoref committed Sep 4, 2017
Commits on Aug 24, 2017
  1. Merge pull request #450 from dduponchel/release_3.1.4

    dduponchel committed Aug 24, 2017
    Release 3.1.4
Commits on Aug 23, 2017
  1. JSZip 3.1.4

    dduponchel committed Aug 23, 2017
  2. update the generated files

    dduponchel committed Aug 23, 2017
  3. Merge pull request #449 from dduponchel/memory

    dduponchel committed Aug 23, 2017
    Lower the memory consumption
Commits on Aug 22, 2017
  1. Lower the memory consumption

    dduponchel committed Aug 22, 2017
    A pako object contains a 64k buffer. We create a `FlateWorker` for each zip
    entry, meaning a zip file with a lot of entries would take **a lot** of memory.
    
    Lazy-loading the pako object isn't the best solution but it's the quickest.
    The best solution is to lazy-load the worker list.
    
    Mitigate the issue #446.