isomorphic-git 1.30.1 โ 1.30.2
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 -5
- package/index.cjs +22 -2
- package/index.js +22 -2
- package/index.umd.min.js +1 -1
- package/index.umd.min.js.map +1 -1
- package/package.json +2 -3
- package/size_report.html +1 -1
package/README.md
CHANGED
|
@@ -357,7 +357,7 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
|
|
|
357
357
|
<td align="center"><a href="https://www.platformdemos.com/"><img src="https://avatars.githubusercontent.com/u/4261788?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Shane McLaughlin</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=mshanemc" title="Code">๐ป</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=mshanemc" title="Documentation">๐</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=mshanemc" title="Tests">โ ๏ธ</a></td>
|
|
358
358
|
</tr>
|
|
359
359
|
<tr>
|
|
360
|
-
<td align="center"><a href="https://github.com/seanpoulter"><img src="https://avatars.githubusercontent.com/u/2585460?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Sean Poulter</b></sub></a><br /><a href="#maintenance-seanpoulter" title="Maintenance">๐ง</a></td>
|
|
360
|
+
<td align="center"><a href="https://github.com/seanpoulter"><img src="https://avatars.githubusercontent.com/u/2585460?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Sean Poulter</b></sub></a><br /><a href="#maintenance-seanpoulter" title="Maintenance">๐ง</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=seanpoulter" title="Code">๐ป</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=seanpoulter" title="Documentation">๐</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=seanpoulter" title="Tests">โ ๏ธ</a></td>
|
|
361
361
|
<td align="center"><a href="https://github.com/araknast"><img src="https://avatars.githubusercontent.com/u/84164531?v=4?s=60" width="60px;" alt=""/><br /><sub><b>araknast</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=araknast" title="Code">๐ป</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=araknast" title="Tests">โ ๏ธ</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=araknast" title="Documentation">๐</a></td>
|
|
362
362
|
<td align="center"><a href="https://github.com/rraab-dev"><img src="https://avatars.githubusercontent.com/u/53948988?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Rafael Raab</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=rraab-dev" title="Code">๐ป</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=rraab-dev" title="Documentation">๐</a></td>
|
|
363
363
|
<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/commits?author=CoalZombik" title="Code">๐ป</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=CoalZombik" title="Documentation">๐</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=CoalZombik" title="Tests">โ ๏ธ</a> <a href="https://github.com/isomorphic-git/isomorphic-git/issues?q=author%3ACoalZombik" title="Bug reports">๐</a></td>
|
|
@@ -385,6 +385,7 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
|
|
|
385
385
|
</tr>
|
|
386
386
|
<tr>
|
|
387
387
|
<td align="center"><a href="https://github.com/lukecotter"><img src="https://avatars.githubusercontent.com/u/4013877?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Luke Cotter</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=lukecotter" title="Code">๐ป</a></td>
|
|
388
|
+
<td align="center"><a href="https://github.com/kofta999"><img src="https://avatars.githubusercontent.com/u/99273340?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Mostafa Mahmoud</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=kofta999" title="Code">๐ป</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=kofta999" title="Tests">โ ๏ธ</a> <a href="#question-kofta999" title="Answering Questions">๐ฌ</a></td>
|
|
388
389
|
</tr>
|
|
389
390
|
</table>
|
|
390
391
|
|
package/browser-tests.json
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
[
|
|
2
2
|
"Chrome Headless 79.0.3945.0 (Linux x86_64)",
|
|
3
|
-
"Firefox
|
|
4
|
-
"
|
|
3
|
+
"Firefox 138.0 (Ubuntu 0.0.0)",
|
|
4
|
+
"Chrome 135.0.0.0 (Android 10)",
|
|
5
5
|
"Edge 79.0.309.65 (Windows 10)",
|
|
6
6
|
"Mobile Safari 14.0 (iOS 14.0.1)",
|
|
7
|
-
"Safari 14.1 (Mac OS 10.15.7)"
|
|
8
|
-
"Chrome Headless 79.0.3945.0 (Linux x86_64)",
|
|
9
|
-
"Chrome 128.0.0.0 (Android 10)"
|
|
7
|
+
"Safari 14.1 (Mac OS 10.15.7)"
|
|
10
8
|
]
|
package/index.cjs
CHANGED
|
@@ -7644,8 +7644,8 @@ function filterCapabilities(server, client) {
|
|
|
7644
7644
|
|
|
7645
7645
|
const pkg = {
|
|
7646
7646
|
name: 'isomorphic-git',
|
|
7647
|
-
version: '1.30.
|
|
7648
|
-
agent: 'git/isomorphic-git@1.30.
|
|
7647
|
+
version: '1.30.2',
|
|
7648
|
+
agent: 'git/isomorphic-git@1.30.2',
|
|
7649
7649
|
};
|
|
7650
7650
|
|
|
7651
7651
|
class FIFO {
|
|
@@ -9253,6 +9253,16 @@ async function mergeTree({
|
|
|
9253
9253
|
}
|
|
9254
9254
|
}
|
|
9255
9255
|
case 'false-true': {
|
|
9256
|
+
// if directory is deleted in theirs but not in ours we return our directory
|
|
9257
|
+
if (!theirs && (await ours.type()) === 'tree') {
|
|
9258
|
+
return {
|
|
9259
|
+
mode: await ours.mode(),
|
|
9260
|
+
path,
|
|
9261
|
+
oid: await ours.oid(),
|
|
9262
|
+
type: await ours.type(),
|
|
9263
|
+
}
|
|
9264
|
+
}
|
|
9265
|
+
|
|
9256
9266
|
return theirs
|
|
9257
9267
|
? {
|
|
9258
9268
|
mode: await theirs.mode(),
|
|
@@ -9263,6 +9273,16 @@ async function mergeTree({
|
|
|
9263
9273
|
: undefined
|
|
9264
9274
|
}
|
|
9265
9275
|
case 'true-false': {
|
|
9276
|
+
// if directory is deleted in ours but not in theirs we return their directory
|
|
9277
|
+
if (!ours && (await theirs.type()) === 'tree') {
|
|
9278
|
+
return {
|
|
9279
|
+
mode: await theirs.mode(),
|
|
9280
|
+
path,
|
|
9281
|
+
oid: await theirs.oid(),
|
|
9282
|
+
type: await theirs.type(),
|
|
9283
|
+
}
|
|
9284
|
+
}
|
|
9285
|
+
|
|
9266
9286
|
return ours
|
|
9267
9287
|
? {
|
|
9268
9288
|
mode: await ours.mode(),
|
package/index.js
CHANGED
|
@@ -7638,8 +7638,8 @@ function filterCapabilities(server, client) {
|
|
|
7638
7638
|
|
|
7639
7639
|
const pkg = {
|
|
7640
7640
|
name: 'isomorphic-git',
|
|
7641
|
-
version: '1.30.
|
|
7642
|
-
agent: 'git/isomorphic-git@1.30.
|
|
7641
|
+
version: '1.30.2',
|
|
7642
|
+
agent: 'git/isomorphic-git@1.30.2',
|
|
7643
7643
|
};
|
|
7644
7644
|
|
|
7645
7645
|
class FIFO {
|
|
@@ -9247,6 +9247,16 @@ async function mergeTree({
|
|
|
9247
9247
|
}
|
|
9248
9248
|
}
|
|
9249
9249
|
case 'false-true': {
|
|
9250
|
+
// if directory is deleted in theirs but not in ours we return our directory
|
|
9251
|
+
if (!theirs && (await ours.type()) === 'tree') {
|
|
9252
|
+
return {
|
|
9253
|
+
mode: await ours.mode(),
|
|
9254
|
+
path,
|
|
9255
|
+
oid: await ours.oid(),
|
|
9256
|
+
type: await ours.type(),
|
|
9257
|
+
}
|
|
9258
|
+
}
|
|
9259
|
+
|
|
9250
9260
|
return theirs
|
|
9251
9261
|
? {
|
|
9252
9262
|
mode: await theirs.mode(),
|
|
@@ -9257,6 +9267,16 @@ async function mergeTree({
|
|
|
9257
9267
|
: undefined
|
|
9258
9268
|
}
|
|
9259
9269
|
case 'true-false': {
|
|
9270
|
+
// if directory is deleted in ours but not in theirs we return their directory
|
|
9271
|
+
if (!ours && (await theirs.type()) === 'tree') {
|
|
9272
|
+
return {
|
|
9273
|
+
mode: await theirs.mode(),
|
|
9274
|
+
path,
|
|
9275
|
+
oid: await theirs.oid(),
|
|
9276
|
+
type: await theirs.type(),
|
|
9277
|
+
}
|
|
9278
|
+
}
|
|
9279
|
+
|
|
9260
9280
|
return ours
|
|
9261
9281
|
? {
|
|
9262
9282
|
mode: await ours.mode(),
|