isomorphic-git 1.24.1 โ 1.24.3
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/README.md +2 -1
- package/browser-tests.json +3 -2
- package/index.cjs +11 -3
- package/index.js +11 -3
- package/index.umd.min.js +2 -2
- package/index.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/size_report.html +1 -1
package/README.md
CHANGED
|
@@ -298,7 +298,7 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
|
|
|
298
298
|
<td align="center"><a href="https://daniel-ruf.de"><img src="https://avatars1.githubusercontent.com/u/827205?v=4&s=60?s=60" width="60px;" alt=""/><br /><sub><b>Daniel Ruf</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=DanielRuf" title="Code">๐ป</a></td>
|
|
299
299
|
<td align="center"><a href="http://blog.bokuweb.me/"><img src="https://avatars0.githubusercontent.com/u/10220449?v=4&s=60?s=60" width="60px;" alt=""/><br /><sub><b>bokuweb</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=bokuweb" title="Code">๐ป</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=bokuweb" title="Documentation">๐</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=bokuweb" title="Tests">โ ๏ธ</a></td>
|
|
300
300
|
<td align="center"><a href="https://github.com/hirokiosame"><img src="https://avatars0.githubusercontent.com/u/1075694?v=4&s=60?s=60" width="60px;" alt=""/><br /><sub><b>Hiroki Osame</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=hirokiosame" title="Code">๐ป</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=hirokiosame" title="Documentation">๐</a></td>
|
|
301
|
-
<td align="center"><a href="
|
|
301
|
+
<td align="center"><a href="http://jcubic.pl/me"><img src="https://avatars1.githubusercontent.com/u/280241?v=4&s=60?s=60" width="60px;" alt=""/><br /><sub><b>Jakub Jankiewicz</b></sub></a><br /><a href="#question-jcubic" title="Answering Questions">๐ฌ</a> <a href="https://github.com/isomorphic-git/isomorphic-git/issues?q=author%3Ajcubic" title="Bug reports">๐</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=jcubic" title="Code">๐ป</a> <a href="#example-jcubic" title="Examples">๐ก</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=jcubic" title="Tests">โ ๏ธ</a></td>
|
|
302
302
|
</tr>
|
|
303
303
|
<tr>
|
|
304
304
|
<td align="center"><a href="https://github.com/howardgod"><img src="https://avatars1.githubusercontent.com/u/10459637?v=4&s=60?s=60" width="60px;" alt=""/><br /><sub><b>howardgod</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/issues?q=author%3Ahowardgod" title="Bug reports">๐</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=howardgod" title="Code">๐ป</a></td>
|
|
@@ -361,6 +361,7 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
|
|
|
361
361
|
<td align="center"><a href="https://gitlab.com/CoalZombik/"><img src="https://avatars.githubusercontent.com/u/49895741?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Lukรกลก Cezner</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/issues?q=author%3ACoalZombik" title="Bug reports">๐</a></td>
|
|
362
362
|
<td align="center"><a href="https://github.com/dead-end"><img src="https://avatars.githubusercontent.com/u/30635084?v=4?s=60" width="60px;" alt=""/><br /><sub><b>dead-end</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=dead-end" title="Code">๐ป</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=dead-end" title="Documentation">๐</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=dead-end" title="Tests">โ ๏ธ</a></td>
|
|
363
363
|
<td align="center"><a href="https://github.com/barry963"><img src="https://avatars.githubusercontent.com/u/5289896?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Barry</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=barry963" title="Code">๐ป</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=barry963" title="Documentation">๐</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=barry963" title="Tests">โ ๏ธ</a></td>
|
|
364
|
+
<td align="center"><a href="https://stackoverflow.com/users/1493081/alireza-mirian"><img src="https://avatars.githubusercontent.com/u/3150694?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Alireza Mirian</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=alirezamirian" title="Code">๐ป</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=alirezamirian" title="Documentation">๐</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=alirezamirian" title="Tests">โ ๏ธ</a> <a href="https://github.com/isomorphic-git/isomorphic-git/issues?q=author%3Aalirezamirian" title="Bug reports">๐</a></td>
|
|
364
365
|
</tr>
|
|
365
366
|
</table>
|
|
366
367
|
|
package/browser-tests.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
[
|
|
2
2
|
"Chrome Headless 79.0.3945.0 (Linux x86_64)",
|
|
3
|
-
"Firefox
|
|
4
|
-
"X Chrome 111.0.0.0 (Android 10)",
|
|
3
|
+
"X Firefox 115.0 (Ubuntu 0.0.0)",
|
|
5
4
|
"Edge 79.0.309.65 (Windows 10)",
|
|
6
5
|
"Safari 13.1 (Mac OS 10.15.4)",
|
|
7
6
|
"Mobile Safari 13.0 (iOS 13.0)",
|
|
7
|
+
"X Chrome 111.0.0.0 (Android 10)",
|
|
8
8
|
"Chrome Headless 79.0.3945.0 (Linux x86_64)",
|
|
9
|
+
"Firefox 115.0 (Ubuntu 0.0.0)",
|
|
9
10
|
"Chrome 111.0.0.0 (Android 10)"
|
|
10
11
|
]
|
package/index.cjs
CHANGED
|
@@ -7301,8 +7301,8 @@ function filterCapabilities(server, client) {
|
|
|
7301
7301
|
|
|
7302
7302
|
const pkg = {
|
|
7303
7303
|
name: 'isomorphic-git',
|
|
7304
|
-
version: '1.24.
|
|
7305
|
-
agent: 'git/isomorphic-git@1.24.
|
|
7304
|
+
version: '1.24.3',
|
|
7305
|
+
agent: 'git/isomorphic-git@1.24.3',
|
|
7306
7306
|
};
|
|
7307
7307
|
|
|
7308
7308
|
class FIFO {
|
|
@@ -8388,6 +8388,7 @@ async function currentBranch({
|
|
|
8388
8388
|
* @returns {Promise<void>}
|
|
8389
8389
|
*/
|
|
8390
8390
|
async function _deleteBranch({ fs, gitdir, ref }) {
|
|
8391
|
+
ref = ref.startsWith('refs/heads/') ? ref : `refs/heads/${ref}`;
|
|
8391
8392
|
const exist = await GitRefManager.exists({ fs, gitdir, ref });
|
|
8392
8393
|
if (!exist) {
|
|
8393
8394
|
throw new NotFoundError(ref)
|
|
@@ -13224,7 +13225,14 @@ async function _renameBranch({
|
|
|
13224
13225
|
await GitRefManager.writeRef({ fs, gitdir, ref: fullnewref, value });
|
|
13225
13226
|
await GitRefManager.deleteRef({ fs, gitdir, ref: fulloldref });
|
|
13226
13227
|
|
|
13227
|
-
|
|
13228
|
+
const fullCurrentBranchRef = await _currentBranch({
|
|
13229
|
+
fs,
|
|
13230
|
+
gitdir,
|
|
13231
|
+
fullname: true,
|
|
13232
|
+
});
|
|
13233
|
+
const isCurrentBranch = fullCurrentBranchRef === fulloldref;
|
|
13234
|
+
|
|
13235
|
+
if (checkout || isCurrentBranch) {
|
|
13228
13236
|
// Update HEAD
|
|
13229
13237
|
await GitRefManager.writeSymbolicRef({
|
|
13230
13238
|
fs,
|
package/index.js
CHANGED
|
@@ -7295,8 +7295,8 @@ function filterCapabilities(server, client) {
|
|
|
7295
7295
|
|
|
7296
7296
|
const pkg = {
|
|
7297
7297
|
name: 'isomorphic-git',
|
|
7298
|
-
version: '1.24.
|
|
7299
|
-
agent: 'git/isomorphic-git@1.24.
|
|
7298
|
+
version: '1.24.3',
|
|
7299
|
+
agent: 'git/isomorphic-git@1.24.3',
|
|
7300
7300
|
};
|
|
7301
7301
|
|
|
7302
7302
|
class FIFO {
|
|
@@ -8382,6 +8382,7 @@ async function currentBranch({
|
|
|
8382
8382
|
* @returns {Promise<void>}
|
|
8383
8383
|
*/
|
|
8384
8384
|
async function _deleteBranch({ fs, gitdir, ref }) {
|
|
8385
|
+
ref = ref.startsWith('refs/heads/') ? ref : `refs/heads/${ref}`;
|
|
8385
8386
|
const exist = await GitRefManager.exists({ fs, gitdir, ref });
|
|
8386
8387
|
if (!exist) {
|
|
8387
8388
|
throw new NotFoundError(ref)
|
|
@@ -13218,7 +13219,14 @@ async function _renameBranch({
|
|
|
13218
13219
|
await GitRefManager.writeRef({ fs, gitdir, ref: fullnewref, value });
|
|
13219
13220
|
await GitRefManager.deleteRef({ fs, gitdir, ref: fulloldref });
|
|
13220
13221
|
|
|
13221
|
-
|
|
13222
|
+
const fullCurrentBranchRef = await _currentBranch({
|
|
13223
|
+
fs,
|
|
13224
|
+
gitdir,
|
|
13225
|
+
fullname: true,
|
|
13226
|
+
});
|
|
13227
|
+
const isCurrentBranch = fullCurrentBranchRef === fulloldref;
|
|
13228
|
+
|
|
13229
|
+
if (checkout || isCurrentBranch) {
|
|
13222
13230
|
// Update HEAD
|
|
13223
13231
|
await GitRefManager.writeSymbolicRef({
|
|
13224
13232
|
fs,
|