@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 • 1.78 kB
JSON
{"id":"uE9z","dependencies":[{"name":"/home/travis/build/dillonkearns/elm-graphql/package.json","includedInParent":true,"mtime":1558740283663},{"name":"/home/travis/build/dillonkearns/elm-graphql/node_modules/fs-extra/package.json","includedInParent":true,"mtime":499162500000},{"name":"graceful-fs","loc":{"line":4,"column":19},"parent":"/home/travis/build/dillonkearns/elm-graphql/node_modules/fs-extra/lib/ensure/symlink-paths.js","resolved":"/home/travis/build/dillonkearns/elm-graphql/node_modules/graceful-fs/graceful-fs.js"},{"name":"../path-exists","loc":{"line":5,"column":27},"parent":"/home/travis/build/dillonkearns/elm-graphql/node_modules/fs-extra/lib/ensure/symlink-paths.js","resolved":"/home/travis/build/dillonkearns/elm-graphql/node_modules/fs-extra/lib/path-exists/index.js"}],"generated":{"js":"\"use strict\";const t=require(\"path\"),e=require(\"graceful-fs\"),s=require(\"../path-exists\").pathExists;function r(r,n,o){if(t.isAbsolute(r))return e.lstat(r,t=>t?(t.message=t.message.replace(\"lstat\",\"ensureSymlink\"),o(t)):o(null,{toCwd:r,toDst:r}));{const i=t.dirname(n),l=t.join(i,r);return s(l,(s,n)=>s?o(s):n?o(null,{toCwd:l,toDst:r}):e.lstat(r,e=>e?(e.message=e.message.replace(\"lstat\",\"ensureSymlink\"),o(e)):o(null,{toCwd:r,toDst:t.relative(i,r)})))}}function n(s,r){let n;if(t.isAbsolute(s)){if(!(n=e.existsSync(s)))throw new Error(\"absolute srcpath does not exist\");return{toCwd:s,toDst:s}}{const o=t.dirname(r),i=t.join(o,s);if(n=e.existsSync(i))return{toCwd:i,toDst:s};if(!(n=e.existsSync(s)))throw new Error(\"relative srcpath does not exist\");return{toCwd:s,toDst:t.relative(o,s)}}}module.exports={symlinkPaths:r,symlinkPathsSync:n};"},"sourceMaps":null,"error":null,"hash":"bce1c9f863111c6abc907e7b295ae9c8","cacheData":{"env":{}}}