![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/.nvm/versions/node/v20.18.0/lib/node_modules/npm/node_modules/pacote/lib/ |
const { get } = require('./fetcher.js') const GitFetcher = require('./git.js') const RegistryFetcher = require('./registry.js') const FileFetcher = require('./file.js') const DirFetcher = require('./dir.js') const RemoteFetcher = require('./remote.js') const tarball = (spec, opts) => get(spec, opts).tarball() tarball.stream = (spec, handler, opts) => get(spec, opts).tarballStream(handler) tarball.file = (spec, dest, opts) => get(spec, opts).tarballFile(dest) module.exports = { GitFetcher, RegistryFetcher, FileFetcher, DirFetcher, RemoteFetcher, resolve: (spec, opts) => get(spec, opts).resolve(), extract: (spec, dest, opts) => get(spec, opts).extract(dest), manifest: (spec, opts) => get(spec, opts).manifest(), packument: (spec, opts) => get(spec, opts).packument(), tarball, }