Comparing version 1.1.2 to 1.1.3
@@ -1,2 +0,2 @@ | ||
/* unzipit@1.1.2, license MIT */ | ||
/* unzipit@1.1.3, license MIT */ | ||
(function (factory) { | ||
@@ -3,0 +3,0 @@ typeof define === 'function' && define.amd ? define(factory) : |
@@ -1,2 +0,2 @@ | ||
/* unzipit@1.1.2, license MIT */ | ||
/* unzipit@1.1.3, license MIT */ | ||
'use strict';(function(w){"function"===typeof define&&define.amd?define(w):w()})(function(){function w(a,b){var c=a.length;if(b<=c)return a;b=new Uint8Array(Math.max(c<<1,b));b.set(a,0);return b}function aa(a,b,c,k){for(var e=0,d=0,m=k.length>>>1;d<c;){var p=a[d+b];k[d<<1]=0;k[(d<<1)+1]=p;p>e&&(e=p);d++}for(;d<m;)k[d<<1]=0,k[(d<<1)+1]=0,d++;return e}function z(a,b){var e=a.length,k,g;var d=c.bl_count;for(g=0;g<=b;g++)d[g]=0;for(g=1;g<e;g+=2)d[a[g]]++;g=c.next_code;var m=0;d[0]=0;for(k=1;k<=b;k++)m= | ||
@@ -3,0 +3,0 @@ m+d[k-1]<<1,g[k]=m;for(b=0;b<e;b+=2)d=a[b+1],0!=d&&(a[b]=g[d],g[d]++)}function A(a,b,e){for(var k=a.length,g=c.rev15,d=0;d<k;d+=2)if(0!=a[d+1]){var m=a[d+1],p=d>>1<<4|m,t=b-m;m=a[d]<<t;for(t=m+(1<<t);m!=t;)e[g[m]>>>15-b]=p,m++}}function C(a,b){for(var e=c.rev15,k=15-b,g=0;g<a.length;g+=2)a[g]=e[a[g]<<b-a[g+1]]>>>k}function x(a,b,c){return(a[b>>>3]|a[(b>>>3)+1]<<8)>>>(b&7)&(1<<c)-1}function N(a,b,c){return(a[b>>>3]|a[(b>>>3)+1]<<8|a[(b>>>3)+2]<<16)>>>(b&7)&(1<<c)-1}function O(a,b){return(a[b>>>3]| |
@@ -1,2 +0,2 @@ | ||
/* unzipit@1.1.2, license MIT */ | ||
/* unzipit@1.1.3, license MIT */ | ||
function inflate(data, buf) { | ||
@@ -3,0 +3,0 @@ var u8=Uint8Array; |
@@ -1,2 +0,2 @@ | ||
/* unzipit@1.1.2, license MIT */ | ||
/* unzipit@1.1.3, license MIT */ | ||
(function (global, factory) { | ||
@@ -3,0 +3,0 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : |
@@ -1,2 +0,2 @@ | ||
/* unzipit@1.1.2, license MIT */ | ||
/* unzipit@1.1.3, license MIT */ | ||
'use strict';(function(w,A){"object"===typeof exports&&"undefined"!==typeof module?A(exports):"function"===typeof define&&define.amd?define(["exports"],A):(w=w||self,A(w.unzipit={}))})(this,function(w){function A(a){return a.arrayBuffer?a.arrayBuffer():new Promise((b,c)=>{const f=new FileReader;f.addEventListener("loadend",()=>{b(f.result)});f.addEventListener("error",c);f.readAsArrayBuffer(a)})}async function ea(a){a=await A(a);return new Uint8Array(a)}function R(a){return"undefined"!==typeof Blob&& | ||
@@ -3,0 +3,0 @@ a instanceof Blob}function D(a){return"undefined"!==typeof SharedArrayBuffer&&a instanceof SharedArrayBuffer}function L(a,b){var c=a.length;if(b<=c)return a;b=new Uint8Array(Math.max(c<<1,b));b.set(a,0);return b}function fa(a,b,c,f,e,g){for(var d=S,n=T,k=0;k<c;){var r=a[n(f,e)&b];e+=r&15;var l=r>>>4;if(15>=l)g[k]=l,k++;else{var t=r=0;16==l?(t=3+d(f,e,2),e+=2,r=g[k-1]):17==l?(t=3+d(f,e,3),e+=3):18==l&&(t=11+d(f,e,7),e+=7);for(l=k+t;k<l;)g[k]=r,k++}}return e}function U(a,b,c,f){for(var e=0,g=0,d=f.length>>> |
@@ -1,2 +0,2 @@ | ||
/* unzipit@1.1.2, license MIT */ | ||
/* unzipit@1.1.3, license MIT */ | ||
/* global SharedArrayBuffer, process */ | ||
@@ -3,0 +3,0 @@ |
{ | ||
"name": "unzipit", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "random access unzip library for JavaScript", | ||
@@ -35,2 +35,3 @@ "main": "dist/unzipit.js", | ||
"@types/chai": "^4.2.7", | ||
"@types/mocha": "^5.2.7", | ||
"chai": "^4.2.0", | ||
@@ -51,5 +52,4 @@ "eslint": "^6.8.0", | ||
"dependencies": { | ||
"@types/mocha": "^5.2.7", | ||
"uzip-module": "^1.0.2" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1
15
- Removed@types/mocha@^5.2.7
- Removed@types/mocha@5.2.7(transitive)