Giter VIP home page Giter VIP logo

Comments (6)

watercable76 avatar watercable76 commented on July 17, 2024 1

Just double checked, and we are not using any configurations besides the default settings. Here's the build process, which is the same as the documentation example:

dependency-review:
    name: Dependency Review
    runs-on: ubuntu-latest
    steps:
      - name: 'Checkout Repository'
        uses: actions/checkout@v4
      - name: 'Dependency Review'
        uses: actions/dependency-review-action@v4

from dependency-review-action.

rajsite avatar rajsite commented on July 17, 2024

Was just about to report the same issue. Had to pin to actions/[email protected] to prevent a build issue.
Example build: https://github.com/ni/nimble/actions/runs/8853178015

Edit: I get a slightly different error with v4.3 is Error: A purl string argument is required.

from dependency-review-action.

juxtin avatar juxtin commented on July 17, 2024

Thanks for the report, @watercable76! Sorry for the bother, I've reset the v4 tag to point to the previous release while we figure this out.

from dependency-review-action.

juxtin avatar juxtin commented on July 17, 2024

I'm having a hard time reproducing this in my test repo(s). @watercable76, can you share (a possibly redacted version of) your dependency review config?

from dependency-review-action.

juxtin avatar juxtin commented on July 17, 2024

I've narrowed down the cause of this to the handling of @ symbols in NPM namespaces. These weren't a problem before because we weren't using a packageurl-js, but it has a somewhat pedantic insistence that the namespace be URL-encoded. To be fair, that is what the spec dictates.

Nonetheless, I've seen many implementations that tolerate @ symbols there, and I think there's a practical purpose to that. In this case, not only are user configs likely to have things like pkg:npm/@namespace/name, but even internally we tend to represent namespaces in purls with the literal @ rather than %40.

Given the amount of monkeying around we've already had to do to get this library working, and our modest needs for parsing in the first place, I'm tempted to just hand-roll our own purl parser and be done with it.

from dependency-review-action.

juxtin avatar juxtin commented on July 17, 2024

@watercable76 thanks again for the report, this should be fixed now.

from dependency-review-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.