minifierbeans icon indicating copy to clipboard operation
minifierbeans copied to clipboard

[BUG] caniuse-lite is outdated, How to Update?

Open jkofskyadx opened this issue 1 year ago • 9 comments

I keep getting this error message:

Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme

jkofskyadx avatar Sep 10 '24 19:09 jkofskyadx

Hey, can you please be more specific and tell me when do you get this error exactly and is this a real error and blocks the plugin from working or just a warning?

Chris2011 avatar Sep 10 '24 19:09 Chris2011

It shows up in the "Minification in Progress" tab in the output window. It appears to be just a warning.

Product Version: Apache NetBeans IDE 22 Java: 18.0.1.1; Java HotSpot(TM) 64-Bit Server VM 18.0.1.1+2-6 Runtime: Java(TM) SE Runtime Environment 18.0.1.1+2-6 System: Windows 10 version 10.0 running on amd64; UTF-8; en_US (nb)

jkofskyadx avatar Sep 10 '24 19:09 jkofskyadx

On any minifcation or what do you use? CSS, JS, HTML, XML, etc.?

Chris2011 avatar Sep 10 '24 19:09 Chris2011

I have set up CSS Auto Save. Warning appears on <Right-Click> Minify. JS & HTML works in <Right-Click>

jkofskyadx avatar Sep 10 '24 20:09 jkofskyadx

Thx will have a look but it is not at my list atm. So just ignore it please for the first time, or if you want just try to make a PR :)

Chris2011 avatar Sep 10 '24 20:09 Chris2011

Will wait. :(

jkofskyadx avatar Sep 10 '24 20:09 jkofskyadx

Well, I do it in my free time, it is open source and if you would like to learn more stuff and willing to help, you can try to look at the code. Also it is just a warning, the problem, that it is shown red is a NetBeans problem with the ansi codes in generel, this shouldn't be the correct color, this is what I can't prevent. I need to update it everytime this is outdated.

Chris2011 avatar Sep 10 '24 20:09 Chris2011

can you assign this to me I will do your work

uzefaqureshi06 avatar Oct 01 '24 14:10 uzefaqureshi06

@uzefaqureshi06 Cool thanks :). Looking forward to your PR.

Chris2011 avatar Oct 01 '24 21:10 Chris2011

@uzefaqureshi06 hey any news here for your help?

Chris2011 avatar Mar 30 '25 15:03 Chris2011

Updated it by running npx update-browserslist-db@latest in the .netbeans/minifierbeans/custom-packages of my user profile folder.

deepvision7 avatar Sep 02 '25 04:09 deepvision7