ast-contains-only-empty-space
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.astContainsOnlyEmptySpace=e()}(this,function(){"use strict";var $t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u=1/0,i="[object Symbol]",f=/^\s+|\s+$/g,t="\\ud800-\\udfff",e="\\u0300-\\u036f\\ufe20-\\ufe23",n="\\u20d0-\\u20f0",r="\\ufe0e\\ufe0f",c="["+t+"]",a="["+e+n+"]",l="\\ud83c[\\udffb-\\udfff]",s="[^"+t+"]",p="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",y="\\u200d",h="(?:"+a+"|"+l+")"+"?",_="["+r+"]?",b=_+h+("(?:"+y+"(?:"+[s,p,d].join("|")+")"+_+h+")*"),v="(?:"+[s+a+"?",a,p,d,c].join("|")+")",g=RegExp(l+"(?="+l+")|"+v+b,"g"),j=RegExp("["+y+t+e+n+r+"]"),m="object"==o($t)&&$t&&$t.Object===Object&&$t,O="object"==("undefined"==typeof self?"undefined":o(self))&&self&&self.Object===Object&&self,S=m||O||Function("return this")();function $(t,e,n){if(e!=e)return function(t,e,n,r){for(var o=t.length,u=n+(r?1:-1);r?u--:++u<o;)if(e(t[u],u,t))return u;return-1}(t,w,n);for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}function w(t){return t!=t}function x(t){return e=t,j.test(e)?t.match(g)||[]:t.split("");var e}var A=Object.prototype.toString,P=S.Symbol,k=P?P.prototype:undefined$1,E=k?k.toString:undefined$1;function F(t){if("string"==typeof t)return t;if("symbol"==(void 0===(e=t)?"undefined":o(e))||(n=e)&&"object"==(void 0===n?"undefined":o(n))&&A.call(e)==i)return E?E.call(t):"";var e,n,r=t+"";return"0"==r&&1/t==-u?"-0":r}function N(t,e,n){var r=t.length;return n=n===undefined$1?r:n,!e&&r<=n?t:function(t,e,n){var r=-1,o=t.length;e<0&&(e=o<-e?0:o+e),(n=o<n?o:n)<0&&(n+=o),o=n<e?0:n-e>>>0,e>>>=0;for(var u=Array(o);++r<o;)u[r]=t[r+e];return u}(t,e,n)}var M=function(t,e,n){var r;if((t=null==(r=t)?"":F(r))&&(n||e===undefined$1))return t.replace(f,"");if(!t||!(e=F(e)))return t;var o=x(t),u=x(e);return N(o,function(t,e){for(var n=-1,r=t.length;++n<r&&-1<$(e,t[n],0););return n}(o,u),function(t,e){for(var n=t.length;n--&&-1<$(e,t[n],0););return n}(o,u)+1).join("")},R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var B,T,C=Function.prototype,D=Object.prototype,I=C.toString,V=D.hasOwnProperty,W=I.call(Object),G=D.toString,K=(B=Object.getPrototypeOf,T=Object,function(t){return B(T(t))});var U,q=function(t){if(!(e=t)||"object"!=(void 0===e?"undefined":R(e))||"[object Object]"!=G.call(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t))return!1;var e,n=K(t);if(null===n)return!0;var r=V.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&I.call(r)==W},wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},z=(function(t,e){var r="__lodash_hash_undefined__",n=9007199254740991,O="[object Arguments]",S="[object Function]",$="[object GeneratorFunction]",o="[object Map]",w="[object Object]",u="[object Promise]",i="[object Set]",f="[object WeakMap]",c="[object DataView]",a=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,s="object"==wt($t)&&$t&&$t.Object===Object&&$t,p="object"==("undefined"==typeof self?"undefined":wt(self))&&self&&self.Object===Object&&self,d=s||p||Function("return this")(),y=e&&!e.nodeType&&e,h=y&&t&&!t.nodeType&&t,_=h&&h.exports===y;function x(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function b(e,n){return function(t){return e(n(t))}}var v,g=Array.prototype,j=Function.prototype,m=Object.prototype,A=d["__core-js_shared__"],P=(v=/[^.]+$/.exec(A&&A.keys&&A.keys.IE_PROTO||""))?"Symbol(src)_1."+v:"",k=j.toString,E=m.hasOwnProperty,F=m.toString,N=RegExp("^"+k.call(E).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),M=_?d.Buffer:undefined$3,R=d.Symbol,B=(d.Uint8Array,b(Object.getPrototypeOf,Object)),T=Object.create,C=m.propertyIsEnumerable,D=g.splice,I=Object.getOwnPropertySymbols,V=M?M.isBuffer:undefined$3,W=b(Object.keys,Object),G=st(d,"DataView"),K=st(d,"Map"),U=st(d,"Promise"),q=st(d,"Set"),z=st(d,"WeakMap"),H=st(Object,"create"),J=_t(G),L=_t(K),Q=_t(U),X=_t(q),Y=_t(z),Z=R?R.prototype:undefined$3;Z?Z.valueOf:undefined$3;function tt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function et(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function nt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function rt(t){this.__data__=new et(t)}function ot(t,e){var n,r,o,u=vt(t)||(o=r=n=t)&&"object"==(void 0===o?"undefined":wt(o))&>(r)&&E.call(n,"callee")&&(!C.call(n,"callee")||F.call(n)==O)?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],i=u.length,f=!!i;for(var c in t)!e&&!E.call(t,c)||f&&yt(c,i)||u.push(c);return u}function ut(t,e,n){var r=t[e];E.call(t,e)&&bt(r,n)&&(n!==undefined$3||e in t)||(t[e]=n)}function it(t,e){for(var n=t.length;n--;)if(bt(t[n][0],e))return n;return-1}function ft(n,r,o,u,t,e,i){var f;if(u&&(f=e?u(n,t,e,i):u(n)),f!==undefined$3)return f;if(!Ot(n))return n;var c,a,l,s,p,d,y=vt(n);if(y){if(f=function(t){var e=t.length,n=t.constructor(e);e&&"string"==typeof t[0]&&E.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(n),!r)return function(t,e){var n=-1,r=t.length;e||(e=Array(r));for(;++n<r;)e[n]=t[n];return e}(n,f)}else{var h=dt(n),_=h==S||h==$;if(jt(n))return function(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}(n,r);if(h!=w&&h!=O&&(!_||e))return e?n:{};if(x(n))return e?n:{};if(f="function"!=typeof(p=_?{}:n).constructor||ht(p)?{}:Ot(d=B(p))?T(d):{},!r)return s=c=n,a=(l=f)&&at(s,St(s),l),at(c,pt(c),a)}i||(i=new rt);var b,v,g,j=i.get(n);if(j)return j;if(i.set(n,f),!y)var m=o?(v=pt,g=St(b=n),vt(b)?g:function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}(g,v(b))):St(n);return function(t,e){for(var n=-1,r=t?t.length:0;++n<r&&!1!==e(t[n],n,t););}(m||n,function(t,e){m&&(t=n[e=t]),ut(f,e,ft(t,r,o,u,e,n,i))}),f}function ct(t){return!(!Ot(t)||(e=t,P&&P in e))&&(mt(t)||x(t)?N:a).test(_t(t));var e}function at(t,e,n,r){n||(n={});for(var o=-1,u=e.length;++o<u;){var i=e[o],f=r?r(n[i],t[i],i,n,t):undefined$3;ut(n,i,f===undefined$3?t[i]:f)}return n}function lt(t,e){var n,r,o=t.__data__;return("string"==(r=void 0===(n=e)?"undefined":wt(n))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function st(t,e){var n,r,o=(r=e,null==(n=t)?undefined$3:n[r]);return ct(o)?o:undefined$3}tt.prototype.clear=function(){this.__data__=H?H(null):{}},tt.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},tt.prototype.get=function(t){var e=this.__data__;if(H){var n=e[t];return n===r?undefined$3:n}return E.call(e,t)?e[t]:undefined$3},tt.prototype.has=function(t){var e=this.__data__;return H?e[t]!==undefined$3:E.call(e,t)},tt.prototype.set=function(t,e){return this.__data__[t]=H&&e===undefined$3?r:e,this},et.prototype.clear=function(){this.__data__=[]},et.prototype.delete=function(t){var e=this.__data__,n=it(e,t);return!(n<0||(n==e.length-1?e.pop():D.call(e,n,1),0))},et.prototype.get=function(t){var e=this.__data__,n=it(e,t);return n<0?undefined$3:e[n][1]},et.prototype.has=function(t){return-1<it(this.__data__,t)},et.prototype.set=function(t,e){var n=this.__data__,r=it(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},nt.prototype.clear=function(){this.__data__={hash:new tt,map:new(K||et),string:new tt}},nt.prototype.delete=function(t){return lt(this,t).delete(t)},nt.prototype.get=function(t){return lt(this,t).get(t)},nt.prototype.has=function(t){return lt(this,t).has(t)},nt.prototype.set=function(t,e){return lt(this,t).set(t,e),this},rt.prototype.clear=function(){this.__data__=new et},rt.prototype.delete=function(t){return this.__data__.delete(t)},rt.prototype.get=function(t){return this.__data__.get(t)},rt.prototype.has=function(t){return this.__data__.has(t)},rt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof et){var r=n.__data__;if(!K||r.length<199)return r.push([t,e]),this;n=this.__data__=new nt(r)}return n.set(t,e),this};var pt=I?b(I,Object):function(){return[]},dt=function(t){return F.call(t)};function yt(t,e){return!!(e=null==e?n:e)&&("number"==typeof t||l.test(t))&&-1<t&&t%1==0&&t<e}function ht(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||m)}function _t(t){if(null!=t){try{return k.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function bt(t,e){return t===e||t!=t&&e!=e}(G&&dt(new G(new ArrayBuffer(1)))!=c||K&&dt(new K)!=o||U&&dt(U.resolve())!=u||q&&dt(new q)!=i||z&&dt(new z)!=f)&&(dt=function(t){var e=F.call(t),n=e==w?t.constructor:undefined$3,r=n?_t(n):undefined$3;if(r)switch(r){case J:return c;case L:return o;case Q:return u;case X:return i;case Y:return f}return e});var vt=Array.isArray;function gt(t){return null!=t&&("number"==typeof(e=t.length)&&-1<e&&e%1==0&&e<=n)&&!mt(t);var e}var jt=V||function(){return!1};function mt(t){var e=Ot(t)?F.call(t):"";return e==S||e==$}function Ot(t){var e=void 0===t?"undefined":wt(t);return!!t&&("object"==e||"function"==e)}function St(t){return gt(t)?ot(t):function(t){if(!ht(t))return W(t);var e=[];for(var n in Object(t))E.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}t.exports=function(t){return ft(t,!0,!0)}}(U={exports:{}},U.exports),U.exports),H=Array.isArray;function J(t){return"string"==typeof t&&0<t.length&&"."===t[0]?t.slice(1):t}return function(t){function r(t){return"string"==typeof t}var e=Array.isArray,o=!0;return!!(e(t)||q(t)||r(t))&&(r(t)?0===M(t).length:(t=function t(e,n,r){var o=z(e),u=void 0,i=void 0,f=void 0,c=void 0,a=void 0;if((r=Object.assign({depth:-1,path:""},r)).depth+=1,H(o))for(u=0,i=o.length;u<i;u++){var l=r.path+"."+u;o[u]!==undefined$4?(r.parent=z(o),f=t(n(o[u],undefined$4,Object.assign({},r,{path:J(l)})),n,Object.assign({},r,{path:J(l)})),Number.isNaN(f)&&u<o.length?(o.splice(u,1),u-=1):o[u]=f):o.splice(u,1)}else if(q(o))for(u=0,i=(c=Object.keys(o)).length;u<i;u++){a=c[u];var s=r.path+"."+a;0===r.depth&&null!=a&&(r.topmostKey=a),r.parent=z(o),f=t(n(a,o[a],Object.assign({},r,{path:J(s)})),n,Object.assign({},r,{path:J(s)})),Number.isNaN(f)?delete o[a]:o[a]=f}return o}(t,function(t,e){var n=e!==undefined$5?e:t;return r(n)&&""!==M(n)&&(o=!1),n},{}),o))}}); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.astContainsOnlyEmptySpace=e()}(this,function(){"use strict";var wt="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=1/0,u="[object Symbol]",f=/^\s+|\s+$/g,t="\\ud800-\\udfff",e="\\u0300-\\u036f\\ufe20-\\ufe23",n="\\u20d0-\\u20f0",r="\\ufe0e\\ufe0f",c="["+t+"]",a="["+e+n+"]",l="\\ud83c[\\udffb-\\udfff]",s="[^"+t+"]",p="(?:\\ud83c[\\udde6-\\uddff]){2}",y="[\\ud800-\\udbff][\\udc00-\\udfff]",d="\\u200d",v="(?:"+a+"|"+l+")"+"?",h="["+r+"]?",_=h+v+("(?:"+d+"(?:"+[s,p,y].join("|")+")"+h+v+")*"),b="(?:"+[s+a+"?",a,p,y,c].join("|")+")",g=RegExp(l+"(?="+l+")|"+b+_,"g"),j=RegExp("["+d+t+e+n+r+"]"),m="object"==o(wt)&&wt&&wt.Object===Object&&wt,O="object"==("undefined"==typeof self?"undefined":o(self))&&self&&self.Object===Object&&self,S=m||O||Function("return this")();function w(t,e,n){if(e!=e)return function(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}(t,x,n);for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}function x(t){return t!=t}function A(t){return e=t,j.test(e)?t.match(g)||[]:t.split("");var e}var P=Object.prototype.toString,$=S.Symbol,k=$?$.prototype:void 0,E=k?k.toString:void 0;function F(t){if("string"==typeof t)return t;if("symbol"==(void 0===(e=t)?"undefined":o(e))||(n=e)&&"object"==(void 0===n?"undefined":o(n))&&P.call(e)==u)return E?E.call(t):"";var e,n,r=t+"";return"0"==r&&1/t==-i?"-0":r}function N(t,e,n){var r=t.length;return n=void 0===n?r:n,!e&&r<=n?t:function(t,e,n){var r=-1,o=t.length;e<0&&(e=o<-e?0:o+e),(n=o<n?o:n)<0&&(n+=o),o=n<e?0:n-e>>>0,e>>>=0;for(var i=Array(o);++r<o;)i[r]=t[r+e];return i}(t,e,n)}var M=function(t,e,n){var r;if((t=null==(r=t)?"":F(r))&&(n||void 0===e))return t.replace(f,"");if(!t||!(e=F(e)))return t;var o=A(t),i=A(e);return N(o,function(t,e){for(var n=-1,r=t.length;++n<r&&-1<w(e,t[n],0););return n}(o,i),function(t,e){for(var n=t.length;n--&&-1<w(e,t[n],0););return n}(o,i)+1).join("")},R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var B,T,C=Function.prototype,D=Object.prototype,I=C.toString,V=D.hasOwnProperty,W=I.call(Object),G=D.toString,K=(B=Object.getPrototypeOf,T=Object,function(t){return B(T(t))});var U,q=function(t){if(!(e=t)||"object"!=(void 0===e?"undefined":R(e))||"[object Object]"!=G.call(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t))return!1;var e,n=K(t);if(null===n)return!0;var r=V.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&I.call(r)==W},xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},z=(function(t,e){var r="__lodash_hash_undefined__",n=9007199254740991,O="[object Arguments]",S="[object Function]",w="[object GeneratorFunction]",o="[object Map]",x="[object Object]",i="[object Promise]",u="[object Set]",f="[object WeakMap]",c="[object DataView]",a=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,s="object"==xt(wt)&&wt&&wt.Object===Object&&wt,p="object"==("undefined"==typeof self?"undefined":xt(self))&&self&&self.Object===Object&&self,y=s||p||Function("return this")(),d=e&&!e.nodeType&&e,v=d&&t&&!t.nodeType&&t,h=v&&v.exports===d;function A(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function _(e,n){return function(t){return e(n(t))}}var b,g=Array.prototype,j=Function.prototype,m=Object.prototype,P=y["__core-js_shared__"],$=(b=/[^.]+$/.exec(P&&P.keys&&P.keys.IE_PROTO||""))?"Symbol(src)_1."+b:"",k=j.toString,E=m.hasOwnProperty,F=m.toString,N=RegExp("^"+k.call(E).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),M=h?y.Buffer:void 0,R=y.Symbol,B=(y.Uint8Array,_(Object.getPrototypeOf,Object)),T=Object.create,C=m.propertyIsEnumerable,D=g.splice,I=Object.getOwnPropertySymbols,V=M?M.isBuffer:void 0,W=_(Object.keys,Object),G=st(y,"DataView"),K=st(y,"Map"),U=st(y,"Promise"),q=st(y,"Set"),z=st(y,"WeakMap"),H=st(Object,"create"),J=ht(G),L=ht(K),Q=ht(U),X=ht(q),Y=ht(z),Z=R?R.prototype:void 0;Z&&Z.valueOf;function tt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function et(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function nt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function rt(t){this.__data__=new et(t)}function ot(t,e){var n,r,o,i=bt(t)||(o=r=n=t)&&"object"==(void 0===o?"undefined":xt(o))&>(r)&&E.call(n,"callee")&&(!C.call(n,"callee")||F.call(n)==O)?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],u=i.length,f=!!u;for(var c in t)!e&&!E.call(t,c)||f&&("length"==c||dt(c,u))||i.push(c);return i}function it(t,e,n){var r=t[e];E.call(t,e)&&_t(r,n)&&(void 0!==n||e in t)||(t[e]=n)}function ut(t,e){for(var n=t.length;n--;)if(_t(t[n][0],e))return n;return-1}function ft(n,r,o,i,t,e,u){var f;if(i&&(f=e?i(n,t,e,u):i(n)),void 0!==f)return f;if(!Ot(n))return n;var c,a,l,s,p,y,d=bt(n);if(d){if(f=function(t){var e=t.length,n=t.constructor(e);e&&"string"==typeof t[0]&&E.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(n),!r)return function(t,e){var n=-1,r=t.length;e||(e=Array(r));for(;++n<r;)e[n]=t[n];return e}(n,f)}else{var v=yt(n),h=v==S||v==w;if(jt(n))return function(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}(n,r);if(v!=x&&v!=O&&(!h||e))return e?n:{};if(A(n))return e?n:{};if(f="function"!=typeof(p=h?{}:n).constructor||vt(p)?{}:Ot(y=B(p))?T(y):{},!r)return s=c=n,a=(l=f)&&at(s,St(s),l),at(c,pt(c),a)}u||(u=new rt);var _,b,g,j=u.get(n);if(j)return j;if(u.set(n,f),!d)var m=o?(b=pt,g=St(_=n),bt(_)?g:function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}(g,b(_))):St(n);return function(t,e){for(var n=-1,r=t?t.length:0;++n<r&&!1!==e(t[n],n,t););}(m||n,function(t,e){m&&(t=n[e=t]),it(f,e,ft(t,r,o,i,e,n,u))}),f}function ct(t){return!(!Ot(t)||(e=t,$&&$ in e))&&(mt(t)||A(t)?N:a).test(ht(t));var e}function at(t,e,n,r){n||(n={});for(var o=-1,i=e.length;++o<i;){var u=e[o],f=r?r(n[u],t[u],u,n,t):void 0;it(n,u,void 0===f?t[u]:f)}return n}function lt(t,e){var n,r,o=t.__data__;return("string"==(r=void 0===(n=e)?"undefined":xt(n))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function st(t,e){var n,r,o=(r=e,null==(n=t)?void 0:n[r]);return ct(o)?o:void 0}tt.prototype.clear=function(){this.__data__=H?H(null):{}},tt.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},tt.prototype.get=function(t){var e=this.__data__;if(H){var n=e[t];return n===r?void 0:n}return E.call(e,t)?e[t]:void 0},tt.prototype.has=function(t){var e=this.__data__;return H?void 0!==e[t]:E.call(e,t)},tt.prototype.set=function(t,e){return this.__data__[t]=H&&void 0===e?r:e,this},et.prototype.clear=function(){this.__data__=[]},et.prototype.delete=function(t){var e=this.__data__,n=ut(e,t);return!(n<0||(n==e.length-1?e.pop():D.call(e,n,1),0))},et.prototype.get=function(t){var e=this.__data__,n=ut(e,t);return n<0?void 0:e[n][1]},et.prototype.has=function(t){return-1<ut(this.__data__,t)},et.prototype.set=function(t,e){var n=this.__data__,r=ut(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},nt.prototype.clear=function(){this.__data__={hash:new tt,map:new(K||et),string:new tt}},nt.prototype.delete=function(t){return lt(this,t).delete(t)},nt.prototype.get=function(t){return lt(this,t).get(t)},nt.prototype.has=function(t){return lt(this,t).has(t)},nt.prototype.set=function(t,e){return lt(this,t).set(t,e),this},rt.prototype.clear=function(){this.__data__=new et},rt.prototype.delete=function(t){return this.__data__.delete(t)},rt.prototype.get=function(t){return this.__data__.get(t)},rt.prototype.has=function(t){return this.__data__.has(t)},rt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof et){var r=n.__data__;if(!K||r.length<199)return r.push([t,e]),this;n=this.__data__=new nt(r)}return n.set(t,e),this};var pt=I?_(I,Object):function(){return[]},yt=function(t){return F.call(t)};function dt(t,e){return!!(e=null==e?n:e)&&("number"==typeof t||l.test(t))&&-1<t&&t%1==0&&t<e}function vt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||m)}function ht(t){if(null!=t){try{return k.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function _t(t,e){return t===e||t!=t&&e!=e}(G&&yt(new G(new ArrayBuffer(1)))!=c||K&&yt(new K)!=o||U&&yt(U.resolve())!=i||q&&yt(new q)!=u||z&&yt(new z)!=f)&&(yt=function(t){var e=F.call(t),n=e==x?t.constructor:void 0,r=n?ht(n):void 0;if(r)switch(r){case J:return c;case L:return o;case Q:return i;case X:return u;case Y:return f}return e});var bt=Array.isArray;function gt(t){return null!=t&&("number"==typeof(e=t.length)&&-1<e&&e%1==0&&e<=n)&&!mt(t);var e}var jt=V||function(){return!1};function mt(t){var e=Ot(t)?F.call(t):"";return e==S||e==w}function Ot(t){var e=void 0===t?"undefined":xt(t);return!!t&&("object"==e||"function"==e)}function St(t){return gt(t)?ot(t):function(t){if(!vt(t))return W(t);var e=[];for(var n in Object(t))E.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}t.exports=function(t){return ft(t,!0,!0)}}(U={exports:{}},U.exports),U.exports),H=Array.isArray;function J(t){return"string"==typeof t&&0<t.length&&"."===t[0]?t.slice(1):t}return function(t){function r(t){return"string"==typeof t}var e=Array.isArray,o=!0;return!!(e(t)||q(t)||r(t))&&(r(t)?0===M(t).length:(t=function t(e,n,r){var o=z(e),i=void 0,u=void 0,f=void 0,c=void 0,a=void 0;if((r=Object.assign({depth:-1,path:""},r)).depth+=1,H(o))for(i=0,u=o.length;i<u;i++){var l=r.path+"."+i;void 0!==o[i]?(r.parent=z(o),f=t(n(o[i],void 0,Object.assign({},r,{path:J(l)})),n,Object.assign({},r,{path:J(l)})),Number.isNaN(f)&&i<o.length?(o.splice(i,1),i-=1):o[i]=f):o.splice(i,1)}else if(q(o))for(i=0,u=(c=Object.keys(o)).length;i<u;i++){a=c[i];var s=r.path+"."+a;0===r.depth&&null!=a&&(r.topmostKey=a),r.parent=z(o),f=t(n(a,o[a],Object.assign({},r,{path:J(s)})),n,Object.assign({},r,{path:J(s)})),Number.isNaN(f)?delete o[a]:o[a]=f}return o}(t,function(t,e){var n=void 0!==e?e:t;return r(n)&&""!==M(n)&&(o=!1),n},{}),o))}}); |
{ | ||
"name": "ast-contains-only-empty-space", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "Returns Boolean depending if passed AST contain only empty space", | ||
@@ -181,3 +181,3 @@ "license": "MIT", | ||
"rollup": "latest", | ||
"rollup-plugin-babel": "^3.0.4", | ||
"rollup-plugin-babel": "^3.0.5", | ||
"rollup-plugin-commonjs": "^9.1.3", | ||
@@ -184,0 +184,0 @@ "rollup-plugin-node-resolve": "^3.3.0", |
@@ -42,3 +42,3 @@ # ast-contains-only-empty-space | ||
| **ES module** build that Webpack/Rollup understands. Untranspiled ES6 code with `import`/`export`. | `module` | `dist/ast-contains-only-empty-space.esm.js` | 722 B | | ||
| **UMD build** for browsers, transpiled, minified, containing `iife`'s and has all dependencies baked-in | `browser` | `dist/ast-contains-only-empty-space.umd.js` | 12 KB | | ||
| **UMD build** for browsers, transpiled, minified, containing `iife`'s and has all dependencies baked-in | `browser` | `dist/ast-contains-only-empty-space.umd.js` | 11 KB | | ||
@@ -45,0 +45,0 @@ **[⬆ back to top](#markdown-header-ast-contains-only-empty-space)** |
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
25643
93