-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Future? #19
Comments
BTW should of said - updating to uglify-js >=2.6.0 fixes the security issue. |
It's looking for a maintainer at the moment. If your interested, dependencies need updating and it needs to be renamed to then-pug. The biggest job will be that it needs porting to call the low level pug pipeline modules (i.e. |
@ForbesLindesay, note that cf issue "rewrite code-gen using babel" - pugjs/pug#2708 I am interested in your feedback on issue 2708 to know if this direction for code-gen is still something you'd like to pursue now that pugjs is out of beta. @crisward I will look at the upgrade the uglify version on |
@jeromew I'll keep my eyes open for then-pug being finalised. Thanks for the update and your work on this. |
@crisward I just published 2.4.4 with uglify-js on 2.4.24 (same as in your PR). Tell me if it works for you. |
Thanks for your help on this. I installed 2.4.4 and I still get the security errors.
However if I install from BTW I did the usual routine of deleting my |
your problem seems to come from the dependencies of jade 1.11.0. The issue has already been discussed for instance pugjs/pug#2399 and pugjs/pug#2072. I will speak under @ForbesLindesay's scrutiny, but within the pugjs project, the choice was made at this stage to not publish new versions of jade and jade subprojects because we do not want to maitain them as pug is already production ready. regarding then-jade, I already use then-pug in production code and it works without a flaw imho. I added warnings to the npm project because the way then-pug was coded is not totally streamlined. someone has decided to publish and updated jade version under https://www.npmjs.com/package/jade-legacy. This version would fix your issue. maybe I can suggest that you create a new tell me what you think. |
@jeromew can you update this repo to have the code for |
@ForbesLindesay yes it works. I'll see how to organise the repo to use the pug babel branch. |
Also noticed it uses lots of babel stuff to make generators possible (via regenerator). This could probably be dropped now these are supported in node? |
Sooo ... is this alive? |
it currently works. I still have difficulties to find a good way to organise the repo in order to keep it simple to stay in sync with upstream. |
I saw an update of Pug from 6 month ago - is there anything missing in then-pug compared to pug? |
We use
then jade
in our websites as it gives us the ability to call async functions from our templatesie
- var menuitems = getMenuFromDatabase()
Are there any plans to update this library? It's currently tripping the node security plugin with this - https://nodesecurity.io/advisories/39 for the uglify js dependency.
Thanks!
The text was updated successfully, but these errors were encountered: