Conversation
There was a problem hiding this comment.
Pull request overview
This PR makes PURL (Package URL) matching case-insensitive to fix issue #991 where GitHub Actions dependency filtering was failing due to case mismatches in organization and repository names. The change extends the fix from PR #1056 (which normalized encoding differences) to also handle case differences in package names and namespaces.
Changes:
- Modified
purlsMatch()function to perform case-insensitive comparison for both type and namespace/name fields - Added three new test cases covering GitHub Actions and npm packages with different casing
- Updated comments to document the case-insensitive behavior
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/purl.ts | Made purlsMatch() function case-insensitive by lowercasing both type and namespace/name before comparison |
| dist/index.js | Compiled output reflecting the source changes (appears twice due to bundling) |
| tests/purl.test.ts | Added three tests verifying case-insensitive matching for GitHub Actions and npm packages |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Note that the PURL spec mentions for GitHub that the case-insensitive parts should be stored as lowercase, in case one wants to make sure that the internal registration is compliant to PURL. See details in package-url/purl-spec#698 |
Bumps the github-actions group with 5 updates: | Package | From | To | | --- | --- | --- | | [anthropics/claude-code-action](https://github.com/anthropics/claude-code-action) | `1.0.64` | `1.0.70` | | [github/codeql-action](https://github.com/github/codeql-action) | `4.32.4` | `4.32.6` | | [dorny/test-reporter](https://github.com/dorny/test-reporter) | `2.5.0` | `2.6.0` | | [actions/setup-node](https://github.com/actions/setup-node) | `6.2.0` | `6.3.0` | | [actions/dependency-review-action](https://github.com/actions/dependency-review-action) | `4.8.3` | `4.9.0` | Updates `anthropics/claude-code-action` from 1.0.64 to 1.0.70 Release notes *Sourced from [anthropics/claude-code-action's releases](https://github.com/anthropics/claude-code-action/releases).* > v1.0.70 > ------- > > **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.70> > > v1.0.69 > ------- > > **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.69> > > v1.0.68 > ------- > > **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.68> > > v1.0.67 > ------- > > What's Changed > -------------- > > * Improve gh.sh wrapper: stricter validation and better error messages by [`@OctavianGuzu`](https://github.com/OctavianGuzu) in [anthropics/claude-code-action#996](https://redirect.github.com/anthropics/claude-code-action/pull/996) > > **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.67> > > v1.0.66 > ------- > > What's Changed > -------------- > > * Only expose permission\_denials count in sanitized output by [`@ddworken`](https://github.com/ddworken) in [anthropics/claude-code-action#993](https://redirect.github.com/anthropics/claude-code-action/pull/993) > > **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.66> > > v1.0.65 > ------- > > What's Changed > -------------- > > * Change the default `display_report` option to false to restrict exposed data by [`@ddworken`](https://github.com/ddworken) in [anthropics/claude-code-action#992](https://redirect.github.com/anthropics/claude-code-action/pull/992) > > **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.65> Commits * [`26ec041`](anthropics/claude-code-action@26ec041) chore: bump Claude Code to 2.1.70 and Agent SDK to 0.2.70 * [`1fc90f3`](anthropics/claude-code-action@1fc90f3) chore: bump Claude Code to 2.1.69 and Agent SDK to 0.2.69 * [`e763fe7`](anthropics/claude-code-action@e763fe7) chore: bump Claude Code to 2.1.68 and Agent SDK to 0.2.68 * [`5f8e5bf`](anthropics/claude-code-action@5f8e5bf) chore: bump Claude Code to 2.1.66 and Agent SDK to 0.2.66 * [`7336720`](anthropics/claude-code-action@7336720) Improve gh.sh wrapper: stricter validation and better error messages ([#996](https://redirect.github.com/anthropics/claude-code-action/issues/996)) * [`64c7a0e`](anthropics/claude-code-action@64c7a0e) Only expose permission\_denials count in sanitized output ([#993](https://redirect.github.com/anthropics/claude-code-action/issues/993)) * [`220272d`](anthropics/claude-code-action@220272d) Change the default `display_report` option to false to restrict exposed data ... * See full diff in [compare view](anthropics/claude-code-action@ba7fa4b...26ec041) Updates `github/codeql-action` from 4.32.4 to 4.32.6 Release notes *Sourced from [github/codeql-action's releases](https://github.com/github/codeql-action/releases).* > v4.32.6 > ------- > > * Update default CodeQL bundle version to [2.24.3](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.24.3). [#3548](https://redirect.github.com/github/codeql-action/pull/3548) > > v4.32.5 > ------- > > * Repositories owned by an organization can now set up the `github-codeql-disable-overlay` custom repository property to disable [improved incremental analysis for CodeQL](https://redirect.github.com/github/roadmap/issues/1158). First, create a custom repository property with the name `github-codeql-disable-overlay` and the type "True/false" in the organization's settings. Then in the repository's settings, set this property to `true` to disable improved incremental analysis. For more information, see [Managing custom properties for repositories in your organization](https://docs.github.com/en/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization). This feature is not yet available on GitHub Enterprise Server. [#3507](https://redirect.github.com/github/codeql-action/pull/3507) > * Added an experimental change so that when [improved incremental analysis](https://redirect.github.com/github/roadmap/issues/1158) fails on a runner — potentially due to insufficient disk space — the failure is recorded in the Actions cache so that subsequent runs will automatically skip improved incremental analysis until something changes (e.g. a larger runner is provisioned or a new CodeQL version is released). We expect to roll this change out to everyone in March. [#3487](https://redirect.github.com/github/codeql-action/pull/3487) > * The minimum memory check for improved incremental analysis is now skipped for CodeQL 2.24.3 and later, which has reduced peak RAM usage. [#3515](https://redirect.github.com/github/codeql-action/pull/3515) > * Reduced log levels for best-effort private package registry connection check failures to reduce noise from workflow annotations. [#3516](https://redirect.github.com/github/codeql-action/pull/3516) > * Added an experimental change which lowers the minimum disk space requirement for [improved incremental analysis](https://redirect.github.com/github/roadmap/issues/1158), enabling it to run on standard GitHub Actions runners. We expect to roll this change out to everyone in March. [#3498](https://redirect.github.com/github/codeql-action/pull/3498) > * Added an experimental change which allows the `start-proxy` action to resolve the CodeQL CLI version from feature flags instead of using the linked CLI bundle version. We expect to roll this change out to everyone in March. [#3512](https://redirect.github.com/github/codeql-action/pull/3512) > * The previously experimental changes from versions 4.32.3, 4.32.4, 3.32.3 and 3.32.4 are now enabled by default. [#3503](https://redirect.github.com/github/codeql-action/pull/3503), [#3504](https://redirect.github.com/github/codeql-action/pull/3504) Changelog *Sourced from [github/codeql-action's changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md).* > CodeQL Action Changelog > ======================= > > See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. > > [UNRELEASED] > ------------ > > No user facing changes. > > 4.32.6 - 05 Mar 2026 > -------------------- > > * Update default CodeQL bundle version to [2.24.3](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.24.3). [#3548](https://redirect.github.com/github/codeql-action/pull/3548) > > 4.32.5 - 02 Mar 2026 > -------------------- > > * Repositories owned by an organization can now set up the `github-codeql-disable-overlay` custom repository property to disable [improved incremental analysis for CodeQL](https://redirect.github.com/github/roadmap/issues/1158). First, create a custom repository property with the name `github-codeql-disable-overlay` and the type "True/false" in the organization's settings. Then in the repository's settings, set this property to `true` to disable improved incremental analysis. For more information, see [Managing custom properties for repositories in your organization](https://docs.github.com/en/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization). This feature is not yet available on GitHub Enterprise Server. [#3507](https://redirect.github.com/github/codeql-action/pull/3507) > * Added an experimental change so that when [improved incremental analysis](https://redirect.github.com/github/roadmap/issues/1158) fails on a runner — potentially due to insufficient disk space — the failure is recorded in the Actions cache so that subsequent runs will automatically skip improved incremental analysis until something changes (e.g. a larger runner is provisioned or a new CodeQL version is released). We expect to roll this change out to everyone in March. [#3487](https://redirect.github.com/github/codeql-action/pull/3487) > * The minimum memory check for improved incremental analysis is now skipped for CodeQL 2.24.3 and later, which has reduced peak RAM usage. [#3515](https://redirect.github.com/github/codeql-action/pull/3515) > * Reduced log levels for best-effort private package registry connection check failures to reduce noise from workflow annotations. [#3516](https://redirect.github.com/github/codeql-action/pull/3516) > * Added an experimental change which lowers the minimum disk space requirement for [improved incremental analysis](https://redirect.github.com/github/roadmap/issues/1158), enabling it to run on standard GitHub Actions runners. We expect to roll this change out to everyone in March. [#3498](https://redirect.github.com/github/codeql-action/pull/3498) > * Added an experimental change which allows the `start-proxy` action to resolve the CodeQL CLI version from feature flags instead of using the linked CLI bundle version. We expect to roll this change out to everyone in March. [#3512](https://redirect.github.com/github/codeql-action/pull/3512) > * The previously experimental changes from versions 4.32.3, 4.32.4, 3.32.3 and 3.32.4 are now enabled by default. [#3503](https://redirect.github.com/github/codeql-action/pull/3503), [#3504](https://redirect.github.com/github/codeql-action/pull/3504) > > 4.32.4 - 20 Feb 2026 > -------------------- > > * Update default CodeQL bundle version to [2.24.2](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.24.2). [#3493](https://redirect.github.com/github/codeql-action/pull/3493) > * Added an experimental change which improves how certificates are generated for the authentication proxy that is used by the CodeQL Action in Default Setup when [private package registries are configured](https://docs.github.com/en/code-security/how-tos/secure-at-scale/configure-organization-security/manage-usage-and-access/giving-org-access-private-registries). This is expected to generate more widely compatible certificates and should have no impact on analyses which are working correctly already. We expect to roll this change out to everyone in February. [#3473](https://redirect.github.com/github/codeql-action/pull/3473) > * When the CodeQL Action is run [with debugging enabled in Default Setup](https://docs.github.com/en/code-security/how-tos/scan-code-for-vulnerabilities/troubleshooting/troubleshooting-analysis-errors/logs-not-detailed-enough#creating-codeql-debugging-artifacts-for-codeql-default-setup) and [private package registries are configured](https://docs.github.com/en/code-security/how-tos/secure-at-scale/configure-organization-security/manage-usage-and-access/giving-org-access-private-registries), the "Setup proxy for registries" step will output additional diagnostic information that can be used for troubleshooting. [#3486](https://redirect.github.com/github/codeql-action/pull/3486) > * Added a setting which allows the CodeQL Action to enable network debugging for Java programs. This will help GitHub staff support customers with troubleshooting issues in GitHub-managed CodeQL workflows, such as Default Setup. This setting can only be enabled by GitHub staff. [#3485](https://redirect.github.com/github/codeql-action/pull/3485) > * Added a setting which enables GitHub-managed workflows, such as Default Setup, to use a [nightly CodeQL CLI release](https://github.com/dsp-testing/codeql-cli-nightlies) instead of the latest, stable release that is used by default. This will help GitHub staff support customers whose analyses for a given repository or organization require early access to a change in an upcoming CodeQL CLI release. This setting can only be enabled by GitHub staff. [#3484](https://redirect.github.com/github/codeql-action/pull/3484) > > 4.32.3 - 13 Feb 2026 > -------------------- > > * Added experimental support for testing connections to [private package registries](https://docs.github.com/en/code-security/how-tos/secure-at-scale/configure-organization-security/manage-usage-and-access/giving-org-access-private-registries). This feature is not currently enabled for any analysis. In the future, it may be enabled by default for Default Setup. [#3466](https://redirect.github.com/github/codeql-action/pull/3466) > > 4.32.2 - 05 Feb 2026 > -------------------- > > * Update default CodeQL bundle version to [2.24.1](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.24.1). [#3460](https://redirect.github.com/github/codeql-action/pull/3460) > > 4.32.1 - 02 Feb 2026 > -------------------- > > * A warning is now shown in Default Setup workflow logs if a [private package registry is configured](https://docs.github.com/en/code-security/how-tos/secure-at-scale/configure-organization-security/manage-usage-and-access/giving-org-access-private-registries) using a GitHub Personal Access Token (PAT), but no username is configured. [#3422](https://redirect.github.com/github/codeql-action/pull/3422) > * Fixed a bug which caused the CodeQL Action to fail when repository properties cannot successfully be retrieved. [#3421](https://redirect.github.com/github/codeql-action/pull/3421) > > 4.32.0 - 26 Jan 2026 > -------------------- > > * Update default CodeQL bundle version to [2.24.0](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.24.0). [#3425](https://redirect.github.com/github/codeql-action/pull/3425) > > 4.31.11 - 23 Jan 2026 > --------------------- > > * When running a Default Setup workflow with [Actions debugging enabled](https://docs.github.com/en/actions/how-tos/monitor-workflows/enable-debug-logging), the CodeQL Action will now use more unique names when uploading logs from the Dependabot authentication proxy as workflow artifacts. This ensures that the artifact names do not clash between multiple jobs in a build matrix. [#3409](https://redirect.github.com/github/codeql-action/pull/3409) ... (truncated) Commits * [`0d579ff`](github/codeql-action@0d579ff) Merge pull request [#3551](https://redirect.github.com/github/codeql-action/issues/3551) from github/update-v4.32.6-72d2d850d * [`d4c6be7`](github/codeql-action@d4c6be7) Update changelog for v4.32.6 * [`72d2d85`](github/codeql-action@72d2d85) Merge pull request [#3548](https://redirect.github.com/github/codeql-action/issues/3548) from github/update-bundle/codeql-bundle-v2.24.3 * [`23f983c`](github/codeql-action@23f983c) Merge pull request [#3544](https://redirect.github.com/github/codeql-action/issues/3544) from github/dependabot/github\_actions/dot-github/wor... * [`832e97c`](github/codeql-action@832e97c) Merge pull request [#3545](https://redirect.github.com/github/codeql-action/issues/3545) from github/dependabot/github\_actions/dot-github/wor... * [`5ef38c0`](github/codeql-action@5ef38c0) Merge pull request [#3546](https://redirect.github.com/github/codeql-action/issues/3546) from github/dependabot/npm\_and\_yarn/tar-7.5.10 * [`80c9cda`](github/codeql-action@80c9cda) Add changelog note * [`f2669dd`](github/codeql-action@f2669dd) Update default bundle to codeql-bundle-v2.24.3 * [`bd03c44`](github/codeql-action@bd03c44) Merge branch 'main' into dependabot/github\_actions/dot-github/workflows/actio... * [`102d762`](github/codeql-action@102d762) Bump tar from 7.5.7 to 7.5.10 * Additional commits viewable in [compare view](github/codeql-action@89a39a4...0d579ff) Updates `dorny/test-reporter` from 2.5.0 to 2.6.0 Release notes *Sourced from [dorny/test-reporter's releases](https://github.com/dorny/test-reporter/releases).* > v2.6.0 > ------ > > We updated all dependency packages to latest versions to fix reported security vulnerabilities. > > What's Changed > -------------- > > * Fix: For `workflow_run` events, resolve the commit of the check run from related pull request head commits first (matching `workflow_run.head_branch`, then first PR), and fall back to `workflow_run.head_sha` for non-PR runs [dorny/test-reporter#673](https://redirect.github.com/dorny/test-reporter/pull/673) > * Change: The `test-reporter` action will listed all artifacts associated with the build run [dorny/test-reporter#693](https://redirect.github.com/dorny/test-reporter/pull/693) > * Maintenance: Upgrade to ESLint v9 [dorny/test-reporter#629](https://redirect.github.com/dorny/test-reporter/pull/629) > > New Contributors > ---------------- > > * [`@azchohfi`](https://github.com/azchohfi) made their first contribution in [dorny/test-reporter#673](https://redirect.github.com/dorny/test-reporter/pull/673) > > **Full Changelog**: <dorny/test-reporter@v2.5.0...v2.6.0> Changelog *Sourced from [dorny/test-reporter's changelog](https://github.com/dorny/test-reporter/blob/main/CHANGELOG.md).* > Changelog > ========= > > 2.6.0 > ----- > > * Fix: For `workflow_run` events, resolve the commit of the check run from related pull request head commits first (matching `workflow_run.head_branch`, then first PR), and fall back to `workflow_run.head_sha` for non-PR runs [dorny/test-reporter#673](https://redirect.github.com/dorny/test-reporter/pull/673) > * Change: The `test-reporter` action will listed all artifacts associated with the build run [dorny/test-reporter#693](https://redirect.github.com/dorny/test-reporter/pull/693) > * Maintenance: Upgrade to ESLint v9 [dorny/test-reporter#629](https://redirect.github.com/dorny/test-reporter/pull/629) > > 2.5.0 > ----- > > * Feature: Add Nette Tester support with `tester-junit` reporter [dorny/test-reporter#707](https://redirect.github.com/dorny/test-reporter/pull/707) > * Maintenance: Bump actions/upload-artifact from 5 to 6 [dorny/test-reporter#695](https://redirect.github.com/dorny/test-reporter/pull/695) > > 2.4.0 > ----- > > * Feature: Add PHPUnit support with JUnit XML dialect parser [dorny/test-reporter#422](https://redirect.github.com/dorny/test-reporter/pull/422) > * Feature: Add JUnit XML sample files and tests for validation [dorny/test-reporter#701](https://redirect.github.com/dorny/test-reporter/pull/701) > * Fix: Refactor deprecated `String.substr()` function to use `String.substring()` [dorny/test-reporter#704](https://redirect.github.com/dorny/test-reporter/pull/704) > > 2.3.0 > ----- > > * Feature: Add Python support with `python-xunit` reporter (pytest) [dorny/test-reporter#643](https://redirect.github.com/dorny/test-reporter/pull/643) > * Feature: Add pytest traceback parsing and `directory-mapping` option [dorny/test-reporter#238](https://redirect.github.com/dorny/test-reporter/pull/238) > * Performance: Update sax.js to fix large XML file parsing [dorny/test-reporter#681](https://redirect.github.com/dorny/test-reporter/pull/681) > * Documentation: Complete documentation for all supported reporters [dorny/test-reporter#691](https://redirect.github.com/dorny/test-reporter/pull/691) > * Security: Bump js-yaml and mocha in /reports/mocha (fixes prototype pollution) [dorny/test-reporter#682](https://redirect.github.com/dorny/test-reporter/pull/682) > > 2.2.0 > ----- > > * Feature: Add collapsed option to control report summary visibility [dorny/test-reporter#664](https://redirect.github.com/dorny/test-reporter/pull/664) > * Fix badge encoding for values including underscore and hyphens [dorny/test-reporter#672](https://redirect.github.com/dorny/test-reporter/pull/672) > * Fix missing `report-title` attribute in action definition [dorny/test-reporter#637](https://redirect.github.com/dorny/test-reporter/pull/637) > * Refactor variable names to fix shadowing issues [dorny/test-reporter#630](https://redirect.github.com/dorny/test-reporter/pull/630) > > 2.1.1 > ----- > > * Fix error when a TestMethod element does not have a className attribute in a trx file [dorny/test-reporter#623](https://redirect.github.com/dorny/test-reporter/pull/623) > * Add stack trace from trx to summary [dorny/test-reporter#615](https://redirect.github.com/dorny/test-reporter/pull/615) > * List only failed tests [dorny/test-reporter#606](https://redirect.github.com/dorny/test-reporter/pull/606) > * Add type definitions to `github-utils.ts` [dorny/test-reporter#604](https://redirect.github.com/dorny/test-reporter/pull/604) > * Avoid split on undefined [dorny/test-reporter#258](https://redirect.github.com/dorny/test-reporter/pull/258) > * Return links to summary report [dorny/test-reporter#588](https://redirect.github.com/dorny/test-reporter/pull/588) > * Add step summary short summary [dorny/test-reporter#589](https://redirect.github.com/dorny/test-reporter/pull/589) > * Fix for empty TRX TestDefinitions [dorny/test-reporter#582](https://redirect.github.com/dorny/test-reporter/pull/582) > * Increase step summary limit to 1MiB [dorny/test-reporter#581](https://redirect.github.com/dorny/test-reporter/pull/581) > * Fix input description for list options [dorny/test-reporter#572](https://redirect.github.com/dorny/test-reporter/pull/572) > > 2.1.0 > ----- > > * Feature: Add summary title [dorny/test-reporter#568](https://redirect.github.com/dorny/test-reporter/pull/568) > * Feature: Add Golang test parser [dorny/test-reporter#571](https://redirect.github.com/dorny/test-reporter/pull/571) > * Increase step summary limit to 1MiB [dorny/test-reporter#581](https://redirect.github.com/dorny/test-reporter/pull/581) > * Fix for empty TRX TestDefinitions [dorny/test-reporter#582](https://redirect.github.com/dorny/test-reporter/pull/582) > * Fix input description for list options [dorny/test-reporter#572](https://redirect.github.com/dorny/test-reporter/pull/572) > * Update npm packages [dorny/test-reporter#583](https://redirect.github.com/dorny/test-reporter/pull/583) > > 2.0.0 > ----- ... (truncated) Commits * [`3d76b34`](dorny/test-reporter@3d76b34) Merge pull request [#730](https://redirect.github.com/dorny/test-reporter/issues/730) from dorny/feature/166-list-all-artifacts * [`a71adbe`](dorny/test-reporter@a71adbe) Update changelog * [`34ed02c`](dorny/test-reporter@34ed02c) Merge pull request [#728](https://redirect.github.com/dorny/test-reporter/issues/728) from dorny/dependabot/npm\_and\_yarn/ts-jest-29.4.6 * [`5204d85`](dorny/test-reporter@5204d85) Bump ts-jest from 29.4.5 to 29.4.6 * [`6658c27`](dorny/test-reporter@6658c27) Merge pull request [#727](https://redirect.github.com/dorny/test-reporter/issues/727) from dorny/feature/fix\_vulnerabilities * [`9b46772`](dorny/test-reporter@9b46772) Use `npm audit fix` to update sub dependencies * [`b3a9df8`](dorny/test-reporter@b3a9df8) Merge pull request [#629](https://redirect.github.com/dorny/test-reporter/issues/629) from dorny/feature/601\_eslint\_v9 * [`deb1d02`](dorny/test-reporter@deb1d02) Rebuild the `dist/index.js` file * [`69312b9`](dorny/test-reporter@69312b9) Update changelog * [`eed2d2d`](dorny/test-reporter@eed2d2d) Modernize ESLint configuration * Additional commits viewable in [compare view](dorny/test-reporter@b082adf...3d76b34) Updates `actions/setup-node` from 6.2.0 to 6.3.0 Release notes *Sourced from [actions/setup-node's releases](https://github.com/actions/setup-node/releases).* > v6.3.0 > ------ > > What's Changed > -------------- > > ### Enhancements: > > * Support parsing `devEngines` field by [`@susnux`](https://github.com/susnux) in [actions/setup-node#1283](https://redirect.github.com/actions/setup-node/pull/1283) > > > When using node-version-file: package.json, setup-node now prefers devEngines.runtime over engines.node. > > ### Dependency updates: > > * Fix npm audit issues by [`@gowridurgad`](https://github.com/gowridurgad) in [actions/setup-node#1491](https://redirect.github.com/actions/setup-node/pull/1491) > * Replace uuid with crypto.randomUUID() by [`@trivikr`](https://github.com/trivikr) in [actions/setup-node#1378](https://redirect.github.com/actions/setup-node/pull/1378) > * Upgrade minimatch from 3.1.2 to 3.1.5 by [`@dependabot`](https://github.com/dependabot) in [actions/setup-node#1498](https://redirect.github.com/actions/setup-node/pull/1498) > > ### Bug fixes: > > * Remove hardcoded bearer for mirror-url [`@marco-ippolito`](https://github.com/marco-ippolito) in [actions/setup-node#1467](https://redirect.github.com/actions/setup-node/pull/1467) > * Scope test lockfiles by package manager and update cache tests by [`@gowridurgad`](https://github.com/gowridurgad) in [actions/setup-node#1495](https://redirect.github.com/actions/setup-node/pull/1495) > > New Contributors > ---------------- > > * [`@susnux`](https://github.com/susnux) made their first contribution in [actions/setup-node#1283](https://redirect.github.com/actions/setup-node/pull/1283) > > **Full Changelog**: <actions/setup-node@v6...v6.3.0> Commits * [`53b8394`](actions/setup-node@53b8394) Bump minimatch from 3.1.2 to 3.1.5 ([#1498](https://redirect.github.com/actions/setup-node/issues/1498)) * [`54045ab`](actions/setup-node@54045ab) Scope test lockfiles by package manager and update cache tests ([#1495](https://redirect.github.com/actions/setup-node/issues/1495)) * [`c882bff`](actions/setup-node@c882bff) Replace uuid with crypto.randomUUID() ([#1378](https://redirect.github.com/actions/setup-node/issues/1378)) * [`774c1d6`](actions/setup-node@774c1d6) feat(node-version-file): support parsing `devEngines` field ([#1283](https://redirect.github.com/actions/setup-node/issues/1283)) * [`efcb663`](actions/setup-node@efcb663) fix: remove hardcoded bearer ([#1467](https://redirect.github.com/actions/setup-node/issues/1467)) * [`d02c89d`](actions/setup-node@d02c89d) Fix npm audit issues ([#1491](https://redirect.github.com/actions/setup-node/issues/1491)) * See full diff in [compare view](actions/setup-node@6044e13...53b8394) Updates `actions/dependency-review-action` from 4.8.3 to 4.9.0 Release notes *Sourced from [actions/dependency-review-action's releases](https://github.com/actions/dependency-review-action/releases).* > Dependency Review Action 4.9.0 > ------------------------------ > > This feature release contains a couple of notable changes: > > * There is a new configuration option `show_patched_versions` which will add a column to the output, showing the fix version of each vulnerable dependency. Thanks [`@felickz`](https://github.com/felickz)! > * Runs which do not display OpenSSF scorecards no longer fetch scorecard information; previously it was fetched regardless of whether or not it was displayed, causing unneccessary slowness. Great catch [`@jantiebot`](https://github.com/jantiebot)! > * There are a couple of fixes to purl parsing which should improve match accuracy for `allow-package-dependency` lists, including case (in)sensitivity and url-encoded namespaces Thanks [`@juxtin`](https://github.com/juxtin)! > > What's Changed > -------------- > > * Compare normalized purls to account for encoding quirks by [`@juxtin`](https://github.com/juxtin) in [actions/dependency-review-action#1056](https://redirect.github.com/actions/dependency-review-action/pull/1056) > * Make purl comparisons case insensitive by [`@juxtin`](https://github.com/juxtin) in [actions/dependency-review-action#1057](https://redirect.github.com/actions/dependency-review-action/pull/1057) > * Feat: Add `Patched Version` to `Vulnerabilities` summary by [`@felickz`](https://github.com/felickz) in [actions/dependency-review-action#1045](https://redirect.github.com/actions/dependency-review-action/pull/1045) > * fix: only get scorecard levels if user wants to see the OpenSSF scorecard by [`@jantiebot`](https://github.com/jantiebot) in [actions/dependency-review-action#1060](https://redirect.github.com/actions/dependency-review-action/pull/1060) > * Bump actions/stale from 10.1.0 to 10.2.0 by [`@dependabot`](https://github.com/dependabot)[bot] in [actions/dependency-review-action#1058](https://redirect.github.com/actions/dependency-review-action/pull/1058) > * Bump actions/checkout from 4 to 6 by [`@dependabot`](https://github.com/dependabot)[bot] in [actions/dependency-review-action#1021](https://redirect.github.com/actions/dependency-review-action/pull/1021) > * Updates for release 4.9.0 by [`@ahpook`](https://github.com/ahpook) in [actions/dependency-review-action#1064](https://redirect.github.com/actions/dependency-review-action/pull/1064) > > New Contributors > ---------------- > > * [`@jantiebot`](https://github.com/jantiebot) made their first contribution in [actions/dependency-review-action#1060](https://redirect.github.com/actions/dependency-review-action/pull/1060) > > **Full Changelog**: <actions/dependency-review-action@v4.8.3...v4.9.0> Commits * [`2031cfc`](actions/dependency-review-action@2031cfc) Merge pull request [#1064](https://redirect.github.com/actions/dependency-review-action/issues/1064) from actions/ahpook/release-4.9.0 * [`d02fa39`](actions/dependency-review-action@d02fa39) Updates for release 4.9.0 * [`4038a34`](actions/dependency-review-action@4038a34) Merge pull request [#1021](https://redirect.github.com/actions/dependency-review-action/issues/1021) from actions/dependabot/github\_actions/actions/check... * [`a632b83`](actions/dependency-review-action@a632b83) Merge pull request [#1058](https://redirect.github.com/actions/dependency-review-action/issues/1058) from actions/dependabot/github\_actions/actions/stale... * [`57a3d46`](actions/dependency-review-action@57a3d46) Merge pull request [#1060](https://redirect.github.com/actions/dependency-review-action/issues/1060) from jantiebot/main * [`5ecdc4b`](actions/dependency-review-action@5ecdc4b) Merge pull request [#1045](https://redirect.github.com/actions/dependency-review-action/issues/1045) from forks-felickz/main * [`e8c2f9a`](actions/dependency-review-action@e8c2f9a) fix: remove inferrable type annotation to pass eslint * [`0e129e1`](actions/dependency-review-action@0e129e1) Prettier - Refactor summary table rendering for improved readability * [`aa60746`](actions/dependency-review-action@aa60746) Add 'show-patched-versions' option to configuration and update summary handling * [`e404798`](actions/dependency-review-action@e404798) Merge upstream actions/dependency-review-action main * Additional commits viewable in [compare view](actions/dependency-review-action@05fe457...2031cfc) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Fix case-sensitive PURL matching in
allow-dependencies-licensesFollow-up to #1056. Closes #991.
Problem
PURL matching in
purlsMatchwas case-sensitive, sopkg:githubactions/MyOrg/MyActionwould not matchpkg:githubactions/myorg/myaction. Since GitHub org/repo names are case-insensitive (and similarly for npm, PyPI, etc.), users had to guess the exact casing used by the dependency graph API.Fix
Made
purlsMatchcomparisons case-insensitive for bothtypeand the normalizednamespace/name. This is consistent with how the underlying registries treat names.Tests added