isomorphic-git 1.33.1 → 1.33.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 +1 -0
- package/browser-tests.json +3 -5
- package/index.cjs +8 -7
- package/index.js +8 -7
- package/index.umd.min.js +4 -4
- package/index.umd.min.js.map +1 -1
- package/managers/index.umd.min.js +4 -4
- package/managers/index.umd.min.js.map +1 -1
- package/models/index.umd.min.js +2 -2
- package/models/index.umd.min.js.map +1 -1
- package/package.json +3 -1
- package/size_report.html +1 -1
package/README.md
CHANGED
|
@@ -391,6 +391,7 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
|
|
|
391
391
|
<td align="center"><a href="https://github.com/ARBhosale"><img src="https://avatars.githubusercontent.com/u/26981417?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Aniket Bhosale</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=ARBhosale" title="Code">💻</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=ARBhosale" title="Documentation">📖</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=ARBhosale" title="Tests">⚠️</a></td>
|
|
392
392
|
<td align="center"><a href="https://github.com/gnillev"><img src="https://avatars.githubusercontent.com/u/8965094?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Mathias Nisted Velling</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=gnillev" title="Code">💻</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=gnillev" title="Tests">⚠️</a></td>
|
|
393
393
|
<td align="center"><a href="https://github.com/acandoo"><img src="https://avatars.githubusercontent.com/u/117209328?v=4?s=60" width="60px;" alt=""/><br /><sub><b>acandoo</b></sub></a><br /><a href="#platform-acandoo" title="Packaging/porting to new platform">📦</a> <a href="#userTesting-acandoo" title="User Testing">📓</a></td>
|
|
394
|
+
<td align="center"><a href="https://github.com/hemanthkini"><img src="https://avatars.githubusercontent.com/u/3934055?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Hemanth Kini</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=hemanthkini" title="Code">💻</a></td>
|
|
394
395
|
</tr>
|
|
395
396
|
</table>
|
|
396
397
|
|
package/browser-tests.json
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
[
|
|
2
|
-
"
|
|
3
|
-
"Firefox
|
|
4
|
-
"X Chrome 137.0.0.0 (Android 10)",
|
|
2
|
+
"Chrome Headless 79.0.3945.0 (Linux x86_64)",
|
|
3
|
+
"Firefox 143.0 (Linux x86_64)",
|
|
5
4
|
"Edge 79.0.309.65 (Windows 10)",
|
|
6
5
|
"Safari 14.1 (Mac OS 10.15.7)",
|
|
7
6
|
"Mobile Safari 14.0 (iOS 14.0.1)",
|
|
8
7
|
"Chrome Headless 79.0.3945.0 (Linux x86_64)",
|
|
9
|
-
"Chrome 137.0.0.0 (Android 10)"
|
|
10
|
-
"Edge 79.0.309.65 (Windows 10)"
|
|
8
|
+
"Chrome 137.0.0.0 (Android 10)"
|
|
11
9
|
]
|
package/index.cjs
CHANGED
|
@@ -12,6 +12,7 @@ var pako = _interopDefault(require('pako'));
|
|
|
12
12
|
var pify = _interopDefault(require('pify'));
|
|
13
13
|
var ignore = _interopDefault(require('ignore'));
|
|
14
14
|
var cleanGitRef = _interopDefault(require('clean-git-ref'));
|
|
15
|
+
var validRef = _interopDefault(require('is-git-ref-name-valid'));
|
|
15
16
|
var diff3Merge = _interopDefault(require('diff3'));
|
|
16
17
|
|
|
17
18
|
/**
|
|
@@ -6143,7 +6144,7 @@ async function addNote({
|
|
|
6143
6144
|
*
|
|
6144
6145
|
*/
|
|
6145
6146
|
async function _addRemote({ fs, gitdir, remote, url, force }) {
|
|
6146
|
-
if (remote
|
|
6147
|
+
if (!validRef(remote, true)) {
|
|
6147
6148
|
throw new InvalidRefNameError(remote, cleanGitRef.clean(remote))
|
|
6148
6149
|
}
|
|
6149
6150
|
const config = await GitConfigManager.get({ fs, gitdir });
|
|
@@ -6415,7 +6416,7 @@ async function _branch({
|
|
|
6415
6416
|
checkout = false,
|
|
6416
6417
|
force = false,
|
|
6417
6418
|
}) {
|
|
6418
|
-
if (ref
|
|
6419
|
+
if (!validRef(ref, true)) {
|
|
6419
6420
|
throw new InvalidRefNameError(ref, cleanGitRef.clean(ref))
|
|
6420
6421
|
}
|
|
6421
6422
|
|
|
@@ -8066,8 +8067,8 @@ function filterCapabilities(server, client) {
|
|
|
8066
8067
|
|
|
8067
8068
|
const pkg = {
|
|
8068
8069
|
name: 'isomorphic-git',
|
|
8069
|
-
version: '1.33.
|
|
8070
|
-
agent: 'git/isomorphic-git@1.33.
|
|
8070
|
+
version: '1.33.2',
|
|
8071
|
+
agent: 'git/isomorphic-git@1.33.2',
|
|
8071
8072
|
};
|
|
8072
8073
|
|
|
8073
8074
|
class FIFO {
|
|
@@ -14150,11 +14151,11 @@ async function _renameBranch({
|
|
|
14150
14151
|
ref,
|
|
14151
14152
|
checkout = false,
|
|
14152
14153
|
}) {
|
|
14153
|
-
if (ref
|
|
14154
|
+
if (!validRef(ref, true)) {
|
|
14154
14155
|
throw new InvalidRefNameError(ref, cleanGitRef.clean(ref))
|
|
14155
14156
|
}
|
|
14156
14157
|
|
|
14157
|
-
if (oldref
|
|
14158
|
+
if (!validRef(oldref, true)) {
|
|
14158
14159
|
throw new InvalidRefNameError(oldref, cleanGitRef.clean(oldref))
|
|
14159
14160
|
}
|
|
14160
14161
|
|
|
@@ -16524,7 +16525,7 @@ async function writeRef({
|
|
|
16524
16525
|
|
|
16525
16526
|
const fs = new FileSystem(_fs);
|
|
16526
16527
|
|
|
16527
|
-
if (ref
|
|
16528
|
+
if (!validRef(ref, true)) {
|
|
16528
16529
|
throw new InvalidRefNameError(ref, cleanGitRef.clean(ref))
|
|
16529
16530
|
}
|
|
16530
16531
|
|
package/index.js
CHANGED
|
@@ -6,6 +6,7 @@ import pako from 'pako';
|
|
|
6
6
|
import pify from 'pify';
|
|
7
7
|
import ignore from 'ignore';
|
|
8
8
|
import cleanGitRef from 'clean-git-ref';
|
|
9
|
+
import validRef from 'is-git-ref-name-valid';
|
|
9
10
|
import diff3Merge from 'diff3';
|
|
10
11
|
|
|
11
12
|
/**
|
|
@@ -6137,7 +6138,7 @@ async function addNote({
|
|
|
6137
6138
|
*
|
|
6138
6139
|
*/
|
|
6139
6140
|
async function _addRemote({ fs, gitdir, remote, url, force }) {
|
|
6140
|
-
if (remote
|
|
6141
|
+
if (!validRef(remote, true)) {
|
|
6141
6142
|
throw new InvalidRefNameError(remote, cleanGitRef.clean(remote))
|
|
6142
6143
|
}
|
|
6143
6144
|
const config = await GitConfigManager.get({ fs, gitdir });
|
|
@@ -6409,7 +6410,7 @@ async function _branch({
|
|
|
6409
6410
|
checkout = false,
|
|
6410
6411
|
force = false,
|
|
6411
6412
|
}) {
|
|
6412
|
-
if (ref
|
|
6413
|
+
if (!validRef(ref, true)) {
|
|
6413
6414
|
throw new InvalidRefNameError(ref, cleanGitRef.clean(ref))
|
|
6414
6415
|
}
|
|
6415
6416
|
|
|
@@ -8060,8 +8061,8 @@ function filterCapabilities(server, client) {
|
|
|
8060
8061
|
|
|
8061
8062
|
const pkg = {
|
|
8062
8063
|
name: 'isomorphic-git',
|
|
8063
|
-
version: '1.33.
|
|
8064
|
-
agent: 'git/isomorphic-git@1.33.
|
|
8064
|
+
version: '1.33.2',
|
|
8065
|
+
agent: 'git/isomorphic-git@1.33.2',
|
|
8065
8066
|
};
|
|
8066
8067
|
|
|
8067
8068
|
class FIFO {
|
|
@@ -14144,11 +14145,11 @@ async function _renameBranch({
|
|
|
14144
14145
|
ref,
|
|
14145
14146
|
checkout = false,
|
|
14146
14147
|
}) {
|
|
14147
|
-
if (ref
|
|
14148
|
+
if (!validRef(ref, true)) {
|
|
14148
14149
|
throw new InvalidRefNameError(ref, cleanGitRef.clean(ref))
|
|
14149
14150
|
}
|
|
14150
14151
|
|
|
14151
|
-
if (oldref
|
|
14152
|
+
if (!validRef(oldref, true)) {
|
|
14152
14153
|
throw new InvalidRefNameError(oldref, cleanGitRef.clean(oldref))
|
|
14153
14154
|
}
|
|
14154
14155
|
|
|
@@ -16518,7 +16519,7 @@ async function writeRef({
|
|
|
16518
16519
|
|
|
16519
16520
|
const fs = new FileSystem(_fs);
|
|
16520
16521
|
|
|
16521
|
-
if (ref
|
|
16522
|
+
if (!validRef(ref, true)) {
|
|
16522
16523
|
throw new InvalidRefNameError(ref, cleanGitRef.clean(ref))
|
|
16523
16524
|
}
|
|
16524
16525
|
|