File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -252,6 +252,7 @@ const isX = id => !id || id.toLowerCase() === 'x' || id === '*'
252
252
// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0
253
253
// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0
254
254
// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0
255
+ // ~0.0.1 --> >=0.0.1 <0.1.0-0
255
256
const replaceTildes = ( comp , options ) =>
256
257
comp . trim ( ) . split ( / \s + / ) . map ( ( c ) => {
257
258
return replaceTilde ( c , options )
@@ -291,6 +292,8 @@ const replaceTilde = (comp, options) => {
291
292
// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0
292
293
// ^1.2.3 --> >=1.2.3 <2.0.0-0
293
294
// ^1.2.0 --> >=1.2.0 <2.0.0-0
295
+ // ^0.0.1 --> >=0.0.1 <0.0.2-0
296
+ // ^0.1.0 --> >=0.1.0 <0.2.0-0
294
297
const replaceCarets = ( comp , options ) =>
295
298
comp . trim ( ) . split ( / \s + / ) . map ( ( c ) => {
296
299
return replaceCaret ( c , options )
You can’t perform that action at this time.
0 commit comments