@pnpm/resolving.git-resolver 1100.1.17 → 1100.1.19

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 CHANGED
@@ -1,5 +1,24 @@
1
1
  # @pnpm/git-resolver
2
2
 
3
+ ## 1100.1.19
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies:
8
+ - @pnpm/network.fetch@1100.1.14
9
+ - @pnpm/resolving.resolver-base@1101.2.0
10
+
11
+ ## 1100.1.18
12
+
13
+ ### Patch Changes
14
+
15
+ - A git dependency installed over HTTPS from a hosted repository now keeps its branch, tag, or version range in the specifier recorded in `package.json`. It was written back without one, so the next `pnpm update` moved the dependency to the repository's default branch [#13999](https://github.com/pnpm/pnpm/issues/13999).
16
+
17
+ - Updated dependencies:
18
+ - @pnpm/error@1100.1.3
19
+ - @pnpm/network.fetch@1100.1.13
20
+ - @pnpm/resolving.resolver-base@1101.1.1
21
+
3
22
  ## 1100.1.17
4
23
 
5
24
  ### Patch Changes
@@ -83,7 +83,8 @@ async function fromHostedGit(hosted, dispatcherOptions) {
83
83
  _fill: hosted._fill,
84
84
  tarball: undefined,
85
85
  },
86
- normalizedBareSpecifier: `git+${httpsUrl}`,
86
+ // `httpsUrl` is the `ls-remote` target, so it carries no committish.
87
+ normalizedBareSpecifier: hosted.https(),
87
88
  ...parseGitParams(hosted.committish),
88
89
  };
89
90
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/resolving.git-resolver",
3
- "version": "1100.1.17",
3
+ "version": "1100.1.19",
4
4
  "description": "Resolver for git-hosted packages",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -29,16 +29,16 @@
29
29
  "!*.map"
30
30
  ],
31
31
  "dependencies": {
32
- "@pnpm/error": "1100.1.2",
33
- "@pnpm/network.fetch": "1100.1.12",
34
- "@pnpm/resolving.resolver-base": "1101.1.0",
32
+ "@pnpm/error": "1100.1.3",
33
+ "@pnpm/network.fetch": "1100.1.14",
34
+ "@pnpm/resolving.resolver-base": "1101.2.0",
35
35
  "execa": "npm:safe-execa@0.3.0",
36
36
  "hosted-git-info": "npm:@pnpm/hosted-git-info@1.0.0",
37
37
  "semver": "^7.8.5"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@jest/globals": "30.4.1",
41
- "@pnpm/resolving.git-resolver": "1100.1.17",
41
+ "@pnpm/resolving.git-resolver": "1100.1.19",
42
42
  "@types/hosted-git-info": "^3.0.5",
43
43
  "@types/is-windows": "^1.0.2",
44
44
  "@types/semver": "7.8.0",