You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewError('Only tag, version, and range are supported')
94
94
}
95
95
96
-
// if the type is 'tag', and not just the implicit default, then it must be that exactly, or nothing else will do.
96
+
// if the type is 'tag', and not just the implicit default, then it must
97
+
// be that exactly, or nothing else will do.
97
98
if(wanted&&type==='tag'){
98
99
constver=distTags[wanted]
99
-
// if the version in the dist-tags is before the before date, then we use that. Otherwise, we get the highest precedence version prior to the dist-tag.
100
+
// if the version in the dist-tags is before the before date, then
101
+
// we use that. Otherwise, we get the highest precedence version
thrownewError('Only tag, version, and range are supported')
94
94
}
95
95
96
-
// if the type is 'tag', and not just the implicit default, then it must
97
-
// be that exactly, or nothing else will do.
96
+
// if the type is 'tag', and not just the implicit default, then it must be that exactly, or nothing else will do.
98
97
if(wanted&&type==='tag'){
99
98
constver=distTags[wanted]
100
-
// if the version in the dist-tags is before the before date, then
101
-
// we use that. Otherwise, we get the highest precedence version
102
-
// prior to the dist-tag.
99
+
// if the version in the dist-tags is before the before date, then we use that. Otherwise, we get the highest precedence version prior to the dist-tag.
0 commit comments