File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 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 === '*'
252252// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0
253253// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0
254254// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0
255+ // ~0.0.1 --> >=0.0.1 <0.1.0-0
255256const replaceTildes = ( comp , options ) =>
256257 comp . trim ( ) . split ( / \s + / ) . map ( ( c ) => {
257258 return replaceTilde ( c , options )
@@ -291,6 +292,8 @@ const replaceTilde = (comp, options) => {
291292// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0
292293// ^1.2.3 --> >=1.2.3 <2.0.0-0
293294// ^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
294297const replaceCarets = ( comp , options ) =>
295298 comp . trim ( ) . split ( / \s + / ) . map ( ( c ) => {
296299 return replaceCaret ( c , options )
You can’t perform that action at this time.
0 commit comments