72 references to YarnLockEntry
Infrastructure.Tests (72)
WorkflowScripts\AutoSecWorkflowTests.cs (72)
231scenario["contents"]!["old/yarn.lock@base"] = YarnLockEntry("lodash", "4.17.20"); 259scenario["contents"]!["extension/yarn.lock@base"] = YarnLockEntry("lodash", "4.17.20") + YarnLockEntry("transitive", "4.0.0"); 260scenario["contents"]!["moved/yarn.lock@head"] = YarnLockEntry("lodash", "4.17.21") + YarnLockEntry("transitive", breaking ? "5.0.0" : "4.1.0"); 408YarnLockEntry("lodash", "4.17.20") + YarnLockEntry("lodash", "4.17.19"); 532scenario["contents"]!["extension/yarn.lock@head"] = YarnLockEntry("lodash", "4.17.21", "https://pkgs.dev.azure.com/contoso/_packaging/feed/"); 553scenario["contents"]!["extension/yarn.lock@base"] = YarnLockEntry("lodash", "4.17.20") + YarnLockEntry("react", "17.0.2"); 554scenario["contents"]!["extension/yarn.lock@head"] = YarnLockEntry("lodash", "4.17.21") + YarnLockEntry("react", "18.2.0"); 561scenario["contents"]!["extension/yarn.lock@base"] = YarnLockEntry("lodash", "4.17.20") + YarnLockEntry("foo", "1.0.0") + YarnLockEntry("foo", "2.0.0"); 562scenario["contents"]!["extension/yarn.lock@head"] = YarnLockEntry("lodash", "4.17.21") + YarnLockEntry("foo", "2.1.0"); 569scenario["contents"]!["extension/yarn.lock@base"] = YarnLockEntry("lodash", "4.17.20") + YarnLockEntry("foo", "1.0.0") + YarnLockEntry("foo", "2.1.0"); 570scenario["contents"]!["extension/yarn.lock@head"] = YarnLockEntry("lodash", "4.17.21") + YarnLockEntry("foo", "2.1.0"); 577scenario["contents"]!["extension/yarn.lock@base"] = YarnLockEntry("lodash", "4.17.20") + YarnLockEntry("minimist", "1.2.5"); 578scenario["contents"]!["extension/yarn.lock@head"] = YarnLockEntry("lodash", "4.17.21") + YarnLockEntry("minimist", "1.2.8"); 593scenario["contents"]!["extension/yarn.lock@base"] = YarnLockEntry("lodash", "4.17.20") + YarnLockEntry("minimist", "1.2.5"); 594scenario["contents"]!["extension/yarn.lock@head"] = YarnLockEntry("lodash", "4.17.21") + YarnLockEntry("minimist", "1.2.8"); 598var baseLock = new StringBuilder(YarnLockEntry("lodash", "4.17.20")); 599var headLock = new StringBuilder(YarnLockEntry("lodash", "4.17.21")); 602baseLock.Append(YarnLockEntry($"package-{i}", "1.0.0")); 603headLock.Append(YarnLockEntry($"package-{i}", "1.0.1")); 611scenario["contents"]!["extension/yarn.lock@base"] = YarnLockEntry("lodash", "4.17.20"); 612scenario["contents"]!["extension/yarn.lock@head"] = YarnLockEntry("lodash", "4.17.21") + YarnLockEntry("lodash", "4.17.20"); 620scenario["contents"]!["extension/yarn.lock@head"] = YarnLockEntry("lodash", "4.17.21").Replace("/lodash/-/lodash-4.17.21.tgz", "/evil/-/evil-1.0.0.tgz", StringComparison.Ordinal); 664scenario["contents"]!["playground/app/yarn.lock@base"] = YarnLockEntry("lodash", "4.17.20") + YarnLockEntry("minimist", "1.2.5"); 665scenario["contents"]!["playground/app/yarn.lock@head"] = YarnLockEntry("lodash", "4.17.20") + YarnLockEntry("minimist", "1.2.8"); 3887scenario["contents"]!["extension/yarn.lock@base"] = YarnLockEntry("lodash", "4.17.20") + YarnLockEntry("minimist", "1.2.5"); 3888scenario["contents"]!["extension/yarn.lock@head"] = YarnLockEntry("lodash", "4.17.21") + YarnLockEntry("minimist", "1.2.8") + YarnLockEntry("left-pad", "1.3.0"); 3903scenario["contents"]!["extension/yarn.lock@base"] = YarnLockEntry("lodash", "4.17.20") + YarnLockEntry("minimist", "1.2.5"); 3904scenario["contents"]!["extension/yarn.lock@head"] = YarnLockEntry("lodash", "4.17.21"); 3927scenario["contents"]!["extension/yarn.lock@base"] = YarnLockEntry("lodash", "4.17.20") + YarnLockEntry("minimist", "1.2.5"); 3928scenario["contents"]!["extension/yarn.lock@head"] = YarnLockEntry("lodash", "4.17.21") + YarnLockEntry("minimist", "1.2.8"); 3974scenario["contents"]!["playground/app/yarn.lock@base"] = YarnLockEntry("lodash", "4.17.20"); 3975scenario["contents"]!["playground/app/yarn.lock@head"] = YarnLockEntry("lodash", "4.17.21"); 4165["app/yarn.lock"] = YarnLockEntry("lodash", "4.17.21") + YarnLockEntry("minimist", "1.2.8"), 4166["other/yarn.lock"] = YarnLockEntry("lodash", "4.17.20") + YarnLockEntry("left-pad", "1.3.0"), 4168["nested/yarn.lock"] = YarnLockEntry("lodash", "4.17.21") + YarnLockEntry("lodash", "4.17.20"), 4172["app/yarn.lock"] = YarnLockEntry("lodash", "4.17.20") + YarnLockEntry("minimist", "1.2.5") + YarnLockEntry("left-pad", "1.3.0"), 4173["other/yarn.lock"] = YarnLockEntry("lodash", "4.17.20") + YarnLockEntry("left-pad", "1.3.0"), 4174["nested/yarn.lock"] = YarnLockEntry("lodash", "4.17.20"), 4694["repos/microsoft/aspire/contents/extension/yarn.lock?ref=base"] = YarnLockEntry("lodash", "4.17.20"), 4695["repos/microsoft/aspire/contents/extension/yarn.lock?ref=head"] = YarnLockEntry("lodash", "4.17.21"), 4760["extension/yarn.lock@base"] = YarnLockEntry("lodash", "4.17.20"), 4761["extension/yarn.lock@head"] = YarnLockEntry("lodash", "4.17.21"),