Giter Club home page Giter Club logo

Comments (11)

ajgarlag avatar ajgarlag commented on July 18, 2024

I'm having the same issue. The regression was introduced in 23b8ec9.

from fosjsroutingbundle.

flodaq avatar flodaq commented on July 18, 2024

Same issue. Downgrade to 3.3.0 solved the issue.

from fosjsroutingbundle.

pyksid avatar pyksid commented on July 18, 2024

Same issue here too. Revert to previous version.

from fosjsroutingbundle.

ajgarlag avatar ajgarlag commented on July 18, 2024

@ar10642, can you review this issue? Thanks!

from fosjsroutingbundle.

ar10642 avatar ar10642 commented on July 18, 2024

OK maybe this doesn't work as expected, although all tests passed for me. Possibly some situation not covered by the tests. We are using Symfony 5.4 and didn't have any errors. I don't have any Symfony 6.4 projects I can try this with right now. Might need to revert?

from fosjsroutingbundle.

ajgarlag avatar ajgarlag commented on July 18, 2024

@ar10642, here is a reproducer with Symfony 5.4: https://github.com/ajgarlag/FOSJsRoutingBundle/blob/issue-473-reproducer/README.md

The diff between the working and failing commits is ajgarlag@4e83701

Hope this can help you or any other developer to fix the bug.

from fosjsroutingbundle.

tobias-93 avatar tobias-93 commented on July 18, 2024

Hi all,

First of all, this is independent of the Symfony version as the only thing that was broken is the Webpack integration.
@ajgarlag thanks for the reproducer, that was actually of great help.
The problem was that the previous implementation of the Webpack plugin (which is a part of the bundle which is not included in the automated tests) would actually inject the generated files, but the BannerPlugin is only meant to prepend or append text in a built file.
I have found a fork of the original plugin which doesn't seem abandoned, and doesn't rely on the vulnerable dependency for which the original action was executed.
Please try release 3.4.1 and let me know, I myself don't use the Webpack plugin so it's hard for me to test in an actual application.

from fosjsroutingbundle.

craigh avatar craigh commented on July 18, 2024

@tobias-93

3.4.1 is working for me. thank you for the fix!

from fosjsroutingbundle.

tobias-93 avatar tobias-93 commented on July 18, 2024

@craigh thanks for the feedback, closing the issue.

from fosjsroutingbundle.

ar10642 avatar ar10642 commented on July 18, 2024

from fosjsroutingbundle.

ajgarlag avatar ajgarlag commented on July 18, 2024

@tobias-93 Thanks for the fix. It works fine!

from fosjsroutingbundle.

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.