-
Notifications
You must be signed in to change notification settings - Fork 21
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
Security Policy questions #51
Comments
Hi @theodoreb, i'm glad you guys are interested in my project, i have no official policy and i'll try to answer all your questions but i need to clarify that i work on this project on my spare time and just as a hobby now. Release windows/cadence Backwards compatibility guarantees Security releases If a vulnerability was found, do you have a process for privately reporting and fixing those issues? Would you be willing to work with the Drupal Security Team to coordinate the timing of a new release if necessary? Some other notes:
|
Thanks a lot for your time and answer. If that can reassure you, we don't need the latest ecma features right away since they're not going to be supported by our supported browsers before a couple of years at least. So that's totally fine if it takes time to make it in. And we have enough people with PHP knowledge in the community that they can contribute support for new features if they need it faster than you are able to work on it. I'm not expecting that Drupal using this library will create more pressure to get things done "quickly", maybe more time spent on code review though :) We're aware the minification is a side-effect and that is good enough for us. We're tried a couple of other well known php-based js minifiers and they all have edge cases where they silently corrupt the compressed JS, to us a proper parser is the safest way to reduce the size of our js files without introducing more problems. If you have things that you want to see implemented it could be good to have a few open issues so that people can pick them up if they wish to. I know it's extra work so if you're not up for it that's completely ok too. In any case, that's all the informations we needed at this point. |
@theodoreb the major problem of this project is performance, i've optimized several parts during the years but it's still slow on medium/large files and right now i couldn't find other optimization to apply, so if you find something that can be improved, please let me know or create a PR. I also point out that i've solved some issues about invalid syntax generated by the Compact formatter in the past, so if you find other cases please open an issue and i will take a look. I close this issue for now but feel free to comment again if you have other questsions. |
Hi,
The Drupal project is considering adding peast as a dependency to provide PHP-based shortening of JS files, by using the compact formatter to remove comments mainly. https://www.drupal.org/project/drupal/issues/3302755
Before that can be approved by the maintainers we have to perform a standard stability review.
If you could answer these questions it would be very helpful for our due diligence!
Do you have any official policies with regards to:
I couldn't find the security policy on github so a couple additional questions:
I would really appreciate any info you can provide, and please let me know if anything is unclear.
Thanks!
The text was updated successfully, but these errors were encountered: