Skip to content

Bump the npm_and_yarn group across 2 directories with 5 updates - #169

Closed
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/Src/PackageGuard.Specs/TestCases/NpmApp/npm_and_yarn-82d02b6d24
Closed

Bump the npm_and_yarn group across 2 directories with 5 updates#169
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/Src/PackageGuard.Specs/TestCases/NpmApp/npm_and_yarn-82d02b6d24

Fix integration tests to use GITHUB_API_KEY environment variable

3e4fba6
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / Test Results failed May 14, 2026 in 0s

2 fail, 161 pass in 2m 34s

163 tests  ±0   161 ✅ ±0   2m 34s ⏱️ -31s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     2 ❌ ±0 

Results for commit 3e4fba6. ± Comparison against earlier commit 94d7b15.

Annotations

Check warning on line 0 in PackageGuard.Specs.Npm.ProjectAnalyzerSpecs

See this annotation in the file changed.

@github-actions github-actions / Test Results

Can_analyze_npm_projects (PackageGuard.Specs.Npm.ProjectAnalyzerSpecs) failed

artifacts/TestResults/PackageGuard.Specs_net9.0.trx [took 2s]
Raw output
Expected violations PackageGuard.Core.PolicyViolation
    {
        FeedName = "npm",
        FeedUrl = "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
        License = "MIT",
        PackageId = "accepts",
        Projects = {"D:\a\packageguard\packageguard\Src\PackageGuard.Specs\bin\Debug\net9.0\TestCases\NpmApp"},
        Version = "1.3.8"
    },
    PackageGuard.Core.PolicyViolation
    {
        FeedName = "npm",
        FeedUrl = "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
        License = "MIT",
        PackageId = "array-flatten",
        Projects = {"D:\a\packageguard\packageguard\Src\PackageGuard.Specs\bin\Debug\net9.0\TestCases\NpmApp"},
        Version = "1.1.1"
    },
    PackageGuard.Core.PolicyViolation
    {
        FeedName = "npm",
        FeedUrl = "https://registry.npmjs.org/body-parser/-/body-parser-1.20.4.tgz",
        License = "MIT",
        PackageId = "body-parser",
        Projects = {"D:\a\packageguard\packageguard\Src\PackageGuard.Specs\bin\Debug\net9.0\TestCases\NpmApp"},
        Version = "1.20.4"
    },
    PackageGuard.Core.PolicyViolation
    {
        FeedName = "npm",
        FeedUrl = "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
        License = "MIT",
        PackageId = "bytes",
        Projects = {"D:\a\packageguard\packageguard\Src\PackageGuard.Specs\bin\Debug\net9.0\TestCases\NpmApp"},
        Version = "3.1.2"
    },
    PackageGuard.Core.PolicyViolation
    {
        FeedName = "npm",
        FeedUrl = "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
        License = "MIT",
        PackageId = "call-bind-apply-helpers",
        Projects = {"D:\a\packageguard\packageguard\Src\PackageGuard.Specs\bin\Debug\net9.0\TestCases\NpmApp"},
        Version = "1.0.2"
    },
    PackageGuard.Core.PolicyViolation
    {
        FeedName = "npm",
        FeedUrl = "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz",
        License = "MIT",
        PackageId = "call-bound",
        Projects = {"D:\a\packageguard\packageguard\Src\PackageGuard.Specs\bin\Debug\net9.0\TestCases\NpmApp"},
        Version = "1.0.4"
    },
    PackageGuard.Core.PolicyViolation
    {
        FeedName = "npm",
        FeedUrl = "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
        License = "MIT",
        PackageId = "content-disposition",
        Projects = {"D:\a\packageguard\packageguard\Src\PackageGuard.Specs\bin\Debug\net9.0\TestCases\NpmApp"},
        Version = "0.5.4"
    },
    PackageGuard.Core.PolicyViolation
    {
        FeedName = "npm",
        FeedUrl = "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
        License = "MIT",
        PackageId = "content-type",
        Projects = {"D:\a\packageguard\packageguard\Src\PackageGuard.Specs\bin\Debug\net9.0\TestCases\NpmApp"},
        Version = "1.0.5"
    },
    PackageGuard.Core.PolicyViolation
    {
        FeedName = "npm",
        FeedUrl = "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",
        License = "MIT",
        PackageId = "cookie",
        Projects = {"D:\a\packageguard\packageguard\Src\PackageGuard.Specs\bin\Debug\net9.0\TestCases\NpmApp"},
        Version = "0.7.2"
    },
    PackageGuard.Core.PolicyViolation
    {
        FeedName = "npm",
        FeedUrl = "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.7.tgz",
        License = "MIT",
        PackageId = "cookie-signature",
        Projects = {"D:\a\packageguard\packageguard\Src\PackageGuard.Specs\bin\Debug\net9.0\TestCases\NpmApp"},
        Version = "1.0.7"
    },
    PackageGuard.Core.PolicyViolation
    {
        FeedName = "npm",
        FeedUrl = "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
        License = "MIT",
        PackageId = "debug",
        Projects = {"D:\a\packageguard\packageguard\Src\PackageGuard.Specs\bin\Debug\net9.0\TestCases\NpmApp"},
        Version = "2.6.9"
    }PackageGuard.Core.PolicyViolation
    {


(Output has exceeded the maximum of 100 lines. Increase FormattingOptions.MaxLines on AssertionScope or AssertionConfiguration to include more lines.) to contain equivalent of {
    FeedName = "npm",
    FeedUrl = "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz",
    License = "MIT",
    PackageId = "cookie",
    Version = "0.5.0"
}.

With configuration:
- Prefer the declared type of the members
- Compare enums by value
- Compare tuples by their properties
- Compare anonymous types by their properties
- Compare records by their members
- Include non-browsable members
- Match (JSON) member by name (or throw)
- Be strict about the order of items in byte arrays
- Without automatic conversion
   at FluentAssertions.Collections.GenericCollectionAssertions`3.ContainEquivalentOf[TExpectation](TExpectation expectation, Func`2 config, String because, Object[] becauseArgs)
   at FluentAssertions.Collections.GenericCollectionAssertions`3.ContainEquivalentOf[TExpectation](TExpectation expectation, Func`2 config, String because, Object[] becauseArgs)
   at FluentAssertions.Collections.GenericCollectionAssertions`3.ContainEquivalentOf[TExpectation](TExpectation expectation, String because, Object[] becauseArgs)
   at PackageGuard.Specs.Npm.ProjectAnalyzerSpecs.Can_analyze_npm_projects() in D:\a\packageguard\packageguard\Src\PackageGuard.Specs\Npm\ProjectAnalyzerSpecs.cs:line 42
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 391

Check warning on line 0 in PackageGuard.Specs.Npm.NpmLockFileParserSpecs

See this annotation in the file changed.

@github-actions github-actions / Test Results

Can_collect_package_metadata_from_lock_file (PackageGuard.Specs.Npm.NpmLockFileParserSpecs) failed

artifacts/TestResults/PackageGuard.Specs_net9.0.trx [took 4s]
Raw output
Expected expressPackage!.Version to be "4.18.2", but "4.22.0" differs near "22." (index 2).   at FluentAssertions.Primitives.StringAssertions`1.Be(String expected, String because, Object[] becauseArgs)
   at PackageGuard.Specs.Npm.NpmLockFileParserSpecs.Can_collect_package_metadata_from_lock_file() in D:\a\packageguard\packageguard\Src\PackageGuard.Specs\Npm\NpmLockFileParserSpecs.cs:line 37
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 391