@pnpm/git-resolver
Advanced tools
Comparing version 900.0.0 to 900.0.1
@@ -92,3 +92,3 @@ "use strict"; | ||
if (httpsUrl) { | ||
if (hosted.auth && await accessRepository(httpsUrl)) { | ||
if ((hosted.auth || !await isRepoPublic(httpsUrl)) && await accessRepository(httpsUrl)) { | ||
return { | ||
@@ -109,3 +109,3 @@ fetchSpec: httpsUrl, | ||
// use HTTP HEAD request to test whether this is a private repo, to avoid login prompt. | ||
// this is very similar to yarn's behavior. | ||
// this is very similar to yarn classic's behavior. | ||
// npm instead tries git ls-remote directly which prompts user for login credentials. | ||
@@ -112,0 +112,0 @@ // HTTP HEAD on https://domain/user/repo, strip out ".git" |
{ | ||
"name": "@pnpm/git-resolver", | ||
"version": "900.0.0", | ||
"version": "900.0.1", | ||
"description": "Resolver for git-hosted packages", | ||
@@ -30,4 +30,4 @@ "main": "lib/index.js", | ||
"semver": "^7.6.2", | ||
"@pnpm/resolver-base": "900.0.0", | ||
"@pnpm/fetch": "900.0.0" | ||
"@pnpm/fetch": "900.0.1", | ||
"@pnpm/resolver-base": "900.0.0" | ||
}, | ||
@@ -39,3 +39,3 @@ "devDependencies": { | ||
"is-windows": "^1.0.2", | ||
"@pnpm/git-resolver": "900.0.0" | ||
"@pnpm/git-resolver": "900.0.1" | ||
}, | ||
@@ -42,0 +42,0 @@ "funding": "https://opencollective.com/pnpm", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25881
+ Added@pnpm/core-loggers@900.1.0(transitive)
+ Added@pnpm/fetch@900.0.1(transitive)
- Removed@pnpm/core-loggers@900.0.0(transitive)
- Removed@pnpm/fetch@900.0.0(transitive)
Updated@pnpm/fetch@900.0.1