isomorphic-git 1.10.2 → 1.10.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/browser-tests.json +4 -4
- 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/browser-tests.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
[
|
|
2
2
|
"HeadlessChrome 0.0.0 (Linux 0.0.0)",
|
|
3
|
-
"Firefox
|
|
4
|
-
"
|
|
3
|
+
"Firefox 95.0.0 (Ubuntu 0.0.0)",
|
|
4
|
+
"Chrome Mobile 94.0.4606 (Android 0.0.0)",
|
|
5
5
|
"Chrome 79.0.3945 (Windows 10 0.0.0)",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
6
|
+
"Safari 13.1.0 (Mac OS X 10.15.4)",
|
|
7
|
+
"Mobile Safari 13.0.0 (iOS 13.0.0)"
|
|
8
8
|
]
|
package/index.cjs
CHANGED
|
@@ -3976,7 +3976,15 @@ class GitWalkerFs {
|
|
|
3976
3976
|
oid = await shasum(
|
|
3977
3977
|
GitObject.wrap({ type: 'blob', object: await entry.content() })
|
|
3978
3978
|
);
|
|
3979
|
-
|
|
3979
|
+
// Update the stats in the index so we will get a "cache hit" next time
|
|
3980
|
+
// 1) if we can (because the oid and mode are the same)
|
|
3981
|
+
// 2) and only if we need to (because other stats differ)
|
|
3982
|
+
if (
|
|
3983
|
+
stage &&
|
|
3984
|
+
oid === stage.oid &&
|
|
3985
|
+
stats.mode === stage.mode &&
|
|
3986
|
+
compareStats(stats, stage)
|
|
3987
|
+
) {
|
|
3980
3988
|
index.insert({
|
|
3981
3989
|
filepath: entry._fullpath,
|
|
3982
3990
|
stats,
|
|
@@ -6857,8 +6865,8 @@ function filterCapabilities(server, client) {
|
|
|
6857
6865
|
|
|
6858
6866
|
const pkg = {
|
|
6859
6867
|
name: 'isomorphic-git',
|
|
6860
|
-
version: '1.10.
|
|
6861
|
-
agent: 'git/isomorphic-git@1.10.
|
|
6868
|
+
version: '1.10.3',
|
|
6869
|
+
agent: 'git/isomorphic-git@1.10.3',
|
|
6862
6870
|
};
|
|
6863
6871
|
|
|
6864
6872
|
class FIFO {
|
package/index.js
CHANGED
|
@@ -3970,7 +3970,15 @@ class GitWalkerFs {
|
|
|
3970
3970
|
oid = await shasum(
|
|
3971
3971
|
GitObject.wrap({ type: 'blob', object: await entry.content() })
|
|
3972
3972
|
);
|
|
3973
|
-
|
|
3973
|
+
// Update the stats in the index so we will get a "cache hit" next time
|
|
3974
|
+
// 1) if we can (because the oid and mode are the same)
|
|
3975
|
+
// 2) and only if we need to (because other stats differ)
|
|
3976
|
+
if (
|
|
3977
|
+
stage &&
|
|
3978
|
+
oid === stage.oid &&
|
|
3979
|
+
stats.mode === stage.mode &&
|
|
3980
|
+
compareStats(stats, stage)
|
|
3981
|
+
) {
|
|
3974
3982
|
index.insert({
|
|
3975
3983
|
filepath: entry._fullpath,
|
|
3976
3984
|
stats,
|
|
@@ -6851,8 +6859,8 @@ function filterCapabilities(server, client) {
|
|
|
6851
6859
|
|
|
6852
6860
|
const pkg = {
|
|
6853
6861
|
name: 'isomorphic-git',
|
|
6854
|
-
version: '1.10.
|
|
6855
|
-
agent: 'git/isomorphic-git@1.10.
|
|
6862
|
+
version: '1.10.3',
|
|
6863
|
+
agent: 'git/isomorphic-git@1.10.3',
|
|
6856
6864
|
};
|
|
6857
6865
|
|
|
6858
6866
|
class FIFO {
|