@dillonkearns/elm-graphql
Version:
<img src="https://cdn.jsdelivr.net/gh/martimatix/logo-graphqelm/logo.svg" alt="dillonearns/elm-graphql logo" width="40%" align="right">
1 lines • 6.76 kB
JSON
{"id":"DDHi","dependencies":[{"name":"/home/travis/build/dillonkearns/elm-graphql/package.json","includedInParent":true,"mtime":1558740283663},{"name":"/home/travis/build/dillonkearns/elm-graphql/node_modules/glob/package.json","includedInParent":true,"mtime":499162500000},{"name":"fs.realpath","loc":{"line":5,"column":17},"parent":"/home/travis/build/dillonkearns/elm-graphql/node_modules/glob/sync.js","resolved":"/home/travis/build/dillonkearns/elm-graphql/node_modules/fs.realpath/index.js"},{"name":"minimatch","loc":{"line":6,"column":24},"parent":"/home/travis/build/dillonkearns/elm-graphql/node_modules/glob/sync.js","resolved":"/home/travis/build/dillonkearns/elm-graphql/node_modules/minimatch/minimatch.js"},{"name":"./glob.js","loc":{"line":8,"column":19},"parent":"/home/travis/build/dillonkearns/elm-graphql/node_modules/glob/sync.js","resolved":"/home/travis/build/dillonkearns/elm-graphql/node_modules/glob/glob.js"},{"name":"path-is-absolute","loc":{"line":12,"column":25},"parent":"/home/travis/build/dillonkearns/elm-graphql/node_modules/glob/sync.js","resolved":"/home/travis/build/dillonkearns/elm-graphql/node_modules/path-is-absolute/index.js"},{"name":"./common.js","loc":{"line":13,"column":21},"parent":"/home/travis/build/dillonkearns/elm-graphql/node_modules/glob/sync.js","resolved":"/home/travis/build/dillonkearns/elm-graphql/node_modules/glob/common.js"}],"generated":{"js":"module.exports=y,y.GlobSync=_;var t=require(\"fs\"),r=require(\"fs.realpath\"),i=require(\"minimatch\"),s=i.Minimatch,e=require(\"./glob.js\").Glob,a=require(\"util\"),h=require(\"path\"),c=require(\"assert\"),o=require(\"path-is-absolute\"),n=require(\"./common.js\"),l=n.alphasort,f=n.alphasorti,u=n.setopts,p=n.ownProp,d=n.childrenIgnored,m=n.isIgnored;function y(t,r){if(\"function\"==typeof r||3===arguments.length)throw new TypeError(\"callback provided to sync glob\\nSee: https://github.com/isaacs/node-glob/issues/167\");return new _(t,r).found}function _(t,r){if(!t)throw new Error(\"must provide pattern\");if(\"function\"==typeof r||3===arguments.length)throw new TypeError(\"callback provided to sync glob\\nSee: https://github.com/isaacs/node-glob/issues/167\");if(!(this instanceof _))return new _(t,r);if(u(this,t,r),this.noprocess)return this;var i=this.minimatch.set.length;this.matches=new Array(i);for(var s=0;s<i;s++)this._process(this.minimatch.set[s],s,!1);this._finish()}_.prototype._finish=function(){if(c(this instanceof _),this.realpath){var t=this;this.matches.forEach(function(i,s){var e=t.matches[s]=Object.create(null);for(var a in i)try{a=t._makeAbs(a),e[r.realpathSync(a,t.realpathCache)]=!0}catch(h){if(\"stat\"!==h.syscall)throw h;e[t._makeAbs(a)]=!0}})}n.finish(this)},_.prototype._process=function(t,r,s){c(this instanceof _);for(var e,a=0;\"string\"==typeof t[a];)a++;switch(a){case t.length:return void this._processSimple(t.join(\"/\"),r);case 0:e=null;break;default:e=t.slice(0,a).join(\"/\")}var h,n=t.slice(a);null===e?h=\".\":o(e)||o(t.join(\"/\"))?(e&&o(e)||(e=\"/\"+e),h=e):h=e;var l=this._makeAbs(h);d(this,h)||(n[0]===i.GLOBSTAR?this._processGlobStar(e,h,l,n,r,s):this._processReaddir(e,h,l,n,r,s))},_.prototype._processReaddir=function(t,r,i,s,e,a){var c=this._readdir(i,a);if(c){for(var o=s[0],n=!!this.minimatch.negate,l=o._glob,f=this.dot||\".\"===l.charAt(0),u=[],p=0;p<c.length;p++){if(\".\"!==(y=c[p]).charAt(0)||f)(n&&!t?!y.match(o):y.match(o))&&u.push(y)}var d=u.length;if(0!==d)if(1!==s.length||this.mark||this.stat){s.shift();for(p=0;p<d;p++){var m;y=u[p];m=t?[t,y]:[y],this._process(m.concat(s),e,a)}}else{this.matches[e]||(this.matches[e]=Object.create(null));for(var p=0;p<d;p++){var y=u[p];t&&(y=\"/\"!==t.slice(-1)?t+\"/\"+y:t+y),\"/\"!==y.charAt(0)||this.nomount||(y=h.join(this.root,y)),this._emitMatch(e,y)}}}},_.prototype._emitMatch=function(t,r){if(!m(this,r)){var i=this._makeAbs(r);if(this.mark&&(r=this._mark(r)),this.absolute&&(r=i),!this.matches[t][r]){if(this.nodir){var s=this.cache[i];if(\"DIR\"===s||Array.isArray(s))return}this.matches[t][r]=!0,this.stat&&this._stat(r)}}},_.prototype._readdirInGlobStar=function(r){if(this.follow)return this._readdir(r,!1);var i,s;try{s=t.lstatSync(r)}catch(a){if(\"ENOENT\"===a.code)return null}var e=s&&s.isSymbolicLink();return this.symlinks[r]=e,e||!s||s.isDirectory()?i=this._readdir(r,!1):this.cache[r]=\"FILE\",i},_.prototype._readdir=function(r,i){if(i&&!p(this.symlinks,r))return this._readdirInGlobStar(r);if(p(this.cache,r)){var s=this.cache[r];if(!s||\"FILE\"===s)return null;if(Array.isArray(s))return s}try{return this._readdirEntries(r,t.readdirSync(r))}catch(e){return this._readdirError(r,e),null}},_.prototype._readdirEntries=function(t,r){if(!this.mark&&!this.stat)for(var i=0;i<r.length;i++){var s=r[i];s=\"/\"===t?t+s:t+\"/\"+s,this.cache[s]=!0}return this.cache[t]=r,r},_.prototype._readdirError=function(t,r){switch(r.code){case\"ENOTSUP\":case\"ENOTDIR\":var i=this._makeAbs(t);if(this.cache[i]=\"FILE\",i===this.cwdAbs){var s=new Error(r.code+\" invalid cwd \"+this.cwd);throw s.path=this.cwd,s.code=r.code,s}break;case\"ENOENT\":case\"ELOOP\":case\"ENAMETOOLONG\":case\"UNKNOWN\":this.cache[this._makeAbs(t)]=!1;break;default:if(this.cache[this._makeAbs(t)]=!1,this.strict)throw r;this.silent||console.error(\"glob error\",r)}},_.prototype._processGlobStar=function(t,r,i,s,e,a){var h=this._readdir(i,a);if(h){var c=s.slice(1),o=t?[t]:[],n=o.concat(c);this._process(n,e,!1);var l=h.length;if(!this.symlinks[i]||!a)for(var f=0;f<l;f++){if(\".\"!==h[f].charAt(0)||this.dot){var u=o.concat(h[f],c);this._process(u,e,!0);var p=o.concat(h[f],s);this._process(p,e,!0)}}}},_.prototype._processSimple=function(t,r){var i=this._stat(t);if(this.matches[r]||(this.matches[r]=Object.create(null)),i){if(t&&o(t)&&!this.nomount){var s=/[\\/\\\\]$/.test(t);\"/\"===t.charAt(0)?t=h.join(this.root,t):(t=h.resolve(this.root,t),s&&(t+=\"/\"))}\"win32\"===process.platform&&(t=t.replace(/\\\\/g,\"/\")),this._emitMatch(r,t)}},_.prototype._stat=function(r){var i=this._makeAbs(r),s=\"/\"===r.slice(-1);if(r.length>this.maxLength)return!1;if(!this.stat&&p(this.cache,i)){var e=this.cache[i];if(Array.isArray(e)&&(e=\"DIR\"),!s||\"DIR\"===e)return e;if(s&&\"FILE\"===e)return!1}var a=this.statCache[i];if(!a){var h;try{h=t.lstatSync(i)}catch(c){if(c&&(\"ENOENT\"===c.code||\"ENOTDIR\"===c.code))return this.statCache[i]=!1,!1}if(h&&h.isSymbolicLink())try{a=t.statSync(i)}catch(c){a=h}else a=h}this.statCache[i]=a;e=!0;return a&&(e=a.isDirectory()?\"DIR\":\"FILE\"),this.cache[i]=this.cache[i]||e,(!s||\"FILE\"!==e)&&e},_.prototype._mark=function(t){return n.mark(this,t)},_.prototype._makeAbs=function(t){return n.makeAbs(this,t)};"},"sourceMaps":null,"error":null,"hash":"3f2b598f6e155c50e2d5a5745694c0f2","cacheData":{"env":{}}}