Age | Commit message (Collapse) | Author |
|
|
|
|
|
* feat: Support Sourcehut
|
|
We bundle our deps, but we don't need to bundle docs, changelogs,
editorconfigs, test coverage reports, .github workflow definitions,
lint configurations, and all the rest, which we never use.
This cuts about 10% off of our publish artifact file size.
```
$ ls -laF npm-7.16.0-*.tgz
-rw-r--r-- 1 isaacs staff 7174497 Jun 3 13:01 npm-7.16.0-release-next.tgz
-rw-r--r-- 1 isaacs staff 6782377 Jun 3 13:00 npm-7.16.0-trim-node-modules.tgz
$ ls -laF npm-7.16.0-*.tar
-rw-r--r-- 1 isaacs staff 19020288 Jun 3 13:01 npm-7.16.0-release-next.tar
-rw-r--r-- 1 isaacs staff 17474048 Jun 3 13:00 npm-7.16.0-trim-node-modules.tar
```
PR-URL: https://github.com/npm/cli/pull/3362
Credit: @isaacs
Close: #3362
Reviewed-by: @nlf
|
|
|
|
|
|
|
|
|
|
|
|
First self-install!
|
|
Reinstall everything from a clean node_modules and package-lock.json
state.
Re-generate list of bundleDependencies and node_modules/.gitignore with
a script that does the right thing based on actual dependency state.
|
|
This removes a lot of very outdated dependencies, updates many to
their modern (usually promisified) versions, and updates (or removes)
code to account for the change.
Several dependencies have been completely removed, and others a bit
shuffled around, so that the node_modules folder can be bundled somewhat
more optimally than it would have otherwise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FEATURES
* [bbcf7b2](https://github.com/npm/hosted-git-info/commit/bbcf7b2d4090bc75bb8501aa40450bb0e8496787)
[#46](https://github.com/npm/hosted-git-info/issues/46)
[#43](https://github.com/npm/hosted-git-info/issues/43)
[#47](https://github.com/npm/hosted-git-info/pull/47)
[#44](https://github.com/npm/hosted-git-info/pull/44) Add support for
GitLab groups and subgroups ([@mterrel](https://github.com/mterrel),
[@isaacs](https://github.com/isaacs),
[@ybiquitous](https://github.com/ybiquitous))
BUGFIXES
* ([3b1d629](https://github.com/npm/hosted-git-info/commit/3b1d629))
[#48](https://github.com/npm/hosted-git-info/issues/48) fix http protocol
using sshurl by default ([@fengmk2](https://github.com/fengmk2))
* [5d4a8d7](https://github.com/npm/hosted-git-info/commit/5d4a8d7) ignore
noCommittish on tarball url generation
([@isaacs](https://github.com/isaacs))
* [1692435](https://github.com/npm/hosted-git-info/commit/1692435) use gist
tarball url that works for anonymous gists
([@isaacs](https://github.com/isaacs))
* [d5cf830](https://github.com/npm/hosted-git-info/commit/d5cf8309be7af884032616c63ea302ce49dd321c)
* Do not allow invalid gist urls ([@isaacs](https://github.com/isaacs))
* [e518222](https://github.com/npm/hosted-git-info/commit/e5182224351183ce619dd5ef00019ae700ed37b7)
Use LRU cache to prevent unbounded memory consumption
([@iarna](https://github.com/iarna))
|
|
Fixes: https://github.com/npm/hosted-git-info/pull/34
Fixes: https://github.com/npm/hosted-git-info/issues/32
Fixes: https://github.com/npm/hosted-git-info/issues/35
Credit: @iarna
Credit: @Erveon
Credit: @huochunpeng
|
|
|
|
Credit: @zkat
|
|
|
|
|
|
|
|
Fix a bug in handling scp style URLs, eg git+https://github.com:foo/repo.git#master
Credit: @iarna
|
|
* Match git URLs with trailing slashes.
* Certain classes of invalid URLs no longer crash.
* Preserve case of the user name part of shortcut specifiers, previously
they were lowercased.
Fixes: https://github.com/npm/hosted-git-info/issues/15
Fixes: https://github.com/npm/hosted-git-info/issues/16
Credit: @iarna
|
|
Add support for `.tarball()` URLs.
PR-URL: https://github.com/npm/hosted-git-info/pull/21
Credit: @zkat
Reviewed-By: @iarna
|
|
|
|
Restore the ability to do one-shot upgrades from the versions of npm
bundled with Node 0.8 to npm@3, which simplifies using Travis with old
Node and new npm, for compatibility testing purposes. Older versions of
npm repack packages on install, which works poorly with the way npm@3
handles bundledDependencies with flat trees.
Fixes: #9668
PR-URL: https://github.com/npm/npm/pull/9981
|
|
|
|
|
|
`git+https:` and `git+http:` are authed protocols.
|
|
Support round-tripping gist: shortcuts. gist: shorthand gets normalized
to remove the username (because all you need is the ID to clone). This
confuses url.parse(), which is used to parse out the git URL.
|
|
Add support for auth embedded directly in Git URLs.
|
|
|
|
Use `hosted-git-info` directly to ensure that all GitHub URLs are being
run through the same cloning strategy for caching. Fixes #7630.
|