@@ -239,11 +239,11 @@ describe('computeMinimalFixes', () => {
239239 assert . strictEqual ( fixes [ 0 ] . fixes [ 0 ] . patched , '15.6.0-canary.59' ) ;
240240 } ) ;
241241
242- it ( 'should select 16.1.0-canary.17 for 16.x canaries (covers all 3 CVEs)' , ( ) => {
242+ it ( 'should select 16.1.0-canary.18 for 16.x canaries (covers all 3 CVEs)' , ( ) => {
243243 // 16.x canary patch versions:
244244 // - CVE-2025-66478: 16.1.0-canary.12
245- // - CVE-2025-55184: 16.1.0-canary.17
246- // - CVE-2025-55183: 16.1.0-canary.17
245+ // - CVE-2025-55184: 16.1.0-canary.18
246+ // - CVE-2025-55183: 16.1.0-canary.18
247247
248248 const analysisResults = [ {
249249 path : '/test/package.json' ,
@@ -253,16 +253,16 @@ describe('computeMinimalFixes', () => {
253253 current : '16.1.0-canary.0' ,
254254 cves : [
255255 { id : 'CVE-2025-66478' , severity : 'critical' , patchedVersion : '16.1.0-canary.12' } ,
256- { id : 'CVE-2025-55184' , severity : 'high' , patchedVersion : '16.1.0-canary.17 ' } ,
257- { id : 'CVE-2025-55183' , severity : 'medium' , patchedVersion : '16.1.0-canary.17 ' } ,
256+ { id : 'CVE-2025-55184' , severity : 'high' , patchedVersion : '16.1.0-canary.18 ' } ,
257+ { id : 'CVE-2025-55183' , severity : 'medium' , patchedVersion : '16.1.0-canary.18 ' } ,
258258 ] ,
259259 inDeps : true ,
260260 inDevDeps : false ,
261261 } ] ,
262262 } ] ;
263263
264264 const fixes = computeMinimalFixes ( analysisResults ) ;
265- assert . strictEqual ( fixes [ 0 ] . fixes [ 0 ] . patched , '16.1.0-canary.17 ' ) ;
265+ assert . strictEqual ( fixes [ 0 ] . fixes [ 0 ] . patched , '16.1.0-canary.18 ' ) ;
266266 } ) ;
267267 } ) ;
268268
@@ -596,14 +596,14 @@ describe('integration: getPatchedVersion across CVEs', () => {
596596 assert . strictEqual ( patch55183 ?. recommended , '15.6.0-canary.59' ) ;
597597 } ) ;
598598
599- it ( 'should recommend 16.1.0-canary.17 for 16.x canaries' , ( ) => {
599+ it ( 'should recommend 16.1.0-canary.18 for 16.x canaries' , ( ) => {
600600 const patch66478 = cve66478 . getPatchedVersion ( 'next' , '16.1.0-canary.0' ) ;
601601 const patch55184 = cve55184 . getPatchedVersion ( 'next' , '16.1.0-canary.0' ) ;
602602 const patch55183 = cve55183 . getPatchedVersion ( 'next' , '16.1.0-canary.0' ) ;
603603
604604 assert . strictEqual ( patch66478 ?. recommended , '16.1.0-canary.12' ) ;
605- assert . strictEqual ( patch55184 ?. recommended , '16.1.0-canary.17 ' ) ;
606- assert . strictEqual ( patch55183 ?. recommended , '16.1.0-canary.17 ' ) ;
605+ assert . strictEqual ( patch55184 ?. recommended , '16.1.0-canary.18 ' ) ;
606+ assert . strictEqual ( patch55183 ?. recommended , '16.1.0-canary.18 ' ) ;
607607 } ) ;
608608 } ) ;
609609} ) ;
0 commit comments