I believe this fix was mistaken
I believe this fix was mistaken

In the issue carhartl/jquery-cookie#155, maxim-dev says "Of course, I
had to code the name using urlencode() (for PHP, for example), but I did
not (my fault, I admit it)".

So, the user acknowledged that he was wrong and the issue was about the
wrong "$.removeCookie" return value instead of the fact the key had the
"[]" square bracket characters.

In RFC 6265 it's clear that a token (cookie-name) should NOT contain
square brackets characters. In the issue above, the brackets in the
cookie-name was the problem in the first place, and the OP acknowledged
that, so the fix to allow square brackets in the name is unnecessary.
ershov-ilya/js-cookie,gpluta/js-cookie,arokiajustus/js-cookie,billybonz1/js-cookie,jafartke/js-cookie,titiushko/js-cookie,stevewithington/js-cookie,gregzx/js-cookie,navierula/js-cookie,adrianha/js-cookie,jafartke/js-cookie,saraivaufc/js-cookie,fernandovalente/js-cookie,fernandovalente/js-cookie,lowyjoe/js-cookie,jafartke/js-cookie,trivvet/js-cookie,lowyjoe/js-cookie,lihp2014/js-cookie,martindale/js-cookie,martindale/js-cookie,billybonz1/js-cookie,oponder/js-cookie,titiushko/js-cookie,js-cookie/js-cookie,ershov-ilya/js-cookie,carhartl/js-cookie,arokiajustus/js-cookie,trivvet/js-cookie,y2468101216/js-cookie,navierula/js-cookie,oponder/js-cookie,CodeLoversAt/js-cookie,ershov-ilya/js-cookie,Requilence/yii2-js-cookie,y2468101216/js-cookie,oponder/js-cookie,js-cookie/js-cookie,CodeLoversAt/js-cookie,AlexVPopov/js-cookie,carhartl/js-cookie,Requilence/yii2-js-cookie,factorial-io/js-cookie,timse/js-cookie,lowyjoe/js-cookie,gpluta/js-cookie,CodeLoversAt/js-cookie,saraivaufc/js-cookie,AnthonyRNL/js-cookie,AlexVPopov/js-cookie,fernandovalente/js-cookie,y2468101216/js-cookie,lihp2014/js-cookie,trivvet/js-cookie,gregzx/js-cookie,gpluta/js-cookie,gregzx/js-cookie,lihp2014/js-cookie,AnthonyRNL/js-cookie,martindale/js-cookie,titiushko/js-cookie,timse/js-cookie,factorial-io/js-cookie,navierula/js-cookie,adrianha/js-cookie,factorial-io/js-cookie,AnthonyRNL/js-cookie,adrianha/js-cookie,arokiajustus/js-cookie,stevewithington/js-cookie,billybonz1/js-cookie,timse/js-cookie,saraivaufc/js-cookie,AlexVPopov/js-cookie,stevewithington/js-cookie,Requilence/yii2-js-cookie