ast-contains-only-empty-space
Advanced tools
Comparing version 1.4.1 to 1.4.2
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
The format is based on [Keep a Changelog](http://keepachangelog.com/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/). | ||
## 1.4.2 (2018-12-26) | ||
## [1.4.0] - 2018-10-13 | ||
**Note:** Version bump only for package ast-contains-only-empty-space | ||
## 1.4.0 (2018-10-13) | ||
- ✨ Updated all dependencies and restored coverage tracking both via terminal when testing and through coveralls.io | ||
## [1.3.0] - 2018-06-13 | ||
## 1.3.0 (2018-06-13) | ||
@@ -20,3 +26,3 @@ GitHub sold us out. In the meantime, we: | ||
## [1.2.0] - 2018-05-14 | ||
## 1.2.0 (2018-05-14) | ||
@@ -28,3 +34,3 @@ ### Improved | ||
## [1.1.0] - 2018-05-01 | ||
## 1.1.0 (2018-05-01) | ||
@@ -37,11 +43,4 @@ ### Added | ||
## 1.0.0 - 2018-03-10 | ||
## 1.0.0 (2018-03-10) | ||
### New | ||
- First public release | ||
[1.4.0]: https://bitbucket.org/codsen/ast-contains-only-empty-space/branches/compare/v1.4.0%0Dv1.3.3#diff | ||
[1.3.0]: https://bitbucket.org/codsen/ast-contains-only-empty-space/branches/compare/v1.3.0%0Dv1.2.2#diff | ||
[1.2.0]: https://bitbucket.org/codsen/ast-contains-only-empty-space/branches/compare/v1.2.0%0Dv1.1.1#diff | ||
[1.1.0]: https://bitbucket.org/codsen/ast-contains-only-empty-space/branches/compare/v1.1.0%0Dv1.0.2#diff |
@@ -1,1 +0,1 @@ | ||
!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):t.astContainsOnlyEmptySpace=r()}(this,function(){"use strict";var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var r=1/0,e="[object Symbol]",n=/^\s+|\s+$/g,o="[\\ud800-\\udfff]",u="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",c="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+u+"|"+c+")"+"?",l="[\\ufe0e\\ufe0f]?"+s+("(?:\\u200d(?:"+[i,a,f].join("|")+")[\\ufe0e\\ufe0f]?"+s+")*"),p="(?:"+[i+u+"?",u,a,f,o].join("|")+")",y=RegExp(c+"(?="+c+")|"+p+l,"g"),h=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),d="object"==typeof t&&t&&t.Object===Object&&t,v="object"==typeof self&&self&&self.Object===Object&&self,b=d||v||Function("return this")();function _(t,r,e){if(r!=r)return function(t,r,e,n){for(var o=t.length,u=e+(n?1:-1);n?u--:++u<o;)if(r(t[u],u,t))return u;return-1}(t,j,e);for(var n=e-1,o=t.length;++n<o;)if(t[n]===r)return n;return-1}function j(t){return t!=t}function g(t){return function(t){return h.test(t)}(t)?function(t){return t.match(y)||[]}(t):function(t){return t.split("")}(t)}var O=Object.prototype.toString,w=b.Symbol,m=w?w.prototype:void 0,A=m?m.toString:void 0;function S(t){if("string"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&O.call(t)==e}(t))return A?A.call(t):"";var n=t+"";return"0"==n&&1/t==-r?"-0":n}function x(t,r,e){var n=t.length;return e=void 0===e?n:e,!r&&e>=n?t:function(t,r,e){var n=-1,o=t.length;r<0&&(r=-r>o?0:o+r),(e=e>o?o:e)<0&&(e+=o),o=r>e?0:e-r>>>0,r>>>=0;for(var u=Array(o);++n<o;)u[n]=t[n+r];return u}(t,r,e)}var $=function(t,r,e){var o;if((t=null==(o=t)?"":S(o))&&(e||void 0===r))return t.replace(n,"");if(!t||!(r=S(r)))return t;var u=g(t),c=g(r);return x(u,function(t,r){for(var e=-1,n=t.length;++e<n&&_(r,t[e],0)>-1;);return e}(u,c),function(t,r){for(var e=t.length;e--&&_(r,t[e],0)>-1;);return e}(u,c)+1).join("")},E="[object Object]";var P,k,F=Function.prototype,I=Object.prototype,N=F.toString,M=I.hasOwnProperty,B=N.call(Object),R=I.toString,U=(P=Object.getPrototypeOf,k=Object,function(t){return P(k(t))});var W,C=function(t){if(!function(t){return!!t&&"object"==typeof t}(t)||R.call(t)!=E||function(t){var r=!1;if(null!=t&&"function"!=typeof t.toString)try{r=!!(t+"")}catch(t){}return r}(t))return!1;var r=U(t);if(null===r)return!0;var e=M.call(r,"constructor")&&r.constructor;return"function"==typeof e&&e instanceof e&&N.call(e)==B},D=(function(r,e){var n=200,o="__lodash_hash_undefined__",u=9007199254740991,c="[object Arguments]",i="[object Boolean]",a="[object Date]",f="[object Function]",s="[object GeneratorFunction]",l="[object Map]",p="[object Number]",y="[object Object]",h="[object RegExp]",d="[object Set]",v="[object String]",b="[object Symbol]",_="[object ArrayBuffer]",j="[object DataView]",g="[object Float32Array]",O="[object Float64Array]",w="[object Int8Array]",m="[object Int16Array]",A="[object Int32Array]",S="[object Uint8Array]",x="[object Uint8ClampedArray]",$="[object Uint16Array]",E="[object Uint32Array]",P=/\w*$/,k=/^\[object .+?Constructor\]$/,F=/^(?:0|[1-9]\d*)$/,I={};I[c]=I["[object Array]"]=I[_]=I[j]=I[i]=I[a]=I[g]=I[O]=I[w]=I[m]=I[A]=I[l]=I[p]=I[y]=I[h]=I[d]=I[v]=I[b]=I[S]=I[x]=I[$]=I[E]=!0,I["[object Error]"]=I[f]=I["[object WeakMap]"]=!1;var N="object"==typeof t&&t&&t.Object===Object&&t,M="object"==typeof self&&self&&self.Object===Object&&self,B=N||M||Function("return this")(),R=e&&!e.nodeType&&e,U=R&&r&&!r.nodeType&&r,W=U&&U.exports===R;function C(t,r){return t.set(r[0],r[1]),t}function D(t,r){return t.add(r),t}function T(t,r,e,n){var o=-1,u=t?t.length:0;for(n&&u&&(e=t[++o]);++o<u;)e=r(e,t[o],o,t);return e}function z(t){var r=!1;if(null!=t&&"function"!=typeof t.toString)try{r=!!(t+"")}catch(t){}return r}function L(t){var r=-1,e=Array(t.size);return t.forEach(function(t,n){e[++r]=[n,t]}),e}function V(t,r){return function(e){return t(r(e))}}function G(t){var r=-1,e=Array(t.size);return t.forEach(function(t){e[++r]=t}),e}var K,q=Array.prototype,H=Function.prototype,J=Object.prototype,Q=B["__core-js_shared__"],X=(K=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||""))?"Symbol(src)_1."+K:"",Y=H.toString,Z=J.hasOwnProperty,tt=J.toString,rt=RegExp("^"+Y.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),et=W?B.Buffer:void 0,nt=B.Symbol,ot=B.Uint8Array,ut=V(Object.getPrototypeOf,Object),ct=Object.create,it=J.propertyIsEnumerable,at=q.splice,ft=Object.getOwnPropertySymbols,st=et?et.isBuffer:void 0,lt=V(Object.keys,Object),pt=Ut(B,"DataView"),yt=Ut(B,"Map"),ht=Ut(B,"Promise"),dt=Ut(B,"Set"),vt=Ut(B,"WeakMap"),bt=Ut(Object,"create"),_t=zt(pt),jt=zt(yt),gt=zt(ht),Ot=zt(dt),wt=zt(vt),mt=nt?nt.prototype:void 0,At=mt?mt.valueOf:void 0;function St(t){var r=-1,e=t?t.length:0;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}function xt(t){var r=-1,e=t?t.length:0;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}function $t(t){var r=-1,e=t?t.length:0;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}function Et(t){this.__data__=new xt(t)}function Pt(t,r){var e=Vt(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&Gt(t)}(t)&&Z.call(t,"callee")&&(!it.call(t,"callee")||tt.call(t)==c)}(t)?function(t,r){for(var e=-1,n=Array(t);++e<t;)n[e]=r(e);return n}(t.length,String):[],n=e.length,o=!!n;for(var u in t)!r&&!Z.call(t,u)||o&&("length"==u||Dt(u,n))||e.push(u);return e}function kt(t,r,e){var n=t[r];Z.call(t,r)&&Lt(n,e)&&(void 0!==e||r in t)||(t[r]=e)}function Ft(t,r){for(var e=t.length;e--;)if(Lt(t[e][0],r))return e;return-1}function It(t,r,e,n,o,u,k){var F;if(n&&(F=u?n(t,o,u,k):n(t)),void 0!==F)return F;if(!Ht(t))return t;var N=Vt(t);if(N){if(F=function(t){var r=t.length,e=t.constructor(r);r&&"string"==typeof t[0]&&Z.call(t,"index")&&(e.index=t.index,e.input=t.input);return e}(t),!r)return function(t,r){var e=-1,n=t.length;r||(r=Array(n));for(;++e<n;)r[e]=t[e];return r}(t,F)}else{var M=Ct(t),B=M==f||M==s;if(Kt(t))return function(t,r){if(r)return t.slice();var e=new t.constructor(t.length);return t.copy(e),e}(t,r);if(M==y||M==c||B&&!u){if(z(t))return u?t:{};if(F=function(t){return"function"!=typeof t.constructor||Tt(t)?{}:(r=ut(t),Ht(r)?ct(r):{});var r}(B?{}:t),!r)return function(t,r){return Bt(t,Wt(t),r)}(t,function(t,r){return t&&Bt(r,Jt(r),t)}(F,t))}else{if(!I[M])return u?t:{};F=function(t,r,e,n){var o=t.constructor;switch(r){case _:return Mt(t);case i:case a:return new o(+t);case j:return function(t,r){var e=r?Mt(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}(t,n);case g:case O:case w:case m:case A:case S:case x:case $:case E:return function(t,r){var e=r?Mt(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}(t,n);case l:return function(t,r,e){return T(r?e(L(t),!0):L(t),C,new t.constructor)}(t,n,e);case p:case v:return new o(t);case h:return(f=new(c=t).constructor(c.source,P.exec(c))).lastIndex=c.lastIndex,f;case d:return function(t,r,e){return T(r?e(G(t),!0):G(t),D,new t.constructor)}(t,n,e);case b:return u=t,At?Object(At.call(u)):{}}var u;var c,f}(t,M,It,r)}}k||(k=new Et);var R=k.get(t);if(R)return R;if(k.set(t,F),!N)var U=e?function(t){return function(t,r,e){var n=r(t);return Vt(t)?n:function(t,r){for(var e=-1,n=r.length,o=t.length;++e<n;)t[o+e]=r[e];return t}(n,e(t))}(t,Jt,Wt)}(t):Jt(t);return function(t,r){for(var e=-1,n=t?t.length:0;++e<n&&!1!==r(t[e],e,t););}(U||t,function(o,u){U&&(o=t[u=o]),kt(F,u,It(o,r,e,n,u,t,k))}),F}function Nt(t){return!(!Ht(t)||(r=t,X&&X in r))&&(qt(t)||z(t)?rt:k).test(zt(t));var r}function Mt(t){var r=new t.constructor(t.byteLength);return new ot(r).set(new ot(t)),r}function Bt(t,r,e,n){e||(e={});for(var o=-1,u=r.length;++o<u;){var c=r[o],i=n?n(e[c],t[c],c,e,t):void 0;kt(e,c,void 0===i?t[c]:i)}return e}function Rt(t,r){var e,n,o=t.__data__;return("string"==(n=typeof(e=r))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==e:null===e)?o["string"==typeof r?"string":"hash"]:o.map}function Ut(t,r){var e=function(t,r){return null==t?void 0:t[r]}(t,r);return Nt(e)?e:void 0}St.prototype.clear=function(){this.__data__=bt?bt(null):{}},St.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},St.prototype.get=function(t){var r=this.__data__;if(bt){var e=r[t];return e===o?void 0:e}return Z.call(r,t)?r[t]:void 0},St.prototype.has=function(t){var r=this.__data__;return bt?void 0!==r[t]:Z.call(r,t)},St.prototype.set=function(t,r){return this.__data__[t]=bt&&void 0===r?o:r,this},xt.prototype.clear=function(){this.__data__=[]},xt.prototype.delete=function(t){var r=this.__data__,e=Ft(r,t);return!(e<0||(e==r.length-1?r.pop():at.call(r,e,1),0))},xt.prototype.get=function(t){var r=this.__data__,e=Ft(r,t);return e<0?void 0:r[e][1]},xt.prototype.has=function(t){return Ft(this.__data__,t)>-1},xt.prototype.set=function(t,r){var e=this.__data__,n=Ft(e,t);return n<0?e.push([t,r]):e[n][1]=r,this},$t.prototype.clear=function(){this.__data__={hash:new St,map:new(yt||xt),string:new St}},$t.prototype.delete=function(t){return Rt(this,t).delete(t)},$t.prototype.get=function(t){return Rt(this,t).get(t)},$t.prototype.has=function(t){return Rt(this,t).has(t)},$t.prototype.set=function(t,r){return Rt(this,t).set(t,r),this},Et.prototype.clear=function(){this.__data__=new xt},Et.prototype.delete=function(t){return this.__data__.delete(t)},Et.prototype.get=function(t){return this.__data__.get(t)},Et.prototype.has=function(t){return this.__data__.has(t)},Et.prototype.set=function(t,r){var e=this.__data__;if(e instanceof xt){var o=e.__data__;if(!yt||o.length<n-1)return o.push([t,r]),this;e=this.__data__=new $t(o)}return e.set(t,r),this};var Wt=ft?V(ft,Object):function(){return[]},Ct=function(t){return tt.call(t)};function Dt(t,r){return!!(r=null==r?u:r)&&("number"==typeof t||F.test(t))&&t>-1&&t%1==0&&t<r}function Tt(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||J)}function zt(t){if(null!=t){try{return Y.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Lt(t,r){return t===r||t!=t&&r!=r}(pt&&Ct(new pt(new ArrayBuffer(1)))!=j||yt&&Ct(new yt)!=l||ht&&"[object Promise]"!=Ct(ht.resolve())||dt&&Ct(new dt)!=d||vt&&"[object WeakMap]"!=Ct(new vt))&&(Ct=function(t){var r=tt.call(t),e=r==y?t.constructor:void 0,n=e?zt(e):void 0;if(n)switch(n){case _t:return j;case jt:return l;case gt:return"[object Promise]";case Ot:return d;case wt:return"[object WeakMap]"}return r});var Vt=Array.isArray;function Gt(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=u}(t.length)&&!qt(t)}var Kt=st||function(){return!1};function qt(t){var r=Ht(t)?tt.call(t):"";return r==f||r==s}function Ht(t){var r=typeof t;return!!t&&("object"==r||"function"==r)}function Jt(t){return Gt(t)?Pt(t):function(t){if(!Tt(t))return lt(t);var r=[];for(var e in Object(t))Z.call(t,e)&&"constructor"!=e&&r.push(e);return r}(t)}r.exports=function(t){return It(t,!0,!0)}}(W={exports:{}},W.exports),W.exports);const T=Array.isArray;function z(t){return"string"==typeof t&&t.length>0&&"."===t[0]?t.slice(1):t}function L(t,r){return function t(r,e,n){const o=D(r);let u,c,i,a,f;if((n=Object.assign({depth:-1,path:""},n)).depth+=1,T(o))for(u=0,c=o.length;u<c;u++){const r=`${n.path}.${u}`;void 0!==o[u]?(n.parent=D(o),i=t(e(o[u],void 0,Object.assign({},n,{path:z(r)})),e,Object.assign({},n,{path:z(r)})),Number.isNaN(i)&&u<o.length?(o.splice(u,1),u-=1):o[u]=i):o.splice(u,1)}else if(C(o))for(u=0,c=(a=Object.keys(o)).length;u<c;u++){f=a[u];const r=`${n.path}.${f}`;0===n.depth&&null!=f&&(n.topmostKey=f),n.parent=D(o),i=t(e(f,o[f],Object.assign({},n,{path:z(r)})),e,Object.assign({},n,{path:z(r)})),Number.isNaN(i)?delete o[f]:o[f]=i}return o}(t,r,{})}return function(t){function r(t){return"string"==typeof t}var e=Array.isArray,n=!0;return!!(e(t)||C(t)||r(t))&&(r(t)?0===$(t).length:(t=L(t,function(t,e){var o=void 0!==e?e:t;return r(o)&&""!==$(o)&&(n=!1),o}),n))}}); | ||
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(t=t||self).astContainsOnlyEmptySpace=n()}(this,function(){"use strict";var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var n=1/0,r="[object Symbol]",e=/^\s+|\s+$/g,o="[\\ud800-\\udfff]",u="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",f="\\ud83c[\\udffb-\\udfff]",c="[^\\ud800-\\udfff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+u+"|"+f+")"+"?",p="[\\ufe0e\\ufe0f]?"+s+("(?:\\u200d(?:"+[c,i,a].join("|")+")[\\ufe0e\\ufe0f]?"+s+")*"),l="(?:"+[c+u+"?",u,i,a,o].join("|")+")",d=RegExp(f+"(?="+f+")|"+l+p,"g"),_=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),v="object"==typeof t&&t&&t.Object===Object&&t,h="object"==typeof self&&self&&self.Object===Object&&self,y=v||h||Function("return this")();function g(t,n,r){if(n!=n)return function(t,n,r,e){for(var o=t.length,u=r+(e?1:-1);e?u--:++u<o;)if(n(t[u],u,t))return u;return-1}(t,b,r);for(var e=r-1,o=t.length;++e<o;)if(t[e]===n)return e;return-1}function b(t){return t!=t}function j(t){return function(t){return _.test(t)}(t)?function(t){return t.match(d)||[]}(t):function(t){return t.split("")}(t)}var w=Object.prototype.toString,A=y.Symbol,O=A?A.prototype:void 0,m=O?O.toString:void 0;function S(t){if("string"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&w.call(t)==r}(t))return m?m.call(t):"";var e=t+"";return"0"==e&&1/t==-n?"-0":e}function $(t,n,r){var e=t.length;return r=void 0===r?e:r,!n&&r>=e?t:function(t,n,r){var e=-1,o=t.length;n<0&&(n=-n>o?0:o+n),(r=r>o?o:r)<0&&(r+=o),o=n>r?0:r-n>>>0,n>>>=0;for(var u=Array(o);++e<o;)u[e]=t[e+n];return u}(t,n,r)}var x=function(t,n,r){var o;if((t=null==(o=t)?"":S(o))&&(r||void 0===n))return t.replace(e,"");if(!t||!(n=S(n)))return t;var u=j(t),f=j(n);return $(u,function(t,n){for(var r=-1,e=t.length;++r<e&&g(n,t[r],0)>-1;);return r}(u,f),function(t,n){for(var r=t.length;r--&&g(n,t[r],0)>-1;);return r}(u,f)+1).join("")},E="[object Object]";var N,M,B=Function.prototype,I=Object.prototype,R=B.toString,U=I.hasOwnProperty,P=R.call(Object),W=I.toString,T=(N=Object.getPrototypeOf,M=Object,function(t){return N(M(t))});var k,z=function(t){if(!function(t){return!!t&&"object"==typeof t}(t)||W.call(t)!=E||function(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(t){}return n}(t))return!1;var n=T(t);if(null===n)return!0;var r=U.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&R.call(r)==P},F=(function(n,r){var e=200,o="__lodash_hash_undefined__",u=9007199254740991,f="[object Arguments]",c="[object Boolean]",i="[object Date]",a="[object Function]",s="[object GeneratorFunction]",p="[object Map]",l="[object Number]",d="[object Object]",_="[object RegExp]",v="[object Set]",h="[object String]",y="[object Symbol]",g="[object ArrayBuffer]",b="[object DataView]",j="[object Float32Array]",w="[object Float64Array]",A="[object Int8Array]",O="[object Int16Array]",m="[object Int32Array]",S="[object Uint8Array]",$="[object Uint8ClampedArray]",x="[object Uint16Array]",E="[object Uint32Array]",N=/\w*$/,M=/^\[object .+?Constructor\]$/,B=/^(?:0|[1-9]\d*)$/,I={};I[f]=I["[object Array]"]=I[g]=I[b]=I[c]=I[i]=I[j]=I[w]=I[A]=I[O]=I[m]=I[p]=I[l]=I[d]=I[_]=I[v]=I[h]=I[y]=I[S]=I[$]=I[x]=I[E]=!0,I["[object Error]"]=I[a]=I["[object WeakMap]"]=!1;var R="object"==typeof t&&t&&t.Object===Object&&t,U="object"==typeof self&&self&&self.Object===Object&&self,P=R||U||Function("return this")(),W=r&&!r.nodeType&&r,T=W&&n&&!n.nodeType&&n,k=T&&T.exports===W;function z(t,n){return t.set(n[0],n[1]),t}function F(t,n){return t.add(n),t}function L(t,n,r,e){var o=-1,u=t?t.length:0;for(e&&u&&(r=t[++o]);++o<u;)r=n(r,t[o],o,t);return r}function V(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(t){}return n}function C(t){var n=-1,r=Array(t.size);return t.forEach(function(t,e){r[++n]=[e,t]}),r}function G(t,n){return function(r){return t(n(r))}}function K(t){var n=-1,r=Array(t.size);return t.forEach(function(t){r[++n]=t}),r}var q,J=Array.prototype,Q=Function.prototype,X=Object.prototype,Y=P["__core-js_shared__"],Z=(q=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||""))?"Symbol(src)_1."+q:"",H=Q.toString,D=X.hasOwnProperty,tt=X.toString,nt=RegExp("^"+H.call(D).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rt=k?P.Buffer:void 0,et=P.Symbol,ot=P.Uint8Array,ut=G(Object.getPrototypeOf,Object),ft=Object.create,ct=X.propertyIsEnumerable,it=J.splice,at=Object.getOwnPropertySymbols,st=rt?rt.isBuffer:void 0,pt=G(Object.keys,Object),lt=Tt(P,"DataView"),dt=Tt(P,"Map"),_t=Tt(P,"Promise"),vt=Tt(P,"Set"),ht=Tt(P,"WeakMap"),yt=Tt(Object,"create"),gt=Vt(lt),bt=Vt(dt),jt=Vt(_t),wt=Vt(vt),At=Vt(ht),Ot=et?et.prototype:void 0,mt=Ot?Ot.valueOf:void 0;function St(t){var n=-1,r=t?t.length:0;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}function $t(t){var n=-1,r=t?t.length:0;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}function xt(t){var n=-1,r=t?t.length:0;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}function Et(t){this.__data__=new $t(t)}function Nt(t,n){var r=Gt(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&Kt(t)}(t)&&D.call(t,"callee")&&(!ct.call(t,"callee")||tt.call(t)==f)}(t)?function(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}(t.length,String):[],e=r.length,o=!!e;for(var u in t)!n&&!D.call(t,u)||o&&("length"==u||Ft(u,e))||r.push(u);return r}function Mt(t,n,r){var e=t[n];D.call(t,n)&&Ct(e,r)&&(void 0!==r||n in t)||(t[n]=r)}function Bt(t,n){for(var r=t.length;r--;)if(Ct(t[r][0],n))return r;return-1}function It(t,n,r,e,o,u,M){var B;if(e&&(B=u?e(t,o,u,M):e(t)),void 0!==B)return B;if(!Qt(t))return t;var R=Gt(t);if(R){if(B=function(t){var n=t.length,r=t.constructor(n);n&&"string"==typeof t[0]&&D.call(t,"index")&&(r.index=t.index,r.input=t.input);return r}(t),!n)return function(t,n){var r=-1,e=t.length;n||(n=Array(e));for(;++r<e;)n[r]=t[r];return n}(t,B)}else{var U=zt(t),P=U==a||U==s;if(qt(t))return function(t,n){if(n)return t.slice();var r=new t.constructor(t.length);return t.copy(r),r}(t,n);if(U==d||U==f||P&&!u){if(V(t))return u?t:{};if(B=function(t){return"function"!=typeof t.constructor||Lt(t)?{}:(n=ut(t),Qt(n)?ft(n):{});var n}(P?{}:t),!n)return function(t,n){return Pt(t,kt(t),n)}(t,function(t,n){return t&&Pt(n,Xt(n),t)}(B,t))}else{if(!I[U])return u?t:{};B=function(t,n,r,e){var o=t.constructor;switch(n){case g:return Ut(t);case c:case i:return new o(+t);case b:return function(t,n){var r=n?Ut(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,e);case j:case w:case A:case O:case m:case S:case $:case x:case E:return function(t,n){var r=n?Ut(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}(t,e);case p:return function(t,n,r){return L(n?r(C(t),!0):C(t),z,new t.constructor)}(t,e,r);case l:case h:return new o(t);case _:return(a=new(f=t).constructor(f.source,N.exec(f))).lastIndex=f.lastIndex,a;case v:return function(t,n,r){return L(n?r(K(t),!0):K(t),F,new t.constructor)}(t,e,r);case y:return u=t,mt?Object(mt.call(u)):{}}var u;var f,a}(t,U,It,n)}}M||(M=new Et);var W=M.get(t);if(W)return W;if(M.set(t,B),!R)var T=r?function(t){return function(t,n,r){var e=n(t);return Gt(t)?e:function(t,n){for(var r=-1,e=n.length,o=t.length;++r<e;)t[o+r]=n[r];return t}(e,r(t))}(t,Xt,kt)}(t):Xt(t);return function(t,n){for(var r=-1,e=t?t.length:0;++r<e&&!1!==n(t[r],r,t););}(T||t,function(o,u){T&&(o=t[u=o]),Mt(B,u,It(o,n,r,e,u,t,M))}),B}function Rt(t){return!(!Qt(t)||(n=t,Z&&Z in n))&&(Jt(t)||V(t)?nt:M).test(Vt(t));var n}function Ut(t){var n=new t.constructor(t.byteLength);return new ot(n).set(new ot(t)),n}function Pt(t,n,r,e){r||(r={});for(var o=-1,u=n.length;++o<u;){var f=n[o],c=e?e(r[f],t[f],f,r,t):void 0;Mt(r,f,void 0===c?t[f]:c)}return r}function Wt(t,n){var r,e,o=t.__data__;return("string"==(e=typeof(r=n))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?o["string"==typeof n?"string":"hash"]:o.map}function Tt(t,n){var r=function(t,n){return null==t?void 0:t[n]}(t,n);return Rt(r)?r:void 0}St.prototype.clear=function(){this.__data__=yt?yt(null):{}},St.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},St.prototype.get=function(t){var n=this.__data__;if(yt){var r=n[t];return r===o?void 0:r}return D.call(n,t)?n[t]:void 0},St.prototype.has=function(t){var n=this.__data__;return yt?void 0!==n[t]:D.call(n,t)},St.prototype.set=function(t,n){return this.__data__[t]=yt&&void 0===n?o:n,this},$t.prototype.clear=function(){this.__data__=[]},$t.prototype.delete=function(t){var n=this.__data__,r=Bt(n,t);return!(r<0||(r==n.length-1?n.pop():it.call(n,r,1),0))},$t.prototype.get=function(t){var n=this.__data__,r=Bt(n,t);return r<0?void 0:n[r][1]},$t.prototype.has=function(t){return Bt(this.__data__,t)>-1},$t.prototype.set=function(t,n){var r=this.__data__,e=Bt(r,t);return e<0?r.push([t,n]):r[e][1]=n,this},xt.prototype.clear=function(){this.__data__={hash:new St,map:new(dt||$t),string:new St}},xt.prototype.delete=function(t){return Wt(this,t).delete(t)},xt.prototype.get=function(t){return Wt(this,t).get(t)},xt.prototype.has=function(t){return Wt(this,t).has(t)},xt.prototype.set=function(t,n){return Wt(this,t).set(t,n),this},Et.prototype.clear=function(){this.__data__=new $t},Et.prototype.delete=function(t){return this.__data__.delete(t)},Et.prototype.get=function(t){return this.__data__.get(t)},Et.prototype.has=function(t){return this.__data__.has(t)},Et.prototype.set=function(t,n){var r=this.__data__;if(r instanceof $t){var o=r.__data__;if(!dt||o.length<e-1)return o.push([t,n]),this;r=this.__data__=new xt(o)}return r.set(t,n),this};var kt=at?G(at,Object):function(){return[]},zt=function(t){return tt.call(t)};function Ft(t,n){return!!(n=null==n?u:n)&&("number"==typeof t||B.test(t))&&t>-1&&t%1==0&&t<n}function Lt(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||X)}function Vt(t){if(null!=t){try{return H.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Ct(t,n){return t===n||t!=t&&n!=n}(lt&&zt(new lt(new ArrayBuffer(1)))!=b||dt&&zt(new dt)!=p||_t&&"[object Promise]"!=zt(_t.resolve())||vt&&zt(new vt)!=v||ht&&"[object WeakMap]"!=zt(new ht))&&(zt=function(t){var n=tt.call(t),r=n==d?t.constructor:void 0,e=r?Vt(r):void 0;if(e)switch(e){case gt:return b;case bt:return p;case jt:return"[object Promise]";case wt:return v;case At:return"[object WeakMap]"}return n});var Gt=Array.isArray;function Kt(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=u}(t.length)&&!Jt(t)}var qt=st||function(){return!1};function Jt(t){var n=Qt(t)?tt.call(t):"";return n==a||n==s}function Qt(t){var n=typeof t;return!!t&&("object"==n||"function"==n)}function Xt(t){return Kt(t)?Nt(t):function(t){if(!Lt(t))return pt(t);var n=[];for(var r in Object(t))D.call(t,r)&&"constructor"!=r&&n.push(r);return n}(t)}n.exports=function(t){return It(t,!0,!0)}}(k={exports:{}},k.exports),k.exports);const L=Array.isArray;function V(t){return"string"==typeof t&&t.length>0&&"."===t[0]?t.slice(1):t}function C(t,n){return function t(n,r,e){const o=F(n);let u,f,c,i,a;if((e=Object.assign({depth:-1,path:""},e)).depth+=1,L(o))for(u=0,f=o.length;u<f;u++){const n=`${e.path}.${u}`;void 0!==o[u]?(e.parent=F(o),c=t(r(o[u],void 0,Object.assign({},e,{path:V(n)})),r,Object.assign({},e,{path:V(n)})),Number.isNaN(c)&&u<o.length?(o.splice(u,1),u-=1):o[u]=c):o.splice(u,1)}else if(z(o))for(u=0,f=(i=Object.keys(o)).length;u<f;u++){a=i[u];const n=`${e.path}.${a}`;0===e.depth&&null!=a&&(e.topmostKey=a),e.parent=F(o),c=t(r(a,o[a],Object.assign({},e,{path:V(n)})),r,Object.assign({},e,{path:V(n)})),Number.isNaN(c)?delete o[a]:o[a]=c}return o}(t,n,{})}return function(t){function n(t){return"string"==typeof t}var r=Array.isArray,e=!0;return!!(r(t)||z(t)||n(t))&&(n(t)?0===x(t).length:(t=C(t,function(t,r){var o=void 0!==r?r:t;return n(o)&&""!==x(o)&&(e=!1),o}),e))}}); |
{ | ||
"name": "ast-contains-only-empty-space", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "Returns Boolean depending if passed AST contain only empty space", | ||
@@ -11,7 +11,4 @@ "license": "MIT", | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://bitbucket.org/codsen/ast-contains-only-empty-space.git" | ||
}, | ||
"homepage": "https://bitbucket.org/codsen/ast-contains-only-empty-space/", | ||
"repository": "https://bitbucket.org/codsen/codsen/src/master/packages/ast-contains-only-empty-space", | ||
"homepage": "https://bitbucket.org/codsen/codsen/src/master/packages/ast-contains-only-empty-space", | ||
"author": { | ||
@@ -173,32 +170,33 @@ "email": "roy@codsen.com", | ||
"dependencies": { | ||
"ast-monkey-traverse": "^1.4.0", | ||
"lodash.isplainobject": "*", | ||
"lodash.trim": "*" | ||
"ast-monkey-traverse": "^1.4.2", | ||
"lodash.isplainobject": "^4.0.6", | ||
"lodash.trim": "^4.5.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.1.2", | ||
"@babel/preset-env": "^7.1.0", | ||
"@babel/core": "^7.2.2", | ||
"@babel/preset-env": "^7.2.3", | ||
"@babel/register": "^7.0.0", | ||
"ava": "1.0.0-rc.1", | ||
"ava": "^1.0.1", | ||
"babel-plugin-istanbul": "^5.1.0", | ||
"coveralls": "latest", | ||
"eslint": "latest", | ||
"eslint-config-prettier": "latest", | ||
"eslint-plugin-ava": "latest", | ||
"eslint-plugin-import": "latest", | ||
"eslint-plugin-no-unsanitized": "latest", | ||
"eslint-plugin-no-wildcard-postmessage": "latest", | ||
"eslint-plugin-prettier": "latest", | ||
"eslint-plugin-scanjs-rules": "latest", | ||
"husky": "^1.1.2", | ||
"nyc": "latest", | ||
"prettier": "latest", | ||
"rollup": "latest", | ||
"rollup-plugin-babel": "^4.0.3", | ||
"coveralls": "^3.0.2", | ||
"eslint": "^5.11.0", | ||
"eslint-config-prettier": "^3.3.0", | ||
"eslint-plugin-ava": "^5.1.1", | ||
"eslint-plugin-import": "^2.14.0", | ||
"eslint-plugin-no-unsanitized": "^3.0.2", | ||
"eslint-plugin-no-wildcard-postmessage": "^0.1.3", | ||
"eslint-plugin-prettier": "^3.0.0", | ||
"eslint-plugin-scanjs-rules": "^0.2.1", | ||
"husky": "^1.2.1", | ||
"nyc": "^13.1.0", | ||
"prettier": "^1.15.3", | ||
"rollup": "^0.68.2", | ||
"rollup-plugin-babel": "^4.1.0", | ||
"rollup-plugin-cleanup": "^3.0.0", | ||
"rollup-plugin-commonjs": "^9.2.0", | ||
"rollup-plugin-node-resolve": "^3.4.0", | ||
"rollup-plugin-node-resolve": "^4.0.0", | ||
"rollup-plugin-strip": "^1.2.0", | ||
"rollup-plugin-terser": "^3.0.0" | ||
} | ||
}, | ||
"gitHead": "7101106bf752c185421f50798c6d845ec34f67c5" | ||
} |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
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
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 2 instances in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1
27142
1
Updatedast-monkey-traverse@^1.4.2
Updatedlodash.isplainobject@^4.0.6
Updatedlodash.trim@^4.5.1