@pnpm/resolving.git-resolver 1100.1.10 → 1100.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/lib/index.js +3 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @pnpm/git-resolver
|
|
2
2
|
|
|
3
|
+
## 1100.1.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Added GitHub Actions dependencies to `pnpm outdated` and interactive `pnpm update`. Non-interactive updates can include them with `--include-github-actions` or by setting `update.githubActions` to `true` in `pnpm-workspace.yaml`. Updated actions are pinned to exact commit hashes with their release tags preserved in comments.
|
|
8
|
+
|
|
9
|
+
- Updated dependencies:
|
|
10
|
+
- @pnpm/network.fetch@1100.1.7
|
|
11
|
+
- @pnpm/resolving.resolver-base@1100.5.3
|
|
12
|
+
|
|
3
13
|
## 1100.1.10
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/lib/index.js
CHANGED
|
@@ -89,7 +89,7 @@ export async function resolveLatestFromGit(query) {
|
|
|
89
89
|
function resolveVTags(vTags, range) {
|
|
90
90
|
return semver.maxSatisfying(vTags, range, true);
|
|
91
91
|
}
|
|
92
|
-
async function getRepoRefs(repo, ref) {
|
|
92
|
+
export async function getRepoRefs(repo, ref) {
|
|
93
93
|
const gitArgs = [repo];
|
|
94
94
|
if (ref) {
|
|
95
95
|
gitArgs.push(ref);
|
|
@@ -102,7 +102,8 @@ async function getRepoRefs(repo, ref) {
|
|
|
102
102
|
const refs = {};
|
|
103
103
|
for (const line of result.stdout.split('\n')) {
|
|
104
104
|
const [commit, refName] = line.split('\t');
|
|
105
|
-
|
|
105
|
+
if (commit && refName)
|
|
106
|
+
refs[refName] = commit;
|
|
106
107
|
}
|
|
107
108
|
return refs;
|
|
108
109
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/resolving.git-resolver",
|
|
3
|
-
"version": "1100.1.
|
|
3
|
+
"version": "1100.1.11",
|
|
4
4
|
"description": "Resolver for git-hosted packages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@pnpm/error": "1100.0.1",
|
|
33
|
-
"@pnpm/network.fetch": "1100.1.
|
|
34
|
-
"@pnpm/resolving.resolver-base": "1100.5.
|
|
33
|
+
"@pnpm/network.fetch": "1100.1.7",
|
|
34
|
+
"@pnpm/resolving.resolver-base": "1100.5.3",
|
|
35
35
|
"graceful-git": "^5.0.0",
|
|
36
36
|
"hosted-git-info": "npm:@pnpm/hosted-git-info@1.0.0",
|
|
37
37
|
"semver": "^7.8.4"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@jest/globals": "30.4.1",
|
|
41
|
-
"@pnpm/resolving.git-resolver": "1100.1.
|
|
41
|
+
"@pnpm/resolving.git-resolver": "1100.1.11",
|
|
42
42
|
"@types/hosted-git-info": "^3.0.5",
|
|
43
43
|
"@types/is-windows": "^1.0.2",
|
|
44
44
|
"@types/semver": "7.7.1",
|