isomorphic-git 1.24.0 → 1.24.1

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/LICENSE.md CHANGED
@@ -1,7 +1,7 @@
1
- Copyright 2017-2018 the 'isomorphic-git' authors
1
+ Copyright 2017-2023 the 'isomorphic-git' authors
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
4
 
5
5
  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
6
 
7
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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="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>
301
+ <td align="center"><a href="https://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>
@@ -1,11 +1,10 @@
1
1
  [
2
2
  "Chrome Headless 79.0.3945.0 (Linux x86_64)",
3
- "X Firefox 113.0 (Ubuntu 0.0.0)",
4
- "Chrome 111.0.0.0 (Android 10)",
3
+ "Firefox 114.0 (Ubuntu 0.0.0)",
4
+ "X Chrome 111.0.0.0 (Android 10)",
5
5
  "Edge 79.0.309.65 (Windows 10)",
6
- "Mobile Safari 13.0 (iOS 13.0)",
7
6
  "Safari 13.1 (Mac OS 10.15.4)",
7
+ "Mobile Safari 13.0 (iOS 13.0)",
8
8
  "Chrome Headless 79.0.3945.0 (Linux x86_64)",
9
- "Firefox 113.0 (Ubuntu 0.0.0)",
10
9
  "Chrome 111.0.0.0 (Android 10)"
11
10
  ]
package/index.cjs CHANGED
@@ -914,8 +914,8 @@ function compareStats(entry, stats) {
914
914
  const s = normalizeStats(stats);
915
915
  const staleness =
916
916
  e.mode !== s.mode ||
917
- e.mtimeNanoseconds !== s.mtimeNanoseconds ||
918
- e.ctimeNanoseconds !== s.ctimeNanoseconds ||
917
+ e.mtimeSeconds !== s.mtimeSeconds ||
918
+ e.ctimeSeconds !== s.ctimeSeconds ||
919
919
  e.uid !== s.uid ||
920
920
  e.gid !== s.gid ||
921
921
  e.ino !== s.ino ||
@@ -7301,8 +7301,8 @@ function filterCapabilities(server, client) {
7301
7301
 
7302
7302
  const pkg = {
7303
7303
  name: 'isomorphic-git',
7304
- version: '1.24.0',
7305
- agent: 'git/isomorphic-git@1.24.0',
7304
+ version: '1.24.1',
7305
+ agent: 'git/isomorphic-git@1.24.1',
7306
7306
  };
7307
7307
 
7308
7308
  class FIFO {
@@ -10441,6 +10441,9 @@ async function isIgnored({
10441
10441
  * If you want an up-to-date list, first do a `fetch` to that remote.
10442
10442
  * (Which branch you fetch doesn't matter - the list of branches available on the remote is updated during the fetch handshake.)
10443
10443
  *
10444
+ * Also note, that a branch is a reference to a commit. If you initialize a new repository it has no commits, so the
10445
+ * `listBranches` function will return an empty list, until you create the first commit.
10446
+ *
10444
10447
  * @param {object} args
10445
10448
  * @param {FsClient} args.fs - a file system client
10446
10449
  * @param {string} [args.dir] - The [working tree](dir-vs-gitdir.md) directory path
package/index.d.ts CHANGED
@@ -1856,6 +1856,9 @@ export function isIgnored({ fs, dir, gitdir, filepath, }: {
1856
1856
  * If you want an up-to-date list, first do a `fetch` to that remote.
1857
1857
  * (Which branch you fetch doesn't matter - the list of branches available on the remote is updated during the fetch handshake.)
1858
1858
  *
1859
+ * Also note, that a branch is a reference to a commit. If you initialize a new repository it has no commits, so the
1860
+ * `listBranches` function will return an empty list, until you create the first commit.
1861
+ *
1859
1862
  * @param {object} args
1860
1863
  * @param {FsClient} args.fs - a file system client
1861
1864
  * @param {string} [args.dir] - The [working tree](dir-vs-gitdir.md) directory path
package/index.js CHANGED
@@ -908,8 +908,8 @@ function compareStats(entry, stats) {
908
908
  const s = normalizeStats(stats);
909
909
  const staleness =
910
910
  e.mode !== s.mode ||
911
- e.mtimeNanoseconds !== s.mtimeNanoseconds ||
912
- e.ctimeNanoseconds !== s.ctimeNanoseconds ||
911
+ e.mtimeSeconds !== s.mtimeSeconds ||
912
+ e.ctimeSeconds !== s.ctimeSeconds ||
913
913
  e.uid !== s.uid ||
914
914
  e.gid !== s.gid ||
915
915
  e.ino !== s.ino ||
@@ -7295,8 +7295,8 @@ function filterCapabilities(server, client) {
7295
7295
 
7296
7296
  const pkg = {
7297
7297
  name: 'isomorphic-git',
7298
- version: '1.24.0',
7299
- agent: 'git/isomorphic-git@1.24.0',
7298
+ version: '1.24.1',
7299
+ agent: 'git/isomorphic-git@1.24.1',
7300
7300
  };
7301
7301
 
7302
7302
  class FIFO {
@@ -10435,6 +10435,9 @@ async function isIgnored({
10435
10435
  * If you want an up-to-date list, first do a `fetch` to that remote.
10436
10436
  * (Which branch you fetch doesn't matter - the list of branches available on the remote is updated during the fetch handshake.)
10437
10437
  *
10438
+ * Also note, that a branch is a reference to a commit. If you initialize a new repository it has no commits, so the
10439
+ * `listBranches` function will return an empty list, until you create the first commit.
10440
+ *
10438
10441
  * @param {object} args
10439
10442
  * @param {FsClient} args.fs - a file system client
10440
10443
  * @param {string} [args.dir] - The [working tree](dir-vs-gitdir.md) directory path
@@ -1856,6 +1856,9 @@ export function isIgnored({ fs, dir, gitdir, filepath, }: {
1856
1856
  * If you want an up-to-date list, first do a `fetch` to that remote.
1857
1857
  * (Which branch you fetch doesn't matter - the list of branches available on the remote is updated during the fetch handshake.)
1858
1858
  *
1859
+ * Also note, that a branch is a reference to a commit. If you initialize a new repository it has no commits, so the
1860
+ * `listBranches` function will return an empty list, until you create the first commit.
1861
+ *
1859
1862
  * @param {object} args
1860
1863
  * @param {FsClient} args.fs - a file system client
1861
1864
  * @param {string} [args.dir] - The [working tree](dir-vs-gitdir.md) directory path