@@ -60,16 +60,16 @@ test({
6060 } ,
6161 '// Expire Condition [2000-01-01]: new term name' ,
6262 '// TODO [>2000]: We sure didnt past this version' ,
63- '// TODO [-read-package-up ]: We actually use this.' ,
63+ '// TODO [-find-up-simple ]: We actually use this.' ,
6464 '// TODO [+popura]: I think we wont need a broken package.' ,
6565 '// TODO [semver@>1000]: Welp hopefully we wont get at that.' ,
6666 '// TODO [semver@>=1000]: Welp hopefully we wont get at that.' ,
6767 '// TODO [@lubien/fixture-beta-package@>=1.0.0]: we are using a pre-release' ,
6868 '// TODO [@lubien/fixture-beta-package@>=1.0.0-gamma.1]: beta comes first from gamma' ,
6969 '// TODO [@lubien/fixture-beta-package@>=1.0.0-beta.2]: we are in beta.1' ,
70- '// TODO [2200-12-12, -read-package-up ]: Combo' ,
71- '// TODO [2200-12-12, -read-package-up , +popura]: Combo' ,
72- '// TODO [2200-12-12, -read-package-up , +popura, semver@>=1000]: Combo' ,
70+ '// TODO [2200-12-12, -find-up-simple ]: Combo' ,
71+ '// TODO [2200-12-12, -find-up-simple , +popura]: Combo' ,
72+ '// TODO [2200-12-12, -find-up-simple , +popura, semver@>=1000]: Combo' ,
7373 '// TODO [engine:node@>=100]: When we start supporting only >= 10' ,
7474 `// TODO [2200-12-12]: Multiple
7575 // TODO [2200-12-12]: Lines` ,
@@ -209,24 +209,24 @@ test({
209209 errors : [ reachedPackageVersionError ( '>=1' , 'if your package.json version is >=1' ) ] ,
210210 } ,
211211 {
212- code : '// TODO [+read-package-up ]: when you install `read-package-up `' ,
213- errors : [ havePackageError ( 'read-package-up ' , 'when you install `read-package-up `' ) ] ,
212+ code : '// TODO [+find-up-simple ]: when you install `find-up-simple `' ,
213+ errors : [ havePackageError ( 'find-up-simple ' , 'when you install `find-up-simple `' ) ] ,
214214 } ,
215215 {
216216 code : '// TODO [-popura]: when you uninstall `popura`' ,
217217 errors : [ dontHavePackageError ( 'popura' , 'when you uninstall `popura`' ) ] ,
218218 } ,
219219 {
220- code : '// TODO [read-package-up@> 1]: when `read-package-up ` version is > 1' ,
221- errors : [ versionMatchesError ( 'read-package-up > 1' , 'when `read-package-up ` version is > 1' ) ] ,
220+ code : '// TODO [find-up-simple@>= 1]: when `find-up-simple ` version is >= 1' ,
221+ errors : [ versionMatchesError ( 'find-up-simple >= 1' , 'when `find-up-simple ` version is >= 1' ) ] ,
222222 } ,
223223 {
224224 code : '// TODO [engine:node@>=8]: when support is for node >= 8' ,
225225 errors : [ engineMatchesError ( 'node>=8' , 'when support is for node >= 8' ) ] ,
226226 } ,
227227 {
228- code : '// TODO [read-package-up@>=5.1.1 ]: when `read-package-up ` version is >= 5.1.1 ' ,
229- errors : [ versionMatchesError ( 'read-package-up >= 5.1.1 ' , 'when `read-package-up ` version is >= 5.1.1 ' ) ] ,
228+ code : '// TODO [find-up-simple@>0.2.0 ]: when `find-up-simple ` version is > 0.2.0 ' ,
229+ errors : [ versionMatchesError ( 'find-up-simple > 0.2.0 ' , 'when `find-up-simple ` version is > 0.2.0 ' ) ] ,
230230 } ,
231231 {
232232 code : '// TODO [@lubien/fixture-beta-package@>=1.0.0-alfa.1]: when `@lubien/fixture-beta-package` version is >= 1.0.0-alfa.1' ,
@@ -323,16 +323,16 @@ test({
323323 ] ,
324324 } ,
325325 {
326- code : '// TODO [-popura, read-package-up@> 1]: Combine not having a package with version match' ,
326+ code : '// TODO [-popura, find-up-simple@>= 1]: Combine not having a package with version match' ,
327327 errors : [
328328 dontHavePackageError ( 'popura' , 'Combine not having a package with version match' ) ,
329- versionMatchesError ( 'read-package-up > 1' , 'Combine not having a package with version match' ) ,
329+ versionMatchesError ( 'find-up-simple >= 1' , 'Combine not having a package with version match' ) ,
330330 ] ,
331331 } ,
332332 {
333- code : '// TODO [+read-package-up , -popura]: Combine presence/absence of packages' ,
333+ code : '// TODO [+find-up-simple , -popura]: Combine presence/absence of packages' ,
334334 errors : [
335- havePackageError ( 'read-package-up ' , 'Combine presence/absence of packages' ) ,
335+ havePackageError ( 'find-up-simple ' , 'Combine presence/absence of packages' ) ,
336336 dontHavePackageError ( 'popura' , 'Combine presence/absence of packages' ) ,
337337 ] ,
338338 } ,
@@ -352,13 +352,13 @@ test({
352352 ] ,
353353 } ,
354354 {
355- code : '// HUGETODO [semver @>=1, engine:node@>=8, 2000-01-01, -popura, >1, +read-package-up, read-package-up@> 1]: Big mix' ,
355+ code : '// HUGETODO [semver @>=1, engine:node@>=8, 2000-01-01, -popura, >1, +find-up-simple, find-up-simple@>= 1]: Big mix' ,
356356 errors : [
357357 expiredTodoError ( '2000-01-01' , 'Big mix' ) ,
358358 reachedPackageVersionError ( '>1' , 'Big mix' ) ,
359359 dontHavePackageError ( 'popura' , 'Big mix' ) ,
360- havePackageError ( 'read-package-up ' , 'Big mix' ) ,
361- versionMatchesError ( 'read-package-up > 1' , 'Big mix' ) ,
360+ havePackageError ( 'find-up-simple ' , 'Big mix' ) ,
361+ versionMatchesError ( 'find-up-simple >= 1' , 'Big mix' ) ,
362362 engineMatchesError ( 'node>=8' , 'Big mix' ) ,
363363 removeWhitespaceError ( 'semver @>=1' , 'Big mix' ) ,
364364 ] ,
0 commit comments