pacote
pacote copied to clipboard
programmatic npm package and metadata downloader (moved!)
The git fetcher goes wrong if `opts.uid` is used to drop privileges, which `npm` does by default when running under `sudo`. Reproduction steps: * Construct a clean environment where you...
Ref: https://github.com/npm/npm/issues/16898#issuecomment-307251467 Gotta try relevant hosts and make sure all the hosted ones are able to do shallow clones like these. :\
First sorry for a third issue of the same problem... #### The problem I found the JSON from **API:Objects:Version** (`GET·/{package}/{version}`) of my recent published package all have a `_from` key...
I'm running the following code and it crashes at `lib\fetchers\git.js:59` because `cacheStream` is `undefined` ``` require('pacote').manifest('git+http://local-git:7990/server.git#semver:^2.0.0').then(wow => { log(wow) }) ```
Currently, pacote has [disabled integrity](https://github.com/zkat/pacote/blob/latest/lib/fetchers/git.js#L115) for git repos, which causes npm to [re-download then uninstall every git dependency on specific-package installs](https://github.com/npm/npm/issues/17379#issuecomment-354620986). This makes npm@5 extremely painful for in-house development. This...
Right now, pacote is swallowing all stderr output from the git subprocesses. We should really pick that up and either included in the error message, or log it to stderr.
When I run npm install in [preact-cli](https://github.com/developit/preact-cli), I was getting the following error: ``` verbose stack SyntaxError: Unexpected end of input at 1:51497 verbose stack 3","cookie":"0.0.3","crc":"0.2.0","fresh":"0.1.0","methods":"0.0.1"," verbose stack ^ verbose...
git is the last missing piece of the offline puzzle. We don't really do anything, afaict, to make sure the network isn't hit for git stuff :\ Since I consider...
It'd be really nice if pacote were able to detect when the git subcommand was trying to prompt the user and format that in a more useful way than it...
Some days ago on twitter https://twitter.com/serapath/status/856908380731916288 Now I just stumbled upon the module. It seems it currently does not work in the browser, but if it would, that would be...