diff options
Diffstat (limited to 'node_modules/pako/lib/zlib/inffast.js')
-rw-r--r-- | node_modules/pako/lib/zlib/inffast.js | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/node_modules/pako/lib/zlib/inffast.js b/node_modules/pako/lib/zlib/inffast.js index a419f65d9..4cc958fee 100644 --- a/node_modules/pako/lib/zlib/inffast.js +++ b/node_modules/pako/lib/zlib/inffast.js @@ -1,5 +1,24 @@ 'use strict'; +// (C) 1995-2013 Jean-loup Gailly and Mark Adler +// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + // See state defs from inflate.js var BAD = 30; /* got a data error -- remain here until reset */ var TYPE = 12; /* i: waiting for type bits, including last-flag bit */ @@ -182,7 +201,7 @@ module.exports = function inflate_fast(strm, start) { break top; } -// (!) This block is disabled in zlib defailts, +// (!) This block is disabled in zlib defaults, // don't enable it for binary compatibility //#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR // if (len <= op - whave) { |