diff --git a/.gitignore b/.gitignore index 51fee00d..88c6a551 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,7 @@ coverage.lcov # Compiled binary addons (http://nodejs.org/api/addons.html) build/Release lib +lib-web # Dependency directories node_modules diff --git a/.npmignore b/.npmignore index 801648a7..2ad5a965 100644 --- a/.npmignore +++ b/.npmignore @@ -8,4 +8,5 @@ test/ .gitmodules node_modules/ webpack.config.js -test/fixtures \ No newline at end of file +test/fixtures +test/static-fixtures diff --git a/dist/babel-polyfill.js b/dist/babel-polyfill.js deleted file mode 100644 index a221822e..00000000 --- a/dist/babel-polyfill.js +++ /dev/null @@ -1,2 +0,0 @@ -var DDFCsvReader=function(t){var n={};function r(e){if(n[e])return n[e].exports;var i=n[e]={i:e,l:!1,exports:{}};return t[e].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:e})},r.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=380)}([function(t,n,r){var e=r(2),i=r(23),o=r(14),u=r(13),c=r(22),f=function(t,n,r){var a,s,l,h,v=t&f.F,p=t&f.G,g=t&f.S,d=t&f.P,y=t&f.B,x=p?e:g?e[n]||(e[n]={}):(e[n]||{}).prototype,b=p?i:i[n]||(i[n]={}),m=b.prototype||(b.prototype={});for(a in p&&(r=n),r)l=((s=!v&&x&&void 0!==x[a])?x:r)[a],h=y&&s?c(l,e):d&&"function"==typeof l?c(Function.call,l):l,x&&u(x,a,l,t&f.U),b[a]!=l&&o(b,a,h),d&&m[a]!=l&&(m[a]=l)};e.core=i,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},function(t,n,r){var e=r(4);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(57)("wks"),i=r(42),o=r(2).Symbol,u="function"==typeof o;(t.exports=function(t){return e[t]||(e[t]=u&&o[t]||(u?o:i)("Symbol."+t))}).store=e},function(t,n,r){var e=r(20),i=Math.min;t.exports=function(t){return t>0?i(e(t),9007199254740991):0}},function(t,n,r){var e=r(1),i=r(155),o=r(27),u=Object.defineProperty;n.f=r(8)?Object.defineProperty:function(t,n,r){if(e(t),n=o(n,!0),e(r),i)try{return u(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){t.exports=!r(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(26);t.exports=function(t){return Object(e(t))}},function(t,n){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,r){var e=r(0),i=r(3),o=r(26),u=/"/g,c=function(t,n,r,e){var i=String(o(t)),c="<"+n;return""!==r&&(c+=" "+r+'="'+String(e).replace(u,""")+'"'),c+">"+i+""};t.exports=function(t,n){var r={};r[t]=n(c),e(e.P+e.F*i(function(){var n=""[t]('"');return n!==n.toLowerCase()||n.split('"').length>3}),"String",r)}},function(t,n,r){var e=r(2),i=r(14),o=r(18),u=r(42)("src"),c=r(377),f=(""+c).split("toString");r(23).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,r,c){var a="function"==typeof r;a&&(o(r,"name")||i(r,"name",n)),t[n]!==r&&(a&&(o(r,u)||i(r,u,t[n]?""+t[n]:f.join(String(n)))),t===e?t[n]=r:c?t[n]?t[n]=r:i(t,n,r):(delete t[n],i(t,n,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||c.call(this)})},function(t,n,r){var e=r(7),i=r(43);t.exports=r(8)?function(t,n,r){return e.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(18),i=r(9),o=r(104)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),e(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,r){var e=r(55),i=r(43),o=r(17),u=r(27),c=r(18),f=r(155),a=Object.getOwnPropertyDescriptor;n.f=r(8)?a:function(t,n){if(t=o(t),n=u(n,!0),f)try{return a(t,n)}catch(t){}if(c(t,n))return i(!e.f.call(t,n),t[n])}},function(t,n,r){var e=r(56),i=r(26);t.exports=function(t){return e(i(t))}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){"use strict";var e=r(3);t.exports=function(t,n){return!!t&&e(function(){n?t.call(null,function(){},1):t.call(null)})}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){var e=r(11);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,i){return t.call(n,r,e,i)}}return function(){return t.apply(n,arguments)}}},function(t,n){var r=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=r)},function(t,n,r){var e=r(22),i=r(56),o=r(9),u=r(6),c=r(88);t.exports=function(t,n){var r=1==t,f=2==t,a=3==t,s=4==t,l=6==t,h=5==t||l,v=n||c;return function(n,c,p){for(var g,d,y=o(n),x=i(y),b=e(c,p,3),m=u(x.length),S=0,w=r?v(n,m):f?v(n,0):void 0;m>S;S++)if((h||S in x)&&(d=b(g=x[S],S,y),t))if(r)w[S]=d;else if(d)switch(t){case 3:return!0;case 5:return g;case 6:return S;case 2:w.push(g)}else if(s)return!1;return l?-1:a||s?s:w}}},function(t,n,r){var e=r(0),i=r(23),o=r(3);t.exports=function(t,n){var r=(i.Object||{})[t]||Object[t],u={};u[t]=n(r),e(e.S+e.F*o(function(){r(1)}),"Object",u)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(4);t.exports=function(t,n){if(!e(t))return t;var r,i;if(n&&"function"==typeof(r=t.toString)&&!e(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!e(i=r.call(t)))return i;if(!n&&"function"==typeof(r=t.toString)&&!e(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){var e=r(132),i=r(0),o=r(57)("metadata"),u=o.store||(o.store=new(r(129))),c=function(t,n,r){var i=u.get(t);if(!i){if(!r)return;u.set(t,i=new e)}var o=i.get(n);if(!o){if(!r)return;i.set(n,o=new e)}return o};t.exports={store:u,map:c,has:function(t,n,r){var e=c(n,r,!1);return void 0!==e&&e.has(t)},get:function(t,n,r){var e=c(n,r,!1);return void 0===e?void 0:e.get(t)},set:function(t,n,r,e){c(r,e,!0).set(t,n)},keys:function(t,n){var r=c(t,n,!1),e=[];return r&&r.forEach(function(t,n){e.push(n)}),e},key:function(t){return void 0===t||"symbol"==typeof t?t:String(t)},exp:function(t){i(i.S,"Reflect",t)}}},function(t,n,r){"use strict";if(r(8)){var e=r(32),i=r(2),o=r(3),u=r(0),c=r(63),f=r(80),a=r(22),s=r(36),l=r(43),h=r(14),v=r(34),p=r(20),g=r(6),d=r(127),y=r(40),x=r(27),b=r(18),m=r(48),S=r(4),w=r(9),_=r(91),E=r(39),O=r(15),M=r(38).f,P=r(89),F=r(42),A=r(5),I=r(24),j=r(73),N=r(53),R=r(86),k=r(46),T=r(68),L=r(37),D=r(87),C=r(138),W=r(7),G=r(16),U=W.f,V=G.f,B=i.RangeError,z=i.TypeError,Y=i.Uint8Array,$=Array.prototype,J=f.ArrayBuffer,K=f.DataView,q=I(0),X=I(2),H=I(3),Z=I(4),Q=I(5),tt=I(6),nt=j(!0),rt=j(!1),et=R.values,it=R.keys,ot=R.entries,ut=$.lastIndexOf,ct=$.reduce,ft=$.reduceRight,at=$.join,st=$.sort,lt=$.slice,ht=$.toString,vt=$.toLocaleString,pt=A("iterator"),gt=A("toStringTag"),dt=F("typed_constructor"),yt=F("def_constructor"),xt=c.CONSTR,bt=c.TYPED,mt=c.VIEW,St=I(1,function(t,n){return Mt(N(t,t[yt]),n)}),wt=o(function(){return 1===new Y(new Uint16Array([1]).buffer)[0]}),_t=!!Y&&!!Y.prototype.set&&o(function(){new Y(1).set({})}),Et=function(t,n){var r=p(t);if(r<0||r%n)throw B("Wrong offset!");return r},Ot=function(t){if(S(t)&&bt in t)return t;throw z(t+" is not a typed array!")},Mt=function(t,n){if(!(S(t)&&dt in t))throw z("It is not a typed array constructor!");return new t(n)},Pt=function(t,n){return Ft(N(t,t[yt]),n)},Ft=function(t,n){for(var r=0,e=n.length,i=Mt(t,e);e>r;)i[r]=n[r++];return i},At=function(t,n,r){U(t,n,{get:function(){return this._d[r]}})},It=function(t){var n,r,e,i,o,u,c=w(t),f=arguments.length,s=f>1?arguments[1]:void 0,l=void 0!==s,h=P(c);if(void 0!=h&&!_(h)){for(u=h.call(c),e=[],n=0;!(o=u.next()).done;n++)e.push(o.value);c=e}for(l&&f>2&&(s=a(s,arguments[2],2)),n=0,r=g(c.length),i=Mt(this,r);r>n;n++)i[n]=l?s(c[n],n):c[n];return i},jt=function(){for(var t=0,n=arguments.length,r=Mt(this,n);n>t;)r[t]=arguments[t++];return r},Nt=!!Y&&o(function(){vt.call(new Y(1))}),Rt=function(){return vt.apply(Nt?lt.call(Ot(this)):Ot(this),arguments)},kt={copyWithin:function(t,n){return C.call(Ot(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function(t){return Z(Ot(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return D.apply(Ot(this),arguments)},filter:function(t){return Pt(this,X(Ot(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Q(Ot(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){q(Ot(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return rt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return nt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return at.apply(Ot(this),arguments)},lastIndexOf:function(t){return ut.apply(Ot(this),arguments)},map:function(t){return St(Ot(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ct.apply(Ot(this),arguments)},reduceRight:function(t){return ft.apply(Ot(this),arguments)},reverse:function(){for(var t,n=Ot(this).length,r=Math.floor(n/2),e=0;e1?arguments[1]:void 0)},sort:function(t){return st.call(Ot(this),t)},subarray:function(t,n){var r=Ot(this),e=r.length,i=y(t,e);return new(N(r,r[yt]))(r.buffer,r.byteOffset+i*r.BYTES_PER_ELEMENT,g((void 0===n?e:y(n,e))-i))}},Tt=function(t,n){return Pt(this,lt.call(Ot(this),t,n))},Lt=function(t){Ot(this);var n=Et(arguments[1],1),r=this.length,e=w(t),i=g(e.length),o=0;if(i+n>r)throw B("Wrong length!");for(;o255?255:255&e),i.v[v](r*n+i.o,e,wt)}(this,r,t)},enumerable:!0})};b?(p=r(function(t,r,e,i){s(t,p,a,"_d");var o,u,c,f,l=0,v=0;if(S(r)){if(!(r instanceof J||"ArrayBuffer"==(f=m(r))||"SharedArrayBuffer"==f))return bt in r?Ft(p,r):It.call(p,r);o=r,v=Et(e,n);var y=r.byteLength;if(void 0===i){if(y%n)throw B("Wrong length!");if((u=y-v)<0)throw B("Wrong length!")}else if((u=g(i)*n)+v>y)throw B("Wrong length!");c=u/n}else c=d(r),o=new J(u=c*n);for(h(t,"_d",{b:o,o:v,l:u,e:c,v:new K(o)});lb;b++)if((d=n?x(u(p=t[b])[0],p[1]):x(t[b]))===a||d===s)return d}else for(g=y.call(t);!(p=g.next()).done;)if((d=i(g,x,p.value,n))===a||d===s)return d}).BREAK=a,n.RETURN=s},function(t,n){t.exports=function(t,n,r,e){if(!(t instanceof n)||void 0!==e&&e in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,n,r){"use strict";var e=r(2),i=r(7),o=r(8),u=r(5)("species");t.exports=function(t){var n=e[t];o&&n&&!n[u]&&i.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n,r){var e=r(153),i=r(103).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,i)}},function(t,n,r){var e=r(1),i=r(152),o=r(103),u=r(104)("IE_PROTO"),c=function(){},f=function(){var t,n=r(106)("iframe"),e=o.length;for(n.style.display="none",r(102).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("