diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/agents.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/agents.js new file mode 100644 index 0000000000000000000000000000000000000000..919c4ace211a9ec40b81580b2a6a14747619c8aa --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/agents.js @@ -0,0 +1 @@ +module.exports={A:{A:{K:0,D:0,E:0.0331526,F:0.0248644,A:0.00828815,B:0.605035,sC:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","sC","K","D","E","F","A","B","","",""],E:"IE",F:{sC:962323200,K:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968000}},B:{A:{"0":0,C:0,L:0,M:0,G:0,N:0,O:0,P:0.04422,Q:0,H:0,R:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:0.01206,c:0,d:0,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:0,m:0.00402,n:0,o:0,p:0,q:0,r:0,s:0.0402,t:0,u:0,v:0,w:0.00804,x:0.01206,y:0.00402,z:0,AB:0,BB:0,CB:0.02814,DB:0.00804,EB:0.01206,FB:0.00402,GB:0.00402,HB:0.00402,IB:0.01206,JB:0.01206,KB:0.00804,LB:0.0201,MB:0.01206,NB:0.02814,OB:0.01608,PB:0.01608,QB:0.04824,RB:0.02814,SB:0.04824,TB:0.21306,UB:4.0602,I:0.01206},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","L","M","G","N","O","P","Q","H","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","I","","",""],E:"Edge",F:{"0":1694649600,C:1438128000,L:1447286400,M:1470096000,G:1491868800,N:1508198400,O:1525046400,P:1542067200,Q:1579046400,H:1581033600,R:1586736000,S:1590019200,T:1594857600,U:1598486400,V:1602201600,W:1605830400,X:1611360000,Y:1614816000,Z:1618358400,a:1622073600,b:1626912000,c:1630627200,d:1632441600,e:1634774400,f:1637539200,g:1641427200,h:1643932800,i:1646265600,j:1649635200,k:1651190400,l:1653955200,m:1655942400,n:1659657600,o:1661990400,p:1664755200,q:1666915200,r:1670198400,s:1673481600,t:1675900800,u:1678665600,v:1680825600,w:1683158400,x:1685664000,y:1689897600,z:1692576000,AB:1697155200,BB:1698969600,CB:1701993600,DB:1706227200,EB:1708732800,FB:1711152000,GB:1713398400,HB:1715990400,IB:1718841600,JB:1721865600,KB:1724371200,LB:1726704000,MB:1729123200,NB:1731542400,OB:1737417600,PB:1740614400,QB:1741219200,RB:1743984000,SB:1746316800,TB:1748476800,UB:1750896000,I:1754611200},D:{C:"ms",L:"ms",M:"ms",G:"ms",N:"ms",O:"ms",P:"ms"}},C:{A:{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,tC:0,QC:0,J:0,VB:0,K:0,D:0,E:0,F:0,A:0,B:0.04824,C:0,L:0,M:0,G:0,N:0,O:0,P:0,WB:0,XB:0,YB:0,ZB:0,aB:0,bB:0,cB:0,dB:0,eB:0,fB:0,gB:0,hB:0,iB:0,jB:0,kB:0,lB:0.00804,mB:0,nB:0.00402,oB:0,pB:0,qB:0,rB:0,sB:0,tB:0,uB:0.03216,vB:0,wB:0,xB:0,yB:0,zB:0,"0B":0,RC:0.00804,"1B":0,SC:0,"2B":0,"3B":0,"4B":0,"5B":0,"6B":0,"7B":0,"8B":0,"9B":0,AC:0.01206,BC:0,CC:0.01608,DC:0,EC:0,FC:0,GC:0,HC:0,IC:0.01206,Q:0,H:0,R:0,TC:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:0,c:0,d:0,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:0,m:0,n:0,o:0,p:0,q:0,r:0,s:0.00402,t:0,u:0,v:0,w:0.00402,x:0,y:0.17286,z:0,AB:0.11658,BB:0,CB:0,DB:0,EB:0,FB:0,GB:0,HB:0.01206,IB:0.01206,JB:0.00402,KB:0.1005,LB:0.00804,MB:0,NB:0,OB:0,PB:0.01206,QB:0.00804,RB:0.00804,SB:0.01608,TB:0.01206,UB:0.01608,I:0.09648,UC:1.01304,VC:0.31356,JC:0,uC:0,vC:0,wC:0,xC:0,yC:0},B:"moz",C:["tC","QC","xC","yC","J","VB","K","D","E","F","A","B","C","L","M","G","N","O","P","WB","1","2","3","4","5","6","7","8","9","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","RC","1B","SC","2B","3B","4B","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","GC","HC","IC","Q","H","R","TC","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","I","UC","VC","JC","uC","vC","wC"],E:"Firefox",F:{"0":1693267200,"1":1361232000,"2":1364860800,"3":1368489600,"4":1372118400,"5":1375747200,"6":1379376000,"7":1386633600,"8":1391472000,"9":1395100800,tC:1161648000,QC:1213660800,xC:1246320000,yC:1264032000,J:1300752000,VB:1308614400,K:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968000,C:1331596800,L:1335225600,M:1338854400,G:1342483200,N:1346112000,O:1349740800,P:1353628800,WB:1357603200,XB:1398729600,YB:1402358400,ZB:1405987200,aB:1409616000,bB:1413244800,cB:1417392000,dB:1421107200,eB:1424736000,fB:1428278400,gB:1431475200,hB:1435881600,iB:1439251200,jB:1442880000,kB:1446508800,lB:1450137600,mB:1453852800,nB:1457395200,oB:1461628800,pB:1465257600,qB:1470096000,rB:1474329600,sB:1479168000,tB:1485216000,uB:1488844800,vB:1492560000,wB:1497312000,xB:1502150400,yB:1506556800,zB:1510617600,"0B":1516665600,RC:1520985600,"1B":1525824000,SC:1529971200,"2B":1536105600,"3B":1540252800,"4B":1544486400,"5B":1548720000,"6B":1552953600,"7B":1558396800,"8B":1562630400,"9B":1567468800,AC:1571788800,BC:1575331200,CC:1578355200,DC:1581379200,EC:1583798400,FC:1586304000,GC:1588636800,HC:1591056000,IC:1593475200,Q:1595894400,H:1598313600,R:1600732800,TC:1603152000,S:1605571200,T:1607990400,U:1611619200,V:1614038400,W:1616457600,X:1618790400,Y:1622505600,Z:1626134400,a:1628553600,b:1630972800,c:1633392000,d:1635811200,e:1638835200,f:1641859200,g:1644364800,h:1646697600,i:1649116800,j:1651536000,k:1653955200,l:1656374400,m:1658793600,n:1661212800,o:1663632000,p:1666051200,q:1668470400,r:1670889600,s:1673913600,t:1676332800,u:1678752000,v:1681171200,w:1683590400,x:1686009600,y:1688428800,z:1690848000,AB:1695686400,BB:1698105600,CB:1700524800,DB:1702944000,EB:1705968000,FB:1708387200,GB:1710806400,HB:1713225600,IB:1715644800,JB:1718064000,KB:1720483200,LB:1722902400,MB:1725321600,NB:1727740800,OB:1730160000,PB:1732579200,QB:1736208000,RB:1738627200,SB:1741046400,TB:1743465600,UB:1745884800,I:1748304000,UC:1750723200,VC:1753142400,JC:1755561600,uC:null,vC:null,wC:null}},D:{A:{"0":0.09648,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,J:0,VB:0,K:0,D:0,E:0,F:0,A:0,B:0,C:0,L:0,M:0,G:0,N:0,O:0,P:0,WB:0,XB:0,YB:0,ZB:0,aB:0,bB:0,cB:0,dB:0,eB:0,fB:0,gB:0,hB:0.00804,iB:0.00804,jB:0.00804,kB:0.00804,lB:0.00804,mB:0.00804,nB:0.01206,oB:0.00804,pB:0.00804,qB:0.0201,rB:0.01608,sB:0.00804,tB:0.00804,uB:0.01206,vB:0.00804,wB:0.00804,xB:0.00804,yB:0.0201,zB:0.00804,"0B":0.00804,RC:0.00804,"1B":0.00804,SC:0,"2B":0,"3B":0,"4B":0,"5B":0,"6B":0.02412,"7B":0,"8B":0.00402,"9B":0.01206,AC:0.01608,BC:0,CC:0,DC:0.00402,EC:0.00804,FC:0.00402,GC:0.00402,HC:0,IC:0.00804,Q:0.07236,H:0.01206,R:0.02412,S:0.04824,T:0,U:0.00804,V:0.01206,W:0.03618,X:0.00804,Y:0.00402,Z:0.00804,a:0.02814,b:0.00804,c:0.00804,d:0.00804,e:0.00402,f:0.00804,g:0.0201,h:0.04422,i:0.01608,j:0.00804,k:0.02412,l:0.0201,m:0.0804,n:0.03618,o:0.03216,p:0.01206,q:0.01608,r:0.03216,s:0.7638,t:0.01608,u:0.02814,v:4.78782,w:0.05226,x:0.04824,y:0.0201,z:0.06834,AB:0.05226,BB:0.04422,CB:0.06834,DB:0.06834,EB:0.07236,FB:0.07236,GB:0.0603,HB:0.41808,IB:0.0603,JB:0.03216,KB:0.08442,LB:0.06834,MB:0.10854,NB:0.49446,OB:0.1407,PB:0.13668,QB:0.1206,RB:0.21306,SB:0.30552,TB:3.23208,UB:11.855,I:0.0201,UC:0.01608,VC:0,JC:0},B:"webkit",C:["","","","","","","","","J","VB","K","D","E","F","A","B","C","L","M","G","N","O","P","WB","1","2","3","4","5","6","7","8","9","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","RC","1B","SC","2B","3B","4B","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","GC","HC","IC","Q","H","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","I","UC","VC","JC"],E:"Chrome",F:{"0":1694476800,"1":1337040000,"2":1340668800,"3":1343692800,"4":1348531200,"5":1352246400,"6":1357862400,"7":1361404800,"8":1364428800,"9":1369094400,J:1264377600,VB:1274745600,K:1283385600,D:1287619200,E:1291248000,F:1296777600,A:1299542400,B:1303862400,C:1307404800,L:1312243200,M:1316131200,G:1316131200,N:1319500800,O:1323734400,P:1328659200,WB:1332892800,XB:1374105600,YB:1376956800,ZB:1384214400,aB:1389657600,bB:1392940800,cB:1397001600,dB:1400544000,eB:1405468800,fB:1409011200,gB:1412640000,hB:1416268800,iB:1421798400,jB:1425513600,kB:1429401600,lB:1432080000,mB:1437523200,nB:1441152000,oB:1444780800,pB:1449014400,qB:1453248000,rB:1456963200,sB:1460592000,tB:1464134400,uB:1469059200,vB:1472601600,wB:1476230400,xB:1480550400,yB:1485302400,zB:1489017600,"0B":1492560000,RC:1496707200,"1B":1500940800,SC:1504569600,"2B":1508198400,"3B":1512518400,"4B":1516752000,"5B":1520294400,"6B":1523923200,"7B":1527552000,"8B":1532390400,"9B":1536019200,AC:1539648000,BC:1543968000,CC:1548720000,DC:1552348800,EC:1555977600,FC:1559606400,GC:1564444800,HC:1568073600,IC:1571702400,Q:1575936000,H:1580860800,R:1586304000,S:1589846400,T:1594684800,U:1598313600,V:1601942400,W:1605571200,X:1611014400,Y:1614556800,Z:1618272000,a:1621987200,b:1626739200,c:1630368000,d:1632268800,e:1634601600,f:1637020800,g:1641340800,h:1643673600,i:1646092800,j:1648512000,k:1650931200,l:1653350400,m:1655769600,n:1659398400,o:1661817600,p:1664236800,q:1666656000,r:1669680000,s:1673308800,t:1675728000,u:1678147200,v:1680566400,w:1682985600,x:1685404800,y:1689724800,z:1692057600,AB:1696896000,BB:1698710400,CB:1701993600,DB:1705968000,EB:1708387200,FB:1710806400,GB:1713225600,HB:1715644800,IB:1718064000,JB:1721174400,KB:1724112000,LB:1726531200,MB:1728950400,NB:1731369600,OB:1736812800,PB:1738627200,QB:1741046400,RB:1743465600,SB:1745884800,TB:1748304000,UB:1750723200,I:1754352000,UC:null,VC:null,JC:null}},E:{A:{J:0,VB:0,K:0,D:0,E:0,F:0,A:0,B:0.00402,C:0,L:0.00804,M:0.01206,G:0,zC:0,WC:0,"0C":0,"1C":0,"2C":0,"3C":0,XC:0,KC:0.00402,LC:0.00402,"4C":0.02814,"5C":0.03216,"6C":0.03216,YC:0,ZC:0.00804,MC:0.00804,"7C":0.11658,NC:0.02412,aC:0.01608,bC:0.01206,cC:0.02814,dC:0.01206,eC:0.01608,"8C":0.16482,OC:0.00804,fC:0.11256,gC:0.01206,hC:0.01608,iC:0.02814,jC:0.04422,"9C":0.1608,PC:0.0201,kC:0.03618,lC:0.01608,mC:0.0804,nC:0.0603,oC:1.37484,pC:0.01206,AD:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","zC","WC","J","VB","0C","K","1C","D","2C","E","F","3C","A","XC","B","KC","C","LC","L","4C","M","5C","G","6C","YC","ZC","MC","7C","NC","aC","bC","cC","dC","eC","8C","OC","fC","gC","hC","iC","jC","9C","PC","kC","lC","mC","nC","oC","pC","AD",""],E:"Safari",F:{zC:1205798400,WC:1226534400,J:1244419200,VB:1275868800,"0C":1311120000,K:1343174400,"1C":1382400000,D:1382400000,"2C":1410998400,E:1413417600,F:1443657600,"3C":1458518400,A:1474329600,XC:1490572800,B:1505779200,KC:1522281600,C:1537142400,LC:1553472000,L:1568851200,"4C":1585008000,M:1600214400,"5C":1619395200,G:1632096000,"6C":1635292800,YC:1639353600,ZC:1647216000,MC:1652745600,"7C":1658275200,NC:1662940800,aC:1666569600,bC:1670889600,cC:1674432000,dC:1679875200,eC:1684368000,"8C":1690156800,OC:1695686400,fC:1698192000,gC:1702252800,hC:1705881600,iC:1709596800,jC:1715558400,"9C":1722211200,PC:1726444800,kC:1730073600,lC:1733875200,mC:1737936000,nC:1743379200,oC:1747008000,pC:null,AD:null}},F:{A:{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,F:0,B:0,C:0,G:0,N:0,O:0,P:0,WB:0,XB:0,YB:0,ZB:0,aB:0,bB:0,cB:0,dB:0,eB:0,fB:0,gB:0,hB:0,iB:0.00402,jB:0,kB:0,lB:0,mB:0,nB:0,oB:0.00804,pB:0,qB:0,rB:0,sB:0,tB:0,uB:0,vB:0,wB:0,xB:0,yB:0,zB:0,"0B":0,"1B":0,"2B":0,"3B":0,"4B":0,"5B":0,"6B":0,"7B":0,"8B":0,"9B":0,AC:0,BC:0,CC:0,DC:0,EC:0,FC:0,GC:0,HC:0,IC:0,Q:0,H:0,R:0,TC:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:0.00402,Z:0.05226,a:0,b:0,c:0,d:0,e:0.02814,f:0,g:0,h:0,i:0,j:0,k:0,l:0,m:0,n:0,o:0,p:0,q:0,r:0,s:0,t:0,u:0,v:0,w:0.00402,x:0,y:0,z:0,BD:0,CD:0,DD:0,ED:0,KC:0,qC:0,FD:0,LC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","F","BD","CD","DD","ED","B","KC","qC","FD","C","LC","G","N","O","P","WB","1","2","3","4","5","6","7","8","9","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","GC","HC","IC","Q","H","R","TC","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","","",""],E:"Opera",F:{"0":1739404800,"1":1393891200,"2":1399334400,"3":1401753600,"4":1405987200,"5":1409616000,"6":1413331200,"7":1417132800,"8":1422316800,"9":1425945600,F:1150761600,BD:1223424000,CD:1251763200,DD:1267488000,ED:1277942400,B:1292457600,KC:1302566400,qC:1309219200,FD:1323129600,C:1323129600,LC:1352073600,G:1372723200,N:1377561600,O:1381104000,P:1386288000,WB:1390867200,XB:1430179200,YB:1433808000,ZB:1438646400,aB:1442448000,bB:1445904000,cB:1449100800,dB:1454371200,eB:1457308800,fB:1462320000,gB:1465344000,hB:1470096000,iB:1474329600,jB:1477267200,kB:1481587200,lB:1486425600,mB:1490054400,nB:1494374400,oB:1498003200,pB:1502236800,qB:1506470400,rB:1510099200,sB:1515024000,tB:1517961600,uB:1521676800,vB:1525910400,wB:1530144000,xB:1534982400,yB:1537833600,zB:1543363200,"0B":1548201600,"1B":1554768000,"2B":1561593600,"3B":1566259200,"4B":1570406400,"5B":1573689600,"6B":1578441600,"7B":1583971200,"8B":1587513600,"9B":1592956800,AC:1595894400,BC:1600128000,CC:1603238400,DC:1613520000,EC:1612224000,FC:1616544000,GC:1619568000,HC:1623715200,IC:1627948800,Q:1631577600,H:1633392000,R:1635984000,TC:1638403200,S:1642550400,T:1644969600,U:1647993600,V:1650412800,W:1652745600,X:1654646400,Y:1657152000,Z:1660780800,a:1663113600,b:1668816000,c:1668643200,d:1671062400,e:1675209600,f:1677024000,g:1679529600,h:1681948800,i:1684195200,j:1687219200,k:1690329600,l:1692748800,m:1696204800,n:1699920000,o:1699920000,p:1702944000,q:1707264000,r:1710115200,s:1711497600,t:1716336000,u:1719273600,v:1721088000,w:1724284800,x:1727222400,y:1732665600,z:1736294400},D:{F:"o",B:"o",C:"o",BD:"o",CD:"o",DD:"o",ED:"o",KC:"o",qC:"o",FD:"o",LC:"o"}},G:{A:{E:0,WC:0,GD:0,rC:0.0013461,HD:0,ID:0.00673049,JD:0.00403829,KD:0,LD:0.0026922,MD:0.0148071,ND:0.0013461,OD:0.0228837,PD:0.200569,QD:0.00942269,RD:0.0026922,SD:0.082112,TD:0,UD:0.0026922,VD:0.0026922,WD:0.013461,XD:0.0578822,YD:0.0309603,ZD:0.026922,YC:0.0215376,ZC:0.0242298,MC:0.0282681,aD:0.371523,NC:0.0498056,aC:0.095573,bC:0.0498056,cC:0.0942269,dC:0.0201915,eC:0.0376907,bD:0.477865,OC:0.0242298,fC:0.0457673,gC:0.0336525,hC:0.0498056,iC:0.095573,jC:0.173647,cD:0.442866,PC:0.111726,kC:0.234221,lC:0.126533,mC:0.46575,nC:0.301526,oC:9.49672,pC:0.0215376},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","WC","GD","rC","HD","ID","JD","E","KD","LD","MD","ND","OD","PD","QD","RD","SD","TD","UD","VD","WD","XD","YD","ZD","YC","ZC","MC","aD","NC","aC","bC","cC","dC","eC","bD","OC","fC","gC","hC","iC","jC","cD","PC","kC","lC","mC","nC","oC","pC","",""],E:"Safari on iOS",F:{WC:1270252800,GD:1283904000,rC:1299628800,HD:1331078400,ID:1359331200,JD:1394409600,E:1410912000,KD:1413763200,LD:1442361600,MD:1458518400,ND:1473724800,OD:1490572800,PD:1505779200,QD:1522281600,RD:1537142400,SD:1553472000,TD:1568851200,UD:1572220800,VD:1580169600,WD:1585008000,XD:1600214400,YD:1619395200,ZD:1632096000,YC:1639353600,ZC:1647216000,MC:1652659200,aD:1658275200,NC:1662940800,aC:1666569600,bC:1670889600,cC:1674432000,dC:1679875200,eC:1684368000,bD:1690156800,OC:1694995200,fC:1698192000,gC:1702252800,hC:1705881600,iC:1709596800,jC:1715558400,cD:1722211200,PC:1726444800,kC:1730073600,lC:1733875200,mC:1737936000,nC:1743379200,oC:1747008000,pC:null}},H:{A:{dD:0.04},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","dD","","",""],E:"Opera Mini",F:{dD:1426464000}},I:{A:{QC:0,J:0,I:0.794067,eD:0,fD:0,gD:0,hD:0.000159068,rC:0.000159068,iD:0,jD:0.000636272},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","eD","fD","gD","QC","J","hD","rC","iD","jD","I","","",""],E:"Android Browser",F:{eD:1256515200,fD:1274313600,gD:1291593600,QC:1298332800,J:1318896000,hD:1341792000,rC:1374624000,iD:1386547200,jD:1401667200,I:1754352000}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376000,A:1359504000}},K:{A:{A:0,B:0,C:0,H:0.95866,KC:0,qC:0,LC:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","KC","qC","C","LC","H","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752000,KC:1314835200,qC:1318291200,C:1330300800,LC:1349740800,H:1709769600},D:{H:"webkit"}},L:{A:{I:43.5564},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","","",""],E:"Chrome for Android",F:{I:1754352000}},M:{A:{JC:0.3289},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","JC","","",""],E:"Firefox for Android",F:{JC:1755648000}},N:{A:{A:0,B:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456000}},O:{A:{MC:0.81328},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","MC","","",""],E:"UC Browser for Android",F:{MC:1710115200},D:{MC:"webkit"}},P:{A:{"1":0,"2":0.0218021,"3":0.0218021,"4":0.0218021,"5":0.0327031,"6":0.0327031,"7":0.0545052,"8":0.0872083,"9":1.80957,J:0,kD:0,lD:0,mD:0.010901,nD:0,oD:0,XC:0,pD:0,qD:0,rD:0,sD:0,tD:0,NC:0,OC:0,PC:0,uD:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","J","kD","lD","mD","nD","oD","XC","pD","qD","rD","sD","tD","NC","OC","PC","uD","1","2","3","4","5","6","7","8","9","","",""],E:"Samsung Internet",F:{"1":1677369600,"2":1684454400,"3":1689292800,"4":1697587200,"5":1711497600,"6":1715126400,"7":1717718400,"8":1725667200,"9":1746057600,J:1461024000,kD:1481846400,lD:1509408000,mD:1528329600,nD:1546128000,oD:1554163200,XC:1567900800,pD:1582588800,qD:1593475200,rD:1605657600,sD:1618531200,tD:1629072000,NC:1640736000,OC:1651708800,PC:1659657600,uD:1667260800}},Q:{A:{vD:0.18538},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","vD","","",""],E:"QQ Browser",F:{vD:1710288000}},R:{A:{wD:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","wD","","",""],E:"Baidu Browser",F:{wD:1710201600}},S:{A:{xD:0.01196,yD:0},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","xD","yD","","",""],E:"KaiOS Browser",F:{xD:1527811200,yD:1631664000}}}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/browserVersions.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/browserVersions.js new file mode 100644 index 0000000000000000000000000000000000000000..1b921d1179185214b59c556417aad3caf03c240a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/browserVersions.js @@ -0,0 +1 @@ +module.exports={"0":"117","1":"20","2":"21","3":"22","4":"23","5":"24","6":"25","7":"26","8":"27","9":"28",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"80",I:"139",J:"4",K:"6",L:"13",M:"14",N:"16",O:"17",P:"18",Q:"79",R:"81",S:"83",T:"84",U:"85",V:"86",W:"87",X:"88",Y:"89",Z:"90",a:"91",b:"92",c:"93",d:"94",e:"95",f:"96",g:"97",h:"98",i:"99",j:"100",k:"101",l:"102",m:"103",n:"104",o:"105",p:"106",q:"107",r:"108",s:"109",t:"110",u:"111",v:"112",w:"113",x:"114",y:"115",z:"116",AB:"118",BB:"119",CB:"120",DB:"121",EB:"122",FB:"123",GB:"124",HB:"125",IB:"126",JB:"127",KB:"128",LB:"129",MB:"130",NB:"131",OB:"132",PB:"133",QB:"134",RB:"135",SB:"136",TB:"137",UB:"138",VB:"5",WB:"19",XB:"29",YB:"30",ZB:"31",aB:"32",bB:"33",cB:"34",dB:"35",eB:"36",fB:"37",gB:"38",hB:"39",iB:"40",jB:"41",kB:"42",lB:"43",mB:"44",nB:"45",oB:"46",pB:"47",qB:"48",rB:"49",sB:"50",tB:"51",uB:"52",vB:"53",wB:"54",xB:"55",yB:"56",zB:"57","0B":"58","1B":"60","2B":"62","3B":"63","4B":"64","5B":"65","6B":"66","7B":"67","8B":"68","9B":"69",AC:"70",BC:"71",CC:"72",DC:"73",EC:"74",FC:"75",GC:"76",HC:"77",IC:"78",JC:"142",KC:"11.1",LC:"12.1",MC:"15.5",NC:"16.0",OC:"17.0",PC:"18.0",QC:"3",RC:"59",SC:"61",TC:"82",UC:"140",VC:"141",WC:"3.2",XC:"10.1",YC:"15.2-15.3",ZC:"15.4",aC:"16.1",bC:"16.2",cC:"16.3",dC:"16.4",eC:"16.5",fC:"17.1",gC:"17.2",hC:"17.3",iC:"17.4",jC:"17.5",kC:"18.1",lC:"18.2",mC:"18.3",nC:"18.4",oC:"18.5-18.6",pC:"26.0",qC:"11.5",rC:"4.2-4.3",sC:"5.5",tC:"2",uC:"143",vC:"144",wC:"145",xC:"3.5",yC:"3.6",zC:"3.1","0C":"5.1","1C":"6.1","2C":"7.1","3C":"9.1","4C":"13.1","5C":"14.1","6C":"15.1","7C":"15.6","8C":"16.6","9C":"17.6",AD:"TP",BD:"9.5-9.6",CD:"10.0-10.1",DD:"10.5",ED:"10.6",FD:"11.6",GD:"4.0-4.1",HD:"5.0-5.1",ID:"6.0-6.1",JD:"7.0-7.1",KD:"8.1-8.4",LD:"9.0-9.2",MD:"9.3",ND:"10.0-10.2",OD:"10.3",PD:"11.0-11.2",QD:"11.3-11.4",RD:"12.0-12.1",SD:"12.2-12.5",TD:"13.0-13.1",UD:"13.2",VD:"13.3",WD:"13.4-13.7",XD:"14.0-14.4",YD:"14.5-14.8",ZD:"15.0-15.1",aD:"15.6-15.8",bD:"16.6-16.7",cD:"17.6-17.7",dD:"all",eD:"2.1",fD:"2.2",gD:"2.3",hD:"4.1",iD:"4.4",jD:"4.4.3-4.4.4",kD:"5.0-5.4",lD:"6.2-6.4",mD:"7.2-7.4",nD:"8.2",oD:"9.2",pD:"11.1-11.2",qD:"12.0",rD:"13.0",sD:"14.0",tD:"15.0",uD:"19.0",vD:"14.9",wD:"13.52",xD:"2.5",yD:"3.0-3.1"}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/browsers.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/browsers.js new file mode 100644 index 0000000000000000000000000000000000000000..04fbb50f7fe992b33ff8cb5e472356d0085387fd --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/browsers.js @@ -0,0 +1 @@ +module.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features.js new file mode 100644 index 0000000000000000000000000000000000000000..69eed91ffcc2fa75a47a1869ec129a397fbd36f9 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features.js @@ -0,0 +1 @@ +module.exports={"aac":require("./features/aac"),"abortcontroller":require("./features/abortcontroller"),"ac3-ec3":require("./features/ac3-ec3"),"accelerometer":require("./features/accelerometer"),"addeventlistener":require("./features/addeventlistener"),"alternate-stylesheet":require("./features/alternate-stylesheet"),"ambient-light":require("./features/ambient-light"),"apng":require("./features/apng"),"array-find-index":require("./features/array-find-index"),"array-find":require("./features/array-find"),"array-flat":require("./features/array-flat"),"array-includes":require("./features/array-includes"),"arrow-functions":require("./features/arrow-functions"),"asmjs":require("./features/asmjs"),"async-clipboard":require("./features/async-clipboard"),"async-functions":require("./features/async-functions"),"atob-btoa":require("./features/atob-btoa"),"audio-api":require("./features/audio-api"),"audio":require("./features/audio"),"audiotracks":require("./features/audiotracks"),"autofocus":require("./features/autofocus"),"auxclick":require("./features/auxclick"),"av1":require("./features/av1"),"avif":require("./features/avif"),"background-attachment":require("./features/background-attachment"),"background-clip-text":require("./features/background-clip-text"),"background-img-opts":require("./features/background-img-opts"),"background-position-x-y":require("./features/background-position-x-y"),"background-repeat-round-space":require("./features/background-repeat-round-space"),"background-sync":require("./features/background-sync"),"battery-status":require("./features/battery-status"),"beacon":require("./features/beacon"),"beforeafterprint":require("./features/beforeafterprint"),"bigint":require("./features/bigint"),"blobbuilder":require("./features/blobbuilder"),"bloburls":require("./features/bloburls"),"border-image":require("./features/border-image"),"border-radius":require("./features/border-radius"),"broadcastchannel":require("./features/broadcastchannel"),"brotli":require("./features/brotli"),"calc":require("./features/calc"),"canvas-blending":require("./features/canvas-blending"),"canvas-text":require("./features/canvas-text"),"canvas":require("./features/canvas"),"ch-unit":require("./features/ch-unit"),"chacha20-poly1305":require("./features/chacha20-poly1305"),"channel-messaging":require("./features/channel-messaging"),"childnode-remove":require("./features/childnode-remove"),"classlist":require("./features/classlist"),"client-hints-dpr-width-viewport":require("./features/client-hints-dpr-width-viewport"),"clipboard":require("./features/clipboard"),"colr-v1":require("./features/colr-v1"),"colr":require("./features/colr"),"comparedocumentposition":require("./features/comparedocumentposition"),"console-basic":require("./features/console-basic"),"console-time":require("./features/console-time"),"const":require("./features/const"),"constraint-validation":require("./features/constraint-validation"),"contenteditable":require("./features/contenteditable"),"contentsecuritypolicy":require("./features/contentsecuritypolicy"),"contentsecuritypolicy2":require("./features/contentsecuritypolicy2"),"cookie-store-api":require("./features/cookie-store-api"),"cors":require("./features/cors"),"createimagebitmap":require("./features/createimagebitmap"),"credential-management":require("./features/credential-management"),"cross-document-view-transitions":require("./features/cross-document-view-transitions"),"cryptography":require("./features/cryptography"),"css-all":require("./features/css-all"),"css-anchor-positioning":require("./features/css-anchor-positioning"),"css-animation":require("./features/css-animation"),"css-any-link":require("./features/css-any-link"),"css-appearance":require("./features/css-appearance"),"css-at-counter-style":require("./features/css-at-counter-style"),"css-autofill":require("./features/css-autofill"),"css-backdrop-filter":require("./features/css-backdrop-filter"),"css-background-offsets":require("./features/css-background-offsets"),"css-backgroundblendmode":require("./features/css-backgroundblendmode"),"css-boxdecorationbreak":require("./features/css-boxdecorationbreak"),"css-boxshadow":require("./features/css-boxshadow"),"css-canvas":require("./features/css-canvas"),"css-caret-color":require("./features/css-caret-color"),"css-cascade-layers":require("./features/css-cascade-layers"),"css-cascade-scope":require("./features/css-cascade-scope"),"css-case-insensitive":require("./features/css-case-insensitive"),"css-clip-path":require("./features/css-clip-path"),"css-color-adjust":require("./features/css-color-adjust"),"css-color-function":require("./features/css-color-function"),"css-conic-gradients":require("./features/css-conic-gradients"),"css-container-queries-style":require("./features/css-container-queries-style"),"css-container-queries":require("./features/css-container-queries"),"css-container-query-units":require("./features/css-container-query-units"),"css-containment":require("./features/css-containment"),"css-content-visibility":require("./features/css-content-visibility"),"css-counters":require("./features/css-counters"),"css-crisp-edges":require("./features/css-crisp-edges"),"css-cross-fade":require("./features/css-cross-fade"),"css-default-pseudo":require("./features/css-default-pseudo"),"css-descendant-gtgt":require("./features/css-descendant-gtgt"),"css-deviceadaptation":require("./features/css-deviceadaptation"),"css-dir-pseudo":require("./features/css-dir-pseudo"),"css-display-contents":require("./features/css-display-contents"),"css-element-function":require("./features/css-element-function"),"css-env-function":require("./features/css-env-function"),"css-exclusions":require("./features/css-exclusions"),"css-featurequeries":require("./features/css-featurequeries"),"css-file-selector-button":require("./features/css-file-selector-button"),"css-filter-function":require("./features/css-filter-function"),"css-filters":require("./features/css-filters"),"css-first-letter":require("./features/css-first-letter"),"css-first-line":require("./features/css-first-line"),"css-fixed":require("./features/css-fixed"),"css-focus-visible":require("./features/css-focus-visible"),"css-focus-within":require("./features/css-focus-within"),"css-font-palette":require("./features/css-font-palette"),"css-font-rendering-controls":require("./features/css-font-rendering-controls"),"css-font-stretch":require("./features/css-font-stretch"),"css-gencontent":require("./features/css-gencontent"),"css-gradients":require("./features/css-gradients"),"css-grid-animation":require("./features/css-grid-animation"),"css-grid":require("./features/css-grid"),"css-hanging-punctuation":require("./features/css-hanging-punctuation"),"css-has":require("./features/css-has"),"css-hyphens":require("./features/css-hyphens"),"css-if":require("./features/css-if"),"css-image-orientation":require("./features/css-image-orientation"),"css-image-set":require("./features/css-image-set"),"css-in-out-of-range":require("./features/css-in-out-of-range"),"css-indeterminate-pseudo":require("./features/css-indeterminate-pseudo"),"css-initial-letter":require("./features/css-initial-letter"),"css-initial-value":require("./features/css-initial-value"),"css-lch-lab":require("./features/css-lch-lab"),"css-letter-spacing":require("./features/css-letter-spacing"),"css-line-clamp":require("./features/css-line-clamp"),"css-logical-props":require("./features/css-logical-props"),"css-marker-pseudo":require("./features/css-marker-pseudo"),"css-masks":require("./features/css-masks"),"css-matches-pseudo":require("./features/css-matches-pseudo"),"css-math-functions":require("./features/css-math-functions"),"css-media-interaction":require("./features/css-media-interaction"),"css-media-range-syntax":require("./features/css-media-range-syntax"),"css-media-resolution":require("./features/css-media-resolution"),"css-media-scripting":require("./features/css-media-scripting"),"css-mediaqueries":require("./features/css-mediaqueries"),"css-mixblendmode":require("./features/css-mixblendmode"),"css-module-scripts":require("./features/css-module-scripts"),"css-motion-paths":require("./features/css-motion-paths"),"css-namespaces":require("./features/css-namespaces"),"css-nesting":require("./features/css-nesting"),"css-not-sel-list":require("./features/css-not-sel-list"),"css-nth-child-of":require("./features/css-nth-child-of"),"css-opacity":require("./features/css-opacity"),"css-optional-pseudo":require("./features/css-optional-pseudo"),"css-overflow-anchor":require("./features/css-overflow-anchor"),"css-overflow-overlay":require("./features/css-overflow-overlay"),"css-overflow":require("./features/css-overflow"),"css-overscroll-behavior":require("./features/css-overscroll-behavior"),"css-page-break":require("./features/css-page-break"),"css-paged-media":require("./features/css-paged-media"),"css-paint-api":require("./features/css-paint-api"),"css-placeholder-shown":require("./features/css-placeholder-shown"),"css-placeholder":require("./features/css-placeholder"),"css-print-color-adjust":require("./features/css-print-color-adjust"),"css-read-only-write":require("./features/css-read-only-write"),"css-rebeccapurple":require("./features/css-rebeccapurple"),"css-reflections":require("./features/css-reflections"),"css-regions":require("./features/css-regions"),"css-relative-colors":require("./features/css-relative-colors"),"css-repeating-gradients":require("./features/css-repeating-gradients"),"css-resize":require("./features/css-resize"),"css-revert-value":require("./features/css-revert-value"),"css-rrggbbaa":require("./features/css-rrggbbaa"),"css-scroll-behavior":require("./features/css-scroll-behavior"),"css-scrollbar":require("./features/css-scrollbar"),"css-sel2":require("./features/css-sel2"),"css-sel3":require("./features/css-sel3"),"css-selection":require("./features/css-selection"),"css-shapes":require("./features/css-shapes"),"css-snappoints":require("./features/css-snappoints"),"css-sticky":require("./features/css-sticky"),"css-subgrid":require("./features/css-subgrid"),"css-supports-api":require("./features/css-supports-api"),"css-table":require("./features/css-table"),"css-text-align-last":require("./features/css-text-align-last"),"css-text-box-trim":require("./features/css-text-box-trim"),"css-text-indent":require("./features/css-text-indent"),"css-text-justify":require("./features/css-text-justify"),"css-text-orientation":require("./features/css-text-orientation"),"css-text-spacing":require("./features/css-text-spacing"),"css-text-wrap-balance":require("./features/css-text-wrap-balance"),"css-textshadow":require("./features/css-textshadow"),"css-touch-action":require("./features/css-touch-action"),"css-transitions":require("./features/css-transitions"),"css-unicode-bidi":require("./features/css-unicode-bidi"),"css-unset-value":require("./features/css-unset-value"),"css-variables":require("./features/css-variables"),"css-when-else":require("./features/css-when-else"),"css-widows-orphans":require("./features/css-widows-orphans"),"css-width-stretch":require("./features/css-width-stretch"),"css-writing-mode":require("./features/css-writing-mode"),"css-zoom":require("./features/css-zoom"),"css3-attr":require("./features/css3-attr"),"css3-boxsizing":require("./features/css3-boxsizing"),"css3-colors":require("./features/css3-colors"),"css3-cursors-grab":require("./features/css3-cursors-grab"),"css3-cursors-newer":require("./features/css3-cursors-newer"),"css3-cursors":require("./features/css3-cursors"),"css3-tabsize":require("./features/css3-tabsize"),"currentcolor":require("./features/currentcolor"),"custom-elements":require("./features/custom-elements"),"custom-elementsv1":require("./features/custom-elementsv1"),"customevent":require("./features/customevent"),"datalist":require("./features/datalist"),"dataset":require("./features/dataset"),"datauri":require("./features/datauri"),"date-tolocaledatestring":require("./features/date-tolocaledatestring"),"declarative-shadow-dom":require("./features/declarative-shadow-dom"),"decorators":require("./features/decorators"),"details":require("./features/details"),"deviceorientation":require("./features/deviceorientation"),"devicepixelratio":require("./features/devicepixelratio"),"dialog":require("./features/dialog"),"dispatchevent":require("./features/dispatchevent"),"dnssec":require("./features/dnssec"),"do-not-track":require("./features/do-not-track"),"document-currentscript":require("./features/document-currentscript"),"document-evaluate-xpath":require("./features/document-evaluate-xpath"),"document-execcommand":require("./features/document-execcommand"),"document-policy":require("./features/document-policy"),"document-scrollingelement":require("./features/document-scrollingelement"),"documenthead":require("./features/documenthead"),"dom-manip-convenience":require("./features/dom-manip-convenience"),"dom-range":require("./features/dom-range"),"domcontentloaded":require("./features/domcontentloaded"),"dommatrix":require("./features/dommatrix"),"download":require("./features/download"),"dragndrop":require("./features/dragndrop"),"element-closest":require("./features/element-closest"),"element-from-point":require("./features/element-from-point"),"element-scroll-methods":require("./features/element-scroll-methods"),"eme":require("./features/eme"),"eot":require("./features/eot"),"es5":require("./features/es5"),"es6-class":require("./features/es6-class"),"es6-generators":require("./features/es6-generators"),"es6-module-dynamic-import":require("./features/es6-module-dynamic-import"),"es6-module":require("./features/es6-module"),"es6-number":require("./features/es6-number"),"es6-string-includes":require("./features/es6-string-includes"),"es6":require("./features/es6"),"eventsource":require("./features/eventsource"),"extended-system-fonts":require("./features/extended-system-fonts"),"feature-policy":require("./features/feature-policy"),"fetch":require("./features/fetch"),"fieldset-disabled":require("./features/fieldset-disabled"),"fileapi":require("./features/fileapi"),"filereader":require("./features/filereader"),"filereadersync":require("./features/filereadersync"),"filesystem":require("./features/filesystem"),"flac":require("./features/flac"),"flexbox-gap":require("./features/flexbox-gap"),"flexbox":require("./features/flexbox"),"flow-root":require("./features/flow-root"),"focusin-focusout-events":require("./features/focusin-focusout-events"),"font-family-system-ui":require("./features/font-family-system-ui"),"font-feature":require("./features/font-feature"),"font-kerning":require("./features/font-kerning"),"font-loading":require("./features/font-loading"),"font-size-adjust":require("./features/font-size-adjust"),"font-smooth":require("./features/font-smooth"),"font-unicode-range":require("./features/font-unicode-range"),"font-variant-alternates":require("./features/font-variant-alternates"),"font-variant-numeric":require("./features/font-variant-numeric"),"fontface":require("./features/fontface"),"form-attribute":require("./features/form-attribute"),"form-submit-attributes":require("./features/form-submit-attributes"),"form-validation":require("./features/form-validation"),"forms":require("./features/forms"),"fullscreen":require("./features/fullscreen"),"gamepad":require("./features/gamepad"),"geolocation":require("./features/geolocation"),"getboundingclientrect":require("./features/getboundingclientrect"),"getcomputedstyle":require("./features/getcomputedstyle"),"getelementsbyclassname":require("./features/getelementsbyclassname"),"getrandomvalues":require("./features/getrandomvalues"),"gyroscope":require("./features/gyroscope"),"hardwareconcurrency":require("./features/hardwareconcurrency"),"hashchange":require("./features/hashchange"),"heif":require("./features/heif"),"hevc":require("./features/hevc"),"hidden":require("./features/hidden"),"high-resolution-time":require("./features/high-resolution-time"),"history":require("./features/history"),"html-media-capture":require("./features/html-media-capture"),"html5semantic":require("./features/html5semantic"),"http-live-streaming":require("./features/http-live-streaming"),"http2":require("./features/http2"),"http3":require("./features/http3"),"iframe-sandbox":require("./features/iframe-sandbox"),"iframe-seamless":require("./features/iframe-seamless"),"iframe-srcdoc":require("./features/iframe-srcdoc"),"imagecapture":require("./features/imagecapture"),"ime":require("./features/ime"),"img-naturalwidth-naturalheight":require("./features/img-naturalwidth-naturalheight"),"import-maps":require("./features/import-maps"),"imports":require("./features/imports"),"indeterminate-checkbox":require("./features/indeterminate-checkbox"),"indexeddb":require("./features/indexeddb"),"indexeddb2":require("./features/indexeddb2"),"inline-block":require("./features/inline-block"),"innertext":require("./features/innertext"),"input-autocomplete-onoff":require("./features/input-autocomplete-onoff"),"input-color":require("./features/input-color"),"input-datetime":require("./features/input-datetime"),"input-email-tel-url":require("./features/input-email-tel-url"),"input-event":require("./features/input-event"),"input-file-accept":require("./features/input-file-accept"),"input-file-directory":require("./features/input-file-directory"),"input-file-multiple":require("./features/input-file-multiple"),"input-inputmode":require("./features/input-inputmode"),"input-minlength":require("./features/input-minlength"),"input-number":require("./features/input-number"),"input-pattern":require("./features/input-pattern"),"input-placeholder":require("./features/input-placeholder"),"input-range":require("./features/input-range"),"input-search":require("./features/input-search"),"input-selection":require("./features/input-selection"),"insert-adjacent":require("./features/insert-adjacent"),"insertadjacenthtml":require("./features/insertadjacenthtml"),"internationalization":require("./features/internationalization"),"intersectionobserver-v2":require("./features/intersectionobserver-v2"),"intersectionobserver":require("./features/intersectionobserver"),"intl-pluralrules":require("./features/intl-pluralrules"),"intrinsic-width":require("./features/intrinsic-width"),"jpeg2000":require("./features/jpeg2000"),"jpegxl":require("./features/jpegxl"),"jpegxr":require("./features/jpegxr"),"js-regexp-lookbehind":require("./features/js-regexp-lookbehind"),"json":require("./features/json"),"justify-content-space-evenly":require("./features/justify-content-space-evenly"),"kerning-pairs-ligatures":require("./features/kerning-pairs-ligatures"),"keyboardevent-charcode":require("./features/keyboardevent-charcode"),"keyboardevent-code":require("./features/keyboardevent-code"),"keyboardevent-getmodifierstate":require("./features/keyboardevent-getmodifierstate"),"keyboardevent-key":require("./features/keyboardevent-key"),"keyboardevent-location":require("./features/keyboardevent-location"),"keyboardevent-which":require("./features/keyboardevent-which"),"lazyload":require("./features/lazyload"),"let":require("./features/let"),"link-icon-png":require("./features/link-icon-png"),"link-icon-svg":require("./features/link-icon-svg"),"link-rel-dns-prefetch":require("./features/link-rel-dns-prefetch"),"link-rel-modulepreload":require("./features/link-rel-modulepreload"),"link-rel-preconnect":require("./features/link-rel-preconnect"),"link-rel-prefetch":require("./features/link-rel-prefetch"),"link-rel-preload":require("./features/link-rel-preload"),"link-rel-prerender":require("./features/link-rel-prerender"),"loading-lazy-attr":require("./features/loading-lazy-attr"),"localecompare":require("./features/localecompare"),"magnetometer":require("./features/magnetometer"),"matchesselector":require("./features/matchesselector"),"matchmedia":require("./features/matchmedia"),"mathml":require("./features/mathml"),"maxlength":require("./features/maxlength"),"mdn-css-backdrop-pseudo-element":require("./features/mdn-css-backdrop-pseudo-element"),"mdn-css-unicode-bidi-isolate-override":require("./features/mdn-css-unicode-bidi-isolate-override"),"mdn-css-unicode-bidi-isolate":require("./features/mdn-css-unicode-bidi-isolate"),"mdn-css-unicode-bidi-plaintext":require("./features/mdn-css-unicode-bidi-plaintext"),"mdn-text-decoration-color":require("./features/mdn-text-decoration-color"),"mdn-text-decoration-line":require("./features/mdn-text-decoration-line"),"mdn-text-decoration-shorthand":require("./features/mdn-text-decoration-shorthand"),"mdn-text-decoration-style":require("./features/mdn-text-decoration-style"),"media-fragments":require("./features/media-fragments"),"mediacapture-fromelement":require("./features/mediacapture-fromelement"),"mediarecorder":require("./features/mediarecorder"),"mediasource":require("./features/mediasource"),"menu":require("./features/menu"),"meta-theme-color":require("./features/meta-theme-color"),"meter":require("./features/meter"),"midi":require("./features/midi"),"minmaxwh":require("./features/minmaxwh"),"mp3":require("./features/mp3"),"mpeg-dash":require("./features/mpeg-dash"),"mpeg4":require("./features/mpeg4"),"multibackgrounds":require("./features/multibackgrounds"),"multicolumn":require("./features/multicolumn"),"mutation-events":require("./features/mutation-events"),"mutationobserver":require("./features/mutationobserver"),"namevalue-storage":require("./features/namevalue-storage"),"native-filesystem-api":require("./features/native-filesystem-api"),"nav-timing":require("./features/nav-timing"),"netinfo":require("./features/netinfo"),"notifications":require("./features/notifications"),"object-entries":require("./features/object-entries"),"object-fit":require("./features/object-fit"),"object-observe":require("./features/object-observe"),"object-values":require("./features/object-values"),"objectrtc":require("./features/objectrtc"),"offline-apps":require("./features/offline-apps"),"offscreencanvas":require("./features/offscreencanvas"),"ogg-vorbis":require("./features/ogg-vorbis"),"ogv":require("./features/ogv"),"ol-reversed":require("./features/ol-reversed"),"once-event-listener":require("./features/once-event-listener"),"online-status":require("./features/online-status"),"opus":require("./features/opus"),"orientation-sensor":require("./features/orientation-sensor"),"outline":require("./features/outline"),"pad-start-end":require("./features/pad-start-end"),"page-transition-events":require("./features/page-transition-events"),"pagevisibility":require("./features/pagevisibility"),"passive-event-listener":require("./features/passive-event-listener"),"passkeys":require("./features/passkeys"),"passwordrules":require("./features/passwordrules"),"path2d":require("./features/path2d"),"payment-request":require("./features/payment-request"),"pdf-viewer":require("./features/pdf-viewer"),"permissions-api":require("./features/permissions-api"),"permissions-policy":require("./features/permissions-policy"),"picture-in-picture":require("./features/picture-in-picture"),"picture":require("./features/picture"),"ping":require("./features/ping"),"png-alpha":require("./features/png-alpha"),"pointer-events":require("./features/pointer-events"),"pointer":require("./features/pointer"),"pointerlock":require("./features/pointerlock"),"portals":require("./features/portals"),"prefers-color-scheme":require("./features/prefers-color-scheme"),"prefers-reduced-motion":require("./features/prefers-reduced-motion"),"progress":require("./features/progress"),"promise-finally":require("./features/promise-finally"),"promises":require("./features/promises"),"proximity":require("./features/proximity"),"proxy":require("./features/proxy"),"publickeypinning":require("./features/publickeypinning"),"push-api":require("./features/push-api"),"queryselector":require("./features/queryselector"),"readonly-attr":require("./features/readonly-attr"),"referrer-policy":require("./features/referrer-policy"),"registerprotocolhandler":require("./features/registerprotocolhandler"),"rel-noopener":require("./features/rel-noopener"),"rel-noreferrer":require("./features/rel-noreferrer"),"rellist":require("./features/rellist"),"rem":require("./features/rem"),"requestanimationframe":require("./features/requestanimationframe"),"requestidlecallback":require("./features/requestidlecallback"),"resizeobserver":require("./features/resizeobserver"),"resource-timing":require("./features/resource-timing"),"rest-parameters":require("./features/rest-parameters"),"rtcpeerconnection":require("./features/rtcpeerconnection"),"ruby":require("./features/ruby"),"run-in":require("./features/run-in"),"same-site-cookie-attribute":require("./features/same-site-cookie-attribute"),"screen-orientation":require("./features/screen-orientation"),"script-async":require("./features/script-async"),"script-defer":require("./features/script-defer"),"scrollintoview":require("./features/scrollintoview"),"scrollintoviewifneeded":require("./features/scrollintoviewifneeded"),"sdch":require("./features/sdch"),"selection-api":require("./features/selection-api"),"selectlist":require("./features/selectlist"),"server-timing":require("./features/server-timing"),"serviceworkers":require("./features/serviceworkers"),"setimmediate":require("./features/setimmediate"),"shadowdom":require("./features/shadowdom"),"shadowdomv1":require("./features/shadowdomv1"),"sharedarraybuffer":require("./features/sharedarraybuffer"),"sharedworkers":require("./features/sharedworkers"),"sni":require("./features/sni"),"spdy":require("./features/spdy"),"speech-recognition":require("./features/speech-recognition"),"speech-synthesis":require("./features/speech-synthesis"),"spellcheck-attribute":require("./features/spellcheck-attribute"),"sql-storage":require("./features/sql-storage"),"srcset":require("./features/srcset"),"stream":require("./features/stream"),"streams":require("./features/streams"),"stricttransportsecurity":require("./features/stricttransportsecurity"),"style-scoped":require("./features/style-scoped"),"subresource-bundling":require("./features/subresource-bundling"),"subresource-integrity":require("./features/subresource-integrity"),"svg-css":require("./features/svg-css"),"svg-filters":require("./features/svg-filters"),"svg-fonts":require("./features/svg-fonts"),"svg-fragment":require("./features/svg-fragment"),"svg-html":require("./features/svg-html"),"svg-html5":require("./features/svg-html5"),"svg-img":require("./features/svg-img"),"svg-smil":require("./features/svg-smil"),"svg":require("./features/svg"),"sxg":require("./features/sxg"),"tabindex-attr":require("./features/tabindex-attr"),"template-literals":require("./features/template-literals"),"template":require("./features/template"),"temporal":require("./features/temporal"),"testfeat":require("./features/testfeat"),"text-decoration":require("./features/text-decoration"),"text-emphasis":require("./features/text-emphasis"),"text-overflow":require("./features/text-overflow"),"text-size-adjust":require("./features/text-size-adjust"),"text-stroke":require("./features/text-stroke"),"textcontent":require("./features/textcontent"),"textencoder":require("./features/textencoder"),"tls1-1":require("./features/tls1-1"),"tls1-2":require("./features/tls1-2"),"tls1-3":require("./features/tls1-3"),"touch":require("./features/touch"),"transforms2d":require("./features/transforms2d"),"transforms3d":require("./features/transforms3d"),"trusted-types":require("./features/trusted-types"),"ttf":require("./features/ttf"),"typedarrays":require("./features/typedarrays"),"u2f":require("./features/u2f"),"unhandledrejection":require("./features/unhandledrejection"),"upgradeinsecurerequests":require("./features/upgradeinsecurerequests"),"url-scroll-to-text-fragment":require("./features/url-scroll-to-text-fragment"),"url":require("./features/url"),"urlsearchparams":require("./features/urlsearchparams"),"use-strict":require("./features/use-strict"),"user-select-none":require("./features/user-select-none"),"user-timing":require("./features/user-timing"),"variable-fonts":require("./features/variable-fonts"),"vector-effect":require("./features/vector-effect"),"vibration":require("./features/vibration"),"video":require("./features/video"),"videotracks":require("./features/videotracks"),"view-transitions":require("./features/view-transitions"),"viewport-unit-variants":require("./features/viewport-unit-variants"),"viewport-units":require("./features/viewport-units"),"wai-aria":require("./features/wai-aria"),"wake-lock":require("./features/wake-lock"),"wasm-bigint":require("./features/wasm-bigint"),"wasm-bulk-memory":require("./features/wasm-bulk-memory"),"wasm-extended-const":require("./features/wasm-extended-const"),"wasm-gc":require("./features/wasm-gc"),"wasm-multi-memory":require("./features/wasm-multi-memory"),"wasm-multi-value":require("./features/wasm-multi-value"),"wasm-mutable-globals":require("./features/wasm-mutable-globals"),"wasm-nontrapping-fptoint":require("./features/wasm-nontrapping-fptoint"),"wasm-reference-types":require("./features/wasm-reference-types"),"wasm-relaxed-simd":require("./features/wasm-relaxed-simd"),"wasm-signext":require("./features/wasm-signext"),"wasm-simd":require("./features/wasm-simd"),"wasm-tail-calls":require("./features/wasm-tail-calls"),"wasm-threads":require("./features/wasm-threads"),"wasm":require("./features/wasm"),"wav":require("./features/wav"),"wbr-element":require("./features/wbr-element"),"web-animation":require("./features/web-animation"),"web-app-manifest":require("./features/web-app-manifest"),"web-bluetooth":require("./features/web-bluetooth"),"web-serial":require("./features/web-serial"),"web-share":require("./features/web-share"),"webauthn":require("./features/webauthn"),"webcodecs":require("./features/webcodecs"),"webgl":require("./features/webgl"),"webgl2":require("./features/webgl2"),"webgpu":require("./features/webgpu"),"webhid":require("./features/webhid"),"webkit-user-drag":require("./features/webkit-user-drag"),"webm":require("./features/webm"),"webnfc":require("./features/webnfc"),"webp":require("./features/webp"),"websockets":require("./features/websockets"),"webtransport":require("./features/webtransport"),"webusb":require("./features/webusb"),"webvr":require("./features/webvr"),"webvtt":require("./features/webvtt"),"webworkers":require("./features/webworkers"),"webxr":require("./features/webxr"),"will-change":require("./features/will-change"),"woff":require("./features/woff"),"woff2":require("./features/woff2"),"word-break":require("./features/word-break"),"wordwrap":require("./features/wordwrap"),"x-doc-messaging":require("./features/x-doc-messaging"),"x-frame-options":require("./features/x-frame-options"),"xhr2":require("./features/xhr2"),"xhtml":require("./features/xhtml"),"xhtmlsmil":require("./features/xhtmlsmil"),"xml-serializer":require("./features/xml-serializer"),"zstd":require("./features/zstd")}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/aac.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/aac.js new file mode 100644 index 0000000000000000000000000000000000000000..74333e4f201eb289f69deacbd6314ad58de3d333 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/aac.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"2":"1 2 tC QC J VB K D E F A B C L M G N O P WB xC yC","132":"0 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"J VB K D E F","16":"A B"},E:{"1":"J VB K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"zC WC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD LC"},G:{"1":"E GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","16":"WC"},H:{"2":"dD"},I:{"1":"QC J I hD rC iD jD","2":"eD fD gD"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"132":"JC"},N:{"1":"A","2":"B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"132":"xD yD"}},B:6,C:"AAC audio file format",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/abortcontroller.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/abortcontroller.js new file mode 100644 index 0000000000000000000000000000000000000000..37208f24b714f65c50d37665c668e489975a2f64 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/abortcontroller.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G"},C:{"1":"0 zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB xC yC"},D:{"1":"0 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B"},E:{"1":"L M G LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B zC WC 0C 1C 2C 3C XC","130":"C KC"},F:{"1":"0 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB BD CD DD ED KC qC FD LC"},G:{"1":"QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 oD XC pD qD rD sD tD NC OC PC uD","2":"J kD lD mD nD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:1,C:"AbortController & AbortSignal",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/ac3-ec3.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/ac3-ec3.js new file mode 100644 index 0000000000000000000000000000000000000000..03755cd196bfffe4666d3d26a0c66c9dd245d234 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/ac3-ec3.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"C L M G N O P","2":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{"2":"E WC GD rC HD ID JD KD","132":"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"2":"QC J I eD fD gD hD rC iD jD"},J:{"2":"D","132":"A"},K:{"2":"A B C H KC qC","132":"LC"},L:{"2":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"2":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:6,C:"AC-3 (Dolby Digital) and EC-3 (Dolby Digital Plus) codecs",D:false}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/accelerometer.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/accelerometer.js new file mode 100644 index 0000000000000000000000000000000000000000..17f252795129af3c701f0ca9a181c8004d579514 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/accelerometer.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"1":"0 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB","194":"0B RC 1B SC 2B 3B 4B 5B 6B"},E:{"2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB BD CD DD ED KC qC FD LC"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"2":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"2":"xD yD"}},B:4,C:"Accelerometer",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/addeventlistener.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/addeventlistener.js new file mode 100644 index 0000000000000000000000000000000000000000..23ad143b9f5b8e3857aee89fad43f915c16fc312 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/addeventlistener.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","130":"K D E sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","257":"tC QC J VB K xC yC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{"1":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"1":"dD"},I:{"1":"QC J I eD fD gD hD rC iD jD"},J:{"1":"D A"},K:{"1":"A B C H KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:1,C:"EventTarget.addEventListener()",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/alternate-stylesheet.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/alternate-stylesheet.js new file mode 100644 index 0000000000000000000000000000000000000000..9a0460986ce3f931a57b4180c27acc1c69324db6 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/alternate-stylesheet.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E F A B","2":"K D sC"},B:{"2":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"F B C BD CD DD ED KC qC FD LC","16":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"16":"dD"},I:{"2":"QC J I eD fD gD hD rC iD jD"},J:{"16":"D A"},K:{"2":"H","16":"A B C KC qC LC"},L:{"16":"I"},M:{"16":"JC"},N:{"16":"A B"},O:{"16":"MC"},P:{"16":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"16":"wD"},S:{"1":"xD yD"}},B:1,C:"Alternate stylesheet",D:false}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/ambient-light.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/ambient-light.js new file mode 100644 index 0000000000000000000000000000000000000000..81e106fc7142a370a9891ba32f625ee825c1dc63 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/ambient-light.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"2":"C L","132":"M G N O P","322":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"2":"1 2 tC QC J VB K D E F A B C L M G N O P WB xC yC","132":"3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC","194":"0 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC"},D:{"2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB","322":"0 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC BD CD DD ED KC qC FD LC","322":"0 DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"2":"QC J I eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"2":"A B C H KC qC LC"},L:{"322":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"2":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"132":"xD yD"}},B:4,C:"Ambient Light Sensor",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/apng.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/apng.js new file mode 100644 index 0000000000000000000000000000000000000000..ffcfa143642d05df954e51e54e19728f67771b6f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/apng.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC","2":"tC"},D:{"1":"0 RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B"},E:{"1":"E F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D zC WC 0C 1C 2C"},F:{"1":"0 B C oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC","2":"1 2 3 4 5 6 7 8 9 F G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB"},G:{"1":"E KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC HD ID JD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"A B C H KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J kD lD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"Animated PNG (APNG)",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/array-find-index.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/array-find-index.js new file mode 100644 index 0000000000000000000000000000000000000000..161355ff9d1ac581924dde425ef0f9925ce7dfa0 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/array-find-index.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 tC QC J VB K D E F A B C L M G N O P WB xC yC"},D:{"1":"0 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB"},E:{"1":"E F A B C L M G 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D zC WC 0C 1C"},F:{"1":"0 aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB BD CD DD ED KC qC FD LC"},G:{"1":"E KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC HD ID JD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D","16":"A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:6,C:"Array.prototype.findIndex",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/array-find.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/array-find.js new file mode 100644 index 0000000000000000000000000000000000000000..d1bf52590cdf2c1a20066b5452b6f980ea8a1ea2 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/array-find.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","16":"C L M"},C:{"1":"0 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 tC QC J VB K D E F A B C L M G N O P WB xC yC"},D:{"1":"0 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB"},E:{"1":"E F A B C L M G 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D zC WC 0C 1C"},F:{"1":"0 aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB BD CD DD ED KC qC FD LC"},G:{"1":"E KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC HD ID JD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D","16":"A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:6,C:"Array.prototype.find",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/array-flat.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/array-flat.js new file mode 100644 index 0000000000000000000000000000000000000000..d759996e09137754c928328dce7e9235d05d6091 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/array-flat.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC xC yC"},D:{"1":"0 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B"},E:{"1":"C L M G LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B zC WC 0C 1C 2C 3C XC KC"},F:{"1":"0 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB BD CD DD ED KC qC FD LC"},G:{"1":"RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 XC pD qD rD sD tD NC OC PC uD","2":"J kD lD mD nD oD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:6,C:"flat & flatMap array methods",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/array-includes.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/array-includes.js new file mode 100644 index 0000000000000000000000000000000000000000..81cdbcc8544684c85c60775c04d0f7ffe83914b6 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/array-includes.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L"},C:{"1":"0 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB xC yC"},D:{"1":"0 pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB"},E:{"1":"F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E zC WC 0C 1C 2C"},F:{"1":"0 cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB BD CD DD ED KC qC FD LC"},G:{"1":"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:6,C:"Array.prototype.includes",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/arrow-functions.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/arrow-functions.js new file mode 100644 index 0000000000000000000000000000000000000000..56a33836d22e6cbdd28392a6ab0391c6906a52e0 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/arrow-functions.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 tC QC J VB K D E F A B C L M G N O P WB xC yC"},D:{"1":"0 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB"},E:{"1":"A B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F zC WC 0C 1C 2C 3C"},F:{"1":"0 aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB BD CD DD ED KC qC FD LC"},G:{"1":"ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:6,C:"Arrow functions",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/asmjs.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/asmjs.js new file mode 100644 index 0000000000000000000000000000000000000000..bcfa3b3f689c2c0e4061512d983a3fc60de68ced --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/asmjs.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"L M G N O P","132":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","322":"C"},C:{"1":"0 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 tC QC J VB K D E F A B C L M G N O P WB xC yC"},D:{"2":"1 2 3 4 5 6 7 8 J VB K D E F A B C L M G N O P WB","132":"0 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"2":"F B C BD CD DD ED KC qC FD LC","132":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"2":"QC J eD fD gD hD rC iD jD","132":"I"},J:{"2":"D A"},K:{"2":"A B C KC qC LC","132":"H"},L:{"132":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"132":"MC"},P:{"2":"J","132":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"132":"vD"},R:{"132":"wD"},S:{"1":"xD yD"}},B:6,C:"asm.js",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/async-clipboard.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/async-clipboard.js new file mode 100644 index 0000000000000000000000000000000000000000..7ac7ddcd46be8724089e57f6ec3a4998a20f4d92 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/async-clipboard.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B xC yC","132":"0 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB"},D:{"1":"0 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B"},E:{"1":"M G 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L zC WC 0C 1C 2C 3C XC KC LC"},F:{"1":"0 vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB BD CD DD ED KC qC FD LC"},G:{"1":"XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD"},H:{"2":"dD"},I:{"2":"QC J eD fD gD hD rC iD jD","260":"I"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"6 7 8 9","2":"J kD lD mD nD","260":"1 2 3 4 5 oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"2":"xD","132":"yD"}},B:5,C:"Asynchronous Clipboard API",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/async-functions.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/async-functions.js new file mode 100644 index 0000000000000000000000000000000000000000..560d7a081087e76829c87b55597900fc51f902cc --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/async-functions.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L","194":"M"},C:{"1":"0 uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB xC yC"},D:{"1":"0 xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB"},E:{"1":"B C L M G KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A zC WC 0C 1C 2C 3C","258":"XC"},F:{"1":"0 kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB BD CD DD ED KC qC FD LC"},G:{"1":"PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND","258":"OD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 lD mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J kD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:6,C:"Async functions",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/atob-btoa.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/atob-btoa.js new file mode 100644 index 0000000000000000000000000000000000000000..74cf2bf24d620f9d9c1839ce4a911bf62caccf5d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/atob-btoa.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z ED KC qC FD LC","2":"F BD CD","16":"DD"},G:{"1":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"1":"dD"},I:{"1":"QC J I eD fD gD hD rC iD jD"},J:{"1":"D A"},K:{"1":"B C H KC qC LC","16":"A"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:1,C:"Base64 encoding and decoding",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/audio-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/audio-api.js new file mode 100644 index 0000000000000000000000000000000000000000..1b51e6416f2226d1f065f379310a6c53573e05b8 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/audio-api.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 tC QC J VB K D E F A B C L M G N O P WB xC yC"},D:{"1":"0 cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"J VB K D E F A B C L","33":"1 2 3 4 5 6 7 8 9 M G N O P WB XB YB ZB aB bB"},E:{"1":"G 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB zC WC 0C","33":"K D E F A B C L M 1C 2C 3C XC KC LC 4C"},F:{"1":"0 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD LC","33":"1 2 G N O P WB"},G:{"1":"YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC HD","33":"E ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:2,C:"Web Audio API",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/audio.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/audio.js new file mode 100644 index 0000000000000000000000000000000000000000..343891179b7c7df646c6d3a8f973a7d6c9b0d0f6 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/audio.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC","132":"J VB K D E F A B C L M G N O P WB xC yC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z DD ED KC qC FD LC","2":"F","4":"BD CD"},G:{"260":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"1":"QC J I gD hD rC iD jD","2":"eD fD"},J:{"1":"D A"},K:{"1":"B C H KC qC LC","2":"A"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:1,C:"Audio element",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/audiotracks.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/audiotracks.js new file mode 100644 index 0000000000000000000000000000000000000000..0fa2bbc38cddd7839bcfda6f2403ae002a0c867d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/audiotracks.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F sC"},B:{"1":"C L M G N O P","322":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB xC yC","194":"0 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC"},D:{"2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB","322":"0 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"D E F A B C L M G 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K zC WC 0C"},F:{"2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB BD CD DD ED KC qC FD LC","322":"0 aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{"1":"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC HD ID"},H:{"2":"dD"},I:{"2":"QC J I eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"2":"A B C KC qC LC","322":"H"},L:{"322":"I"},M:{"2":"JC"},N:{"1":"A B"},O:{"322":"MC"},P:{"2":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"322":"vD"},R:{"322":"wD"},S:{"194":"xD yD"}},B:1,C:"Audio Tracks",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/autofocus.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/autofocus.js new file mode 100644 index 0000000000000000000000000000000000000000..9188afdbfc01e5014d55c88f33c26739be4c9b56 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/autofocus.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC xC yC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"J"},E:{"1":"VB K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J zC WC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC","2":"F"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"1":"QC J I hD rC iD jD","2":"eD fD gD"},J:{"1":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:1,C:"Autofocus attribute",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/auxclick.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/auxclick.js new file mode 100644 index 0000000000000000000000000000000000000000..16b8dd9c083d3be84396af58544600393718a758 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/auxclick.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB xC yC","129":"0 vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC"},D:{"1":"0 xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB"},E:{"1":"lC mC nC oC pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC"},F:{"1":"0 kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB BD CD DD ED KC qC FD LC"},G:{"1":"lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"2":"xD yD"}},B:5,C:"Auxclick",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/av1.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/av1.js new file mode 100644 index 0000000000000000000000000000000000000000..ca6edbf4e6d4a8eadd853f8a3ac718c5e1fb2d52 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/av1.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"0 C L M G N O z AB BB CB","194":"P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y"},C:{"1":"0 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xC yC","66":"xB yB zB 0B RC 1B SC 2B 3B 4B","260":"5B","516":"6B"},D:{"1":"0 AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B","66":"7B 8B 9B"},E:{"2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C","1028":"OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB BD CD DD ED KC qC FD LC"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD","1028":"OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 qD rD sD tD NC OC PC uD","2":"J kD lD mD nD oD XC pD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"2":"xD yD"}},B:6,C:"AV1 video format",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/avif.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/avif.js new file mode 100644 index 0000000000000000000000000000000000000000..64232aa186092bcaaca7e09fbf06b5be75d1b08b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/avif.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w AB BB CB","4162":"0 x y z"},C:{"1":"0 w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC xC yC","194":"HC IC Q H R TC S T U V W X Y Z a b","257":"c d e f g h i j k l m n o p q r s t","2049":"u v"},D:{"1":"0 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T"},E:{"1":"dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC","1796":"aC bC cC"},F:{"1":"0 BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BD CD DD ED KC qC FD LC"},G:{"1":"dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD","1281":"NC aC bC cC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 sD tD NC OC PC uD","2":"J kD lD mD nD oD XC pD qD rD"},Q:{"2":"vD"},R:{"1":"wD"},S:{"2":"xD yD"}},B:6,C:"AVIF image format",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/background-attachment.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/background-attachment.js new file mode 100644 index 0000000000000000000000000000000000000000..1610813314341b62bb54893e524b2911bc1bb89b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/background-attachment.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","132":"K D E sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","132":"1 2 3 4 5 tC QC J VB K D E F A B C L M G N O P WB xC yC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"VB K D E F A B C 0C 1C 2C 3C XC KC LC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","132":"J L zC WC 4C","2050":"M G 5C 6C YC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z DD ED KC qC FD LC","132":"F BD CD"},G:{"1":"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC","772":"E HD ID JD KD LD MD ND OD PD QD RD SD","2050":"TD UD VD WD XD YD ZD YC"},H:{"2":"dD"},I:{"2":"QC J I eD fD gD iD jD","132":"hD rC"},J:{"260":"D A"},K:{"1":"B C H KC qC LC","132":"A"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"2":"J","1028":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"CSS background-attachment",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/background-clip-text.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/background-clip-text.js new file mode 100644 index 0000000000000000000000000000000000000000..92ecb4f93ea66b8439d4537e23848b1c75da4944 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/background-clip-text.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"G N O P","33":"C L M","129":"CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","161":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},C:{"1":"0 rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB xC yC"},D:{"129":"CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","161":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},E:{"2":"zC","129":"MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","388":"VB K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC","420":"J WC"},F:{"2":"F B C BD CD DD ED KC qC FD LC","129":"0 p q r s t u v w x y z","161":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o"},G:{"129":"MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","388":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC"},H:{"2":"dD"},I:{"16":"QC eD fD gD","129":"I","161":"J hD rC iD jD"},J:{"161":"D A"},K:{"16":"A B C KC qC LC","129":"H"},L:{"129":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"161":"MC"},P:{"1":"6 7 8 9","161":"1 2 3 4 5 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"161":"vD"},R:{"161":"wD"},S:{"1":"xD yD"}},B:7,C:"Background-clip: text",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/background-img-opts.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/background-img-opts.js new file mode 100644 index 0000000000000000000000000000000000000000..27e1e758da497ae4dab09a3f544aa160f3c80157 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/background-img-opts.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC xC","36":"yC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","516":"J VB K D E F A B C L M"},E:{"1":"D E F A B C L M G 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","772":"J VB K zC WC 0C 1C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z DD ED KC qC FD LC","2":"F BD","36":"CD"},G:{"1":"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","4":"WC GD rC ID","516":"HD"},H:{"132":"dD"},I:{"1":"I iD jD","36":"eD","516":"QC J hD rC","548":"fD gD"},J:{"1":"D A"},K:{"1":"A B C H KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"CSS3 Background-image options",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/background-position-x-y.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/background-position-x-y.js new file mode 100644 index 0000000000000000000000000000000000000000..3274449a6c76f0b3bfbd52b00c8bced501bee199 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/background-position-x-y.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"K D E F A B sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB xC yC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD LC"},G:{"1":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"1":"QC J I eD fD gD hD rC iD jD"},J:{"1":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:7,C:"background-position-x & background-position-y",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/background-repeat-round-space.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/background-repeat-round-space.js new file mode 100644 index 0000000000000000000000000000000000000000..7a5ca0a363748d8d6caaad5c83f1a1a9eca37e85 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/background-repeat-round-space.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E sC","132":"F"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB xC yC"},D:{"1":"0 aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB"},E:{"1":"D E F A B C L M G 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K zC WC 0C 1C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z DD ED KC qC FD LC","2":"F G N O P BD CD"},G:{"1":"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC HD ID"},H:{"1":"dD"},I:{"1":"I iD jD","2":"QC J eD fD gD hD rC"},J:{"1":"A","2":"D"},K:{"1":"B C H KC qC LC","2":"A"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:4,C:"CSS background-repeat round and space",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/background-sync.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/background-sync.js new file mode 100644 index 0000000000000000000000000000000000000000..bea18a213913085cfeacbbee0a5d712277881e11 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/background-sync.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC xC yC","16":"uC vC wC"},D:{"1":"0 rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB"},E:{"2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB BD CD DD ED KC qC FD LC"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"2":"xD yD"}},B:7,C:"Background Sync API",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/battery-status.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/battery-status.js new file mode 100644 index 0000000000000000000000000000000000000000..01737746997b305d1c589830003ab765e054a527 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/battery-status.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"lB mB nB oB pB qB rB sB tB","2":"0 tC QC J VB K D E F uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC","132":"1 2 3 4 5 6 7 8 9 N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB","164":"A B C L M G"},D:{"1":"0 gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB","66":"fB"},E:{"2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 F B C G N O P WB BD CD DD ED KC qC FD LC"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD","2":"yD"}},B:4,C:"Battery Status API",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/beacon.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/beacon.js new file mode 100644 index 0000000000000000000000000000000000000000..972bf032c6b12d0f3681d5cd3a199c2f8787461a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/beacon.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L"},C:{"1":"0 ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB xC yC"},D:{"1":"0 hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB"},E:{"1":"C L M G KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B zC WC 0C 1C 2C 3C XC"},F:{"1":"0 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 F B C G N O P WB BD CD DD ED KC qC FD LC"},G:{"1":"QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"Beacon API",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/beforeafterprint.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/beforeafterprint.js new file mode 100644 index 0000000000000000000000000000000000000000..ffb6bb41aa157e1ef580f1a09bc785908bed861d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/beforeafterprint.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"K D E F A B","16":"sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC J VB xC yC"},D:{"1":"0 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B"},E:{"1":"L M G 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C zC WC 0C 1C 2C 3C XC KC LC"},F:{"1":"0 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB BD CD DD ED KC qC FD LC"},G:{"1":"TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD"},H:{"2":"dD"},I:{"2":"QC J I eD fD gD hD rC iD jD"},J:{"16":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"16":"A B"},O:{"1":"MC"},P:{"2":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","16":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:1,C:"Printing Events",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/bigint.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/bigint.js new file mode 100644 index 0000000000000000000000000000000000000000..a42ee1fbb0768f662ec46abc4076db47314b493c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/bigint.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B xC yC","194":"5B 6B 7B"},D:{"1":"0 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B"},E:{"1":"M G 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L zC WC 0C 1C 2C 3C XC KC LC 4C"},F:{"1":"0 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB BD CD DD ED KC qC FD LC"},G:{"1":"XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 oD XC pD qD rD sD tD NC OC PC uD","2":"J kD lD mD nD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:6,C:"BigInt",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/blobbuilder.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/blobbuilder.js new file mode 100644 index 0000000000000000000000000000000000000000..395f0466d000b09e7085fe4327bcb328d9795d47 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/blobbuilder.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC J VB xC yC","36":"K D E F A B C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"J VB K D","36":"E F A B C L M G N O P WB"},E:{"1":"K D E F A B C L M G 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB zC WC 0C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z LC","2":"F B C BD CD DD ED KC qC FD"},G:{"1":"E ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC HD"},H:{"2":"dD"},I:{"1":"I","2":"eD fD gD","36":"QC J hD rC iD jD"},J:{"1":"A","2":"D"},K:{"1":"H LC","2":"A B C KC qC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:5,C:"Blob constructing",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/bloburls.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/bloburls.js new file mode 100644 index 0000000000000000000000000000000000000000..e56c4f97813345649bedc03662565713c6f9d1a8 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/bloburls.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F sC","129":"A B"},B:{"1":"0 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","129":"C L M"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC xC yC"},D:{"1":"0 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"J VB K D","33":"1 2 3 E F A B C L M G N O P WB"},E:{"1":"D E F A B C L M G 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB zC WC 0C","33":"K"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD LC"},G:{"1":"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC HD","33":"ID"},H:{"2":"dD"},I:{"1":"I iD jD","2":"QC eD fD gD","33":"J hD rC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"B","2":"A"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:5,C:"Blob URLs",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/border-image.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/border-image.js new file mode 100644 index 0000000000000000000000000000000000000000..a4b8e2859567fa3618505c289629e1d5a4d357e6 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/border-image.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"K D E F A sC"},B:{"1":"0 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","129":"C L"},C:{"1":"0 sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC","260":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB","804":"J VB K D E F A B C L M xC yC"},D:{"1":"0 yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","260":"tB uB vB wB xB","388":"YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB","1412":"1 2 3 4 5 6 7 8 9 G N O P WB XB","1956":"J VB K D E F A B C L M"},E:{"1":"ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","129":"A B C L M G 3C XC KC LC 4C 5C 6C YC","1412":"K D E F 1C 2C","1956":"J VB zC WC 0C"},F:{"1":"0 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F BD CD","260":"gB hB iB jB kB","388":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB","1796":"DD ED","1828":"B C KC qC FD LC"},G:{"1":"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","129":"MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC","1412":"E ID JD KD LD","1956":"WC GD rC HD"},H:{"1828":"dD"},I:{"1":"I","388":"iD jD","1956":"QC J eD fD gD hD rC"},J:{"1412":"A","1924":"D"},K:{"1":"H","2":"A","1828":"B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"B","2":"A"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 mD nD oD XC pD qD rD sD tD NC OC PC uD","260":"kD lD","388":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","260":"xD"}},B:4,C:"CSS3 Border images",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/border-radius.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/border-radius.js new file mode 100644 index 0000000000000000000000000000000000000000..dca14949333cea75cfaf49dd89919716c10b929d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/border-radius.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","257":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB","289":"QC xC yC","292":"tC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","33":"J"},E:{"1":"VB D E F A B C L M G 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","33":"J zC WC","129":"K 0C 1C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z DD ED KC qC FD LC","2":"F BD CD"},G:{"1":"E GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","33":"WC"},H:{"2":"dD"},I:{"1":"QC J I fD gD hD rC iD jD","33":"eD"},J:{"1":"D A"},K:{"1":"B C H KC qC LC","2":"A"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","257":"xD"}},B:4,C:"CSS3 Border-radius (rounded corners)",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/broadcastchannel.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/broadcastchannel.js new file mode 100644 index 0000000000000000000000000000000000000000..0a73119cbaab76c0e9e7272a1aee8af31d0b8cd3 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/broadcastchannel.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB xC yC"},D:{"1":"0 wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB"},E:{"1":"ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC"},F:{"1":"0 jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB BD CD DD ED KC qC FD LC"},G:{"1":"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J kD lD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:1,C:"BroadcastChannel",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/brotli.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/brotli.js new file mode 100644 index 0000000000000000000000000000000000000000..0a98c569842526fa6b4cc5e9af1de99ebc720cff --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/brotli.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M"},C:{"1":"0 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB xC yC"},D:{"1":"0 tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB","194":"rB","257":"sB"},E:{"1":"L M G 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A zC WC 0C 1C 2C 3C XC","513":"B C KC LC"},F:{"1":"0 gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB BD CD DD ED KC qC FD LC","194":"eB fB"},G:{"1":"PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:6,C:"Brotli Accept-Encoding/Content-Encoding",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/calc.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/calc.js new file mode 100644 index 0000000000000000000000000000000000000000..687d2fae0d0569ae9cc2772a6b87ff55a8280e1c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/calc.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E sC","260":"F","516":"A B"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC xC yC","33":"J VB K D E F A B C L M G"},D:{"1":"0 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"J VB K D E F A B C L M G N O P","33":"1 2 3 4 5 6 WB"},E:{"1":"D E F A B C L M G 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB zC WC 0C","33":"K"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD LC"},G:{"1":"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC HD","33":"ID"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC","132":"iD jD"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"calc() as CSS unit value",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/canvas-blending.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/canvas-blending.js new file mode 100644 index 0000000000000000000000000000000000000000..509175cfe6ca7c0577a4058032926a2e7a31705a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/canvas-blending.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC J VB K D E F A B C L M G N O P WB xC yC"},D:{"1":"0 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB"},E:{"1":"D E F A B C L M G 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K zC WC 0C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F B C G N BD CD DD ED KC qC FD LC"},G:{"1":"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC HD ID"},H:{"2":"dD"},I:{"1":"I iD jD","2":"QC J eD fD gD hD rC"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"Canvas blend modes",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/canvas-text.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/canvas-text.js new file mode 100644 index 0000000000000000000000000000000000000000..ff44b8e563f7bdd7438a03fcd65d3846240b9bbb --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/canvas-text.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"sC","8":"K D E"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC","8":"tC QC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"J VB K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","8":"zC WC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z DD ED KC qC FD LC","8":"F BD CD"},G:{"1":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"1":"QC J I eD fD gD hD rC iD jD"},J:{"1":"D A"},K:{"1":"B C H KC qC LC","8":"A"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:1,C:"Text API for Canvas",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/canvas.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/canvas.js new file mode 100644 index 0000000000000000000000000000000000000000..6a1de34522aae59a58382a8d4da0d250f187ea85 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/canvas.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"sC","8":"K D E"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC yC","132":"tC QC xC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"J VB K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","132":"zC WC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{"1":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"260":"dD"},I:{"1":"QC J I hD rC iD jD","132":"eD fD gD"},J:{"1":"D A"},K:{"1":"A B C H KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:1,C:"Canvas (basic support)",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/ch-unit.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/ch-unit.js new file mode 100644 index 0000000000000000000000000000000000000000..fe53e7f5180ad14d76e07061138ae40ce3aef83b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/ch-unit.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E sC","132":"F A B"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"1":"0 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 J VB K D E F A B C L M G N O P WB"},E:{"1":"D E F A B C L M G 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K zC WC 0C 1C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD LC"},G:{"1":"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC HD ID"},H:{"2":"dD"},I:{"1":"I iD jD","2":"QC J eD fD gD hD rC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"ch (character) unit",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/chacha20-poly1305.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/chacha20-poly1305.js new file mode 100644 index 0000000000000000000000000000000000000000..8929d68c0f01f8695e1c41cbdca9dbd12bb0aa66 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/chacha20-poly1305.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB xC yC"},D:{"1":"0 rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB","129":"bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB"},E:{"1":"C L M G KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B zC WC 0C 1C 2C 3C XC"},F:{"1":"0 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB BD CD DD ED KC qC FD LC"},G:{"1":"PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD","16":"jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:6,C:"ChaCha20-Poly1305 cipher suites for TLS",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/channel-messaging.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/channel-messaging.js new file mode 100644 index 0000000000000000000000000000000000000000..b6e024d38b679e894a45ad98aad1a504fc17d9ab --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/channel-messaging.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 tC QC J VB K D E F A B C L M G N O P WB xC yC","194":"7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"VB K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J zC WC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z ED KC qC FD LC","2":"F BD CD","16":"DD"},G:{"1":"E HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC"},H:{"2":"dD"},I:{"1":"I iD jD","2":"QC J eD fD gD hD rC"},J:{"1":"D A"},K:{"1":"B C H KC qC LC","2":"A"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:1,C:"Channel messaging",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/childnode-remove.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/childnode-remove.js new file mode 100644 index 0000000000000000000000000000000000000000..84e555d457d242f1a8bf03b0d2fe242a9505d78c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/childnode-remove.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","16":"C"},C:{"1":"0 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 tC QC J VB K D E F A B C L M G N O P WB xC yC"},D:{"1":"0 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 J VB K D E F A B C L M G N O P WB"},E:{"1":"D E F A B C L M G 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB zC WC 0C","16":"K"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD LC"},G:{"1":"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC HD ID"},H:{"2":"dD"},I:{"1":"I iD jD","2":"QC J eD fD gD hD rC"},J:{"1":"A","2":"D"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:1,C:"ChildNode.remove()",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/classlist.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/classlist.js new file mode 100644 index 0000000000000000000000000000000000000000..f2afac51a95c6593308d8bb93c427821ad0ec09d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/classlist.js @@ -0,0 +1 @@ +module.exports={A:{A:{"8":"K D E F sC","1924":"A B"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","8":"tC QC xC","516":"5 6","772":"1 2 3 4 J VB K D E F A B C L M G N O P WB yC"},D:{"1":"0 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","8":"J VB K D","516":"5 6 7 8","772":"4","900":"1 2 3 E F A B C L M G N O P WB"},E:{"1":"D E F A B C L M G 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","8":"J VB zC WC","900":"K 0C 1C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","8":"F B BD CD DD ED KC","900":"C qC FD LC"},G:{"1":"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","8":"WC GD rC","900":"HD ID"},H:{"900":"dD"},I:{"1":"I iD jD","8":"eD fD gD","900":"QC J hD rC"},J:{"1":"A","900":"D"},K:{"1":"H","8":"A B","900":"C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"900":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:1,C:"classList (DOMTokenList)",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js new file mode 100644 index 0000000000000000000000000000000000000000..6e01f6a74ba27cd418c2750a24576236b1e45950 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"1":"0 oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB"},E:{"2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB BD CD DD ED KC qC FD LC"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"2":"xD yD"}},B:6,C:"Client Hints: DPR, Width, Viewport-Width",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/clipboard.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/clipboard.js new file mode 100644 index 0000000000000000000000000000000000000000..51d1c27ed085878f68409f42efab6935bfeacc12 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/clipboard.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2436":"K D E F A B sC"},B:{"260":"O P","2436":"C L M G N","8196":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"2":"1 2 tC QC J VB K D E F A B C L M G N O P WB xC yC","772":"3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB","4100":"0 jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC"},D:{"2":"J VB K D E F A B C","2564":"1 2 3 4 5 6 7 8 9 L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB","8196":"0 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","10244":"lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB"},E:{"1":"C L M G LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","16":"zC WC","2308":"A B XC KC","2820":"J VB K D E F 0C 1C 2C 3C"},F:{"2":"F B BD CD DD ED KC qC FD","16":"C","516":"LC","2564":"1 2 3 4 5 6 7 8 9 G N O P WB XB","8196":"0 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","10244":"YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB"},G:{"1":"RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC","2820":"E HD ID JD KD LD MD ND OD PD QD"},H:{"2":"dD"},I:{"2":"QC J eD fD gD hD rC","260":"I","2308":"iD jD"},J:{"2":"D","2308":"A"},K:{"2":"A B C KC qC","16":"LC","8196":"H"},L:{"8196":"I"},M:{"1028":"JC"},N:{"2":"A B"},O:{"8196":"MC"},P:{"2052":"kD lD","2308":"J","8196":"1 2 3 4 5 6 7 8 9 mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"8196":"vD"},R:{"8196":"wD"},S:{"4100":"xD yD"}},B:5,C:"Synchronous Clipboard API",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/colr-v1.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/colr-v1.js new file mode 100644 index 0000000000000000000000000000000000000000..21d6dc5c3411cde6e9094562b91e0fb9077eafed --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/colr-v1.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g"},C:{"1":"0 q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g xC yC","258":"h i j k l m n","578":"o p"},D:{"1":"0 h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y","194":"Z a b c d e f g"},E:{"2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U BD CD DD ED KC qC FD LC"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"16":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"16":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 PC uD","2":"J kD lD mD nD oD XC pD qD rD sD tD NC OC"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:6,C:"COLR/CPAL(v1) Font Formats",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/colr.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/colr.js new file mode 100644 index 0000000000000000000000000000000000000000..bf5ce07b8ecf4c84c529d368b8df9e88e49fb0e0 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/colr.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E sC","257":"F A B"},B:{"1":"0 C L M G N O P t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","513":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s"},C:{"1":"0 aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB xC yC"},D:{"1":"0 t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC","513":"BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s"},E:{"1":"M G 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A zC WC 0C 1C 2C 3C XC","129":"B C L KC LC 4C","1026":"OC fC"},F:{"1":"0 f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB BD CD DD ED KC qC FD LC","513":"0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e"},G:{"1":"PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD","1026":"OC fC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"16":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"16":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 XC pD qD rD sD tD NC OC PC uD","2":"J kD lD mD nD oD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:6,C:"COLR/CPAL(v0) Font Formats",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/comparedocumentposition.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/comparedocumentposition.js new file mode 100644 index 0000000000000000000000000000000000000000..446de8a1a82ddd287090fea606be1ed2a337337a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/comparedocumentposition.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","16":"tC QC xC yC"},D:{"1":"0 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","16":"J VB K D E F A B C L M","132":"1 2 3 4 5 6 7 8 9 G N O P WB XB"},E:{"1":"A B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","16":"J VB K zC WC","132":"D E F 1C 2C 3C","260":"0C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z FD LC","16":"F B BD CD DD ED KC qC","132":"G N"},G:{"1":"ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","16":"WC","132":"E GD rC HD ID JD KD LD MD"},H:{"1":"dD"},I:{"1":"I iD jD","16":"eD fD","132":"QC J gD hD rC"},J:{"132":"D A"},K:{"1":"C H LC","16":"A B KC qC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:1,C:"Node.compareDocumentPosition()",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/console-basic.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/console-basic.js new file mode 100644 index 0000000000000000000000000000000000000000..e1a9be5243b486ddafe0e4cbacf66b6901c08f13 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/console-basic.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D sC","132":"E F"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC xC yC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z KC qC FD LC","2":"F BD CD DD ED"},G:{"1":"WC GD rC HD","513":"E ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"4097":"dD"},I:{"1025":"QC J I eD fD gD hD rC iD jD"},J:{"258":"D A"},K:{"2":"A","258":"B C KC qC LC","1025":"H"},L:{"1025":"I"},M:{"2049":"JC"},N:{"258":"A B"},O:{"258":"MC"},P:{"1025":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1025":"wD"},S:{"1":"xD yD"}},B:1,C:"Basic console logging functions",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/console-time.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/console-time.js new file mode 100644 index 0000000000000000000000000000000000000000..566b0f64187ca2d6a85f4aff4e9ef0355f48c3a4 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/console-time.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"K D E F A sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC J VB K D E F xC yC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"J VB K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"zC WC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z KC qC FD LC","2":"F BD CD DD ED","16":"B"},G:{"1":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"1":"dD"},I:{"1":"QC J I eD fD gD hD rC iD jD"},J:{"1":"D A"},K:{"1":"H","16":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"B","2":"A"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:1,C:"console.time and console.timeEnd",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/const.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/const.js new file mode 100644 index 0000000000000000000000000000000000000000..e28a8ba21981a6f0abd270bfc8208e1380fc5f19 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/const.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A sC","2052":"B"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","132":"tC QC J VB K D E F A B C xC yC","260":"1 2 3 4 5 6 7 8 9 L M G N O P WB XB YB ZB aB bB cB dB"},D:{"1":"0 rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","260":"1 J VB K D E F A B C L M G N O P WB","772":"2 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB","1028":"jB kB lB mB nB oB pB qB"},E:{"1":"B C L M G KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","260":"J VB A zC WC XC","772":"K D E F 0C 1C 2C 3C"},F:{"1":"0 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F BD","132":"B CD DD ED KC qC","644":"C FD LC","772":"1 2 3 4 5 6 7 8 G N O P WB","1028":"9 XB YB ZB aB bB cB dB"},G:{"1":"PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","260":"WC GD rC ND OD","772":"E HD ID JD KD LD MD"},H:{"644":"dD"},I:{"1":"I","16":"eD fD","260":"gD","772":"QC J hD rC iD jD"},J:{"772":"D A"},K:{"1":"H","132":"A B KC qC","644":"C LC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"B","2":"A"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","1028":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:6,C:"const",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/constraint-validation.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/constraint-validation.js new file mode 100644 index 0000000000000000000000000000000000000000..e39d30b7092fa56883bc4f8b7891da1730bf1aa6 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/constraint-validation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F sC","900":"A B"},B:{"1":"0 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","388":"M G N","900":"C L"},C:{"1":"0 tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC xC yC","260":"rB sB","388":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB","900":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB"},D:{"1":"0 iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","16":"J VB K D E F A B C L M","388":"6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB","900":"1 2 3 4 5 G N O P WB"},E:{"1":"A B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","16":"J VB zC WC","388":"E F 2C 3C","900":"K D 0C 1C"},F:{"1":"0 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","16":"F B BD CD DD ED KC qC","388":"1 2 3 4 5 6 7 G N O P WB","900":"C FD LC"},G:{"1":"ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","16":"WC GD rC","388":"E JD KD LD MD","900":"HD ID"},H:{"2":"dD"},I:{"1":"I","16":"QC eD fD gD","388":"iD jD","900":"J hD rC"},J:{"16":"D","388":"A"},K:{"1":"H","16":"A B KC qC","900":"C LC"},L:{"1":"I"},M:{"1":"JC"},N:{"900":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","388":"xD"}},B:1,C:"Constraint Validation API",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/contenteditable.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/contenteditable.js new file mode 100644 index 0000000000000000000000000000000000000000..767a6552bf3b1a91a06c321379aceaf07568ab05 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/contenteditable.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"K D E F A B sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC","2":"tC","4":"QC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{"1":"E HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC"},H:{"2":"dD"},I:{"1":"QC J I hD rC iD jD","2":"eD fD gD"},J:{"1":"D A"},K:{"1":"H LC","2":"A B C KC qC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:1,C:"contenteditable attribute (basic support)",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js new file mode 100644 index 0000000000000000000000000000000000000000..5ba5b942a9246c97bc2babfd3fcc2c25879301e3 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F sC","132":"A B"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC xC yC","129":"1 2 3 J VB K D E F A B C L M G N O P WB"},D:{"1":"0 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"J VB K D E F A B C L","257":"1 2 3 4 5 M G N O P WB"},E:{"1":"D E F A B C L M G 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB zC WC","257":"K 1C","260":"0C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD LC"},G:{"1":"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC","257":"ID","260":"HD"},H:{"2":"dD"},I:{"1":"I iD jD","2":"QC J eD fD gD hD rC"},J:{"2":"D","257":"A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"132":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"Content Security Policy 1.0",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js new file mode 100644 index 0000000000000000000000000000000000000000..0dd781f2c397f15754910f059ad45ff63537327c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M","4100":"G N O P"},C:{"1":"0 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB xC yC","132":"ZB aB bB cB","260":"dB","516":"eB fB gB hB iB jB kB lB mB"},D:{"1":"0 iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB","1028":"eB fB gB","2052":"hB"},E:{"1":"A B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F zC WC 0C 1C 2C 3C"},F:{"1":"0 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 F B C G N O P WB BD CD DD ED KC qC FD LC","1028":"4 5 6","2052":"7"},G:{"1":"ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:2,C:"Content Security Policy Level 2",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/cookie-store-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/cookie-store-api.js new file mode 100644 index 0000000000000000000000000000000000000000..68229972c226ff233e46bb5aa1ace8f7db046377 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/cookie-store-api.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P","194":"Q H R S T U V"},C:{"1":"UC VC JC uC vC wC","2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB xC yC","322":"OB PB QB RB SB TB UB I"},D:{"1":"0 W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B","194":"4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V"},E:{"1":"nC oC pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC"},F:{"1":"0 EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB BD CD DD ED KC qC FD LC","194":"tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC"},G:{"1":"nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 sD tD NC OC PC uD","2":"J kD lD mD nD oD XC pD qD rD"},Q:{"2":"vD"},R:{"1":"wD"},S:{"2":"xD yD"}},B:7,C:"Cookie Store API",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/cors.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/cors.js new file mode 100644 index 0000000000000000000000000000000000000000..39e3dde4c81a25adbf49a811260fcec84eed97ed --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/cors.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"K D sC","132":"A","260":"E F"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC","2":"tC QC","1025":"SC 2B 3B 4B 5B 6B 7B 8B 9B AC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","132":"J VB K D E F A B C"},E:{"2":"zC WC","513":"K D E F A B C L M G 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","644":"J VB 0C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z LC","2":"F B BD CD DD ED KC qC FD"},G:{"513":"E ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","644":"WC GD rC HD"},H:{"2":"dD"},I:{"1":"I iD jD","132":"QC J eD fD gD hD rC"},J:{"1":"A","132":"D"},K:{"1":"C H LC","2":"A B KC qC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"B","132":"A"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:1,C:"Cross-Origin Resource Sharing",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/createimagebitmap.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/createimagebitmap.js new file mode 100644 index 0000000000000000000000000000000000000000..5aa91bbd2621cc6566fe9f20c58ffae895f84820 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/createimagebitmap.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB xC yC","1028":"c d e f g","3076":"kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b","8193":"0 h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC"},D:{"1":"0 RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB","132":"sB tB","260":"uB vB","516":"wB xB yB zB 0B"},E:{"1":"OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L M zC WC 0C 1C 2C 3C XC KC LC 4C 5C","4100":"G 6C YC ZC MC 7C NC aC bC cC dC eC 8C"},F:{"1":"0 oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB BD CD DD ED KC qC FD LC","132":"fB gB","260":"hB iB","516":"jB kB lB mB nB"},G:{"1":"OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD","4100":"ZD YC ZC MC aD NC aC bC cC dC eC bD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"8193":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 lD mD nD oD XC pD qD rD sD tD NC OC PC uD","16":"J kD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"3076":"xD yD"}},B:1,C:"createImageBitmap",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/credential-management.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/credential-management.js new file mode 100644 index 0000000000000000000000000000000000000000..fe32f8350ae1f742515502a5385f17c958a479c1 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/credential-management.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"1":"0 zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB","66":"qB rB sB","129":"tB uB vB wB xB yB"},E:{"2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB BD CD DD ED KC qC FD LC"},G:{"1":"XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J kD lD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"2":"xD yD"}},B:5,C:"Credential Management API",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js new file mode 100644 index 0000000000000000000000000000000000000000..57d79ad8abefa12b4a817ad61af8ef2114fb900e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"1":"IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB"},E:{"1":"lC mC nC oC pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC"},F:{"1":"0 v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u BD CD DD ED KC qC FD LC"},G:{"1":"lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"2":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:5,C:"View Transitions (cross-document)",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/cryptography.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/cryptography.js new file mode 100644 index 0000000000000000000000000000000000000000..4ed29e87cc5679eab6f646db28334b3d3a7f0ea2 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/cryptography.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"sC","8":"K D E F A","164":"B"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","513":"C L M G N O P"},C:{"1":"0 cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","8":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB xC yC","66":"aB bB"},D:{"1":"0 fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","8":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB"},E:{"1":"B C L M G KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","8":"J VB K D zC WC 0C 1C","289":"E F A 2C 3C XC"},F:{"1":"0 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","8":"1 2 3 4 F B C G N O P WB BD CD DD ED KC qC FD LC"},G:{"1":"PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","8":"WC GD rC HD ID JD","289":"E KD LD MD ND OD"},H:{"2":"dD"},I:{"1":"I","8":"QC J eD fD gD hD rC iD jD"},J:{"8":"D A"},K:{"1":"H","8":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"8":"A","164":"B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:2,C:"Web Cryptography",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-all.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-all.js new file mode 100644 index 0000000000000000000000000000000000000000..667fa90c61006be290f6e2e74613f21973259782 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-all.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 tC QC J VB K D E F A B C L M G N O P WB xC yC"},D:{"1":"0 fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB"},E:{"1":"A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F zC WC 0C 1C 2C"},F:{"1":"0 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 F B C G N O P WB BD CD DD ED KC qC FD LC"},G:{"1":"MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD"},H:{"2":"dD"},I:{"1":"I jD","2":"QC J eD fD gD hD rC iD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:2,C:"CSS all property",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-anchor-positioning.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-anchor-positioning.js new file mode 100644 index 0000000000000000000000000000000000000000..640c108f31496d05dbcda19699abb76b06d160b6 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-anchor-positioning.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","194":"0 AB BB CB DB EB FB GB"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"1":"HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","194":"0 AB BB CB DB EB FB GB"},E:{"1":"pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC"},F:{"1":"0 u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l BD CD DD ED KC qC FD LC","194":"m n o p q r s t"},G:{"1":"pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"2":"A B C H KC qC LC"},L:{"1":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"1":"8 9","2":"1 2 3 4 5 6 7 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:5,C:"CSS Anchor Positioning",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-animation.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-animation.js new file mode 100644 index 0000000000000000000000000000000000000000..5aa5bef28ef5e519c6c8272d57c47d009d74e23a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-animation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC J xC yC","33":"VB K D E F A B C L M G"},D:{"1":"0 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","33":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB"},E:{"1":"F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"zC WC","33":"K D E 0C 1C 2C","292":"J VB"},F:{"1":"0 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z LC","2":"F B BD CD DD ED KC qC FD","33":"1 2 3 4 5 6 7 8 9 C G N O P WB XB"},G:{"1":"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","33":"E ID JD KD","164":"WC GD rC HD"},H:{"2":"dD"},I:{"1":"I","33":"J hD rC iD jD","164":"QC eD fD gD"},J:{"33":"D A"},K:{"1":"H LC","2":"A B C KC qC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:5,C:"CSS Animation",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-any-link.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-any-link.js new file mode 100644 index 0000000000000000000000000000000000000000..76f1d2f0ce0342cf01f0f1c0dce247de7f1d164a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-any-link.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","16":"tC","33":"1 2 3 4 5 6 7 8 9 QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB xC yC"},D:{"1":"0 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","16":"J VB K D E F A B C L M","33":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B"},E:{"1":"F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","16":"J VB K zC WC 0C","33":"D E 1C 2C"},F:{"1":"0 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD LC","33":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB"},G:{"1":"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","16":"WC GD rC HD","33":"E ID JD KD"},H:{"2":"dD"},I:{"1":"I","16":"QC J eD fD gD hD rC","33":"iD jD"},J:{"16":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 oD XC pD qD rD sD tD NC OC PC uD","16":"J","33":"kD lD mD nD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","33":"xD"}},B:5,C:"CSS :any-link selector",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-appearance.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-appearance.js new file mode 100644 index 0000000000000000000000000000000000000000..f88f83787f730ab4942bb09584dca1e2c6bd95c0 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-appearance.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","33":"S","164":"Q H R","388":"C L M G N O P"},C:{"1":"0 H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","164":"dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q","676":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB xC yC"},D:{"1":"0 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","33":"S","164":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R"},E:{"1":"ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","164":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC"},F:{"1":"0 DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD LC","33":"AC BC CC","164":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B"},G:{"1":"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","164":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC"},H:{"2":"dD"},I:{"1":"I","164":"QC J eD fD gD hD rC iD jD"},J:{"164":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A","388":"B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 sD tD NC OC PC uD","164":"J kD lD mD nD oD XC pD qD rD"},Q:{"164":"vD"},R:{"1":"wD"},S:{"1":"yD","164":"xD"}},B:5,C:"CSS Appearance",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-at-counter-style.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-at-counter-style.js new file mode 100644 index 0000000000000000000000000000000000000000..036e69d7c0596397fc9bda8a3602d17cf0de8316 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-at-counter-style.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"2":"C L M G N O P Q H R S T U V W X Y Z","132":"0 a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB xC yC","132":"0 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC"},D:{"2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z","132":"0 a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C","4":"OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC BD CD DD ED KC qC FD LC","132":"0 HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD","4":"OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"2":"QC J eD fD gD hD rC iD jD","132":"I"},J:{"2":"D A"},K:{"2":"A B C KC qC LC","132":"H"},L:{"132":"I"},M:{"132":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"2":"J kD lD mD nD oD XC pD qD rD sD tD","132":"1 2 3 4 5 6 7 8 9 NC OC PC uD"},Q:{"2":"vD"},R:{"132":"wD"},S:{"132":"xD yD"}},B:4,C:"CSS Counter Styles",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-autofill.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-autofill.js new file mode 100644 index 0000000000000000000000000000000000000000..bfb0d8bf58c1ebfb0af047b866159a8f30d7311c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-autofill.js @@ -0,0 +1 @@ +module.exports={A:{D:{"1":"0 t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","33":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s"},L:{"1":"I"},B:{"1":"0 t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P","33":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s"},C:{"1":"0 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U xC yC"},M:{"1":"JC"},A:{"2":"K D E F A B sC"},F:{"1":"0 f g h i j k l m n o p q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD LC","33":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e"},K:{"1":"H","2":"A B C KC qC LC"},E:{"1":"G 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC","2":"AD","33":"J VB K D E F A B C L M zC WC 0C 1C 2C 3C XC KC LC 4C 5C"},G:{"1":"ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","33":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD"},P:{"1":"2 3 4 5 6 7 8 9","33":"1 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},I:{"1":"I","2":"QC J eD fD gD hD rC","33":"iD jD"}},B:6,C:":autofill CSS pseudo-class",D:undefined}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-backdrop-filter.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-backdrop-filter.js new file mode 100644 index 0000000000000000000000000000000000000000..47947be0bb007936fe6387709eecac3f6da9b729 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-backdrop-filter.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N","257":"O P"},C:{"1":"0 m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B xC yC","578":"AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l"},D:{"1":"0 GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB","194":"pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC"},E:{"1":"PC kC lC mC nC oC pC AD","2":"J VB K D E zC WC 0C 1C 2C","33":"F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C"},F:{"1":"0 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB BD CD DD ED KC qC FD LC","194":"cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B"},G:{"1":"PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD","33":"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 qD rD sD tD NC OC PC uD","2":"J","194":"kD lD mD nD oD XC pD"},Q:{"2":"vD"},R:{"1":"wD"},S:{"2":"xD yD"}},B:7,C:"CSS Backdrop Filter",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-background-offsets.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-background-offsets.js new file mode 100644 index 0000000000000000000000000000000000000000..b4db9aa49b871649525713c02ee305e7c4dd9be6 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-background-offsets.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC J VB K D E F A B C xC yC"},D:{"1":"0 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 J VB K D E F A B C L M G N O P WB"},E:{"1":"D E F A B C L M G 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K zC WC 0C 1C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z DD ED KC qC FD LC","2":"F BD CD"},G:{"1":"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC HD ID"},H:{"1":"dD"},I:{"1":"I iD jD","2":"QC J eD fD gD hD rC"},J:{"1":"A","2":"D"},K:{"1":"B C H KC qC LC","2":"A"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"CSS background-position edge offsets",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js new file mode 100644 index 0000000000000000000000000000000000000000..7d50b9403751b4afe416b6ce13bf364e69e080f1 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB xC yC"},D:{"1":"0 dB eB fB gB hB iB jB kB lB mB nB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB","260":"oB"},E:{"1":"B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D zC WC 0C 1C","132":"E F A 2C 3C"},F:{"1":"0 3 4 5 6 7 8 9 XB YB ZB aB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 F B C G N O P WB BD CD DD ED KC qC FD LC","260":"bB"},G:{"1":"OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC HD ID JD","132":"E KD LD MD ND"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"CSS background-blend-mode",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js new file mode 100644 index 0000000000000000000000000000000000000000..50d21f48682760dd1bc7f79278ee737a9fcb4288 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P","164":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB"},C:{"1":"0 aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB xC yC"},D:{"1":"MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 J VB K D E F A B C L M G N O P WB","164":"0 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB"},E:{"2":"J VB K zC WC 0C","164":"D E F A B C L M G 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 z","2":"F BD CD DD ED","129":"B C KC qC FD LC","164":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y"},G:{"2":"WC GD rC HD ID","164":"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"132":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC","164":"iD jD"},J:{"2":"D","164":"A"},K:{"2":"A","129":"B C KC qC LC","164":"H"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"164":"MC"},P:{"164":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"164":"vD"},R:{"164":"wD"},S:{"1":"xD yD"}},B:4,C:"CSS box-decoration-break",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-boxshadow.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-boxshadow.js new file mode 100644 index 0000000000000000000000000000000000000000..e2c1bf9d21a1885c20151e3e23d24589de8d2afe --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-boxshadow.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC","33":"xC yC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","33":"J VB K D E F"},E:{"1":"K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","33":"VB","164":"J zC WC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z DD ED KC qC FD LC","2":"F BD CD"},G:{"1":"E HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","33":"GD rC","164":"WC"},H:{"2":"dD"},I:{"1":"J I hD rC iD jD","164":"QC eD fD gD"},J:{"1":"A","33":"D"},K:{"1":"B C H KC qC LC","2":"A"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"CSS3 Box-shadow",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-canvas.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-canvas.js new file mode 100644 index 0000000000000000000000000000000000000000..a925e982c3c60d61adf15bf2369466bec7cd7822 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-canvas.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"2":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"2":"0 qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","33":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB"},E:{"2":"zC WC","33":"J VB K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"2":"0 F B C dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC","33":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB"},G:{"33":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"2":"I","33":"QC J eD fD gD hD rC iD jD"},J:{"33":"D A"},K:{"2":"A B C H KC qC LC"},L:{"2":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"2":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","33":"J"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:7,C:"CSS Canvas Drawings",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-caret-color.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-caret-color.js new file mode 100644 index 0000000000000000000000000000000000000000..64d3cac052d6d13ce50eaa24b38b9a4cd841ed14 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-caret-color.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB xC yC"},D:{"1":"0 zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB"},E:{"1":"C L M G KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B zC WC 0C 1C 2C 3C XC"},F:{"1":"0 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB BD CD DD ED KC qC FD LC"},G:{"1":"QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J kD lD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:2,C:"CSS caret-color",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-cascade-layers.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-cascade-layers.js new file mode 100644 index 0000000000000000000000000000000000000000..0ceb0a5d1925f333f7805cbdb7534f4d03d07d12 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-cascade-layers.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e","322":"f g h"},C:{"1":"0 g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c xC yC","194":"d e f"},D:{"1":"0 i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e","322":"f g h"},E:{"1":"ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC"},F:{"1":"0 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U BD CD DD ED KC qC FD LC"},G:{"1":"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 PC uD","2":"J kD lD mD nD oD XC pD qD rD sD tD NC OC"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:4,C:"CSS Cascade Layers",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-cascade-scope.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-cascade-scope.js new file mode 100644 index 0000000000000000000000000000000000000000..ece677668040e62b5d1df5c6c0365481844b51ad --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-cascade-scope.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m","194":"0 n o p q r s t u v w x y z"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"1":"AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m","194":"0 n o p q r s t u v w x y z"},E:{"1":"iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC"},F:{"1":"0 p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y BD CD DD ED KC qC FD LC","194":"Z a b c d e f g h i j k l m n o"},G:{"1":"iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"1":"6 7 8 9","2":"1 2 3 4 5 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:5,C:"Scoped Styles: the @scope rule",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-case-insensitive.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-case-insensitive.js new file mode 100644 index 0000000000000000000000000000000000000000..79ec0bdb2bd23d1cb728e55a520e10dd0e7ef557 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-case-insensitive.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB xC yC"},D:{"1":"0 rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB"},E:{"1":"F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E zC WC 0C 1C 2C"},F:{"1":"0 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB BD CD DD ED KC qC FD LC"},G:{"1":"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:5,C:"Case-insensitive CSS attribute selectors",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-clip-path.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-clip-path.js new file mode 100644 index 0000000000000000000000000000000000000000..19ca84ccefe84db00620ad949244430e03b6a732 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-clip-path.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"2":"C L M G N O","260":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","3138":"P"},C:{"1":"0 wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC","132":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB xC yC","644":"pB qB rB sB tB uB vB"},D:{"2":"1 2 3 4 J VB K D E F A B C L M G N O P WB","260":"0 xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","292":"5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB"},E:{"2":"J VB K zC WC 0C 1C","260":"M G 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","292":"D E F A B C L 2C 3C XC KC LC"},F:{"2":"F B C BD CD DD ED KC qC FD LC","260":"0 kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","292":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB"},G:{"2":"WC GD rC HD ID","260":"TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","292":"E JD KD LD MD ND OD PD QD RD SD"},H:{"2":"dD"},I:{"2":"QC J eD fD gD hD rC","260":"I","292":"iD jD"},J:{"2":"D A"},K:{"2":"A B C KC qC LC","260":"H"},L:{"260":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"260":"MC"},P:{"260":"1 2 3 4 5 6 7 8 9 lD mD nD oD XC pD qD rD sD tD NC OC PC uD","292":"J kD"},Q:{"260":"vD"},R:{"260":"wD"},S:{"1":"yD","644":"xD"}},B:4,C:"CSS clip-path property (for HTML)",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-color-adjust.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-color-adjust.js new file mode 100644 index 0000000000000000000000000000000000000000..7f8ecc82530ccd32453a86b67f32df013c2c2bd3 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-color-adjust.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"2":"C L M G N O P","33":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB xC yC"},D:{"16":"J VB K D E F A B C L M G N O P","33":"0 1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB zC WC 0C","33":"K D E F A B C L M G 1C 2C 3C XC KC LC 4C 5C 6C YC"},F:{"2":"F B C BD CD DD ED KC qC FD LC","33":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{"1":"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","16":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC"},H:{"2":"dD"},I:{"16":"QC J eD fD gD hD rC iD jD","33":"I"},J:{"16":"D A"},K:{"2":"A B C KC qC LC","33":"H"},L:{"16":"I"},M:{"1":"JC"},N:{"16":"A B"},O:{"16":"MC"},P:{"16":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"33":"vD"},R:{"16":"wD"},S:{"1":"xD yD"}},B:4,C:"CSS print-color-adjust",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-color-function.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-color-function.js new file mode 100644 index 0000000000000000000000000000000000000000..3ad6b49847bc1d38999da489b37c58a205a824a5 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-color-function.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q","322":"r s t"},C:{"1":"0 w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t xC yC","578":"u v"},D:{"1":"0 u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q","322":"r s t"},E:{"1":"G 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A zC WC 0C 1C 2C 3C","132":"B C L M XC KC LC 4C 5C"},F:{"1":"0 h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d BD CD DD ED KC qC FD LC","322":"e f g"},G:{"1":"ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND","132":"OD PD QD RD SD TD UD VD WD XD YD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"1":"3 4 5 6 7 8 9","2":"1 2 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:4,C:"CSS color() function",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-conic-gradients.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-conic-gradients.js new file mode 100644 index 0000000000000000000000000000000000000000..38599b7e758d568d2fd10ea4878c11500d7c0d23 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-conic-gradients.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC xC yC","578":"FC GC HC IC Q H R TC"},D:{"1":"0 BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B","257":"9B AC","450":"RC 1B SC 2B 3B 4B 5B 6B 7B 8B"},E:{"1":"L M G LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C zC WC 0C 1C 2C 3C XC KC"},F:{"1":"0 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB BD CD DD ED KC qC FD LC","257":"yB zB","450":"oB pB qB rB sB tB uB vB wB xB"},G:{"1":"SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 XC pD qD rD sD tD NC OC PC uD","2":"J kD lD mD nD oD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:5,C:"CSS Conical Gradients",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-container-queries-style.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-container-queries-style.js new file mode 100644 index 0000000000000000000000000000000000000000..668606bbbe4302fd9b7f1359b82c6cd382f3fdb3 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-container-queries-style.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p","194":"q r s t","260":"0 u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p","194":"q r s t","260":"0 u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C","260":"kC lC mC nC oC pC AD","772":"PC"},F:{"2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b BD CD DD ED KC qC FD LC","194":"c d e f g","260":"0 h i j k l m n o p q r s t u v w x y z"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD","260":"kC lC mC nC oC pC","772":"PC"},H:{"2":"dD"},I:{"2":"QC J eD fD gD hD rC iD jD","260":"I"},J:{"2":"D A"},K:{"2":"A B C KC qC LC","260":"H"},L:{"260":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"2":"1 2 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","260":"3 4 5 6 7 8 9"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:5,C:"CSS Container Style Queries",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-container-queries.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-container-queries.js new file mode 100644 index 0000000000000000000000000000000000000000..97551fc1c4ca9d5949e57d53cc30dd232df9d85c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-container-queries.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n","516":"o"},C:{"1":"0 t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s xC yC"},D:{"1":"0 p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a","194":"c d e f g h i j k l m n","450":"b","516":"o"},E:{"1":"NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C"},F:{"1":"0 d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC BD CD DD ED KC qC FD LC","194":"Q H R TC S T U V W X Y Z","516":"a b c"},G:{"1":"NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9","2":"J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:5,C:"CSS Container Queries (Size)",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-container-query-units.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-container-query-units.js new file mode 100644 index 0000000000000000000000000000000000000000..d51108d42379f5f8fbcd1cc2975b60c977d91448 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-container-query-units.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n"},C:{"1":"0 t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s xC yC"},D:{"1":"0 o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b","194":"k l m n","450":"c d e f g h i j"},E:{"1":"NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C"},F:{"1":"0 a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC BD CD DD ED KC qC FD LC","194":"Q H R TC S T U V W X Y Z"},G:{"1":"NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9","2":"J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:5,C:"CSS Container Query Units",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-containment.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-containment.js new file mode 100644 index 0000000000000000000000000000000000000000..2096b047ea2bfa4ba5ce9d37bfafa958452e188a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-containment.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB xC yC","194":"jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B"},D:{"1":"0 uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB","66":"tB"},E:{"1":"ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC"},F:{"1":"0 iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB BD CD DD ED KC qC FD LC","66":"gB hB"},G:{"1":"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 lD mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J kD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","194":"xD"}},B:2,C:"CSS Containment",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-content-visibility.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-content-visibility.js new file mode 100644 index 0000000000000000000000000000000000000000..c52e87bdc7f4250d059a4a42d7098569a59527b4 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-content-visibility.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H R S T"},C:{"1":"HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r xC yC","194":"0 s t u v w x y z AB BB CB DB EB FB GB"},D:{"1":"0 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T"},E:{"1":"PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C"},F:{"1":"0 BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BD CD DD ED KC qC FD LC"},G:{"1":"PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 sD tD NC OC PC uD","2":"J kD lD mD nD oD XC pD qD rD"},Q:{"2":"vD"},R:{"1":"wD"},S:{"2":"xD yD"}},B:5,C:"CSS content-visibility",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-counters.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-counters.js new file mode 100644 index 0000000000000000000000000000000000000000..b45ae14a2260965336899e823c2b44d9f64e41af --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-counters.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E F A B","2":"K D sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{"1":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"1":"dD"},I:{"1":"QC J I eD fD gD hD rC iD jD"},J:{"1":"D A"},K:{"1":"A B C H KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:2,C:"CSS Counters",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-crisp-edges.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-crisp-edges.js new file mode 100644 index 0000000000000000000000000000000000000000..72b76b836618cbf127bf41e95ba544716d1bb75f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-crisp-edges.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K sC","2340":"D E F A B"},B:{"2":"C L M G N O P","1025":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC xC","513":"5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b","545":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B yC"},D:{"2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB","1025":"0 jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"A B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB zC WC 0C","164":"K","4644":"D E F 1C 2C 3C"},F:{"2":"1 2 3 4 5 6 7 8 F B G N O P WB BD CD DD ED KC qC","545":"C FD LC","1025":"0 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{"1":"ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC","4260":"HD ID","4644":"E JD KD LD MD"},H:{"2":"dD"},I:{"2":"QC J eD fD gD hD rC iD jD","1025":"I"},J:{"2":"D","4260":"A"},K:{"2":"A B KC qC","545":"C LC","1025":"H"},L:{"1025":"I"},M:{"1":"JC"},N:{"2340":"A B"},O:{"1025":"MC"},P:{"1025":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1025":"vD"},R:{"1025":"wD"},S:{"1":"yD","4097":"xD"}},B:4,C:"Crisp edges/pixelated images",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-cross-fade.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-cross-fade.js new file mode 100644 index 0000000000000000000000000000000000000000..60bd12aa53e42ae6b0188bb8fca5391bd802c8aa --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-cross-fade.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"2":"C L M G N O P","33":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"2":"J VB K D E F A B C L M G N","33":"0 1 2 3 4 5 6 7 8 9 O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"A B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB zC WC","33":"K D E F 0C 1C 2C 3C"},F:{"2":"F B C BD CD DD ED KC qC FD LC","33":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{"1":"ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC","33":"E HD ID JD KD LD MD"},H:{"2":"dD"},I:{"2":"QC J eD fD gD hD rC","33":"I iD jD"},J:{"2":"D A"},K:{"2":"A B C KC qC LC","33":"H"},L:{"33":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"33":"MC"},P:{"33":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"33":"vD"},R:{"33":"wD"},S:{"2":"xD yD"}},B:4,C:"CSS Cross-Fade Function",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-default-pseudo.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-default-pseudo.js new file mode 100644 index 0000000000000000000000000000000000000000..f4dfa146cd83650b1ebbc315741dc6dfe33ad389 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-default-pseudo.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","16":"tC QC xC yC"},D:{"1":"0 tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","16":"J VB K D E F A B C L M","132":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB"},E:{"1":"B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","16":"J VB zC WC","132":"K D E F A 0C 1C 2C 3C"},F:{"1":"0 gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","16":"F B BD CD DD ED KC qC","132":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB","260":"C FD LC"},G:{"1":"OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","16":"WC GD rC HD ID","132":"E JD KD LD MD ND"},H:{"260":"dD"},I:{"1":"I","16":"QC eD fD gD","132":"J hD rC iD jD"},J:{"16":"D","132":"A"},K:{"1":"H","16":"A B C KC qC","260":"LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","132":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:5,C:":default CSS pseudo-class",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js new file mode 100644 index 0000000000000000000000000000000000000000..9a1f20e03bb3b90d710cb793605eadb83e6de77e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"2":"0 C L M G N O P H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","16":"Q"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"B","2":"J VB K D E F A C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"2":"QC J I eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"2":"A B C H KC qC LC"},L:{"2":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"2":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:7,C:"Explicit descendant combinator >>",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-deviceadaptation.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-deviceadaptation.js new file mode 100644 index 0000000000000000000000000000000000000000..5d7fb21b1b4c763eee6c9f4a0d209571e8498694 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-deviceadaptation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F sC","164":"A B"},B:{"66":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","164":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB","66":"0 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB BD CD DD ED KC qC FD LC","66":"0 iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"292":"dD"},I:{"2":"QC J I eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"2":"A H","292":"B C KC qC LC"},L:{"2":"I"},M:{"2":"JC"},N:{"164":"A B"},O:{"2":"MC"},P:{"2":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"66":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:5,C:"CSS Device Adaptation",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-dir-pseudo.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-dir-pseudo.js new file mode 100644 index 0000000000000000000000000000000000000000..858c2664ac95de83d9f057cae17eaf8a330fb5c7 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-dir-pseudo.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n","194":"0 o p q r s t u v w x y z AB BB"},C:{"1":"0 rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC J VB K D E F A B C L M G N xC yC","33":"1 2 3 4 5 6 7 8 9 O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB"},D:{"1":"CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z","194":"0 a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},E:{"1":"dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC"},F:{"1":"0 p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z BD CD DD ED KC qC FD LC","194":"a b c d e f g h i j k l m n o"},G:{"1":"dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"1":"6 7 8 9","2":"1 2 3 4 5 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"1":"yD","33":"xD"}},B:5,C:":dir() CSS pseudo-class",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-display-contents.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-display-contents.js new file mode 100644 index 0000000000000000000000000000000000000000..e9c0ce9979b6d34b0ee27b6f24d6e7a78e9db62b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-display-contents.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"2":"C L M G N O P","132":"Q H R S T U V W X","260":"0 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB xC yC","132":"fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC","260":"0 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC"},D:{"2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB","132":"5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X","194":"0B RC 1B SC 2B 3B 4B","260":"0 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"2":"J VB K D E F A B zC WC 0C 1C 2C 3C XC","132":"C L M G KC LC 4C 5C 6C YC ZC MC 7C","260":"OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","772":"NC aC bC cC dC eC 8C"},F:{"2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB BD CD DD ED KC qC FD LC","132":"uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC","260":"0 GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{"1":"OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD","132":"QD RD SD TD UD VD","260":"WD XD YD ZD YC ZC MC aD","516":"aC bC cC dC eC bD","772":"NC"},H:{"2":"dD"},I:{"2":"QC J eD fD gD hD rC iD jD","260":"I"},J:{"2":"D A"},K:{"2":"A B C KC qC LC","260":"H"},L:{"260":"I"},M:{"260":"JC"},N:{"2":"A B"},O:{"132":"MC"},P:{"2":"J kD lD mD nD","132":"oD XC pD qD rD sD","260":"1 2 3 4 5 6 7 8 9 tD NC OC PC uD"},Q:{"132":"vD"},R:{"260":"wD"},S:{"132":"xD","260":"yD"}},B:4,C:"CSS display: contents",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-element-function.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-element-function.js new file mode 100644 index 0000000000000000000000000000000000000000..14ef1241d715710975489eb762f9a8cdc265a166 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-element-function.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"2":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"33":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","164":"tC QC xC yC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"2":"QC J I eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"2":"A B C H KC qC LC"},L:{"2":"I"},M:{"33":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"2":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"33":"xD yD"}},B:5,C:"CSS element() function",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-env-function.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-env-function.js new file mode 100644 index 0000000000000000000000000000000000000000..7339d01abc3ff0210f82cc9f3c3ff23aa2ad9922 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-env-function.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B xC yC"},D:{"1":"0 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B"},E:{"1":"C L M G KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A zC WC 0C 1C 2C 3C XC","132":"B"},F:{"1":"0 yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB BD CD DD ED KC qC FD LC"},G:{"1":"QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD","132":"PD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 XC pD qD rD sD tD NC OC PC uD","2":"J kD lD mD nD oD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:7,C:"CSS Environment Variables env()",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-exclusions.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-exclusions.js new file mode 100644 index 0000000000000000000000000000000000000000..528d9f5ee8f4286461aac2183126855915636710 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-exclusions.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F sC","33":"A B"},B:{"2":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","33":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"2":"QC J I eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"2":"A B C H KC qC LC"},L:{"2":"I"},M:{"2":"JC"},N:{"33":"A B"},O:{"2":"MC"},P:{"2":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:5,C:"CSS Exclusions Level 1",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-featurequeries.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-featurequeries.js new file mode 100644 index 0000000000000000000000000000000000000000..11477d0db6073fb15d357b264c12803dd465a6e9 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-featurequeries.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 tC QC J VB K D E F A B C L M G N O P WB xC yC"},D:{"1":"0 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 J VB K D E F A B C L M G N O P WB"},E:{"1":"F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E zC WC 0C 1C 2C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z LC","2":"F B C BD CD DD ED KC qC FD"},G:{"1":"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD"},H:{"1":"dD"},I:{"1":"I iD jD","2":"QC J eD fD gD hD rC"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"CSS Feature Queries",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-file-selector-button.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-file-selector-button.js new file mode 100644 index 0000000000000000000000000000000000000000..bdc0d0b2fbc9f432384a5111f8697a926827c3c3 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-file-selector-button.js @@ -0,0 +1 @@ +module.exports={A:{D:{"1":"0 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","33":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X"},L:{"1":"I"},B:{"1":"0 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","33":"C L M G N O P Q H R S T U V W X"},C:{"1":"0 TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R xC yC"},M:{"1":"JC"},A:{"2":"K D E F sC","33":"A B"},F:{"1":"0 FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD LC","33":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC"},K:{"1":"H","2":"A B C KC qC LC"},E:{"1":"G 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC","2":"AD","33":"J VB K D E F A B C L M zC WC 0C 1C 2C 3C XC KC LC 4C"},G:{"1":"YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","33":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD"},P:{"1":"1 2 3 4 5 6 7 8 9 tD NC OC PC uD","33":"J kD lD mD nD oD XC pD qD rD sD"},I:{"1":"I","2":"QC J eD fD gD hD rC","33":"iD jD"}},B:6,C:"::file-selector-button CSS pseudo-element",D:undefined}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-filter-function.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-filter-function.js new file mode 100644 index 0000000000000000000000000000000000000000..b45aaf584460b34e5464d7f0484dc94571deba8a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-filter-function.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"2":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E zC WC 0C 1C 2C","33":"F"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{"1":"ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD","33":"LD MD"},H:{"2":"dD"},I:{"2":"QC J I eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"2":"A B C H KC qC LC"},L:{"2":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"2":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:5,C:"CSS filter() function",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-filters.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-filters.js new file mode 100644 index 0000000000000000000000000000000000000000..3ea4a07c81350f48b6f22195ffdd17db48737450 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-filters.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","1028":"L M G N O P","1346":"C"},C:{"1":"0 dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC xC","196":"cB","516":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB yC"},D:{"1":"0 vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"J VB K D E F A B C L M G N O","33":"1 2 3 4 5 6 7 8 9 P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB"},E:{"1":"A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB zC WC 0C","33":"K D E F 1C 2C"},F:{"1":"0 iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD LC","33":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB"},G:{"1":"MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC HD","33":"E ID JD KD LD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC","33":"iD jD"},J:{"2":"D","33":"A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 mD nD oD XC pD qD rD sD tD NC OC PC uD","33":"J kD lD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:5,C:"CSS Filter Effects",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-first-letter.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-first-letter.js new file mode 100644 index 0000000000000000000000000000000000000000..d3d66d11b68bcbe33778c78b185aef9076296ac5 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-first-letter.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","16":"sC","516":"E","1540":"K D"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC","132":"QC","260":"tC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","16":"VB K D E","132":"J"},E:{"1":"K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","16":"VB zC","132":"J WC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z FD LC","16":"F BD","260":"B CD DD ED KC qC"},G:{"1":"E HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","16":"WC GD rC"},H:{"1":"dD"},I:{"1":"QC J I hD rC iD jD","16":"eD fD","132":"gD"},J:{"1":"D A"},K:{"1":"C H LC","260":"A B KC qC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:2,C:"::first-letter CSS pseudo-element selector",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-first-line.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-first-line.js new file mode 100644 index 0000000000000000000000000000000000000000..b91e4cbcc3292cc577f8095f13b2e76086c6645b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-first-line.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","132":"K D E sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{"1":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"1":"dD"},I:{"1":"QC J I eD fD gD hD rC iD jD"},J:{"1":"D A"},K:{"1":"A B C H KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:2,C:"CSS first-line pseudo-element",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-fixed.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-fixed.js new file mode 100644 index 0000000000000000000000000000000000000000..001fa8d4d23b43fc7c09d8d4523c47686c95cf0e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-fixed.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"D E F A B","2":"sC","8":"K"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"J VB K D E F A B C L M G zC WC 0C 1C 2C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","1025":"3C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{"1":"E KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC","132":"HD ID JD"},H:{"2":"dD"},I:{"1":"QC I iD jD","260":"eD fD gD","513":"J hD rC"},J:{"1":"D A"},K:{"1":"A B C H KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:2,C:"CSS position:fixed",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-focus-visible.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-focus-visible.js new file mode 100644 index 0000000000000000000000000000000000000000..16fde8a98815c236bfbcc323ce0d2841b6d099bf --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-focus-visible.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P","328":"Q H R S T U"},C:{"1":"0 U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC xC yC","161":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T"},D:{"1":"0 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B","328":"7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U"},E:{"1":"ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L M zC WC 0C 1C 2C 3C XC KC LC 4C 5C","578":"G 6C YC"},F:{"1":"0 CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B BD CD DD ED KC qC FD LC","328":"6B 7B 8B 9B AC BC"},G:{"1":"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD","578":"ZD YC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 sD tD NC OC PC uD","2":"J kD lD mD nD oD XC pD qD rD"},Q:{"2":"vD"},R:{"1":"wD"},S:{"161":"xD yD"}},B:5,C:":focus-visible CSS pseudo-class",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-focus-within.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-focus-within.js new file mode 100644 index 0000000000000000000000000000000000000000..c168248a50003816019c329f6b43a30b88e68f52 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-focus-within.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB xC yC"},D:{"1":"0 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B","194":"RC"},E:{"1":"B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A zC WC 0C 1C 2C 3C"},F:{"1":"0 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB BD CD DD ED KC qC FD LC","194":"oB"},G:{"1":"OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 nD oD XC pD qD rD sD tD NC OC PC uD","2":"J kD lD mD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:7,C:":focus-within CSS pseudo-class",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-font-palette.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-font-palette.js new file mode 100644 index 0000000000000000000000000000000000000000..203bcef87e63a6b193e13db77f95d01387122800 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-font-palette.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n"},C:{"1":"0 q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p xC yC"},D:{"1":"0 k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j"},E:{"1":"ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC"},F:{"1":"0 W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V BD CD DD ED KC qC FD LC"},G:{"1":"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 uD","2":"J kD lD mD nD oD XC pD qD rD sD tD NC OC PC"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:5,C:"CSS font-palette",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js new file mode 100644 index 0000000000000000000000000000000000000000..ec44777b39b8d2ce3d2490726ff371511c94526a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB xC yC","194":"oB pB qB rB sB tB uB vB wB xB yB zB"},D:{"1":"0 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB","66":"rB sB tB uB vB wB xB yB zB 0B RC"},E:{"1":"C L M G KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B zC WC 0C 1C 2C 3C XC"},F:{"1":"0 pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB BD CD DD ED KC qC FD LC","66":"eB fB gB hB iB jB kB lB mB nB oB"},G:{"1":"QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 nD oD XC pD qD rD sD tD NC OC PC uD","2":"J","66":"kD lD mD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","194":"xD"}},B:5,C:"CSS font-display",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-font-stretch.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-font-stretch.js new file mode 100644 index 0000000000000000000000000000000000000000..f9f3e0b22a9ddf8b0ae76fe930ee95db6caf6ae9 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-font-stretch.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC J VB K D E xC yC"},D:{"1":"0 qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB"},E:{"1":"B C L M G KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A zC WC 0C 1C 2C 3C XC"},F:{"1":"0 dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB BD CD DD ED KC qC FD LC"},G:{"1":"OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:2,C:"CSS font-stretch",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-gencontent.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-gencontent.js new file mode 100644 index 0000000000000000000000000000000000000000..e7062070e557c142ede294a9155e98111aab1a29 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-gencontent.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D sC","132":"E"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{"1":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"1":"dD"},I:{"1":"QC J I eD fD gD hD rC iD jD"},J:{"1":"D A"},K:{"1":"A B C H KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:2,C:"CSS Generated content for pseudo-elements",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-gradients.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-gradients.js new file mode 100644 index 0000000000000000000000000000000000000000..5b2f6199fbb9519e5a91344600af656aff5e3805 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-gradients.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC xC","260":"1 2 3 4 5 6 7 8 9 N O P WB XB YB ZB aB bB cB dB","292":"J VB K D E F A B C L M G yC"},D:{"1":"0 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","33":"1 2 3 4 5 6 A B C L M G N O P WB","548":"J VB K D E F"},E:{"1":"ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"zC WC","260":"D E F A B C L M G 1C 2C 3C XC KC LC 4C 5C 6C YC","292":"K 0C","804":"J VB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z LC","2":"F B BD CD DD ED","33":"C FD","164":"KC qC"},G:{"1":"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","260":"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC","292":"HD ID","804":"WC GD rC"},H:{"2":"dD"},I:{"1":"I iD jD","33":"J hD rC","548":"QC eD fD gD"},J:{"1":"A","548":"D"},K:{"1":"H LC","2":"A B","33":"C","164":"KC qC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"CSS Gradients",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-grid-animation.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-grid-animation.js new file mode 100644 index 0000000000000000000000000000000000000000..fcc2188713dacdf4fea581ac2e20de463869926a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-grid-animation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p"},C:{"1":"0 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B xC yC"},D:{"1":"0 q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p"},E:{"1":"NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C"},F:{"1":"0 c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b BD CD DD ED KC qC FD LC"},G:{"1":"NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"1":"2 3 4 5 6 7 8 9","2":"1 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"1":"yD","2":"xD"}},B:4,C:"CSS Grid animation",D:false}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-grid.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-grid.js new file mode 100644 index 0000000000000000000000000000000000000000..1bd58a359e936fd331ad0e06adeade7834e3377b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-grid.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E sC","8":"F","292":"A B"},B:{"1":"0 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","292":"C L M G"},C:{"1":"0 wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC J VB K D E F A B C L M G N O P xC yC","8":"1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB","584":"iB jB kB lB mB nB oB pB qB rB sB tB","1025":"uB vB"},D:{"1":"0 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 J VB K D E F A B C L M G N O P WB","8":"6 7 8 9","200":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB","1025":"zB"},E:{"1":"B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB zC WC 0C","8":"K D E F A 1C 2C 3C"},F:{"1":"0 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 F B C G N O P WB BD CD DD ED KC qC FD LC","200":"9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB"},G:{"1":"OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC HD","8":"E ID JD KD LD MD ND"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD","8":"rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"292":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 lD mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"kD","8":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"CSS Grid Layout (level 1)",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js new file mode 100644 index 0000000000000000000000000000000000000000..4c9750c2584a641269a1203daf15afbf9499442c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"2":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"2":"J VB K D E F zC WC 0C 1C 2C 3C","132":"A B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{"2":"E WC GD rC HD ID JD KD LD MD","132":"ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"2":"QC J I eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"2":"A B C H KC qC LC"},L:{"2":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"2":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:4,C:"CSS hanging-punctuation",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-has.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-has.js new file mode 100644 index 0000000000000000000000000000000000000000..36570fa4b737921b82a207b819f38da069b6b6e3 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-has.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n"},C:{"1":"DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l xC yC","322":"0 m n o p q r s t u v w x y z AB BB CB"},D:{"1":"0 o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j","194":"k l m n"},E:{"1":"ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC"},F:{"1":"0 a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z BD CD DD ED KC qC FD LC"},G:{"1":"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9","2":"J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:5,C:":has() CSS relational pseudo-class",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-hyphens.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-hyphens.js new file mode 100644 index 0000000000000000000000000000000000000000..112d37fc3bc091a03e6772eea612765c434ceb4c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-hyphens.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F sC","33":"A B"},B:{"1":"0 o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","33":"C L M G N O P","132":"Q H R S T U V W","260":"X Y Z a b c d e f g h i j k l m n"},C:{"1":"0 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC J VB xC yC","33":"1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB"},D:{"1":"0 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB","132":"xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W"},E:{"1":"OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB zC WC","33":"K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C"},F:{"1":"0 a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB BD CD DD ED KC qC FD LC","132":"kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z"},G:{"1":"OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD","33":"E rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 lD mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J","132":"kD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"CSS Hyphenation",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-if.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-if.js new file mode 100644 index 0000000000000000000000000000000000000000..5b4462a8816748efb2af6e5771e1f798627e3a0e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-if.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"TB UB I","2":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"1":"TB UB I UC VC JC","2":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB"},E:{"2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"2":"A B C H KC qC LC"},L:{"1":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"2":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:5,C:"CSS if() function",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-image-orientation.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-image-orientation.js new file mode 100644 index 0000000000000000000000000000000000000000..b450a841a5c7ba7653a2cfacad24faa8b9988366 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-image-orientation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H","257":"R S T U V W X"},C:{"1":"0 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 tC QC J VB K D E F A B C L M G N O P WB xC yC"},D:{"1":"0 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H","257":"R S T U V W X"},E:{"1":"M G 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L zC WC 0C 1C 2C 3C XC KC LC"},F:{"1":"0 HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B BD CD DD ED KC qC FD LC","257":"8B 9B AC BC CC DC EC FC GC"},G:{"1":"WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","132":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 tD NC OC PC uD","2":"J kD lD mD nD oD XC pD qD","257":"rD sD"},Q:{"2":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"CSS3 image-orientation",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-image-set.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-image-set.js new file mode 100644 index 0000000000000000000000000000000000000000..ba7d54780f4274734e6d5209ca0324926af14c99 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-image-set.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P","164":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v","2049":"w"},C:{"1":"0 w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U xC yC","66":"V W","2305":"Y Z a b c d e f g h i j k l m n o p q r s t u v","2820":"X"},D:{"1":"0 x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 J VB K D E F A B C L M G N O P WB","164":"2 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v","2049":"w"},E:{"1":"OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB zC WC 0C","132":"A B C L XC KC LC 4C","164":"K D E F 1C 2C 3C","1540":"M G 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C"},F:{"1":"0 j k l m n o p q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD LC","164":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h","2049":"i"},G:{"1":"OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC HD","132":"ND OD PD QD RD SD TD UD VD WD","164":"E ID JD KD LD MD","1540":"XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC","164":"iD jD"},J:{"2":"D","164":"A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"164":"MC"},P:{"1":"4 5 6 7 8 9","164":"1 2 3 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"164":"vD"},R:{"164":"wD"},S:{"2":"xD yD"}},B:5,C:"CSS image-set",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-in-out-of-range.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-in-out-of-range.js new file mode 100644 index 0000000000000000000000000000000000000000..db0a2a40ed140eb37c019d7e246d297a39c03a39 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-in-out-of-range.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C","260":"L M G N O P"},C:{"1":"0 sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB xC yC","516":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB"},D:{"1":"0 vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"J","16":"VB K D E F A B C L M","260":"uB","772":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB"},E:{"1":"B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J zC WC","16":"VB","772":"K D E F A 0C 1C 2C 3C"},F:{"1":"0 iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","16":"F BD","260":"B C hB CD DD ED KC qC FD LC","772":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB"},G:{"1":"OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC","772":"E HD ID JD KD LD MD ND"},H:{"132":"dD"},I:{"1":"I","2":"QC eD fD gD","260":"J hD rC iD jD"},J:{"2":"D","260":"A"},K:{"1":"H","260":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","260":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","516":"xD"}},B:5,C:":in-range and :out-of-range CSS pseudo-classes",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js new file mode 100644 index 0000000000000000000000000000000000000000..55f271f46f35dd5c2a55167a8264453282009100 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E sC","132":"A B","388":"F"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","132":"C L M G N O P"},C:{"1":"0 tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","16":"tC QC xC yC","132":"1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB","388":"J VB"},D:{"1":"0 hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","16":"J VB K D E F A B C L M","132":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB"},E:{"1":"B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","16":"J VB K zC WC","132":"D E F A 1C 2C 3C","388":"0C"},F:{"1":"0 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","16":"F B BD CD DD ED KC qC","132":"1 2 3 4 5 6 G N O P WB","516":"C FD LC"},G:{"1":"OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","16":"WC GD rC HD ID","132":"E JD KD LD MD ND"},H:{"516":"dD"},I:{"1":"I","16":"QC eD fD gD jD","132":"iD","388":"J hD rC"},J:{"16":"D","132":"A"},K:{"1":"H","16":"A B C KC qC","516":"LC"},L:{"1":"I"},M:{"1":"JC"},N:{"132":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","132":"xD"}},B:5,C:":indeterminate CSS pseudo-class",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-initial-letter.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-initial-letter.js new file mode 100644 index 0000000000000000000000000000000000000000..26319a3b49276316559561839b54e2cf5d63a868 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-initial-letter.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s","260":"0 t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s","260":"0 t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"2":"J VB K D E zC WC 0C 1C 2C","260":"F","420":"A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g BD CD DD ED KC qC FD LC","260":"0 h i j k l m n o p q r s t u v w x y z"},G:{"2":"E WC GD rC HD ID JD KD","420":"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"2":"QC J eD fD gD hD rC iD jD","260":"I"},J:{"2":"D A"},K:{"2":"A B C KC qC LC","260":"H"},L:{"260":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"2":"1 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","260":"2 3 4 5 6 7 8 9"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:5,C:"CSS Initial Letter",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-initial-value.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-initial-value.js new file mode 100644 index 0000000000000000000000000000000000000000..6e2345f394c160ce933b9f7634b6622d7eead63e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-initial-value.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","33":"J VB K D E F A B C L M G N O P xC yC","164":"tC QC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"J VB K D E F A B C L M G WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","16":"zC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD LC"},G:{"1":"E GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","16":"WC"},H:{"2":"dD"},I:{"1":"QC J I gD hD rC iD jD","16":"eD fD"},J:{"1":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"CSS initial value",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-lch-lab.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-lch-lab.js new file mode 100644 index 0000000000000000000000000000000000000000..4bd6dcba43ca18a90dbc718c0b995a9d7c4cdaa0 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-lch-lab.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s","322":"t"},C:{"1":"0 w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t xC yC","194":"u v"},D:{"1":"0 u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s","322":"t"},E:{"1":"G 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L M zC WC 0C 1C 2C 3C XC KC LC 4C 5C"},F:{"1":"0 h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g BD CD DD ED KC qC FD LC"},G:{"1":"ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"1":"3 4 5 6 7 8 9","2":"1 2 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:4,C:"LCH and Lab color values",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-letter-spacing.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-letter-spacing.js new file mode 100644 index 0000000000000000000000000000000000000000..665e9090731b5c59f6233d28ea8086a9ebe8ffe4 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-letter-spacing.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","16":"sC","132":"K D E"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"1":"0 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","132":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB"},E:{"1":"D E F A B C L M G 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","16":"zC","132":"J VB K WC 0C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","16":"F BD","132":"B C G N CD DD ED KC qC FD LC"},G:{"1":"E GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","16":"WC"},H:{"2":"dD"},I:{"1":"I iD jD","16":"eD fD","132":"QC J gD hD rC"},J:{"132":"D A"},K:{"1":"H","132":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:2,C:"letter-spacing CSS property",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-line-clamp.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-line-clamp.js new file mode 100644 index 0000000000000000000000000000000000000000..479d5d0df8c812a2ef7c79b0cb7621b794630448 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-line-clamp.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"2":"C L M G N","33":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","129":"O P"},C:{"2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B xC yC","33":"0 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC"},D:{"16":"J VB K D E F A B C L","33":"0 1 2 3 4 5 6 7 8 9 M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"2":"J zC WC","33":"VB K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"2":"F B C BD CD DD ED KC qC FD LC","33":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{"2":"WC GD rC","33":"E HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"16":"eD fD","33":"QC J I gD hD rC iD jD"},J:{"33":"D A"},K:{"2":"A B C KC qC LC","33":"H"},L:{"33":"I"},M:{"33":"JC"},N:{"2":"A B"},O:{"33":"MC"},P:{"33":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"33":"vD"},R:{"33":"wD"},S:{"2":"xD","33":"yD"}},B:5,C:"CSS line-clamp",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-logical-props.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-logical-props.js new file mode 100644 index 0000000000000000000000000000000000000000..8e92457ec5594b5574967a02fa4f9913dd041f94 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-logical-props.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P","1028":"W X","1540":"Q H R S T U V"},C:{"1":"0 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC","164":"1 2 3 4 5 6 7 8 9 QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB xC yC","1540":"jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B"},D:{"1":"0 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","292":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B","1028":"W X","1540":"9B AC BC CC DC EC FC GC HC IC Q H R S T U V"},E:{"1":"G 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","292":"J VB K D E F A B C zC WC 0C 1C 2C 3C XC KC","1540":"L M LC 4C","3076":"5C"},F:{"1":"0 GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD LC","292":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB","1028":"EC FC","1540":"yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC"},G:{"1":"ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","292":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD","1540":"SD TD UD VD WD XD","3076":"YD"},H:{"2":"dD"},I:{"1":"I","292":"QC J eD fD gD hD rC iD jD"},J:{"292":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 tD NC OC PC uD","292":"J kD lD mD nD oD","1540":"XC pD qD rD sD"},Q:{"1540":"vD"},R:{"1":"wD"},S:{"1":"yD","1540":"xD"}},B:5,C:"CSS Logical Properties",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-marker-pseudo.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-marker-pseudo.js new file mode 100644 index 0000000000000000000000000000000000000000..206ae91e0788b3d7f90091024283fd207e08370a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-marker-pseudo.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H R S T U"},C:{"1":"0 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B xC yC"},D:{"1":"0 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U"},E:{"1":"AD","2":"J VB K D E F A B zC WC 0C 1C 2C 3C XC","132":"C L M G KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC"},F:{"1":"0 CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC BD CD DD ED KC qC FD LC"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD","132":"QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 sD tD NC OC PC uD","2":"J kD lD mD nD oD XC pD qD rD"},Q:{"2":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:5,C:"CSS ::marker pseudo-element",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-masks.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-masks.js new file mode 100644 index 0000000000000000000000000000000000000000..368ce310d76a1b6f28827ca36cc17434c6214181 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-masks.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N","164":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB","3138":"O","12292":"P"},C:{"1":"0 vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC","260":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB xC yC"},D:{"1":"CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","164":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},E:{"1":"ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"zC WC","164":"J VB K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC"},F:{"1":"0 p q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD LC","164":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o"},G:{"1":"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","164":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC"},H:{"2":"dD"},I:{"1":"I","164":"iD jD","676":"QC J eD fD gD hD rC"},J:{"164":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"164":"MC"},P:{"1":"6 7 8 9","164":"1 2 3 4 5 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"164":"vD"},R:{"164":"wD"},S:{"1":"yD","260":"xD"}},B:4,C:"CSS Masks",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-matches-pseudo.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-matches-pseudo.js new file mode 100644 index 0000000000000000000000000000000000000000..cd1f9a3d2bea4ede1c1f2c0b6fe0fdbab72a46d9 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-matches-pseudo.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P","1220":"Q H R S T U V W"},C:{"1":"0 IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC xC yC","548":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC"},D:{"1":"0 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","16":"J VB K D E F A B C L M","164":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B","196":"5B 6B 7B","1220":"8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W"},E:{"1":"M G 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J zC WC","16":"VB","164":"K D E 0C 1C 2C","260":"F A B C L 3C XC KC LC 4C"},F:{"1":"0 FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD LC","164":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB","196":"uB vB wB","1220":"xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC"},G:{"1":"XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","16":"WC GD rC HD ID","164":"E JD KD","260":"LD MD ND OD PD QD RD SD TD UD VD WD"},H:{"2":"dD"},I:{"1":"I","16":"QC eD fD gD","164":"J hD rC iD jD"},J:{"16":"D","164":"A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 tD NC OC PC uD","164":"J kD lD mD nD oD XC pD qD rD sD"},Q:{"1220":"vD"},R:{"1":"wD"},S:{"1":"yD","548":"xD"}},B:5,C:":is() CSS pseudo-class",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-math-functions.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-math-functions.js new file mode 100644 index 0000000000000000000000000000000000000000..09850f9d67e7145a9bfba25c7c6aec5c89d37f1c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-math-functions.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC xC yC"},D:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC"},E:{"1":"M G 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B zC WC 0C 1C 2C 3C XC","132":"C L KC LC"},F:{"1":"0 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B BD CD DD ED KC qC FD LC"},G:{"1":"WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD","132":"QD RD SD TD UD VD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 qD rD sD tD NC OC PC uD","2":"J kD lD mD nD oD XC pD"},Q:{"2":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:5,C:"CSS math functions min(), max() and clamp()",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-media-interaction.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-media-interaction.js new file mode 100644 index 0000000000000000000000000000000000000000..d4600980eaebc2a4ccf4202cb53eac068ec440a6 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-media-interaction.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B xC yC"},D:{"1":"0 jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB"},E:{"1":"F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E zC WC 0C 1C 2C"},F:{"1":"0 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 F B C G N O P WB BD CD DD ED KC qC FD LC"},G:{"1":"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:4,C:"Media Queries: interaction media features",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-media-range-syntax.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-media-range-syntax.js new file mode 100644 index 0000000000000000000000000000000000000000..56c52faac97f2445fe432f6307b27f7c71e0e0c5 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-media-range-syntax.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m"},C:{"1":"0 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B xC yC"},D:{"1":"0 n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m"},E:{"1":"dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC"},F:{"1":"0 a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z BD CD DD ED KC qC FD LC"},G:{"1":"dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9","2":"J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"1":"yD","2":"xD"}},B:4,C:"Media Queries: Range Syntax",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-media-resolution.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-media-resolution.js new file mode 100644 index 0000000000000000000000000000000000000000..7fc739e636c0b3731af09fffd3de00c1b7a573f6 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-media-resolution.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E sC","132":"F A B"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","1028":"C L M G N O P"},C:{"1":"0 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC","260":"J VB K D E F A B C L M G xC yC","1028":"1 2 3 4 5 6 7 8 9 N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC"},D:{"1":"0 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","548":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB","1028":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B"},E:{"1":"NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"zC WC","548":"J VB K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C"},F:{"1":"0 xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z LC","2":"F","548":"B C BD CD DD ED KC qC FD","1028":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB"},G:{"1":"NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","16":"WC","548":"E GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD"},H:{"132":"dD"},I:{"1":"I","16":"eD fD","548":"QC J gD hD rC","1028":"iD jD"},J:{"548":"D A"},K:{"1":"H LC","548":"A B C KC qC"},L:{"1":"I"},M:{"1":"JC"},N:{"132":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 XC pD qD rD sD tD NC OC PC uD","1028":"J kD lD mD nD oD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"Media Queries: resolution feature",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-media-scripting.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-media-scripting.js new file mode 100644 index 0000000000000000000000000000000000000000..e23033a55de51b7b7d2016eacb13cc767dd28dec --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-media-scripting.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"2":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"2":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"2":"QC J I eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"2":"A B C H KC qC LC"},L:{"2":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"2":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:5,C:"Media Queries: scripting media feature",D:false}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-mediaqueries.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-mediaqueries.js new file mode 100644 index 0000000000000000000000000000000000000000..86d04aeebe378f6256995b1e76eb3f28229e7298 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-mediaqueries.js @@ -0,0 +1 @@ +module.exports={A:{A:{"8":"K D E sC","129":"F A B"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC","2":"tC QC"},D:{"1":"0 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","129":"1 2 3 4 5 6 J VB K D E F A B C L M G N O P WB"},E:{"1":"D E F A B C L M G 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","129":"J VB K 0C","388":"zC WC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC","2":"F"},G:{"1":"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","129":"WC GD rC HD ID"},H:{"1":"dD"},I:{"1":"I iD jD","129":"QC J eD fD gD hD rC"},J:{"1":"D A"},K:{"1":"A B C H KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"129":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:2,C:"CSS3 Media Queries",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-mixblendmode.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-mixblendmode.js new file mode 100644 index 0000000000000000000000000000000000000000..13f50d4962b2219c9706c839a83784e9d947e5bc --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-mixblendmode.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB xC yC"},D:{"1":"0 jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB","194":"XB YB ZB aB bB cB dB eB fB gB hB iB"},E:{"2":"J VB K D zC WC 0C 1C","260":"E F A B C L M G 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB BD CD DD ED KC qC FD LC"},G:{"2":"WC GD rC HD ID JD","260":"E KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"Blending of HTML/SVG elements",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-module-scripts.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-module-scripts.js new file mode 100644 index 0000000000000000000000000000000000000000..97731889bdcd2362f9d4a9fe2a8d90a594e8e5c2 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-module-scripts.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H R S T U V W X Y Z a b","132":"0 c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"1":"FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b","132":"0 c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB"},E:{"2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"16":"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"2":"QC J I eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"2":"A B C H KC qC LC"},L:{"194":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"2":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:1,C:"CSS Module Scripts",D:false}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-motion-paths.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-motion-paths.js new file mode 100644 index 0000000000000000000000000000000000000000..83b4b1ac185b3daeea4013d5de477e967829666e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-motion-paths.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC xC yC"},D:{"1":"0 oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB","194":"lB mB nB"},E:{"1":"NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C"},F:{"1":"0 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB BD CD DD ED KC qC FD LC","194":"YB ZB aB"},G:{"1":"NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:5,C:"CSS Motion Path",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-namespaces.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-namespaces.js new file mode 100644 index 0000000000000000000000000000000000000000..711d979697c885b8e6a5e6df863d03d7328931c1 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-namespaces.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","2":"K D E sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"J VB K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","16":"zC WC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{"1":"E rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","16":"WC GD"},H:{"1":"dD"},I:{"1":"QC J I eD fD gD hD rC iD jD"},J:{"1":"D A"},K:{"1":"A B C H KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:2,C:"CSS namespaces",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-nesting.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-nesting.js new file mode 100644 index 0000000000000000000000000000000000000000..45958b6b145c9ef740abfcc098f4beedc7386032 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-nesting.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r","194":"s t u","516":"0 v w x y z AB BB"},C:{"1":"0 AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x xC yC","322":"y z"},D:{"1":"CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r","194":"s t u","516":"0 v w x y z AB BB"},E:{"1":"gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC","516":"eC 8C OC fC"},F:{"1":"0 p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d BD CD DD ED KC qC FD LC","194":"e f g","516":"h i j k l m n o"},G:{"1":"gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC","516":"eC bD OC fC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"1":"6 7 8 9","2":"1 2 3 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","516":"4 5"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:5,C:"CSS Nesting",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-not-sel-list.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-not-sel-list.js new file mode 100644 index 0000000000000000000000000000000000000000..d467131d5d799f5b749d3fbcadc48d6173b413da --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-not-sel-list.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P H R S T U V W","16":"Q"},C:{"1":"0 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S xC yC"},D:{"1":"0 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W"},E:{"1":"F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E zC WC 0C 1C 2C"},F:{"1":"0 FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC BD CD DD ED KC qC FD LC"},G:{"1":"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 tD NC OC PC uD","2":"J kD lD mD nD oD XC pD qD rD sD"},Q:{"2":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:5,C:"selector list argument of :not()",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-nth-child-of.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-nth-child-of.js new file mode 100644 index 0000000000000000000000000000000000000000..1d964508c818be322e6e2e230c4b9ea7140c1d93 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-nth-child-of.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},C:{"1":"0 w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v xC yC"},D:{"1":"0 u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t"},E:{"1":"F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E zC WC 0C 1C 2C"},F:{"1":"0 h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g BD CD DD ED KC qC FD LC"},G:{"1":"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"1":"3 4 5 6 7 8 9","2":"1 2 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:5,C:"selector list argument of :nth-child and :nth-last-child CSS pseudo-classes",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-opacity.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-opacity.js new file mode 100644 index 0000000000000000000000000000000000000000..5758815ffb276bf96d6e4e8cad24a6d2d5aa5461 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-opacity.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F A B","4":"K D E sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{"1":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"1":"dD"},I:{"1":"QC J I eD fD gD hD rC iD jD"},J:{"1":"D A"},K:{"1":"A B C H KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:2,C:"CSS3 Opacity",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-optional-pseudo.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-optional-pseudo.js new file mode 100644 index 0000000000000000000000000000000000000000..c7b18fcb84fa67cdd67c301037400733834e95f4 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-optional-pseudo.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC xC yC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","16":"J VB K D E F A B C L M"},E:{"1":"VB K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J zC WC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","16":"F BD","132":"B C CD DD ED KC qC FD LC"},G:{"1":"E HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC"},H:{"132":"dD"},I:{"1":"QC J I gD hD rC iD jD","16":"eD fD"},J:{"1":"D A"},K:{"1":"H","132":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:5,C:":optional CSS pseudo-class",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-overflow-anchor.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-overflow-anchor.js new file mode 100644 index 0000000000000000000000000000000000000000..fa0ce7778771aa1760a2c76555839f97e65f76f0 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-overflow-anchor.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B xC yC"},D:{"1":"0 yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB"},E:{"2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB BD CD DD ED KC qC FD LC"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:5,C:"CSS overflow-anchor (Scroll Anchoring)",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-overflow-overlay.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-overflow-overlay.js new file mode 100644 index 0000000000000000000000000000000000000000..465b43b93959ecc789461c6212806123399c86ec --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-overflow-overlay.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w","2":"C L M G N O P","130":"0 x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"1":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w","16":"J VB K D E F A B C L M","130":"0 x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"J VB K D E F A B 0C 1C 2C 3C XC KC","16":"zC WC","130":"C L M G LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i","2":"F B C BD CD DD ED KC qC FD LC","130":"0 j k l m n o p q r s t u v w x y z"},G:{"1":"E GD rC HD ID JD KD LD MD ND OD PD QD","16":"WC","130":"RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"1":"QC J eD fD gD hD rC iD jD","130":"I"},J:{"16":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"130":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"2":"xD yD"}},B:7,C:"CSS overflow: overlay",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-overflow.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-overflow.js new file mode 100644 index 0000000000000000000000000000000000000000..c1aaf828d86968cc7001b1b7644570536117dbf5 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-overflow.js @@ -0,0 +1 @@ +module.exports={A:{A:{"388":"K D E F A B sC"},B:{"1":"0 Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","260":"Q H R S T U V W X Y","388":"C L M G N O P"},C:{"1":"0 R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","260":"SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H","388":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B xC yC"},D:{"1":"0 Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","260":"8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y","388":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B"},E:{"1":"NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","260":"M G 4C 5C 6C YC ZC MC 7C","388":"J VB K D E F A B C L zC WC 0C 1C 2C 3C XC KC LC"},F:{"1":"0 GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","260":"xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC","388":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB BD CD DD ED KC qC FD LC"},G:{"1":"NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","260":"WD XD YD ZD YC ZC MC aD","388":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD"},H:{"388":"dD"},I:{"1":"I","388":"QC J eD fD gD hD rC iD jD"},J:{"388":"D A"},K:{"1":"H","388":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"388":"A B"},O:{"388":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 tD NC OC PC uD","388":"J kD lD mD nD oD XC pD qD rD sD"},Q:{"388":"vD"},R:{"1":"wD"},S:{"1":"yD","388":"xD"}},B:5,C:"CSS overflow property",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js new file mode 100644 index 0000000000000000000000000000000000000000..302338342892b89042db79fbece961d2a95f0182 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F sC","132":"A B"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","132":"C L M G N O","516":"P"},C:{"1":"0 RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B xC yC"},D:{"1":"0 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B","260":"3B 4B"},E:{"1":"NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L M zC WC 0C 1C 2C 3C XC KC LC 4C","1090":"G 5C 6C YC ZC MC 7C"},F:{"1":"0 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB BD CD DD ED KC qC FD LC","260":"sB tB"},G:{"1":"NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD","1090":"YD ZD YC ZC MC aD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"132":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 nD oD XC pD qD rD sD tD NC OC PC uD","2":"J kD lD mD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:5,C:"CSS overscroll-behavior",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-page-break.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-page-break.js new file mode 100644 index 0000000000000000000000000000000000000000..e3144e76a6de6725ac38bca2e7b49723627fa340 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-page-break.js @@ -0,0 +1 @@ +module.exports={A:{A:{"388":"A B","900":"K D E F sC"},B:{"388":"C L M G N O P","641":"0 r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","900":"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q"},C:{"772":"0 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","900":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B xC yC"},D:{"641":"0 r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","900":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q"},E:{"772":"A","900":"J VB K D E F B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"16":"F BD","129":"B C CD DD ED KC qC FD LC","641":"0 d e f g h i j k l m n o p q r s t u v w x y z","900":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c"},G:{"900":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"129":"dD"},I:{"641":"I","900":"QC J eD fD gD hD rC iD jD"},J:{"900":"D A"},K:{"129":"A B C KC qC LC","641":"H"},L:{"900":"I"},M:{"772":"JC"},N:{"388":"A B"},O:{"900":"MC"},P:{"641":"2 3 4 5 6 7 8 9","900":"1 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"900":"vD"},R:{"900":"wD"},S:{"772":"yD","900":"xD"}},B:2,C:"CSS page-break properties",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-paged-media.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-paged-media.js new file mode 100644 index 0000000000000000000000000000000000000000..6eea7d8f3b11e6c31f78b0fdb9f4698bb62b925e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-paged-media.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D sC","132":"E F A B"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","132":"C L M G N O P"},C:{"1":"0 e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC J VB K D E F A B C L M G N O P xC yC","132":"1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","16":"J VB K D E F A B C L M"},E:{"1":"lC mC nC oC pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","132":"F B C BD CD DD ED KC qC FD LC"},G:{"1":"lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC"},H:{"16":"dD"},I:{"16":"QC J I eD fD gD hD rC iD jD"},J:{"16":"D A"},K:{"1":"H","16":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"258":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"132":"xD yD"}},B:5,C:"CSS Paged Media (@page)",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-paint-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-paint-api.js new file mode 100644 index 0000000000000000000000000000000000000000..962824ba072294560f4dc1f02f1de4eecb9aa9bc --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-paint-api.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"1":"0 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B"},E:{"2":"J VB K D E F A B C zC WC 0C 1C 2C 3C XC KC","194":"L M G LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB BD CD DD ED KC qC FD LC"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 oD XC pD qD rD sD tD NC OC PC uD","2":"J kD lD mD nD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"2":"xD yD"}},B:4,C:"CSS Painting API",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-placeholder-shown.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-placeholder-shown.js new file mode 100644 index 0000000000000000000000000000000000000000..06c9a215837e2760e2fed9fcc6c9812981858621 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-placeholder-shown.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F sC","292":"A B"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC xC yC","164":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB"},D:{"1":"0 pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB"},E:{"1":"F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E zC WC 0C 1C 2C"},F:{"1":"0 cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB BD CD DD ED KC qC FD LC"},G:{"1":"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","164":"xD"}},B:5,C:":placeholder-shown CSS pseudo-class",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-placeholder.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-placeholder.js new file mode 100644 index 0000000000000000000000000000000000000000..5d008490dc100983c42e3fd5c63c66b021723494 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-placeholder.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","36":"C L M G N O P"},C:{"1":"0 tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","33":"1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB","130":"tC QC J VB K D E F A B C L M G N O P xC yC"},D:{"1":"0 zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","36":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB"},E:{"1":"B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J zC WC","36":"VB K D E F A 0C 1C 2C 3C"},F:{"1":"0 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD LC","36":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB"},G:{"1":"OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD","36":"E rC HD ID JD KD LD MD ND"},H:{"2":"dD"},I:{"1":"I","36":"QC J eD fD gD hD rC iD jD"},J:{"36":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"36":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 mD nD oD XC pD qD rD sD tD NC OC PC uD","36":"J kD lD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","33":"xD"}},B:5,C:"::placeholder CSS pseudo-element",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-print-color-adjust.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-print-color-adjust.js new file mode 100644 index 0000000000000000000000000000000000000000..4525e56a1395e000c70dd09b7f330a2edeff12fa --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-print-color-adjust.js @@ -0,0 +1 @@ +module.exports={A:{D:{"1":"SB TB UB I UC VC JC","2":"J VB K D E F A B C L M G N","33":"0 1 2 3 4 5 6 7 8 9 O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB"},L:{"1":"I"},B:{"1":"SB TB UB I","2":"C L M G N O P","33":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB"},C:{"1":"0 g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB xC yC","33":"qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f"},M:{"1":"JC"},A:{"2":"K D E F A B sC"},F:{"2":"F B C BD CD DD ED KC qC FD LC","33":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},K:{"2":"A B C KC qC LC","33":"H"},E:{"1":"ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC","2":"J VB zC WC 0C AD","33":"K D E F A B C L M G 1C 2C 3C XC KC LC 4C 5C 6C YC"},G:{"1":"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC HD","33":"E ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC"},P:{"33":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},I:{"1":"I","2":"QC J eD fD gD hD rC","33":"iD jD"}},B:6,C:"print-color-adjust property",D:undefined}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-read-only-write.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-read-only-write.js new file mode 100644 index 0000000000000000000000000000000000000000..48ea7a2abe67b2331f7f65e0ce6ee97604f44bc5 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-read-only-write.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C"},C:{"1":"0 IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","16":"tC","33":"1 2 3 4 5 6 7 8 9 QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC xC yC"},D:{"1":"0 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","16":"J VB K D E F A B C L M","132":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB"},E:{"1":"F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","16":"zC WC","132":"J VB K D E 0C 1C 2C"},F:{"1":"0 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","16":"F B BD CD DD ED KC","132":"1 2 3 C G N O P WB qC FD LC"},G:{"1":"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","16":"WC GD","132":"E rC HD ID JD KD"},H:{"2":"dD"},I:{"1":"I","16":"eD fD","132":"QC J gD hD rC iD jD"},J:{"1":"A","132":"D"},K:{"1":"H","2":"A B KC","132":"C qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","33":"xD"}},B:1,C:"CSS :read-only and :read-write selectors",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-rebeccapurple.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-rebeccapurple.js new file mode 100644 index 0000000000000000000000000000000000000000..618952faabb96725049b6b8a59d0fed7c69d43b3 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-rebeccapurple.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A sC","132":"B"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB xC yC"},D:{"1":"0 gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB"},E:{"1":"D E F A B C L M G 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K zC WC 0C","16":"1C"},F:{"1":"0 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 F B C G N O P WB BD CD DD ED KC qC FD LC"},G:{"1":"E KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC HD ID JD"},H:{"2":"dD"},I:{"1":"I iD jD","2":"QC J eD fD gD hD rC"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"Rebeccapurple color",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-reflections.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-reflections.js new file mode 100644 index 0000000000000000000000000000000000000000..9fcf6bba8c0906d3b0fbe4cbf90c1574a38929d8 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-reflections.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"2":"C L M G N O P","33":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"33":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"2":"zC WC","33":"J VB K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"2":"F B C BD CD DD ED KC qC FD LC","33":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{"33":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"33":"QC J I eD fD gD hD rC iD jD"},J:{"33":"D A"},K:{"2":"A B C KC qC LC","33":"H"},L:{"33":"I"},M:{"2":"JC"},N:{"2":"A B"},O:{"33":"MC"},P:{"33":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"33":"vD"},R:{"33":"wD"},S:{"2":"xD yD"}},B:7,C:"CSS Reflections",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-regions.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-regions.js new file mode 100644 index 0000000000000000000000000000000000000000..75d5dbef6a0cbe13714c6274967a81f9934b74df --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-regions.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F sC","420":"A B"},B:{"2":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","420":"C L M G N O P"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{"2":"0 J VB K D E F A B C L M dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","36":"G N O P","66":"1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB"},E:{"2":"J VB K C L M G zC WC 0C KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","33":"D E F A B 1C 2C 3C XC"},F:{"2":"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{"2":"WC GD rC HD ID QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","33":"E JD KD LD MD ND OD PD"},H:{"2":"dD"},I:{"2":"QC J I eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"2":"A B C H KC qC LC"},L:{"2":"I"},M:{"2":"JC"},N:{"420":"A B"},O:{"2":"MC"},P:{"2":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:5,C:"CSS Regions",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-relative-colors.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-relative-colors.js new file mode 100644 index 0000000000000000000000000000000000000000..67d0a5d218662da73793ce0f6b4e58011d6df913 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-relative-colors.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"NB OB PB QB RB SB TB UB I","2":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","194":"AB","260":"BB CB DB EB FB GB HB IB JB KB LB MB"},C:{"1":"PB QB RB SB TB UB I UC VC JC uC vC wC","2":"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB xC yC","260":"KB LB MB NB OB"},D:{"1":"NB OB PB QB RB SB TB UB I UC VC JC","2":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","194":"AB","260":"BB CB DB EB FB GB HB IB JB KB LB MB"},E:{"1":"PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC","260":"dC eC 8C OC fC gC hC iC jC 9C"},F:{"1":"0","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m BD CD DD ED KC qC FD LC","194":"n o","260":"p q r s t u v w x y z"},G:{"1":"PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC","260":"dC eC bD OC fC gC hC iC jC cD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"2":"A B C KC qC LC","260":"H"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"2":"MC"},P:{"2":"1 2 3 4 5 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","260":"6 7 8 9"},Q:{"2":"vD"},R:{"2":"wD"},S:{"2":"xD yD"}},B:5,C:"CSS Relative color syntax",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-repeating-gradients.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-repeating-gradients.js new file mode 100644 index 0000000000000000000000000000000000000000..dea37b81b1191f64cbcf3cba5156ca5925c8c068 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-repeating-gradients.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"K D E F sC"},B:{"1":"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC xC","33":"J VB K D E F A B C L M G yC"},D:{"1":"0 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"J VB K D E F","33":"1 2 3 4 5 6 A B C L M G N O P WB"},E:{"1":"D E F A B C L M G 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB zC WC","33":"K 0C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z LC","2":"F B BD CD DD ED","33":"C FD","36":"KC qC"},G:{"1":"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"WC GD rC","33":"HD ID"},H:{"2":"dD"},I:{"1":"I iD jD","2":"QC eD fD gD","33":"J hD rC"},J:{"1":"A","2":"D"},K:{"1":"H LC","2":"A B","33":"C","36":"KC qC"},L:{"1":"I"},M:{"1":"JC"},N:{"1":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"xD yD"}},B:4,C:"CSS Repeating Gradients",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-resize.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-resize.js new file mode 100644 index 0000000000000000000000000000000000000000..1c403973d14aaedc24b33b18bd0bbc7e5b4c38a6 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-resize.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 1 2 3 4 5 6 7 8 9 VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"tC QC xC yC","33":"J"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{"1":"J VB K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"zC WC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD","132":"LC"},G:{"2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD","2":"J"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:2,C:"CSS resize property",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-revert-value.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-revert-value.js new file mode 100644 index 0000000000000000000000000000000000000000..580af029337e4b12078f05b1f04fcab14e286ceb --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-revert-value.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P Q H R S"},C:{"1":"0 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B xC yC"},D:{"1":"0 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S"},E:{"1":"A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F zC WC 0C 1C 2C"},F:{"1":"0 DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC BD CD DD ED KC qC FD LC"},G:{"1":"MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 sD tD NC OC PC uD","2":"J kD lD mD nD oD XC pD qD rD"},Q:{"2":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:4,C:"CSS revert value",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-rrggbbaa.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-rrggbbaa.js new file mode 100644 index 0000000000000000000000000000000000000000..d0d51f806ed30ef2eafa0c43d5f50513c6fb20e7 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-rrggbbaa.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"1":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P"},C:{"1":"0 rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB xC yC"},D:{"1":"0 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB","194":"uB vB wB xB yB zB 0B RC 1B SC"},E:{"1":"A B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F zC WC 0C 1C 2C 3C"},F:{"1":"0 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB BD CD DD ED KC qC FD LC","194":"hB iB jB kB lB mB nB oB pB qB rB sB tB"},G:{"1":"ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"1":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 nD oD XC pD qD rD sD tD NC OC PC uD","2":"J","194":"kD lD mD"},Q:{"1":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:4,C:"#rrggbbaa hex color notation",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-scroll-behavior.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-scroll-behavior.js new file mode 100644 index 0000000000000000000000000000000000000000..295f127f4e556605da7ae55824338d4df35d2ec0 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-scroll-behavior.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K D E F A B sC"},B:{"2":"C L M G N O P","129":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{"1":"0 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB xC yC"},D:{"2":"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB","129":"0 SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","450":"jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B"},E:{"1":"ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD","2":"J VB K D E F A B C L zC WC 0C 1C 2C 3C XC KC LC 4C","578":"M G 5C 6C YC"},F:{"2":"1 2 3 4 5 6 7 8 F B C G N O P WB BD CD DD ED KC qC FD LC","129":"0 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","450":"9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB"},G:{"1":"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","2":"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD","578":"YD ZD YC"},H:{"2":"dD"},I:{"1":"I","2":"QC J eD fD gD hD rC iD jD"},J:{"2":"D A"},K:{"1":"H","2":"A B C KC qC LC"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"129":"MC"},P:{"1":"1 2 3 4 5 6 7 8 9 nD oD XC pD qD rD sD tD NC OC PC uD","2":"J kD lD mD"},Q:{"129":"vD"},R:{"1":"wD"},S:{"1":"yD","2":"xD"}},B:5,C:"CSS Scroll-behavior",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-scrollbar.js b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-scrollbar.js new file mode 100644 index 0000000000000000000000000000000000000000..5fb079bf563c6accb52b3391da8bdc2567d9c6c9 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/caniuse-lite/data/features/css-scrollbar.js @@ -0,0 +1 @@ +module.exports={A:{A:{"132":"K D E F A B sC"},B:{"1":"DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I","2":"C L M G N O P","292":"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB"},C:{"1":"0 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC","2":"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B xC yC","3138":"3B"},D:{"1":"DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC","292":"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB"},E:{"16":"J VB zC WC","292":"K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{"1":"0 q r s t u v w x y z","2":"F B C BD CD DD ED KC qC FD LC","292":"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p"},G:{"2":"XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC","16":"WC GD rC HD ID","292":"JD","804":"E KD LD MD ND OD PD QD RD SD TD UD VD WD"},H:{"2":"dD"},I:{"16":"eD fD","292":"QC J I gD hD rC iD jD"},J:{"292":"D A"},K:{"2":"A B C KC qC LC","292":"H"},L:{"1":"I"},M:{"1":"JC"},N:{"2":"A B"},O:{"292":"MC"},P:{"1":"6 7 8 9","292":"1 2 3 4 5 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{"292":"vD"},R:{"292":"wD"},S:{"2":"xD yD"}},B:4,C:"CSS scrollbar styling",D:true}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/emoji-regex/LICENSE-MIT.txt b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/emoji-regex/LICENSE-MIT.txt new file mode 100644 index 0000000000000000000000000000000000000000..a41e0a7ef970ecdd83d82cd99bda97b22077bc62 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/emoji-regex/LICENSE-MIT.txt @@ -0,0 +1,20 @@ +Copyright Mathias Bynens + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/emoji-regex/README.md b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/emoji-regex/README.md new file mode 100644 index 0000000000000000000000000000000000000000..d4e78db665e6478935f37d47afe4bcfae53e947b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/emoji-regex/README.md @@ -0,0 +1,107 @@ +# emoji-regex [![Build status](https://github.com/mathiasbynens/emoji-regex/actions/workflows/main.yml/badge.svg)](https://github.com/mathiasbynens/emoji-regex/actions/workflows/main.yml) [![emoji-regex on npm](https://img.shields.io/npm/v/emoji-regex)](https://www.npmjs.com/package/emoji-regex) + +_emoji-regex_ offers a regular expression to match all emoji symbols and sequences (including textual representations of emoji) as per the Unicode Standard. It’s based on [_emoji-test-regex-pattern_](https://github.com/mathiasbynens/emoji-test-regex-pattern), which generates (at build time) the regular expression pattern based on the Unicode Standard. As a result, _emoji-regex_ can easily be updated whenever new emoji are added to Unicode. + +Since each version of _emoji-regex_ is tied to the latest Unicode version at the time of release, results are deterministic. This is important for use cases like image replacement, where you want to guarantee that an image asset is available for every possibly matched emoji. If you don’t need a deterministic regex, a lighter-weight, general emoji pattern is available via the [_emoji-regex-xs_](https://github.com/slevithan/emoji-regex-xs) package that follows the same API. + +## Installation + +Via [npm](https://www.npmjs.com/): + +```bash +npm install emoji-regex +``` + +In [Node.js](https://nodejs.org/): + +```js +const emojiRegex = require('emoji-regex'); +// Note: because the regular expression has the global flag set, this module +// exports a function that returns the regex rather than exporting the regular +// expression itself, to make it impossible to (accidentally) mutate the +// original regular expression. + +const text = ` +\u{231A}: ⌚ default emoji presentation character (Emoji_Presentation) +\u{2194}\u{FE0F}: ↔️ default text presentation character rendered as emoji +\u{1F469}: 👩 emoji modifier base (Emoji_Modifier_Base) +\u{1F469}\u{1F3FF}: 👩🏿 emoji modifier base followed by a modifier +`; + +const regex = emojiRegex(); +for (const match of text.matchAll(regex)) { + const emoji = match[0]; + console.log(`Matched sequence ${ emoji } — code points: ${ [...emoji].length }`); +} +``` + +Console output: + +``` +Matched sequence ⌚ — code points: 1 +Matched sequence ⌚ — code points: 1 +Matched sequence ↔️ — code points: 2 +Matched sequence ↔️ — code points: 2 +Matched sequence 👩 — code points: 1 +Matched sequence 👩 — code points: 1 +Matched sequence 👩🏿 — code points: 2 +Matched sequence 👩🏿 — code points: 2 +``` + +## For maintainers + +### How to update emoji-regex after new Unicode Standard releases + +1. [Update _emoji-test-regex-pattern_ as described in its repository](https://github.com/mathiasbynens/emoji-test-regex-pattern#how-to-update-emoji-test-regex-pattern-after-new-uts51-releases). + +1. Bump the _emoji-test-regex-pattern_ dependency to the latest version. + +1. Update the Unicode data dependency in `package.json` by running the following commands: + + ```sh + # Example: updating from Unicode v13 to Unicode v14. + npm uninstall @unicode/unicode-13.0.0 + npm install @unicode/unicode-14.0.0 --save-dev + ```` + + 1. Generate the new output: + + ```sh + npm run build + ``` + + 1. Verify that tests still pass: + + ```sh + npm test + ``` + +### How to publish a new release + +1. On the `main` branch, bump the emoji-regex version number in `package.json`: + + ```sh + npm version patch -m 'Release v%s' + ``` + + Instead of `patch`, use `minor` or `major` [as needed](https://semver.org/). + + Note that this produces a Git commit + tag. + +1. Push the release commit and tag: + + ```sh + git push && git push --tags + ``` + + Our CI then automatically publishes the new release to npm. + +## Author + +| [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias "Follow @mathias on Twitter") | +|---| +| [Mathias Bynens](https://mathiasbynens.be/) | + +## License + +_emoji-regex_ is available under the [MIT](https://mths.be/mit) license. diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/emoji-regex/index.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/emoji-regex/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6f57555090390e09a3b3a2e39bab037c995b47b9 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/emoji-regex/index.d.ts @@ -0,0 +1,3 @@ +declare module 'emoji-regex' { + export default function emojiRegex(): RegExp; +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/emoji-regex/index.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/emoji-regex/index.js new file mode 100644 index 0000000000000000000000000000000000000000..237692de6a7fb267fc80e45197ac17a4a9794c8e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/emoji-regex/index.js @@ -0,0 +1,4 @@ +module.exports = () => { + // https://mths.be/emoji + return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g; +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/emoji-regex/index.mjs b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/emoji-regex/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..0a257ee3c821238059cb2e531ce680b5c82bd9dd --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/emoji-regex/index.mjs @@ -0,0 +1,4 @@ +export default () => { + // https://mths.be/emoji + return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g; +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/emoji-regex/package.json b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/emoji-regex/package.json new file mode 100644 index 0000000000000000000000000000000000000000..b75df58a03a9eab3dd523e058dad13857b40079c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/emoji-regex/package.json @@ -0,0 +1,45 @@ +{ + "name": "emoji-regex", + "version": "10.4.0", + "description": "A regular expression to match all Emoji-only symbols as per the Unicode Standard.", + "homepage": "https://mths.be/emoji-regex", + "main": "index.js", + "module": "index.mjs", + "types": "index.d.ts", + "keywords": [ + "unicode", + "regex", + "regexp", + "regular expressions", + "code points", + "symbols", + "characters", + "emoji" + ], + "license": "MIT", + "author": { + "name": "Mathias Bynens", + "url": "https://mathiasbynens.be/" + }, + "repository": { + "type": "git", + "url": "https://github.com/mathiasbynens/emoji-regex.git" + }, + "bugs": "https://github.com/mathiasbynens/emoji-regex/issues", + "files": [ + "LICENSE-MIT.txt", + "index.js", + "index.d.ts", + "index.mjs" + ], + "scripts": { + "build": "node script/build.js", + "test": "mocha", + "test:watch": "npm run test -- --watch" + }, + "devDependencies": { + "@unicode/unicode-16.0.0": "^1.0.0", + "emoji-test-regex-pattern": "^2.2.0", + "mocha": "^10.7.3" + } +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/string-width/index.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/string-width/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..459f9b84c002b73a9d0399501946802afa0efd4a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/string-width/index.d.ts @@ -0,0 +1,39 @@ +export type Options = { + /** + Count [ambiguous width characters](https://www.unicode.org/reports/tr11/#Ambiguous) as having narrow width (count of 1) instead of wide width (count of 2). + + @default true + + > Ambiguous characters behave like wide or narrow characters depending on the context (language tag, script identification, associated font, source of data, or explicit markup; all can provide the context). __If the context cannot be established reliably, they should be treated as narrow characters by default.__ + > - http://www.unicode.org/reports/tr11/ + */ + readonly ambiguousIsNarrow?: boolean; + + /** + Whether [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) should be counted. + + @default false + */ + readonly countAnsiEscapeCodes?: boolean; +}; + +/** +Get the visual width of a string - the number of columns required to display it. + +Some Unicode characters are [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) and use double the normal width. [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) are stripped and doesn't affect the width. + +@example +``` +import stringWidth from 'string-width'; + +stringWidth('a'); +//=> 1 + +stringWidth('古'); +//=> 2 + +stringWidth('\u001B[1m古\u001B[22m'); +//=> 2 +``` +*/ +export default function stringWidth(string: string, options?: Options): number; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/string-width/index.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/string-width/index.js new file mode 100644 index 0000000000000000000000000000000000000000..8a24115cedc830107314135eac2d070089beed48 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/string-width/index.js @@ -0,0 +1,82 @@ +import stripAnsi from 'strip-ansi'; +import {eastAsianWidth} from 'get-east-asian-width'; +import emojiRegex from 'emoji-regex'; + +const segmenter = new Intl.Segmenter(); + +const defaultIgnorableCodePointRegex = /^\p{Default_Ignorable_Code_Point}$/u; + +export default function stringWidth(string, options = {}) { + if (typeof string !== 'string' || string.length === 0) { + return 0; + } + + const { + ambiguousIsNarrow = true, + countAnsiEscapeCodes = false, + } = options; + + if (!countAnsiEscapeCodes) { + string = stripAnsi(string); + } + + if (string.length === 0) { + return 0; + } + + let width = 0; + const eastAsianWidthOptions = {ambiguousAsWide: !ambiguousIsNarrow}; + + for (const {segment: character} of segmenter.segment(string)) { + const codePoint = character.codePointAt(0); + + // Ignore control characters + if (codePoint <= 0x1F || (codePoint >= 0x7F && codePoint <= 0x9F)) { + continue; + } + + // Ignore zero-width characters + if ( + (codePoint >= 0x20_0B && codePoint <= 0x20_0F) // Zero-width space, non-joiner, joiner, left-to-right mark, right-to-left mark + || codePoint === 0xFE_FF // Zero-width no-break space + ) { + continue; + } + + // Ignore combining characters + if ( + (codePoint >= 0x3_00 && codePoint <= 0x3_6F) // Combining diacritical marks + || (codePoint >= 0x1A_B0 && codePoint <= 0x1A_FF) // Combining diacritical marks extended + || (codePoint >= 0x1D_C0 && codePoint <= 0x1D_FF) // Combining diacritical marks supplement + || (codePoint >= 0x20_D0 && codePoint <= 0x20_FF) // Combining diacritical marks for symbols + || (codePoint >= 0xFE_20 && codePoint <= 0xFE_2F) // Combining half marks + ) { + continue; + } + + // Ignore surrogate pairs + if (codePoint >= 0xD8_00 && codePoint <= 0xDF_FF) { + continue; + } + + // Ignore variation selectors + if (codePoint >= 0xFE_00 && codePoint <= 0xFE_0F) { + continue; + } + + // This covers some of the above cases, but we still keep them for performance reasons. + if (defaultIgnorableCodePointRegex.test(character)) { + continue; + } + + // TODO: Use `/\p{RGI_Emoji}/v` when targeting Node.js 20. + if (emojiRegex().test(character)) { + width += 2; + continue; + } + + width += eastAsianWidth(codePoint, eastAsianWidthOptions); + } + + return width; +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/string-width/license b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/string-width/license new file mode 100644 index 0000000000000000000000000000000000000000..fa7ceba3eb4a9657a9db7f3ffca4e4e97a9019de --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/string-width/license @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) Sindre Sorhus (https://sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/string-width/package.json b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/string-width/package.json new file mode 100644 index 0000000000000000000000000000000000000000..cafec041efe7b4592bc8b674dbc15b9a672db95e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/string-width/package.json @@ -0,0 +1,64 @@ +{ + "name": "string-width", + "version": "7.2.0", + "description": "Get the visual width of a string - the number of columns required to display it", + "license": "MIT", + "repository": "sindresorhus/string-width", + "funding": "https://github.com/sponsors/sindresorhus", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "type": "module", + "exports": { + "types": "./index.d.ts", + "default": "./index.js" + }, + "sideEffects": false, + "engines": { + "node": ">=18" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "keywords": [ + "string", + "character", + "unicode", + "width", + "visual", + "column", + "columns", + "fullwidth", + "full-width", + "full", + "ansi", + "escape", + "codes", + "cli", + "command-line", + "terminal", + "console", + "cjk", + "chinese", + "japanese", + "korean", + "fixed-width", + "east-asian-width" + ], + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "devDependencies": { + "ava": "^5.3.1", + "tsd": "^0.29.0", + "xo": "^0.56.0" + } +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/string-width/readme.md b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/string-width/readme.md new file mode 100644 index 0000000000000000000000000000000000000000..1cccd008c825f2795c95bb817eabb1441d24de40 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-formatter-pretty/node_modules/string-width/readme.md @@ -0,0 +1,66 @@ +# string-width + +> Get the visual width of a string - the number of columns required to display it + +Some Unicode characters are [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) and use double the normal width. [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) are stripped and doesn't affect the width. + +Useful to be able to measure the actual width of command-line output. + +## Install + +```sh +npm install string-width +``` + +## Usage + +```js +import stringWidth from 'string-width'; + +stringWidth('a'); +//=> 1 + +stringWidth('古'); +//=> 2 + +stringWidth('\u001B[1m古\u001B[22m'); +//=> 2 +``` + +## API + +### stringWidth(string, options?) + +#### string + +Type: `string` + +The string to be counted. + +#### options + +Type: `object` + +##### ambiguousIsNarrow + +Type: `boolean`\ +Default: `true` + +Count [ambiguous width characters](https://www.unicode.org/reports/tr11/#Ambiguous) as having narrow width (count of 1) instead of wide width (count of 2). + +> Ambiguous characters behave like wide or narrow characters depending on the context (language tag, script identification, associated font, source of data, or explicit markup; all can provide the context). **If the context cannot be established reliably, they should be treated as narrow characters by default.** +> - http://www.unicode.org/reports/tr11/ + +##### countAnsiEscapeCodes + +Type: `boolean`\ +Default: `false` + +Whether [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) should be counted. + +## Related + +- [string-width-cli](https://github.com/sindresorhus/string-width-cli) - CLI for this module +- [string-length](https://github.com/sindresorhus/string-length) - Get the real length of a string +- [widest-line](https://github.com/sindresorhus/widest-line) - Get the visual width of the widest line in a string +- [get-east-asian-width](https://github.com/sindresorhus/get-east-asian-width) - Determine the East Asian Width of a Unicode character diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2015-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2015-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..270272d3bd325e8be17b9784fc9a2b7d84acf096 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2015-intl-api.js @@ -0,0 +1,14 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: {}, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2015.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2015.js new file mode 100644 index 0000000000000000000000000000000000000000..504899cff3c5726f612f70fa8e73a21b49d7209d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2015.js @@ -0,0 +1,94 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + "es-x/no-array-from": "error", + "es-x/no-array-of": "error", + "es-x/no-array-prototype-copywithin": "error", + "es-x/no-array-prototype-entries": "error", + "es-x/no-array-prototype-fill": "error", + "es-x/no-array-prototype-find": "error", + "es-x/no-array-prototype-findindex": "error", + "es-x/no-array-prototype-keys": "error", + "es-x/no-array-prototype-values": "error", + "es-x/no-arrow-functions": "error", + "es-x/no-binary-numeric-literals": "error", + "es-x/no-block-scoped-functions": "error", + "es-x/no-block-scoped-variables": "error", + "es-x/no-classes": "error", + "es-x/no-computed-properties": "error", + "es-x/no-default-parameters": "error", + "es-x/no-destructuring": "error", + "es-x/no-for-of-loops": "error", + "es-x/no-generators": "error", + "es-x/no-map": "error", + "es-x/no-math-acosh": "error", + "es-x/no-math-asinh": "error", + "es-x/no-math-atanh": "error", + "es-x/no-math-cbrt": "error", + "es-x/no-math-clz32": "error", + "es-x/no-math-cosh": "error", + "es-x/no-math-expm1": "error", + "es-x/no-math-fround": "error", + "es-x/no-math-hypot": "error", + "es-x/no-math-imul": "error", + "es-x/no-math-log10": "error", + "es-x/no-math-log1p": "error", + "es-x/no-math-log2": "error", + "es-x/no-math-sign": "error", + "es-x/no-math-sinh": "error", + "es-x/no-math-tanh": "error", + "es-x/no-math-trunc": "error", + "es-x/no-modules": "error", + "es-x/no-new-target": "error", + "es-x/no-number-epsilon": "error", + "es-x/no-number-isfinite": "error", + "es-x/no-number-isinteger": "error", + "es-x/no-number-isnan": "error", + "es-x/no-number-issafeinteger": "error", + "es-x/no-number-maxsafeinteger": "error", + "es-x/no-number-minsafeinteger": "error", + "es-x/no-number-parsefloat": "error", + "es-x/no-number-parseint": "error", + "es-x/no-object-assign": "error", + "es-x/no-object-getownpropertysymbols": "error", + "es-x/no-object-is": "error", + "es-x/no-object-setprototypeof": "error", + "es-x/no-object-super-properties": "error", + "es-x/no-octal-numeric-literals": "error", + "es-x/no-promise": "error", + "es-x/no-property-shorthands": "error", + "es-x/no-proxy": "error", + "es-x/no-reflect": "error", + "es-x/no-regexp-prototype-flags": "error", + "es-x/no-regexp-u-flag": "error", + "es-x/no-regexp-y-flag": "error", + "es-x/no-rest-parameters": "error", + "es-x/no-set": "error", + "es-x/no-spread-elements": "error", + "es-x/no-string-fromcodepoint": "error", + "es-x/no-string-prototype-codepointat": "error", + "es-x/no-string-prototype-endswith": "error", + "es-x/no-string-prototype-includes": "error", + "es-x/no-string-prototype-normalize": "error", + "es-x/no-string-prototype-repeat": "error", + "es-x/no-string-prototype-startswith": "error", + "es-x/no-string-raw": "error", + "es-x/no-subclassing-builtins": "error", + "es-x/no-symbol": "error", + "es-x/no-template-literals": "error", + "es-x/no-typed-arrays": "error", + "es-x/no-unicode-codepoint-escapes": "error", + "es-x/no-weak-map": "error", + "es-x/no-weak-set": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2016-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2016-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..630550c12911afdf1501a76e9376a583db94d26c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2016-intl-api.js @@ -0,0 +1,14 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { "es-x/no-intl-getcanonicallocales": "error" }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2016.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2016.js new file mode 100644 index 0000000000000000000000000000000000000000..14f90b268e10ec342a339cb91d2991890a360480 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2016.js @@ -0,0 +1,17 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + "es-x/no-array-prototype-includes": "error", + "es-x/no-exponential-operators": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2017-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2017-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..1fb4b8bdc49d700f043877959ccb9d4342576080 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2017-intl-api.js @@ -0,0 +1,14 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { "es-x/no-intl-datetimeformat-prototype-formattoparts": "error" }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2017.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2017.js new file mode 100644 index 0000000000000000000000000000000000000000..74a272aaadab5b51b31d0fa0084fde6f112ad707 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2017.js @@ -0,0 +1,23 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + "es-x/no-async-functions": "error", + "es-x/no-atomics": "error", + "es-x/no-object-entries": "error", + "es-x/no-object-getownpropertydescriptors": "error", + "es-x/no-object-values": "error", + "es-x/no-shared-array-buffer": "error", + "es-x/no-string-prototype-padstart-padend": "error", + "es-x/no-trailing-function-commas": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2018-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2018-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..e3836e6ee068dea726a5cdab8e00242ebf84a870 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2018-intl-api.js @@ -0,0 +1,17 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + "es-x/no-intl-numberformat-prototype-formattoparts": "error", + "es-x/no-intl-pluralrules": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2018.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2018.js new file mode 100644 index 0000000000000000000000000000000000000000..208500f16f586f3f5dc992330ef9b72dd4e44116 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2018.js @@ -0,0 +1,23 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + "es-x/no-async-iteration": "error", + "es-x/no-malformed-template-literals": "error", + "es-x/no-promise-prototype-finally": "error", + "es-x/no-regexp-lookbehind-assertions": "error", + "es-x/no-regexp-named-capture-groups": "error", + "es-x/no-regexp-s-flag": "error", + "es-x/no-regexp-unicode-property-escapes": "error", + "es-x/no-rest-spread-properties": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2019-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2019-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..270272d3bd325e8be17b9784fc9a2b7d84acf096 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2019-intl-api.js @@ -0,0 +1,14 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: {}, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2019.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2019.js new file mode 100644 index 0000000000000000000000000000000000000000..23a45b18ee6513df3788c21929820b82f97516e9 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2019.js @@ -0,0 +1,22 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + "es-x/no-array-prototype-flat": "error", + "es-x/no-json-superset": "error", + "es-x/no-object-fromentries": "error", + "es-x/no-optional-catch-binding": "error", + "es-x/no-regexp-unicode-property-escapes-2019": "error", + "es-x/no-string-prototype-trimstart-trimend": "error", + "es-x/no-symbol-prototype-description": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2020-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2020-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..2e425b2357b1efe3bff90aa71c1a909e8a4c3e07 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2020-intl-api.js @@ -0,0 +1,17 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + "es-x/no-intl-locale": "error", + "es-x/no-intl-relativetimeformat": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2020.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2020.js new file mode 100644 index 0000000000000000000000000000000000000000..e2243c0a1e3b21a93647679645c3331614401583 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2020.js @@ -0,0 +1,25 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + "es-x/no-bigint": "error", + "es-x/no-dynamic-import": "error", + "es-x/no-export-ns-from": "error", + "es-x/no-global-this": "error", + "es-x/no-import-meta": "error", + "es-x/no-nullish-coalescing-operators": "error", + "es-x/no-optional-chaining": "error", + "es-x/no-promise-all-settled": "error", + "es-x/no-regexp-unicode-property-escapes-2020": "error", + "es-x/no-string-prototype-matchall": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2021-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2021-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..31accb1aa88ee314dbbdb049d04891472fa56677 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2021-intl-api.js @@ -0,0 +1,18 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + "es-x/no-intl-datetimeformat-prototype-formatrange": "error", + "es-x/no-intl-displaynames": "error", + "es-x/no-intl-listformat": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2021.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2021.js new file mode 100644 index 0000000000000000000000000000000000000000..1a58de1a234746a26b0b5a5efdc0c4a7143c76a2 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2021.js @@ -0,0 +1,21 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + "es-x/no-logical-assignment-operators": "error", + "es-x/no-numeric-separators": "error", + "es-x/no-promise-any": "error", + "es-x/no-regexp-unicode-property-escapes-2021": "error", + "es-x/no-string-prototype-replaceall": "error", + "es-x/no-weakrefs": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2022-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2022-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..463e78230e6baec8ed2d3f5e75866c1b53d06eb5 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2022-intl-api.js @@ -0,0 +1,17 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + "es-x/no-intl-segmenter": "error", + "es-x/no-intl-supportedvaluesof": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2022.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2022.js new file mode 100644 index 0000000000000000000000000000000000000000..c3210cf6a2570f1d31600c57102acf890ca6e7e1 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2022.js @@ -0,0 +1,25 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + "es-x/no-arbitrary-module-namespace-names": "error", + "es-x/no-array-string-prototype-at": "error", + "es-x/no-class-fields": "error", + "es-x/no-class-static-block": "error", + "es-x/no-error-cause": "error", + "es-x/no-object-hasown": "error", + "es-x/no-private-in": "error", + "es-x/no-regexp-d-flag": "error", + "es-x/no-regexp-unicode-property-escapes-2022": "error", + "es-x/no-top-level-await": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2023-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2023-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..4106b61228b50c6212a7ebefd8621b40d18f280c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2023-intl-api.js @@ -0,0 +1,18 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + "es-x/no-intl-numberformat-prototype-formatrange": "error", + "es-x/no-intl-numberformat-prototype-formatrangetoparts": "error", + "es-x/no-intl-pluralrules-prototype-selectrange": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2023.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2023.js new file mode 100644 index 0000000000000000000000000000000000000000..11e6621a3b7630f3844c53a22a036e04d94faee5 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es2023.js @@ -0,0 +1,22 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + "es-x/no-array-prototype-findlast-findlastindex": "error", + "es-x/no-array-prototype-toreversed": "error", + "es-x/no-array-prototype-tosorted": "error", + "es-x/no-array-prototype-tospliced": "error", + "es-x/no-array-prototype-with": "error", + "es-x/no-hashbang": "error", + "es-x/no-regexp-unicode-property-escapes-2023": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es5.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es5.js new file mode 100644 index 0000000000000000000000000000000000000000..b7fa247dfc3c8a17b7356b161b36b6568d0f6d0a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-es5.js @@ -0,0 +1,45 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + "es-x/no-accessor-properties": "error", + "es-x/no-array-isarray": "error", + "es-x/no-array-prototype-every": "error", + "es-x/no-array-prototype-filter": "error", + "es-x/no-array-prototype-foreach": "error", + "es-x/no-array-prototype-indexof": "error", + "es-x/no-array-prototype-lastindexof": "error", + "es-x/no-array-prototype-map": "error", + "es-x/no-array-prototype-reduce": "error", + "es-x/no-array-prototype-reduceright": "error", + "es-x/no-array-prototype-some": "error", + "es-x/no-date-now": "error", + "es-x/no-function-prototype-bind": "error", + "es-x/no-json": "error", + "es-x/no-keyword-properties": "error", + "es-x/no-object-create": "error", + "es-x/no-object-defineproperties": "error", + "es-x/no-object-defineproperty": "error", + "es-x/no-object-freeze": "error", + "es-x/no-object-getownpropertydescriptor": "error", + "es-x/no-object-getownpropertynames": "error", + "es-x/no-object-getprototypeof": "error", + "es-x/no-object-isextensible": "error", + "es-x/no-object-isfrozen": "error", + "es-x/no-object-issealed": "error", + "es-x/no-object-keys": "error", + "es-x/no-object-preventextensions": "error", + "es-x/no-object-seal": "error", + "es-x/no-string-prototype-trim": "error", + "es-x/no-trailing-commas": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-esnext-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-esnext-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..270272d3bd325e8be17b9784fc9a2b7d84acf096 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-esnext-intl-api.js @@ -0,0 +1,14 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: {}, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-esnext.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-esnext.js new file mode 100644 index 0000000000000000000000000000000000000000..7f531e60743ef976df4bb6823f446c6ce5c24e82 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-new-in-esnext.js @@ -0,0 +1,30 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + "es-x/no-regexp-duplicate-named-capturing-groups": "error", + "es-x/no-set-prototype-difference": "error", + "es-x/no-set-prototype-intersection": "error", + "es-x/no-set-prototype-isdisjointfrom": "error", + "es-x/no-set-prototype-issubsetof": "error", + "es-x/no-set-prototype-issupersetof": "error", + "es-x/no-set-prototype-symmetricdifference": "error", + "es-x/no-set-prototype-union": "error", + "es-x/no-arraybuffer-prototype-transfer": "error", + "es-x/no-atomics-waitasync": "error", + "es-x/no-object-map-groupby": "error", + "es-x/no-promise-withresolvers": "error", + "es-x/no-regexp-v-flag": "error", + "es-x/no-resizable-and-growable-arraybuffers": "error", + "es-x/no-string-prototype-iswellformed-towellformed": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-set-methods.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-set-methods.js new file mode 100644 index 0000000000000000000000000000000000000000..3607ba0385ccb20e94073f5720d7059e7f3ef4d4 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/no-set-methods.js @@ -0,0 +1,22 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + "es-x/no-set-prototype-difference": "error", + "es-x/no-set-prototype-intersection": "error", + "es-x/no-set-prototype-isdisjointfrom": "error", + "es-x/no-set-prototype-issubsetof": "error", + "es-x/no-set-prototype-issupersetof": "error", + "es-x/no-set-prototype-symmetricdifference": "error", + "es-x/no-set-prototype-union": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es-intl-api-1st-edition.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es-intl-api-1st-edition.js new file mode 100644 index 0000000000000000000000000000000000000000..a1c502fd0065f9c5c0d0da3473046c7c4338381a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es-intl-api-1st-edition.js @@ -0,0 +1,24 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + ...require("./no-new-in-es2023-intl-api").rules, + ...require("./no-new-in-es2022-intl-api").rules, + ...require("./no-new-in-es2021-intl-api").rules, + ...require("./no-new-in-es2020-intl-api").rules, + ...require("./no-new-in-es2019-intl-api").rules, + ...require("./no-new-in-es2018-intl-api").rules, + ...require("./no-new-in-es2017-intl-api").rules, + ...require("./no-new-in-es2016-intl-api").rules, + ...require("./no-new-in-es2015-intl-api").rules, + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2015-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2015-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..cfde7ce3acacd64315e3d0a9c0ca28bbcf20d02d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2015-intl-api.js @@ -0,0 +1,23 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + ...require("./no-new-in-es2023-intl-api").rules, + ...require("./no-new-in-es2022-intl-api").rules, + ...require("./no-new-in-es2021-intl-api").rules, + ...require("./no-new-in-es2020-intl-api").rules, + ...require("./no-new-in-es2019-intl-api").rules, + ...require("./no-new-in-es2018-intl-api").rules, + ...require("./no-new-in-es2017-intl-api").rules, + ...require("./no-new-in-es2016-intl-api").rules, + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2015.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2015.js new file mode 100644 index 0000000000000000000000000000000000000000..f56f5a7edda039cfbd035316d4e06385c3d0a8fd --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2015.js @@ -0,0 +1,23 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + ...require("./no-new-in-es2023").rules, + ...require("./no-new-in-es2022").rules, + ...require("./no-new-in-es2021").rules, + ...require("./no-new-in-es2020").rules, + ...require("./no-new-in-es2019").rules, + ...require("./no-new-in-es2018").rules, + ...require("./no-new-in-es2017").rules, + ...require("./no-new-in-es2016").rules, + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2016-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2016-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..850f65f4575a5a7168cdbfe873b66ccb9f0c5706 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2016-intl-api.js @@ -0,0 +1,22 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + ...require("./no-new-in-es2023-intl-api").rules, + ...require("./no-new-in-es2022-intl-api").rules, + ...require("./no-new-in-es2021-intl-api").rules, + ...require("./no-new-in-es2020-intl-api").rules, + ...require("./no-new-in-es2019-intl-api").rules, + ...require("./no-new-in-es2018-intl-api").rules, + ...require("./no-new-in-es2017-intl-api").rules, + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2016.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2016.js new file mode 100644 index 0000000000000000000000000000000000000000..c83de4f6c1957dda6e44c6d72aa5c03558a8ac38 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2016.js @@ -0,0 +1,22 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + ...require("./no-new-in-es2023").rules, + ...require("./no-new-in-es2022").rules, + ...require("./no-new-in-es2021").rules, + ...require("./no-new-in-es2020").rules, + ...require("./no-new-in-es2019").rules, + ...require("./no-new-in-es2018").rules, + ...require("./no-new-in-es2017").rules, + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2017-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2017-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..eddbdaa0a70c35686d71bb6adbfcadb4d000ea28 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2017-intl-api.js @@ -0,0 +1,21 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + ...require("./no-new-in-es2023-intl-api").rules, + ...require("./no-new-in-es2022-intl-api").rules, + ...require("./no-new-in-es2021-intl-api").rules, + ...require("./no-new-in-es2020-intl-api").rules, + ...require("./no-new-in-es2019-intl-api").rules, + ...require("./no-new-in-es2018-intl-api").rules, + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2017.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2017.js new file mode 100644 index 0000000000000000000000000000000000000000..8b9933bd32a653a57f29c5a3379aec8fa9f1108f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2017.js @@ -0,0 +1,21 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + ...require("./no-new-in-es2023").rules, + ...require("./no-new-in-es2022").rules, + ...require("./no-new-in-es2021").rules, + ...require("./no-new-in-es2020").rules, + ...require("./no-new-in-es2019").rules, + ...require("./no-new-in-es2018").rules, + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2018-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2018-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..73aa7367ea7797dfd8c4a25b43781c2db0a2e667 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2018-intl-api.js @@ -0,0 +1,20 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + ...require("./no-new-in-es2023-intl-api").rules, + ...require("./no-new-in-es2022-intl-api").rules, + ...require("./no-new-in-es2021-intl-api").rules, + ...require("./no-new-in-es2020-intl-api").rules, + ...require("./no-new-in-es2019-intl-api").rules, + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2018.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2018.js new file mode 100644 index 0000000000000000000000000000000000000000..94d7ee64544d9b8db809d2200f9d9cfe8015c39d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2018.js @@ -0,0 +1,20 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + ...require("./no-new-in-es2023").rules, + ...require("./no-new-in-es2022").rules, + ...require("./no-new-in-es2021").rules, + ...require("./no-new-in-es2020").rules, + ...require("./no-new-in-es2019").rules, + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2019-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2019-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..a660cf306178ba0312769ae6128865fb99778bfe --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2019-intl-api.js @@ -0,0 +1,19 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + ...require("./no-new-in-es2023-intl-api").rules, + ...require("./no-new-in-es2022-intl-api").rules, + ...require("./no-new-in-es2021-intl-api").rules, + ...require("./no-new-in-es2020-intl-api").rules, + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2019.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2019.js new file mode 100644 index 0000000000000000000000000000000000000000..d6a886439bb57487d6b20cc6ace1f1b5da8517bf --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2019.js @@ -0,0 +1,19 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + ...require("./no-new-in-es2023").rules, + ...require("./no-new-in-es2022").rules, + ...require("./no-new-in-es2021").rules, + ...require("./no-new-in-es2020").rules, + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2020-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2020-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..af9de0d8fbfb3a15878494314d5217ff8f95ffc2 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2020-intl-api.js @@ -0,0 +1,18 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + ...require("./no-new-in-es2023-intl-api").rules, + ...require("./no-new-in-es2022-intl-api").rules, + ...require("./no-new-in-es2021-intl-api").rules, + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2020.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2020.js new file mode 100644 index 0000000000000000000000000000000000000000..1145f3228f847eb611aeeda7f74977d16c77438b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2020.js @@ -0,0 +1,18 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + ...require("./no-new-in-es2023").rules, + ...require("./no-new-in-es2022").rules, + ...require("./no-new-in-es2021").rules, + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2021-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2021-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..d3fecfc75c5d152f7148e50fea7d27424f234e58 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2021-intl-api.js @@ -0,0 +1,17 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + ...require("./no-new-in-es2023-intl-api").rules, + ...require("./no-new-in-es2022-intl-api").rules, + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2021.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2021.js new file mode 100644 index 0000000000000000000000000000000000000000..b82c53f8fb94894a8805f7776ea5a097292dac28 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2021.js @@ -0,0 +1,17 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + ...require("./no-new-in-es2023").rules, + ...require("./no-new-in-es2022").rules, + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2022-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2022-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..9b0cebb94221f540841d04af75ef707eff0e1991 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2022-intl-api.js @@ -0,0 +1,14 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { ...require("./no-new-in-es2023-intl-api").rules }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2022.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2022.js new file mode 100644 index 0000000000000000000000000000000000000000..c460d4655a61dfe624a7867489f545d9029e254a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es2022.js @@ -0,0 +1,14 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { ...require("./no-new-in-es2023").rules }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es3.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es3.js new file mode 100644 index 0000000000000000000000000000000000000000..433622db10a00b04b11c37612ed7e13e3a8c3700 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es3.js @@ -0,0 +1,25 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + ...require("./no-new-in-es2023").rules, + ...require("./no-new-in-es2022").rules, + ...require("./no-new-in-es2021").rules, + ...require("./no-new-in-es2020").rules, + ...require("./no-new-in-es2019").rules, + ...require("./no-new-in-es2018").rules, + ...require("./no-new-in-es2017").rules, + ...require("./no-new-in-es2016").rules, + ...require("./no-new-in-es2015").rules, + ...require("./no-new-in-es5").rules, + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es5.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es5.js new file mode 100644 index 0000000000000000000000000000000000000000..aafb6d063829c82df548f8595149bcd375232473 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/flat/restrict-to-es5.js @@ -0,0 +1,24 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-flat-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: { + get "es-x"() { + return require("../../index.js") + }, + }, + rules: { + ...require("./no-new-in-es2023").rules, + ...require("./no-new-in-es2022").rules, + ...require("./no-new-in-es2021").rules, + ...require("./no-new-in-es2020").rules, + ...require("./no-new-in-es2019").rules, + ...require("./no-new-in-es2018").rules, + ...require("./no-new-in-es2017").rules, + ...require("./no-new-in-es2016").rules, + ...require("./no-new-in-es2015").rules, + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2015-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2015-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..f42c5997ac31d1da510278e20f071aa77039f452 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2015-intl-api.js @@ -0,0 +1,7 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { plugins: ["es-x"], rules: {} } diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2015.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2015.js new file mode 100644 index 0000000000000000000000000000000000000000..56f8bfcc5dc0dd5dbe40b1491773f38cadcebaa3 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2015.js @@ -0,0 +1,90 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: ["es-x"], + rules: { + "es-x/no-array-from": "error", + "es-x/no-array-of": "error", + "es-x/no-array-prototype-copywithin": "error", + "es-x/no-array-prototype-entries": "error", + "es-x/no-array-prototype-fill": "error", + "es-x/no-array-prototype-find": "error", + "es-x/no-array-prototype-findindex": "error", + "es-x/no-array-prototype-keys": "error", + "es-x/no-array-prototype-values": "error", + "es-x/no-arrow-functions": "error", + "es-x/no-binary-numeric-literals": "error", + "es-x/no-block-scoped-functions": "error", + "es-x/no-block-scoped-variables": "error", + "es-x/no-classes": "error", + "es-x/no-computed-properties": "error", + "es-x/no-default-parameters": "error", + "es-x/no-destructuring": "error", + "es-x/no-for-of-loops": "error", + "es-x/no-generators": "error", + "es-x/no-map": "error", + "es-x/no-math-acosh": "error", + "es-x/no-math-asinh": "error", + "es-x/no-math-atanh": "error", + "es-x/no-math-cbrt": "error", + "es-x/no-math-clz32": "error", + "es-x/no-math-cosh": "error", + "es-x/no-math-expm1": "error", + "es-x/no-math-fround": "error", + "es-x/no-math-hypot": "error", + "es-x/no-math-imul": "error", + "es-x/no-math-log10": "error", + "es-x/no-math-log1p": "error", + "es-x/no-math-log2": "error", + "es-x/no-math-sign": "error", + "es-x/no-math-sinh": "error", + "es-x/no-math-tanh": "error", + "es-x/no-math-trunc": "error", + "es-x/no-modules": "error", + "es-x/no-new-target": "error", + "es-x/no-number-epsilon": "error", + "es-x/no-number-isfinite": "error", + "es-x/no-number-isinteger": "error", + "es-x/no-number-isnan": "error", + "es-x/no-number-issafeinteger": "error", + "es-x/no-number-maxsafeinteger": "error", + "es-x/no-number-minsafeinteger": "error", + "es-x/no-number-parsefloat": "error", + "es-x/no-number-parseint": "error", + "es-x/no-object-assign": "error", + "es-x/no-object-getownpropertysymbols": "error", + "es-x/no-object-is": "error", + "es-x/no-object-setprototypeof": "error", + "es-x/no-object-super-properties": "error", + "es-x/no-octal-numeric-literals": "error", + "es-x/no-promise": "error", + "es-x/no-property-shorthands": "error", + "es-x/no-proxy": "error", + "es-x/no-reflect": "error", + "es-x/no-regexp-prototype-flags": "error", + "es-x/no-regexp-u-flag": "error", + "es-x/no-regexp-y-flag": "error", + "es-x/no-rest-parameters": "error", + "es-x/no-set": "error", + "es-x/no-spread-elements": "error", + "es-x/no-string-fromcodepoint": "error", + "es-x/no-string-prototype-codepointat": "error", + "es-x/no-string-prototype-endswith": "error", + "es-x/no-string-prototype-includes": "error", + "es-x/no-string-prototype-normalize": "error", + "es-x/no-string-prototype-repeat": "error", + "es-x/no-string-prototype-startswith": "error", + "es-x/no-string-raw": "error", + "es-x/no-subclassing-builtins": "error", + "es-x/no-symbol": "error", + "es-x/no-template-literals": "error", + "es-x/no-typed-arrays": "error", + "es-x/no-unicode-codepoint-escapes": "error", + "es-x/no-weak-map": "error", + "es-x/no-weak-set": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2016-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2016-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..bbc2a08e9496e50dea800b43afabb905bfb7e10c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2016-intl-api.js @@ -0,0 +1,10 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: ["es-x"], + rules: { "es-x/no-intl-getcanonicallocales": "error" }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2016.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2016.js new file mode 100644 index 0000000000000000000000000000000000000000..8aa4a019771022d0fd0559051ac9a69a93bcc8be --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2016.js @@ -0,0 +1,13 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: ["es-x"], + rules: { + "es-x/no-array-prototype-includes": "error", + "es-x/no-exponential-operators": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2017-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2017-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..b489afb09e3be6e6a23395d32f95cfa7e06bb9f6 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2017-intl-api.js @@ -0,0 +1,10 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: ["es-x"], + rules: { "es-x/no-intl-datetimeformat-prototype-formattoparts": "error" }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2017.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2017.js new file mode 100644 index 0000000000000000000000000000000000000000..d27b32f19c55da69747faac534ee3346db1f8fc7 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2017.js @@ -0,0 +1,19 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: ["es-x"], + rules: { + "es-x/no-async-functions": "error", + "es-x/no-atomics": "error", + "es-x/no-object-entries": "error", + "es-x/no-object-getownpropertydescriptors": "error", + "es-x/no-object-values": "error", + "es-x/no-shared-array-buffer": "error", + "es-x/no-string-prototype-padstart-padend": "error", + "es-x/no-trailing-function-commas": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2018-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2018-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..4468b248110f024dc94bb58fc7cef9b834fc9ff7 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2018-intl-api.js @@ -0,0 +1,13 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: ["es-x"], + rules: { + "es-x/no-intl-numberformat-prototype-formattoparts": "error", + "es-x/no-intl-pluralrules": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2018.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2018.js new file mode 100644 index 0000000000000000000000000000000000000000..c034835486bd90fbde3ca4d7bfc17a479d722034 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2018.js @@ -0,0 +1,19 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: ["es-x"], + rules: { + "es-x/no-async-iteration": "error", + "es-x/no-malformed-template-literals": "error", + "es-x/no-promise-prototype-finally": "error", + "es-x/no-regexp-lookbehind-assertions": "error", + "es-x/no-regexp-named-capture-groups": "error", + "es-x/no-regexp-s-flag": "error", + "es-x/no-regexp-unicode-property-escapes": "error", + "es-x/no-rest-spread-properties": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2019-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2019-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..f42c5997ac31d1da510278e20f071aa77039f452 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2019-intl-api.js @@ -0,0 +1,7 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { plugins: ["es-x"], rules: {} } diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2019.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2019.js new file mode 100644 index 0000000000000000000000000000000000000000..d33ab07eac1d4be2e7c3d4b7f2e229506300fc35 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2019.js @@ -0,0 +1,18 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: ["es-x"], + rules: { + "es-x/no-array-prototype-flat": "error", + "es-x/no-json-superset": "error", + "es-x/no-object-fromentries": "error", + "es-x/no-optional-catch-binding": "error", + "es-x/no-regexp-unicode-property-escapes-2019": "error", + "es-x/no-string-prototype-trimstart-trimend": "error", + "es-x/no-symbol-prototype-description": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2020-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2020-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..e7ee8041b680e2155283d126fe249a6422c356a3 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2020-intl-api.js @@ -0,0 +1,13 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: ["es-x"], + rules: { + "es-x/no-intl-locale": "error", + "es-x/no-intl-relativetimeformat": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2020.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2020.js new file mode 100644 index 0000000000000000000000000000000000000000..b00c0c9e669b8956a21564ffda4154d512d63274 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2020.js @@ -0,0 +1,21 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: ["es-x"], + rules: { + "es-x/no-bigint": "error", + "es-x/no-dynamic-import": "error", + "es-x/no-export-ns-from": "error", + "es-x/no-global-this": "error", + "es-x/no-import-meta": "error", + "es-x/no-nullish-coalescing-operators": "error", + "es-x/no-optional-chaining": "error", + "es-x/no-promise-all-settled": "error", + "es-x/no-regexp-unicode-property-escapes-2020": "error", + "es-x/no-string-prototype-matchall": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2021-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2021-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..766910f6794df07b4a49deb2f0a13d321f1dda8a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2021-intl-api.js @@ -0,0 +1,14 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: ["es-x"], + rules: { + "es-x/no-intl-datetimeformat-prototype-formatrange": "error", + "es-x/no-intl-displaynames": "error", + "es-x/no-intl-listformat": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2021.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2021.js new file mode 100644 index 0000000000000000000000000000000000000000..99b34a2c9824eb54b4a9047ac251b91ecdbc64f7 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2021.js @@ -0,0 +1,17 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: ["es-x"], + rules: { + "es-x/no-logical-assignment-operators": "error", + "es-x/no-numeric-separators": "error", + "es-x/no-promise-any": "error", + "es-x/no-regexp-unicode-property-escapes-2021": "error", + "es-x/no-string-prototype-replaceall": "error", + "es-x/no-weakrefs": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2022-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2022-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..ffe1c9e92081899537cc7f60b2015cd4041ec90a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2022-intl-api.js @@ -0,0 +1,13 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: ["es-x"], + rules: { + "es-x/no-intl-segmenter": "error", + "es-x/no-intl-supportedvaluesof": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2022.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2022.js new file mode 100644 index 0000000000000000000000000000000000000000..791ef63450dc07ef17344d5a025a2c2cdd50cde0 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2022.js @@ -0,0 +1,21 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: ["es-x"], + rules: { + "es-x/no-arbitrary-module-namespace-names": "error", + "es-x/no-array-string-prototype-at": "error", + "es-x/no-class-fields": "error", + "es-x/no-class-static-block": "error", + "es-x/no-error-cause": "error", + "es-x/no-object-hasown": "error", + "es-x/no-private-in": "error", + "es-x/no-regexp-d-flag": "error", + "es-x/no-regexp-unicode-property-escapes-2022": "error", + "es-x/no-top-level-await": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2023-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2023-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..3ffd376c5bb50eb50bb719248cd4dd0b94a9d928 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2023-intl-api.js @@ -0,0 +1,14 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: ["es-x"], + rules: { + "es-x/no-intl-numberformat-prototype-formatrange": "error", + "es-x/no-intl-numberformat-prototype-formatrangetoparts": "error", + "es-x/no-intl-pluralrules-prototype-selectrange": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2023.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2023.js new file mode 100644 index 0000000000000000000000000000000000000000..5095b7d14666bebd82fe154efe96c58801ec1ec0 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es2023.js @@ -0,0 +1,18 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: ["es-x"], + rules: { + "es-x/no-array-prototype-findlast-findlastindex": "error", + "es-x/no-array-prototype-toreversed": "error", + "es-x/no-array-prototype-tosorted": "error", + "es-x/no-array-prototype-tospliced": "error", + "es-x/no-array-prototype-with": "error", + "es-x/no-hashbang": "error", + "es-x/no-regexp-unicode-property-escapes-2023": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es5.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es5.js new file mode 100644 index 0000000000000000000000000000000000000000..63d07b64f6579d544a707d808052b3cab58f299e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-es5.js @@ -0,0 +1,41 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: ["es-x"], + rules: { + "es-x/no-accessor-properties": "error", + "es-x/no-array-isarray": "error", + "es-x/no-array-prototype-every": "error", + "es-x/no-array-prototype-filter": "error", + "es-x/no-array-prototype-foreach": "error", + "es-x/no-array-prototype-indexof": "error", + "es-x/no-array-prototype-lastindexof": "error", + "es-x/no-array-prototype-map": "error", + "es-x/no-array-prototype-reduce": "error", + "es-x/no-array-prototype-reduceright": "error", + "es-x/no-array-prototype-some": "error", + "es-x/no-date-now": "error", + "es-x/no-function-prototype-bind": "error", + "es-x/no-json": "error", + "es-x/no-keyword-properties": "error", + "es-x/no-object-create": "error", + "es-x/no-object-defineproperties": "error", + "es-x/no-object-defineproperty": "error", + "es-x/no-object-freeze": "error", + "es-x/no-object-getownpropertydescriptor": "error", + "es-x/no-object-getownpropertynames": "error", + "es-x/no-object-getprototypeof": "error", + "es-x/no-object-isextensible": "error", + "es-x/no-object-isfrozen": "error", + "es-x/no-object-issealed": "error", + "es-x/no-object-keys": "error", + "es-x/no-object-preventextensions": "error", + "es-x/no-object-seal": "error", + "es-x/no-string-prototype-trim": "error", + "es-x/no-trailing-commas": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-esnext-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-esnext-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..f42c5997ac31d1da510278e20f071aa77039f452 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-esnext-intl-api.js @@ -0,0 +1,7 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { plugins: ["es-x"], rules: {} } diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-esnext.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-esnext.js new file mode 100644 index 0000000000000000000000000000000000000000..3a685340c075eed5fef316126207a8383324b5e2 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-new-in-esnext.js @@ -0,0 +1,26 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: ["es-x"], + rules: { + "es-x/no-regexp-duplicate-named-capturing-groups": "error", + "es-x/no-set-prototype-difference": "error", + "es-x/no-set-prototype-intersection": "error", + "es-x/no-set-prototype-isdisjointfrom": "error", + "es-x/no-set-prototype-issubsetof": "error", + "es-x/no-set-prototype-issupersetof": "error", + "es-x/no-set-prototype-symmetricdifference": "error", + "es-x/no-set-prototype-union": "error", + "es-x/no-arraybuffer-prototype-transfer": "error", + "es-x/no-atomics-waitasync": "error", + "es-x/no-object-map-groupby": "error", + "es-x/no-promise-withresolvers": "error", + "es-x/no-regexp-v-flag": "error", + "es-x/no-resizable-and-growable-arraybuffers": "error", + "es-x/no-string-prototype-iswellformed-towellformed": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-set-methods.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-set-methods.js new file mode 100644 index 0000000000000000000000000000000000000000..d5f6acc448113489f31d79c2e34fd2a4bdd7229c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/no-set-methods.js @@ -0,0 +1,18 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + plugins: ["es-x"], + rules: { + "es-x/no-set-prototype-difference": "error", + "es-x/no-set-prototype-intersection": "error", + "es-x/no-set-prototype-isdisjointfrom": "error", + "es-x/no-set-prototype-issubsetof": "error", + "es-x/no-set-prototype-issupersetof": "error", + "es-x/no-set-prototype-symmetricdifference": "error", + "es-x/no-set-prototype-union": "error", + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es-intl-api-1st-edition.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es-intl-api-1st-edition.js new file mode 100644 index 0000000000000000000000000000000000000000..caf9b0e0283c8cf4fb18fbde2667da13de7f5dff --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es-intl-api-1st-edition.js @@ -0,0 +1,19 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + extends: [ + require.resolve("./no-new-in-es2023-intl-api"), + require.resolve("./no-new-in-es2022-intl-api"), + require.resolve("./no-new-in-es2021-intl-api"), + require.resolve("./no-new-in-es2020-intl-api"), + require.resolve("./no-new-in-es2019-intl-api"), + require.resolve("./no-new-in-es2018-intl-api"), + require.resolve("./no-new-in-es2017-intl-api"), + require.resolve("./no-new-in-es2016-intl-api"), + require.resolve("./no-new-in-es2015-intl-api"), + ], +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2015-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2015-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..5c2eb4f9bd71ef1de72f1dee84a5941416d11cd7 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2015-intl-api.js @@ -0,0 +1,18 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + extends: [ + require.resolve("./no-new-in-es2023-intl-api"), + require.resolve("./no-new-in-es2022-intl-api"), + require.resolve("./no-new-in-es2021-intl-api"), + require.resolve("./no-new-in-es2020-intl-api"), + require.resolve("./no-new-in-es2019-intl-api"), + require.resolve("./no-new-in-es2018-intl-api"), + require.resolve("./no-new-in-es2017-intl-api"), + require.resolve("./no-new-in-es2016-intl-api"), + ], +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2015.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2015.js new file mode 100644 index 0000000000000000000000000000000000000000..2fa2fb4bf8b78ad67fbde82ae1bbf289fafc6761 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2015.js @@ -0,0 +1,18 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + extends: [ + require.resolve("./no-new-in-es2023"), + require.resolve("./no-new-in-es2022"), + require.resolve("./no-new-in-es2021"), + require.resolve("./no-new-in-es2020"), + require.resolve("./no-new-in-es2019"), + require.resolve("./no-new-in-es2018"), + require.resolve("./no-new-in-es2017"), + require.resolve("./no-new-in-es2016"), + ], +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2016-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2016-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..88e1289c6d87a87e2a5797047ceb07f1a8405d57 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2016-intl-api.js @@ -0,0 +1,17 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + extends: [ + require.resolve("./no-new-in-es2023-intl-api"), + require.resolve("./no-new-in-es2022-intl-api"), + require.resolve("./no-new-in-es2021-intl-api"), + require.resolve("./no-new-in-es2020-intl-api"), + require.resolve("./no-new-in-es2019-intl-api"), + require.resolve("./no-new-in-es2018-intl-api"), + require.resolve("./no-new-in-es2017-intl-api"), + ], +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2016.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2016.js new file mode 100644 index 0000000000000000000000000000000000000000..0998a7eb82270bf1f95367cc28356a22a5d50209 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2016.js @@ -0,0 +1,17 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + extends: [ + require.resolve("./no-new-in-es2023"), + require.resolve("./no-new-in-es2022"), + require.resolve("./no-new-in-es2021"), + require.resolve("./no-new-in-es2020"), + require.resolve("./no-new-in-es2019"), + require.resolve("./no-new-in-es2018"), + require.resolve("./no-new-in-es2017"), + ], +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2017-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2017-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..ab4dad491d8d94c7d09b89770ac7a1d615d4b64c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2017-intl-api.js @@ -0,0 +1,16 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + extends: [ + require.resolve("./no-new-in-es2023-intl-api"), + require.resolve("./no-new-in-es2022-intl-api"), + require.resolve("./no-new-in-es2021-intl-api"), + require.resolve("./no-new-in-es2020-intl-api"), + require.resolve("./no-new-in-es2019-intl-api"), + require.resolve("./no-new-in-es2018-intl-api"), + ], +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2017.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2017.js new file mode 100644 index 0000000000000000000000000000000000000000..4cca6c23daf0c3f59966e193d5eb18e37c3e5ae6 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2017.js @@ -0,0 +1,16 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + extends: [ + require.resolve("./no-new-in-es2023"), + require.resolve("./no-new-in-es2022"), + require.resolve("./no-new-in-es2021"), + require.resolve("./no-new-in-es2020"), + require.resolve("./no-new-in-es2019"), + require.resolve("./no-new-in-es2018"), + ], +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2018-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2018-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..b6c5dcc25f761cf8a51ddfa1912c13b105df5669 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2018-intl-api.js @@ -0,0 +1,15 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + extends: [ + require.resolve("./no-new-in-es2023-intl-api"), + require.resolve("./no-new-in-es2022-intl-api"), + require.resolve("./no-new-in-es2021-intl-api"), + require.resolve("./no-new-in-es2020-intl-api"), + require.resolve("./no-new-in-es2019-intl-api"), + ], +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2018.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2018.js new file mode 100644 index 0000000000000000000000000000000000000000..ace38dcfd24ec985aaaa40cafb805dadf992425e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2018.js @@ -0,0 +1,15 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + extends: [ + require.resolve("./no-new-in-es2023"), + require.resolve("./no-new-in-es2022"), + require.resolve("./no-new-in-es2021"), + require.resolve("./no-new-in-es2020"), + require.resolve("./no-new-in-es2019"), + ], +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2019-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2019-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..6b69ea5b8d330e4fa7464693e9d10a260f994310 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2019-intl-api.js @@ -0,0 +1,14 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + extends: [ + require.resolve("./no-new-in-es2023-intl-api"), + require.resolve("./no-new-in-es2022-intl-api"), + require.resolve("./no-new-in-es2021-intl-api"), + require.resolve("./no-new-in-es2020-intl-api"), + ], +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2019.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2019.js new file mode 100644 index 0000000000000000000000000000000000000000..ecdbb8a410a6a6a87bc792446fbc1165594d216c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2019.js @@ -0,0 +1,14 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + extends: [ + require.resolve("./no-new-in-es2023"), + require.resolve("./no-new-in-es2022"), + require.resolve("./no-new-in-es2021"), + require.resolve("./no-new-in-es2020"), + ], +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2020-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2020-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..8359495c3ff8ecf93a360f056c4b8cc6458885ba --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2020-intl-api.js @@ -0,0 +1,13 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + extends: [ + require.resolve("./no-new-in-es2023-intl-api"), + require.resolve("./no-new-in-es2022-intl-api"), + require.resolve("./no-new-in-es2021-intl-api"), + ], +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2020.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2020.js new file mode 100644 index 0000000000000000000000000000000000000000..f04222d376df87834a211743256da349182ee975 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2020.js @@ -0,0 +1,13 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + extends: [ + require.resolve("./no-new-in-es2023"), + require.resolve("./no-new-in-es2022"), + require.resolve("./no-new-in-es2021"), + ], +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2021-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2021-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..4d5ebb5b159da422ae779e642e9fc03429105551 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2021-intl-api.js @@ -0,0 +1,12 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + extends: [ + require.resolve("./no-new-in-es2023-intl-api"), + require.resolve("./no-new-in-es2022-intl-api"), + ], +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2021.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2021.js new file mode 100644 index 0000000000000000000000000000000000000000..01ce99aea3e4f8064b44c75269469ac79a2a092d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2021.js @@ -0,0 +1,12 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + extends: [ + require.resolve("./no-new-in-es2023"), + require.resolve("./no-new-in-es2022"), + ], +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2022-intl-api.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2022-intl-api.js new file mode 100644 index 0000000000000000000000000000000000000000..5f5e8cd403256b7e8b7a610f448f489fffc2678a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2022-intl-api.js @@ -0,0 +1,7 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { extends: [require.resolve("./no-new-in-es2023-intl-api")] } diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2022.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2022.js new file mode 100644 index 0000000000000000000000000000000000000000..6bb175f01e9096a020c5ea587a9ce6233e9b157a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es2022.js @@ -0,0 +1,7 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { extends: [require.resolve("./no-new-in-es2023")] } diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es3.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es3.js new file mode 100644 index 0000000000000000000000000000000000000000..83164d61968448d227f26b00e0e17ee1ae011e61 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es3.js @@ -0,0 +1,20 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + extends: [ + require.resolve("./no-new-in-es2023"), + require.resolve("./no-new-in-es2022"), + require.resolve("./no-new-in-es2021"), + require.resolve("./no-new-in-es2020"), + require.resolve("./no-new-in-es2019"), + require.resolve("./no-new-in-es2018"), + require.resolve("./no-new-in-es2017"), + require.resolve("./no-new-in-es2016"), + require.resolve("./no-new-in-es2015"), + require.resolve("./no-new-in-es5"), + ], +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es5.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es5.js new file mode 100644 index 0000000000000000000000000000000000000000..531135983487fb18463543f61d0b5b97ad170c68 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/configs/restrict-to-es5.js @@ -0,0 +1,19 @@ +/** + * DON'T EDIT THIS FILE. + * This file was generated by "scripts/update-lib-configs.js" script. + */ +"use strict" + +module.exports = { + extends: [ + require.resolve("./no-new-in-es2023"), + require.resolve("./no-new-in-es2022"), + require.resolve("./no-new-in-es2021"), + require.resolve("./no-new-in-es2020"), + require.resolve("./no-new-in-es2019"), + require.resolve("./no-new-in-es2018"), + require.resolve("./no-new-in-es2017"), + require.resolve("./no-new-in-es2016"), + require.resolve("./no-new-in-es2015"), + ], +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-reduce.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-reduce.js new file mode 100644 index 0000000000000000000000000000000000000000..597a714c27cdd3c5dd45bfaa7f4c643f51ecc38a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-reduce.js @@ -0,0 +1,39 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `Array.prototype.reduce` method.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-reduce.html", + }, + fixable: null, + messages: { + forbidden: "ES5 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + Array: ["reduce"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-reduceright.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-reduceright.js new file mode 100644 index 0000000000000000000000000000000000000000..7cb6cabbef0df0559db5ff5c8fe29a87d21cc34a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-reduceright.js @@ -0,0 +1,39 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `Array.prototype.reduceRight` method.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-reduceright.html", + }, + fixable: null, + messages: { + forbidden: "ES5 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + Array: ["reduceRight"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-some.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-some.js new file mode 100644 index 0000000000000000000000000000000000000000..f4c8fbf4504ba98c5e4dad169dacb52c5f02e7b1 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-some.js @@ -0,0 +1,39 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `Array.prototype.some` method.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-some.html", + }, + fixable: null, + messages: { + forbidden: "ES5 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + Array: ["some"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-toreversed.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-toreversed.js new file mode 100644 index 0000000000000000000000000000000000000000..74b02f2d5e112e539ec17167926beaf2a432a07e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-toreversed.js @@ -0,0 +1,46 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `Array.prototype.toReversed` method.", + category: "ES2023", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-toreversed.html", + }, + fixable: null, + messages: { + forbidden: "ES2023 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + Array: ["toReversed"], + Int8Array: ["toReversed"], + Uint8Array: ["toReversed"], + Uint8ClampedArray: ["toReversed"], + Int16Array: ["toReversed"], + Uint16Array: ["toReversed"], + Int32Array: ["toReversed"], + Uint32Array: ["toReversed"], + Float32Array: ["toReversed"], + Float64Array: ["toReversed"], + BigInt64Array: ["toReversed"], + BigUint64Array: ["toReversed"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-tosorted.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-tosorted.js new file mode 100644 index 0000000000000000000000000000000000000000..af65c180f09e0a7fc02d43c60c4b96c9f4936495 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-tosorted.js @@ -0,0 +1,46 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `Array.prototype.toSorted` method.", + category: "ES2023", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-tosorted.html", + }, + fixable: null, + messages: { + forbidden: "ES2023 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + Array: ["toSorted"], + Int8Array: ["toSorted"], + Uint8Array: ["toSorted"], + Uint8ClampedArray: ["toSorted"], + Int16Array: ["toSorted"], + Uint16Array: ["toSorted"], + Int32Array: ["toSorted"], + Uint32Array: ["toSorted"], + Float32Array: ["toSorted"], + Float64Array: ["toSorted"], + BigInt64Array: ["toSorted"], + BigUint64Array: ["toSorted"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-tospliced.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-tospliced.js new file mode 100644 index 0000000000000000000000000000000000000000..cee1721cfb35bb70082205c6f0b381814fee1bb1 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-tospliced.js @@ -0,0 +1,35 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `Array.prototype.toSpliced` method.", + category: "ES2023", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-tospliced.html", + }, + fixable: null, + messages: { + forbidden: "ES2023 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + Array: ["toSpliced"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-values.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-values.js new file mode 100644 index 0000000000000000000000000000000000000000..30d18cc2d369907cc9ad89f077e799a297e673fa --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-values.js @@ -0,0 +1,39 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `Array.prototype.values` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-values.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + Array: ["values"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-with.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-with.js new file mode 100644 index 0000000000000000000000000000000000000000..266c1ccaf84f7c33beb66d2cec79ccf641efad8f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-prototype-with.js @@ -0,0 +1,46 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `Array.prototype.with` method.", + category: "ES2023", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-with.html", + }, + fixable: null, + messages: { + forbidden: "ES2023 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + Array: ["with"], + Int8Array: ["with"], + Uint8Array: ["with"], + Uint8ClampedArray: ["with"], + Int16Array: ["with"], + Uint16Array: ["with"], + Int32Array: ["with"], + Uint32Array: ["with"], + Float32Array: ["with"], + Float64Array: ["with"], + BigInt64Array: ["with"], + BigUint64Array: ["with"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-string-prototype-at.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-string-prototype-at.js new file mode 100644 index 0000000000000000000000000000000000000000..1a9682845fef270edc13aac476f7ee6e626320ce --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-array-string-prototype-at.js @@ -0,0 +1,52 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: + "disallow the `{Array,String}.prototype.at()` methods.", + category: "ES2022", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-string-prototype-at.html", + }, + fixable: null, + messages: { + forbidden: "ES2022 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + Array: ["at"], + String: ["at"], + Int8Array: ["at"], + Uint8Array: ["at"], + Uint8ClampedArray: ["at"], + Int16Array: ["at"], + Uint16Array: ["at"], + Int32Array: ["at"], + Uint32Array: ["at"], + Float32Array: ["at"], + Float64Array: ["at"], + BigInt64Array: ["at"], + BigUint64Array: ["at"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-arraybuffer-prototype-transfer.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-arraybuffer-prototype-transfer.js new file mode 100644 index 0000000000000000000000000000000000000000..9d2041d92e9d855a8c7740db4096504b256051d5 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-arraybuffer-prototype-transfer.js @@ -0,0 +1,51 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: + "disallow the `ArrayBuffer.prototype.transfer` method.", + category: "ES2024", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-arraybuffer-prototype-transfer.html", + }, + fixable: null, + messages: { + forbidden: "ES2024 '{{name}}' method is forbidden.", + forbiddenForDetached: + "ES2024 'ArrayBuffer.prototype.detached' property is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler( + context, + { + ArrayBuffer: ["detached", "transfer", "transferToFixedLength"], + }, + { + createReport({ propertyName }) { + return { + messageId: + propertyName === "detached" + ? "forbiddenForDetached" + : "forbidden", + } + }, + }, + ) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-arrow-functions.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-arrow-functions.js new file mode 100644 index 0000000000000000000000000000000000000000..95939256c7b1ce7fa6b1cdcc4a2cfb9b2881d5f7 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-arrow-functions.js @@ -0,0 +1,132 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + isArrowToken, + isParenthesized, +} = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow arrow function expressions.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-arrow-functions.html", + }, + fixable: "code", + messages: { + forbidden: "ES2015 arrow function expressions are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + const sourceCode = getSourceCode(context) + + /** + * ArrowFunctionExpression to FunctionExpression + * @param {Node} node ArrowFunctionExpression Node + * @param {boolean} hasThis `true` if the function has `this`. + * @returns {string} function expression text + */ + function toFunctionExpression(node, hasThis) { + const params = node.params + const paramText = params.length + ? sourceCode.text.slice( + params[0].range[0], + params[params.length - 1].range[1], + ) + : "" + + const arrowToken = sourceCode.getTokenBefore( + node.body, + isArrowToken, + ) + const preText = sourceCode.text.slice( + arrowToken.range[1], + node.body.range[0], + ) + const bodyText = sourceCode.text + .slice(arrowToken.range[1], node.range[1]) + .trim() + + let resultText = + /*eslint-disable prettier/prettier */ + node.body.type === "BlockStatement" ? ( + `function(${paramText}) ${bodyText}` + ) : preText.includes("\n") ? ( + `function(${paramText}) { return (${bodyText}) }` + ) : ( + `function(${paramText}) { return ${bodyText} }` + ) + /*eslint-enable prettier/prettier */ + + if (node.async) { + resultText = `async ${resultText}` + } + if (hasThis) { + resultText += ".bind(this)" + } + if ( + node.parent.type === "ExpressionStatement" && + !isParenthesized(node, sourceCode) + ) { + resultText = `(${resultText})` + } + + return resultText + } + + /** + * Report that ArrowFunctionExpression is being used + * @param {Node} node ArrowFunctionExpression Node + * @param {boolean} hasThis Whether `this` is referenced in` function` scope + * @param {boolean} hasSuper Whether `super` is referenced in` function` scope + * @returns {void} + */ + function report(node, hasThis, hasSuper) { + context.report({ + node, + messageId: "forbidden", + fix(fixer) { + if (hasSuper) { + return undefined + } + return fixer.replaceText( + node, + toFunctionExpression(node, hasThis), + ) + }, + }) + } + + let stack = { upper: null, hasThis: false, hasSuper: false } + return { + ":function"() { + stack = { upper: stack, hasThis: false, hasSuper: false } + }, + ":function:exit"(node) { + const { hasThis, hasSuper } = stack + stack = stack.upper + + if (node.type === "ArrowFunctionExpression") { + report(node, hasThis, hasSuper) + + stack.hasThis = stack.hasThis || hasThis + stack.hasSuper = stack.hasSuper || hasSuper + } + }, + ThisExpression() { + stack.hasThis = true + }, + Super() { + stack.hasSuper = true + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-async-functions.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-async-functions.js new file mode 100644 index 0000000000000000000000000000000000000000..621f07815367137f1148327e8dbfaba4102ddc0b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-async-functions.js @@ -0,0 +1,29 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow async function declarations.", + category: "ES2017", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-async-functions.html", + }, + fixable: null, + messages: { + forbidden: "ES2017 async function declarations are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + ":function[async=true]"(node) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-async-iteration.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-async-iteration.js new file mode 100644 index 0000000000000000000000000000000000000000..2f137a84bd2ca343ac205a185a92bcbc22c4f83b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-async-iteration.js @@ -0,0 +1,32 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow async iteration.", + category: "ES2018", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-async-iteration.html", + }, + fixable: null, + messages: { + forbidden: "ES2018 async iteration is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + ":function[async=true][generator=true]"(node) { + context.report({ node, messageId: "forbidden" }) + }, + "ForOfStatement[await=true]"(node) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-atomics-waitasync.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-atomics-waitasync.js new file mode 100644 index 0000000000000000000000000000000000000000..7fd298417d6314bda6c4afd8e3871e94ce6ad6f7 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-atomics-waitasync.js @@ -0,0 +1,42 @@ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Atomics.waitAsync` method.", + category: "ES2024", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-atomics-waitasync.html", + }, + fixable: null, + messages: { + forbidden: "ES2024 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Atomics: { + waitAsync: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-atomics.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-atomics.js new file mode 100644 index 0000000000000000000000000000000000000000..9b4ed01207225959c914bdd2fd3faa2540cd4c97 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-atomics.js @@ -0,0 +1,44 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Atomics` class.", + category: "ES2017", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-atomics.html", + }, + fixable: null, + messages: { + forbidden: "ES2017 '{{name}}' class is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Atomics: { [READ]: true }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-bigint.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-bigint.js new file mode 100644 index 0000000000000000000000000000000000000000..d2e2b652e66f379d2189fc240beb22c31c9e38ec --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-bigint.js @@ -0,0 +1,50 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow `bigint` syntax and built-ins", + category: "ES2020", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-bigint.html", + }, + fixable: null, + messages: { + forbidden: "ES2020 BigInt is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + Literal(node) { + if (node.bigint != null) { + context.report({ messageId: "forbidden", node }) + } + }, + + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + const references = tracker.iterateGlobalReferences({ + BigInt: { [ReferenceTracker.READ]: true }, + BigInt64Array: { [ReferenceTracker.READ]: true }, + BigUint64Array: { [ReferenceTracker.READ]: true }, + }) + + for (const { node } of references) { + context.report({ messageId: "forbidden", node }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-binary-numeric-literals.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-binary-numeric-literals.js new file mode 100644 index 0000000000000000000000000000000000000000..389b8b8645ddf52d7ab69cbcbe66ba27274ecd69 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-binary-numeric-literals.js @@ -0,0 +1,33 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const Pattern = /^0[bB]/u + +module.exports = { + meta: { + docs: { + description: "disallow binary numeric literals.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-binary-numeric-literals.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 binary numeric literals are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + Literal(node) { + if (typeof node.value === "number" && Pattern.test(node.raw)) { + context.report({ node, messageId: "forbidden" }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-block-scoped-functions.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-block-scoped-functions.js new file mode 100644 index 0000000000000000000000000000000000000000..9660836d2d961b959346be16480e97d47e5b12f6 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-block-scoped-functions.js @@ -0,0 +1,29 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow block-scoped function declarations.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-block-scoped-functions.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 block-scoped functions are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + ":not(:function) > BlockStatement > FunctionDeclaration"(node) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-block-scoped-variables.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-block-scoped-variables.js new file mode 100644 index 0000000000000000000000000000000000000000..f081e33351be6b64e024c013bb2aa32b1df98e35 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-block-scoped-variables.js @@ -0,0 +1,31 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow block-scoped variable declarations.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-block-scoped-variables.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 block-scoped variables are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "VariableDeclaration[kind='const'], VariableDeclaration[kind='let']"( + node, + ) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-class-fields.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-class-fields.js new file mode 100644 index 0000000000000000000000000000000000000000..e0f30ca578c9f2c4c24c1a967601962695483340 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-class-fields.js @@ -0,0 +1,113 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + getFunctionNameWithKind, + getPropertyName, +} = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +/** + * Get the name and kind of the given PropertyDefinition node. + * @param {PropertyDefinition} node - The PropertyDefinition node to get. + * @param {SourceCode} sourceCode The source code object to get the code of computed property keys. + * @returns {string} The name and kind of the PropertyDefinition node. + */ +function getFieldNameWithKind(node, sourceCode) { + const tokens = [] + + if (node.static) { + tokens.push("static") + } + if (node.key.type === "PrivateIdentifier") { + tokens.push("private") + } + + tokens.push("field") + + if (node.key.type === "PrivateIdentifier") { + tokens.push(`#${node.key.name}`) + } else { + const name = getPropertyName(node) + if (name) { + tokens.push(`'${name}'`) + } else if (sourceCode) { + const keyText = sourceCode.getText(node.key) + if (!keyText.includes("\n")) { + tokens.push(`[${keyText}]`) + } + } + } + + return tokens.join(" ") +} + +module.exports = { + meta: { + docs: { + description: "disallow class fields.", + category: "ES2022", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-class-fields.html", + }, + fixable: null, + messages: { + forbidden: "ES2022 {{nameWithKind}} is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + PropertyDefinition(node) { + if (node.declare || node.parent.parent.declare) { + return + } + context.report({ + node: node.key, + messageId: "forbidden", + data: { + nameWithKind: getFieldNameWithKind( + node, + getSourceCode(context), + ), + }, + }) + }, + "MethodDefinition:exit"(node) { + if (node.key.type !== "PrivateIdentifier") { + return + } + context.report({ + node: node.key, + messageId: "forbidden", + data: { + nameWithKind: getFunctionNameWithKind( + node.value, + getSourceCode(context), + ), + }, + }) + }, + ":not(PropertyDefinition, MethodDefinition) > PrivateIdentifier"( + node, + ) { + const parent = node.parent + context.report({ + node, + messageId: "forbidden", + data: { + nameWithKind: + parent.parent.type === "CallExpression" && + parent.parent.callee === parent + ? `private method call #${node.name}()` + : `private access #${node.name}`, + }, + }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-class-static-block.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-class-static-block.js new file mode 100644 index 0000000000000000000000000000000000000000..788e6b650134276e51a1e3498b9e1be37baf10f1 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-class-static-block.js @@ -0,0 +1,29 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow class static block.", + category: "ES2022", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-class-static-block.html", + }, + fixable: null, + messages: { + forbidden: "ES2022 class static block is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + StaticBlock(node) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-classes.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-classes.js new file mode 100644 index 0000000000000000000000000000000000000000..863264e2d1817857732e2c753d724d275c94055f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-classes.js @@ -0,0 +1,29 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow class declarations.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-classes.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 class declarations are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "ClassDeclaration, ClassExpression"(node) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-computed-properties.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-computed-properties.js new file mode 100644 index 0000000000000000000000000000000000000000..72f27f7aa220b113a13b60b93287911fdbaaa7a6 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-computed-properties.js @@ -0,0 +1,29 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow computed properties.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-computed-properties.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 computed properties are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + ":matches(Property, MethodDefinition)[computed=true]"(node) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-date-now.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-date-now.js new file mode 100644 index 0000000000000000000000000000000000000000..7c402b0cfa1f276d9321a54cfe8d40f29d0aaf11 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-date-now.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Date.now` method.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-date-now.html", + }, + fixable: null, + messages: { + forbidden: "ES5 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Date: { + now: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-date-prototype-getyear-setyear.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-date-prototype-getyear-setyear.js new file mode 100644 index 0000000000000000000000000000000000000000..456f3946fada3caef968d6cc6a14e72dccef81dd --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-date-prototype-getyear-setyear.js @@ -0,0 +1,36 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: + "disallow the `Date.prototype.{getYear,setYear}` methods.", + category: "legacy", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-date-prototype-getyear-setyear.html", + }, + fixable: null, + messages: { + forbidden: "Annex B feature '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + Date: ["getYear", "setYear"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-date-prototype-togmtstring.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-date-prototype-togmtstring.js new file mode 100644 index 0000000000000000000000000000000000000000..e06b5a3d2c809ecf9a250e237fc7402633c843db --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-date-prototype-togmtstring.js @@ -0,0 +1,63 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `Date.prototype.toGMTString` method.", + category: "legacy", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-date-prototype-togmtstring.html", + }, + fixable: "code", + messages: { + forbidden: "Annex B feature '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + hasSuggestions: true, + }, + create(context) { + return definePrototypeMethodHandler( + context, + { + Date: ["toGMTString"], + }, + { + createReport({ objectTypeResult, node }) { + if (node.computed) { + return null + } + if (objectTypeResult !== true) { + return { + suggest: [ + { + desc: "Replace with 'toUTCString'", + fix, + }, + ], + } + } + return { + fix, + } + + function fix(fixer) { + return fixer.replaceText(node.property, "toUTCString") + } + }, + }, + ) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-default-parameters.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-default-parameters.js new file mode 100644 index 0000000000000000000000000000000000000000..8824d6a9f9398e69985461cbf30d96796c0c0d80 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-default-parameters.js @@ -0,0 +1,29 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow default parameters.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-default-parameters.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 default parameters are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + ":function > AssignmentPattern"(node) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-destructuring.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-destructuring.js new file mode 100644 index 0000000000000000000000000000000000000000..08ef627e01cdf93803d21e0915658155b9862581 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-destructuring.js @@ -0,0 +1,31 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow destructuring.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-destructuring.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 destructuring is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + ":matches(:function, AssignmentExpression, VariableDeclarator, :function > :matches(AssignmentPattern, RestElement), ForInStatement, ForOfStatement) > :matches(ArrayPattern, ObjectPattern)"( + node, + ) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-dynamic-import.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-dynamic-import.js new file mode 100644 index 0000000000000000000000000000000000000000..44f73e028ea22b7b3dcf8ed4d3304a95a68f69db --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-dynamic-import.js @@ -0,0 +1,29 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow `import()` syntax", + category: "ES2020", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-dynamic-import.html", + }, + fixable: null, + messages: { + forbidden: "ES2020 'import()' syntax is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + ImportExpression(node) { + context.report({ messageId: "forbidden", node }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-error-cause.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-error-cause.js new file mode 100644 index 0000000000000000000000000000000000000000..a295c181ab0c386d5838e699cf2adb5f934f5a59 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-error-cause.js @@ -0,0 +1,193 @@ +/** + * @author Sosuke Suzuki + * See LICENSE file in root directory for full license. + */ + +"use strict" + +const { + CONSTRUCT, + READ, + ReferenceTracker, + getPropertyName, +} = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +/** + * @typedef {import("estree").Node} Node + * @typedef {import("estree").ClassExpression | import("estree").ClassDeclaration} ClassNode + * @typedef {import("estree").CallExpression} CallExpression + */ + +const errorConstructorNames = [ + "Error", + "EvalError", + "RangeError", + "ReferenceError", + "SyntaxError", + "TypeError", + "URIError", + "AggregateError", +] +const errorsTraceMap = {} +for (const errorConstructorName of errorConstructorNames) { + errorsTraceMap[errorConstructorName] = { [CONSTRUCT]: true, [READ]: true } +} + +/** + * @param {Node} node + * @returns {boolean} + */ +function isSuperCall(node) { + return node.type === "CallExpression" && node.callee.type === "Super" +} + +/** + * @param {Node|undefined} node + * @returns {boolean} + */ +function isSpreadElement(node) { + return node && node.type === "SpreadElement" +} + +/** + * @param {Node} node + * @returns {ClassNode | null} + */ +function findClassFromAncestors(node) { + if (node.type !== "ClassExpression" && node.type !== "ClassDeclaration") { + return findClassFromAncestors(node.parent) + } + if (!node) { + return null + } + return node +} + +module.exports = { + meta: { + docs: { + description: "disallow Error Cause.", + category: "ES2022", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-error-cause.html", + }, + fixable: null, + messages: { + forbidden: "ES2022 Error Cause is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + const sourceCode = getSourceCode(context) + /** @type {Array<{ classNode: ClassNode, superCallNode: CallExpression }>} */ + const maybeErrorSubclasses = [] + + /** @type {Array<{ classNode: ClassNode, superCallNode: CallExpression }>} */ + const maybeAggregateErrorSubclasses = [] + + /** + * Checks if the received node is a constructor call with cause option. + * e.g. `new Error("message", { cause: foo })`, `super("message", { cause: foo })` + * + * @param {Node} node + * @param {boolean} isAggregateError + * @returns {boolean} + */ + function isConstructCallWithCauseOption(node, isAggregateError) { + if (node.type !== "NewExpression" && !isSuperCall(node)) { + return false + } + const optionsArgIndex = isAggregateError ? 2 : 1 + for (let index = 0; index < optionsArgIndex; index++) { + if (isSpreadElement(node.arguments[index])) { + return false + } + } + const optionsArg = node.arguments[optionsArgIndex] + if (!optionsArg || optionsArg.type !== "ObjectExpression") { + return false + } + return optionsArg.properties.some((property) => { + if (property.type !== "Property") { + return false + } + // new Error("msg", { cause: foo }) + return ( + getPropertyName(property, sourceCode.getScope(node)) === + "cause" + ) + }) + } + + /** + * @param {Node} node + * @param {isAggregateError} boolean + * @return {Node | null} + */ + function getReportedNode(node, isAggregateError) { + const errorSubclasses = isAggregateError + ? maybeAggregateErrorSubclasses + : maybeErrorSubclasses + + if (errorSubclasses.length > 0) { + for (const { classNode, superCallNode } of errorSubclasses) { + if (classNode.superClass === node) { + return superCallNode + } + } + } + if (isConstructCallWithCauseOption(node, isAggregateError)) { + return node + } + return null + } + + return { + Super(node) { + const superCallNode = node.parent + + function findErrorSubclasses(isAggregateError) { + const errorSubclasses = isAggregateError + ? maybeAggregateErrorSubclasses + : maybeErrorSubclasses + + if ( + isConstructCallWithCauseOption( + superCallNode, + isAggregateError, + ) + ) { + const classNode = findClassFromAncestors(superCallNode) + if (classNode && classNode.superClass) { + errorSubclasses.push({ classNode, superCallNode }) + } + } + } + + findErrorSubclasses(/* isAggregateError */ false) + findErrorSubclasses(/* isAggregateError */ true) + }, + "Program:exit"(program) { + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences( + errorsTraceMap, + )) { + const reportedNode = getReportedNode( + node, + path.join(",") === "AggregateError", + ) + if (reportedNode) { + context.report({ + node: reportedNode, + messageId: "forbidden", + }) + } + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-escape-unescape.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-escape-unescape.js new file mode 100644 index 0000000000000000000000000000000000000000..3e1e05947d5d4921794bb15c90696f9a4fbc4142 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-escape-unescape.js @@ -0,0 +1,41 @@ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow `escape` and `unescape`", + category: "legacy", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-escape-unescape.html", + }, + fixable: null, + messages: { + forbidden: "Annex B feature '{{name}}' is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + escape: { [READ]: true }, + unescape: { [READ]: true }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-exponential-operators.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-exponential-operators.js new file mode 100644 index 0000000000000000000000000000000000000000..e7913e04d403b0a231b7ef9a1159b0f8dd3f2b40 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-exponential-operators.js @@ -0,0 +1,31 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow exponential operators.", + category: "ES2016", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-exponential-operators.html", + }, + fixable: null, + messages: { + forbidden: "ES2016 exponential operators are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "AssignmentExpression[operator='**='], BinaryExpression[operator='**']"( + node, + ) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-export-ns-from.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-export-ns-from.js new file mode 100644 index 0000000000000000000000000000000000000000..d991208111eafb5cf4b1c47bad6246d406f2a7de --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-export-ns-from.js @@ -0,0 +1,29 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow `export * as ns`.", + category: "ES2020", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-export-ns-from.html", + }, + fixable: null, + messages: { + forbidden: "ES2020 'export * as ns' are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "ExportAllDeclaration[exported!=null]"(node) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-for-of-loops.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-for-of-loops.js new file mode 100644 index 0000000000000000000000000000000000000000..fdb16d464a543dfe128861e3af3e36464ce11788 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-for-of-loops.js @@ -0,0 +1,29 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow `for-of` statements.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-for-of-loops.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 'for-of' statements are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + ForOfStatement(node) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-function-declarations-in-if-statement-clauses-without-block.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-function-declarations-in-if-statement-clauses-without-block.js new file mode 100644 index 0000000000000000000000000000000000000000..4d0668caa8b1bb41253134c6b7f4ab6bed47f7cb --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-function-declarations-in-if-statement-clauses-without-block.js @@ -0,0 +1,38 @@ +"use strict" + +module.exports = { + meta: { + docs: { + description: + "disallow function declarations in if statement clauses without using blocks.", + category: "legacy", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-function-declarations-in-if-statement-clauses-without-block.html", + }, + fixable: "code", + messages: { + forbidden: + "Annex B feature the function declarations in if statement clauses without using blocks are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "IfStatement > FunctionDeclaration.consequent, IfStatement > FunctionDeclaration.alternate"( + node, + ) { + context.report({ + node, + messageId: "forbidden", + fix(fixer) { + return [ + fixer.insertTextBefore(node, "{"), + fixer.insertTextAfter(node, "}"), + ] + }, + }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-function-prototype-bind.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-function-prototype-bind.js new file mode 100644 index 0000000000000000000000000000000000000000..0c1a00a4d33a50f323f738aa095265d9525feb54 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-function-prototype-bind.js @@ -0,0 +1,39 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `Function.prototype.bind` method.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-function-prototype-bind.html", + }, + fixable: null, + messages: { + forbidden: "ES5 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + Function: ["bind"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-generators.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-generators.js new file mode 100644 index 0000000000000000000000000000000000000000..c59dfdbebb6c12898a42f4c8cb1955298d321c92 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-generators.js @@ -0,0 +1,29 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow generator function declarations.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-generators.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 generator function declarations are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + ":function[generator=true]"(node) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-global-this.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-global-this.js new file mode 100644 index 0000000000000000000000000000000000000000..c0277445b78209d916d48bfc0ab251bcfb5a6b8b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-global-this.js @@ -0,0 +1,44 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `globalThis` variable", + category: "ES2020", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-global-this.html", + }, + fixable: null, + messages: { + forbidden: "ES2020 '{{name}}' variable is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + globalThis: { [READ]: true }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-hashbang.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-hashbang.js new file mode 100644 index 0000000000000000000000000000000000000000..7c24cc3c3f097ce709ad64a06562f856d157fa1c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-hashbang.js @@ -0,0 +1,33 @@ +"use strict" + +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow Hashbang comments.", + category: "ES2023", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-hashbang.html", + }, + fixable: null, + messages: { + forbidden: "ES2023 Hashbang comments are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + Program() { + const firstComment = getSourceCode(context).ast.comments[0] + if (firstComment && firstComment.type === "Shebang") { + context.report({ + node: firstComment, + messageId: "forbidden", + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-import-meta.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-import-meta.js new file mode 100644 index 0000000000000000000000000000000000000000..f40b74e03b2738b87e6a573e669df3fe356e4c87 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-import-meta.js @@ -0,0 +1,29 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow `import.meta` meta property.", + category: "ES2020", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-import-meta.html", + }, + fixable: null, + messages: { + forbidden: "ES2020 'import.meta' meta property is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "MetaProperty[meta.name='import'][property.name='meta']"(node) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-initializers-in-for-in.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-initializers-in-for-in.js new file mode 100644 index 0000000000000000000000000000000000000000..ea291e11762dab269cf9c8b97f91b59850b51763 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-initializers-in-for-in.js @@ -0,0 +1,28 @@ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow initializers in for-in heads.", + category: "legacy", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-initializers-in-for-in.html", + }, + fixable: null, + messages: { + forbidden: + "Annex B feature the initializers in for-in heads are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "ForInStatement > VariableDeclaration.left > VariableDeclarator.declarations > *.init"( + node, + ) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-datetimeformat-prototype-formatrange.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-datetimeformat-prototype-formatrange.js new file mode 100644 index 0000000000000000000000000000000000000000..e29035f731d299e799ad6f393afa9d5555867d8e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-datetimeformat-prototype-formatrange.js @@ -0,0 +1,36 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: + "disallow the `Intl.DateTimeFormat.prototype.formatRange` method.", + category: "ES2021-Intl-API", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-datetimeformat-prototype-formatrange.html", + }, + fixable: null, + messages: { + forbidden: "ES2021 Intl API '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + "Intl.DateTimeFormat": ["formatRange"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-datetimeformat-prototype-formattoparts.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-datetimeformat-prototype-formattoparts.js new file mode 100644 index 0000000000000000000000000000000000000000..d50835deec37b39fc7c9d6092261da5c424858f2 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-datetimeformat-prototype-formattoparts.js @@ -0,0 +1,36 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: + "disallow the `DateTimeFormat.prototype.formatToParts` method.", + category: "ES2017-Intl-API", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-datetimeformat-prototype-formattoparts.html", + }, + fixable: null, + messages: { + forbidden: "ES2017 Intl API '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + "Intl.DateTimeFormat": ["formatToParts"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-displaynames.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-displaynames.js new file mode 100644 index 0000000000000000000000000000000000000000..d83f3ad49f3c29988cc976fc2f9d20cc9f70ce78 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-displaynames.js @@ -0,0 +1,42 @@ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Intl.DisplayNames` object.", + category: "ES2021-Intl-API", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-displaynames.html", + }, + fixable: null, + messages: { + forbidden: "ES2021 Intl API '{{name}}' object is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Intl: { + DisplayNames: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-getcanonicallocales.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-getcanonicallocales.js new file mode 100644 index 0000000000000000000000000000000000000000..5694c1d1788bc6a98767a2b6f51bb2373bfba8a0 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-getcanonicallocales.js @@ -0,0 +1,42 @@ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Intl.getCanonicalLocales` method.", + category: "ES2016-Intl-API", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-getcanonicallocales.html", + }, + fixable: null, + messages: { + forbidden: "ES2016 Intl API '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Intl: { + getCanonicalLocales: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-listformat.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-listformat.js new file mode 100644 index 0000000000000000000000000000000000000000..d0c86245d0deaab49efe7fd0fe5870ec3ce511e5 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-listformat.js @@ -0,0 +1,42 @@ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Intl.ListFormat` object.", + category: "ES2021-Intl-API", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-listformat.html", + }, + fixable: null, + messages: { + forbidden: "ES2021 Intl API '{{name}}' object is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Intl: { + ListFormat: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-locale.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-locale.js new file mode 100644 index 0000000000000000000000000000000000000000..a6c305fb33e969a4c95f47419386a0cf9129cb12 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-locale.js @@ -0,0 +1,42 @@ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Intl.Locale` object.", + category: "ES2020-Intl-API", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-locale.html", + }, + fixable: null, + messages: { + forbidden: "ES2020 Intl API '{{name}}' object is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Intl: { + Locale: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-numberformat-prototype-formatrange.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-numberformat-prototype-formatrange.js new file mode 100644 index 0000000000000000000000000000000000000000..888a40066a0c23dc0c5e0e51cb384dbf06c2d23c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-numberformat-prototype-formatrange.js @@ -0,0 +1,36 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: + "disallow the `NumberFormat.prototype.formatRange` method.", + category: "ES2023-Intl-API", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-numberformat-prototype-formatrange.html", + }, + fixable: null, + messages: { + forbidden: "ES2023 Intl API '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + "Intl.NumberFormat": ["formatRange"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-numberformat-prototype-formatrangetoparts.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-numberformat-prototype-formatrangetoparts.js new file mode 100644 index 0000000000000000000000000000000000000000..ac489b2a27207ac4fed23f44f57a659deb32ac08 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-numberformat-prototype-formatrangetoparts.js @@ -0,0 +1,36 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: + "disallow the `NumberFormat.prototype.formatRangeToParts` method.", + category: "ES2023-Intl-API", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-numberformat-prototype-formatrangetoparts.html", + }, + fixable: null, + messages: { + forbidden: "ES2023 Intl API '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + "Intl.NumberFormat": ["formatRangeToParts"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-numberformat-prototype-formattoparts.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-numberformat-prototype-formattoparts.js new file mode 100644 index 0000000000000000000000000000000000000000..e08e0c7ca14901f2da1f26c8a3f43e70f5cdae22 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-numberformat-prototype-formattoparts.js @@ -0,0 +1,36 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: + "disallow the `NumberFormat.prototype.formatToParts` method.", + category: "ES2018-Intl-API", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-numberformat-prototype-formattoparts.html", + }, + fixable: null, + messages: { + forbidden: "ES2018 Intl API '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + "Intl.NumberFormat": ["formatToParts"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-pluralrules-prototype-selectrange.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-pluralrules-prototype-selectrange.js new file mode 100644 index 0000000000000000000000000000000000000000..8e15b7d55bbe7fd1ad6fef2b180ae4fea9020100 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-pluralrules-prototype-selectrange.js @@ -0,0 +1,36 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: + "disallow the `PluralRules.prototype.selectRange` method.", + category: "ES2023-Intl-API", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-pluralrules-prototype-selectrange.html", + }, + fixable: null, + messages: { + forbidden: "ES2023 Intl API '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + "Intl.PluralRules": ["selectRange"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-pluralrules.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-pluralrules.js new file mode 100644 index 0000000000000000000000000000000000000000..f011d8eb602c7918026c3840888658b04b3e9b3a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-pluralrules.js @@ -0,0 +1,42 @@ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Intl.PluralRules` object.", + category: "ES2018-Intl-API", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-pluralrules.html", + }, + fixable: null, + messages: { + forbidden: "ES2018 Intl API '{{name}}' object is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Intl: { + PluralRules: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-relativetimeformat.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-relativetimeformat.js new file mode 100644 index 0000000000000000000000000000000000000000..96f637edebf09b1f78808257c90a0b1bf470ede9 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-relativetimeformat.js @@ -0,0 +1,42 @@ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Intl.RelativeTimeFormat` object.", + category: "ES2020-Intl-API", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-relativetimeformat.html", + }, + fixable: null, + messages: { + forbidden: "ES2020 Intl API '{{name}}' object is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Intl: { + RelativeTimeFormat: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-segmenter.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-segmenter.js new file mode 100644 index 0000000000000000000000000000000000000000..09b065b44fbd40861ac215c7fb977238e471f197 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-segmenter.js @@ -0,0 +1,42 @@ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Intl.Segmenter` object.", + category: "ES2022-Intl-API", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-segmenter.html", + }, + fixable: null, + messages: { + forbidden: "ES2022 Intl API '{{name}}' object is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Intl: { + Segmenter: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-supportedvaluesof.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-supportedvaluesof.js new file mode 100644 index 0000000000000000000000000000000000000000..569168691ad1877caef5f7ccaf6f602c242d9aa3 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-intl-supportedvaluesof.js @@ -0,0 +1,42 @@ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Intl.supportedValuesOf` method.", + category: "ES2022-Intl-API", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-supportedvaluesof.html", + }, + fixable: null, + messages: { + forbidden: "ES2022 Intl API '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Intl: { + supportedValuesOf: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-json-superset.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-json-superset.js new file mode 100644 index 0000000000000000000000000000000000000000..33d43366a2e30037ab256fe0882bf411c8ac61c7 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-json-superset.js @@ -0,0 +1,55 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { getSourceCode } = require("eslint-compat-utils") +const { definePatternSearchGenerator } = require("../utils") +const iterateTargetChars = definePatternSearchGenerator(/[\u2028\u2029]/gu) + +module.exports = { + meta: { + docs: { + description: "disallow `\\u2028` and `\\u2029` in string literals.", + category: "ES2019", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-json-superset.html", + }, + fixable: "code", + messages: { + forbidden: "ES2019 '\\u{{code}}' in string literals is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + const sourceCode = getSourceCode(context) + return { + Literal(node) { + if (typeof node.value !== "string") { + return + } + + const offset = node.range[0] + for (const { index } of iterateTargetChars(node.raw)) { + const code = node.raw.codePointAt(index).toString(16) + const loc = sourceCode.getLocFromIndex(offset + index) + + context.report({ + node, + loc, + messageId: "forbidden", + data: { code }, + fix(fixer) { + return fixer.replaceTextRange( + [offset + index, offset + index + 1], + `\\u${code}`, + ) + }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-json.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-json.js new file mode 100644 index 0000000000000000000000000000000000000000..837bb39e4a5a1adc9697bb25e8dc447d393ae8fe --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-json.js @@ -0,0 +1,44 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `JSON` class.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-json.html", + }, + fixable: null, + messages: { + forbidden: "ES5 '{{name}}' class is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + JSON: { [READ]: true }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-keyword-properties.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-keyword-properties.js new file mode 100644 index 0000000000000000000000000000000000000000..c9629ca64aeca2855d8bf3865045a5f172c6f2b8 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-keyword-properties.js @@ -0,0 +1,107 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +// https://www-archive.mozilla.org/js/language/E262-3.pdf +const keywords = new Set([ + "abstract", + "boolean", + "break", + "byte", + "case", + "catch", + "char", + "class", + "const", + "continue", + "debugger", + "default", + "delete", + "do", + "double", + "else", + "enum", + "export", + "extends", + "false", + "final", + "finally", + "float", + "for", + "function", + "goto", + "if", + "implements", + "import", + "in", + "instanceof", + "int", + "interface", + "long", + "native", + "new", + "null", + "package", + "private", + "protected", + "public", + "return", + "short", + "static", + "super", + "switch", + "synchronized", + "this", + "throw", + "throws", + "transient", + "true", + "try", + "typeof", + "var", + "void", + "volatile", + "while", + "with", +]) + +module.exports = { + meta: { + docs: { + description: "disallow reserved words as property names.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-keyword-properties.html", + }, + fixable: null, + messages: { + forbidden: "ES5 reserved words as property names are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + Property(node) { + if ( + !node.computed && + node.key.type === "Identifier" && + keywords.has(node.key.name) + ) { + context.report({ node, messageId: "forbidden" }) + } + }, + MemberExpression(node) { + if ( + !node.computed && + node.property.type === "Identifier" && + keywords.has(node.property.name) + ) { + context.report({ node, messageId: "forbidden" }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-labelled-function-declarations.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-labelled-function-declarations.js new file mode 100644 index 0000000000000000000000000000000000000000..e4e17bd3661f5748196249dca5e2a05c5c06e1eb --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-labelled-function-declarations.js @@ -0,0 +1,26 @@ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow labelled function declarations.", + category: "legacy", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-labelled-function-declarations.html", + }, + fixable: null, + messages: { + forbidden: + "Annex B feature the labelled function declarations are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "LabeledStatement > FunctionDeclaration.body"(node) { + context.report({ node: node.parent, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-legacy-object-prototype-accessor-methods.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-legacy-object-prototype-accessor-methods.js new file mode 100644 index 0000000000000000000000000000000000000000..97eef3a61b267218ad2dc8333ec110fcaa9fd43f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-legacy-object-prototype-accessor-methods.js @@ -0,0 +1,99 @@ +"use strict" + +const { + getPropertyName, + findVariable, +} = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +const LEGACY_ACCESSOR_METHODS = new Set([ + "__defineGetter__", + "__defineSetter__", + "__lookupGetter__", + "__lookupSetter__", +]) + +module.exports = { + meta: { + docs: { + description: "disallow legacy `Object.prototype` accessor methods.", + category: "legacy", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-legacy-object-prototype-accessor-methods.html", + }, + fixable: null, + messages: { + forbidden: "LEGACY '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + const reported = new Set() + + function report(name, node) { + if (reported.has(node)) { + return + } + reported.add(node) + context.report({ + node, + messageId: "forbidden", + data: { + name, + }, + }) + } + + return { + MemberExpression(node) { + const name = getPropertyName(node) + if (!LEGACY_ACCESSOR_METHODS.has(name)) { + return + } + report(name, node.property) + }, + Identifier(node) { + const name = node.name + if (!LEGACY_ACCESSOR_METHODS.has(name)) { + return + } + if ( + node.parent.type === "MemberExpression" && + node.parent.property === node + ) { + // Already reported. + return + } + if ( + node.parent.type === "Property" && + !node.parent.shorthand && + node.parent.key === node + ) { + return + } + const sourceCode = getSourceCode(context) + const scopeManager = sourceCode.scopeManager + if ( + // Not defined as global variables. + !scopeManager.globalScope.through.some( + ({ identifier }) => identifier === node, + ) + ) { + const variable = findVariable( + sourceCode.getScope(node), + node, + ) + if (!variable) { + return + } + // It is defined as global variables. + if (variable.defs.length) { + return + } + } + report(name, node) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-logical-assignment-operators.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-logical-assignment-operators.js new file mode 100644 index 0000000000000000000000000000000000000000..19be58942a3b9f80b281146f437735b00ca28f86 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-logical-assignment-operators.js @@ -0,0 +1,60 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +const utils = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow logical assignment operators.", + category: "ES2021", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-logical-assignment-operators.html", + }, + fixable: "code", + messages: { + forbidden: "ES2021 logical assignment operators are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + const sourceCode = getSourceCode(context) + return { + "AssignmentExpression[operator=/(?:\\|\\||&&|\\?\\?)=/]"(node) { + const operatorToken = sourceCode.getTokenAfter(node.left) + context.report({ + node: operatorToken, + messageId: "forbidden", + fix(fixer) { + if (node.left.type !== "Identifier") { + return null + } + const newOperator = node.operator.slice(-1) + const biOperator = node.operator.slice(0, -1) + const varText = sourceCode.getText(node.left) + + const results = [ + fixer.replaceText(operatorToken, newOperator), + fixer.insertTextAfter( + operatorToken, + ` ${varText} ${biOperator}`, + ), + ] + if (!utils.isParenthesized(node.right, sourceCode)) { + results.push( + fixer.insertTextBefore(node.right, "("), + fixer.insertTextAfter(node.right, ")"), + ) + } + return results + }, + }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-malformed-template-literals.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-malformed-template-literals.js new file mode 100644 index 0000000000000000000000000000000000000000..3e350b5ce843a61466d91f97cb86c3062ece4ffd --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-malformed-template-literals.js @@ -0,0 +1,36 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: + "disallow template literals with invalid escape sequences.", + category: "ES2018", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-malformed-template-literals.html", + }, + fixable: null, + messages: { + forbidden: + "ES2018 template literals with invalid escape sequences are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + const reported = new Set() + return { + "TemplateElement[value.cooked=null]"(elementNode) { + const node = elementNode.parent + if (!reported.has(node)) { + reported.add(node) + context.report({ node, messageId: "forbidden" }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-map.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-map.js new file mode 100644 index 0000000000000000000000000000000000000000..ef40f09b1d6907245fa7f49e6932541880ddeefc --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-map.js @@ -0,0 +1,44 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Map` class.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-map.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' class is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Map: { [READ]: true }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-acosh.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-acosh.js new file mode 100644 index 0000000000000000000000000000000000000000..c2d76f1c7a662d6018400a685594edde0c7c3d9b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-acosh.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Math.acosh` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-acosh.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Math: { + acosh: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-asinh.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-asinh.js new file mode 100644 index 0000000000000000000000000000000000000000..b8ee6380df0bfc689b38a9762ec4f1c5c95042e7 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-asinh.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Math.asinh` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-asinh.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Math: { + asinh: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-atanh.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-atanh.js new file mode 100644 index 0000000000000000000000000000000000000000..7da33c9932f38c7e2598ecbdf057268989aed171 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-atanh.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Math.atanh` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-atanh.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Math: { + atanh: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-cbrt.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-cbrt.js new file mode 100644 index 0000000000000000000000000000000000000000..d8cf8c458914697d732aae2c955012b29064492c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-cbrt.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Math.cbrt` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-cbrt.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Math: { + cbrt: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-clz32.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-clz32.js new file mode 100644 index 0000000000000000000000000000000000000000..34a7f31bfec96d4376444f229d1c17c2fda636f4 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-clz32.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Math.clz32` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-clz32.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Math: { + clz32: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-cosh.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-cosh.js new file mode 100644 index 0000000000000000000000000000000000000000..4aafab2ee446e6d745e85872edb7766a57e2a5fd --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-cosh.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Math.cosh` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-cosh.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Math: { + cosh: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-expm1.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-expm1.js new file mode 100644 index 0000000000000000000000000000000000000000..3ad87255ddcc5de12b79d7a7a30970ad0e7e25dc --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-expm1.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Math.expm1` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-expm1.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Math: { + expm1: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-fround.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-fround.js new file mode 100644 index 0000000000000000000000000000000000000000..0aae6542847c864701cffd9e0dcdfbbef84688bc --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-fround.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Math.fround` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-fround.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Math: { + fround: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-hypot.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-hypot.js new file mode 100644 index 0000000000000000000000000000000000000000..1de57c528c199ce8b5459c2434d6680cd95693ac --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-hypot.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Math.hypot` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-hypot.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Math: { + hypot: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-imul.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-imul.js new file mode 100644 index 0000000000000000000000000000000000000000..a18758be3a7f58d98d78a6993c4885a933980d5f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-imul.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Math.imul` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-imul.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Math: { + imul: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-log10.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-log10.js new file mode 100644 index 0000000000000000000000000000000000000000..109a00955e5e87554114be0853aeec71436c4d69 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-log10.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Math.log10` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-log10.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Math: { + log10: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-log1p.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-log1p.js new file mode 100644 index 0000000000000000000000000000000000000000..4b3162d6d6a1320f231b4b847e7e9fa2614f45e3 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-log1p.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Math.log1p` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-log1p.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Math: { + log1p: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-log2.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-log2.js new file mode 100644 index 0000000000000000000000000000000000000000..9c3a82504983fb04126839ab1a1990f48a37c443 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-log2.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Math.log2` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-log2.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Math: { + log2: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-sign.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-sign.js new file mode 100644 index 0000000000000000000000000000000000000000..64c3570e40a886cd469c23aadc4295e7cee59667 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-sign.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Math.sign` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-sign.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Math: { + sign: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-sinh.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-sinh.js new file mode 100644 index 0000000000000000000000000000000000000000..acfda55f11bc7286616abaa308c63e761746f227 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-sinh.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Math.sinh` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-sinh.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Math: { + sinh: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-tanh.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-tanh.js new file mode 100644 index 0000000000000000000000000000000000000000..1116bf92549e1c48d55b9a5f8112273853baf1ea --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-tanh.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Math.tanh` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-tanh.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Math: { + tanh: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-trunc.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-trunc.js new file mode 100644 index 0000000000000000000000000000000000000000..cfcc0decdfd2cd7236217654d3b1599e365de56d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-math-trunc.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Math.trunc` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-trunc.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Math: { + trunc: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-modules.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-modules.js new file mode 100644 index 0000000000000000000000000000000000000000..055a1ffbcc02c5d52641258d13079551b860d316 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-modules.js @@ -0,0 +1,31 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow modules.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-modules.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 modules are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "ExportAllDeclaration, ExportDefaultDeclaration, ExportNamedDeclaration, ImportDeclaration"( + node, + ) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-new-target.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-new-target.js new file mode 100644 index 0000000000000000000000000000000000000000..9a8869ec803bb60948ebedbb4cc5494e6b29055a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-new-target.js @@ -0,0 +1,29 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow `new.target` meta property.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-new-target.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 'new.target' meta property is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "MetaProperty[meta.name='new'][property.name='target']"(node) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-nullish-coalescing-operators.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-nullish-coalescing-operators.js new file mode 100644 index 0000000000000000000000000000000000000000..f5d36dd0d8c83ab87c89c3cdac143f33f185851d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-nullish-coalescing-operators.js @@ -0,0 +1,46 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { getSourceCode } = require("eslint-compat-utils") + +/** + * Checks if the given token is a nullish coalescing operator or not. + * @param {Token} token - The token to check. + * @returns {boolean} `true` if the token is a nullish coalescing operator. + */ +function isNullishCoalescingOperator(token) { + return token.value === "??" && token.type === "Punctuator" +} + +module.exports = { + meta: { + docs: { + description: "disallow nullish coalescing operators.", + category: "ES2020", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-nullish-coalescing-operators.html", + }, + fixable: null, + messages: { + forbidden: "ES2020 nullish coalescing operators are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "LogicalExpression[operator='??']"(node) { + context.report({ + node: getSourceCode(context).getTokenAfter( + node.left, + isNullishCoalescingOperator, + ), + messageId: "forbidden", + }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-epsilon.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-epsilon.js new file mode 100644 index 0000000000000000000000000000000000000000..f63cb95991a1a46b23c5f3d78fdc556606a2cad4 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-epsilon.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Number.EPSILON` property.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-number-epsilon.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' property is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Number: { + EPSILON: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-isfinite.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-isfinite.js new file mode 100644 index 0000000000000000000000000000000000000000..1a23833ab72dae39736aaaae0dd88662d89af120 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-isfinite.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Number.isFinite` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-number-isfinite.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Number: { + isFinite: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-isinteger.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-isinteger.js new file mode 100644 index 0000000000000000000000000000000000000000..c20cec86a65ed3f23830e7a704fc55ef54ef3927 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-isinteger.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Number.isInteger` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-number-isinteger.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Number: { + isInteger: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-isnan.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-isnan.js new file mode 100644 index 0000000000000000000000000000000000000000..541e19674c94611676baa891dffa17317bb4852d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-isnan.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Number.isNaN` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-number-isnan.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Number: { + isNaN: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-issafeinteger.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-issafeinteger.js new file mode 100644 index 0000000000000000000000000000000000000000..d0051b6279c1ecc83d633d01f237c729132bf0da --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-issafeinteger.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Number.isSafeInteger` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-number-issafeinteger.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Number: { + isSafeInteger: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-maxsafeinteger.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-maxsafeinteger.js new file mode 100644 index 0000000000000000000000000000000000000000..e574d1f779545c8ab0f61993101eb5a265a13384 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-maxsafeinteger.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Number.MAX_SAFE_INTEGER` property.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-number-maxsafeinteger.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' property is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Number: { + MAX_SAFE_INTEGER: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-minsafeinteger.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-minsafeinteger.js new file mode 100644 index 0000000000000000000000000000000000000000..252eb873fc15afbc081032d2ef7a68d8dc450779 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-minsafeinteger.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Number.MIN_SAFE_INTEGER` property.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-number-minsafeinteger.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' property is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Number: { + MIN_SAFE_INTEGER: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-parsefloat.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-parsefloat.js new file mode 100644 index 0000000000000000000000000000000000000000..213a4ea83c71864fe27f47a6bcf7139fd13034cb --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-parsefloat.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Number.parseFloat` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-number-parsefloat.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Number: { + parseFloat: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-parseint.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-parseint.js new file mode 100644 index 0000000000000000000000000000000000000000..6915527fe2ecbdb83d5872997dc597c05971701f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-number-parseint.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Number.parseInt` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-number-parseint.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Number: { + parseInt: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-numeric-separators.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-numeric-separators.js new file mode 100644 index 0000000000000000000000000000000000000000..4e3c9b4e1192b064ed21af60cff5c36f0d34e88c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-numeric-separators.js @@ -0,0 +1,51 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +/** + * Remove the numeric separators. + * @param {string} raw The raw string of numeric literals + * @returns {string} The string with the separators removed. + */ +function removeNumericSeparators(raw) { + return raw.replace(/_/gu, "") +} + +module.exports = { + meta: { + docs: { + description: "disallow numeric separators.", + category: "ES2021", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-numeric-separators.html", + }, + fixable: "code", + messages: { + forbidden: "ES2021 numeric separators are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + Literal(node) { + if ( + (typeof node.value === "number" || node.bigint != null) && + node.raw.includes("_") + ) { + context.report({ + node, + messageId: "forbidden", + fix: (fixer) => + fixer.replaceText( + node, + removeNumericSeparators(node.raw), + ), + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-assign.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-assign.js new file mode 100644 index 0000000000000000000000000000000000000000..16cc4c59ac18f3855ef5a9f847133fcd3c1fdf37 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-assign.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Object.assign` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-assign.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + assign: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-create.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-create.js new file mode 100644 index 0000000000000000000000000000000000000000..cb6ebe481942526f2ac626ce25c4cd33b2afafcc --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-create.js @@ -0,0 +1,46 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { ReferenceTracker, READ } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Object.create` method.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-create.html", + }, + fixable: null, + messages: { + forbidden: "ES5 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + create: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-defineproperties.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-defineproperties.js new file mode 100644 index 0000000000000000000000000000000000000000..6b2f62403e301b5f6978d021654f7b998b327678 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-defineproperties.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Object.defineProperties` method.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-defineproperties.html", + }, + fixable: null, + messages: { + forbidden: "ES5 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + defineProperties: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-defineproperty.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-defineproperty.js new file mode 100644 index 0000000000000000000000000000000000000000..a7110b20b280fc51dd1dc247f16c6d93561efc41 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-defineproperty.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Object.defineProperty` method.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-defineproperty.html", + }, + fixable: null, + messages: { + forbidden: "ES5 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + defineProperty: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-entries.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-entries.js new file mode 100644 index 0000000000000000000000000000000000000000..0ab688c421054e135929c6e8019fc416c3d455a2 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-entries.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Object.entries` method.", + category: "ES2017", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-entries.html", + }, + fixable: null, + messages: { + forbidden: "ES2017 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + entries: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-freeze.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-freeze.js new file mode 100644 index 0000000000000000000000000000000000000000..01ff68a35c712c2195fb83c162f35b515575ec19 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-freeze.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Object.freeze` method.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-freeze.html", + }, + fixable: null, + messages: { + forbidden: "ES5 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + freeze: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-fromentries.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-fromentries.js new file mode 100644 index 0000000000000000000000000000000000000000..f0b0afae382cd06d006091bd51dcea3d1eb3682f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-fromentries.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Object.fromEntries` method.", + category: "ES2019", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-fromentries.html", + }, + fixable: null, + messages: { + forbidden: "ES2019 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + fromEntries: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-getownpropertydescriptor.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-getownpropertydescriptor.js new file mode 100644 index 0000000000000000000000000000000000000000..ab1141eb004efaa8c87c69a9b64bddbf8b7c83e6 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-getownpropertydescriptor.js @@ -0,0 +1,47 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: + "disallow the `Object.getOwnPropertyDescriptor` method.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-getownpropertydescriptor.html", + }, + fixable: null, + messages: { + forbidden: "ES5 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + getOwnPropertyDescriptor: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-getownpropertydescriptors.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-getownpropertydescriptors.js new file mode 100644 index 0000000000000000000000000000000000000000..4b877c1edfd84e055a3e7bf0a6d779de1eeb5c49 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-getownpropertydescriptors.js @@ -0,0 +1,47 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: + "disallow the `Object.getOwnPropertyDescriptors` method.", + category: "ES2017", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-getownpropertydescriptors.html", + }, + fixable: null, + messages: { + forbidden: "ES2017 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + getOwnPropertyDescriptors: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-getownpropertynames.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-getownpropertynames.js new file mode 100644 index 0000000000000000000000000000000000000000..4850204a21d6976839e4a30941183ef87c894bdc --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-getownpropertynames.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Object.getOwnPropertyNames` method.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-getownpropertynames.html", + }, + fixable: null, + messages: { + forbidden: "ES5 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + getOwnPropertyNames: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-getownpropertysymbols.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-getownpropertysymbols.js new file mode 100644 index 0000000000000000000000000000000000000000..0e432c14b22e2b925b0a08472a0dea5931550bdb --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-getownpropertysymbols.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Object.getOwnPropertySymbols` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-getownpropertysymbols.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + getOwnPropertySymbols: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-getprototypeof.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-getprototypeof.js new file mode 100644 index 0000000000000000000000000000000000000000..71fd68c197d73620a0439e739efb37c5060e1bec --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-getprototypeof.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Object.getPrototypeOf` method.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-getprototypeof.html", + }, + fixable: null, + messages: { + forbidden: "ES5 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + getPrototypeOf: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-hasown.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-hasown.js new file mode 100644 index 0000000000000000000000000000000000000000..58bc2fd19b3d7b010571d4bfe791f1b67f7ce5ec --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-hasown.js @@ -0,0 +1,46 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Object.hasOwn` method.", + category: "ES2022", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-hasown.html", + }, + fixable: null, + messages: { + forbidden: "ES2022 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + hasOwn: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-is.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-is.js new file mode 100644 index 0000000000000000000000000000000000000000..42e5fb4309165343b0ecc42bd5323824d11c4245 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-is.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Object.is` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-is.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + is: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-isextensible.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-isextensible.js new file mode 100644 index 0000000000000000000000000000000000000000..98003e51b06f395ee7b7e0ef0d54415f46b72412 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-isextensible.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Object.isExtensible` method.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-isextensible.html", + }, + fixable: null, + messages: { + forbidden: "ES5 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + isExtensible: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-isfrozen.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-isfrozen.js new file mode 100644 index 0000000000000000000000000000000000000000..de842c9d5133e2311ae440954a3bb67b237e4866 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-isfrozen.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Object.isFrozen` method.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-isfrozen.html", + }, + fixable: null, + messages: { + forbidden: "ES5 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + isFrozen: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-issealed.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-issealed.js new file mode 100644 index 0000000000000000000000000000000000000000..a1b823aaee41b3113f2455abf0c18c8ce35cd319 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-issealed.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Object.isSealed` method.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-issealed.html", + }, + fixable: null, + messages: { + forbidden: "ES5 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + isSealed: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-keys.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-keys.js new file mode 100644 index 0000000000000000000000000000000000000000..2675bd4aacce71577a94f1bd6050dfe1b5ee00ca --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-keys.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Object.keys` method.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-keys.html", + }, + fixable: null, + messages: { + forbidden: "ES5 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + keys: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-map-groupby.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-map-groupby.js new file mode 100644 index 0000000000000000000000000000000000000000..ba6885be348d402f3c7125eeb11a5f630715104c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-map-groupby.js @@ -0,0 +1,46 @@ +"use strict" + +const { ReferenceTracker, READ } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: + "disallow the `{Object,Map}.groupBy()` function (array grouping).", + category: "ES2024", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-map-groupby.html", + }, + fixable: null, + messages: { + forbidden: "ES2024 '{{name}}' is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + groupBy: { [READ]: true }, + }, + Map: { + groupBy: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-preventextensions.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-preventextensions.js new file mode 100644 index 0000000000000000000000000000000000000000..4e540b900f52612cadb6b11b9a73b0b7afdbb36b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-preventextensions.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Object.preventExtensions` method.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-preventextensions.html", + }, + fixable: null, + messages: { + forbidden: "ES5 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + preventExtensions: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-seal.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-seal.js new file mode 100644 index 0000000000000000000000000000000000000000..fe3d07dceaeb0c4b939a6791edad006c7cea158d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-seal.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Object.seal` method.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-seal.html", + }, + fixable: null, + messages: { + forbidden: "ES5 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + seal: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-setprototypeof.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-setprototypeof.js new file mode 100644 index 0000000000000000000000000000000000000000..ac5c868b4fdbcec97ebca30736b3c88a1eb9eabb --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-setprototypeof.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Object.setPrototypeOf` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-setprototypeof.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + setPrototypeOf: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-super-properties.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-super-properties.js new file mode 100644 index 0000000000000000000000000000000000000000..329df1e7321afd5c89adecf6e0a9a0c721cf4dba --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-super-properties.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: + "disallow `super` property accesses in object literals.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-super-properties.html", + }, + fixable: null, + messages: { + forbidden: + "ES2015 'super' property accesses in object literals are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + let stack = null + + return { + Super(node) { + if (stack && stack.inObjectMethod) { + context.report({ node, messageId: "forbidden" }) + } + }, + + ":matches(FunctionExpression, FunctionDeclaration)"(node) { + const { type, method } = node.parent + stack = { + inObjectMethod: type === "Property" && method === true, + upper: stack, + } + }, + ":matches(FunctionExpression, FunctionDeclaration):exit"() { + stack = stack.upper + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-values.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-values.js new file mode 100644 index 0000000000000000000000000000000000000000..2b25d9e450f274ea89a26a0b016b653fbc6b6793 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-object-values.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Object.values` method.", + category: "ES2017", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-values.html", + }, + fixable: null, + messages: { + forbidden: "ES2017 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Object: { + values: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-octal-numeric-literals.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-octal-numeric-literals.js new file mode 100644 index 0000000000000000000000000000000000000000..8e171d6507b139301568bc079f75aa2e19d3537c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-octal-numeric-literals.js @@ -0,0 +1,33 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const Pattern = /^0[oO]/u + +module.exports = { + meta: { + docs: { + description: "disallow octal numeric literals.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-octal-numeric-literals.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 octal numeric literals are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + Literal(node) { + if (typeof node.value === "number" && Pattern.test(node.raw)) { + context.report({ node, messageId: "forbidden" }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-optional-catch-binding.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-optional-catch-binding.js new file mode 100644 index 0000000000000000000000000000000000000000..35571c127b3e88608a517d1b753f129f2f773a9b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-optional-catch-binding.js @@ -0,0 +1,29 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow optional `catch` binding.", + category: "ES2019", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-optional-catch-binding.html", + }, + fixable: null, + messages: { + forbidden: "ES2019 optional 'catch' binding is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "CatchClause[param=null]"(node) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-optional-chaining.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-optional-chaining.js new file mode 100644 index 0000000000000000000000000000000000000000..615debaaca28e95a74de1c5935605b010a174ddc --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-optional-chaining.js @@ -0,0 +1,62 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow optional chaining.", + category: "ES2020", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-optional-chaining.html", + }, + fixable: null, + messages: { + forbidden: "ES2020 optional chaining is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + const sourceCode = getSourceCode(context) + + /** + * Checks if the given token is a `?.` token or not. + * @param {Token} token The token to check. + * @returns {boolean} `true` if the token is a `?.` token. + */ + function isQuestionDotToken(token) { + return ( + token.value === "?." && + (token.type === "Punctuator" || // espree has been parsed well. + // espree@7.1.0 doesn't parse "?." tokens well. Therefore, get the string from the source code and check it. + sourceCode.getText(token) === "?.") + ) + } + + return { + "CallExpression[optional=true]"(node) { + context.report({ + node: sourceCode.getTokenAfter( + node.callee, + isQuestionDotToken, + ), + messageId: "forbidden", + }) + }, + "MemberExpression[optional=true]"(node) { + context.report({ + node: sourceCode.getTokenAfter( + node.object, + isQuestionDotToken, + ), + messageId: "forbidden", + }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-private-in.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-private-in.js new file mode 100644 index 0000000000000000000000000000000000000000..d7b710ec3b8246ef1cbffcb8a16895ae086c63ba --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-private-in.js @@ -0,0 +1,40 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow `#x in obj`.", + category: "ES2022", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-private-in.html", + }, + fixable: null, + messages: { + forbidden: + "ES2022 private in (`#{{private}} in {{object}}`) is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "BinaryExpression[operator='in'] > PrivateIdentifier.left"(node) { + context.report({ + node, + messageId: "forbidden", + data: { + private: node.name, + object: + node.parent.right.type === "Identifier" + ? node.parent.right.name + : "object", + }, + }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-promise-all-settled.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-promise-all-settled.js new file mode 100644 index 0000000000000000000000000000000000000000..a395a33cb7c636e937f3541f9e5fc870e4c3c372 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-promise-all-settled.js @@ -0,0 +1,40 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow `Promise.allSettled` function", + category: "ES2020", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-promise-all-settled.html", + }, + fixable: null, + messages: { + forbidden: "ES2020 'Promise.allSettled' function is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node } of tracker.iterateGlobalReferences({ + Promise: { allSettled: { [READ]: true } }, + })) { + context.report({ node, messageId: "forbidden" }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-promise-any.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-promise-any.js new file mode 100644 index 0000000000000000000000000000000000000000..b74db776c0b333ddaee063b4c7571881088ab1d8 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-promise-any.js @@ -0,0 +1,48 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: + "disallow `Promise.any` function and `AggregateError` class", + category: "ES2021", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-promise-any.html", + }, + fixable: null, + messages: { + forbidden: "ES2021 '{{name}}' is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + AggregateError: { [READ]: true }, + Promise: { + any: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-promise-prototype-finally.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-promise-prototype-finally.js new file mode 100644 index 0000000000000000000000000000000000000000..7d0a7301f42a61233a1af31a20a5e60bb92cca40 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-promise-prototype-finally.js @@ -0,0 +1,39 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `Promise.prototype.finally` method.", + category: "ES2018", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-promise-prototype-finally.html", + }, + fixable: null, + messages: { + forbidden: "ES2018 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + Promise: ["finally"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-promise-withresolvers.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-promise-withresolvers.js new file mode 100644 index 0000000000000000000000000000000000000000..2ba98b747435a1932e083a063b6bdb8799749209 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-promise-withresolvers.js @@ -0,0 +1,42 @@ +"use strict" + +const { ReferenceTracker, READ } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Promise.withResolvers()` method.", + category: "ES2024", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-promise-withresolvers.html", + }, + fixable: null, + messages: { + forbidden: "ES2024 '{{name}}' is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Promise: { + withResolvers: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-promise.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-promise.js new file mode 100644 index 0000000000000000000000000000000000000000..a6557ce9dcfa8a1f14ab9be91ad09a206e7216f9 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-promise.js @@ -0,0 +1,44 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Promise` class.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-promise.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' class is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Promise: { [READ]: true }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-property-shorthands.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-property-shorthands.js new file mode 100644 index 0000000000000000000000000000000000000000..a5c5972417d3ac5258fe2f7f1957a9a84203dc0d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-property-shorthands.js @@ -0,0 +1,81 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + isOpeningBracketToken, + isClosingBracketToken, +} = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow property shorthands.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-property-shorthands.html", + }, + fixable: "code", + messages: { + forbidden: "ES2015 property shorthands are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + const sourceCode = getSourceCode(context) + + /** + * Fixes a FunctionExpression node by making it into a longform property. + * @param {SourceCodeFixer} fixer The fixer object + * @param {ASTNode} node A `Property` node that has a `FunctionExpression` as its value + * @returns {object} A fix for this node + */ + function makeFunctionLongform(fixer, node) { + const firstKeyToken = node.computed + ? sourceCode.getTokenBefore(node.key, isOpeningBracketToken) + : sourceCode.getFirstToken(node.key) + const lastKeyToken = node.computed + ? sourceCode.getTokenAfter(node.key, isClosingBracketToken) + : sourceCode.getLastToken(node.key) + const keyText = sourceCode.text.slice( + firstKeyToken.range[0], + lastKeyToken.range[1], + ) + let functionHeader = "function" + + if (node.value.async) { + functionHeader = `async ${functionHeader}` + } + if (node.value.generator) { + functionHeader = `${functionHeader}*` + } + + return fixer.replaceTextRange( + [node.range[0], lastKeyToken.range[1]], + `${keyText}: ${functionHeader}`, + ) + } + + return { + "ObjectExpression > :matches(Property[method=true], Property[shorthand=true])"( + node, + ) { + context.report({ + node, + messageId: "forbidden", + fix: node.method + ? (fixer) => makeFunctionLongform(fixer, node) + : (fixer) => + fixer.insertTextAfter( + node.key, + `: ${node.key.name}`, + ), + }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-proxy.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-proxy.js new file mode 100644 index 0000000000000000000000000000000000000000..089c65722a38ac520a2d12c9eea4c85d4a3ae6e1 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-proxy.js @@ -0,0 +1,44 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Proxy` class.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-proxy.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' class is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Proxy: { [READ]: true }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-reflect.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-reflect.js new file mode 100644 index 0000000000000000000000000000000000000000..71b009ec8c6eabb615c58afcdfd041155f460423 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-reflect.js @@ -0,0 +1,44 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Reflect` class.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-reflect.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' class is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Reflect: { [READ]: true }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-d-flag.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-d-flag.js new file mode 100644 index 0000000000000000000000000000000000000000..b5e18cf26362a2786eed14d199f838384dbba301 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-d-flag.js @@ -0,0 +1,45 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { getSourceCode } = require("eslint-compat-utils") +const { getRegExpCalls } = require("../utils") + +module.exports = { + meta: { + docs: { + description: "disallow RegExp `d` flag.", + category: "ES2022", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-d-flag.html", + }, + fixable: null, + messages: { + forbidden: "ES2022 RegExp 'd' flag is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Literal[regex]"(node) { + if (node.regex.flags.includes("d")) { + context.report({ node, messageId: "forbidden" }) + } + }, + + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const scope = sourceCode.getScope(program) + + for (const { node, flags } of getRegExpCalls(scope)) { + if (flags && flags.includes("d")) { + context.report({ node, messageId: "forbidden" }) + } + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-duplicate-named-capturing-groups.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-duplicate-named-capturing-groups.js new file mode 100644 index 0000000000000000000000000000000000000000..59daf2070b35f2801c0d4b8cf876244345874c67 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-duplicate-named-capturing-groups.js @@ -0,0 +1,71 @@ +"use strict" + +const { getSourceCode } = require("eslint-compat-utils") +const { defineRegExpHandler } = require("../util/define-regexp-handler") + +module.exports = { + meta: { + docs: { + description: "disallow RegExp duplicate named capturing groups.", + category: "ES2025", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-duplicate-named-capturing-groups.html", + }, + fixable: null, + messages: { + forbidden: + "ES2025 RegExp duplicate named capturing groups are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return defineRegExpHandler(context, (node) => { + const found = new Map() + return { + onPatternEnter() { + found.clear() + }, + onCapturingGroupLeave(start, end, name) { + if (!name) { + return + } + const list = found.get(name) + if (list) { + list.push({ start, end }) + } else { + found.set(name, [{ start, end }]) + } + }, + onExit() { + for (const [, dupe] of found.values()) { + if (!dupe) { + continue + } + const { start, end } = dupe + const sourceCode = getSourceCode(context) + context.report({ + node, + loc: + node.type === "Literal" + ? { + start: sourceCode.getLocFromIndex( + node.range[0] + + 1 /* slash */ + + start, + ), + end: sourceCode.getLocFromIndex( + node.range[0] + + 1 /* slash */ + + end, + ), + } + : null, + messageId: "forbidden", + }) + } + }, + } + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-lookbehind-assertions.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-lookbehind-assertions.js new file mode 100644 index 0000000000000000000000000000000000000000..7b48435f2501a0b16a4368ae9d1f61bdd5726de9 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-lookbehind-assertions.js @@ -0,0 +1,41 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { defineRegExpHandler } = require("../util/define-regexp-handler") + +module.exports = { + meta: { + docs: { + description: "disallow RegExp lookbehind assertions.", + category: "ES2018", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-lookbehind-assertions.html", + }, + fixable: null, + messages: { + forbidden: "ES2018 RegExp lookbehind assertions are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return defineRegExpHandler(context, (node) => { + let found = false + return { + onLookaroundAssertionEnter(_start, kind) { + if (kind === "lookbehind") { + found = true + } + }, + onExit() { + if (found) { + context.report({ node, messageId: "forbidden" }) + } + }, + } + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-named-capture-groups.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-named-capture-groups.js new file mode 100644 index 0000000000000000000000000000000000000000..f87f827e095254a0b5400caa65b1ab894734d31f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-named-capture-groups.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { defineRegExpHandler } = require("../util/define-regexp-handler") + +module.exports = { + meta: { + docs: { + description: "disallow RegExp named capture groups.", + category: "ES2018", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-named-capture-groups.html", + }, + fixable: null, + messages: { + forbidden: "ES2018 RegExp named capture groups are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return defineRegExpHandler(context, (node) => { + let found = false + return { + onCapturingGroupEnter(_start, name) { + if (name) { + found = true + } + }, + onBackreference(_start, _end, ref) { + if (typeof ref === "string") { + found = true + } + }, + onExit() { + if (found) { + context.report({ node, messageId: "forbidden" }) + } + }, + } + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-prototype-compile.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-prototype-compile.js new file mode 100644 index 0000000000000000000000000000000000000000..8337cee32bd4c254025b8918239dd45ed03c0e80 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-prototype-compile.js @@ -0,0 +1,35 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `RegExp.prototype.compile` method.", + category: "legacy", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-prototype-compile.html", + }, + fixable: null, + messages: { + forbidden: "Annex B feature '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + RegExp: ["compile"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-prototype-flags.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-prototype-flags.js new file mode 100644 index 0000000000000000000000000000000000000000..a4f37a7481b7654d2f7410f9c0b57dc00409e794 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-prototype-flags.js @@ -0,0 +1,39 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `RegExp.prototype.flags` property.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-prototype-flags.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' property is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + RegExp: ["flags"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-s-flag.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-s-flag.js new file mode 100644 index 0000000000000000000000000000000000000000..731fa3258afc179588b7ccfbaba5b35223436b7c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-s-flag.js @@ -0,0 +1,45 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { getSourceCode } = require("eslint-compat-utils") +const { getRegExpCalls } = require("../utils") + +module.exports = { + meta: { + docs: { + description: "disallow RegExp `s` flag.", + category: "ES2018", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-s-flag.html", + }, + fixable: null, + messages: { + forbidden: "ES2018 RegExp 's' flag is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Literal[regex]"(node) { + if (node.regex.flags.includes("s")) { + context.report({ node, messageId: "forbidden" }) + } + }, + + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const scope = sourceCode.getScope(program) + + for (const { node, flags } of getRegExpCalls(scope)) { + if (flags && flags.includes("s")) { + context.report({ node, messageId: "forbidden" }) + } + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-u-flag.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-u-flag.js new file mode 100644 index 0000000000000000000000000000000000000000..0e417b0acd92f0ce6dec64926ac1d608c050e66f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-u-flag.js @@ -0,0 +1,45 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { getSourceCode } = require("eslint-compat-utils") +const { getRegExpCalls } = require("../utils") + +module.exports = { + meta: { + docs: { + description: "disallow RegExp `u` flag.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-u-flag.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 RegExp 'u' flag is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Literal[regex]"(node) { + if (node.regex.flags.includes("u")) { + context.report({ node, messageId: "forbidden" }) + } + }, + + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const scope = sourceCode.getScope(program) + + for (const { node, flags } of getRegExpCalls(scope)) { + if (flags && flags.includes("u")) { + context.report({ node, messageId: "forbidden" }) + } + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-unicode-property-escapes-2019.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-unicode-property-escapes-2019.js new file mode 100644 index 0000000000000000000000000000000000000000..7251f72719a89d996523a5e7289776e46bba5bfe --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-unicode-property-escapes-2019.js @@ -0,0 +1,66 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { defineRegExpHandler } = require("../util/define-regexp-handler") +const { + scNameSet, + scValueSets, + binPropertySets, +} = require("../util/unicode-properties") + +function isNewUnicodePropertyKeyValuePair(key, value) { + return scNameSet.has(key) && scValueSets.es2019.has(value) +} + +function isNewBinaryUnicodeProperty(key) { + return binPropertySets.es2019.has(key) +} + +module.exports = { + meta: { + docs: { + description: + "disallow the new values of RegExp Unicode property escape sequences in ES2019", + category: "ES2019", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-unicode-property-escapes-2019.html", + }, + fixable: null, + messages: { + forbidden: "ES2019 '{{value}}' is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return defineRegExpHandler(context, (node, { pattern }) => { + let foundValue = "" + return { + onUnicodePropertyCharacterSet(start, end, _kind, key, value) { + if (foundValue) { + return + } + if ( + value + ? isNewUnicodePropertyKeyValuePair(key, value) + : isNewBinaryUnicodeProperty(key) + ) { + foundValue = pattern.slice(start, end) + } + }, + onExit() { + if (foundValue) { + context.report({ + node, + messageId: "forbidden", + data: { value: foundValue }, + }) + } + }, + } + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-unicode-property-escapes-2020.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-unicode-property-escapes-2020.js new file mode 100644 index 0000000000000000000000000000000000000000..d9db40ca0a2eba8d822988600b845576ce4d9eb7 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-unicode-property-escapes-2020.js @@ -0,0 +1,66 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { defineRegExpHandler } = require("../util/define-regexp-handler") +const { + scNameSet, + scValueSets, + binPropertySets, +} = require("../util/unicode-properties") + +function isNewUnicodePropertyKeyValuePair(key, value) { + return scNameSet.has(key) && scValueSets.es2020.has(value) +} + +function isNewBinaryUnicodeProperty(key) { + return binPropertySets.es2020.has(key) +} + +module.exports = { + meta: { + docs: { + description: + "disallow the new values of RegExp Unicode property escape sequences in ES2020", + category: "ES2020", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-unicode-property-escapes-2020.html", + }, + fixable: null, + messages: { + forbidden: "ES2020 '{{value}}' is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return defineRegExpHandler(context, (node, { pattern }) => { + let foundValue = "" + return { + onUnicodePropertyCharacterSet(start, end, _kind, key, value) { + if (foundValue) { + return + } + if ( + value + ? isNewUnicodePropertyKeyValuePair(key, value) + : isNewBinaryUnicodeProperty(key) + ) { + foundValue = pattern.slice(start, end) + } + }, + onExit() { + if (foundValue) { + context.report({ + node, + messageId: "forbidden", + data: { value: foundValue }, + }) + } + }, + } + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-unicode-property-escapes-2021.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-unicode-property-escapes-2021.js new file mode 100644 index 0000000000000000000000000000000000000000..be5b2c70bdbe88237fcd21849ad313ab1dcdd7fb --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-unicode-property-escapes-2021.js @@ -0,0 +1,66 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { defineRegExpHandler } = require("../util/define-regexp-handler") +const { + scNameSet, + scValueSets, + binPropertySets, +} = require("../util/unicode-properties") + +function isNewUnicodePropertyKeyValuePair(key, value) { + return scNameSet.has(key) && scValueSets.es2021.has(value) +} + +function isNewBinaryUnicodeProperty(key) { + return binPropertySets.es2021.has(key) +} + +module.exports = { + meta: { + docs: { + description: + "disallow the new values of RegExp Unicode property escape sequences in ES2021", + category: "ES2021", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-unicode-property-escapes-2021.html", + }, + fixable: null, + messages: { + forbidden: "ES2021 '{{value}}' is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return defineRegExpHandler(context, (node, { pattern }) => { + let foundValue = "" + return { + onUnicodePropertyCharacterSet(start, end, _kind, key, value) { + if (foundValue) { + return + } + if ( + value + ? isNewUnicodePropertyKeyValuePair(key, value) + : isNewBinaryUnicodeProperty(key) + ) { + foundValue = pattern.slice(start, end) + } + }, + onExit() { + if (foundValue) { + context.report({ + node, + messageId: "forbidden", + data: { value: foundValue }, + }) + } + }, + } + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-unicode-property-escapes-2022.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-unicode-property-escapes-2022.js new file mode 100644 index 0000000000000000000000000000000000000000..ddc939ba83491cab0ccc241439f3105042e029f9 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-unicode-property-escapes-2022.js @@ -0,0 +1,66 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { defineRegExpHandler } = require("../util/define-regexp-handler") +const { + scNameSet, + scValueSets, + binPropertySets, +} = require("../util/unicode-properties") + +function isNewUnicodePropertyKeyValuePair(key, value) { + return scNameSet.has(key) && scValueSets.es2022.has(value) +} + +function isNewBinaryUnicodeProperty(key) { + return binPropertySets.es2022.has(key) +} + +module.exports = { + meta: { + docs: { + description: + "disallow the new values of RegExp Unicode property escape sequences in ES2022", + category: "ES2022", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-unicode-property-escapes-2022.html", + }, + fixable: null, + messages: { + forbidden: "ES2022 '{{value}}' is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return defineRegExpHandler(context, (node, { pattern }) => { + let foundValue = "" + return { + onUnicodePropertyCharacterSet(start, end, _kind, key, value) { + if (foundValue) { + return + } + if ( + value + ? isNewUnicodePropertyKeyValuePair(key, value) + : isNewBinaryUnicodeProperty(key) + ) { + foundValue = pattern.slice(start, end) + } + }, + onExit() { + if (foundValue) { + context.report({ + node, + messageId: "forbidden", + data: { value: foundValue }, + }) + } + }, + } + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-unicode-property-escapes-2023.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-unicode-property-escapes-2023.js new file mode 100644 index 0000000000000000000000000000000000000000..c1084c61f0ba04b9ed616865b76f4f270dc9deb1 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-unicode-property-escapes-2023.js @@ -0,0 +1,66 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { defineRegExpHandler } = require("../util/define-regexp-handler") +const { + scNameSet, + scValueSets, + binPropertySets, +} = require("../util/unicode-properties") + +function isNewUnicodePropertyKeyValuePair(key, value) { + return scNameSet.has(key) && scValueSets.es2023.has(value) +} + +function isNewBinaryUnicodeProperty(key) { + return binPropertySets.es2023.has(key) +} + +module.exports = { + meta: { + docs: { + description: + "disallow the new values of RegExp Unicode property escape sequences in ES2023", + category: "ES2023", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-unicode-property-escapes-2023.html", + }, + fixable: null, + messages: { + forbidden: "ES2023 '{{value}}' is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return defineRegExpHandler(context, (node, { pattern }) => { + let foundValue = "" + return { + onUnicodePropertyCharacterSet(start, end, _kind, key, value) { + if (foundValue) { + return + } + if ( + value + ? isNewUnicodePropertyKeyValuePair(key, value) + : isNewBinaryUnicodeProperty(key) + ) { + foundValue = pattern.slice(start, end) + } + }, + onExit() { + if (foundValue) { + context.report({ + node, + messageId: "forbidden", + data: { value: foundValue }, + }) + } + }, + } + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-unicode-property-escapes.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-unicode-property-escapes.js new file mode 100644 index 0000000000000000000000000000000000000000..a794c755cd443e486c6b8aad94d3f21c5cfc28bf --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-unicode-property-escapes.js @@ -0,0 +1,40 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { defineRegExpHandler } = require("../util/define-regexp-handler") + +module.exports = { + meta: { + docs: { + description: "disallow RegExp Unicode property escape sequences.", + category: "ES2018", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-unicode-property-escapes.html", + }, + fixable: null, + messages: { + forbidden: + "ES2018 RegExp Unicode property escape sequences are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return defineRegExpHandler(context, (node) => { + let found = false + return { + onUnicodePropertyCharacterSet() { + found = true + }, + onExit() { + if (found) { + context.report({ node, messageId: "forbidden" }) + } + }, + } + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-v-flag.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-v-flag.js new file mode 100644 index 0000000000000000000000000000000000000000..76f4a2eb9c3c964842b49cbea5b7568238d6a15b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-v-flag.js @@ -0,0 +1,41 @@ +"use strict" + +const { getSourceCode } = require("eslint-compat-utils") +const { getRegExpCalls } = require("../utils") + +module.exports = { + meta: { + docs: { + description: "disallow RegExp `v` flag.", + category: "ES2024", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-v-flag.html", + }, + fixable: null, + messages: { + forbidden: "ES2024 RegExp 'v' flag is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Literal[regex]"(node) { + if (node.regex.flags.includes("v")) { + context.report({ node, messageId: "forbidden" }) + } + }, + + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const scope = sourceCode.getScope(program) + + for (const { node, flags } of getRegExpCalls(scope)) { + if (flags && flags.includes("v")) { + context.report({ node, messageId: "forbidden" }) + } + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-y-flag.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-y-flag.js new file mode 100644 index 0000000000000000000000000000000000000000..2cd488ad9431267ac84312fdde6ab3724de0cc5f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-regexp-y-flag.js @@ -0,0 +1,45 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { getSourceCode } = require("eslint-compat-utils") +const { getRegExpCalls } = require("../utils") + +module.exports = { + meta: { + docs: { + description: "disallow RegExp `y` flag.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-y-flag.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 RegExp 'y' flag is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Literal[regex]"(node) { + if (node.regex.flags.includes("y")) { + context.report({ node, messageId: "forbidden" }) + } + }, + + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const scope = sourceCode.getScope(program) + + for (const { node, flags } of getRegExpCalls(scope)) { + if (flags && flags.includes("y")) { + context.report({ node, messageId: "forbidden" }) + } + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-resizable-and-growable-arraybuffers.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-resizable-and-growable-arraybuffers.js new file mode 100644 index 0000000000000000000000000000000000000000..50b703e701f240d6cfb20f7c953746ccb34bbcee --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-resizable-and-growable-arraybuffers.js @@ -0,0 +1,95 @@ +"use strict" + +const { + CONSTRUCT, + ReferenceTracker, +} = require("@eslint-community/eslint-utils") +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") +const { getSourceCode } = require("eslint-compat-utils") + +/** + * @param {Node|undefined} node + * @returns {boolean} + */ +function isSpreadElement(node) { + return node && node.type === "SpreadElement" +} + +module.exports = { + meta: { + docs: { + description: "disallow resizable and growable ArrayBuffers", + category: "ES2024", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-resizable-and-growable-arraybuffers.html", + }, + fixable: null, + messages: { + forbiddenForResizableArrayBuffer: + "ES2024 Resizable ArrayBuffer is forbidden.", + forbiddenForGrowableSharedArrayBuffer: + "ES2024 Growable SharedArrayBuffer is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return { + ...definePrototypeMethodHandler( + context, + { + ArrayBuffer: ["maxByteLength", "resizable", "resize"], + SharedArrayBuffer: ["grow", "growable", "maxByteLength"], + }, + { + createReport({ className }) { + return { + messageId: + className === "ArrayBuffer" + ? "forbiddenForResizableArrayBuffer" + : "forbiddenForGrowableSharedArrayBuffer", + } + }, + }, + ), + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + ArrayBuffer: { [CONSTRUCT]: true }, + SharedArrayBuffer: { [CONSTRUCT]: true }, + })) { + if (node.type !== "NewExpression") { + continue + } + const args = node.arguments.slice(0, 2) + if (args.some(isSpreadElement)) { + continue + } + const reportedNode = args[1] + if (reportedNode) { + context.report({ + node: reportedNode, + messageId: + path[0] === "ArrayBuffer" + ? "forbiddenForResizableArrayBuffer" + : "forbiddenForGrowableSharedArrayBuffer", + }) + } + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-rest-parameters.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-rest-parameters.js new file mode 100644 index 0000000000000000000000000000000000000000..7c91be2bc2f2a69ab70c4fe8e37163af78749d9c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-rest-parameters.js @@ -0,0 +1,29 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow rest parameters.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-rest-parameters.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 rest parameters are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + ":function > RestElement"(node) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-rest-spread-properties.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-rest-spread-properties.js new file mode 100644 index 0000000000000000000000000000000000000000..97bc7035874647d69788feeb5ceef154d0f778b2 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-rest-spread-properties.js @@ -0,0 +1,32 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow rest/spread properties.", + category: "ES2018", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-rest-spread-properties.html", + }, + fixable: null, + messages: { + forbidden: "ES2018 rest/spread properties are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "ObjectPattern > RestElement"(node) { + context.report({ node, messageId: "forbidden" }) + }, + "ObjectExpression > SpreadElement"(node) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-difference.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-difference.js new file mode 100644 index 0000000000000000000000000000000000000000..8c5ede61d0060fcfff112401d4e4aba2c9a099a9 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-difference.js @@ -0,0 +1,36 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `Set.prototype.difference` method.", + category: "ES2025", + proposal: "set-methods", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-set-prototype-difference.html", + }, + fixable: null, + messages: { + forbidden: "ES2025 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + Set: ["difference"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-intersection.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-intersection.js new file mode 100644 index 0000000000000000000000000000000000000000..68776be463fec77786742546c4ef04a36058c95d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-intersection.js @@ -0,0 +1,36 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `Set.prototype.intersection` method.", + category: "ES2025", + proposal: "set-methods", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-set-prototype-intersection.html", + }, + fixable: null, + messages: { + forbidden: "ES2025 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + Set: ["intersection"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-isdisjointfrom.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-isdisjointfrom.js new file mode 100644 index 0000000000000000000000000000000000000000..198a4bd184a8d3e3c3ee5002851e0fc61f770721 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-isdisjointfrom.js @@ -0,0 +1,36 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `Set.prototype.isDisjointFrom` method.", + category: "ES2025", + proposal: "set-methods", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-set-prototype-isdisjointfrom.html", + }, + fixable: null, + messages: { + forbidden: "ES2025 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + Set: ["isDisjointFrom"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-issubsetof.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-issubsetof.js new file mode 100644 index 0000000000000000000000000000000000000000..780f21ce7f2ae161c9acc58b152c56986461e040 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-issubsetof.js @@ -0,0 +1,36 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `Set.prototype.isSubsetOf` method.", + category: "ES2025", + proposal: "set-methods", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-set-prototype-issubsetof.html", + }, + fixable: null, + messages: { + forbidden: "ES2025 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + Set: ["isSubsetOf"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-issupersetof.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-issupersetof.js new file mode 100644 index 0000000000000000000000000000000000000000..a3f3500f2564530f9f3bcfa441e24c1d36b38687 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-issupersetof.js @@ -0,0 +1,36 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `Set.prototype.isSupersetOf` method.", + category: "ES2025", + proposal: "set-methods", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-set-prototype-issupersetof.html", + }, + fixable: null, + messages: { + forbidden: "ES2025 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + Set: ["isSupersetOf"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-symmetricdifference.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-symmetricdifference.js new file mode 100644 index 0000000000000000000000000000000000000000..9f92de693ad3feae13e5f5f6aa2d83c38dce102e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-symmetricdifference.js @@ -0,0 +1,37 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: + "disallow the `Set.prototype.symmetricDifference` method.", + category: "ES2025", + proposal: "set-methods", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-set-prototype-symmetricdifference.html", + }, + fixable: null, + messages: { + forbidden: "ES2025 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + Set: ["symmetricDifference"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-union.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-union.js new file mode 100644 index 0000000000000000000000000000000000000000..bb4c47f1485ef4be7c7237da52e40aee8dbf8000 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set-prototype-union.js @@ -0,0 +1,36 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `Set.prototype.union` method.", + category: "ES2025", + proposal: "set-methods", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-set-prototype-union.html", + }, + fixable: null, + messages: { + forbidden: "ES2025 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + Set: ["union"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set.js new file mode 100644 index 0000000000000000000000000000000000000000..a66de602aafcd33e93aa8dc99634f9787a6fa8ad --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-set.js @@ -0,0 +1,44 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Set` class.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-set.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' class is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Set: { [READ]: true }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-shadow-catch-param.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-shadow-catch-param.js new file mode 100644 index 0000000000000000000000000000000000000000..00cd55dc78326b86f58a54369b116d94f4eb6915 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-shadow-catch-param.js @@ -0,0 +1,57 @@ +"use strict" + +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: + "disallow identifiers from shadowing catch parameter names.", + category: "legacy", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-shadow-catch-param.html", + }, + fixable: null, + messages: { + forbidden: "Shadowing of catch parameter '{{name}}'.", + }, + schema: [], + type: "problem", + }, + create(context) { + const sourceCode = getSourceCode(context) + return { + "CatchClause > Identifier.param:exit"(node) { + const scope = sourceCode.getScope(node) + const shadowingVar = scope.variableScope.set.get(node.name) + if (!shadowingVar) { + return + } + for (const def of shadowingVar.defs) { + if (def.type !== "Variable") { + continue + } + const varDecl = def.node + if (varDecl.parent.kind !== "var") { + continue + } + const varId = varDecl.id + const catchClause = node.parent + const bodyRange = catchClause.body.range + if ( + bodyRange[0] <= varId.range[0] && + varId.range[1] <= bodyRange[1] + ) { + context.report({ + node: varDecl, + messageId: "forbidden", + data: { + name: node.name, + }, + }) + } + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-shared-array-buffer.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-shared-array-buffer.js new file mode 100644 index 0000000000000000000000000000000000000000..4f9140f63aa0710264bcb92950b1968648f8bfec --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-shared-array-buffer.js @@ -0,0 +1,44 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `SharedArrayBuffer` class.", + category: "ES2017", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-shared-array-buffer.html", + }, + fixable: null, + messages: { + forbidden: "ES2017 '{{name}}' class is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + SharedArrayBuffer: { [READ]: true }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-spread-elements.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-spread-elements.js new file mode 100644 index 0000000000000000000000000000000000000000..688d463788db7018b25489726735ae5d6a010879 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-spread-elements.js @@ -0,0 +1,31 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow spread elements.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-spread-elements.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 spread elements are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + ":matches(ArrayExpression, CallExpression, NewExpression) > SpreadElement"( + node, + ) { + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-create-html-methods.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-create-html-methods.js new file mode 100644 index 0000000000000000000000000000000000000000..aa47ae88c99bbbf289efab8d6ba160f452c43378 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-create-html-methods.js @@ -0,0 +1,49 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow HTML creation methods of string instances.", + category: "legacy", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-create-html-methods.html", + }, + fixable: null, + messages: { + forbidden: "Annex B feature '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + String: [ + "anchor", + "big", + "blink", + "bold", + "fixed", + "fontcolor", + "fontsize", + "italics", + "link", + "small", + "strike", + "sub", + "sup", + ], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-fromcodepoint.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-fromcodepoint.js new file mode 100644 index 0000000000000000000000000000000000000000..d757a05b541d6b01421583fd8ee94f15b32ba571 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-fromcodepoint.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `String.fromCodePoint` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-fromcodepoint.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + String: { + fromCodePoint: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-codepointat.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-codepointat.js new file mode 100644 index 0000000000000000000000000000000000000000..b059c23096726bb4084622137468b11b6575ee00 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-codepointat.js @@ -0,0 +1,39 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `String.prototype.codePointAt` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-codepointat.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + String: ["codePointAt"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-endswith.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-endswith.js new file mode 100644 index 0000000000000000000000000000000000000000..2ff56e5903f6350f7bb15d3c19621e43470ed20d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-endswith.js @@ -0,0 +1,39 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `String.prototype.endsWith` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-endswith.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + String: ["endsWith"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-includes.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-includes.js new file mode 100644 index 0000000000000000000000000000000000000000..a0dc71ea25f4d523a67c7402f79aab4d4fab7b36 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-includes.js @@ -0,0 +1,39 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `String.prototype.includes` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-includes.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + String: ["includes"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-iswellformed-towellformed.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-iswellformed-towellformed.js new file mode 100644 index 0000000000000000000000000000000000000000..10c10419f575e317faed3d86374b3bee15e1853b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-iswellformed-towellformed.js @@ -0,0 +1,36 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: + "disallow the `String.prototype.{isWellFormed,toWellFormed}` methods.", + category: "ES2024", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-iswellformed-towellformed.html", + }, + fixable: null, + messages: { + forbidden: "ES2024 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + String: ["isWellFormed", "toWellFormed"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-matchall.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-matchall.js new file mode 100644 index 0000000000000000000000000000000000000000..78cd2dd2801bc67166c6a14b700c42d5fbfa2275 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-matchall.js @@ -0,0 +1,39 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `String.prototype.matchAll` method.", + category: "ES2020", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-matchall.html", + }, + fixable: null, + messages: { + forbidden: "ES2020 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + String: ["matchAll"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-normalize.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-normalize.js new file mode 100644 index 0000000000000000000000000000000000000000..3a8ade6e705eba50dc412e1f9706317fffa9476d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-normalize.js @@ -0,0 +1,39 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `String.prototype.normalize` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-normalize.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + String: ["normalize"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-padstart-padend.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-padstart-padend.js new file mode 100644 index 0000000000000000000000000000000000000000..7b59e3349572994d5444127da558eb824f7dc186 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-padstart-padend.js @@ -0,0 +1,40 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: + "disallow the `String.prototype.{padStart,padEnd}` methods.", + category: "ES2017", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-padstart-padend.html", + }, + fixable: null, + messages: { + forbidden: "ES2017 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + String: ["padEnd", "padStart"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-repeat.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-repeat.js new file mode 100644 index 0000000000000000000000000000000000000000..966fdad67546c58eb4cf9e5047d44e15870cb60d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-repeat.js @@ -0,0 +1,39 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `String.prototype.repeat` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-repeat.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + String: ["repeat"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-replaceall.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-replaceall.js new file mode 100644 index 0000000000000000000000000000000000000000..31b1720f181862291faf2d48d06997294aeafaba --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-replaceall.js @@ -0,0 +1,39 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `String.prototype.replaceAll` method.", + category: "ES2021", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-replaceall.html", + }, + fixable: null, + messages: { + forbidden: "ES2021 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + String: ["replaceAll"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-startswith.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-startswith.js new file mode 100644 index 0000000000000000000000000000000000000000..727a5dfc02d10d935de29193bb68c6fef941af91 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-startswith.js @@ -0,0 +1,39 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `String.prototype.startsWith` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-startswith.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + String: ["startsWith"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-substr.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-substr.js new file mode 100644 index 0000000000000000000000000000000000000000..d4c67edfe92fce5d5721325e2dc286f2ff206d59 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-substr.js @@ -0,0 +1,35 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `String.prototype.substr` method.", + category: "legacy", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-substr.html", + }, + fixable: null, + messages: { + forbidden: "Annex B feature '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + String: ["substr"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-trim.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-trim.js new file mode 100644 index 0000000000000000000000000000000000000000..56248210d47df97f550229eb57a848e0d2d07368 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-trim.js @@ -0,0 +1,39 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: "disallow the `String.prototype.trim` method.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-trim.html", + }, + fixable: null, + messages: { + forbidden: "ES5 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + String: ["trim"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-trimleft-trimright.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-trimleft-trimright.js new file mode 100644 index 0000000000000000000000000000000000000000..59ab2171514391d6d9d8f5629b2a5ec1345107ad --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-trimleft-trimright.js @@ -0,0 +1,66 @@ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: + "disallow the `String.prototype.{trimLeft,trimRight}` methods.", + category: "legacy", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-trimleft-trimright.html", + }, + fixable: "code", + messages: { + forbidden: "Annex B feature '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + hasSuggestions: true, + }, + create(context) { + return definePrototypeMethodHandler( + context, + { + String: ["trimLeft", "trimRight"], + }, + { + createReport({ objectTypeResult, node, propertyName }) { + if (node.computed) { + return null + } + const newPropertyName = + propertyName === "trimLeft" ? "trimStart" : "trimEnd" + if (objectTypeResult !== true) { + return { + suggest: [ + { + desc: `Replace with '${newPropertyName}'`, + fix, + }, + ], + } + } + return { + fix, + } + + function fix(fixer) { + return fixer.replaceText(node.property, newPropertyName) + } + }, + }, + ) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-trimstart-trimend.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-trimstart-trimend.js new file mode 100644 index 0000000000000000000000000000000000000000..b29ba4420f106d587d73405cb0971467896d5644 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-prototype-trimstart-trimend.js @@ -0,0 +1,40 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: + "disallow the `String.prototype.{trimStart,trimEnd}` methods.", + category: "ES2019", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-trimstart-trimend.html", + }, + fixable: null, + messages: { + forbidden: "ES2019 '{{name}}' method is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + String: ["trimEnd", "trimStart"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-raw.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-raw.js new file mode 100644 index 0000000000000000000000000000000000000000..0f9423139f544194343e65902cf8726baf7752aa --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-string-raw.js @@ -0,0 +1,46 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `String.raw` method.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-raw.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' method is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + String: { + raw: { [READ]: true }, + }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-subclassing-builtins.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-subclassing-builtins.js new file mode 100644 index 0000000000000000000000000000000000000000..b4403e14f69bea7859b623205dd1c338b52aebab --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-subclassing-builtins.js @@ -0,0 +1,58 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the subclassing of the built-in classes.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-subclassing-builtins.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 subclassing of '{{name}}' is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Array: { [READ]: true }, + Boolean: { [READ]: true }, + Error: { [READ]: true }, + RegExp: { [READ]: true }, + Function: { [READ]: true }, + Map: { [READ]: true }, + Number: { [READ]: true }, + Promise: { [READ]: true }, + Set: { [READ]: true }, + String: { [READ]: true }, + })) { + if ( + node.parent.type.startsWith("Class") && + node.parent.superClass === node + ) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-symbol-prototype-description.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-symbol-prototype-description.js new file mode 100644 index 0000000000000000000000000000000000000000..4816d5b5580d4bf8066467fab66e0827d19caa01 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-symbol-prototype-description.js @@ -0,0 +1,40 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { + definePrototypeMethodHandler, +} = require("../util/define-prototype-method-handler") + +module.exports = { + meta: { + docs: { + description: + "disallow the `Symbol.prototype.description` property.", + category: "ES2019", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-symbol-prototype-description.html", + }, + fixable: null, + messages: { + forbidden: "ES2019 '{{name}}' property is forbidden.", + }, + schema: [ + { + type: "object", + properties: { + aggressive: { type: "boolean" }, + }, + additionalProperties: false, + }, + ], + type: "problem", + }, + create(context) { + return definePrototypeMethodHandler(context, { + Symbol: ["description"], + }) + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-symbol.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-symbol.js new file mode 100644 index 0000000000000000000000000000000000000000..64bde0e71b6602cc88056c249b068887c19f3631 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-symbol.js @@ -0,0 +1,44 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `Symbol` class.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-symbol.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' class is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Symbol: { [READ]: true }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-template-literals.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-template-literals.js new file mode 100644 index 0000000000000000000000000000000000000000..07c4bff0d261bb15c8b0cb9e67d5f59746d1534e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-template-literals.js @@ -0,0 +1,86 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { getSourceCode } = require("eslint-compat-utils") + +/** + * Checks whether it is string literal + * @param {string} s string source code + * @returns {boolean} true: is string literal source code + */ +function isStringLiteralCode(s) { + return ( + (s.startsWith("'") && s.endsWith("'")) || + (s.startsWith('"') && s.endsWith('"')) + ) +} + +/** + * Transform template literal to string concatenation. + * @param {ASTNode} node TemplateLiteral node.(not within TaggedTemplateExpression) + * @param {SourceCode} sourceCode SourceCode + * @returns {string} After transformation + */ +function templateLiteralToStringConcat(node, sourceCode) { + const ss = [] + node.quasis.forEach((q, i) => { + const value = q.value.cooked + if (value) { + ss.push(JSON.stringify(value)) + } + + if (i < node.expressions.length) { + const e = node.expressions[i] + const text = sourceCode.getText(e) + ss.push(text) + } + }) + if (!ss.length || !isStringLiteralCode(ss[0])) { + ss.unshift('""') + } + return ss.join("+") +} + +module.exports = { + meta: { + docs: { + description: "disallow template literals.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-template-literals.html", + }, + fixable: "code", + messages: { + forbidden: "ES2015 template literals are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + const sourceCode = getSourceCode(context) + return { + "TaggedTemplateExpression, :not(TaggedTemplateExpression) > TemplateLiteral"( + node, + ) { + context.report({ + node, + messageId: "forbidden", + fix: + node.type === "TemplateLiteral" + ? (fixer) => + fixer.replaceText( + node, + templateLiteralToStringConcat( + node, + sourceCode, + ), + ) + : undefined, + }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-top-level-await.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-top-level-await.js new file mode 100644 index 0000000000000000000000000000000000000000..75dedcf41c6ab77572b5358d8bb880a4f9632744 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-top-level-await.js @@ -0,0 +1,40 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +module.exports = { + meta: { + docs: { + description: "disallow top-level `await`.", + category: "ES2022", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-top-level-await.html", + }, + fixable: null, + messages: { + forbidden: "ES2022 top-level 'await' is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + let functionDepth = 0 + return { + ":function"() { + functionDepth++ + }, + ":function:exit"() { + functionDepth-- + }, + "AwaitExpression, ForOfStatement[await=true]"(node) { + if (functionDepth > 0) { + // not top-level + return + } + context.report({ node, messageId: "forbidden" }) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-trailing-commas.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-trailing-commas.js new file mode 100644 index 0000000000000000000000000000000000000000..146b2dbbe17888e004102208149f08f243219762 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-trailing-commas.js @@ -0,0 +1,39 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { getSourceCode } = require("eslint-compat-utils") +const { isCommaToken } = require("../utils") + +module.exports = { + meta: { + docs: { + description: "disallow trailing commas in array/object literals.", + category: "ES5", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-trailing-commas.html", + }, + fixable: null, + messages: { + forbidden: + "ES5 trailing commas in array/object literals are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + const sourceCode = getSourceCode(context) + return { + "ArrayExpression, ArrayPattern, ObjectExpression, ObjectPattern"( + node, + ) { + const token = sourceCode.getLastToken(node, 1) + if (isCommaToken(token)) { + context.report({ node, messageId: "forbidden" }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-trailing-function-commas.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-trailing-function-commas.js new file mode 100644 index 0000000000000000000000000000000000000000..79aafa1e3de00726c7802ba7bcca40bce979689e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-trailing-function-commas.js @@ -0,0 +1,62 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { getSourceCode } = require("eslint-compat-utils") +const { isCommaToken } = require("../utils") + +module.exports = { + meta: { + docs: { + description: + "disallow trailing commas in parameter/argument lists.", + category: "ES2017", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-trailing-function-commas.html", + }, + fixable: "code", + messages: { + forbidden: + "ES2017 trailing commas in parameter/argument lists are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + const sourceCode = getSourceCode(context) + return { + ":function"(node) { + const length = node.params.length + if (length === 0) { + return + } + + const lastParam = node.params[length - 1] + const token = sourceCode.getTokenAfter(lastParam) + if (isCommaToken(token)) { + context.report({ + loc: token.loc, + messageId: "forbidden", + fix(fixer) { + return fixer.remove(token) + }, + }) + } + }, + "CallExpression, NewExpression"(node) { + const token = sourceCode.getLastToken(node, 1) + if (node.arguments.length >= 1 && isCommaToken(token)) { + context.report({ + loc: token.loc, + messageId: "forbidden", + fix(fixer) { + return fixer.remove(token) + }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-typed-arrays.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-typed-arrays.js new file mode 100644 index 0000000000000000000000000000000000000000..432d17a6f8b4987634b52a5979c7262fd75e2a94 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-typed-arrays.js @@ -0,0 +1,53 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow ES2015 typed arrays.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-typed-arrays.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + Int8Array: { [READ]: true }, + Uint8Array: { [READ]: true }, + Uint8ClampedArray: { [READ]: true }, + Int16Array: { [READ]: true }, + Uint16Array: { [READ]: true }, + Int32Array: { [READ]: true }, + Uint32Array: { [READ]: true }, + Float32Array: { [READ]: true }, + Float64Array: { [READ]: true }, + DataView: { [READ]: true }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-unicode-codepoint-escapes.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-unicode-codepoint-escapes.js new file mode 100644 index 0000000000000000000000000000000000000000..0b95448c02467ee7ab1ace4fe2240e201f0307a7 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-unicode-codepoint-escapes.js @@ -0,0 +1,99 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { getSourceCode } = require("eslint-compat-utils") +const { definePatternSearchGenerator } = require("../utils") +const codePointEscapeSearchGenerator = + definePatternSearchGenerator(/\\u\{[0-9a-fA-F]+\}/gu) + +/** + * Number to Hex + * @param {number} num number + * @returns {string} hex string + */ +function toHex(num) { + return `0000${num.toString(16).toUpperCase()}`.substr(-4) +} + +module.exports = { + meta: { + docs: { + description: "disallow Unicode code point escape sequences.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-unicode-codepoint-escapes.html", + }, + fixable: "code", + messages: { + forbidden: + "ES2015 Unicode code point escape sequences are forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + const sourceCode = getSourceCode(context) + + /** + * find code point escape, and report + * @param {Node} node node + * @returns {void} + */ + function findAndReport(node) { + const text = sourceCode.getText(node) + for (const match of codePointEscapeSearchGenerator(text)) { + const start = match.index + const end = start + match[0].length + const range = [start + node.range[0], end + node.range[0]] + context.report({ + node, + loc: { + start: sourceCode.getLocFromIndex(range[0]), + end: sourceCode.getLocFromIndex(range[1]), + }, + messageId: "forbidden", + fix(fixer) { + const codePointStr = text.slice(start + 3, end - 1) + // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/fromCodePoint + let codePoint = Number(`0x${codePointStr}`) + let replacement = null + if (codePoint <= 0xffff) { + // BMP code point + replacement = toHex(codePoint) + } else { + // Astral code point; split in surrogate halves + // http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae + codePoint -= 0x10000 + const highSurrogate = (codePoint >> 10) + 0xd800 + const lowSurrogate = (codePoint % 0x400) + 0xdc00 + replacement = `${toHex(highSurrogate)}\\u${toHex( + lowSurrogate, + )}` + } + return fixer.replaceTextRange( + [range[0] + 2, range[1]], + replacement, + ) + }, + }) + } + } + + return { + Identifier(node) { + findAndReport(node) + }, + Literal(node) { + if (typeof node.value === "string") { + findAndReport(node) + } + }, + TemplateElement(node) { + findAndReport(node) + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-weak-map.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-weak-map.js new file mode 100644 index 0000000000000000000000000000000000000000..19a966671888a9cd79fce910d7227111ac1b4279 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-weak-map.js @@ -0,0 +1,44 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `WeakMap` class.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-weak-map.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' class is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + WeakMap: { [READ]: true }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-weak-set.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-weak-set.js new file mode 100644 index 0000000000000000000000000000000000000000..f6e451bb201437a1fd99476f4e77bb857c4fce9f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-weak-set.js @@ -0,0 +1,44 @@ +/** + * @author Toru Nagashima + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: "disallow the `WeakSet` class.", + category: "ES2015", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-weak-set.html", + }, + fixable: null, + messages: { + forbidden: "ES2015 '{{name}}' class is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + WeakSet: { [READ]: true }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-weakrefs.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-weakrefs.js new file mode 100644 index 0000000000000000000000000000000000000000..d50ee39d9b415f020d67b99a7057e461c3605bd7 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/rules/no-weakrefs.js @@ -0,0 +1,46 @@ +/** + * @author Yosuke Ota + * See LICENSE file in root directory for full license. + */ +"use strict" + +const { READ, ReferenceTracker } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { + meta: { + docs: { + description: + "disallow the `WeakRef` and `FinalizationRegistry` class.", + category: "ES2021", + recommended: false, + url: "http://eslint-community.github.io/eslint-plugin-es-x/rules/no-weakrefs.html", + }, + fixable: null, + messages: { + forbidden: "ES2021 '{{name}}' class is forbidden.", + }, + schema: [], + type: "problem", + }, + create(context) { + return { + "Program:exit"(program) { + const sourceCode = getSourceCode(context) + const tracker = new ReferenceTracker( + sourceCode.getScope(program), + ) + for (const { node, path } of tracker.iterateGlobalReferences({ + FinalizationRegistry: { [READ]: true }, + WeakRef: { [READ]: true }, + })) { + context.report({ + node, + messageId: "forbidden", + data: { name: path.join(".") }, + }) + } + }, + } + }, +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/util/define-prototype-method-handler/index.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/util/define-prototype-method-handler/index.js new file mode 100644 index 0000000000000000000000000000000000000000..aff09e233792fe49f3c99a17118a18f799ddede4 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/util/define-prototype-method-handler/index.js @@ -0,0 +1,161 @@ +"use strict" + +const { getPropertyName } = require("@eslint-community/eslint-utils") +const { buildObjectTypeChecker } = require("./object-type-checker") +const { buildObjectTypeCheckerForTS } = require("./object-type-checker-for-ts") +const { getSourceCode } = require("eslint-compat-utils") + +/** + * @typedef {object} CreateReportArgument + * @property {true | 'aggressive'} objectTypeResult + * @property {string} className + * @property {string} propertyName + * @property {MemberExpression} node + */ +/** + * @typedef {object} Options + * @property { (arg: CreateReportArgument) => ReportDescriptor } [Options.createReport] + */ + +/** + * Define handlers to disallow prototype methods. + * @param {RuleContext} context The rule context. + * @param {Record} nameMap The method names to disallow. The key is class names and that value is method names. + * @param {Options} [options] The options. + * @returns {Record void>} The defined handlers. + */ +function definePrototypeMethodHandler(context, nameMap, options) { + const sourceCode = getSourceCode(context) + const aggressiveOption = getAggressiveOption(context) + const aggressiveResult = aggressiveOption ? "aggressive" : false + + const objectTypeChecker = + buildObjectTypeCheckerForTS(context, aggressiveResult) || + buildObjectTypeChecker(context, aggressiveResult) + + /** + * Check if the type of the given node is one of given class or not. + * @param {MemberExpression} memberAccessNode The MemberExpression node. + * @param {string} className The class name to disallow. + * @returns {boolean | "aggressive"} `true` if should disallow it. + */ + function checkObjectType(memberAccessNode, className) { + // If it's obvious, shortcut. + if (memberAccessNode.object.type === "ArrayExpression") { + return className === "Array" + } + if ( + memberAccessNode.object.type === "Literal" && + memberAccessNode.object.regex + ) { + return className === "RegExp" + } + if ( + (memberAccessNode.object.type === "Literal" && + typeof memberAccessNode.object.value === "string") || + memberAccessNode.object.type === "TemplateLiteral" + ) { + return className === "String" + } + if ( + memberAccessNode.object.type === "FunctionExpression" || + memberAccessNode.object.type === "ArrowFunctionExpression" + ) { + return className === "Function" + } + + // Test object type. + return objectTypeChecker(memberAccessNode, className) + } + + // For performance + const nameMapEntries = Object.entries(nameMap) + if (nameMapEntries.length === 1) { + const [[className, methodNames]] = nameMapEntries + return { + MemberExpression(node) { + const propertyName = getPropertyName( + node, + sourceCode.getScope(node), + ) + let objectTypeResult = undefined + if ( + methodNames.includes(propertyName) && + (objectTypeResult = checkObjectType(node, className)) + ) { + context.report({ + node, + messageId: "forbidden", + data: { + name: `${className}.prototype.${propertyName}`, + }, + ...((options && + options.createReport && + options.createReport({ + objectTypeResult, + className, + propertyName, + node, + })) || + {}), + }) + } + }, + } + } + + return { + MemberExpression(node) { + const propertyName = getPropertyName( + node, + sourceCode.getScope(node), + ) + for (const [className, methodNames] of nameMapEntries) { + let objectTypeResult = undefined + if ( + methodNames.includes(propertyName) && + (objectTypeResult = checkObjectType(node, className)) + ) { + context.report({ + node, + messageId: "forbidden", + data: { + name: `${className}.prototype.${propertyName}`, + }, + ...((options && + options.createReport && + options.createReport({ + objectTypeResult, + className, + propertyName, + node, + })) || + {}), + }) + return + } + } + }, + } +} + +/** + * Get `aggressive` option value. + * @param {RuleContext} context The rule context. + * @returns {boolean} The gotten `aggressive` option value. + */ +function getAggressiveOption(context) { + const options = context.options[0] + const globalOptions = context.settings["es-x"] + + if (options && typeof options.aggressive === "boolean") { + return options.aggressive + } + if (globalOptions && typeof globalOptions.aggressive === "boolean") { + return globalOptions.aggressive + } + + return false +} + +module.exports = { definePrototypeMethodHandler } diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/util/define-prototype-method-handler/object-type-checker-for-ts.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/util/define-prototype-method-handler/object-type-checker-for-ts.js new file mode 100644 index 0000000000000000000000000000000000000000..fb0c2137f13765ab86424a97d078a64a7be3faaf --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/util/define-prototype-method-handler/object-type-checker-for-ts.js @@ -0,0 +1,322 @@ +"use strict" + +const { getSourceCode } = require("eslint-compat-utils") +const { optionalRequire } = require("../optional-require") +/** @type {import("typescript")} */ +const ts = optionalRequire(require, "typescript") + +module.exports = { buildObjectTypeCheckerForTS } + +/** + * @typedef {import("eslint").Rule.RuleContext} RuleContext + * @typedef {import("estree").MemberExpression} MemberExpression + */ +/** + * Build object type checker for TypeScript. + * @param {RuleContext} context The rule context. + * @param {boolean} aggressiveResult The value to return if the type cannot be determined. + * @returns {((memberAccessNode: MemberExpression, className: string) => boolean | "aggressive") | null} Returns an object type checker. Returns null if TypeScript is not available. + */ +function buildObjectTypeCheckerForTS(context, aggressiveResult) { + const sourceCode = getSourceCode(context) + /** @type {ReadonlyMap} */ + const tsNodeMap = sourceCode.parserServices.esTreeNodeToTSNodeMap + /** @type {import("typescript").TypeChecker} */ + const checker = + sourceCode.parserServices.program && + sourceCode.parserServices.program.getTypeChecker() + + const isTS = Boolean(ts && tsNodeMap && checker) + if (!isTS) { + return null + } + const hasFullType = + sourceCode.parserServices.hasFullTypeInformation !== false + + return function (memberAccessNode, className) { + return ( + checkByPropertyDeclaration(memberAccessNode, className) || + checkByObjectExpressionType(memberAccessNode, className) + ) + } + + /** + * Check if the type of the given node by the declaration of `node.property`. + * @param {MemberExpression} memberAccessNode The MemberExpression node. + * @param {string} className The class name to disallow. + * @returns {boolean} `true` if should disallow it. + */ + function checkByPropertyDeclaration(memberAccessNode, className) { + const tsNode = tsNodeMap.get(memberAccessNode.property) + const symbol = tsNode && checker.getSymbolAtLocation(tsNode) + const declarations = symbol && symbol.declarations + + if (declarations) { + for (const declaration of declarations) { + const type = checker.getTypeAtLocation(declaration.parent) + if (type && typeEquals(type, className)) { + return true + } + } + } + + return false + } + + /** + * Check if the type of the given node by the type of `node.object`. + * @param {MemberExpression} memberAccessNode The MemberExpression node. + * @param {string} className The class name to disallow. + * @returns {boolean} `true` if should disallow it. + */ + function checkByObjectExpressionType(memberAccessNode, className) { + const tsNode = tsNodeMap.get(memberAccessNode.object) + const type = checker.getTypeAtLocation(tsNode) + return typeEquals(type, className) + } + + /** + * Check if the name of the given type is expected or not. + * @param {import("typescript").Type} type The type to check. + * @param {string} className The expected type name. + * @returns {boolean} `true` if should disallow it. + */ + function typeEquals(type, className) { + // console.log( + // "typeEquals(%o, %o)", + // { + // name: isClassOrInterface(type) + // ? type.symbol.escapedName + // : checker.typeToString(type), + // flags: Object.entries(ts.TypeFlags) + // .filter( + // ([_id, flag]) => + // typeof flag === "number" && + // (type.flags & flag) === flag, + // ) + // .map(([id]) => id) + // .join("|"), + // objectFlags: + // type.objectFlags == null + // ? undefined + // : Object.entries(ts.ObjectFlags) + // .filter( + // ([_id, flag]) => + // typeof flag === "number" && + // (type.objectFlags & flag) === flag, + // ) + // .map(([id]) => id) + // .join("|"), + // "symbol.flags": !type.symbol + // ? undefined + // : Object.entries(ts.SymbolFlags) + // .filter( + // ([_id, flag]) => + // typeof flag === "number" && + // (type.symbol.flags & flag) === flag, + // ) + // .map(([id]) => id) + // .join("|"), + // }, + // className, + // ) + if (isFunction(type)) { + return className === "Function" + } + if (isAny(type) || isUnknown(type)) { + return aggressiveResult + } + if (isAnonymousObject(type)) { + // In non full-type mode, array types (e.g. `any[]`) become anonymous object type. + return hasFullType ? false : aggressiveResult + } + + if (isStringLike(type)) { + return className === "String" + } + if (isArrayLikeObject(type)) { + return className === "Array" + } + + if (isReferenceObject(type) && type.target !== type) { + return typeEquals(type.target, className) + } + if (isTypeParameter(type)) { + const constraintType = getConstraintType(type) + if (constraintType) { + return typeEquals(constraintType, className) + } + return hasFullType ? false : aggressiveResult + } + if (isUnionOrIntersection(type)) { + return type.types.some((t) => typeEquals(t, className)) + } + + if (isClassOrInterface(type)) { + return typeSymbolEscapedNameEquals(type, className) + } + return checker.typeToString(type) === className + } + + /** + * Check if the symbol.escapedName of the given type is expected or not. + * @param {import("typescript").InterfaceType} type The type to check. + * @param {string} className The expected type name. + * @returns {boolean} `true` if should disallow it. + */ + function typeSymbolEscapedNameEquals(type, className) { + const symbol = type.symbol + if (!className.includes(".")) { + const escapedName = symbol.escapedName + return ( + escapedName === className || + // ReadonlyArray, ReadonlyMap, ReadonlySet + escapedName === `Readonly${className}` || + // CallableFunction + (className === "Function" && escapedName === "CallableFunction") + ) + } + return checker.getFullyQualifiedName(symbol) === className + } + + /** + * Get the constraint type of a given type parameter type if exists. + * + * `type.getConstraint()` method doesn't return the constraint type of the + * type parameter for some reason. So this gets the constraint type via AST. + * + * @param {import("typescript").TypeParameter} type The type parameter type to get. + * @returns {import("typescript").Type | undefined} The constraint type. + */ + function getConstraintType(type) { + const symbol = type.symbol + const declarations = symbol && symbol.declarations + const declaration = declarations && declarations[0] + if ( + ts.isTypeParameterDeclaration(declaration) && + declaration.constraint != null + ) { + return checker.getTypeFromTypeNode(declaration.constraint) + } + return undefined + } +} + +/** + * Check if a given type is an anonymous object type or not. + * @param {import("typescript").Type} type The type to check. + * @returns {type is import("typescript").ObjectType} `true` if the type is an anonymous object type. + */ +function isAnonymousObject(type) { + return isObject(type) && (type.objectFlags & ts.ObjectFlags.Anonymous) !== 0 +} + +/** + * Check if a given type is `any` or not. + * @param {import("typescript").Type} type The type to check. + * @returns {boolean} `true` if the type is `any`. + */ +function isAny(type) { + return (type.flags & ts.TypeFlags.Any) !== 0 +} + +/** + * Check if a given type is an array-like type or not. + * @param {import("typescript").Type} type The type to check. + * @returns {type is import("typescript").ObjectType} `true` if the type is an array-like type. + */ +function isArrayLikeObject(type) { + return ( + isObject(type) && + (type.objectFlags & + (ts.ObjectFlags.ArrayLiteral | + ts.ObjectFlags.EvolvingArray | + ts.ObjectFlags.Tuple)) !== + 0 + ) +} + +/** + * Check if a given type is an interface type or not. + * @param {import("typescript").Type} type The type to check. + * @returns {type is import("typescript").InterfaceType} `true` if the type is an interface type. + */ +function isClassOrInterface(type) { + return ( + isObject(type) && + (type.objectFlags & ts.ObjectFlags.ClassOrInterface) !== 0 + ) +} + +/** + * Check if a given type is an object type or not. + * @param {import("typescript").Type} type The type to check. + * @returns {type is import("typescript").ObjectType} `true` if the type is an object type. + */ +function isObject(type) { + return (type.flags & ts.TypeFlags.Object) !== 0 +} + +/** + * Check if a given type is a reference type or not. + * @param {import("typescript").Type} type The type to check. + * @returns {type is import("typescript").TypeReference} `true` if the type is a reference type. + */ +function isReferenceObject(type) { + return isObject(type) && (type.objectFlags & ts.ObjectFlags.Reference) !== 0 +} + +/** + * Check if a given type is a string-like type or not. + * @param {import("typescript").Type} type The type to check. + * @returns {boolean} `true` if the type is a string-like type. + */ +function isStringLike(type) { + return (type.flags & ts.TypeFlags.StringLike) !== 0 +} + +/** + * Check if a given type is a type parameter type or not. + * @param {import("typescript").Type} type The type to check. + * @returns {boolean} `true` if the type is a type parameter type. + */ +function isTypeParameter(type) { + return (type.flags & ts.TypeFlags.TypeParameter) !== 0 +} + +/** + * Check if a given type is a union-or-intersection type or not. + * @param {import("typescript").Type} type The type to check. + * @returns {type is import("typescript").UnionOrIntersectionType} `true` if the type is a union-or-intersection type. + */ +function isUnionOrIntersection(type) { + return (type.flags & ts.TypeFlags.UnionOrIntersection) !== 0 +} + +/** + * Check if a given type is `unknown` or not. + * @param {import("typescript").Type} type The type to check. + * @returns {boolean} `true` if the type is `unknown`. + */ +function isUnknown(type) { + return (type.flags & ts.TypeFlags.Unknown) !== 0 +} + +/** + * Check if a given type is `function` or not. + * @param {import("typescript").Type} type The type to check. + * @returns {boolean} `true` if the type is `function`. + */ +function isFunction(type) { + if ( + type.symbol && + (type.symbol.flags & + (ts.SymbolFlags.Function | ts.SymbolFlags.Method)) !== + 0 + ) { + return true + } + + const signatures = type.getCallSignatures() + return signatures.length > 0 +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/util/define-prototype-method-handler/object-type-checker.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/util/define-prototype-method-handler/object-type-checker.js new file mode 100644 index 0000000000000000000000000000000000000000..8d6d39e91297ae60bb5884003eec3d4e2d93a921 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-es-x/lib/util/define-prototype-method-handler/object-type-checker.js @@ -0,0 +1,477 @@ +"use strict" + +const { findVariable } = require("@eslint-community/eslint-utils") +const { getSourceCode } = require("eslint-compat-utils") + +module.exports = { buildObjectTypeChecker, buildExpressionTypeProvider } + +/** + * @typedef {import("eslint").Rule.RuleContext} RuleContext + * @typedef {import("estree").MemberExpression} MemberExpression + * @typedef {import("estree").Expression} Expression + */ + +/** + * @typedef {"Array" + * | "Date" + * | "Function" + * | "Intl.Collator" + * | "Intl.DateTimeFormat" + * | "Intl.ListFormat" + * | "Intl.NumberFormat" + * | "Intl.PluralRules" + * | "Intl.RelativeTimeFormat" + * | "Intl.Segmenter" + * | "Promise" + * | "RegExp" + * | "String" + * | "Symbol" + * | "Int8Array" + * | "Uint8Array" + * | "Uint8ClampedArray" + * | "Int16Array" + * | "Uint16Array" + * | "Int32Array" + * | "Uint32Array" + * | "Float32Array" + * | "Float64Array" + * | "BigInt64Array" + * | "BigUint64Array" + * | "Object" + * | "Number" + * | "Boolean" + * | "BigInt" + * | "null" + * | "undefined" + * } TypeName + */ + +/** + * @typedef {Record< + * string, + * WellKnownGlobalFunction + * | WellKnownGlobalObject + * | { type: "undefined" } + * | { type: "Number" } + * | undefined> + * } WellKnownGlobals + */ +/** + * @typedef {object} WellKnownGlobalFunction + * @property {"Function"} type + * @property {TypeName} returnType + */ +/** + * @typedef {object} WellKnownGlobalObject + * @property {"Object"} type + * @property {WellKnownGlobals} properties + */ + +/** @type {WellKnownGlobals} */ +const WELLKNOWN_GLOBALS = { + String: { type: "Function", returnType: "String" }, + Number: { type: "Function", returnType: "Number" }, + Boolean: { type: "Function", returnType: "Boolean" }, + Symbol: { type: "Function", returnType: "Symbol" }, + BigInt: { type: "Function", returnType: "BigInt" }, + Object: { type: "Function", returnType: "Object" }, + Function: { type: "Function", returnType: "Function" }, + Array: { type: "Function", returnType: "Array" }, + RegExp: { type: "Function", returnType: "RegExp" }, + Date: { type: "Function", returnType: "Date" }, + Promise: { type: "Function", returnType: "Promise" }, + Int8Array: { type: "Function", returnType: "Int8Array" }, + Uint8Array: { type: "Function", returnType: "Uint8Array" }, + Uint8ClampedArray: { type: "Function", returnType: "Uint8ClampedArray" }, + Int16Array: { type: "Function", returnType: "Int16Array" }, + Uint16Array: { type: "Function", returnType: "Uint16Array" }, + Int32Array: { type: "Function", returnType: "Int32Array" }, + Uint32Array: { type: "Function", returnType: "Uint32Array" }, + Float32Array: { type: "Function", returnType: "Float32Array" }, + Float64Array: { type: "Function", returnType: "Float64Array" }, + BigInt64Array: { type: "Function", returnType: "BigInt64Array" }, + BigUint64Array: { type: "Function", returnType: "BigUint64Array" }, + ArrayBuffer: { type: "Function", returnType: "ArrayBuffer" }, + SharedArrayBuffer: { type: "Function", returnType: "SharedArrayBuffer" }, + Intl: { + type: "Object", + properties: { + Collator: { type: "Function", returnType: "Intl.Collator" }, + DateTimeFormat: { + type: "Function", + returnType: "Intl.DateTimeFormat", + }, + ListFormat: { + type: "Function", + returnType: "Intl.ListFormat", + }, + NumberFormat: { + type: "Function", + returnType: "Intl.NumberFormat", + }, + PluralRules: { + type: "Function", + returnType: "Intl.PluralRules", + }, + RelativeTimeFormat: { + type: "Function", + returnType: "Intl.RelativeTimeFormat", + }, + Segmenter: { type: "Function", returnType: "Intl.Segmenter" }, + }, + }, + undefined: { type: "undefined" }, + NaN: { type: "Number" }, + Infinity: { type: "Number" }, +} + +/** + * Build object type checker. + * @param {RuleContext} context The rule context. + * @param {boolean} aggressiveResult The value to return if the type cannot be determined. + * @returns {((memberAccessNode: MemberExpression, className: string) => boolean)} Returns an object type checker. + */ +function buildObjectTypeChecker(context, aggressiveResult) { + const getType = buildExpressionTypeProvider(context) + return function (memberAccessNode, className) { + const type = getType(memberAccessNode.object) + if (type == null) { + return aggressiveResult + } + return type === className + } +} + +const cache = new WeakMap() + +/** + * Build expression type provider. + * @param {RuleContext} context The rule context. + * @returns {((node: Expression) => TypeName | null)} Returns an expression type provider. + */ +function buildExpressionTypeProvider(context) { + const key = getSourceCode(context).ast + let result = cache.get(key) + if (!result) { + cache.set(key, (result = buildExpressionTypeProviderImpl(context))) + } + return result +} + +/** + * Build expression type provider. + * @param {RuleContext} context The rule context. + * @returns {((node: Expression) => TypeName | null)} Returns an expression type provider. + */ +function buildExpressionTypeProviderImpl(context) { + /** @type {Record TypeName | null>} */ + const GET_TYPES = { + ArrayExpression: () => "Array", + ObjectExpression: () => "Object", + ArrowFunctionExpression: () => "Function", + FunctionExpression: () => "Function", + Literal: getLiteralType, + TemplateLiteral: () => "String", + Identifier: getIdentifierType, + /** @param {import("estree").BinaryExpression} node */ + BinaryExpression: (node) => + getOperatorType(node.operator, node.left, node.right), + /** @param {import("estree").LogicalExpression} node */ + LogicalExpression: (node) => + getOperatorType(node.operator, node.left, node.right), + /** @param {import("estree").AssignmentExpression} node */ + AssignmentExpression: (node) => + getOperatorType(node.operator, node.left, node.right), + UnaryExpression: getUnaryExpressionType, + UpdateExpression: () => "Number", + ClassExpression: () => "Function", + ChainExpression: (node) => getType(node.expression), + /** @param {import("estree").SequenceExpression} node */ + SequenceExpression: (node) => + getType(node.expressions[node.expressions.length - 1]), + CallExpression: getCallExpressionType, + NewExpression: getCallExpressionType, + TaggedTemplateExpression: getCallExpressionType, + /** @param {import("estree").ConditionalExpression} node */ + ConditionalExpression(node) { + const consequent = getType(node.consequent) + const alternate = getType(node.alternate) + return consequent === alternate ? consequent : null + }, + } + + const tracked = new Map() + return getType + + /** + * Gets the type name of the given node. + * @param {Expression} node The Expression node + * @returns {TypeName | null} The type name of expression. + */ + function getType(node) { + if (tracked.has(node)) { + return tracked.get(node) + } + tracked.set(node, null) + try { + const result = GET_TYPES[node.type]?.(node) ?? null + tracked.set(node, result) + return result + } catch { + return null + } + } + + /** + * @param {import("estree").Identifier} node + * @returns {import("eslint").Scope.Variable | null} + */ + function findVariableFromIdentifier(node) { + return findVariable( + getSourceCode(context).scopeManager.globalScope, + node, + ) + } + + /** + * @param {import("estree").Literal} node + * @returns {TypeName | null} + */ + function getLiteralType(node) { + if (node.regex) { + return "RegExp" + } + if (node.bigint) { + return "BigInt" + } + if (node.value == null) { + return "null" + } + const valueType = typeof node.value + if (valueType === "string") { + return "String" + } + if (valueType === "number") { + return "Number" + } + if (valueType === "boolean") { + return "Boolean" + } + return valueType[0].toUpperCase() + valueType.slice(1) + } + + /** + * @param {import("estree").Identifier} node + * @returns {TypeName | null} + */ + function getIdentifierType(node) { + const variable = findVariableFromIdentifier(node) + if (variable) { + if (variable.defs.length === 0) { + // It is a global variable + return WELLKNOWN_GLOBALS[node.name]?.type ?? null + } else if (variable.defs.length === 1) { + const def = variable.defs[0] + if (def.type === "Variable") { + if ( + // It has an initial value. + def.node.init && + // It does not write new values. + (def.parent.kind === "const" || + variable.references.every( + (ref) => + ref.isReadOnly() || + ref.identifier === def.name, + )) + ) { + // The type of the initial value is the type of the variable. + return getType(def.node.init) + } + } else if (def.type === "FunctionName") { + return "Function" + } + } + } + return null + } + + /** + * @param {import("estree").BinaryOperator + * | import("estree").LogicalOperator + * | import("estree").AssignmentOperator} operator + * @param {import("estree").Expression} leftNode + * @param {import("estree").Expression} rightNode + * @returns {TypeName | null} + */ + // eslint-disable-next-line complexity + function getOperatorType(operator, leftNode, rightNode) { + if (operator === "=") { + return getType(rightNode) + } + if (operator === "+" || operator === "+=") { + return getPlusOperatorType(leftNode, rightNode) + } + if ( + operator === "==" || + operator === "!=" || + operator === "===" || + operator === "!==" || + operator === "<" || + operator === "<=" || + operator === ">" || + operator === ">=" || + operator === "in" || + operator === "instanceof" + ) { + return "Boolean" + } + if ( + operator === "-" || + operator === "-=" || + operator === "*" || + operator === "*=" || + operator === "/" || + operator === "/=" || + operator === "%" || + operator === "%=" || + operator === "^" || + operator === "^=" || + operator === "**" || + operator === "**=" || + operator === "&" || + operator === "&=" || + operator === "|" || + operator === "|=" + ) { + const left = getType(leftNode) + const right = getType(rightNode) + if (left === "BigInt" || right === "BigInt") { + return "BigInt" + } + return left == null && right == null ? null : "Number" + } + if ( + operator === "<<" || + operator === "<<=" || + operator === ">>" || + operator === ">>=" || + operator === ">>>" || + operator === ">>>=" + ) { + return "Number" + } + if ( + operator === "&&" || + operator === "&&=" || + operator === "||" || + operator === "||=" || + operator === "??" || + operator === "??=" + ) { + const left = getType(leftNode) + const right = getType(rightNode) + return left === right ? left : null + } + return null + } + + /** + * @param {import("estree").Expression} leftNode + * @param {import("estree").Expression} rightNode + * @returns {TypeName | null} + */ + function getPlusOperatorType(leftNode, rightNode) { + const left = getType(leftNode) + const right = getType(rightNode) + if (left === "String" || right === "String") { + return "String" + } + if (left === "BigInt" || right === "BigInt") { + return "BigInt" + } + if (right === "Number") { + return "Number" + } + if (left === "Number") { + if (right === "null" || right === "undefined") { + return "Number" + } + } + if (right == null) { + return null + } + return "String" + } + + /** + * @param {import("estree").UnaryExpression} node + * @returns {TypeName | null} + */ + function getUnaryExpressionType(node) { + if (node.operator === "!" || node.operator === "delete") { + return "Boolean" + } + if (node.operator === "+") { + return "Number" + } + if (node.operator === "-" || node.operator === "~") { + const argument = getType(node.argument) + if (argument === "BigInt") { + return argument + } + return argument == null ? null : "Number" + } + if (node.operator === "typeof") { + return "String" + } + if (node.operator === "void") { + return "undefined" + } + return null + } + + /** + * @param {import("estree").SimpleCallExpression | import("estree").NewExpression | import("estree").TaggedTemplateExpression} node + * @returns {TypeName | null} + */ + + function getCallExpressionType(node) { + const callee = + node.type === "CallExpression" || node.type === "NewExpression" + ? node.callee + : node.tag + if (callee.type === "Identifier") { + if (!isGlobalObject(callee)) { + return null + } + const obj = WELLKNOWN_GLOBALS[callee.name] + return obj?.type === "Function" ? obj.returnType : null + } else if (callee.type === "MemberExpression") { + if ( + callee.computed || + callee.property.type !== "Identifier" || + !isGlobalObject(callee.object) + ) { + return null + } + const obj = WELLKNOWN_GLOBALS[callee.object.name] + if (obj?.type === "Object") { + const prop = obj.properties[callee.property.name] + return prop?.type === "Function" ? prop.returnType : null + } + } + return null + } + + /** + * @param {import("estree").Node} node + * @returns {node is import("estree").Identifier} + */ + function isGlobalObject(node) { + if (node.type !== "Identifier") { + return false + } + const variable = findVariableFromIdentifier(node) + return Boolean(variable && variable.defs.length === 0) + } +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js new file mode 100644 index 0000000000000000000000000000000000000000..441442f8535bcd534748c1664afd6677b10744c3 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js @@ -0,0 +1,2458 @@ +/** + * @license React + * eslint-plugin-react-hooks.development.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +'use strict'; + +if (process.env.NODE_ENV !== "production") { + (function() { +'use strict'; + +function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return _arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); +} + +function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; + + return arr2; +} + +function _createForOfIteratorHelper(o, allowArrayLike) { + var it; + + if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { + if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { + if (it) o = it; + var i = 0; + + var F = function () {}; + + return { + s: F, + n: function () { + if (i >= o.length) return { + done: true + }; + return { + done: false, + value: o[i++] + }; + }, + e: function (e) { + throw e; + }, + f: F + }; + } + + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + + var normalCompletion = true, + didErr = false, + err; + return { + s: function () { + it = o[Symbol.iterator](); + }, + n: function () { + var step = it.next(); + normalCompletion = step.done; + return step; + }, + e: function (e) { + didErr = true; + err = e; + }, + f: function () { + try { + if (!normalCompletion && it.return != null) it.return(); + } finally { + if (didErr) throw err; + } + } + }; +} + +/* global BigInt */ + +function isHookName(s) { + return /^use[A-Z0-9].*$/.test(s); +} +/** + * We consider hooks to be a hook name identifier or a member expression + * containing a hook name. + */ + + +function isHook(node) { + if (node.type === 'Identifier') { + return isHookName(node.name); + } else if (node.type === 'MemberExpression' && !node.computed && isHook(node.property)) { + var obj = node.object; + var isPascalCaseNameSpace = /^[A-Z].*/; + return obj.type === 'Identifier' && isPascalCaseNameSpace.test(obj.name); + } else { + return false; + } +} +/** + * Checks if the node is a React component name. React component names must + * always start with a non-lowercase letter. So `MyComponent` or `_MyComponent` + * are valid component names for instance. + */ + + +function isComponentName(node) { + if (node.type === 'Identifier') { + return !/^[a-z]/.test(node.name); + } else { + return false; + } +} + +function isReactFunction(node, functionName) { + return node.name === functionName || node.type === 'MemberExpression' && node.object.name === 'React' && node.property.name === functionName; +} +/** + * Checks if the node is a callback argument of forwardRef. This render function + * should follow the rules of hooks. + */ + + +function isForwardRefCallback(node) { + return !!(node.parent && node.parent.callee && isReactFunction(node.parent.callee, 'forwardRef')); +} +/** + * Checks if the node is a callback argument of React.memo. This anonymous + * functional component should follow the rules of hooks. + */ + + +function isMemoCallback(node) { + return !!(node.parent && node.parent.callee && isReactFunction(node.parent.callee, 'memo')); +} + +function isInsideComponentOrHook(node) { + while (node) { + var functionName = getFunctionName(node); + + if (functionName) { + if (isComponentName(functionName) || isHook(functionName)) { + return true; + } + } + + if (isForwardRefCallback(node) || isMemoCallback(node)) { + return true; + } + + node = node.parent; + } + + return false; +} + +var RulesOfHooks = { + meta: { + type: 'problem', + docs: { + description: 'enforces the Rules of Hooks', + recommended: true, + url: 'https://reactjs.org/docs/hooks-rules.html' + } + }, + create: function (context) { + var codePathReactHooksMapStack = []; + var codePathSegmentStack = []; + return { + // Maintain code segment path stack as we traverse. + onCodePathSegmentStart: function (segment) { + return codePathSegmentStack.push(segment); + }, + onCodePathSegmentEnd: function () { + return codePathSegmentStack.pop(); + }, + // Maintain code path stack as we traverse. + onCodePathStart: function () { + return codePathReactHooksMapStack.push(new Map()); + }, + // Process our code path. + // + // Everything is ok if all React Hooks are both reachable from the initial + // segment and reachable from every final segment. + onCodePathEnd: function (codePath, codePathNode) { + var reactHooksMap = codePathReactHooksMapStack.pop(); + + if (reactHooksMap.size === 0) { + return; + } // All of the segments which are cyclic are recorded in this set. + + + var cyclic = new Set(); + /** + * Count the number of code paths from the start of the function to this + * segment. For example: + * + * ```js + * function MyComponent() { + * if (condition) { + * // Segment 1 + * } else { + * // Segment 2 + * } + * // Segment 3 + * } + * ``` + * + * Segments 1 and 2 have one path to the beginning of `MyComponent` and + * segment 3 has two paths to the beginning of `MyComponent` since we + * could have either taken the path of segment 1 or segment 2. + * + * Populates `cyclic` with cyclic segments. + */ + + function countPathsFromStart(segment, pathHistory) { + var cache = countPathsFromStart.cache; + var paths = cache.get(segment.id); + var pathList = new Set(pathHistory); // If `pathList` includes the current segment then we've found a cycle! + // We need to fill `cyclic` with all segments inside cycle + + if (pathList.has(segment.id)) { + var pathArray = [].concat(pathList); + var cyclicSegments = pathArray.slice(pathArray.indexOf(segment.id) + 1); + + var _iterator = _createForOfIteratorHelper(cyclicSegments), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var cyclicSegment = _step.value; + cyclic.add(cyclicSegment); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + + return BigInt('0'); + } // add the current segment to pathList + + + pathList.add(segment.id); // We have a cached `paths`. Return it. + + if (paths !== undefined) { + return paths; + } + + if (codePath.thrownSegments.includes(segment)) { + paths = BigInt('0'); + } else if (segment.prevSegments.length === 0) { + paths = BigInt('1'); + } else { + paths = BigInt('0'); + + var _iterator2 = _createForOfIteratorHelper(segment.prevSegments), + _step2; + + try { + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + var prevSegment = _step2.value; + paths += countPathsFromStart(prevSegment, pathList); + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + } // If our segment is reachable then there should be at least one path + // to it from the start of our code path. + + + if (segment.reachable && paths === BigInt('0')) { + cache.delete(segment.id); + } else { + cache.set(segment.id, paths); + } + + return paths; + } + /** + * Count the number of code paths from this segment to the end of the + * function. For example: + * + * ```js + * function MyComponent() { + * // Segment 1 + * if (condition) { + * // Segment 2 + * } else { + * // Segment 3 + * } + * } + * ``` + * + * Segments 2 and 3 have one path to the end of `MyComponent` and + * segment 1 has two paths to the end of `MyComponent` since we could + * either take the path of segment 1 or segment 2. + * + * Populates `cyclic` with cyclic segments. + */ + + + function countPathsToEnd(segment, pathHistory) { + var cache = countPathsToEnd.cache; + var paths = cache.get(segment.id); + var pathList = new Set(pathHistory); // If `pathList` includes the current segment then we've found a cycle! + // We need to fill `cyclic` with all segments inside cycle + + if (pathList.has(segment.id)) { + var pathArray = Array.from(pathList); + var cyclicSegments = pathArray.slice(pathArray.indexOf(segment.id) + 1); + + var _iterator3 = _createForOfIteratorHelper(cyclicSegments), + _step3; + + try { + for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) { + var cyclicSegment = _step3.value; + cyclic.add(cyclicSegment); + } + } catch (err) { + _iterator3.e(err); + } finally { + _iterator3.f(); + } + + return BigInt('0'); + } // add the current segment to pathList + + + pathList.add(segment.id); // We have a cached `paths`. Return it. + + if (paths !== undefined) { + return paths; + } + + if (codePath.thrownSegments.includes(segment)) { + paths = BigInt('0'); + } else if (segment.nextSegments.length === 0) { + paths = BigInt('1'); + } else { + paths = BigInt('0'); + + var _iterator4 = _createForOfIteratorHelper(segment.nextSegments), + _step4; + + try { + for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) { + var nextSegment = _step4.value; + paths += countPathsToEnd(nextSegment, pathList); + } + } catch (err) { + _iterator4.e(err); + } finally { + _iterator4.f(); + } + } + + cache.set(segment.id, paths); + return paths; + } + /** + * Gets the shortest path length to the start of a code path. + * For example: + * + * ```js + * function MyComponent() { + * if (condition) { + * // Segment 1 + * } + * // Segment 2 + * } + * ``` + * + * There is only one path from segment 1 to the code path start. Its + * length is one so that is the shortest path. + * + * There are two paths from segment 2 to the code path start. One + * through segment 1 with a length of two and another directly to the + * start with a length of one. The shortest path has a length of one + * so we would return that. + */ + + + function shortestPathLengthToStart(segment) { + var cache = shortestPathLengthToStart.cache; + var length = cache.get(segment.id); // If `length` is null then we found a cycle! Return infinity since + // the shortest path is definitely not the one where we looped. + + if (length === null) { + return Infinity; + } // We have a cached `length`. Return it. + + + if (length !== undefined) { + return length; + } // Compute `length` and cache it. Guarding against cycles. + + + cache.set(segment.id, null); + + if (segment.prevSegments.length === 0) { + length = 1; + } else { + length = Infinity; + + var _iterator5 = _createForOfIteratorHelper(segment.prevSegments), + _step5; + + try { + for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) { + var prevSegment = _step5.value; + var prevLength = shortestPathLengthToStart(prevSegment); + + if (prevLength < length) { + length = prevLength; + } + } + } catch (err) { + _iterator5.e(err); + } finally { + _iterator5.f(); + } + + length += 1; + } + + cache.set(segment.id, length); + return length; + } + + countPathsFromStart.cache = new Map(); + countPathsToEnd.cache = new Map(); + shortestPathLengthToStart.cache = new Map(); // Count all code paths to the end of our component/hook. Also primes + // the `countPathsToEnd` cache. + + var allPathsFromStartToEnd = countPathsToEnd(codePath.initialSegment); // Gets the function name for our code path. If the function name is + // `undefined` then we know either that we have an anonymous function + // expression or our code path is not in a function. In both cases we + // will want to error since neither are React function components or + // hook functions - unless it is an anonymous function argument to + // forwardRef or memo. + + var codePathFunctionName = getFunctionName(codePathNode); // This is a valid code path for React hooks if we are directly in a React + // function component or we are in a hook function. + + var isSomewhereInsideComponentOrHook = isInsideComponentOrHook(codePathNode); + var isDirectlyInsideComponentOrHook = codePathFunctionName ? isComponentName(codePathFunctionName) || isHook(codePathFunctionName) : isForwardRefCallback(codePathNode) || isMemoCallback(codePathNode); // Compute the earliest finalizer level using information from the + // cache. We expect all reachable final segments to have a cache entry + // after calling `visitSegment()`. + + var shortestFinalPathLength = Infinity; + + var _iterator6 = _createForOfIteratorHelper(codePath.finalSegments), + _step6; + + try { + for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) { + var finalSegment = _step6.value; + + if (!finalSegment.reachable) { + continue; + } + + var length = shortestPathLengthToStart(finalSegment); + + if (length < shortestFinalPathLength) { + shortestFinalPathLength = length; + } + } // Make sure all React Hooks pass our lint invariants. Log warnings + // if not. + + } catch (err) { + _iterator6.e(err); + } finally { + _iterator6.f(); + } + + var _iterator7 = _createForOfIteratorHelper(reactHooksMap), + _step7; + + try { + for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) { + var _step7$value = _step7.value, + segment = _step7$value[0], + reactHooks = _step7$value[1]; + + // NOTE: We could report here that the hook is not reachable, but + // that would be redundant with more general "no unreachable" + // lint rules. + if (!segment.reachable) { + continue; + } // If there are any final segments with a shorter path to start then + // we possibly have an early return. + // + // If our segment is a final segment itself then siblings could + // possibly be early returns. + + + var possiblyHasEarlyReturn = segment.nextSegments.length === 0 ? shortestFinalPathLength <= shortestPathLengthToStart(segment) : shortestFinalPathLength < shortestPathLengthToStart(segment); // Count all the paths from the start of our code path to the end of + // our code path that go _through_ this segment. The critical piece + // of this is _through_. If we just call `countPathsToEnd(segment)` + // then we neglect that we may have gone through multiple paths to get + // to this point! Consider: + // + // ```js + // function MyComponent() { + // if (a) { + // // Segment 1 + // } else { + // // Segment 2 + // } + // // Segment 3 + // if (b) { + // // Segment 4 + // } else { + // // Segment 5 + // } + // } + // ``` + // + // In this component we have four code paths: + // + // 1. `a = true; b = true` + // 2. `a = true; b = false` + // 3. `a = false; b = true` + // 4. `a = false; b = false` + // + // From segment 3 there are two code paths to the end through segment + // 4 and segment 5. However, we took two paths to get here through + // segment 1 and segment 2. + // + // If we multiply the paths from start (two) by the paths to end (two) + // for segment 3 we get four. Which is our desired count. + + var pathsFromStartToEnd = countPathsFromStart(segment) * countPathsToEnd(segment); // Is this hook a part of a cyclic segment? + + var cycled = cyclic.has(segment.id); + + var _iterator8 = _createForOfIteratorHelper(reactHooks), + _step8; + + try { + for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) { + var hook = _step8.value; + + // Report an error if a hook may be called more then once. + if (cycled) { + context.report({ + node: hook, + message: "React Hook \"" + context.getSource(hook) + "\" may be executed " + 'more than once. Possibly because it is called in a loop. ' + 'React Hooks must be called in the exact same order in ' + 'every component render.' + }); + } // If this is not a valid code path for React hooks then we need to + // log a warning for every hook in this code path. + // + // Pick a special message depending on the scope this hook was + // called in. + + + if (isDirectlyInsideComponentOrHook) { + // Report an error if a hook does not reach all finalizing code + // path segments. + // + // Special case when we think there might be an early return. + if (!cycled && pathsFromStartToEnd !== allPathsFromStartToEnd) { + var message = "React Hook \"" + context.getSource(hook) + "\" is called " + 'conditionally. React Hooks must be called in the exact ' + 'same order in every component render.' + (possiblyHasEarlyReturn ? ' Did you accidentally call a React Hook after an' + ' early return?' : ''); + context.report({ + node: hook, + message: message + }); + } + } else if (codePathNode.parent && (codePathNode.parent.type === 'MethodDefinition' || codePathNode.parent.type === 'ClassProperty') && codePathNode.parent.value === codePathNode) { + // Custom message for hooks inside a class + var _message = "React Hook \"" + context.getSource(hook) + "\" cannot be called " + 'in a class component. React Hooks must be called in a ' + 'React function component or a custom React Hook function.'; + + context.report({ + node: hook, + message: _message + }); + } else if (codePathFunctionName) { + // Custom message if we found an invalid function name. + var _message2 = "React Hook \"" + context.getSource(hook) + "\" is called in " + ("function \"" + context.getSource(codePathFunctionName) + "\" ") + 'that is neither a React function component nor a custom ' + 'React Hook function.' + ' React component names must start with an uppercase letter.' + ' React Hook names must start with the word "use".'; + + context.report({ + node: hook, + message: _message2 + }); + } else if (codePathNode.type === 'Program') { + // These are dangerous if you have inline requires enabled. + var _message3 = "React Hook \"" + context.getSource(hook) + "\" cannot be called " + 'at the top level. React Hooks must be called in a ' + 'React function component or a custom React Hook function.'; + + context.report({ + node: hook, + message: _message3 + }); + } else { + // Assume in all other cases the user called a hook in some + // random function callback. This should usually be true for + // anonymous function expressions. Hopefully this is clarifying + // enough in the common case that the incorrect message in + // uncommon cases doesn't matter. + if (isSomewhereInsideComponentOrHook) { + var _message4 = "React Hook \"" + context.getSource(hook) + "\" cannot be called " + 'inside a callback. React Hooks must be called in a ' + 'React function component or a custom React Hook function.'; + + context.report({ + node: hook, + message: _message4 + }); + } + } + } + } catch (err) { + _iterator8.e(err); + } finally { + _iterator8.f(); + } + } + } catch (err) { + _iterator7.e(err); + } finally { + _iterator7.f(); + } + }, + // Missed opportunity...We could visit all `Identifier`s instead of all + // `CallExpression`s and check that _every use_ of a hook name is valid. + // But that gets complicated and enters type-system territory, so we're + // only being strict about hook calls for now. + CallExpression: function (node) { + if (isHook(node.callee)) { + // Add the hook node to a map keyed by the code path segment. We will + // do full code path analysis at the end of our code path. + var reactHooksMap = last(codePathReactHooksMapStack); + var codePathSegment = last(codePathSegmentStack); + var reactHooks = reactHooksMap.get(codePathSegment); + + if (!reactHooks) { + reactHooks = []; + reactHooksMap.set(codePathSegment, reactHooks); + } + + reactHooks.push(node.callee); + } + } + }; + } +}; +/** + * Gets the static name of a function AST node. For function declarations it is + * easy. For anonymous function expressions it is much harder. If you search for + * `IsAnonymousFunctionDefinition()` in the ECMAScript spec you'll find places + * where JS gives anonymous function expressions names. We roughly detect the + * same AST nodes with some exceptions to better fit our use case. + */ + +function getFunctionName(node) { + if (node.type === 'FunctionDeclaration' || node.type === 'FunctionExpression' && node.id) { + // function useHook() {} + // const whatever = function useHook() {}; + // + // Function declaration or function expression names win over any + // assignment statements or other renames. + return node.id; + } else if (node.type === 'FunctionExpression' || node.type === 'ArrowFunctionExpression') { + if (node.parent.type === 'VariableDeclarator' && node.parent.init === node) { + // const useHook = () => {}; + return node.parent.id; + } else if (node.parent.type === 'AssignmentExpression' && node.parent.right === node && node.parent.operator === '=') { + // useHook = () => {}; + return node.parent.left; + } else if (node.parent.type === 'Property' && node.parent.value === node && !node.parent.computed) { + // {useHook: () => {}} + // {useHook() {}} + return node.parent.key; // NOTE: We could also support `ClassProperty` and `MethodDefinition` + // here to be pedantic. However, hooks in a class are an anti-pattern. So + // we don't allow it to error early. + // + // class {useHook = () => {}} + // class {useHook() {}} + } else if (node.parent.type === 'AssignmentPattern' && node.parent.right === node && !node.parent.computed) { + // const {useHook = () => {}} = {}; + // ({useHook = () => {}} = {}); + // + // Kinda clowny, but we'd said we'd follow spec convention for + // `IsAnonymousFunctionDefinition()` usage. + return node.parent.left; + } else { + return undefined; + } + } else { + return undefined; + } +} +/** + * Convenience function for peeking the last item in a stack. + */ + + +function last(array) { + return array[array.length - 1]; +} + +/* eslint-disable no-for-of-loops/no-for-of-loops */ +var ExhaustiveDeps = { + meta: { + type: 'suggestion', + docs: { + description: 'verifies the list of dependencies for Hooks like useEffect and similar', + recommended: true, + url: 'https://github.com/facebook/react/issues/14920' + }, + fixable: 'code', + hasSuggestions: true, + schema: [{ + type: 'object', + additionalProperties: false, + enableDangerousAutofixThisMayCauseInfiniteLoops: false, + properties: { + additionalHooks: { + type: 'string' + }, + enableDangerousAutofixThisMayCauseInfiniteLoops: { + type: 'boolean' + } + } + }] + }, + create: function (context) { + // Parse the `additionalHooks` regex. + var additionalHooks = context.options && context.options[0] && context.options[0].additionalHooks ? new RegExp(context.options[0].additionalHooks) : undefined; + var enableDangerousAutofixThisMayCauseInfiniteLoops = context.options && context.options[0] && context.options[0].enableDangerousAutofixThisMayCauseInfiniteLoops || false; + var options = { + additionalHooks: additionalHooks, + enableDangerousAutofixThisMayCauseInfiniteLoops: enableDangerousAutofixThisMayCauseInfiniteLoops + }; + + function reportProblem(problem) { + if (enableDangerousAutofixThisMayCauseInfiniteLoops) { + // Used to enable legacy behavior. Dangerous. + // Keep this as an option until major IDEs upgrade (including VSCode FB ESLint extension). + if (Array.isArray(problem.suggest) && problem.suggest.length > 0) { + problem.fix = problem.suggest[0].fix; + } + } + + context.report(problem); + } + + var scopeManager = context.getSourceCode().scopeManager; // Should be shared between visitors. + + var setStateCallSites = new WeakMap(); + var stateVariables = new WeakSet(); + var stableKnownValueCache = new WeakMap(); + var functionWithoutCapturedValueCache = new WeakMap(); + + function memoizeWithWeakMap(fn, map) { + return function (arg) { + if (map.has(arg)) { + // to verify cache hits: + // console.log(arg.name) + return map.get(arg); + } + + var result = fn(arg); + map.set(arg, result); + return result; + }; + } + /** + * Visitor for both function expressions and arrow function expressions. + */ + + + function visitFunctionWithDependencies(node, declaredDependenciesNode, reactiveHook, reactiveHookName, isEffect) { + if (isEffect && node.async) { + reportProblem({ + node: node, + message: "Effect callbacks are synchronous to prevent race conditions. " + "Put the async function inside:\n\n" + 'useEffect(() => {\n' + ' async function fetchData() {\n' + ' // You can await here\n' + ' const response = await MyAPI.getData(someId);\n' + ' // ...\n' + ' }\n' + ' fetchData();\n' + "}, [someId]); // Or [] if effect doesn't need props or state\n\n" + 'Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching' + }); + } // Get the current scope. + + + var scope = scopeManager.acquire(node); // Find all our "pure scopes". On every re-render of a component these + // pure scopes may have changes to the variables declared within. So all + // variables used in our reactive hook callback but declared in a pure + // scope need to be listed as dependencies of our reactive hook callback. + // + // According to the rules of React you can't read a mutable value in pure + // scope. We can't enforce this in a lint so we trust that all variables + // declared outside of pure scope are indeed frozen. + + var pureScopes = new Set(); + var componentScope = null; + { + var currentScope = scope.upper; + + while (currentScope) { + pureScopes.add(currentScope); + + if (currentScope.type === 'function') { + break; + } + + currentScope = currentScope.upper; + } // If there is no parent function scope then there are no pure scopes. + // The ones we've collected so far are incorrect. So don't continue with + // the lint. + + + if (!currentScope) { + return; + } + + componentScope = currentScope; + } + var isArray = Array.isArray; // Next we'll define a few helpers that helps us + // tell if some values don't have to be declared as deps. + // Some are known to be stable based on Hook calls. + // const [state, setState] = useState() / React.useState() + // ^^^ true for this reference + // const [state, dispatch] = useReducer() / React.useReducer() + // ^^^ true for this reference + // const ref = useRef() + // ^^^ true for this reference + // False for everything else. + + function isStableKnownHookValue(resolved) { + if (!isArray(resolved.defs)) { + return false; + } + + var def = resolved.defs[0]; + + if (def == null) { + return false; + } // Look for `let stuff = ...` + + + if (def.node.type !== 'VariableDeclarator') { + return false; + } + + var init = def.node.init; + + if (init == null) { + return false; + } + + while (init.type === 'TSAsExpression') { + init = init.expression; + } // Detect primitive constants + // const foo = 42 + + + var declaration = def.node.parent; + + if (declaration == null) { + // This might happen if variable is declared after the callback. + // In that case ESLint won't set up .parent refs. + // So we'll set them up manually. + fastFindReferenceWithParent(componentScope.block, def.node.id); + declaration = def.node.parent; + + if (declaration == null) { + return false; + } + } + + if (declaration.kind === 'const' && init.type === 'Literal' && (typeof init.value === 'string' || typeof init.value === 'number' || init.value === null)) { + // Definitely stable + return true; + } // Detect known Hook calls + // const [_, setState] = useState() + + + if (init.type !== 'CallExpression') { + return false; + } + + var callee = init.callee; // Step into `= React.something` initializer. + + if (callee.type === 'MemberExpression' && callee.object.name === 'React' && callee.property != null && !callee.computed) { + callee = callee.property; + } + + if (callee.type !== 'Identifier') { + return false; + } + + var id = def.node.id; + var _callee = callee, + name = _callee.name; + + if (name === 'useRef' && id.type === 'Identifier') { + // useRef() return value is stable. + return true; + } else if (name === 'useState' || name === 'useReducer') { + // Only consider second value in initializing tuple stable. + if (id.type === 'ArrayPattern' && id.elements.length === 2 && isArray(resolved.identifiers)) { + // Is second tuple value the same reference we're checking? + if (id.elements[1] === resolved.identifiers[0]) { + if (name === 'useState') { + var references = resolved.references; + var writeCount = 0; + + for (var i = 0; i < references.length; i++) { + if (references[i].isWrite()) { + writeCount++; + } + + if (writeCount > 1) { + return false; + } + + setStateCallSites.set(references[i].identifier, id.elements[0]); + } + } // Setter is stable. + + + return true; + } else if (id.elements[0] === resolved.identifiers[0]) { + if (name === 'useState') { + var _references = resolved.references; + + for (var _i = 0; _i < _references.length; _i++) { + stateVariables.add(_references[_i].identifier); + } + } // State variable itself is dynamic. + + + return false; + } + } + } else if (name === 'useTransition') { + // Only consider second value in initializing tuple stable. + if (id.type === 'ArrayPattern' && id.elements.length === 2 && Array.isArray(resolved.identifiers)) { + // Is second tuple value the same reference we're checking? + if (id.elements[1] === resolved.identifiers[0]) { + // Setter is stable. + return true; + } + } + } // By default assume it's dynamic. + + + return false; + } // Some are just functions that don't reference anything dynamic. + + + function isFunctionWithoutCapturedValues(resolved) { + if (!isArray(resolved.defs)) { + return false; + } + + var def = resolved.defs[0]; + + if (def == null) { + return false; + } + + if (def.node == null || def.node.id == null) { + return false; + } // Search the direct component subscopes for + // top-level function definitions matching this reference. + + + var fnNode = def.node; + var childScopes = componentScope.childScopes; + var fnScope = null; + var i; + + for (i = 0; i < childScopes.length; i++) { + var childScope = childScopes[i]; + var childScopeBlock = childScope.block; + + if ( // function handleChange() {} + fnNode.type === 'FunctionDeclaration' && childScopeBlock === fnNode || // const handleChange = () => {} + // const handleChange = function() {} + fnNode.type === 'VariableDeclarator' && childScopeBlock.parent === fnNode) { + // Found it! + fnScope = childScope; + break; + } + } + + if (fnScope == null) { + return false; + } // Does this function capture any values + // that are in pure scopes (aka render)? + + + for (i = 0; i < fnScope.through.length; i++) { + var ref = fnScope.through[i]; + + if (ref.resolved == null) { + continue; + } + + if (pureScopes.has(ref.resolved.scope) && // Stable values are fine though, + // although we won't check functions deeper. + !memoizedIsStableKnownHookValue(ref.resolved)) { + return false; + } + } // If we got here, this function doesn't capture anything + // from render--or everything it captures is known stable. + + + return true; + } // Remember such values. Avoid re-running extra checks on them. + + + var memoizedIsStableKnownHookValue = memoizeWithWeakMap(isStableKnownHookValue, stableKnownValueCache); + var memoizedIsFunctionWithoutCapturedValues = memoizeWithWeakMap(isFunctionWithoutCapturedValues, functionWithoutCapturedValueCache); // These are usually mistaken. Collect them. + + var currentRefsInEffectCleanup = new Map(); // Is this reference inside a cleanup function for this effect node? + // We can check by traversing scopes upwards from the reference, and checking + // if the last "return () => " we encounter is located directly inside the effect. + + function isInsideEffectCleanup(reference) { + var curScope = reference.from; + var isInReturnedFunction = false; + + while (curScope.block !== node) { + if (curScope.type === 'function') { + isInReturnedFunction = curScope.block.parent != null && curScope.block.parent.type === 'ReturnStatement'; + } + + curScope = curScope.upper; + } + + return isInReturnedFunction; + } // Get dependencies from all our resolved references in pure scopes. + // Key is dependency string, value is whether it's stable. + + + var dependencies = new Map(); + var optionalChains = new Map(); + gatherDependenciesRecursively(scope); + + function gatherDependenciesRecursively(currentScope) { + var _iterator = _createForOfIteratorHelper(currentScope.references), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var reference = _step.value; + + // If this reference is not resolved or it is not declared in a pure + // scope then we don't care about this reference. + if (!reference.resolved) { + continue; + } + + if (!pureScopes.has(reference.resolved.scope)) { + continue; + } // Narrow the scope of a dependency if it is, say, a member expression. + // Then normalize the narrowed dependency. + + + var referenceNode = fastFindReferenceWithParent(node, reference.identifier); + var dependencyNode = getDependency(referenceNode); + var dependency = analyzePropertyChain(dependencyNode, optionalChains); // Accessing ref.current inside effect cleanup is bad. + + if ( // We're in an effect... + isEffect && // ... and this look like accessing .current... + dependencyNode.type === 'Identifier' && (dependencyNode.parent.type === 'MemberExpression' || dependencyNode.parent.type === 'OptionalMemberExpression') && !dependencyNode.parent.computed && dependencyNode.parent.property.type === 'Identifier' && dependencyNode.parent.property.name === 'current' && // ...in a cleanup function or below... + isInsideEffectCleanup(reference)) { + currentRefsInEffectCleanup.set(dependency, { + reference: reference, + dependencyNode: dependencyNode + }); + } + + if (dependencyNode.parent.type === 'TSTypeQuery' || dependencyNode.parent.type === 'TSTypeReference') { + continue; + } + + var def = reference.resolved.defs[0]; + + if (def == null) { + continue; + } // Ignore references to the function itself as it's not defined yet. + + + if (def.node != null && def.node.init === node.parent) { + continue; + } // Ignore Flow type parameters + + + if (def.type === 'TypeParameter') { + continue; + } // Add the dependency to a map so we can make sure it is referenced + // again in our dependencies array. Remember whether it's stable. + + + if (!dependencies.has(dependency)) { + var resolved = reference.resolved; + var isStable = memoizedIsStableKnownHookValue(resolved) || memoizedIsFunctionWithoutCapturedValues(resolved); + dependencies.set(dependency, { + isStable: isStable, + references: [reference] + }); + } else { + dependencies.get(dependency).references.push(reference); + } + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + + var _iterator2 = _createForOfIteratorHelper(currentScope.childScopes), + _step2; + + try { + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + var childScope = _step2.value; + gatherDependenciesRecursively(childScope); + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + } // Warn about accessing .current in cleanup effects. + + + currentRefsInEffectCleanup.forEach(function (_ref, dependency) { + var reference = _ref.reference, + dependencyNode = _ref.dependencyNode; + var references = reference.resolved.references; // Is React managing this ref or us? + // Let's see if we can find a .current assignment. + + var foundCurrentAssignment = false; + + for (var i = 0; i < references.length; i++) { + var identifier = references[i].identifier; + var parent = identifier.parent; + + if (parent != null && // ref.current + // Note: no need to handle OptionalMemberExpression because it can't be LHS. + parent.type === 'MemberExpression' && !parent.computed && parent.property.type === 'Identifier' && parent.property.name === 'current' && // ref.current = + parent.parent.type === 'AssignmentExpression' && parent.parent.left === parent) { + foundCurrentAssignment = true; + break; + } + } // We only want to warn about React-managed refs. + + + if (foundCurrentAssignment) { + return; + } + + reportProblem({ + node: dependencyNode.parent.property, + message: "The ref value '" + dependency + ".current' will likely have " + "changed by the time this effect cleanup function runs. If " + "this ref points to a node rendered by React, copy " + ("'" + dependency + ".current' to a variable inside the effect, and ") + "use that variable in the cleanup function." + }); + }); // Warn about assigning to variables in the outer scope. + // Those are usually bugs. + + var staleAssignments = new Set(); + + function reportStaleAssignment(writeExpr, key) { + if (staleAssignments.has(key)) { + return; + } + + staleAssignments.add(key); + reportProblem({ + node: writeExpr, + message: "Assignments to the '" + key + "' variable from inside React Hook " + (context.getSource(reactiveHook) + " will be lost after each ") + "render. To preserve the value over time, store it in a useRef " + "Hook and keep the mutable value in the '.current' property. " + "Otherwise, you can move this variable directly inside " + (context.getSource(reactiveHook) + ".") + }); + } // Remember which deps are stable and report bad usage first. + + + var stableDependencies = new Set(); + dependencies.forEach(function (_ref2, key) { + var isStable = _ref2.isStable, + references = _ref2.references; + + if (isStable) { + stableDependencies.add(key); + } + + references.forEach(function (reference) { + if (reference.writeExpr) { + reportStaleAssignment(reference.writeExpr, key); + } + }); + }); + + if (staleAssignments.size > 0) { + // The intent isn't clear so we'll wait until you fix those first. + return; + } + + if (!declaredDependenciesNode) { + // Check if there are any top-level setState() calls. + // Those tend to lead to infinite loops. + var setStateInsideEffectWithoutDeps = null; + dependencies.forEach(function (_ref3, key) { + var isStable = _ref3.isStable, + references = _ref3.references; + + if (setStateInsideEffectWithoutDeps) { + return; + } + + references.forEach(function (reference) { + if (setStateInsideEffectWithoutDeps) { + return; + } + + var id = reference.identifier; + var isSetState = setStateCallSites.has(id); + + if (!isSetState) { + return; + } + + var fnScope = reference.from; + + while (fnScope.type !== 'function') { + fnScope = fnScope.upper; + } + + var isDirectlyInsideEffect = fnScope.block === node; + + if (isDirectlyInsideEffect) { + // TODO: we could potentially ignore early returns. + setStateInsideEffectWithoutDeps = key; + } + }); + }); + + if (setStateInsideEffectWithoutDeps) { + var _collectRecommendatio = collectRecommendations({ + dependencies: dependencies, + declaredDependencies: [], + stableDependencies: stableDependencies, + externalDependencies: new Set(), + isEffect: true + }), + _suggestedDependencies = _collectRecommendatio.suggestedDependencies; + + reportProblem({ + node: reactiveHook, + message: "React Hook " + reactiveHookName + " contains a call to '" + setStateInsideEffectWithoutDeps + "'. " + "Without a list of dependencies, this can lead to an infinite chain of updates. " + "To fix this, pass [" + _suggestedDependencies.join(', ') + ("] as a second argument to the " + reactiveHookName + " Hook."), + suggest: [{ + desc: "Add dependencies array: [" + _suggestedDependencies.join(', ') + "]", + fix: function (fixer) { + return fixer.insertTextAfter(node, ", [" + _suggestedDependencies.join(', ') + "]"); + } + }] + }); + } + + return; + } + + var declaredDependencies = []; + var externalDependencies = new Set(); + + if (declaredDependenciesNode.type !== 'ArrayExpression') { + // If the declared dependencies are not an array expression then we + // can't verify that the user provided the correct dependencies. Tell + // the user this in an error. + reportProblem({ + node: declaredDependenciesNode, + message: "React Hook " + context.getSource(reactiveHook) + " was passed a " + 'dependency list that is not an array literal. This means we ' + "can't statically verify whether you've passed the correct " + 'dependencies.' + }); + } else { + declaredDependenciesNode.elements.forEach(function (declaredDependencyNode) { + // Skip elided elements. + if (declaredDependencyNode === null) { + return; + } // If we see a spread element then add a special warning. + + + if (declaredDependencyNode.type === 'SpreadElement') { + reportProblem({ + node: declaredDependencyNode, + message: "React Hook " + context.getSource(reactiveHook) + " has a spread " + "element in its dependency array. This means we can't " + "statically verify whether you've passed the " + 'correct dependencies.' + }); + return; + } // Try to normalize the declared dependency. If we can't then an error + // will be thrown. We will catch that error and report an error. + + + var declaredDependency; + + try { + declaredDependency = analyzePropertyChain(declaredDependencyNode, null); + } catch (error) { + if (/Unsupported node type/.test(error.message)) { + if (declaredDependencyNode.type === 'Literal') { + if (dependencies.has(declaredDependencyNode.value)) { + reportProblem({ + node: declaredDependencyNode, + message: "The " + declaredDependencyNode.raw + " literal is not a valid dependency " + "because it never changes. " + ("Did you mean to include " + declaredDependencyNode.value + " in the array instead?") + }); + } else { + reportProblem({ + node: declaredDependencyNode, + message: "The " + declaredDependencyNode.raw + " literal is not a valid dependency " + 'because it never changes. You can safely remove it.' + }); + } + } else { + reportProblem({ + node: declaredDependencyNode, + message: "React Hook " + context.getSource(reactiveHook) + " has a " + "complex expression in the dependency array. " + 'Extract it to a separate variable so it can be statically checked.' + }); + } + + return; + } else { + throw error; + } + } + + var maybeID = declaredDependencyNode; + + while (maybeID.type === 'MemberExpression' || maybeID.type === 'OptionalMemberExpression' || maybeID.type === 'ChainExpression') { + maybeID = maybeID.object || maybeID.expression.object; + } + + var isDeclaredInComponent = !componentScope.through.some(function (ref) { + return ref.identifier === maybeID; + }); // Add the dependency to our declared dependency map. + + declaredDependencies.push({ + key: declaredDependency, + node: declaredDependencyNode + }); + + if (!isDeclaredInComponent) { + externalDependencies.add(declaredDependency); + } + }); + } + + var _collectRecommendatio2 = collectRecommendations({ + dependencies: dependencies, + declaredDependencies: declaredDependencies, + stableDependencies: stableDependencies, + externalDependencies: externalDependencies, + isEffect: isEffect + }), + suggestedDependencies = _collectRecommendatio2.suggestedDependencies, + unnecessaryDependencies = _collectRecommendatio2.unnecessaryDependencies, + missingDependencies = _collectRecommendatio2.missingDependencies, + duplicateDependencies = _collectRecommendatio2.duplicateDependencies; + + var suggestedDeps = suggestedDependencies; + var problemCount = duplicateDependencies.size + missingDependencies.size + unnecessaryDependencies.size; + + if (problemCount === 0) { + // If nothing else to report, check if some dependencies would + // invalidate on every render. + var constructions = scanForConstructions({ + declaredDependencies: declaredDependencies, + declaredDependenciesNode: declaredDependenciesNode, + componentScope: componentScope, + scope: scope + }); + constructions.forEach(function (_ref4) { + var construction = _ref4.construction, + isUsedOutsideOfHook = _ref4.isUsedOutsideOfHook, + depType = _ref4.depType; + var wrapperHook = depType === 'function' ? 'useCallback' : 'useMemo'; + var constructionType = depType === 'function' ? 'definition' : 'initialization'; + var defaultAdvice = "wrap the " + constructionType + " of '" + construction.name.name + "' in its own " + wrapperHook + "() Hook."; + var advice = isUsedOutsideOfHook ? "To fix this, " + defaultAdvice : "Move it inside the " + reactiveHookName + " callback. Alternatively, " + defaultAdvice; + var causation = depType === 'conditional' || depType === 'logical expression' ? 'could make' : 'makes'; + var message = "The '" + construction.name.name + "' " + depType + " " + causation + " the dependencies of " + (reactiveHookName + " Hook (at line " + declaredDependenciesNode.loc.start.line + ") ") + ("change on every render. " + advice); + var suggest; // Only handle the simple case of variable assignments. + // Wrapping function declarations can mess up hoisting. + + if (isUsedOutsideOfHook && construction.type === 'Variable' && // Objects may be mutated after construction, which would make this + // fix unsafe. Functions _probably_ won't be mutated, so we'll + // allow this fix for them. + depType === 'function') { + suggest = [{ + desc: "Wrap the " + constructionType + " of '" + construction.name.name + "' in its own " + wrapperHook + "() Hook.", + fix: function (fixer) { + var _ref5 = wrapperHook === 'useMemo' ? ["useMemo(() => { return ", '; })'] : ['useCallback(', ')'], + before = _ref5[0], + after = _ref5[1]; + + return [// TODO: also add an import? + fixer.insertTextBefore(construction.node.init, before), // TODO: ideally we'd gather deps here but it would require + // restructuring the rule code. This will cause a new lint + // error to appear immediately for useCallback. Note we're + // not adding [] because would that changes semantics. + fixer.insertTextAfter(construction.node.init, after)]; + } + }]; + } // TODO: What if the function needs to change on every render anyway? + // Should we suggest removing effect deps as an appropriate fix too? + + + reportProblem({ + // TODO: Why not report this at the dependency site? + node: construction.node, + message: message, + suggest: suggest + }); + }); + return; + } // If we're going to report a missing dependency, + // we might as well recalculate the list ignoring + // the currently specified deps. This can result + // in some extra deduplication. We can't do this + // for effects though because those have legit + // use cases for over-specifying deps. + + + if (!isEffect && missingDependencies.size > 0) { + suggestedDeps = collectRecommendations({ + dependencies: dependencies, + declaredDependencies: [], + // Pretend we don't know + stableDependencies: stableDependencies, + externalDependencies: externalDependencies, + isEffect: isEffect + }).suggestedDependencies; + } // Alphabetize the suggestions, but only if deps were already alphabetized. + + + function areDeclaredDepsAlphabetized() { + if (declaredDependencies.length === 0) { + return true; + } + + var declaredDepKeys = declaredDependencies.map(function (dep) { + return dep.key; + }); + var sortedDeclaredDepKeys = declaredDepKeys.slice().sort(); + return declaredDepKeys.join(',') === sortedDeclaredDepKeys.join(','); + } + + if (areDeclaredDepsAlphabetized()) { + suggestedDeps.sort(); + } // Most of our algorithm deals with dependency paths with optional chaining stripped. + // This function is the last step before printing a dependency, so now is a good time to + // check whether any members in our path are always used as optional-only. In that case, + // we will use ?. instead of . to concatenate those parts of the path. + + + function formatDependency(path) { + var members = path.split('.'); + var finalPath = ''; + + for (var i = 0; i < members.length; i++) { + if (i !== 0) { + var pathSoFar = members.slice(0, i + 1).join('.'); + var isOptional = optionalChains.get(pathSoFar) === true; + finalPath += isOptional ? '?.' : '.'; + } + + finalPath += members[i]; + } + + return finalPath; + } + + function getWarningMessage(deps, singlePrefix, label, fixVerb) { + if (deps.size === 0) { + return null; + } + + return (deps.size > 1 ? '' : singlePrefix + ' ') + label + ' ' + (deps.size > 1 ? 'dependencies' : 'dependency') + ': ' + joinEnglish(Array.from(deps).sort().map(function (name) { + return "'" + formatDependency(name) + "'"; + })) + (". Either " + fixVerb + " " + (deps.size > 1 ? 'them' : 'it') + " or remove the dependency array."); + } + + var extraWarning = ''; + + if (unnecessaryDependencies.size > 0) { + var badRef = null; + Array.from(unnecessaryDependencies.keys()).forEach(function (key) { + if (badRef !== null) { + return; + } + + if (key.endsWith('.current')) { + badRef = key; + } + }); + + if (badRef !== null) { + extraWarning = " Mutable values like '" + badRef + "' aren't valid dependencies " + "because mutating them doesn't re-render the component."; + } else if (externalDependencies.size > 0) { + var dep = Array.from(externalDependencies)[0]; // Don't show this warning for things that likely just got moved *inside* the callback + // because in that case they're clearly not referring to globals. + + if (!scope.set.has(dep)) { + extraWarning = " Outer scope values like '" + dep + "' aren't valid dependencies " + "because mutating them doesn't re-render the component."; + } + } + } // `props.foo()` marks `props` as a dependency because it has + // a `this` value. This warning can be confusing. + // So if we're going to show it, append a clarification. + + + if (!extraWarning && missingDependencies.has('props')) { + var propDep = dependencies.get('props'); + + if (propDep == null) { + return; + } + + var refs = propDep.references; + + if (!Array.isArray(refs)) { + return; + } + + var isPropsOnlyUsedInMembers = true; + + for (var i = 0; i < refs.length; i++) { + var ref = refs[i]; + var id = fastFindReferenceWithParent(componentScope.block, ref.identifier); + + if (!id) { + isPropsOnlyUsedInMembers = false; + break; + } + + var parent = id.parent; + + if (parent == null) { + isPropsOnlyUsedInMembers = false; + break; + } + + if (parent.type !== 'MemberExpression' && parent.type !== 'OptionalMemberExpression') { + isPropsOnlyUsedInMembers = false; + break; + } + } + + if (isPropsOnlyUsedInMembers) { + extraWarning = " However, 'props' will change when *any* prop changes, so the " + "preferred fix is to destructure the 'props' object outside of " + ("the " + reactiveHookName + " call and refer to those specific props ") + ("inside " + context.getSource(reactiveHook) + "."); + } + } + + if (!extraWarning && missingDependencies.size > 0) { + // See if the user is trying to avoid specifying a callable prop. + // This usually means they're unaware of useCallback. + var missingCallbackDep = null; + missingDependencies.forEach(function (missingDep) { + if (missingCallbackDep) { + return; + } // Is this a variable from top scope? + + + var topScopeRef = componentScope.set.get(missingDep); + var usedDep = dependencies.get(missingDep); + + if (usedDep.references[0].resolved !== topScopeRef) { + return; + } // Is this a destructured prop? + + + var def = topScopeRef.defs[0]; + + if (def == null || def.name == null || def.type !== 'Parameter') { + return; + } // Was it called in at least one case? Then it's a function. + + + var isFunctionCall = false; + var id; + + for (var _i2 = 0; _i2 < usedDep.references.length; _i2++) { + id = usedDep.references[_i2].identifier; + + if (id != null && id.parent != null && (id.parent.type === 'CallExpression' || id.parent.type === 'OptionalCallExpression') && id.parent.callee === id) { + isFunctionCall = true; + break; + } + } + + if (!isFunctionCall) { + return; + } // If it's missing (i.e. in component scope) *and* it's a parameter + // then it is definitely coming from props destructuring. + // (It could also be props itself but we wouldn't be calling it then.) + + + missingCallbackDep = missingDep; + }); + + if (missingCallbackDep !== null) { + extraWarning = " If '" + missingCallbackDep + "' changes too often, " + "find the parent component that defines it " + "and wrap that definition in useCallback."; + } + } + + if (!extraWarning && missingDependencies.size > 0) { + var setStateRecommendation = null; + missingDependencies.forEach(function (missingDep) { + if (setStateRecommendation !== null) { + return; + } + + var usedDep = dependencies.get(missingDep); + var references = usedDep.references; + var id; + var maybeCall; + + for (var _i3 = 0; _i3 < references.length; _i3++) { + id = references[_i3].identifier; + maybeCall = id.parent; // Try to see if we have setState(someExpr(missingDep)). + + while (maybeCall != null && maybeCall !== componentScope.block) { + if (maybeCall.type === 'CallExpression') { + var correspondingStateVariable = setStateCallSites.get(maybeCall.callee); + + if (correspondingStateVariable != null) { + if (correspondingStateVariable.name === missingDep) { + // setCount(count + 1) + setStateRecommendation = { + missingDep: missingDep, + setter: maybeCall.callee.name, + form: 'updater' + }; + } else if (stateVariables.has(id)) { + // setCount(count + increment) + setStateRecommendation = { + missingDep: missingDep, + setter: maybeCall.callee.name, + form: 'reducer' + }; + } else { + var resolved = references[_i3].resolved; + + if (resolved != null) { + // If it's a parameter *and* a missing dep, + // it must be a prop or something inside a prop. + // Therefore, recommend an inline reducer. + var def = resolved.defs[0]; + + if (def != null && def.type === 'Parameter') { + setStateRecommendation = { + missingDep: missingDep, + setter: maybeCall.callee.name, + form: 'inlineReducer' + }; + } + } + } + + break; + } + } + + maybeCall = maybeCall.parent; + } + + if (setStateRecommendation !== null) { + break; + } + } + }); + + if (setStateRecommendation !== null) { + switch (setStateRecommendation.form) { + case 'reducer': + extraWarning = " You can also replace multiple useState variables with useReducer " + ("if '" + setStateRecommendation.setter + "' needs the ") + ("current value of '" + setStateRecommendation.missingDep + "'."); + break; + + case 'inlineReducer': + extraWarning = " If '" + setStateRecommendation.setter + "' needs the " + ("current value of '" + setStateRecommendation.missingDep + "', ") + "you can also switch to useReducer instead of useState and " + ("read '" + setStateRecommendation.missingDep + "' in the reducer."); + break; + + case 'updater': + extraWarning = " You can also do a functional update '" + setStateRecommendation.setter + "(" + setStateRecommendation.missingDep.substring(0, 1) + " => ...)' if you only need '" + setStateRecommendation.missingDep + "'" + (" in the '" + setStateRecommendation.setter + "' call."); + break; + + default: + throw new Error('Unknown case.'); + } + } + } + + reportProblem({ + node: declaredDependenciesNode, + message: "React Hook " + context.getSource(reactiveHook) + " has " + ( // To avoid a long message, show the next actionable item. + getWarningMessage(missingDependencies, 'a', 'missing', 'include') || getWarningMessage(unnecessaryDependencies, 'an', 'unnecessary', 'exclude') || getWarningMessage(duplicateDependencies, 'a', 'duplicate', 'omit')) + extraWarning, + suggest: [{ + desc: "Update the dependencies array to be: [" + suggestedDeps.map(formatDependency).join(', ') + "]", + fix: function (fixer) { + // TODO: consider preserving the comments or formatting? + return fixer.replaceText(declaredDependenciesNode, "[" + suggestedDeps.map(formatDependency).join(', ') + "]"); + } + }] + }); + } + + function visitCallExpression(node) { + var callbackIndex = getReactiveHookCallbackIndex(node.callee, options); + + if (callbackIndex === -1) { + // Not a React Hook call that needs deps. + return; + } + + var callback = node.arguments[callbackIndex]; + var reactiveHook = node.callee; + var reactiveHookName = getNodeWithoutReactNamespace(reactiveHook).name; + var declaredDependenciesNode = node.arguments[callbackIndex + 1]; + var isEffect = /Effect($|[^a-z])/g.test(reactiveHookName); // Check whether a callback is supplied. If there is no callback supplied + // then the hook will not work and React will throw a TypeError. + // So no need to check for dependency inclusion. + + if (!callback) { + reportProblem({ + node: reactiveHook, + message: "React Hook " + reactiveHookName + " requires an effect callback. " + "Did you forget to pass a callback to the hook?" + }); + return; + } // Check the declared dependencies for this reactive hook. If there is no + // second argument then the reactive callback will re-run on every render. + // So no need to check for dependency inclusion. + + + if (!declaredDependenciesNode && !isEffect) { + // These are only used for optimization. + if (reactiveHookName === 'useMemo' || reactiveHookName === 'useCallback') { + // TODO: Can this have a suggestion? + reportProblem({ + node: reactiveHook, + message: "React Hook " + reactiveHookName + " does nothing when called with " + "only one argument. Did you forget to pass an array of " + "dependencies?" + }); + } + + return; + } + + switch (callback.type) { + case 'FunctionExpression': + case 'ArrowFunctionExpression': + visitFunctionWithDependencies(callback, declaredDependenciesNode, reactiveHook, reactiveHookName, isEffect); + return; + // Handled + + case 'Identifier': + if (!declaredDependenciesNode) { + // No deps, no problems. + return; // Handled + } // The function passed as a callback is not written inline. + // But perhaps it's in the dependencies array? + + + if (declaredDependenciesNode.elements && declaredDependenciesNode.elements.some(function (el) { + return el && el.type === 'Identifier' && el.name === callback.name; + })) { + // If it's already in the list of deps, we don't care because + // this is valid regardless. + return; // Handled + } // We'll do our best effort to find it, complain otherwise. + + + var variable = context.getScope().set.get(callback.name); + + if (variable == null || variable.defs == null) { + // If it's not in scope, we don't care. + return; // Handled + } // The function passed as a callback is not written inline. + // But it's defined somewhere in the render scope. + // We'll do our best effort to find and check it, complain otherwise. + + + var def = variable.defs[0]; + + if (!def || !def.node) { + break; // Unhandled + } + + if (def.type !== 'Variable' && def.type !== 'FunctionName') { + // Parameter or an unusual pattern. Bail out. + break; // Unhandled + } + + switch (def.node.type) { + case 'FunctionDeclaration': + // useEffect(() => { ... }, []); + visitFunctionWithDependencies(def.node, declaredDependenciesNode, reactiveHook, reactiveHookName, isEffect); + return; + // Handled + + case 'VariableDeclarator': + var init = def.node.init; + + if (!init) { + break; // Unhandled + } + + switch (init.type) { + // const effectBody = () => {...}; + // useEffect(effectBody, []); + case 'ArrowFunctionExpression': + case 'FunctionExpression': + // We can inspect this function as if it were inline. + visitFunctionWithDependencies(init, declaredDependenciesNode, reactiveHook, reactiveHookName, isEffect); + return; + // Handled + } + + break; + // Unhandled + } + + break; + // Unhandled + + default: + // useEffect(generateEffectBody(), []); + reportProblem({ + node: reactiveHook, + message: "React Hook " + reactiveHookName + " received a function whose dependencies " + "are unknown. Pass an inline function instead." + }); + return; + // Handled + } // Something unusual. Fall back to suggesting to add the body itself as a dep. + + + reportProblem({ + node: reactiveHook, + message: "React Hook " + reactiveHookName + " has a missing dependency: '" + callback.name + "'. " + "Either include it or remove the dependency array.", + suggest: [{ + desc: "Update the dependencies array to be: [" + callback.name + "]", + fix: function (fixer) { + return fixer.replaceText(declaredDependenciesNode, "[" + callback.name + "]"); + } + }] + }); + } + + return { + CallExpression: visitCallExpression + }; + } +}; // The meat of the logic. + +function collectRecommendations(_ref6) { + var dependencies = _ref6.dependencies, + declaredDependencies = _ref6.declaredDependencies, + stableDependencies = _ref6.stableDependencies, + externalDependencies = _ref6.externalDependencies, + isEffect = _ref6.isEffect; + // Our primary data structure. + // It is a logical representation of property chains: + // `props` -> `props.foo` -> `props.foo.bar` -> `props.foo.bar.baz` + // -> `props.lol` + // -> `props.huh` -> `props.huh.okay` + // -> `props.wow` + // We'll use it to mark nodes that are *used* by the programmer, + // and the nodes that were *declared* as deps. Then we will + // traverse it to learn which deps are missing or unnecessary. + var depTree = createDepTree(); + + function createDepTree() { + return { + isUsed: false, + // True if used in code + isSatisfiedRecursively: false, + // True if specified in deps + isSubtreeUsed: false, + // True if something deeper is used by code + children: new Map() // Nodes for properties + + }; + } // Mark all required nodes first. + // Imagine exclamation marks next to each used deep property. + + + dependencies.forEach(function (_, key) { + var node = getOrCreateNodeByPath(depTree, key); + node.isUsed = true; + markAllParentsByPath(depTree, key, function (parent) { + parent.isSubtreeUsed = true; + }); + }); // Mark all satisfied nodes. + // Imagine checkmarks next to each declared dependency. + + declaredDependencies.forEach(function (_ref7) { + var key = _ref7.key; + var node = getOrCreateNodeByPath(depTree, key); + node.isSatisfiedRecursively = true; + }); + stableDependencies.forEach(function (key) { + var node = getOrCreateNodeByPath(depTree, key); + node.isSatisfiedRecursively = true; + }); // Tree manipulation helpers. + + function getOrCreateNodeByPath(rootNode, path) { + var keys = path.split('.'); + var node = rootNode; + + var _iterator3 = _createForOfIteratorHelper(keys), + _step3; + + try { + for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) { + var key = _step3.value; + var child = node.children.get(key); + + if (!child) { + child = createDepTree(); + node.children.set(key, child); + } + + node = child; + } + } catch (err) { + _iterator3.e(err); + } finally { + _iterator3.f(); + } + + return node; + } + + function markAllParentsByPath(rootNode, path, fn) { + var keys = path.split('.'); + var node = rootNode; + + var _iterator4 = _createForOfIteratorHelper(keys), + _step4; + + try { + for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) { + var key = _step4.value; + var child = node.children.get(key); + + if (!child) { + return; + } + + fn(child); + node = child; + } + } catch (err) { + _iterator4.e(err); + } finally { + _iterator4.f(); + } + } // Now we can learn which dependencies are missing or necessary. + + + var missingDependencies = new Set(); + var satisfyingDependencies = new Set(); + scanTreeRecursively(depTree, missingDependencies, satisfyingDependencies, function (key) { + return key; + }); + + function scanTreeRecursively(node, missingPaths, satisfyingPaths, keyToPath) { + node.children.forEach(function (child, key) { + var path = keyToPath(key); + + if (child.isSatisfiedRecursively) { + if (child.isSubtreeUsed) { + // Remember this dep actually satisfied something. + satisfyingPaths.add(path); + } // It doesn't matter if there's something deeper. + // It would be transitively satisfied since we assume immutability. + // `props.foo` is enough if you read `props.foo.id`. + + + return; + } + + if (child.isUsed) { + // Remember that no declared deps satisfied this node. + missingPaths.add(path); // If we got here, nothing in its subtree was satisfied. + // No need to search further. + + return; + } + + scanTreeRecursively(child, missingPaths, satisfyingPaths, function (childKey) { + return path + '.' + childKey; + }); + }); + } // Collect suggestions in the order they were originally specified. + + + var suggestedDependencies = []; + var unnecessaryDependencies = new Set(); + var duplicateDependencies = new Set(); + declaredDependencies.forEach(function (_ref8) { + var key = _ref8.key; + + // Does this declared dep satisfy a real need? + if (satisfyingDependencies.has(key)) { + if (suggestedDependencies.indexOf(key) === -1) { + // Good one. + suggestedDependencies.push(key); + } else { + // Duplicate. + duplicateDependencies.add(key); + } + } else { + if (isEffect && !key.endsWith('.current') && !externalDependencies.has(key)) { + // Effects are allowed extra "unnecessary" deps. + // Such as resetting scroll when ID changes. + // Consider them legit. + // The exception is ref.current which is always wrong. + if (suggestedDependencies.indexOf(key) === -1) { + suggestedDependencies.push(key); + } + } else { + // It's definitely not needed. + unnecessaryDependencies.add(key); + } + } + }); // Then add the missing ones at the end. + + missingDependencies.forEach(function (key) { + suggestedDependencies.push(key); + }); + return { + suggestedDependencies: suggestedDependencies, + unnecessaryDependencies: unnecessaryDependencies, + duplicateDependencies: duplicateDependencies, + missingDependencies: missingDependencies + }; +} // If the node will result in constructing a referentially unique value, return +// its human readable type name, else return null. + + +function getConstructionExpressionType(node) { + switch (node.type) { + case 'ObjectExpression': + return 'object'; + + case 'ArrayExpression': + return 'array'; + + case 'ArrowFunctionExpression': + case 'FunctionExpression': + return 'function'; + + case 'ClassExpression': + return 'class'; + + case 'ConditionalExpression': + if (getConstructionExpressionType(node.consequent) != null || getConstructionExpressionType(node.alternate) != null) { + return 'conditional'; + } + + return null; + + case 'LogicalExpression': + if (getConstructionExpressionType(node.left) != null || getConstructionExpressionType(node.right) != null) { + return 'logical expression'; + } + + return null; + + case 'JSXFragment': + return 'JSX fragment'; + + case 'JSXElement': + return 'JSX element'; + + case 'AssignmentExpression': + if (getConstructionExpressionType(node.right) != null) { + return 'assignment expression'; + } + + return null; + + case 'NewExpression': + return 'object construction'; + + case 'Literal': + if (node.value instanceof RegExp) { + return 'regular expression'; + } + + return null; + + case 'TypeCastExpression': + return getConstructionExpressionType(node.expression); + + case 'TSAsExpression': + return getConstructionExpressionType(node.expression); + } + + return null; +} // Finds variables declared as dependencies +// that would invalidate on every render. + + +function scanForConstructions(_ref9) { + var declaredDependencies = _ref9.declaredDependencies, + declaredDependenciesNode = _ref9.declaredDependenciesNode, + componentScope = _ref9.componentScope, + scope = _ref9.scope; + var constructions = declaredDependencies.map(function (_ref10) { + var key = _ref10.key; + var ref = componentScope.variables.find(function (v) { + return v.name === key; + }); + + if (ref == null) { + return null; + } + + var node = ref.defs[0]; + + if (node == null) { + return null; + } // const handleChange = function () {} + // const handleChange = () => {} + // const foo = {} + // const foo = [] + // etc. + + + if (node.type === 'Variable' && node.node.type === 'VariableDeclarator' && node.node.id.type === 'Identifier' && // Ensure this is not destructed assignment + node.node.init != null) { + var constantExpressionType = getConstructionExpressionType(node.node.init); + + if (constantExpressionType != null) { + return [ref, constantExpressionType]; + } + } // function handleChange() {} + + + if (node.type === 'FunctionName' && node.node.type === 'FunctionDeclaration') { + return [ref, 'function']; + } // class Foo {} + + + if (node.type === 'ClassName' && node.node.type === 'ClassDeclaration') { + return [ref, 'class']; + } + + return null; + }).filter(Boolean); + + function isUsedOutsideOfHook(ref) { + var foundWriteExpr = false; + + for (var i = 0; i < ref.references.length; i++) { + var reference = ref.references[i]; + + if (reference.writeExpr) { + if (foundWriteExpr) { + // Two writes to the same function. + return true; + } else { + // Ignore first write as it's not usage. + foundWriteExpr = true; + continue; + } + } + + var currentScope = reference.from; + + while (currentScope !== scope && currentScope != null) { + currentScope = currentScope.upper; + } + + if (currentScope !== scope) { + // This reference is outside the Hook callback. + // It can only be legit if it's the deps array. + if (!isAncestorNodeOf(declaredDependenciesNode, reference.identifier)) { + return true; + } + } + } + + return false; + } + + return constructions.map(function (_ref11) { + var ref = _ref11[0], + depType = _ref11[1]; + return { + construction: ref.defs[0], + depType: depType, + isUsedOutsideOfHook: isUsedOutsideOfHook(ref) + }; + }); +} +/** + * Assuming () means the passed/returned node: + * (props) => (props) + * props.(foo) => (props.foo) + * props.foo.(bar) => (props).foo.bar + * props.foo.bar.(baz) => (props).foo.bar.baz + */ + + +function getDependency(node) { + if ((node.parent.type === 'MemberExpression' || node.parent.type === 'OptionalMemberExpression') && node.parent.object === node && node.parent.property.name !== 'current' && !node.parent.computed && !(node.parent.parent != null && (node.parent.parent.type === 'CallExpression' || node.parent.parent.type === 'OptionalCallExpression') && node.parent.parent.callee === node.parent)) { + return getDependency(node.parent); + } else if ( // Note: we don't check OptionalMemberExpression because it can't be LHS. + node.type === 'MemberExpression' && node.parent && node.parent.type === 'AssignmentExpression' && node.parent.left === node) { + return node.object; + } else { + return node; + } +} +/** + * Mark a node as either optional or required. + * Note: If the node argument is an OptionalMemberExpression, it doesn't necessarily mean it is optional. + * It just means there is an optional member somewhere inside. + * This particular node might still represent a required member, so check .optional field. + */ + + +function markNode(node, optionalChains, result) { + if (optionalChains) { + if (node.optional) { + // We only want to consider it optional if *all* usages were optional. + if (!optionalChains.has(result)) { + // Mark as (maybe) optional. If there's a required usage, this will be overridden. + optionalChains.set(result, true); + } + } else { + // Mark as required. + optionalChains.set(result, false); + } + } +} +/** + * Assuming () means the passed node. + * (foo) -> 'foo' + * foo(.)bar -> 'foo.bar' + * foo.bar(.)baz -> 'foo.bar.baz' + * Otherwise throw. + */ + + +function analyzePropertyChain(node, optionalChains) { + if (node.type === 'Identifier' || node.type === 'JSXIdentifier') { + var result = node.name; + + if (optionalChains) { + // Mark as required. + optionalChains.set(result, false); + } + + return result; + } else if (node.type === 'MemberExpression' && !node.computed) { + var object = analyzePropertyChain(node.object, optionalChains); + var property = analyzePropertyChain(node.property, null); + + var _result = object + "." + property; + + markNode(node, optionalChains, _result); + return _result; + } else if (node.type === 'OptionalMemberExpression' && !node.computed) { + var _object = analyzePropertyChain(node.object, optionalChains); + + var _property = analyzePropertyChain(node.property, null); + + var _result2 = _object + "." + _property; + + markNode(node, optionalChains, _result2); + return _result2; + } else if (node.type === 'ChainExpression' && !node.computed) { + var expression = node.expression; + + if (expression.type === 'CallExpression') { + throw new Error("Unsupported node type: " + expression.type); + } + + var _object2 = analyzePropertyChain(expression.object, optionalChains); + + var _property2 = analyzePropertyChain(expression.property, null); + + var _result3 = _object2 + "." + _property2; + + markNode(expression, optionalChains, _result3); + return _result3; + } else { + throw new Error("Unsupported node type: " + node.type); + } +} + +function getNodeWithoutReactNamespace(node, options) { + if (node.type === 'MemberExpression' && node.object.type === 'Identifier' && node.object.name === 'React' && node.property.type === 'Identifier' && !node.computed) { + return node.property; + } + + return node; +} // What's the index of callback that needs to be analyzed for a given Hook? +// -1 if it's not a Hook we care about (e.g. useState). +// 0 for useEffect/useMemo/useCallback(fn). +// 1 for useImperativeHandle(ref, fn). +// For additionally configured Hooks, assume that they're like useEffect (0). + + +function getReactiveHookCallbackIndex(calleeNode, options) { + var node = getNodeWithoutReactNamespace(calleeNode); + + if (node.type !== 'Identifier') { + return -1; + } + + switch (node.name) { + case 'useEffect': + case 'useLayoutEffect': + case 'useCallback': + case 'useMemo': + // useEffect(fn) + return 0; + + case 'useImperativeHandle': + // useImperativeHandle(ref, fn) + return 1; + + default: + if (node === calleeNode && options && options.additionalHooks) { + // Allow the user to provide a regular expression which enables the lint to + // target custom reactive hooks. + var name; + + try { + name = analyzePropertyChain(node, null); + } catch (error) { + if (/Unsupported node type/.test(error.message)) { + return 0; + } else { + throw error; + } + } + + return options.additionalHooks.test(name) ? 0 : -1; + } else { + return -1; + } + + } +} +/** + * ESLint won't assign node.parent to references from context.getScope() + * + * So instead we search for the node from an ancestor assigning node.parent + * as we go. This mutates the AST. + * + * This traversal is: + * - optimized by only searching nodes with a range surrounding our target node + * - agnostic to AST node types, it looks for `{ type: string, ... }` + */ + + +function fastFindReferenceWithParent(start, target) { + var queue = [start]; + var item = null; + + while (queue.length) { + item = queue.shift(); + + if (isSameIdentifier(item, target)) { + return item; + } + + if (!isAncestorNodeOf(item, target)) { + continue; + } + + for (var _i4 = 0, _Object$entries = Object.entries(item); _i4 < _Object$entries.length; _i4++) { + var _Object$entries$_i = _Object$entries[_i4], + key = _Object$entries$_i[0], + value = _Object$entries$_i[1]; + + if (key === 'parent') { + continue; + } + + if (isNodeLike(value)) { + value.parent = item; + queue.push(value); + } else if (Array.isArray(value)) { + value.forEach(function (val) { + if (isNodeLike(val)) { + val.parent = item; + queue.push(val); + } + }); + } + } + } + + return null; +} + +function joinEnglish(arr) { + var s = ''; + + for (var i = 0; i < arr.length; i++) { + s += arr[i]; + + if (i === 0 && arr.length === 2) { + s += ' and '; + } else if (i === arr.length - 2 && arr.length > 2) { + s += ', and '; + } else if (i < arr.length - 1) { + s += ', '; + } + } + + return s; +} + +function isNodeLike(val) { + return typeof val === 'object' && val !== null && !Array.isArray(val) && typeof val.type === 'string'; +} + +function isSameIdentifier(a, b) { + return (a.type === 'Identifier' || a.type === 'JSXIdentifier') && a.type === b.type && a.name === b.name && a.range[0] === b.range[0] && a.range[1] === b.range[1]; +} + +function isAncestorNodeOf(a, b) { + return a.range[0] <= b.range[0] && a.range[1] >= b.range[1]; +} + +var configs = { + recommended: { + plugins: ['react-hooks'], + rules: { + 'react-hooks/rules-of-hooks': 'error', + 'react-hooks/exhaustive-deps': 'warn' + } + } +}; +var rules = { + 'rules-of-hooks': RulesOfHooks, + 'exhaustive-deps': ExhaustiveDeps +}; + +exports.configs = configs; +exports.rules = rules; + })(); +} diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.production.min.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.production.min.js new file mode 100644 index 0000000000000000000000000000000000000000..c9ee73a46a0bf5cc6c9a2e8f283153df0c19d612 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.production.min.js @@ -0,0 +1,63 @@ +/** + * @license React + * eslint-plugin-react-hooks.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +'use strict';function ca(a,c){if(a){if("string"===typeof a)return da(a,c);var b=Object.prototype.toString.call(a).slice(8,-1);"Object"===b&&a.constructor&&(b=a.constructor.name);if("Map"===b||"Set"===b)return Array.from(a);if("Arguments"===b||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return da(a,c)}}function da(a,c){if(null==c||c>a.length)c=a.length;for(var b=0,d=Array(c);b=a.length?{done:!0}:{done:!1,value:a[d++]}},e:function(a){throw a;},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var f=!0,p=!1,g;return{s:function(){b=a[Symbol.iterator]()}, +n:function(){var a=b.next();f=a.done;return a},e:function(a){p=!0;g=a},f:function(){try{f||null==b.return||b.return()}finally{if(p)throw g;}}}}function G(a){if("Identifier"===a.type)return/^use[A-Z0-9].*$/.test(a.name);if("MemberExpression"===a.type&&!a.computed&&G(a.property)){a=a.object;var c=/^[A-Z].*/;return"Identifier"===a.type&&c.test(a.name)}return!1}function ea(a){return"Identifier"===a.type?!/^[a-z]/.test(a.name):!1} +function fa(a,c){return a.name===c||"MemberExpression"===a.type&&"React"===a.object.name&&a.property.name===c}function ha(a){return!!(a.parent&&a.parent.callee&&fa(a.parent.callee,"forwardRef"))}function ia(a){return!!(a.parent&&a.parent.callee&&fa(a.parent.callee,"memo"))}function ma(a){for(;a;){var c=na(a);if(c&&(ea(c)||G(c))||ha(a)||ia(a))return!0;a=a.parent}return!1} +function na(a){if("FunctionDeclaration"===a.type||"FunctionExpression"===a.type&&a.id)return a.id;if("FunctionExpression"===a.type||"ArrowFunctionExpression"===a.type)return"VariableDeclarator"===a.parent.type&&a.parent.init===a?a.parent.id:"AssignmentExpression"===a.parent.type&&a.parent.right===a&&"="===a.parent.operator?a.parent.left:"Property"!==a.parent.type||a.parent.value!==a||a.parent.computed?"AssignmentPattern"!==a.parent.type||a.parent.right!==a||a.parent.computed?void 0:a.parent.left: +a.parent.key} +function H(a){function c(){return{isUsed:!1,isSatisfiedRecursively:!1,isSubtreeUsed:!1,children:new Map}}function b(a,b){b=b.split(".");b=D(b);var h;try{for(b.s();!(h=b.n()).done;){var d=h.value,f=a.children.get(d);f||(f=c(),a.children.set(d,f));a=f}}catch(F){b.e(F)}finally{b.f()}return a}function d(a,c,b){c=c.split(".");c=D(c);var d;try{for(c.s();!(d=c.n()).done;){var h=a.children.get(d.value);if(!h)break;b(h);a=h}}catch(F){c.e(F)}finally{c.f()}}function f(a,c,b,d){a.children.forEach(function(a,h){var e= +d(h);a.isSatisfiedRecursively?a.isSubtreeUsed&&b.add(e):a.isUsed?c.add(e):f(a,c,b,function(a){return e+"."+a})})}var p=a.dependencies,g=a.declaredDependencies,w=a.stableDependencies,m=a.externalDependencies,E=a.isEffect,x=c();p.forEach(function(a,c){b(x,c).isUsed=!0;d(x,c,function(a){a.isSubtreeUsed=!0})});g.forEach(function(a){b(x,a.key).isSatisfiedRecursively=!0});w.forEach(function(a){b(x,a).isSatisfiedRecursively=!0});a=new Set;var r=new Set;f(x,a,r,function(a){return a});var e=[],C=new Set,t= +new Set;g.forEach(function(a){a=a.key;r.has(a)?-1===e.indexOf(a)?e.push(a):t.add(a):!E||a.endsWith(".current")||m.has(a)?C.add(a):-1===e.indexOf(a)&&e.push(a)});a.forEach(function(a){e.push(a)});return{suggestedDependencies:e,unnecessaryDependencies:C,duplicateDependencies:t,missingDependencies:a}} +function Q(a){switch(a.type){case "ObjectExpression":return"object";case "ArrayExpression":return"array";case "ArrowFunctionExpression":case "FunctionExpression":return"function";case "ClassExpression":return"class";case "ConditionalExpression":if(null!=Q(a.consequent)||null!=Q(a.alternate))return"conditional";break;case "LogicalExpression":if(null!=Q(a.left)||null!=Q(a.right))return"logical expression";break;case "JSXFragment":return"JSX fragment";case "JSXElement":return"JSX element";case "AssignmentExpression":if(null!= +Q(a.right))return"assignment expression";break;case "NewExpression":return"object construction";case "Literal":if(a.value instanceof RegExp)return"regular expression";break;case "TypeCastExpression":return Q(a.expression);case "TSAsExpression":return Q(a.expression)}return null} +function oa(a){var c=a.declaredDependenciesNode,b=a.componentScope,d=a.scope;return a.declaredDependencies.map(function(a){var c=a.key;a=b.variables.find(function(a){return a.name===c});if(null==a)return null;var d=a.defs[0];if(null==d)return null;if("Variable"===d.type&&"VariableDeclarator"===d.node.type&&"Identifier"===d.node.id.type&&null!=d.node.init){var f=Q(d.node.init);if(null!=f)return[a,f]}return"FunctionName"===d.type&&"FunctionDeclaration"===d.node.type?[a,"function"]:"ClassName"===d.type&& +"ClassDeclaration"===d.node.type?[a,"class"]:null}).filter(Boolean).map(function(a){var b=a[0];a=a[1];var f=b.defs[0];a:{for(var w=!1,m=0;m=c.range[1]}exports.configs={recommended:{plugins:["react-hooks"],rules:{"react-hooks/rules-of-hooks":"error","react-hooks/exhaustive-deps":"warn"}}}; +exports.rules={"rules-of-hooks":{meta:{type:"problem",docs:{description:"enforces the Rules of Hooks",recommended:!0,url:"https://reactjs.org/docs/hooks-rules.html"}},create:function(a){var c=[],b=[];return{onCodePathSegmentStart:function(a){return b.push(a)},onCodePathSegmentEnd:function(){return b.pop()},onCodePathStart:function(){return c.push(new Map)},onCodePathEnd:function(b,f){function d(a,c){var e=d.cache,f=e.get(a.id);c=new Set(c);if(c.has(a.id)){e=[].concat(c);a=e.slice(e.indexOf(a.id)+ +1);a=D(a);var l;try{for(a.s();!(l=a.n()).done;)E.add(l.value)}catch(u){a.e(u)}finally{a.f()}return BigInt("0")}c.add(a.id);if(void 0!==f)return f;if(b.thrownSegments.includes(a))f=BigInt("0");else if(0===a.prevSegments.length)f=BigInt("1");else{f=BigInt("0");l=D(a.prevSegments);var r;try{for(l.s();!(r=l.n()).done;)f+=d(r.value,c)}catch(u){l.e(u)}finally{l.f()}}a.reachable&&f===BigInt("0")?e.delete(a.id):e.set(a.id,f);return f}function g(a,c){var d=g.cache,e=d.get(a.id);c=new Set(c);if(c.has(a.id)){d= +Array.from(c);a=d.slice(d.indexOf(a.id)+1);a=D(a);var f;try{for(a.s();!(f=a.n()).done;)E.add(f.value)}catch(u){a.e(u)}finally{a.f()}return BigInt("0")}c.add(a.id);if(void 0!==e)return e;if(b.thrownSegments.includes(a))e=BigInt("0");else if(0===a.nextSegments.length)e=BigInt("1");else{e=BigInt("0");f=D(a.nextSegments);var r;try{for(f.s();!(r=f.n()).done;)e+=g(r.value,c)}catch(u){f.e(u)}finally{f.f()}}d.set(a.id,e);return e}function w(a){var c=w.cache,b=c.get(a.id);if(null===b)return Infinity;if(void 0!== +b)return b;c.set(a.id,null);if(0===a.prevSegments.length)b=1;else{b=Infinity;var d=D(a.prevSegments),e;try{for(d.s();!(e=d.n()).done;){var f=w(e.value);f {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching"}); +for(var A=g.acquire(d),F=new Set,q=null,B=A.upper;B;){F.add(B);if("function"===B.type)break;B=B.upper}if(B){q=B;var N=Array.isArray,T=b(function(a){if(!N(a.defs))return!1;var c=a.defs[0];if(null==c||"VariableDeclarator"!==c.node.type)return!1;var b=c.node.init;if(null==b)return!1;for(;"TSAsExpression"===b.type;)b=b.expression;var d=c.node.parent;if(null==d&&(Y(q.block,c.node.id),d=c.node.parent,null==d))return!1;if("const"===d.kind&&"Literal"===b.type&&("string"===typeof b.value||"number"===typeof b.value|| +null===b.value))return!0;if("CallExpression"!==b.type)return!1;b=b.callee;"MemberExpression"!==b.type||"React"!==b.object.name||null==b.property||b.computed||(b=b.property);if("Identifier"!==b.type)return!1;c=c.node.id;b=b.name;if("useRef"===b&&"Identifier"===c.type)return!0;if("useState"===b||"useReducer"===b){if("ArrayPattern"===c.type&&2===c.elements.length&&N(a.identifiers)){if(c.elements[1]===a.identifiers[0]){if("useState"===b)for(a=a.references,d=b=0;d { return ","; })"]:["useCallback(",")"],d=c[1];return[a.insertTextBefore(b.node.init,c[0]),a.insertTextAfter(b.node.init,d)]}}]);c({node:b.node,message:h,suggest:g})});else{!h&&0 ...)' if you only need '"+ +v.missingDep+"' in the '"+(v.setter+"' call.");break;default:throw Error("Unknown case.");}}c({node:e,message:"React Hook "+a.getSource(f)+" has "+(p(l,"a","missing","include")||p(B,"an","unnecessary","exclude")||p(qa,"a","duplicate","omit"))+n,suggest:[{desc:"Update the dependencies array to be: ["+R.map(C).join(", ")+"]",fix:function(a){return a.replaceText(e,"["+R.map(C).join(", ")+"]")}}]})}}else{var P=null;y.forEach(function(a,b){P||a.references.forEach(function(a){if(!P&&w.has(a.identifier)){for(a= +a.from;"function"!==a.type;)a=a.upper;a.block===d&&(P=b)}})});if(P){var ba=H({dependencies:y,declaredDependencies:[],stableDependencies:M,externalDependencies:new Set,isEffect:!0}).suggestedDependencies;c({node:f,message:"React Hook "+t+" contains a call to '"+P+"'. Without a list of dependencies, this can lead to an infinite chain of updates. To fix this, pass ["+ba.join(", ")+("] as a second argument to the "+t+" Hook."),suggest:[{desc:"Add dependencies array: ["+ba.join(", ")+"]",fix:function(a){return a.insertTextAfter(d, +", ["+ba.join(", ")+"]")}}]})}}}}var f=a.options&&a.options[0]&&a.options[0].enableDangerousAutofixThisMayCauseInfiniteLoops||!1,p={additionalHooks:a.options&&a.options[0]&&a.options[0].additionalHooks?new RegExp(a.options[0].additionalHooks):void 0,enableDangerousAutofixThisMayCauseInfiniteLoops:f},g=a.getSourceCode().scopeManager,w=new WeakMap,m=new WeakSet,E=new WeakMap,x=new WeakMap;return{CallExpression:function(b){var e=ua(b.callee,p);if(-1!==e){var f=b.arguments[e],g=b.callee,h=ta(g).name, +m=b.arguments[e+1];b=/Effect($|[^a-z])/g.test(h);if(f)if(m||b){switch(f.type){case "FunctionExpression":case "ArrowFunctionExpression":d(f,m,g,h,b);return;case "Identifier":if(!m||m.elements&&m.elements.some(function(a){return a&&"Identifier"===a.type&&a.name===f.name}))return;e=a.getScope().set.get(f.name);if(null==e||null==e.defs)return;e=e.defs[0];if(!e||!e.node)break;if("Variable"!==e.type&&"FunctionName"!==e.type)break;switch(e.node.type){case "FunctionDeclaration":d(e.node,m,g,h,b);return;case "VariableDeclarator":if(e= +e.node.init)switch(e.type){case "ArrowFunctionExpression":case "FunctionExpression":d(e,m,g,h,b);return}}break;default:c({node:g,message:"React Hook "+h+" received a function whose dependencies are unknown. Pass an inline function instead."});return}c({node:g,message:"React Hook "+h+" has a missing dependency: '"+f.name+"'. Either include it or remove the dependency array.",suggest:[{desc:"Update the dependencies array to be: ["+f.name+"]",fix:function(a){return a.replaceText(m,"["+f.name+"]")}}]})}else"useMemo"!== +h&&"useCallback"!==h||c({node:g,message:"React Hook "+h+" does nothing when called with only one argument. Did you forget to pass an array of dependencies?"});else c({node:g,message:"React Hook "+h+" requires an effect callback. Did you forget to pass a callback to the hook?"})}}}}}}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/configs/all.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/configs/all.js new file mode 100644 index 0000000000000000000000000000000000000000..3123c5bd5ddb97e74fea7d49fa8bed16980db176 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/configs/all.js @@ -0,0 +1,13 @@ +'use strict'; + +const plugin = require('..'); + +const legacyConfig = plugin.configs.all; + +module.exports = { + plugins: { react: plugin }, + rules: legacyConfig.rules, + languageOptions: { parserOptions: legacyConfig.parserOptions }, +}; + +Object.defineProperty(module.exports, 'languageOptions', { enumerable: false }); diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/configs/jsx-runtime.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/configs/jsx-runtime.js new file mode 100644 index 0000000000000000000000000000000000000000..f5cd1785875141ef2e1fb1b19a67aea04a5f410e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/configs/jsx-runtime.js @@ -0,0 +1,13 @@ +'use strict'; + +const plugin = require('..'); + +const legacyConfig = plugin.configs['jsx-runtime']; + +module.exports = { + plugins: { react: plugin }, + rules: legacyConfig.rules, + languageOptions: { parserOptions: legacyConfig.parserOptions }, +}; + +Object.defineProperty(module.exports, 'languageOptions', { enumerable: false }); diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/configs/recommended.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/configs/recommended.js new file mode 100644 index 0000000000000000000000000000000000000000..19cbda4cf4f48324ad3fed5330c577239b0a48fd --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/configs/recommended.js @@ -0,0 +1,13 @@ +'use strict'; + +const plugin = require('..'); + +const legacyConfig = plugin.configs.recommended; + +module.exports = { + plugins: { react: plugin }, + rules: legacyConfig.rules, + languageOptions: { parserOptions: legacyConfig.parserOptions }, +}; + +Object.defineProperty(module.exports, 'languageOptions', { enumerable: false }); diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/boolean-prop-naming.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/boolean-prop-naming.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c5434adc3946d84f7cf733d01ecebb6d48fb6c3c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/boolean-prop-naming.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=boolean-prop-naming.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/boolean-prop-naming.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/boolean-prop-naming.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..dfec8ee982cfc2aeed289fadb75bc4aa829a5395 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/boolean-prop-naming.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"boolean-prop-naming.d.ts","sourceRoot":"","sources":["boolean-prop-naming.js"],"names":[],"mappings":"wBAyCW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/boolean-prop-naming.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/boolean-prop-naming.js new file mode 100644 index 0000000000000000000000000000000000000000..afa844a903b0916f9ba923dd01a59169f43262f9 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/boolean-prop-naming.js @@ -0,0 +1,426 @@ +/** + * @fileoverview Enforces consistent naming for boolean props + * @author Ev Haus + */ + +'use strict'; + +const flatMap = require('array.prototype.flatmap'); +const values = require('object.values'); + +const Components = require('../util/Components'); +const propsUtil = require('../util/props'); +const astUtil = require('../util/ast'); +const docsUrl = require('../util/docsUrl'); +const propWrapperUtil = require('../util/propWrapper'); +const report = require('../util/report'); +const eslintUtil = require('../util/eslint'); + +const getSourceCode = eslintUtil.getSourceCode; +const getText = eslintUtil.getText; + +/** + * Checks if prop is nested + * @param {Object} prop Property object, single prop type declaration + * @returns {boolean} + */ +function nestedPropTypes(prop) { + return ( + prop.type === 'Property' + && astUtil.isCallExpression(prop.value) + ); +} + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + patternMismatch: 'Prop name `{{propName}}` doesn’t match rule `{{pattern}}`', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + category: 'Stylistic Issues', + description: 'Enforces consistent naming for boolean props', + recommended: false, + url: docsUrl('boolean-prop-naming'), + }, + + messages, + + schema: [{ + additionalProperties: false, + properties: { + propTypeNames: { + items: { + type: 'string', + }, + minItems: 1, + type: 'array', + uniqueItems: true, + }, + rule: { + default: '^(is|has)[A-Z]([A-Za-z0-9]?)+', + minLength: 1, + type: 'string', + }, + message: { + minLength: 1, + type: 'string', + }, + validateNested: { + default: false, + type: 'boolean', + }, + }, + type: 'object', + }], + }, + + create: Components.detect((context, components, utils) => { + const config = context.options[0] || {}; + const rule = config.rule ? new RegExp(config.rule) : null; + const propTypeNames = config.propTypeNames || ['bool']; + + // Remembers all Flowtype object definitions + const objectTypeAnnotations = new Map(); + + /** + * Returns the prop key to ensure we handle the following cases: + * propTypes: { + * full: React.PropTypes.bool, + * short: PropTypes.bool, + * direct: bool, + * required: PropTypes.bool.isRequired + * } + * @param {Object} node The node we're getting the name of + * @returns {string | null} + */ + function getPropKey(node) { + // Check for `ExperimentalSpreadProperty` (eslint 3/4) and `SpreadElement` (eslint 5) + // so we can skip validation of those fields. + // Otherwise it will look for `node.value.property` which doesn't exist and breaks eslint. + if (node.type === 'ExperimentalSpreadProperty' || node.type === 'SpreadElement') { + return null; + } + if (node.value && node.value.property) { + const name = node.value.property.name; + if (name === 'isRequired') { + if (node.value.object && node.value.object.property) { + return node.value.object.property.name; + } + return null; + } + return name; + } + if (node.value && node.value.type === 'Identifier') { + return node.value.name; + } + return null; + } + + /** + * Returns the name of the given node (prop) + * @param {Object} node The node we're getting the name of + * @returns {string} + */ + function getPropName(node) { + // Due to this bug https://github.com/babel/babel-eslint/issues/307 + // we can't get the name of the Flow object key name. So we have + // to hack around it for now. + if (node.type === 'ObjectTypeProperty') { + return getSourceCode(context).getFirstToken(node).value; + } + + return node.key.name; + } + + /** + * Checks if prop is declared in flow way + * @param {Object} prop Property object, single prop type declaration + * @returns {boolean} + */ + function flowCheck(prop) { + return ( + prop.type === 'ObjectTypeProperty' + && prop.value.type === 'BooleanTypeAnnotation' + && rule.test(getPropName(prop)) === false + ); + } + + /** + * Checks if prop is declared in regular way + * @param {Object} prop Property object, single prop type declaration + * @returns {boolean} + */ + function regularCheck(prop) { + const propKey = getPropKey(prop); + return ( + propKey + && propTypeNames.indexOf(propKey) >= 0 + && rule.test(getPropName(prop)) === false + ); + } + + function tsCheck(prop) { + if (prop.type !== 'TSPropertySignature') return false; + const typeAnnotation = (prop.typeAnnotation || {}).typeAnnotation; + return ( + typeAnnotation + && typeAnnotation.type === 'TSBooleanKeyword' + && rule.test(getPropName(prop)) === false + ); + } + + /** + * Runs recursive check on all proptypes + * @param {Array} proptypes A list of Property object (for each proptype defined) + * @param {Function} addInvalidProp callback to run for each error + */ + function runCheck(proptypes, addInvalidProp) { + if (proptypes) { + proptypes.forEach((prop) => { + if (config.validateNested && nestedPropTypes(prop)) { + runCheck(prop.value.arguments[0].properties, addInvalidProp); + return; + } + if (flowCheck(prop) || regularCheck(prop) || tsCheck(prop)) { + addInvalidProp(prop); + } + }); + } + } + + /** + * Checks and mark props with invalid naming + * @param {Object} node The component node we're testing + * @param {Array} proptypes A list of Property object (for each proptype defined) + */ + function validatePropNaming(node, proptypes) { + const component = components.get(node) || node; + const invalidProps = component.invalidProps || []; + + runCheck(proptypes, (prop) => { + invalidProps.push(prop); + }); + + components.set(node, { + invalidProps, + }); + } + + /** + * Reports invalid prop naming + * @param {Object} component The component to process + */ + function reportInvalidNaming(component) { + component.invalidProps.forEach((propNode) => { + const propName = getPropName(propNode); + report(context, config.message || messages.patternMismatch, !config.message && 'patternMismatch', { + node: propNode, + data: { + component: propName, + propName, + pattern: config.rule, + }, + }); + }); + } + + function checkPropWrapperArguments(node, args) { + if (!node || !Array.isArray(args)) { + return; + } + args.filter((arg) => arg.type === 'ObjectExpression').forEach((object) => validatePropNaming(node, object.properties)); + } + + function getComponentTypeAnnotation(component) { + // If this is a functional component that uses a global type, check it + if ( + (component.node.type === 'FunctionDeclaration' || component.node.type === 'ArrowFunctionExpression') + && component.node.params + && component.node.params.length > 0 + && component.node.params[0].typeAnnotation + ) { + return component.node.params[0].typeAnnotation.typeAnnotation; + } + + if ( + !component.node.parent + || component.node.parent.type !== 'VariableDeclarator' + || !component.node.parent.id + || component.node.parent.id.type !== 'Identifier' + || !component.node.parent.id.typeAnnotation + || !component.node.parent.id.typeAnnotation.typeAnnotation + ) { + return; + } + + const annotationTypeArguments = propsUtil.getTypeArguments( + component.node.parent.id.typeAnnotation.typeAnnotation + ); + if ( + annotationTypeArguments && ( + annotationTypeArguments.type === 'TSTypeParameterInstantiation' + || annotationTypeArguments.type === 'TypeParameterInstantiation' + ) + ) { + return annotationTypeArguments.params.find( + (param) => param.type === 'TSTypeReference' || param.type === 'GenericTypeAnnotation' + ); + } + } + + function findAllTypeAnnotations(identifier, node) { + if (node.type === 'TSTypeLiteral' || node.type === 'ObjectTypeAnnotation' || node.type === 'TSInterfaceBody') { + const currentNode = [].concat( + objectTypeAnnotations.get(identifier.name) || [], + node + ); + objectTypeAnnotations.set(identifier.name, currentNode); + } else if ( + node.type === 'TSParenthesizedType' + && ( + node.typeAnnotation.type === 'TSIntersectionType' + || node.typeAnnotation.type === 'TSUnionType' + ) + ) { + node.typeAnnotation.types.forEach((type) => { + findAllTypeAnnotations(identifier, type); + }); + } else if ( + node.type === 'TSIntersectionType' + || node.type === 'TSUnionType' + || node.type === 'IntersectionTypeAnnotation' + || node.type === 'UnionTypeAnnotation' + ) { + node.types.forEach((type) => { + findAllTypeAnnotations(identifier, type); + }); + } + } + + // -------------------------------------------------------------------------- + // Public + // -------------------------------------------------------------------------- + + return { + 'ClassProperty, PropertyDefinition'(node) { + if (!rule || !propsUtil.isPropTypesDeclaration(node)) { + return; + } + if ( + node.value + && astUtil.isCallExpression(node.value) + && propWrapperUtil.isPropWrapperFunction( + context, + getText(context, node.value.callee) + ) + ) { + checkPropWrapperArguments(node, node.value.arguments); + } + if (node.value && node.value.properties) { + validatePropNaming(node, node.value.properties); + } + if (node.typeAnnotation && node.typeAnnotation.typeAnnotation) { + validatePropNaming(node, node.typeAnnotation.typeAnnotation.properties); + } + }, + + MemberExpression(node) { + if (!rule || !propsUtil.isPropTypesDeclaration(node)) { + return; + } + const component = utils.getRelatedComponent(node); + if (!component || !node.parent.right) { + return; + } + const right = node.parent.right; + if ( + astUtil.isCallExpression(right) + && propWrapperUtil.isPropWrapperFunction( + context, + getText(context, right.callee) + ) + ) { + checkPropWrapperArguments(component.node, right.arguments); + return; + } + validatePropNaming(component.node, node.parent.right.properties); + }, + + ObjectExpression(node) { + if (!rule) { + return; + } + + // Search for the proptypes declaration + node.properties.forEach((property) => { + if (!propsUtil.isPropTypesDeclaration(property)) { + return; + } + validatePropNaming(node, property.value.properties); + }); + }, + + TypeAlias(node) { + findAllTypeAnnotations(node.id, node.right); + }, + + TSTypeAliasDeclaration(node) { + findAllTypeAnnotations(node.id, node.typeAnnotation); + }, + + TSInterfaceDeclaration(node) { + findAllTypeAnnotations(node.id, node.body); + }, + + // eslint-disable-next-line object-shorthand + 'Program:exit'() { + if (!rule) { + return; + } + + values(components.list()).forEach((component) => { + const annotation = getComponentTypeAnnotation(component); + + if (annotation) { + let propType; + if (annotation.type === 'GenericTypeAnnotation') { + propType = objectTypeAnnotations.get(annotation.id.name); + } else if (annotation.type === 'ObjectTypeAnnotation' || annotation.type === 'TSTypeLiteral') { + propType = annotation; + } else if (annotation.type === 'TSTypeReference') { + propType = objectTypeAnnotations.get(annotation.typeName.name); + } else if (annotation.type === 'TSIntersectionType') { + propType = flatMap(annotation.types, (type) => ( + type.type === 'TSTypeReference' + ? objectTypeAnnotations.get(type.typeName.name) + : type + )); + } + + if (propType) { + [].concat(propType).filter(Boolean).forEach((prop) => { + validatePropNaming( + component.node, + prop.properties || prop.members || prop.body + ); + }); + } + } + + if (component.invalidProps && component.invalidProps.length > 0) { + reportInvalidNaming(component); + } + }); + + // Reset cache + objectTypeAnnotations.clear(); + }, + }; + }), +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/button-has-type.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/button-has-type.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..3e3136b9a50279e3989993d8df3bf4767f6f9480 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/button-has-type.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=button-has-type.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/button-has-type.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/button-has-type.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..9c54047e0dbc648d6d8130fc0d2d01f5281237e4 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/button-has-type.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"button-has-type.d.ts","sourceRoot":"","sources":["button-has-type.js"],"names":[],"mappings":"wBA8BW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/button-has-type.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/button-has-type.js new file mode 100644 index 0000000000000000000000000000000000000000..a6fd41cbfebb169eca66ec9ad22401cfd6c675b0 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/button-has-type.js @@ -0,0 +1,169 @@ +/** + * @fileoverview Forbid "button" element without an explicit "type" attribute + * @author Filipp Riabchun + */ + +'use strict'; + +const getProp = require('jsx-ast-utils/getProp'); +const getLiteralPropValue = require('jsx-ast-utils/getLiteralPropValue'); +const docsUrl = require('../util/docsUrl'); +const isCreateElement = require('../util/isCreateElement'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const optionDefaults = { + button: true, + submit: true, + reset: true, +}; + +const messages = { + missingType: 'Missing an explicit type attribute for button', + complexType: 'The button type attribute must be specified by a static string or a trivial ternary expression', + invalidValue: '"{{value}}" is an invalid value for button type attribute', + forbiddenValue: '"{{value}}" is an invalid value for button type attribute', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow usage of `button` elements without an explicit `type` attribute', + category: 'Possible Errors', + recommended: false, + url: docsUrl('button-has-type'), + }, + + messages, + + schema: [{ + type: 'object', + properties: { + button: { + default: optionDefaults.button, + type: 'boolean', + }, + submit: { + default: optionDefaults.submit, + type: 'boolean', + }, + reset: { + default: optionDefaults.reset, + type: 'boolean', + }, + }, + additionalProperties: false, + }], + }, + + create(context) { + const configuration = Object.assign({}, optionDefaults, context.options[0]); + + function reportMissing(node) { + report(context, messages.missingType, 'missingType', { + node, + }); + } + + function reportComplex(node) { + report(context, messages.complexType, 'complexType', { + node, + }); + } + + function checkValue(node, value) { + if (!(value in configuration)) { + report(context, messages.invalidValue, 'invalidValue', { + node, + data: { + value, + }, + }); + } else if (!configuration[value]) { + report(context, messages.forbiddenValue, 'forbiddenValue', { + node, + data: { + value, + }, + }); + } + } + + function checkExpression(node, expression) { + switch (expression.type) { + case 'Literal': + checkValue(node, expression.value); + return; + case 'TemplateLiteral': + if (expression.expressions.length === 0) { + checkValue(node, expression.quasis[0].value.raw); + } else { + reportComplex(expression); + } + return; + case 'ConditionalExpression': + checkExpression(node, expression.consequent); + checkExpression(node, expression.alternate); + return; + default: + reportComplex(expression); + } + } + + return { + JSXElement(node) { + if (node.openingElement.name.name !== 'button') { + return; + } + + const typeProp = getProp(node.openingElement.attributes, 'type'); + + if (!typeProp) { + reportMissing(node); + return; + } + + if (typeProp.value && typeProp.value.type === 'JSXExpressionContainer') { + checkExpression(node, typeProp.value.expression); + return; + } + + const propValue = getLiteralPropValue(typeProp); + checkValue(node, propValue); + }, + CallExpression(node) { + if (!isCreateElement(context, node) || node.arguments.length < 1) { + return; + } + + if (node.arguments[0].type !== 'Literal' || node.arguments[0].value !== 'button') { + return; + } + + if (!node.arguments[1] || node.arguments[1].type !== 'ObjectExpression') { + reportMissing(node); + return; + } + + const props = node.arguments[1].properties; + const typeProp = props.find((prop) => ( + 'key' in prop + && prop.key + && 'name' in prop.key + && prop.key.name === 'type' + )); + + if (!typeProp) { + reportMissing(node); + return; + } + + checkExpression(node, 'value' in typeProp ? typeProp.value : undefined); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/checked-requires-onchange-or-readonly.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/checked-requires-onchange-or-readonly.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ed939d3dceb8e4a5164097a01e54dae0006dab3b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/checked-requires-onchange-or-readonly.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=checked-requires-onchange-or-readonly.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/checked-requires-onchange-or-readonly.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/checked-requires-onchange-or-readonly.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..6cd34eea9eda47674a04eedb015e52140074e942 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/checked-requires-onchange-or-readonly.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"checked-requires-onchange-or-readonly.d.ts","sourceRoot":"","sources":["checked-requires-onchange-or-readonly.js"],"names":[],"mappings":"wBA2CW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/checked-requires-onchange-or-readonly.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/checked-requires-onchange-or-readonly.js new file mode 100644 index 0000000000000000000000000000000000000000..d67449ea515394457c6aec4d44c6d024b1b60666 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/checked-requires-onchange-or-readonly.js @@ -0,0 +1,142 @@ +/** + * @fileoverview Enforce the use of the 'onChange' or 'readonly' attribute when 'checked' is used' + * @author Jaesoekjjang + */ + +'use strict'; + +const ASTUtils = require('jsx-ast-utils'); +const flatMap = require('array.prototype.flatmap'); +const isCreateElement = require('../util/isCreateElement'); +const report = require('../util/report'); +const docsUrl = require('../util/docsUrl'); + +const messages = { + missingProperty: '`checked` should be used with either `onChange` or `readOnly`.', + exclusiveCheckedAttribute: 'Use either `checked` or `defaultChecked`, but not both.', +}; + +const targetPropSet = new Set(['checked', 'onChange', 'readOnly', 'defaultChecked']); + +const defaultOptions = { + ignoreMissingProperties: false, + ignoreExclusiveCheckedAttribute: false, +}; + +/** + * @param {object[]} properties + * @param {string} keyName + * @returns {Set} + */ +function extractTargetProps(properties, keyName) { + return new Set( + flatMap( + properties, + (prop) => ( + prop[keyName] && targetPropSet.has(prop[keyName].name) + ? [prop[keyName].name] + : [] + ) + ) + ); +} + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce using `onChange` or `readonly` attribute when `checked` is used', + category: 'Best Practices', + recommended: false, + url: docsUrl('checked-requires-onchange-or-readonly'), + }, + messages, + schema: [{ + additionalProperties: false, + properties: { + ignoreMissingProperties: { + type: 'boolean', + }, + ignoreExclusiveCheckedAttribute: { + type: 'boolean', + }, + }, + }], + }, + create(context) { + const options = Object.assign({}, defaultOptions, context.options[0]); + + function reportMissingProperty(node) { + report( + context, + messages.missingProperty, + 'missingProperty', + { node } + ); + } + + function reportExclusiveCheckedAttribute(node) { + report( + context, + messages.exclusiveCheckedAttribute, + 'exclusiveCheckedAttribute', + { node } + ); + } + + /** + * @param {ASTNode} node + * @param {Set} propSet + * @returns {void} + */ + const checkAttributesAndReport = (node, propSet) => { + if (!propSet.has('checked')) { + return; + } + + if (!options.ignoreExclusiveCheckedAttribute && propSet.has('defaultChecked')) { + reportExclusiveCheckedAttribute(node); + } + + if ( + !options.ignoreMissingProperties + && !(propSet.has('onChange') || propSet.has('readOnly')) + ) { + reportMissingProperty(node); + } + }; + + return { + JSXOpeningElement(node) { + if (ASTUtils.elementType(node) !== 'input') { + return; + } + + const propSet = extractTargetProps(node.attributes, 'name'); + checkAttributesAndReport(node, propSet); + }, + CallExpression(node) { + if (!isCreateElement(context, node)) { + return; + } + + const firstArg = node.arguments[0]; + const secondArg = node.arguments[1]; + if ( + !firstArg + || firstArg.type !== 'Literal' + || firstArg.value !== 'input' + ) { + return; + } + + if (!secondArg || secondArg.type !== 'ObjectExpression') { + return; + } + + const propSet = extractTargetProps(secondArg.properties, 'key'); + checkAttributesAndReport(node, propSet); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/default-props-match-prop-types.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/default-props-match-prop-types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f5f5b51672732ce6f708c7d9732c85e574987bed --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/default-props-match-prop-types.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=default-props-match-prop-types.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/default-props-match-prop-types.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/default-props-match-prop-types.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..7a83ff067a500c861f6fa1dd6b667908e47aabaa --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/default-props-match-prop-types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"default-props-match-prop-types.d.ts","sourceRoot":"","sources":["default-props-match-prop-types.js"],"names":[],"mappings":"wBAuBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/default-props-match-prop-types.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/default-props-match-prop-types.js new file mode 100644 index 0000000000000000000000000000000000000000..95b341650a00760a5718c0e2086d435c31dce95e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/default-props-match-prop-types.js @@ -0,0 +1,109 @@ +/** + * @fileOverview Enforce all defaultProps are defined in propTypes + * @author Vitor Balocco + * @author Roy Sutton + */ + +'use strict'; + +const values = require('object.values'); + +const Components = require('../util/Components'); +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + requiredHasDefault: 'defaultProp "{{name}}" defined for isRequired propType.', + defaultHasNoType: 'defaultProp "{{name}}" has no corresponding propTypes declaration.', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce all defaultProps have a corresponding non-required PropType', + category: 'Best Practices', + url: docsUrl('default-props-match-prop-types'), + }, + + messages, + + schema: [{ + type: 'object', + properties: { + allowRequiredDefaults: { + default: false, + type: 'boolean', + }, + }, + additionalProperties: false, + }], + }, + + create: Components.detect((context, components) => { + const configuration = context.options[0] || {}; + const allowRequiredDefaults = configuration.allowRequiredDefaults || false; + + /** + * Reports all defaultProps passed in that don't have an appropriate propTypes counterpart. + * @param {Object[]} propTypes Array of propTypes to check. + * @param {Object} defaultProps Object of defaultProps to check. Keys are the props names. + * @return {void} + */ + function reportInvalidDefaultProps(propTypes, defaultProps) { + // If this defaultProps is "unresolved" or the propTypes is undefined, then we should ignore + // this component and not report any errors for it, to avoid false-positives with e.g. + // external defaultProps/propTypes declarations or spread operators. + if (defaultProps === 'unresolved' || !propTypes || Object.keys(propTypes).length === 0) { + return; + } + + Object.keys(defaultProps).forEach((defaultPropName) => { + const defaultProp = defaultProps[defaultPropName]; + const prop = propTypes[defaultPropName]; + + if (prop && (allowRequiredDefaults || !prop.isRequired)) { + return; + } + + if (prop) { + report(context, messages.requiredHasDefault, 'requiredHasDefault', { + node: defaultProp.node, + data: { + name: defaultPropName, + }, + }); + } else { + report(context, messages.defaultHasNoType, 'defaultHasNoType', { + node: defaultProp.node, + data: { + name: defaultPropName, + }, + }); + } + }); + } + + // -------------------------------------------------------------------------- + // Public API + // -------------------------------------------------------------------------- + + return { + 'Program:exit'() { + // If no defaultProps could be found, we don't report anything. + values(components.list()) + .filter((component) => component.defaultProps) + .forEach((component) => { + reportInvalidDefaultProps( + component.declaredPropTypes, + component.defaultProps || {} + ); + }); + }, + }; + }), +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/destructuring-assignment.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/destructuring-assignment.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0b7348c6e114d3bcff77b479ee566279cf43d852 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/destructuring-assignment.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=destructuring-assignment.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/destructuring-assignment.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/destructuring-assignment.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..686fa164fa741d5b5bb84bb5ce6d738c4690aaff --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/destructuring-assignment.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"destructuring-assignment.d.ts","sourceRoot":"","sources":["destructuring-assignment.js"],"names":[],"mappings":"wBA2DW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/destructuring-assignment.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/destructuring-assignment.js new file mode 100644 index 0000000000000000000000000000000000000000..6e254f772fddb2a23e6e9d5d52bdb53b2626480a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/destructuring-assignment.js @@ -0,0 +1,319 @@ +/** + * @fileoverview Enforce consistent usage of destructuring assignment of props, state, and context. + */ + +'use strict'; + +const Components = require('../util/Components'); +const docsUrl = require('../util/docsUrl'); +const eslintUtil = require('../util/eslint'); +const isAssignmentLHS = require('../util/ast').isAssignmentLHS; +const report = require('../util/report'); + +const getScope = eslintUtil.getScope; +const getText = eslintUtil.getText; + +const DEFAULT_OPTION = 'always'; + +function createSFCParams() { + const queue = []; + + return { + push(params) { + queue.unshift(params); + }, + pop() { + queue.shift(); + }, + propsName() { + const found = queue.find((params) => { + const props = params[0]; + return props && !props.destructuring && props.name; + }); + return found && found[0] && found[0].name; + }, + contextName() { + const found = queue.find((params) => { + const context = params[1]; + return context && !context.destructuring && context.name; + }); + return found && found[1] && found[1].name; + }, + }; +} + +function evalParams(params) { + return params.map((param) => ({ + destructuring: param.type === 'ObjectPattern', + name: param.type === 'Identifier' && param.name, + })); +} + +const messages = { + noDestructPropsInSFCArg: 'Must never use destructuring props assignment in SFC argument', + noDestructContextInSFCArg: 'Must never use destructuring context assignment in SFC argument', + noDestructAssignment: 'Must never use destructuring {{type}} assignment', + useDestructAssignment: 'Must use destructuring {{type}} assignment', + destructureInSignature: 'Must destructure props in the function signature.', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce consistent usage of destructuring assignment of props, state, and context', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('destructuring-assignment'), + }, + fixable: 'code', + messages, + + schema: [{ + type: 'string', + enum: [ + 'always', + 'never', + ], + }, { + type: 'object', + properties: { + ignoreClassFields: { + type: 'boolean', + }, + destructureInSignature: { + type: 'string', + enum: [ + 'always', + 'ignore', + ], + }, + }, + additionalProperties: false, + }], + }, + + create: Components.detect((context, components, utils) => { + const configuration = context.options[0] || DEFAULT_OPTION; + const ignoreClassFields = (context.options[1] && (context.options[1].ignoreClassFields === true)) || false; + const destructureInSignature = (context.options[1] && context.options[1].destructureInSignature) || 'ignore'; + const sfcParams = createSFCParams(); + + /** + * @param {ASTNode} node We expect either an ArrowFunctionExpression, + * FunctionDeclaration, or FunctionExpression + */ + function handleStatelessComponent(node) { + const params = evalParams(node.params); + + const SFCComponent = components.get(getScope(context, node).block); + if (!SFCComponent) { + return; + } + sfcParams.push(params); + + if (params[0] && params[0].destructuring && components.get(node) && configuration === 'never') { + report(context, messages.noDestructPropsInSFCArg, 'noDestructPropsInSFCArg', { + node, + }); + } else if (params[1] && params[1].destructuring && components.get(node) && configuration === 'never') { + report(context, messages.noDestructContextInSFCArg, 'noDestructContextInSFCArg', { + node, + }); + } + } + + function handleStatelessComponentExit(node) { + const SFCComponent = components.get(getScope(context, node).block); + if (SFCComponent) { + sfcParams.pop(); + } + } + + function handleSFCUsage(node) { + const propsName = sfcParams.propsName(); + const contextName = sfcParams.contextName(); + // props.aProp || context.aProp + const isPropUsed = ( + (propsName && node.object.name === propsName) + || (contextName && node.object.name === contextName) + ) + && !isAssignmentLHS(node); + if (isPropUsed && configuration === 'always' && !node.optional) { + report(context, messages.useDestructAssignment, 'useDestructAssignment', { + node, + data: { + type: node.object.name, + }, + }); + } + } + + function isInClassProperty(node) { + let curNode = node.parent; + while (curNode) { + if (curNode.type === 'ClassProperty' || curNode.type === 'PropertyDefinition') { + return true; + } + curNode = curNode.parent; + } + return false; + } + + function handleClassUsage(node) { + // this.props.Aprop || this.context.aProp || this.state.aState + const isPropUsed = ( + node.object.type === 'MemberExpression' && node.object.object.type === 'ThisExpression' + && (node.object.property.name === 'props' || node.object.property.name === 'context' || node.object.property.name === 'state') + && !isAssignmentLHS(node) + ); + + if ( + isPropUsed && configuration === 'always' + && !(ignoreClassFields && isInClassProperty(node)) + ) { + report(context, messages.useDestructAssignment, 'useDestructAssignment', { + node, + data: { + type: node.object.property.name, + }, + }); + } + } + + // valid-jsdoc cannot read function types + // eslint-disable-next-line valid-jsdoc + /** + * Find a parent that satisfy the given predicate + * @param {ASTNode} node + * @param {(node: ASTNode) => boolean} predicate + * @returns {ASTNode | undefined} + */ + function findParent(node, predicate) { + let n = node; + while (n) { + if (predicate(n)) { + return n; + } + n = n.parent; + } + return undefined; + } + + return { + + FunctionDeclaration: handleStatelessComponent, + + ArrowFunctionExpression: handleStatelessComponent, + + FunctionExpression: handleStatelessComponent, + + 'FunctionDeclaration:exit': handleStatelessComponentExit, + + 'ArrowFunctionExpression:exit': handleStatelessComponentExit, + + 'FunctionExpression:exit': handleStatelessComponentExit, + + MemberExpression(node) { + const SFCComponent = utils.getParentStatelessComponent(node); + if (SFCComponent) { + handleSFCUsage(node); + } + + const classComponent = utils.getParentComponent(node); + if (classComponent) { + handleClassUsage(node); + } + }, + + TSQualifiedName(node) { + if (configuration !== 'always') { + return; + } + // handle `typeof props.a.b` + if (node.left.type === 'Identifier' + && node.left.name === sfcParams.propsName() + && findParent(node, (n) => n.type === 'TSTypeQuery') + && utils.getParentStatelessComponent(node) + ) { + report(context, messages.useDestructAssignment, 'useDestructAssignment', { + node, + data: { + type: 'props', + }, + }); + } + }, + + VariableDeclarator(node) { + const classComponent = utils.getParentComponent(node); + const SFCComponent = components.get(getScope(context, node).block); + + const destructuring = (node.init && node.id && node.id.type === 'ObjectPattern'); + // let {foo} = props; + const destructuringSFC = destructuring && (node.init.name === 'props' || node.init.name === 'context'); + // let {foo} = this.props; + const destructuringClass = destructuring && node.init.object && node.init.object.type === 'ThisExpression' && ( + node.init.property.name === 'props' || node.init.property.name === 'context' || node.init.property.name === 'state' + ); + + if (SFCComponent && destructuringSFC && configuration === 'never') { + report(context, messages.noDestructAssignment, 'noDestructAssignment', { + node, + data: { + type: node.init.name, + }, + }); + } + + if ( + classComponent && destructuringClass && configuration === 'never' + && !(ignoreClassFields && (node.parent.type === 'ClassProperty' || node.parent.type === 'PropertyDefinition')) + ) { + report(context, messages.noDestructAssignment, 'noDestructAssignment', { + node, + data: { + type: node.init.property.name, + }, + }); + } + + if ( + SFCComponent + && destructuringSFC + && configuration === 'always' + && destructureInSignature === 'always' + && node.init.name === 'props' + ) { + const scopeSetProps = getScope(context, node).set.get('props'); + const propsRefs = scopeSetProps && scopeSetProps.references; + if (!propsRefs) { + return; + } + + // Skip if props is used elsewhere + if (propsRefs.length > 1) { + return; + } + report(context, messages.destructureInSignature, 'destructureInSignature', { + node, + fix(fixer) { + const param = SFCComponent.node.params[0]; + if (!param) { + return; + } + const replaceRange = [ + param.range[0], + param.typeAnnotation ? param.typeAnnotation.range[0] : param.range[1], + ]; + return [ + fixer.replaceTextRange(replaceRange, getText(context, node.id)), + fixer.remove(node.parent), + ]; + }, + }); + } + }, + }; + }), +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/display-name.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/display-name.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b9da0311932194c10168099a71ee7e02fbeaa6a1 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/display-name.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=display-name.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/display-name.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/display-name.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..6f47ffb2e6880c66c621a92b5b5b53163498c7b0 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/display-name.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"display-name.d.ts","sourceRoot":"","sources":["display-name.js"],"names":[],"mappings":"wBA6BW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/display-name.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/display-name.js new file mode 100644 index 0000000000000000000000000000000000000000..b85ec34f1ccebf0a36106d5dcd0e1e58a81d33bc --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/display-name.js @@ -0,0 +1,285 @@ +/** + * @fileoverview Prevent missing displayName in a React component definition + * @author Yannick Croissant + */ + +'use strict'; + +const values = require('object.values'); +const filter = require('es-iterator-helpers/Iterator.prototype.filter'); +const forEach = require('es-iterator-helpers/Iterator.prototype.forEach'); + +const Components = require('../util/Components'); +const isCreateContext = require('../util/isCreateContext'); +const astUtil = require('../util/ast'); +const componentUtil = require('../util/componentUtil'); +const docsUrl = require('../util/docsUrl'); +const testReactVersion = require('../util/version').testReactVersion; +const propsUtil = require('../util/props'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + noDisplayName: 'Component definition is missing display name', + noContextDisplayName: 'Context definition is missing display name', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow missing displayName in a React component definition', + category: 'Best Practices', + recommended: true, + url: docsUrl('display-name'), + }, + + messages, + + schema: [{ + type: 'object', + properties: { + ignoreTranspilerName: { + type: 'boolean', + }, + checkContextObjects: { + type: 'boolean', + }, + }, + additionalProperties: false, + }], + }, + + create: Components.detect((context, components, utils) => { + const config = context.options[0] || {}; + const ignoreTranspilerName = config.ignoreTranspilerName || false; + const checkContextObjects = (config.checkContextObjects || false) && testReactVersion(context, '>= 16.3.0'); + + const contextObjects = new Map(); + + /** + * Mark a prop type as declared + * @param {ASTNode} node The AST node being checked. + */ + function markDisplayNameAsDeclared(node) { + components.set(node, { + hasDisplayName: true, + }); + } + + /** + * Checks if React.forwardRef is nested inside React.memo + * @param {ASTNode} node The AST node being checked. + * @returns {boolean} True if React.forwardRef is nested inside React.memo, false if not. + */ + function isNestedMemo(node) { + return astUtil.isCallExpression(node) + && node.arguments + && astUtil.isCallExpression(node.arguments[0]) + && utils.isPragmaComponentWrapper(node); + } + + /** + * Reports missing display name for a given component + * @param {Object} component The component to process + */ + function reportMissingDisplayName(component) { + if ( + testReactVersion(context, '^0.14.10 || ^15.7.0 || >= 16.12.0') + && isNestedMemo(component.node) + ) { + return; + } + + report(context, messages.noDisplayName, 'noDisplayName', { + node: component.node, + }); + } + + /** + * Reports missing display name for a given context object + * @param {Object} contextObj The context object to process + */ + function reportMissingContextDisplayName(contextObj) { + report(context, messages.noContextDisplayName, 'noContextDisplayName', { + node: contextObj.node, + }); + } + + /** + * Checks if the component have a name set by the transpiler + * @param {ASTNode} node The AST node being checked. + * @returns {boolean} True if component has a name, false if not. + */ + function hasTranspilerName(node) { + const namedObjectAssignment = ( + node.type === 'ObjectExpression' + && node.parent + && node.parent.parent + && node.parent.parent.type === 'AssignmentExpression' + && ( + !node.parent.parent.left.object + || node.parent.parent.left.object.name !== 'module' + || node.parent.parent.left.property.name !== 'exports' + ) + ); + const namedObjectDeclaration = ( + node.type === 'ObjectExpression' + && node.parent + && node.parent.parent + && node.parent.parent.type === 'VariableDeclarator' + ); + const namedClass = ( + (node.type === 'ClassDeclaration' || node.type === 'ClassExpression') + && node.id + && !!node.id.name + ); + + const namedFunctionDeclaration = ( + (node.type === 'FunctionDeclaration' || node.type === 'FunctionExpression') + && node.id + && !!node.id.name + ); + + const namedFunctionExpression = ( + astUtil.isFunctionLikeExpression(node) + && node.parent + && (node.parent.type === 'VariableDeclarator' || node.parent.type === 'Property' || node.parent.method === true) + && (!node.parent.parent || !componentUtil.isES5Component(node.parent.parent, context)) + ); + + if ( + namedObjectAssignment || namedObjectDeclaration + || namedClass + || namedFunctionDeclaration || namedFunctionExpression + ) { + return true; + } + return false; + } + + // -------------------------------------------------------------------------- + // Public + // -------------------------------------------------------------------------- + + return { + ExpressionStatement(node) { + if (checkContextObjects && isCreateContext(node)) { + contextObjects.set(node.expression.left.name, { node, hasDisplayName: false }); + } + }, + VariableDeclarator(node) { + if (checkContextObjects && isCreateContext(node)) { + contextObjects.set(node.id.name, { node, hasDisplayName: false }); + } + }, + 'ClassProperty, PropertyDefinition'(node) { + if (!propsUtil.isDisplayNameDeclaration(node)) { + return; + } + markDisplayNameAsDeclared(node); + }, + + MemberExpression(node) { + if (!propsUtil.isDisplayNameDeclaration(node.property)) { + return; + } + if ( + checkContextObjects + && node.object + && node.object.name + && contextObjects.has(node.object.name) + ) { + contextObjects.get(node.object.name).hasDisplayName = true; + } + const component = utils.getRelatedComponent(node); + if (!component) { + return; + } + markDisplayNameAsDeclared(astUtil.unwrapTSAsExpression(component.node)); + }, + + 'FunctionExpression, FunctionDeclaration, ArrowFunctionExpression'(node) { + if (ignoreTranspilerName || !hasTranspilerName(node)) { + return; + } + if (components.get(node)) { + markDisplayNameAsDeclared(node); + } + }, + + MethodDefinition(node) { + if (!propsUtil.isDisplayNameDeclaration(node.key)) { + return; + } + markDisplayNameAsDeclared(node); + }, + + 'ClassExpression, ClassDeclaration'(node) { + if (ignoreTranspilerName || !hasTranspilerName(node)) { + return; + } + markDisplayNameAsDeclared(node); + }, + + ObjectExpression(node) { + if (!componentUtil.isES5Component(node, context)) { + return; + } + if (ignoreTranspilerName || !hasTranspilerName(node)) { + // Search for the displayName declaration + node.properties.forEach((property) => { + if (!property.key || !propsUtil.isDisplayNameDeclaration(property.key)) { + return; + } + markDisplayNameAsDeclared(node); + }); + return; + } + markDisplayNameAsDeclared(node); + }, + + CallExpression(node) { + if (!utils.isPragmaComponentWrapper(node)) { + return; + } + + if (node.arguments.length > 0 && astUtil.isFunctionLikeExpression(node.arguments[0])) { + // Skip over React.forwardRef declarations that are embedded within + // a React.memo i.e. React.memo(React.forwardRef(/* ... */)) + // This means that we raise a single error for the call to React.memo + // instead of one for React.memo and one for React.forwardRef + const isWrappedInAnotherPragma = utils.getPragmaComponentWrapper(node); + if ( + !isWrappedInAnotherPragma + && (ignoreTranspilerName || !hasTranspilerName(node.arguments[0])) + ) { + return; + } + + if (components.get(node)) { + markDisplayNameAsDeclared(node); + } + } + }, + + 'Program:exit'() { + const list = components.list(); + // Report missing display name for all components + values(list).filter((component) => !component.hasDisplayName).forEach((component) => { + reportMissingDisplayName(component); + }); + if (checkContextObjects) { + // Report missing display name for all context objects + forEach( + filter(contextObjects.values(), (v) => !v.hasDisplayName), + (contextObj) => reportMissingContextDisplayName(contextObj) + ); + } + }, + }; + }), +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..06e412d9042e26f83155dbd551e2d9de26e73d42 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=forbid-component-props.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..c0ff62941789978e23691997ba5b88f187dbc00e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"forbid-component-props.d.ts","sourceRoot":"","sources":["forbid-component-props.js"],"names":[],"mappings":"wBAyBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.js new file mode 100644 index 0000000000000000000000000000000000000000..2dd4412b87e7d57d0d46415cd2816e73f6b34e7e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.js @@ -0,0 +1,239 @@ +/** + * @fileoverview Forbid certain props on components + * @author Joe Lencioni + */ + +'use strict'; + +const minimatch = require('minimatch'); +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Constants +// ------------------------------------------------------------------------------ + +const DEFAULTS = ['className', 'style']; + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + propIsForbidden: 'Prop "{{prop}}" is forbidden on Components', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow certain props on components', + category: 'Best Practices', + recommended: false, + url: docsUrl('forbid-component-props'), + }, + + messages, + + schema: [{ + type: 'object', + properties: { + forbid: { + type: 'array', + items: { + anyOf: [ + { type: 'string' }, + { + type: 'object', + properties: { + propName: { type: 'string' }, + allowedFor: { + type: 'array', + uniqueItems: true, + items: { type: 'string' }, + }, + allowedForPatterns: { + type: 'array', + uniqueItems: true, + items: { type: 'string' }, + }, + message: { type: 'string' }, + }, + additionalProperties: false, + }, + { + type: 'object', + properties: { + propName: { type: 'string' }, + disallowedFor: { + type: 'array', + uniqueItems: true, + minItems: 1, + items: { type: 'string' }, + }, + disallowedForPatterns: { + type: 'array', + uniqueItems: true, + minItems: 1, + items: { type: 'string' }, + }, + message: { type: 'string' }, + }, + anyOf: [ + { required: ['disallowedFor'] }, + { required: ['disallowedForPatterns'] }, + ], + additionalProperties: false, + }, + { + type: 'object', + properties: { + propNamePattern: { type: 'string' }, + allowedFor: { + type: 'array', + uniqueItems: true, + items: { type: 'string' }, + }, + allowedForPatterns: { + type: 'array', + uniqueItems: true, + items: { type: 'string' }, + }, + message: { type: 'string' }, + }, + additionalProperties: false, + }, + { + type: 'object', + properties: { + propNamePattern: { type: 'string' }, + disallowedFor: { + type: 'array', + uniqueItems: true, + minItems: 1, + items: { type: 'string' }, + }, + disallowedForPatterns: { + type: 'array', + uniqueItems: true, + minItems: 1, + items: { type: 'string' }, + }, + message: { type: 'string' }, + }, + anyOf: [ + { required: ['disallowedFor'] }, + { required: ['disallowedForPatterns'] }, + ], + additionalProperties: false, + }, + ], + }, + }, + }, + }], + }, + + create(context) { + const configuration = context.options[0] || {}; + const forbid = new Map((configuration.forbid || DEFAULTS).map((value) => { + const propName = typeof value === 'string' ? value : value.propName; + const propPattern = value.propNamePattern; + const prop = propName || propPattern; + const options = { + allowList: [].concat(value.allowedFor || []), + allowPatternList: [].concat(value.allowedForPatterns || []), + disallowList: [].concat(value.disallowedFor || []), + disallowPatternList: [].concat(value.disallowedForPatterns || []), + message: typeof value === 'string' ? null : value.message, + isPattern: !!value.propNamePattern, + }; + return [prop, options]; + })); + + function getPropOptions(prop) { + // Get config options having pattern + const propNamePatternArray = Array.from(forbid.entries()).filter((propEntry) => propEntry[1].isPattern); + // Match current prop with pattern options, return if matched + const propNamePattern = propNamePatternArray.find((propPatternVal) => minimatch(prop, propPatternVal[0])); + // Get options for matched propNamePattern + const propNamePatternOptions = propNamePattern && propNamePattern[1]; + + const options = forbid.get(prop) || propNamePatternOptions; + return options; + } + + function isForbidden(prop, tagName) { + const options = getPropOptions(prop); + if (!options) { + return false; + } + + function checkIsTagForbiddenByAllowOptions() { + if (options.allowList.indexOf(tagName) !== -1) { + return false; + } + + if (options.allowPatternList.length === 0) { + return true; + } + + return options.allowPatternList.every( + (pattern) => !minimatch(tagName, pattern) + ); + } + + function checkIsTagForbiddenByDisallowOptions() { + if (options.disallowList.indexOf(tagName) !== -1) { + return true; + } + + if (options.disallowPatternList.length === 0) { + return false; + } + + return options.disallowPatternList.some( + (pattern) => minimatch(tagName, pattern) + ); + } + + const hasDisallowOptions = options.disallowList.length > 0 || options.disallowPatternList.length > 0; + + // disallowList should have a least one item (schema configuration) + const isTagForbidden = hasDisallowOptions + ? checkIsTagForbiddenByDisallowOptions() + : checkIsTagForbiddenByAllowOptions(); + + // if the tagName is undefined (``), we assume it's a forbidden element + return typeof tagName === 'undefined' || isTagForbidden; + } + + return { + JSXAttribute(node) { + const parentName = node.parent.name; + // Extract a component name when using a "namespace", e.g. ``. + const tag = parentName.name || `${parentName.object.name}.${parentName.property.name}`; + const componentName = parentName.name || parentName.property.name; + if (componentName && typeof componentName[0] === 'string' && componentName[0] !== componentName[0].toUpperCase()) { + // This is a DOM node, not a Component, so exit. + return; + } + + const prop = node.name.name; + + if (!isForbidden(prop, tag)) { + return; + } + + const customMessage = getPropOptions(prop).message; + + report(context, customMessage || messages.propIsForbidden, !customMessage && 'propIsForbidden', { + node, + data: { + prop, + }, + }); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-dom-props.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-dom-props.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0a7f2c51fd031fac331cd51d82301685865c8ffe --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-dom-props.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=forbid-dom-props.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-dom-props.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-dom-props.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..93174c15cccce496a451882e94086da0abc6c12b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-dom-props.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"forbid-dom-props.d.ts","sourceRoot":"","sources":["forbid-dom-props.js"],"names":[],"mappings":"wBAuCW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-dom-props.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-dom-props.js new file mode 100644 index 0000000000000000000000000000000000000000..4638a8700d0b6f9f3849f4427cd4af1aa9d9d386 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-dom-props.js @@ -0,0 +1,122 @@ +/** + * @fileoverview Forbid certain props on DOM Nodes + * @author David Vázquez + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Constants +// ------------------------------------------------------------------------------ + +const DEFAULTS = []; + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +/** + * @param {Map} forbidMap // { disallowList: null | string[], message: null | string } + * @param {string} prop + * @param {string} tagName + * @returns {boolean} + */ +function isForbidden(forbidMap, prop, tagName) { + const options = forbidMap.get(prop); + return options && ( + typeof tagName === 'undefined' + || !options.disallowList + || options.disallowList.indexOf(tagName) !== -1 + ); +} + +const messages = { + propIsForbidden: 'Prop "{{prop}}" is forbidden on DOM Nodes', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow certain props on DOM Nodes', + category: 'Best Practices', + recommended: false, + url: docsUrl('forbid-dom-props'), + }, + + messages, + + schema: [{ + type: 'object', + properties: { + forbid: { + type: 'array', + items: { + anyOf: [{ + type: 'string', + }, { + type: 'object', + properties: { + propName: { + type: 'string', + }, + disallowedFor: { + type: 'array', + uniqueItems: true, + items: { + type: 'string', + }, + }, + message: { + type: 'string', + }, + }, + }], + minLength: 1, + }, + uniqueItems: true, + }, + }, + additionalProperties: false, + }], + }, + + create(context) { + const configuration = context.options[0] || {}; + const forbid = new Map((configuration.forbid || DEFAULTS).map((value) => { + const propName = typeof value === 'string' ? value : value.propName; + return [propName, { + disallowList: typeof value === 'string' ? null : (value.disallowedFor || null), + message: typeof value === 'string' ? null : value.message, + }]; + })); + + return { + JSXAttribute(node) { + const tag = node.parent.name.name; + if (!(tag && typeof tag === 'string' && tag[0] !== tag[0].toUpperCase())) { + // This is a Component, not a DOM node, so exit. + return; + } + + const prop = node.name.name; + + if (!isForbidden(forbid, prop, tag)) { + return; + } + + const customMessage = forbid.get(prop).message; + + report(context, customMessage || messages.propIsForbidden, !customMessage && 'propIsForbidden', { + node, + data: { + prop, + }, + }); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-elements.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-elements.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1caad3467396cae0b4feda5a1dc2efaa226eced5 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-elements.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=forbid-elements.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-elements.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-elements.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..d7a227c2f2549999e13cd7c0e0f6f785c4249640 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-elements.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"forbid-elements.d.ts","sourceRoot":"","sources":["forbid-elements.js"],"names":[],"mappings":"wBAsBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-elements.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-elements.js new file mode 100644 index 0000000000000000000000000000000000000000..f08ef1d1e7c58f12af973fa0925d569432e17144 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-elements.js @@ -0,0 +1,119 @@ +/** + * @fileoverview Forbid certain elements + * @author Kenneth Chung + */ + +'use strict'; + +const has = require('hasown'); +const docsUrl = require('../util/docsUrl'); +const getText = require('../util/eslint').getText; +const isCreateElement = require('../util/isCreateElement'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + forbiddenElement: '<{{element}}> is forbidden', + forbiddenElement_message: '<{{element}}> is forbidden, {{message}}', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow certain elements', + category: 'Best Practices', + recommended: false, + url: docsUrl('forbid-elements'), + }, + + messages, + + schema: [{ + type: 'object', + properties: { + forbid: { + type: 'array', + items: { + anyOf: [ + { type: 'string' }, + { + type: 'object', + properties: { + element: { type: 'string' }, + message: { type: 'string' }, + }, + required: ['element'], + additionalProperties: false, + }, + ], + }, + }, + }, + additionalProperties: false, + }], + }, + + create(context) { + const configuration = context.options[0] || {}; + const forbidConfiguration = configuration.forbid || []; + + /** @type {Record} */ + const indexedForbidConfigs = {}; + + forbidConfiguration.forEach((item) => { + if (typeof item === 'string') { + indexedForbidConfigs[item] = { element: item }; + } else { + indexedForbidConfigs[item.element] = item; + } + }); + + function reportIfForbidden(element, node) { + if (has(indexedForbidConfigs, element)) { + const message = indexedForbidConfigs[element].message; + + report( + context, + message ? messages.forbiddenElement_message : messages.forbiddenElement, + message ? 'forbiddenElement_message' : 'forbiddenElement', + { + node, + data: { + element, + message, + }, + } + ); + } + } + + return { + JSXOpeningElement(node) { + reportIfForbidden(getText(context, node.name), node.name); + }, + + CallExpression(node) { + if (!isCreateElement(context, node)) { + return; + } + + const argument = node.arguments[0]; + if (!argument) { + return; + } + + if (argument.type === 'Identifier' && /^[A-Z_]/.test(argument.name)) { + reportIfForbidden(argument.name, argument); + } else if (argument.type === 'Literal' && /^[a-z][^.]*$/.test(String(argument.value))) { + reportIfForbidden(argument.value, argument); + } else if (argument.type === 'MemberExpression') { + reportIfForbidden(getText(context, argument), argument); + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-foreign-prop-types.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-foreign-prop-types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..875c4083d485e118224742c41d9c5d96e82a40ed --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-foreign-prop-types.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=forbid-foreign-prop-types.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-foreign-prop-types.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-foreign-prop-types.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..9b4993de4ddc12269354904c1b88d6a116aed8a5 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-foreign-prop-types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"forbid-foreign-prop-types.d.ts","sourceRoot":"","sources":["forbid-foreign-prop-types.js"],"names":[],"mappings":"wBAeW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-foreign-prop-types.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-foreign-prop-types.js new file mode 100644 index 0000000000000000000000000000000000000000..20d191d26483c1a4a436474229a697645433cdb4 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-foreign-prop-types.js @@ -0,0 +1,141 @@ +/** + * @fileoverview Forbid using another component's propTypes + * @author Ian Christian Myers + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const ast = require('../util/ast'); +const report = require('../util/report'); + +const messages = { + forbiddenPropType: 'Using propTypes from another component is not safe because they may be removed in production builds', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow using another component\'s propTypes', + category: 'Best Practices', + recommended: false, + url: docsUrl('forbid-foreign-prop-types'), + }, + + messages, + + schema: [ + { + type: 'object', + properties: { + allowInPropTypes: { + type: 'boolean', + }, + }, + additionalProperties: false, + }, + ], + }, + + create(context) { + const config = context.options[0] || {}; + const allowInPropTypes = config.allowInPropTypes || false; + + // -------------------------------------------------------------------------- + // Helpers + // -------------------------------------------------------------------------- + + function findParentAssignmentExpression(node) { + let parent = node.parent; + + while (parent && parent.type !== 'Program') { + if (parent.type === 'AssignmentExpression') { + return parent; + } + parent = parent.parent; + } + return null; + } + + function findParentClassProperty(node) { + let parent = node.parent; + + while (parent && parent.type !== 'Program') { + if (parent.type === 'ClassProperty' || parent.type === 'PropertyDefinition') { + return parent; + } + parent = parent.parent; + } + return null; + } + + function isAllowedAssignment(node) { + if (!allowInPropTypes) { + return false; + } + + const assignmentExpression = findParentAssignmentExpression(node); + + if ( + assignmentExpression + && assignmentExpression.left + && assignmentExpression.left.property + && assignmentExpression.left.property.name === 'propTypes' + ) { + return true; + } + + const classProperty = findParentClassProperty(node); + + if ( + classProperty + && classProperty.key + && classProperty.key.name === 'propTypes' + ) { + return true; + } + return false; + } + + return { + MemberExpression(node) { + if ( + (node.property + && ( + !node.computed + && node.property.type === 'Identifier' + && node.property.name === 'propTypes' + && !ast.isAssignmentLHS(node) + && !isAllowedAssignment(node) + )) || ( + // @ts-expect-error: The JSXText type is not present in the estree type definitions + (node.property.type === 'Literal' || node.property.type === 'JSXText') + && 'value' in node.property + && node.property.value === 'propTypes' + && !ast.isAssignmentLHS(node) + && !isAllowedAssignment(node) + ) + ) { + report(context, messages.forbiddenPropType, 'forbiddenPropType', { + node: node.property, + }); + } + }, + + ObjectPattern(node) { + const propTypesNode = node.properties.find((property) => ( + property.type === 'Property' + && 'name' in property.key + && property.key.name === 'propTypes' + )); + + if (propTypesNode) { + report(context, messages.forbiddenPropType, 'forbiddenPropType', { + node: propTypesNode, + }); + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-prop-types.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-prop-types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b851e9093c71a8487e7c1f82532d1d510d67adb8 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-prop-types.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=forbid-prop-types.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-prop-types.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-prop-types.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..3cfd8461dff230e20128a3e30d1824b50288d2f2 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-prop-types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"forbid-prop-types.d.ts","sourceRoot":"","sources":["forbid-prop-types.js"],"names":[],"mappings":"wBA4BW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-prop-types.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-prop-types.js new file mode 100644 index 0000000000000000000000000000000000000000..44de1fa02336b3fc85becc77019db2f49a2c6e2f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forbid-prop-types.js @@ -0,0 +1,298 @@ +/** + * @fileoverview Forbid certain propTypes + */ + +'use strict'; + +const variableUtil = require('../util/variable'); +const propsUtil = require('../util/props'); +const astUtil = require('../util/ast'); +const docsUrl = require('../util/docsUrl'); +const propWrapperUtil = require('../util/propWrapper'); +const report = require('../util/report'); +const getText = require('../util/eslint').getText; + +// ------------------------------------------------------------------------------ +// Constants +// ------------------------------------------------------------------------------ + +const DEFAULTS = ['any', 'array', 'object']; + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + forbiddenPropType: 'Prop type "{{target}}" is forbidden', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow certain propTypes', + category: 'Best Practices', + recommended: false, + url: docsUrl('forbid-prop-types'), + }, + + messages, + + schema: [{ + type: 'object', + properties: { + forbid: { + type: 'array', + items: { + type: 'string', + }, + }, + checkContextTypes: { + type: 'boolean', + }, + checkChildContextTypes: { + type: 'boolean', + }, + }, + additionalProperties: true, + }], + }, + + create(context) { + const configuration = context.options[0] || {}; + const checkContextTypes = configuration.checkContextTypes || false; + const checkChildContextTypes = configuration.checkChildContextTypes || false; + let propTypesPackageName = null; + let reactPackageName = null; + let isForeignPropTypesPackage = false; + + function isPropTypesPackage(node) { + return ( + node.type === 'Identifier' + && ( + node.name === null + || node.name === propTypesPackageName + || !isForeignPropTypesPackage + ) + ) || ( + node.type === 'MemberExpression' + && ( + node.object.name === null + || node.object.name === reactPackageName + || !isForeignPropTypesPackage + ) + ); + } + + function isForbidden(type) { + const forbid = configuration.forbid || DEFAULTS; + return forbid.indexOf(type) >= 0; + } + + function reportIfForbidden(type, declaration, target) { + if (isForbidden(type)) { + report(context, messages.forbiddenPropType, 'forbiddenPropType', { + node: declaration, + data: { + target, + }, + }); + } + } + + function shouldCheckContextTypes(node) { + if (checkContextTypes && propsUtil.isContextTypesDeclaration(node)) { + return true; + } + return false; + } + + function shouldCheckChildContextTypes(node) { + if (checkChildContextTypes && propsUtil.isChildContextTypesDeclaration(node)) { + return true; + } + return false; + } + + /** + * Checks if propTypes declarations are forbidden + * @param {Array} declarations The array of AST nodes being checked. + * @returns {void} + */ + function checkProperties(declarations) { + if (declarations) { + declarations.forEach((declaration) => { + if (declaration.type !== 'Property') { + return; + } + let target; + let value = declaration.value; + if ( + value.type === 'MemberExpression' + && value.property + && value.property.name + && value.property.name === 'isRequired' + ) { + value = value.object; + } + if (astUtil.isCallExpression(value)) { + if (!isPropTypesPackage(value.callee)) { + return; + } + value.arguments.forEach((arg) => { + const name = arg.type === 'MemberExpression' ? arg.property.name : arg.name; + reportIfForbidden(name, declaration, name); + }); + value = value.callee; + } + if (!isPropTypesPackage(value)) { + return; + } + if (value.property) { + target = value.property.name; + } else if (value.type === 'Identifier') { + target = value.name; + } + reportIfForbidden(target, declaration, target); + }); + } + } + + function checkNode(node) { + if (!node) { + return; + } + + if (node.type === 'ObjectExpression') { + checkProperties(node.properties); + } else if (node.type === 'Identifier') { + const propTypesObject = variableUtil.findVariableByName(context, node, node.name); + if (propTypesObject && propTypesObject.properties) { + checkProperties(propTypesObject.properties); + } + } else if (astUtil.isCallExpression(node)) { + const innerNode = node.arguments && node.arguments[0]; + if ( + propWrapperUtil.isPropWrapperFunction(context, getText(context, node.callee)) + && innerNode + ) { + checkNode(innerNode); + } + } + } + + return { + ImportDeclaration(node) { + if (node.source && node.source.value === 'prop-types') { // import PropType from "prop-types" + if (node.specifiers.length > 0) { + propTypesPackageName = node.specifiers[0].local.name; + } + } else if (node.source && node.source.value === 'react') { // import { PropTypes } from "react" + if (node.specifiers.length > 0) { + reactPackageName = node.specifiers[0].local.name; // guard against accidental anonymous `import "react"` + } + if (node.specifiers.length >= 1) { + const propTypesSpecifier = node.specifiers.find((specifier) => ( + 'imported' in specifier + && specifier.imported + && 'name' in specifier.imported + && specifier.imported.name === 'PropTypes' + )); + if (propTypesSpecifier) { + propTypesPackageName = propTypesSpecifier.local.name; + } + } + } else { // package is not imported from "react" or "prop-types" + // eslint-disable-next-line no-lonely-if + if (node.specifiers.some((x) => x.local.name === 'PropTypes')) { // assert: node.specifiers.length > 1 + isForeignPropTypesPackage = true; + } + } + }, + + 'ClassProperty, PropertyDefinition'(node) { + if ( + !propsUtil.isPropTypesDeclaration(node) + && !isPropTypesPackage(node) + && !shouldCheckContextTypes(node) + && !shouldCheckChildContextTypes(node) + ) { + return; + } + checkNode(node.value); + }, + + MemberExpression(node) { + if ( + !propsUtil.isPropTypesDeclaration(node) + && !isPropTypesPackage(node) + && !shouldCheckContextTypes(node) + && !shouldCheckChildContextTypes(node) + ) { + return; + } + + checkNode('right' in node.parent && node.parent.right); + }, + + CallExpression(node) { + if ( + node.callee.type === 'MemberExpression' + && node.callee.object + && !isPropTypesPackage(node.callee.object) + && !propsUtil.isPropTypesDeclaration(node.callee) + ) { + return; + } + + if ( + node.arguments.length > 0 + && ( + ('name' in node.callee && node.callee.name === 'shape') + || astUtil.getPropertyName(node.callee) === 'shape' + ) + ) { + checkProperties('properties' in node.arguments[0] && node.arguments[0].properties); + } + }, + + MethodDefinition(node) { + if ( + !propsUtil.isPropTypesDeclaration(node) + && !isPropTypesPackage(node) + && !shouldCheckContextTypes(node) + && !shouldCheckChildContextTypes(node) + ) { + return; + } + + const returnStatement = astUtil.findReturnStatement(node); + + if (returnStatement && returnStatement.argument) { + checkNode(returnStatement.argument); + } + }, + + ObjectExpression(node) { + node.properties.forEach((property) => { + if (!('key' in property) || !property.key) { + return; + } + + if ( + !propsUtil.isPropTypesDeclaration(property) + && !isPropTypesPackage(property) + && !shouldCheckContextTypes(property) + && !shouldCheckChildContextTypes(property) + ) { + return; + } + if (property.value.type === 'ObjectExpression') { + checkProperties(property.value.properties); + } + }); + }, + + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forward-ref-uses-ref.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forward-ref-uses-ref.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b7b6b33a97c354111785ee930a82208ac5025473 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forward-ref-uses-ref.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=forward-ref-uses-ref.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forward-ref-uses-ref.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forward-ref-uses-ref.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..efc4fd6443b5d9fa18c73c674162bdf522107fd1 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forward-ref-uses-ref.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"forward-ref-uses-ref.d.ts","sourceRoot":"","sources":["forward-ref-uses-ref.js"],"names":[],"mappings":"wBA2CW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forward-ref-uses-ref.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forward-ref-uses-ref.js new file mode 100644 index 0000000000000000000000000000000000000000..3a0b7de4c951e7ea92a9de7bac924ba95d643342 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/forward-ref-uses-ref.js @@ -0,0 +1,100 @@ +/** + * @fileoverview Require all forwardRef components include a ref parameter + */ + +'use strict'; + +const isParenthesized = require('../util/ast').isParenthesized; +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); +const getMessageData = require('../util/message'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +/** + * @param {ASTNode} node + * @returns {boolean} If the node represents the identifier `forwardRef`. + */ +function isForwardRefIdentifier(node) { + return node.type === 'Identifier' && node.name === 'forwardRef'; +} + +/** + * @param {ASTNode} node + * @returns {boolean} If the node represents a function call `forwardRef()` or `React.forwardRef()`. + */ +function isForwardRefCall(node) { + return ( + node.type === 'CallExpression' + && ( + isForwardRefIdentifier(node.callee) + || (node.callee.type === 'MemberExpression' && isForwardRefIdentifier(node.callee.property)) + ) + ); +} + +const messages = { + missingRefParameter: 'forwardRef is used with this component but no ref parameter is set', + addRefParameter: 'Add a ref parameter', + removeForwardRef: 'Remove forwardRef wrapper', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Require all forwardRef components include a ref parameter', + category: 'Possible Errors', + recommended: false, + url: docsUrl('forward-ref-uses-ref'), + }, + messages, + schema: [], + type: 'suggestion', + hasSuggestions: true, + }, + + create(context) { + const sourceCode = context.getSourceCode(); + + return { + 'FunctionExpression, ArrowFunctionExpression'(node) { + if (!isForwardRefCall(node.parent)) { + return; + } + + if (node.params.length === 1) { + report(context, messages.missingRefParameter, 'missingRefParameter', { + node, + suggest: [ + Object.assign( + getMessageData('addRefParameter', messages.addRefParameter), + { + fix(fixer) { + const param = node.params[0]; + // If using shorthand arrow function syntax, add parentheses around the new parameter pair + const shouldAddParentheses = node.type === 'ArrowFunctionExpression' && !isParenthesized(context, param); + return [].concat( + shouldAddParentheses ? fixer.insertTextBefore(param, '(') : [], + fixer.insertTextAfter(param, `, ref${shouldAddParentheses ? ')' : ''}`) + ); + }, + } + ), + Object.assign( + getMessageData('removeForwardRef', messages.removeForwardRef), + { + fix(fixer) { + return fixer.replaceText(node.parent, sourceCode.getText(node)); + }, + } + ), + ], + }); + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/function-component-definition.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/function-component-definition.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..63eed49fc904b975f9e4c64678d50df9c5925994 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/function-component-definition.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=function-component-definition.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/function-component-definition.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/function-component-definition.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..922758309ab9994789de8f15541c59ec4dad6e80 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/function-component-definition.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"function-component-definition.d.ts","sourceRoot":"","sources":["function-component-definition.js"],"names":[],"mappings":"wBAqHW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/function-component-definition.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/function-component-definition.js new file mode 100644 index 0000000000000000000000000000000000000000..cca665abe2c5658ff8f8e03c1fd0cae08a1769eb --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/function-component-definition.js @@ -0,0 +1,285 @@ +/** + * @fileoverview Standardize the way function component get defined + * @author Stefan Wullems + */ + +'use strict'; + +const arrayIncludes = require('array-includes'); +const Components = require('../util/Components'); +const docsUrl = require('../util/docsUrl'); +const reportC = require('../util/report'); +const getText = require('../util/eslint').getText; +const propsUtil = require('../util/props'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +function buildFunction(template, parts) { + return Object.keys(parts).reduce( + (acc, key) => acc.replace(`{${key}}`, () => parts[key] || ''), + template + ); +} + +const NAMED_FUNCTION_TEMPLATES = { + 'function-declaration': 'function {name}{typeParams}({params}){returnType} {body}', + 'arrow-function': '{varType} {name}{typeAnnotation} = {typeParams}({params}){returnType} => {body}', + 'function-expression': '{varType} {name}{typeAnnotation} = function{typeParams}({params}){returnType} {body}', +}; + +const UNNAMED_FUNCTION_TEMPLATES = { + 'function-expression': 'function{typeParams}({params}){returnType} {body}', + 'arrow-function': '{typeParams}({params}){returnType} => {body}', +}; + +function hasOneUnconstrainedTypeParam(node) { + const nodeTypeArguments = propsUtil.getTypeArguments(node); + + return nodeTypeArguments + && nodeTypeArguments.params + && nodeTypeArguments.params.length === 1 + && !nodeTypeArguments.params[0].constraint; +} + +function hasName(node) { + return ( + node.type === 'FunctionDeclaration' + || node.parent.type === 'VariableDeclarator' + ); +} + +function getNodeText(prop, source) { + if (!prop) return null; + return source.slice(prop.range[0], prop.range[1]); +} + +function getName(node) { + if (node.type === 'FunctionDeclaration') { + return node.id.name; + } + + if ( + node.type === 'ArrowFunctionExpression' + || node.type === 'FunctionExpression' + ) { + return hasName(node) && node.parent.id.name; + } +} + +function getParams(node, source) { + if (node.params.length === 0) return null; + return source.slice( + node.params[0].range[0], + node.params[node.params.length - 1].range[1] + ); +} + +function getBody(node, source) { + const range = node.body.range; + + if (node.body.type !== 'BlockStatement') { + return ['{', ` return ${source.slice(range[0], range[1])}`, '}'].join('\n'); + } + + return source.slice(range[0], range[1]); +} + +function getTypeAnnotation(node, source) { + if (!hasName(node) || node.type === 'FunctionDeclaration') return; + + if ( + node.type === 'ArrowFunctionExpression' + || node.type === 'FunctionExpression' + ) { + return getNodeText(node.parent.id.typeAnnotation, source); + } +} + +function isUnfixableBecauseOfExport(node) { + return ( + node.type === 'FunctionDeclaration' + && node.parent + && node.parent.type === 'ExportDefaultDeclaration' + ); +} + +function isFunctionExpressionWithName(node) { + return node.type === 'FunctionExpression' && node.id && node.id.name; +} + +const messages = { + 'function-declaration': 'Function component is not a function declaration', + 'function-expression': 'Function component is not a function expression', + 'arrow-function': 'Function component is not an arrow function', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce a specific function type for function components', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('function-component-definition'), + }, + fixable: 'code', + + messages, + + schema: [ + { + type: 'object', + properties: { + namedComponents: { + anyOf: [ + { + enum: [ + 'function-declaration', + 'arrow-function', + 'function-expression', + ], + }, + { + type: 'array', + items: { + type: 'string', + enum: [ + 'function-declaration', + 'arrow-function', + 'function-expression', + ], + }, + }, + ], + }, + unnamedComponents: { + anyOf: [ + { enum: ['arrow-function', 'function-expression'] }, + { + type: 'array', + items: { + type: 'string', + enum: ['arrow-function', 'function-expression'], + }, + }, + ], + }, + }, + }, + ], + }, + + create: Components.detect((context, components) => { + const configuration = context.options[0] || {}; + let fileVarType = 'var'; + + const namedConfig = [].concat( + configuration.namedComponents || 'function-declaration' + ); + const unnamedConfig = [].concat( + configuration.unnamedComponents || 'function-expression' + ); + + function getFixer(node, options) { + const source = getText(context); + + const typeAnnotation = getTypeAnnotation(node, source); + + if (options.type === 'function-declaration' && typeAnnotation) { + return; + } + if (options.type === 'arrow-function' && hasOneUnconstrainedTypeParam(node)) { + return; + } + if (isUnfixableBecauseOfExport(node)) return; + if (isFunctionExpressionWithName(node)) return; + let varType = fileVarType; + if ( + (node.type === 'FunctionExpression' || node.type === 'ArrowFunctionExpression') + && node.parent.type === 'VariableDeclarator' + ) { + varType = node.parent.parent.kind; + } + + const nodeTypeArguments = propsUtil.getTypeArguments(node); + return (fixer) => fixer.replaceTextRange( + options.range, + buildFunction(options.template, { + typeAnnotation, + typeParams: getNodeText(nodeTypeArguments, source), + params: getParams(node, source), + returnType: getNodeText(node.returnType, source), + body: getBody(node, source), + name: getName(node), + varType, + }) + ); + } + + function report(node, options) { + reportC(context, messages[options.messageId], options.messageId, { + node, + fix: getFixer(node, options.fixerOptions), + }); + } + + function validate(node, functionType) { + if (!components.get(node)) return; + + if (node.parent && node.parent.type === 'Property') return; + + if (hasName(node) && !arrayIncludes(namedConfig, functionType)) { + report(node, { + messageId: namedConfig[0], + fixerOptions: { + type: namedConfig[0], + template: NAMED_FUNCTION_TEMPLATES[namedConfig[0]], + range: + node.type === 'FunctionDeclaration' + ? node.range + : node.parent.parent.range, + }, + }); + } + if (!hasName(node) && !arrayIncludes(unnamedConfig, functionType)) { + report(node, { + messageId: unnamedConfig[0], + fixerOptions: { + type: unnamedConfig[0], + template: UNNAMED_FUNCTION_TEMPLATES[unnamedConfig[0]], + range: node.range, + }, + }); + } + } + + // -------------------------------------------------------------------------- + // Public + // -------------------------------------------------------------------------- + const validatePairs = []; + let hasES6OrJsx = false; + return { + FunctionDeclaration(node) { + validatePairs.push([node, 'function-declaration']); + }, + ArrowFunctionExpression(node) { + validatePairs.push([node, 'arrow-function']); + }, + FunctionExpression(node) { + validatePairs.push([node, 'function-expression']); + }, + VariableDeclaration(node) { + hasES6OrJsx = hasES6OrJsx || node.kind === 'const' || node.kind === 'let'; + }, + 'Program:exit'() { + if (hasES6OrJsx) fileVarType = 'const'; + validatePairs.forEach((pair) => validate(pair[0], pair[1])); + }, + 'ImportDeclaration, ExportNamedDeclaration, ExportDefaultDeclaration, ExportAllDeclaration, ExportSpecifier, ExportDefaultSpecifier, JSXElement, TSExportAssignment, TSImportEqualsDeclaration'() { + hasES6OrJsx = true; + }, + }; + }), +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/hook-use-state.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/hook-use-state.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..81cb4758e4b94d68f150af2f0fb8e41d9ed45011 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/hook-use-state.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=hook-use-state.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/hook-use-state.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/hook-use-state.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..f4503cce0fbb97a4270becc56027bd1815e70716 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/hook-use-state.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"hook-use-state.d.ts","sourceRoot":"","sources":["hook-use-state.js"],"names":[],"mappings":"wBA4BW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/hook-use-state.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/hook-use-state.js new file mode 100644 index 0000000000000000000000000000000000000000..2d1cf681cdf881f38735b460a7b34f29c6b9b146 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/hook-use-state.js @@ -0,0 +1,205 @@ +/** + * @fileoverview Ensure symmetric naming of useState hook value and setter variables + * @author Duncan Beevers + */ + +'use strict'; + +const Components = require('../util/Components'); +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); +const getMessageData = require('../util/message'); +const getText = require('../util/eslint').getText; + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +function isNodeDestructuring(node) { + return node && (node.type === 'ArrayPattern' || node.type === 'ObjectPattern'); +} + +const messages = { + useStateErrorMessage: 'useState call is not destructured into value + setter pair', + useStateErrorMessageOrAddOption: 'useState call is not destructured into value + setter pair (you can allow destructuring by enabling "allowDestructuredState" option)', + suggestPair: 'Destructure useState call into value + setter pair', + suggestMemo: 'Replace useState call with useMemo', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Ensure destructuring and symmetric naming of useState hook value and setter variables', + category: 'Best Practices', + recommended: false, + url: docsUrl('hook-use-state'), + }, + messages, + schema: [{ + type: 'object', + properties: { + allowDestructuredState: { + default: false, + type: 'boolean', + }, + }, + additionalProperties: false, + }], + type: 'suggestion', + hasSuggestions: true, + }, + + create: Components.detect((context, components, util) => { + const configuration = context.options[0] || {}; + const allowDestructuredState = configuration.allowDestructuredState || false; + + return { + CallExpression(node) { + const isImmediateReturn = node.parent + && node.parent.type === 'ReturnStatement'; + + if (isImmediateReturn || !util.isReactHookCall(node, ['useState'])) { + return; + } + + const isDestructuringDeclarator = node.parent + && node.parent.type === 'VariableDeclarator' + && node.parent.id.type === 'ArrayPattern'; + + if (!isDestructuringDeclarator) { + report( + context, + messages.useStateErrorMessage, + 'useStateErrorMessage', + { + node, + suggest: false, + } + ); + return; + } + + const variableNodes = node.parent.id.elements; + const valueVariable = variableNodes[0]; + const setterVariable = variableNodes[1]; + const isOnlyValueDestructuring = isNodeDestructuring(valueVariable) && !isNodeDestructuring(setterVariable); + + if (allowDestructuredState && isOnlyValueDestructuring) { + return; + } + + const valueVariableName = valueVariable + ? valueVariable.name + : undefined; + + const setterVariableName = setterVariable + ? setterVariable.name + : undefined; + + const caseCandidateMatch = valueVariableName ? valueVariableName.match(/(^[a-z]+)(.*)/) : undefined; + const upperCaseCandidatePrefix = caseCandidateMatch ? caseCandidateMatch[1] : undefined; + const caseCandidateSuffix = caseCandidateMatch ? caseCandidateMatch[2] : undefined; + const expectedSetterVariableNames = upperCaseCandidatePrefix ? [ + `set${upperCaseCandidatePrefix.charAt(0).toUpperCase()}${upperCaseCandidatePrefix.slice(1)}${caseCandidateSuffix}`, + `set${upperCaseCandidatePrefix.toUpperCase()}${caseCandidateSuffix}`, + ] : []; + + const isSymmetricGetterSetterPair = valueVariable + && setterVariable + && expectedSetterVariableNames.indexOf(setterVariableName) !== -1 + && variableNodes.length === 2; + + if (!isSymmetricGetterSetterPair) { + const suggestions = [ + Object.assign( + getMessageData('suggestPair', messages.suggestPair), + { + fix(fixer) { + if (expectedSetterVariableNames.length > 0) { + return fixer.replaceTextRange( + node.parent.id.range, + `[${valueVariableName}, ${expectedSetterVariableNames[0]}]` + ); + } + }, + } + ), + ]; + + const defaultReactImports = components.getDefaultReactImports(); + const defaultReactImportSpecifier = defaultReactImports + ? defaultReactImports[0] + : undefined; + + const defaultReactImportName = defaultReactImportSpecifier + ? defaultReactImportSpecifier.local.name + : undefined; + + const namedReactImports = components.getNamedReactImports(); + const useStateReactImportSpecifier = namedReactImports + ? namedReactImports.find((specifier) => specifier.imported.name === 'useState') + : undefined; + + const isSingleGetter = valueVariable && variableNodes.length === 1; + const isUseStateCalledWithSingleArgument = node.arguments.length === 1; + if (isSingleGetter && isUseStateCalledWithSingleArgument) { + const useMemoReactImportSpecifier = namedReactImports + && namedReactImports.find((specifier) => specifier.imported.name === 'useMemo'); + + let useMemoCode; + if (useMemoReactImportSpecifier) { + useMemoCode = useMemoReactImportSpecifier.local.name; + } else if (defaultReactImportName) { + useMemoCode = `${defaultReactImportName}.useMemo`; + } else { + useMemoCode = 'useMemo'; + } + + suggestions.unshift(Object.assign( + getMessageData('suggestMemo', messages.suggestMemo), + { + fix: (fixer) => [ + // Add useMemo import, if necessary + useStateReactImportSpecifier + && (!useMemoReactImportSpecifier || defaultReactImportName) + && fixer.insertTextAfter(useStateReactImportSpecifier, ', useMemo'), + // Convert single-value destructure to simple assignment + fixer.replaceTextRange(node.parent.id.range, valueVariableName), + // Convert useState call to useMemo + arrow function + dependency array + fixer.replaceTextRange( + node.range, + `${useMemoCode}(() => ${getText(context, node.arguments[0])}, [])` + ), + ].filter(Boolean), + } + )); + } + + if (isOnlyValueDestructuring) { + report( + context, + messages.useStateErrorMessageOrAddOption, + 'useStateErrorMessageOrAddOption', + { + node: node.parent.id, + suggest: false, + } + ); + return; + } + + report( + context, + messages.useStateErrorMessage, + 'useStateErrorMessage', + { + node: node.parent.id, + suggest: suggestions, + } + ); + } + }, + }; + }), +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/iframe-missing-sandbox.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/iframe-missing-sandbox.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e082114e2dfaefee74a1bd18be3fce4d0fa639fe --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/iframe-missing-sandbox.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=iframe-missing-sandbox.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/iframe-missing-sandbox.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/iframe-missing-sandbox.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..580c1c712fde9e2526514509fda42df276f05405 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/iframe-missing-sandbox.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"iframe-missing-sandbox.d.ts","sourceRoot":"","sources":["iframe-missing-sandbox.js"],"names":[],"mappings":"wBA+GW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/iframe-missing-sandbox.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/iframe-missing-sandbox.js new file mode 100644 index 0000000000000000000000000000000000000000..7d8f234d97edb810e7fbc3559169424dbb4582b3 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/iframe-missing-sandbox.js @@ -0,0 +1,143 @@ +/** + * @fileoverview TBD + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const isCreateElement = require('../util/isCreateElement'); +const report = require('../util/report'); + +const messages = { + attributeMissing: 'An iframe element is missing a sandbox attribute', + invalidValue: 'An iframe element defines a sandbox attribute with invalid value "{{ value }}"', + invalidCombination: 'An iframe element defines a sandbox attribute with both allow-scripts and allow-same-origin which is invalid', +}; + +const ALLOWED_VALUES = [ + // From https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-sandbox + '', + 'allow-downloads-without-user-activation', + 'allow-downloads', + 'allow-forms', + 'allow-modals', + 'allow-orientation-lock', + 'allow-pointer-lock', + 'allow-popups', + 'allow-popups-to-escape-sandbox', + 'allow-presentation', + 'allow-same-origin', + 'allow-scripts', + 'allow-storage-access-by-user-activation', + 'allow-top-navigation', + 'allow-top-navigation-by-user-activation', +]; + +function validateSandboxAttribute(context, node, attribute) { + if (typeof attribute !== 'string') { + // Only string literals are supported for now + return; + } + const values = attribute.split(' '); + let allowScripts = false; + let allowSameOrigin = false; + values.forEach((attributeValue) => { + const trimmedAttributeValue = attributeValue.trim(); + if (ALLOWED_VALUES.indexOf(trimmedAttributeValue) === -1) { + report(context, messages.invalidValue, 'invalidValue', { + node, + data: { + value: trimmedAttributeValue, + }, + }); + } + if (trimmedAttributeValue === 'allow-scripts') { + allowScripts = true; + } + if (trimmedAttributeValue === 'allow-same-origin') { + allowSameOrigin = true; + } + }); + if (allowScripts && allowSameOrigin) { + report(context, messages.invalidCombination, 'invalidCombination', { + node, + }); + } +} + +function checkAttributes(context, node) { + let sandboxAttributeFound = false; + node.attributes.forEach((attribute) => { + if (attribute.type === 'JSXAttribute' + && attribute.name + && attribute.name.type === 'JSXIdentifier' + && attribute.name.name === 'sandbox' + ) { + sandboxAttributeFound = true; + if ( + attribute.value + && attribute.value.type === 'Literal' + && attribute.value.value + ) { + validateSandboxAttribute(context, node, attribute.value.value); + } + } + }); + if (!sandboxAttributeFound) { + report(context, messages.attributeMissing, 'attributeMissing', { + node, + }); + } +} + +function checkProps(context, node) { + let sandboxAttributeFound = false; + if (node.arguments.length > 1) { + const props = node.arguments[1]; + const sandboxProp = props.properties && props.properties.find((x) => x.type === 'Property' && x.key.name === 'sandbox'); + if (sandboxProp) { + sandboxAttributeFound = true; + if (sandboxProp.value && sandboxProp.value.type === 'Literal' && sandboxProp.value.value) { + validateSandboxAttribute(context, node, sandboxProp.value.value); + } + } + } + if (!sandboxAttributeFound) { + report(context, messages.attributeMissing, 'attributeMissing', { + node, + }); + } +} + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce sandbox attribute on iframe elements', + category: 'Best Practices', + recommended: false, + url: docsUrl('iframe-missing-sandbox'), + }, + + schema: [], + + messages, + }, + + create(context) { + return { + 'JSXOpeningElement[name.name="iframe"]'(node) { + checkAttributes(context, node); + }, + + CallExpression(node) { + if (isCreateElement(context, node) && node.arguments && node.arguments.length > 0) { + const tag = node.arguments[0]; + if (tag.type === 'Literal' && tag.value === 'iframe') { + checkProps(context, node); + } + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/index.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..efd87987bb0597379f5408d19a4f60b7765ded02 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/index.d.ts @@ -0,0 +1,108 @@ +export = rules; +/** @satisfies {Record} */ +declare const rules: { + 'boolean-prop-naming': import("eslint").Rule.RuleModule; + 'button-has-type': import("eslint").Rule.RuleModule; + 'checked-requires-onchange-or-readonly': import("eslint").Rule.RuleModule; + 'default-props-match-prop-types': import("eslint").Rule.RuleModule; + 'destructuring-assignment': import("eslint").Rule.RuleModule; + 'display-name': import("eslint").Rule.RuleModule; + 'forbid-component-props': import("eslint").Rule.RuleModule; + 'forbid-dom-props': import("eslint").Rule.RuleModule; + 'forbid-elements': import("eslint").Rule.RuleModule; + 'forbid-foreign-prop-types': import("eslint").Rule.RuleModule; + 'forbid-prop-types': import("eslint").Rule.RuleModule; + 'forward-ref-uses-ref': import("eslint").Rule.RuleModule; + 'function-component-definition': import("eslint").Rule.RuleModule; + 'hook-use-state': import("eslint").Rule.RuleModule; + 'iframe-missing-sandbox': import("eslint").Rule.RuleModule; + 'jsx-boolean-value': import("eslint").Rule.RuleModule; + 'jsx-child-element-spacing': import("eslint").Rule.RuleModule; + 'jsx-closing-bracket-location': import("eslint").Rule.RuleModule; + 'jsx-closing-tag-location': import("eslint").Rule.RuleModule; + 'jsx-curly-spacing': import("eslint").Rule.RuleModule; + 'jsx-curly-newline': import("eslint").Rule.RuleModule; + 'jsx-equals-spacing': import("eslint").Rule.RuleModule; + 'jsx-filename-extension': import("eslint").Rule.RuleModule; + 'jsx-first-prop-new-line': import("eslint").Rule.RuleModule; + 'jsx-handler-names': import("eslint").Rule.RuleModule; + 'jsx-indent': import("eslint").Rule.RuleModule; + 'jsx-indent-props': import("eslint").Rule.RuleModule; + 'jsx-key': import("eslint").Rule.RuleModule; + 'jsx-max-depth': import("eslint").Rule.RuleModule; + 'jsx-max-props-per-line': import("eslint").Rule.RuleModule; + 'jsx-newline': import("eslint").Rule.RuleModule; + 'jsx-no-bind': import("eslint").Rule.RuleModule; + 'jsx-no-comment-textnodes': import("eslint").Rule.RuleModule; + 'jsx-no-constructed-context-values': import("eslint").Rule.RuleModule; + 'jsx-no-duplicate-props': import("eslint").Rule.RuleModule; + 'jsx-no-leaked-render': import("eslint").Rule.RuleModule; + 'jsx-no-literals': import("eslint").Rule.RuleModule; + 'jsx-no-script-url': import("eslint").Rule.RuleModule; + 'jsx-no-target-blank': import("eslint").Rule.RuleModule; + 'jsx-no-useless-fragment': import("eslint").Rule.RuleModule; + 'jsx-one-expression-per-line': import("eslint").Rule.RuleModule; + 'jsx-no-undef': import("eslint").Rule.RuleModule; + 'jsx-curly-brace-presence': import("eslint").Rule.RuleModule; + 'jsx-pascal-case': import("eslint").Rule.RuleModule; + 'jsx-fragments': import("eslint").Rule.RuleModule; + 'jsx-props-no-multi-spaces': import("eslint").Rule.RuleModule; + 'jsx-props-no-spreading': import("eslint").Rule.RuleModule; + 'jsx-props-no-spread-multi': import("eslint").Rule.RuleModule; + 'jsx-sort-default-props': import("eslint").Rule.RuleModule; + 'jsx-sort-props': import("eslint").Rule.RuleModule; + 'jsx-space-before-closing': import("eslint").Rule.RuleModule; + 'jsx-tag-spacing': import("eslint").Rule.RuleModule; + 'jsx-uses-react': import("eslint").Rule.RuleModule; + 'jsx-uses-vars': import("eslint").Rule.RuleModule; + 'jsx-wrap-multilines': import("eslint").Rule.RuleModule; + 'no-invalid-html-attribute': import("eslint").Rule.RuleModule; + 'no-access-state-in-setstate': import("eslint").Rule.RuleModule; + 'no-adjacent-inline-elements': import("eslint").Rule.RuleModule; + 'no-array-index-key': import("eslint").Rule.RuleModule; + 'no-arrow-function-lifecycle': import("eslint").Rule.RuleModule; + 'no-children-prop': import("eslint").Rule.RuleModule; + 'no-danger': import("eslint").Rule.RuleModule; + 'no-danger-with-children': import("eslint").Rule.RuleModule; + 'no-deprecated': import("eslint").Rule.RuleModule; + 'no-did-mount-set-state': import("eslint").Rule.RuleModule; + 'no-did-update-set-state': import("eslint").Rule.RuleModule; + 'no-direct-mutation-state': import("eslint").Rule.RuleModule; + 'no-find-dom-node': import("eslint").Rule.RuleModule; + 'no-is-mounted': import("eslint").Rule.RuleModule; + 'no-multi-comp': import("eslint").Rule.RuleModule; + 'no-namespace': import("eslint").Rule.RuleModule; + 'no-set-state': import("eslint").Rule.RuleModule; + 'no-string-refs': import("eslint").Rule.RuleModule; + 'no-redundant-should-component-update': import("eslint").Rule.RuleModule; + 'no-render-return-value': import("eslint").Rule.RuleModule; + 'no-this-in-sfc': import("eslint").Rule.RuleModule; + 'no-typos': import("eslint").Rule.RuleModule; + 'no-unescaped-entities': import("eslint").Rule.RuleModule; + 'no-unknown-property': import("eslint").Rule.RuleModule; + 'no-unsafe': import("eslint").Rule.RuleModule; + 'no-unstable-nested-components': import("eslint").Rule.RuleModule; + 'no-unused-class-component-methods': import("eslint").Rule.RuleModule; + 'no-unused-prop-types': import("eslint").Rule.RuleModule; + 'no-unused-state': import("eslint").Rule.RuleModule; + 'no-object-type-as-default-prop': import("eslint").Rule.RuleModule; + 'no-will-update-set-state': import("eslint").Rule.RuleModule; + 'prefer-es6-class': import("eslint").Rule.RuleModule; + 'prefer-exact-props': import("eslint").Rule.RuleModule; + 'prefer-read-only-props': import("eslint").Rule.RuleModule; + 'prefer-stateless-function': import("eslint").Rule.RuleModule; + 'prop-types': import("eslint").Rule.RuleModule; + 'react-in-jsx-scope': import("eslint").Rule.RuleModule; + 'require-default-props': import("eslint").Rule.RuleModule; + 'require-optimization': import("eslint").Rule.RuleModule; + 'require-render-return': import("eslint").Rule.RuleModule; + 'self-closing-comp': import("eslint").Rule.RuleModule; + 'sort-comp': import("eslint").Rule.RuleModule; + 'sort-default-props': import("eslint").Rule.RuleModule; + 'sort-prop-types': import("eslint").Rule.RuleModule; + 'state-in-constructor': import("eslint").Rule.RuleModule; + 'static-property-placement': import("eslint").Rule.RuleModule; + 'style-prop-object': import("eslint").Rule.RuleModule; + 'void-dom-elements-no-children': import("eslint").Rule.RuleModule; +}; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/index.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..edb90c97058c4b03153418492150db1438266f6c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":";AAIA,oEAAoE;AACpE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwGE"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/index.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/index.js new file mode 100644 index 0000000000000000000000000000000000000000..0e73ab1a3f08f146ce5b5e5840ecc003a52d4571 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/index.js @@ -0,0 +1,112 @@ +'use strict'; + +/* eslint global-require: 0 */ + +/** @satisfies {Record} */ +const rules = { + 'boolean-prop-naming': require('./boolean-prop-naming'), + 'button-has-type': require('./button-has-type'), + 'checked-requires-onchange-or-readonly': require('./checked-requires-onchange-or-readonly'), + 'default-props-match-prop-types': require('./default-props-match-prop-types'), + 'destructuring-assignment': require('./destructuring-assignment'), + 'display-name': require('./display-name'), + 'forbid-component-props': require('./forbid-component-props'), + 'forbid-dom-props': require('./forbid-dom-props'), + 'forbid-elements': require('./forbid-elements'), + 'forbid-foreign-prop-types': require('./forbid-foreign-prop-types'), + 'forbid-prop-types': require('./forbid-prop-types'), + 'forward-ref-uses-ref': require('./forward-ref-uses-ref'), + 'function-component-definition': require('./function-component-definition'), + 'hook-use-state': require('./hook-use-state'), + 'iframe-missing-sandbox': require('./iframe-missing-sandbox'), + 'jsx-boolean-value': require('./jsx-boolean-value'), + 'jsx-child-element-spacing': require('./jsx-child-element-spacing'), + 'jsx-closing-bracket-location': require('./jsx-closing-bracket-location'), + 'jsx-closing-tag-location': require('./jsx-closing-tag-location'), + 'jsx-curly-spacing': require('./jsx-curly-spacing'), + 'jsx-curly-newline': require('./jsx-curly-newline'), + 'jsx-equals-spacing': require('./jsx-equals-spacing'), + 'jsx-filename-extension': require('./jsx-filename-extension'), + 'jsx-first-prop-new-line': require('./jsx-first-prop-new-line'), + 'jsx-handler-names': require('./jsx-handler-names'), + 'jsx-indent': require('./jsx-indent'), + 'jsx-indent-props': require('./jsx-indent-props'), + 'jsx-key': require('./jsx-key'), + 'jsx-max-depth': require('./jsx-max-depth'), + 'jsx-max-props-per-line': require('./jsx-max-props-per-line'), + 'jsx-newline': require('./jsx-newline'), + 'jsx-no-bind': require('./jsx-no-bind'), + 'jsx-no-comment-textnodes': require('./jsx-no-comment-textnodes'), + 'jsx-no-constructed-context-values': require('./jsx-no-constructed-context-values'), + 'jsx-no-duplicate-props': require('./jsx-no-duplicate-props'), + 'jsx-no-leaked-render': require('./jsx-no-leaked-render'), + 'jsx-no-literals': require('./jsx-no-literals'), + 'jsx-no-script-url': require('./jsx-no-script-url'), + 'jsx-no-target-blank': require('./jsx-no-target-blank'), + 'jsx-no-useless-fragment': require('./jsx-no-useless-fragment'), + 'jsx-one-expression-per-line': require('./jsx-one-expression-per-line'), + 'jsx-no-undef': require('./jsx-no-undef'), + 'jsx-curly-brace-presence': require('./jsx-curly-brace-presence'), + 'jsx-pascal-case': require('./jsx-pascal-case'), + 'jsx-fragments': require('./jsx-fragments'), + 'jsx-props-no-multi-spaces': require('./jsx-props-no-multi-spaces'), + 'jsx-props-no-spreading': require('./jsx-props-no-spreading'), + 'jsx-props-no-spread-multi': require('./jsx-props-no-spread-multi'), + 'jsx-sort-default-props': require('./jsx-sort-default-props'), + 'jsx-sort-props': require('./jsx-sort-props'), + 'jsx-space-before-closing': require('./jsx-space-before-closing'), + 'jsx-tag-spacing': require('./jsx-tag-spacing'), + 'jsx-uses-react': require('./jsx-uses-react'), + 'jsx-uses-vars': require('./jsx-uses-vars'), + 'jsx-wrap-multilines': require('./jsx-wrap-multilines'), + 'no-invalid-html-attribute': require('./no-invalid-html-attribute'), + 'no-access-state-in-setstate': require('./no-access-state-in-setstate'), + 'no-adjacent-inline-elements': require('./no-adjacent-inline-elements'), + 'no-array-index-key': require('./no-array-index-key'), + 'no-arrow-function-lifecycle': require('./no-arrow-function-lifecycle'), + 'no-children-prop': require('./no-children-prop'), + 'no-danger': require('./no-danger'), + 'no-danger-with-children': require('./no-danger-with-children'), + 'no-deprecated': require('./no-deprecated'), + 'no-did-mount-set-state': require('./no-did-mount-set-state'), + 'no-did-update-set-state': require('./no-did-update-set-state'), + 'no-direct-mutation-state': require('./no-direct-mutation-state'), + 'no-find-dom-node': require('./no-find-dom-node'), + 'no-is-mounted': require('./no-is-mounted'), + 'no-multi-comp': require('./no-multi-comp'), + 'no-namespace': require('./no-namespace'), + 'no-set-state': require('./no-set-state'), + 'no-string-refs': require('./no-string-refs'), + 'no-redundant-should-component-update': require('./no-redundant-should-component-update'), + 'no-render-return-value': require('./no-render-return-value'), + 'no-this-in-sfc': require('./no-this-in-sfc'), + 'no-typos': require('./no-typos'), + 'no-unescaped-entities': require('./no-unescaped-entities'), + 'no-unknown-property': require('./no-unknown-property'), + 'no-unsafe': require('./no-unsafe'), + 'no-unstable-nested-components': require('./no-unstable-nested-components'), + 'no-unused-class-component-methods': require('./no-unused-class-component-methods'), + 'no-unused-prop-types': require('./no-unused-prop-types'), + 'no-unused-state': require('./no-unused-state'), + 'no-object-type-as-default-prop': require('./no-object-type-as-default-prop'), + 'no-will-update-set-state': require('./no-will-update-set-state'), + 'prefer-es6-class': require('./prefer-es6-class'), + 'prefer-exact-props': require('./prefer-exact-props'), + 'prefer-read-only-props': require('./prefer-read-only-props'), + 'prefer-stateless-function': require('./prefer-stateless-function'), + 'prop-types': require('./prop-types'), + 'react-in-jsx-scope': require('./react-in-jsx-scope'), + 'require-default-props': require('./require-default-props'), + 'require-optimization': require('./require-optimization'), + 'require-render-return': require('./require-render-return'), + 'self-closing-comp': require('./self-closing-comp'), + 'sort-comp': require('./sort-comp'), + 'sort-default-props': require('./sort-default-props'), + 'sort-prop-types': require('./sort-prop-types'), + 'state-in-constructor': require('./state-in-constructor'), + 'static-property-placement': require('./static-property-placement'), + 'style-prop-object': require('./style-prop-object'), + 'void-dom-elements-no-children': require('./void-dom-elements-no-children'), +}; + +module.exports = rules; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-boolean-value.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-boolean-value.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1041d7eb6a14a15e24fcf9c002dade9d28fd7304 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-boolean-value.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-boolean-value.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-boolean-value.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-boolean-value.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..5b7e600df8b2cc8b1a1450bd662dd5f287d368ff --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-boolean-value.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-boolean-value.d.ts","sourceRoot":"","sources":["jsx-boolean-value.js"],"names":[],"mappings":"wBAwDW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-boolean-value.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-boolean-value.js new file mode 100644 index 0000000000000000000000000000000000000000..4572e7ff8d688b930be33829dc53f5dcb98ed367 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-boolean-value.js @@ -0,0 +1,169 @@ +/** + * @fileoverview Enforce boolean attributes notation in JSX + * @author Yannick Croissant + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const exceptionsSchema = { + type: 'array', + items: { type: 'string', minLength: 1 }, + uniqueItems: true, +}; + +const ALWAYS = 'always'; +const NEVER = 'never'; + +/** + * @param {string} configuration + * @param {Set} exceptions + * @param {string} propName + * @returns {boolean} propName + */ +function isAlways(configuration, exceptions, propName) { + const isException = exceptions.has(propName); + if (configuration === ALWAYS) { + return !isException; + } + return isException; +} +/** + * @param {string} configuration + * @param {Set} exceptions + * @param {string} propName + * @returns {boolean} propName + */ +function isNever(configuration, exceptions, propName) { + const isException = exceptions.has(propName); + if (configuration === NEVER) { + return !isException; + } + return isException; +} + +const messages = { + omitBoolean: 'Value must be omitted for boolean attribute `{{propName}}`', + setBoolean: 'Value must be set for boolean attribute `{{propName}}`', + omitPropAndBoolean: 'Value must be omitted for `false` attribute: `{{propName}}`', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce boolean attributes notation in JSX', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-boolean-value'), + }, + fixable: 'code', + + messages, + + schema: { + anyOf: [{ + type: 'array', + items: [{ enum: [ALWAYS, NEVER] }], + additionalItems: false, + }, { + type: 'array', + items: [{ + enum: [ALWAYS], + }, { + type: 'object', + additionalProperties: false, + properties: { + [NEVER]: exceptionsSchema, + assumeUndefinedIsFalse: { + type: 'boolean', + }, + }, + }], + additionalItems: false, + }, { + type: 'array', + items: [{ + enum: [NEVER], + }, { + type: 'object', + additionalProperties: false, + properties: { + [ALWAYS]: exceptionsSchema, + assumeUndefinedIsFalse: { + type: 'boolean', + }, + }, + }], + additionalItems: false, + }], + }, + }, + + create(context) { + const configuration = context.options[0] || NEVER; + const configObject = context.options[1] || {}; + const exceptions = new Set((configuration === ALWAYS ? configObject[NEVER] : configObject[ALWAYS]) || []); + + return { + JSXAttribute(node) { + const propName = node.name && node.name.name; + const value = node.value; + + if ( + isAlways(configuration, exceptions, propName) + && value === null + ) { + const messageId = 'setBoolean'; + const data = { propName }; + report(context, messages[messageId], messageId, { + node, + data, + fix(fixer) { + return fixer.insertTextAfter(node, '={true}'); + }, + }); + } + if ( + isNever(configuration, exceptions, propName) + && value + && value.type === 'JSXExpressionContainer' + && value.expression.value === true + ) { + const messageId = 'omitBoolean'; + const data = { propName }; + report(context, messages[messageId], messageId, { + node, + data, + fix(fixer) { + return fixer.removeRange([node.name.range[1], value.range[1]]); + }, + }); + } + if ( + isNever(configuration, exceptions, propName) + && configObject.assumeUndefinedIsFalse + && value + && value.type === 'JSXExpressionContainer' + && value.expression.value === false + ) { + const messageId = 'omitPropAndBoolean'; + const data = { propName }; + report(context, messages[messageId], messageId, { + node, + data, + fix(fixer) { + return fixer.removeRange([node.name.range[0], value.range[1]]); + }, + }); + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-child-element-spacing.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-child-element-spacing.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..26963d0243553a81f9384c76f15c16895494f559 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-child-element-spacing.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-child-element-spacing.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-child-element-spacing.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-child-element-spacing.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..531c3f2e8125f0afe84468cd7d07a0e89aed4358 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-child-element-spacing.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-child-element-spacing.d.ts","sourceRoot":"","sources":["jsx-child-element-spacing.js"],"names":[],"mappings":"wBA8CW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-child-element-spacing.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-child-element-spacing.js new file mode 100644 index 0000000000000000000000000000000000000000..06807efcc6eb71d71c0f5a83bb98c93a91875013 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-child-element-spacing.js @@ -0,0 +1,117 @@ +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); + +// This list is taken from https://developer.mozilla.org/en-US/docs/Web/HTML/Inline_elements + +// Note: 'br' is not included because whitespace around br tags is inconsequential to the rendered output +const INLINE_ELEMENTS = new Set([ + 'a', + 'abbr', + 'acronym', + 'b', + 'bdo', + 'big', + 'button', + 'cite', + 'code', + 'dfn', + 'em', + 'i', + 'img', + 'input', + 'kbd', + 'label', + 'map', + 'object', + 'q', + 'samp', + 'script', + 'select', + 'small', + 'span', + 'strong', + 'sub', + 'sup', + 'textarea', + 'tt', + 'var', +]); + +const messages = { + spacingAfterPrev: 'Ambiguous spacing after previous element {{element}}', + spacingBeforeNext: 'Ambiguous spacing before next element {{element}}', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce or disallow spaces inside of curly braces in JSX attributes and expressions', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-child-element-spacing'), + }, + fixable: null, + + messages, + + schema: [], + }, + create(context) { + const TEXT_FOLLOWING_ELEMENT_PATTERN = /^\s*\n\s*\S/; + const TEXT_PRECEDING_ELEMENT_PATTERN = /\S\s*\n\s*$/; + + const elementName = (node) => ( + node.openingElement + && node.openingElement.name + && node.openingElement.name.type === 'JSXIdentifier' + && node.openingElement.name.name + ); + + const isInlineElement = (node) => ( + node.type === 'JSXElement' + && INLINE_ELEMENTS.has(elementName(node)) + ); + + const handleJSX = (node) => { + let lastChild = null; + let child = null; + (node.children.concat([null])).forEach((nextChild) => { + if ( + (lastChild || nextChild) + && (!lastChild || isInlineElement(lastChild)) + && (child && (child.type === 'Literal' || child.type === 'JSXText')) + && (!nextChild || isInlineElement(nextChild)) + && true + ) { + if (lastChild && child.value.match(TEXT_FOLLOWING_ELEMENT_PATTERN)) { + report(context, messages.spacingAfterPrev, 'spacingAfterPrev', { + node: lastChild, + loc: lastChild.loc.end, + data: { + element: elementName(lastChild), + }, + }); + } else if (nextChild && child.value.match(TEXT_PRECEDING_ELEMENT_PATTERN)) { + report(context, messages.spacingBeforeNext, 'spacingBeforeNext', { + node: nextChild, + loc: nextChild.loc.start, + data: { + element: elementName(nextChild), + }, + }); + } + } + lastChild = child; + child = nextChild; + }); + }; + + return { + JSXElement: handleJSX, + JSXFragment: handleJSX, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-closing-bracket-location.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-closing-bracket-location.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..288f2746432410a6d2c2b31348dd53ced87a9d87 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-closing-bracket-location.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-closing-bracket-location.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-closing-bracket-location.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-closing-bracket-location.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..626fa033061e58c858cc0233faffab95e8aadf56 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-closing-bracket-location.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-closing-bracket-location.d.ts","sourceRoot":"","sources":["jsx-closing-bracket-location.js"],"names":[],"mappings":"wBAsBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-closing-bracket-location.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-closing-bracket-location.js new file mode 100644 index 0000000000000000000000000000000000000000..eed661e944f104d277131b07f42f658120f933d5 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-closing-bracket-location.js @@ -0,0 +1,315 @@ +/** + * @fileoverview Validate closing bracket location in JSX + * @author Yannick Croissant + */ + +'use strict'; + +const has = require('hasown'); +const repeat = require('string.prototype.repeat'); + +const docsUrl = require('../util/docsUrl'); +const getSourceCode = require('../util/eslint').getSourceCode; +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + bracketLocation: 'The closing bracket must be {{location}}{{details}}', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce closing bracket location in JSX', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-closing-bracket-location'), + }, + fixable: 'code', + + messages, + + schema: [{ + anyOf: [ + { + enum: ['after-props', 'props-aligned', 'tag-aligned', 'line-aligned'], + }, + { + type: 'object', + properties: { + location: { + enum: ['after-props', 'props-aligned', 'tag-aligned', 'line-aligned'], + }, + }, + additionalProperties: false, + }, { + type: 'object', + properties: { + nonEmpty: { + enum: ['after-props', 'props-aligned', 'tag-aligned', 'line-aligned', false], + }, + selfClosing: { + enum: ['after-props', 'props-aligned', 'tag-aligned', 'line-aligned', false], + }, + }, + additionalProperties: false, + }, + ], + }], + }, + + create(context) { + const MESSAGE_LOCATION = { + 'after-props': 'placed after the last prop', + 'after-tag': 'placed after the opening tag', + 'props-aligned': 'aligned with the last prop', + 'tag-aligned': 'aligned with the opening tag', + 'line-aligned': 'aligned with the line containing the opening tag', + }; + const DEFAULT_LOCATION = 'tag-aligned'; + + const config = context.options[0]; + const options = { + nonEmpty: DEFAULT_LOCATION, + selfClosing: DEFAULT_LOCATION, + }; + + if (typeof config === 'string') { + // simple shorthand [1, 'something'] + options.nonEmpty = config; + options.selfClosing = config; + } else if (typeof config === 'object') { + // [1, {location: 'something'}] (back-compat) + if (has(config, 'location')) { + options.nonEmpty = config.location; + options.selfClosing = config.location; + } + // [1, {nonEmpty: 'something'}] + if (has(config, 'nonEmpty')) { + options.nonEmpty = config.nonEmpty; + } + // [1, {selfClosing: 'something'}] + if (has(config, 'selfClosing')) { + options.selfClosing = config.selfClosing; + } + } + + /** + * Get expected location for the closing bracket + * @param {Object} tokens Locations of the opening bracket, closing bracket and last prop + * @return {string} Expected location for the closing bracket + */ + function getExpectedLocation(tokens) { + let location; + // Is always after the opening tag if there is no props + if (typeof tokens.lastProp === 'undefined') { + location = 'after-tag'; + // Is always after the last prop if this one is on the same line as the opening bracket + } else if (tokens.opening.line === tokens.lastProp.lastLine) { + location = 'after-props'; + // Else use configuration dependent on selfClosing property + } else { + location = tokens.selfClosing ? options.selfClosing : options.nonEmpty; + } + return location; + } + + /** + * Get the correct 0-indexed column for the closing bracket, given the + * expected location. + * @param {Object} tokens Locations of the opening bracket, closing bracket and last prop + * @param {string} expectedLocation Expected location for the closing bracket + * @return {?Number} The correct column for the closing bracket, or null + */ + function getCorrectColumn(tokens, expectedLocation) { + switch (expectedLocation) { + case 'props-aligned': + return tokens.lastProp.column; + case 'tag-aligned': + return tokens.opening.column; + case 'line-aligned': + return tokens.openingStartOfLine.column; + default: + return null; + } + } + + /** + * Check if the closing bracket is correctly located + * @param {Object} tokens Locations of the opening bracket, closing bracket and last prop + * @param {string} expectedLocation Expected location for the closing bracket + * @return {boolean} True if the closing bracket is correctly located, false if not + */ + function hasCorrectLocation(tokens, expectedLocation) { + switch (expectedLocation) { + case 'after-tag': + return tokens.tag.line === tokens.closing.line; + case 'after-props': + return tokens.lastProp.lastLine === tokens.closing.line; + case 'props-aligned': + case 'tag-aligned': + case 'line-aligned': { + const correctColumn = getCorrectColumn(tokens, expectedLocation); + return correctColumn === tokens.closing.column; + } + default: + return true; + } + } + + /** + * Get the characters used for indentation on the line to be matched + * @param {Object} tokens Locations of the opening bracket, closing bracket and last prop + * @param {string} expectedLocation Expected location for the closing bracket + * @param {number} [correctColumn] Expected column for the closing bracket. Default to 0 + * @return {string} The characters used for indentation + */ + function getIndentation(tokens, expectedLocation, correctColumn) { + const newColumn = correctColumn || 0; + let indentation; + let spaces = ''; + switch (expectedLocation) { + case 'props-aligned': + indentation = /^\s*/.exec(getSourceCode(context).lines[tokens.lastProp.firstLine - 1])[0]; + break; + case 'tag-aligned': + case 'line-aligned': + indentation = /^\s*/.exec(getSourceCode(context).lines[tokens.opening.line - 1])[0]; + break; + default: + indentation = ''; + } + if (indentation.length + 1 < newColumn) { + // Non-whitespace characters were included in the column offset + spaces = repeat(' ', +correctColumn - indentation.length); + } + return indentation + spaces; + } + + /** + * Get the locations of the opening bracket, closing bracket, last prop, and + * start of opening line. + * @param {ASTNode} node The node to check + * @return {Object} Locations of the opening bracket, closing bracket, last + * prop and start of opening line. + */ + function getTokensLocations(node) { + const sourceCode = getSourceCode(context); + const opening = sourceCode.getFirstToken(node).loc.start; + const closing = sourceCode.getLastTokens(node, node.selfClosing ? 2 : 1)[0].loc.start; + const tag = sourceCode.getFirstToken(node.name).loc.start; + let lastProp; + if (node.attributes.length) { + lastProp = node.attributes[node.attributes.length - 1]; + lastProp = { + column: sourceCode.getFirstToken(lastProp).loc.start.column, + firstLine: sourceCode.getFirstToken(lastProp).loc.start.line, + lastLine: sourceCode.getLastToken(lastProp).loc.end.line, + }; + } + const openingLine = sourceCode.lines[opening.line - 1]; + const closingLine = sourceCode.lines[closing.line - 1]; + const isTab = { + openTab: /^\t/.test(openingLine), + closeTab: /^\t/.test(closingLine), + }; + const openingStartOfLine = { + column: /^\s*/.exec(openingLine)[0].length, + line: opening.line, + }; + return { + isTab, + tag, + opening, + closing, + lastProp, + selfClosing: node.selfClosing, + openingStartOfLine, + }; + } + + /** + * Get an unique ID for a given JSXOpeningElement + * + * @param {ASTNode} node The AST node being checked. + * @returns {string} Unique ID (based on its range) + */ + function getOpeningElementId(node) { + return node.range.join(':'); + } + + const lastAttributeNode = {}; + + return { + JSXAttribute(node) { + lastAttributeNode[getOpeningElementId(node.parent)] = node; + }, + + JSXSpreadAttribute(node) { + lastAttributeNode[getOpeningElementId(node.parent)] = node; + }, + + 'JSXOpeningElement:exit'(node) { + const attributeNode = lastAttributeNode[getOpeningElementId(node)]; + const cachedLastAttributeEndPos = attributeNode ? attributeNode.range[1] : null; + + let expectedNextLine; + const tokens = getTokensLocations(node); + const expectedLocation = getExpectedLocation(tokens); + let usingSameIndentation = true; + + if (expectedLocation === 'tag-aligned') { + usingSameIndentation = tokens.isTab.openTab === tokens.isTab.closeTab; + } + + if (hasCorrectLocation(tokens, expectedLocation) && usingSameIndentation) { + return; + } + + const data = { + location: MESSAGE_LOCATION[expectedLocation], + details: '', + }; + const correctColumn = getCorrectColumn(tokens, expectedLocation); + + if (correctColumn !== null) { + expectedNextLine = tokens.lastProp + && (tokens.lastProp.lastLine === tokens.closing.line); + data.details = ` (expected column ${correctColumn + 1}${expectedNextLine ? ' on the next line)' : ')'}`; + } + + report(context, messages.bracketLocation, 'bracketLocation', { + node, + loc: tokens.closing, + data, + fix(fixer) { + const closingTag = tokens.selfClosing ? '/>' : '>'; + switch (expectedLocation) { + case 'after-tag': + if (cachedLastAttributeEndPos) { + return fixer.replaceTextRange([cachedLastAttributeEndPos, node.range[1]], + (expectedNextLine ? '\n' : '') + closingTag); + } + return fixer.replaceTextRange([node.name.range[1], node.range[1]], + (expectedNextLine ? '\n' : ' ') + closingTag); + case 'after-props': + return fixer.replaceTextRange([cachedLastAttributeEndPos, node.range[1]], + (expectedNextLine ? '\n' : '') + closingTag); + case 'props-aligned': + case 'tag-aligned': + case 'line-aligned': + return fixer.replaceTextRange([cachedLastAttributeEndPos, node.range[1]], + `\n${getIndentation(tokens, expectedLocation, correctColumn)}${closingTag}`); + default: + return true; + } + }, + }); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-closing-tag-location.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-closing-tag-location.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..258a41346b0e64e598aae3f5c9aa59d25ace5785 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-closing-tag-location.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-closing-tag-location.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-closing-tag-location.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-closing-tag-location.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..a376ecb2146befb41009965bbcc801238d1dbc6d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-closing-tag-location.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-closing-tag-location.d.ts","sourceRoot":"","sources":["jsx-closing-tag-location.js"],"names":[],"mappings":"wBAgCW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-closing-tag-location.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-closing-tag-location.js new file mode 100644 index 0000000000000000000000000000000000000000..5f6f6efe38df70c90529f2bf59cd171c34e484b3 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-closing-tag-location.js @@ -0,0 +1,142 @@ +/** + * @fileoverview Validate closing tag location in JSX + * @author Ross Solomon + */ + +'use strict'; + +const repeat = require('string.prototype.repeat'); +const has = require('hasown'); + +const astUtil = require('../util/ast'); +const docsUrl = require('../util/docsUrl'); +const getSourceCode = require('../util/eslint').getSourceCode; +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + onOwnLine: 'Closing tag of a multiline JSX expression must be on its own line.', + matchIndent: 'Expected closing tag to match indentation of opening.', + alignWithOpening: 'Expected closing tag to be aligned with the line containing the opening tag', +}; + +const defaultOption = 'tag-aligned'; + +const optionMessageMap = { + 'tag-aligned': 'matchIndent', + 'line-aligned': 'alignWithOpening', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce closing tag location for multiline JSX', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-closing-tag-location'), + }, + fixable: 'whitespace', + messages, + schema: [{ + anyOf: [ + { + enum: ['tag-aligned', 'line-aligned'], + }, + { + type: 'object', + properties: { + location: { + enum: ['tag-aligned', 'line-aligned'], + }, + }, + additionalProperties: false, + }, + ], + }], + }, + + create(context) { + const config = context.options[0]; + let option = defaultOption; + + if (typeof config === 'string') { + option = config; + } else if (typeof config === 'object') { + if (has(config, 'location')) { + option = config.location; + } + } + + function getIndentation(openingStartOfLine, opening) { + if (option === 'line-aligned') return openingStartOfLine.column; + if (option === 'tag-aligned') return opening.loc.start.column; + } + + function handleClosingElement(node) { + if (!node.parent) { + return; + } + const sourceCode = getSourceCode(context); + + const opening = node.parent.openingElement || node.parent.openingFragment; + const openingLoc = sourceCode.getFirstToken(opening).loc.start; + const openingLine = sourceCode.lines[openingLoc.line - 1]; + + const openingStartOfLine = { + column: /^\s*/.exec(openingLine)[0].length, + line: openingLoc.line, + }; + + if (opening.loc.start.line === node.loc.start.line) { + return; + } + + if ( + opening.loc.start.column === node.loc.start.column + && option === 'tag-aligned' + ) { + return; + } + + if ( + openingStartOfLine.column === node.loc.start.column + && option === 'line-aligned' + ) { + return; + } + + const messageId = astUtil.isNodeFirstInLine(context, node) + ? optionMessageMap[option] + : 'onOwnLine'; + + report(context, messages[messageId], messageId, { + node, + loc: node.loc, + fix(fixer) { + const indent = repeat( + ' ', + getIndentation(openingStartOfLine, opening) + ); + + if (astUtil.isNodeFirstInLine(context, node)) { + return fixer.replaceTextRange( + [node.range[0] - node.loc.start.column, node.range[0]], + indent + ); + } + + return fixer.insertTextBefore(node, `\n${indent}`); + }, + }); + } + + return { + JSXClosingElement: handleClosingElement, + JSXClosingFragment: handleClosingElement, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-brace-presence.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-brace-presence.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6cbfc15333996ca4e2f8ed3ecb433ba0dd065894 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-brace-presence.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-curly-brace-presence.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-brace-presence.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-brace-presence.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..399dcdd74f34021f5f86b5353e42bb349e3759cc --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-brace-presence.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-curly-brace-presence.d.ts","sourceRoot":"","sources":["jsx-curly-brace-presence.js"],"names":[],"mappings":"wBAgJW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-brace-presence.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-brace-presence.js new file mode 100644 index 0000000000000000000000000000000000000000..0f17143ffa0feff3a673d6e6fcbb47f3bfdecd5c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-brace-presence.js @@ -0,0 +1,421 @@ +/** + * @fileoverview Enforce curly braces or disallow unnecessary curly brace in JSX + * @author Jacky Ho + * @author Simon Lydell + */ + +'use strict'; + +const arrayIncludes = require('array-includes'); + +const docsUrl = require('../util/docsUrl'); +const jsxUtil = require('../util/jsx'); +const report = require('../util/report'); +const eslintUtil = require('../util/eslint'); + +const getSourceCode = eslintUtil.getSourceCode; +const getText = eslintUtil.getText; + +// ------------------------------------------------------------------------------ +// Constants +// ------------------------------------------------------------------------------ + +const OPTION_ALWAYS = 'always'; +const OPTION_NEVER = 'never'; +const OPTION_IGNORE = 'ignore'; + +const OPTION_VALUES = [ + OPTION_ALWAYS, + OPTION_NEVER, + OPTION_IGNORE, +]; +const DEFAULT_CONFIG = { props: OPTION_NEVER, children: OPTION_NEVER, propElementValues: OPTION_IGNORE }; + +const HTML_ENTITY_REGEX = () => /&[A-Za-z\d#]+;/g; + +function containsLineTerminators(rawStringValue) { + return /[\n\r\u2028\u2029]/.test(rawStringValue); +} + +function containsBackslash(rawStringValue) { + return arrayIncludes(rawStringValue, '\\'); +} + +function containsHTMLEntity(rawStringValue) { + return HTML_ENTITY_REGEX().test(rawStringValue); +} + +function containsOnlyHtmlEntities(rawStringValue) { + return rawStringValue.replace(HTML_ENTITY_REGEX(), '').trim() === ''; +} + +function containsDisallowedJSXTextChars(rawStringValue) { + return /[{<>}]/.test(rawStringValue); +} + +function containsQuoteCharacters(value) { + return /['"]/.test(value); +} + +function containsMultilineComment(value) { + return /\/\*/.test(value); +} + +function escapeDoubleQuotes(rawStringValue) { + return rawStringValue.replace(/\\"/g, '"').replace(/"/g, '\\"'); +} + +function escapeBackslashes(rawStringValue) { + return rawStringValue.replace(/\\/g, '\\\\'); +} + +function needToEscapeCharacterForJSX(raw, node) { + return ( + containsBackslash(raw) + || containsHTMLEntity(raw) + || (node.parent.type !== 'JSXAttribute' && containsDisallowedJSXTextChars(raw)) + ); +} + +function containsWhitespaceExpression(child) { + if (child.type === 'JSXExpressionContainer') { + const value = child.expression.value; + return value ? jsxUtil.isWhiteSpaces(value) : false; + } + return false; +} + +function isLineBreak(text) { + return containsLineTerminators(text) && text.trim() === ''; +} + +function wrapNonHTMLEntities(text) { + const HTML_ENTITY = ''; + const withCurlyBraces = text.split(HTML_ENTITY_REGEX()).map((word) => ( + word === '' ? '' : `{${JSON.stringify(word)}}` + )).join(HTML_ENTITY); + + const htmlEntities = text.match(HTML_ENTITY_REGEX()); + return htmlEntities.reduce((acc, htmlEntity) => ( + acc.replace(HTML_ENTITY, htmlEntity) + ), withCurlyBraces); +} + +function wrapWithCurlyBraces(rawText) { + if (!containsLineTerminators(rawText)) { + return `{${JSON.stringify(rawText)}}`; + } + + return rawText.split('\n').map((line) => { + if (line.trim() === '') { + return line; + } + const firstCharIndex = line.search(/[^\s]/); + const leftWhitespace = line.slice(0, firstCharIndex); + const text = line.slice(firstCharIndex); + + if (containsHTMLEntity(line)) { + return `${leftWhitespace}${wrapNonHTMLEntities(text)}`; + } + return `${leftWhitespace}{${JSON.stringify(text)}}`; + }).join('\n'); +} + +function isWhiteSpaceLiteral(node) { + return node.type && node.type === 'Literal' && node.value && jsxUtil.isWhiteSpaces(node.value); +} + +function isStringWithTrailingWhiteSpaces(value) { + return /^\s|\s$/.test(value); +} + +function isLiteralWithTrailingWhiteSpaces(node) { + return node.type && node.type === 'Literal' && node.value && isStringWithTrailingWhiteSpaces(node.value); +} + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + unnecessaryCurly: 'Curly braces are unnecessary here.', + missingCurly: 'Need to wrap this literal in a JSX expression.', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-curly-brace-presence'), + }, + fixable: 'code', + + messages, + + schema: [ + { + anyOf: [ + { + type: 'object', + properties: { + props: { enum: OPTION_VALUES }, + children: { enum: OPTION_VALUES }, + propElementValues: { enum: OPTION_VALUES }, + }, + additionalProperties: false, + }, + { + enum: OPTION_VALUES, + }, + ], + }, + ], + }, + + create(context) { + const ruleOptions = context.options[0]; + const userConfig = typeof ruleOptions === 'string' + ? { props: ruleOptions, children: ruleOptions, propElementValues: OPTION_IGNORE } + : Object.assign({}, DEFAULT_CONFIG, ruleOptions); + + /** + * Report and fix an unnecessary curly brace violation on a node + * @param {ASTNode} JSXExpressionNode - The AST node with an unnecessary JSX expression + */ + function reportUnnecessaryCurly(JSXExpressionNode) { + report(context, messages.unnecessaryCurly, 'unnecessaryCurly', { + node: JSXExpressionNode, + fix(fixer) { + const expression = JSXExpressionNode.expression; + + let textToReplace; + if (jsxUtil.isJSX(expression)) { + textToReplace = getText(context, expression); + } else { + const expressionType = expression && expression.type; + const parentType = JSXExpressionNode.parent.type; + + if (parentType === 'JSXAttribute') { + if (expressionType !== 'TemplateLiteral' && /["]/.test(expression.raw.slice(1, -1))) { + textToReplace = expression.raw; + } else { + textToReplace = `"${expressionType === 'TemplateLiteral' + ? expression.quasis[0].value.raw + : expression.raw.slice(1, -1) + }"`; + } + } else if (jsxUtil.isJSX(expression)) { + textToReplace = getText(context, expression); + } else { + textToReplace = expressionType === 'TemplateLiteral' + ? expression.quasis[0].value.cooked : expression.value; + } + } + + return fixer.replaceText(JSXExpressionNode, textToReplace); + }, + }); + } + + function reportMissingCurly(literalNode) { + report(context, messages.missingCurly, 'missingCurly', { + node: literalNode, + fix(fixer) { + if (jsxUtil.isJSX(literalNode)) { + return fixer.replaceText(literalNode, `{${getText(context, literalNode)}}`); + } + + // If a HTML entity name is found, bail out because it can be fixed + // by either using the real character or the unicode equivalent. + // If it contains any line terminator character, bail out as well. + if ( + containsOnlyHtmlEntities(literalNode.raw) + || (literalNode.parent.type === 'JSXAttribute' && containsLineTerminators(literalNode.raw)) + || isLineBreak(literalNode.raw) + ) { + return null; + } + + const expression = literalNode.parent.type === 'JSXAttribute' + ? `{"${escapeDoubleQuotes(escapeBackslashes( + literalNode.raw.slice(1, -1) + ))}"}` + : wrapWithCurlyBraces(literalNode.raw); + + return fixer.replaceText(literalNode, expression); + }, + }); + } + + // Bail out if there is any character that needs to be escaped in JSX + // because escaping decreases readability and the original code may be more + // readable anyway or intentional for other specific reasons + function lintUnnecessaryCurly(JSXExpressionNode) { + const expression = JSXExpressionNode.expression; + const expressionType = expression.type; + + const sourceCode = getSourceCode(context); + // Curly braces containing comments are necessary + if (sourceCode.getCommentsInside && sourceCode.getCommentsInside(JSXExpressionNode).length > 0) { + return; + } + + if ( + (expressionType === 'Literal' || expressionType === 'JSXText') + && typeof expression.value === 'string' + && ( + (JSXExpressionNode.parent.type === 'JSXAttribute' && !isWhiteSpaceLiteral(expression)) + || !isLiteralWithTrailingWhiteSpaces(expression) + ) + && !containsMultilineComment(expression.value) + && !needToEscapeCharacterForJSX(expression.raw, JSXExpressionNode) && ( + jsxUtil.isJSX(JSXExpressionNode.parent) + || (!containsQuoteCharacters(expression.value) || typeof expression.value === 'string') + ) + ) { + reportUnnecessaryCurly(JSXExpressionNode); + } else if ( + expressionType === 'TemplateLiteral' + && expression.expressions.length === 0 + && expression.quasis[0].value.raw.indexOf('\n') === -1 + && !isStringWithTrailingWhiteSpaces(expression.quasis[0].value.raw) + && !needToEscapeCharacterForJSX(expression.quasis[0].value.raw, JSXExpressionNode) + && !containsQuoteCharacters(expression.quasis[0].value.cooked) + ) { + reportUnnecessaryCurly(JSXExpressionNode); + } else if (jsxUtil.isJSX(expression)) { + reportUnnecessaryCurly(JSXExpressionNode); + } + } + + function areRuleConditionsSatisfied(parent, config, ruleCondition) { + return ( + parent.type === 'JSXAttribute' + && typeof config.props === 'string' + && config.props === ruleCondition + ) || ( + jsxUtil.isJSX(parent) + && typeof config.children === 'string' + && config.children === ruleCondition + ); + } + + function getAdjacentSiblings(node, children) { + for (let i = 1; i < children.length - 1; i++) { + const child = children[i]; + if (node === child) { + return [children[i - 1], children[i + 1]]; + } + } + if (node === children[0] && children[1]) { + return [children[1]]; + } + if (node === children[children.length - 1] && children[children.length - 2]) { + return [children[children.length - 2]]; + } + return []; + } + + function hasAdjacentJsxExpressionContainers(node, children) { + if (!children) { + return false; + } + const childrenExcludingWhitespaceLiteral = children.filter((child) => !isWhiteSpaceLiteral(child)); + const adjSiblings = getAdjacentSiblings(node, childrenExcludingWhitespaceLiteral); + + return adjSiblings.some((x) => x.type && x.type === 'JSXExpressionContainer'); + } + function hasAdjacentJsx(node, children) { + if (!children) { + return false; + } + const childrenExcludingWhitespaceLiteral = children.filter((child) => !isWhiteSpaceLiteral(child)); + const adjSiblings = getAdjacentSiblings(node, childrenExcludingWhitespaceLiteral); + + return adjSiblings.some((x) => x.type && arrayIncludes(['JSXExpressionContainer', 'JSXElement'], x.type)); + } + function shouldCheckForUnnecessaryCurly(node, config) { + const parent = node.parent; + // Bail out if the parent is a JSXAttribute & its contents aren't + // StringLiteral or TemplateLiteral since e.g + // } prop2={...} /> + + if ( + parent.type && parent.type === 'JSXAttribute' + && (node.expression && node.expression.type + && node.expression.type !== 'Literal' + && node.expression.type !== 'StringLiteral' + && node.expression.type !== 'TemplateLiteral') + ) { + return false; + } + + // If there are adjacent `JsxExpressionContainer` then there is no need, + // to check for unnecessary curly braces. + if (jsxUtil.isJSX(parent) && hasAdjacentJsxExpressionContainers(node, parent.children)) { + return false; + } + if (containsWhitespaceExpression(node) && hasAdjacentJsx(node, parent.children)) { + return false; + } + if ( + parent.children + && parent.children.length === 1 + && containsWhitespaceExpression(node) + ) { + return false; + } + + return areRuleConditionsSatisfied(parent, config, OPTION_NEVER); + } + + function shouldCheckForMissingCurly(node, config) { + if (jsxUtil.isJSX(node)) { + return config.propElementValues !== OPTION_IGNORE; + } + if ( + isLineBreak(node.raw) + || containsOnlyHtmlEntities(node.raw) + ) { + return false; + } + const parent = node.parent; + if ( + parent.children + && parent.children.length === 1 + && containsWhitespaceExpression(parent.children[0]) + ) { + return false; + } + + return areRuleConditionsSatisfied(parent, config, OPTION_ALWAYS); + } + + // -------------------------------------------------------------------------- + // Public + // -------------------------------------------------------------------------- + + return { + 'JSXAttribute > JSXExpressionContainer > JSXElement'(node) { + if (userConfig.propElementValues === OPTION_NEVER) { + reportUnnecessaryCurly(node.parent); + } + }, + + JSXExpressionContainer(node) { + if (shouldCheckForUnnecessaryCurly(node, userConfig)) { + lintUnnecessaryCurly(node); + } + }, + + 'JSXAttribute > JSXElement, Literal, JSXText'(node) { + if (shouldCheckForMissingCurly(node, userConfig)) { + reportMissingCurly(node); + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-newline.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-newline.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..3456a0cb387ff354d8b696eb4b1ddc4de4137a3b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-newline.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-curly-newline.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-newline.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-newline.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..5a715baf9de8c6873ce3e3c59c8a380bb9138256 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-newline.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-curly-newline.d.ts","sourceRoot":"","sources":["jsx-curly-newline.js"],"names":[],"mappings":"wBA+CW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-newline.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-newline.js new file mode 100644 index 0000000000000000000000000000000000000000..046ff795829e13400f72011cc751a5227d1757cf --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-newline.js @@ -0,0 +1,187 @@ +/** + * @fileoverview enforce consistent line breaks inside jsx curly + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const eslintUtil = require('../util/eslint'); +const report = require('../util/report'); + +const getSourceCode = eslintUtil.getSourceCode; +const getText = eslintUtil.getText; + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +function getNormalizedOption(context) { + const rawOption = context.options[0] || 'consistent'; + + if (rawOption === 'consistent') { + return { + multiline: 'consistent', + singleline: 'consistent', + }; + } + + if (rawOption === 'never') { + return { + multiline: 'forbid', + singleline: 'forbid', + }; + } + + return { + multiline: rawOption.multiline || 'consistent', + singleline: rawOption.singleline || 'consistent', + }; +} + +const messages = { + expectedBefore: 'Expected newline before \'}\'.', + expectedAfter: 'Expected newline after \'{\'.', + unexpectedBefore: 'Unexpected newline before \'}\'.', + unexpectedAfter: 'Unexpected newline after \'{\'.', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + type: 'layout', + + docs: { + description: 'Enforce consistent linebreaks in curly braces in JSX attributes and expressions', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-curly-newline'), + }, + + fixable: 'whitespace', + + schema: [ + { + anyOf: [ + { + enum: ['consistent', 'never'], + }, + { + type: 'object', + properties: { + singleline: { enum: ['consistent', 'require', 'forbid'] }, + multiline: { enum: ['consistent', 'require', 'forbid'] }, + }, + additionalProperties: false, + }, + ], + }, + ], + + messages, + }, + + create(context) { + const sourceCode = getSourceCode(context); + const option = getNormalizedOption(context); + + // ---------------------------------------------------------------------- + // Helpers + // ---------------------------------------------------------------------- + + /** + * Determines whether two adjacent tokens are on the same line. + * @param {Object} left - The left token object. + * @param {Object} right - The right token object. + * @returns {boolean} Whether or not the tokens are on the same line. + */ + function isTokenOnSameLine(left, right) { + return left.loc.end.line === right.loc.start.line; + } + + /** + * Determines whether there should be newlines inside curlys + * @param {ASTNode} expression The expression contained in the curlys + * @param {boolean} hasLeftNewline `true` if the left curly has a newline in the current code. + * @returns {boolean} `true` if there should be newlines inside the function curlys + */ + function shouldHaveNewlines(expression, hasLeftNewline) { + const isMultiline = expression.loc.start.line !== expression.loc.end.line; + + switch (isMultiline ? option.multiline : option.singleline) { + case 'forbid': return false; + case 'require': return true; + case 'consistent': + default: return hasLeftNewline; + } + } + + /** + * Validates curlys + * @param {Object} curlys An object with keys `leftParen` for the left paren token, and `rightParen` for the right paren token + * @param {ASTNode} expression The expression inside the curly + * @returns {void} + */ + function validateCurlys(curlys, expression) { + const leftCurly = curlys.leftCurly; + const rightCurly = curlys.rightCurly; + const tokenAfterLeftCurly = sourceCode.getTokenAfter(leftCurly); + const tokenBeforeRightCurly = sourceCode.getTokenBefore(rightCurly); + const hasLeftNewline = !isTokenOnSameLine(leftCurly, tokenAfterLeftCurly); + const hasRightNewline = !isTokenOnSameLine(tokenBeforeRightCurly, rightCurly); + const needsNewlines = shouldHaveNewlines(expression, hasLeftNewline); + + if (hasLeftNewline && !needsNewlines) { + report(context, messages.unexpectedAfter, 'unexpectedAfter', { + node: leftCurly, + fix(fixer) { + return getText(context) + .slice(leftCurly.range[1], tokenAfterLeftCurly.range[0]) + .trim() + ? null // If there is a comment between the { and the first element, don't do a fix. + : fixer.removeRange([leftCurly.range[1], tokenAfterLeftCurly.range[0]]); + }, + }); + } else if (!hasLeftNewline && needsNewlines) { + report(context, messages.expectedAfter, 'expectedAfter', { + node: leftCurly, + fix: (fixer) => fixer.insertTextAfter(leftCurly, '\n'), + }); + } + + if (hasRightNewline && !needsNewlines) { + report(context, messages.unexpectedBefore, 'unexpectedBefore', { + node: rightCurly, + fix(fixer) { + return getText(context) + .slice(tokenBeforeRightCurly.range[1], rightCurly.range[0]) + .trim() + ? null // If there is a comment between the last element and the }, don't do a fix. + : fixer.removeRange([ + tokenBeforeRightCurly.range[1], + rightCurly.range[0], + ]); + }, + }); + } else if (!hasRightNewline && needsNewlines) { + report(context, messages.expectedBefore, 'expectedBefore', { + node: rightCurly, + fix: (fixer) => fixer.insertTextBefore(rightCurly, '\n'), + }); + } + } + + // ---------------------------------------------------------------------- + // Public + // ---------------------------------------------------------------------- + + return { + JSXExpressionContainer(node) { + const curlyTokens = { + leftCurly: sourceCode.getFirstToken(node), + rightCurly: sourceCode.getLastToken(node), + }; + validateCurlys(curlyTokens, node.expression); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-spacing.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-spacing.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d148673b2f25789f6201e2976475b1fb8aa2990f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-spacing.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-curly-spacing.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-spacing.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-spacing.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..0fba86b65eb761593d97e61cad4c3cf4203eea43 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-spacing.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-curly-spacing.d.ts","sourceRoot":"","sources":["jsx-curly-spacing.js"],"names":[],"mappings":"wBAqCW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-spacing.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-spacing.js new file mode 100644 index 0000000000000000000000000000000000000000..fda49381ce67d11d3d9b14c2d83e7d46147315f6 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-curly-spacing.js @@ -0,0 +1,432 @@ +/** + * @fileoverview Enforce or disallow spaces inside of curly braces in JSX attributes. + * @author Jamund Ferguson + * @author Brandyn Bennett + * @author Michael Ficarra + * @author Vignesh Anand + * @author Jamund Ferguson + * @author Yannick Croissant + * @author Erik Wendel + */ + +'use strict'; + +const has = require('hasown'); +const docsUrl = require('../util/docsUrl'); +const getSourceCode = require('../util/eslint').getSourceCode; +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const SPACING = { + always: 'always', + never: 'never', +}; +const SPACING_VALUES = [SPACING.always, SPACING.never]; + +const messages = { + noNewlineAfter: 'There should be no newline after \'{{token}}\'', + noNewlineBefore: 'There should be no newline before \'{{token}}\'', + noSpaceAfter: 'There should be no space after \'{{token}}\'', + noSpaceBefore: 'There should be no space before \'{{token}}\'', + spaceNeededAfter: 'A space is required after \'{{token}}\'', + spaceNeededBefore: 'A space is required before \'{{token}}\'', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce or disallow spaces inside of curly braces in JSX attributes and expressions', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-curly-spacing'), + }, + fixable: 'code', + + messages, + + schema: { + definitions: { + basicConfig: { + type: 'object', + properties: { + when: { + enum: SPACING_VALUES, + }, + allowMultiline: { + type: 'boolean', + }, + spacing: { + type: 'object', + properties: { + objectLiterals: { + enum: SPACING_VALUES, + }, + }, + }, + }, + }, + basicConfigOrBoolean: { + anyOf: [{ + $ref: '#/definitions/basicConfig', + }, { + type: 'boolean', + }], + }, + }, + type: 'array', + items: [{ + anyOf: [{ + allOf: [{ + $ref: '#/definitions/basicConfig', + }, { + type: 'object', + properties: { + attributes: { + $ref: '#/definitions/basicConfigOrBoolean', + }, + children: { + $ref: '#/definitions/basicConfigOrBoolean', + }, + }, + }], + }, { + enum: SPACING_VALUES, + }], + }, { + type: 'object', + properties: { + allowMultiline: { + type: 'boolean', + }, + spacing: { + type: 'object', + properties: { + objectLiterals: { + enum: SPACING_VALUES, + }, + }, + }, + }, + additionalProperties: false, + }], + }, + }, + + create(context) { + function normalizeConfig(configOrTrue, defaults, lastPass) { + const config = configOrTrue === true ? {} : configOrTrue; + const when = config.when || defaults.when; + const allowMultiline = has(config, 'allowMultiline') ? config.allowMultiline : defaults.allowMultiline; + const spacing = config.spacing || {}; + let objectLiteralSpaces = spacing.objectLiterals || defaults.objectLiteralSpaces; + if (lastPass) { + // On the final pass assign the values that should be derived from others if they are still undefined + objectLiteralSpaces = objectLiteralSpaces || when; + } + + return { + when, + allowMultiline, + objectLiteralSpaces, + }; + } + + const DEFAULT_WHEN = SPACING.never; + const DEFAULT_ALLOW_MULTILINE = true; + const DEFAULT_ATTRIBUTES = true; + const DEFAULT_CHILDREN = false; + + let originalConfig = context.options[0] || {}; + if (SPACING_VALUES.indexOf(originalConfig) !== -1) { + originalConfig = Object.assign({ when: context.options[0] }, context.options[1]); + } + const defaultConfig = normalizeConfig(originalConfig, { + when: DEFAULT_WHEN, + allowMultiline: DEFAULT_ALLOW_MULTILINE, + }); + const attributes = has(originalConfig, 'attributes') ? originalConfig.attributes : DEFAULT_ATTRIBUTES; + const attributesConfig = attributes ? normalizeConfig(attributes, defaultConfig, true) : null; + const children = has(originalConfig, 'children') ? originalConfig.children : DEFAULT_CHILDREN; + const childrenConfig = children ? normalizeConfig(children, defaultConfig, true) : null; + + // -------------------------------------------------------------------------- + // Helpers + // -------------------------------------------------------------------------- + + /** + * Determines whether two adjacent tokens have a newline between them. + * @param {Object} left - The left token object. + * @param {Object} right - The right token object. + * @returns {boolean} Whether or not there is a newline between the tokens. + */ + function isMultiline(left, right) { + return left.loc.end.line !== right.loc.start.line; + } + + /** + * Trims text of whitespace between two ranges + * @param {Fixer} fixer - the eslint fixer object + * @param {number} fromLoc - the start location + * @param {number} toLoc - the end location + * @param {string} mode - either 'start' or 'end' + * @param {string=} spacing - a spacing value that will optionally add a space to the removed text + * @returns {Object|*|{range, text}} + */ + function fixByTrimmingWhitespace(fixer, fromLoc, toLoc, mode, spacing) { + let replacementText = getSourceCode(context).text.slice(fromLoc, toLoc); + if (mode === 'start') { + replacementText = replacementText.replace(/^\s+/gm, ''); + } else { + replacementText = replacementText.replace(/\s+$/gm, ''); + } + if (spacing === SPACING.always) { + if (mode === 'start') { + replacementText += ' '; + } else { + replacementText = ` ${replacementText}`; + } + } + return fixer.replaceTextRange([fromLoc, toLoc], replacementText); + } + + /** + * Reports that there shouldn't be a newline after the first token + * @param {ASTNode} node - The node to report in the event of an error. + * @param {Token} token - The token to use for the report. + * @param {string} spacing + * @returns {void} + */ + function reportNoBeginningNewline(node, token, spacing) { + report(context, messages.noNewlineAfter, 'noNewlineAfter', { + node, + loc: token.loc.start, + data: { + token: token.value, + }, + fix(fixer) { + const nextToken = getSourceCode(context).getTokenAfter(token); + return fixByTrimmingWhitespace(fixer, token.range[1], nextToken.range[0], 'start', spacing); + }, + }); + } + + /** + * Reports that there shouldn't be a newline before the last token + * @param {ASTNode} node - The node to report in the event of an error. + * @param {Token} token - The token to use for the report. + * @param {string} spacing + * @returns {void} + */ + function reportNoEndingNewline(node, token, spacing) { + report(context, messages.noNewlineBefore, 'noNewlineBefore', { + node, + loc: token.loc.start, + data: { + token: token.value, + }, + fix(fixer) { + const previousToken = getSourceCode(context).getTokenBefore(token); + return fixByTrimmingWhitespace(fixer, previousToken.range[1], token.range[0], 'end', spacing); + }, + }); + } + + /** + * Reports that there shouldn't be a space after the first token + * @param {ASTNode} node - The node to report in the event of an error. + * @param {Token} token - The token to use for the report. + * @returns {void} + */ + function reportNoBeginningSpace(node, token) { + report(context, messages.noSpaceAfter, 'noSpaceAfter', { + node, + loc: token.loc.start, + data: { + token: token.value, + }, + fix(fixer) { + const sourceCode = getSourceCode(context); + const nextToken = sourceCode.getTokenAfter(token); + let nextComment; + + // eslint >=4.x + if (sourceCode.getCommentsAfter) { + nextComment = sourceCode.getCommentsAfter(token); + // eslint 3.x + } else { + const potentialComment = sourceCode.getTokenAfter(token, { includeComments: true }); + nextComment = nextToken === potentialComment ? [] : [potentialComment]; + } + + // Take comments into consideration to narrow the fix range to what is actually affected. (See #1414) + if (nextComment.length > 0) { + return fixByTrimmingWhitespace(fixer, token.range[1], Math.min(nextToken.range[0], nextComment[0].range[0]), 'start'); + } + + return fixByTrimmingWhitespace(fixer, token.range[1], nextToken.range[0], 'start'); + }, + }); + } + + /** + * Reports that there shouldn't be a space before the last token + * @param {ASTNode} node - The node to report in the event of an error. + * @param {Token} token - The token to use for the report. + * @returns {void} + */ + function reportNoEndingSpace(node, token) { + report(context, messages.noSpaceBefore, 'noSpaceBefore', { + node, + loc: token.loc.start, + data: { + token: token.value, + }, + fix(fixer) { + const sourceCode = getSourceCode(context); + const previousToken = sourceCode.getTokenBefore(token); + let previousComment; + + // eslint >=4.x + if (sourceCode.getCommentsBefore) { + previousComment = sourceCode.getCommentsBefore(token); + // eslint 3.x + } else { + const potentialComment = sourceCode.getTokenBefore(token, { includeComments: true }); + previousComment = previousToken === potentialComment ? [] : [potentialComment]; + } + + // Take comments into consideration to narrow the fix range to what is actually affected. (See #1414) + if (previousComment.length > 0) { + return fixByTrimmingWhitespace(fixer, Math.max(previousToken.range[1], previousComment[0].range[1]), token.range[0], 'end'); + } + + return fixByTrimmingWhitespace(fixer, previousToken.range[1], token.range[0], 'end'); + }, + }); + } + + /** + * Reports that there should be a space after the first token + * @param {ASTNode} node - The node to report in the event of an error. + * @param {Token} token - The token to use for the report. + * @returns {void} + */ + function reportRequiredBeginningSpace(node, token) { + report(context, messages.spaceNeededAfter, 'spaceNeededAfter', { + node, + loc: token.loc.start, + data: { + token: token.value, + }, + fix(fixer) { + return fixer.insertTextAfter(token, ' '); + }, + }); + } + + /** + * Reports that there should be a space before the last token + * @param {ASTNode} node - The node to report in the event of an error. + * @param {Token} token - The token to use for the report. + * @returns {void} + */ + function reportRequiredEndingSpace(node, token) { + report(context, messages.spaceNeededBefore, 'spaceNeededBefore', { + node, + loc: token.loc.start, + data: { + token: token.value, + }, + fix(fixer) { + return fixer.insertTextBefore(token, ' '); + }, + }); + } + + /** + * Determines if spacing in curly braces is valid. + * @param {ASTNode} node The AST node to check. + * @returns {void} + */ + function validateBraceSpacing(node) { + let config; + switch (node.parent.type) { + case 'JSXAttribute': + case 'JSXOpeningElement': + config = attributesConfig; + break; + + case 'JSXElement': + case 'JSXFragment': + config = childrenConfig; + break; + + default: + return; + } + if (config === null) { + return; + } + + const sourceCode = getSourceCode(context); + const first = sourceCode.getFirstToken(node); + const last = sourceCode.getLastToken(node); + let second = sourceCode.getTokenAfter(first, { includeComments: true }); + let penultimate = sourceCode.getTokenBefore(last, { includeComments: true }); + + if (!second) { + second = sourceCode.getTokenAfter(first); + const leadingComments = sourceCode.getNodeByRangeIndex(second.range[0]).leadingComments; + second = leadingComments ? leadingComments[0] : second; + } + if (!penultimate) { + penultimate = sourceCode.getTokenBefore(last); + const trailingComments = sourceCode.getNodeByRangeIndex(penultimate.range[0]).trailingComments; + penultimate = trailingComments ? trailingComments[trailingComments.length - 1] : penultimate; + } + + const isObjectLiteral = first.value === second.value; + const spacing = isObjectLiteral ? config.objectLiteralSpaces : config.when; + if (spacing === SPACING.always) { + if (!sourceCode.isSpaceBetweenTokens(first, second)) { + reportRequiredBeginningSpace(node, first); + } else if (!config.allowMultiline && isMultiline(first, second)) { + reportNoBeginningNewline(node, first, spacing); + } + if (!sourceCode.isSpaceBetweenTokens(penultimate, last)) { + reportRequiredEndingSpace(node, last); + } else if (!config.allowMultiline && isMultiline(penultimate, last)) { + reportNoEndingNewline(node, last, spacing); + } + } else if (spacing === SPACING.never) { + if (isMultiline(first, second)) { + if (!config.allowMultiline) { + reportNoBeginningNewline(node, first, spacing); + } + } else if (sourceCode.isSpaceBetweenTokens(first, second)) { + reportNoBeginningSpace(node, first); + } + if (isMultiline(penultimate, last)) { + if (!config.allowMultiline) { + reportNoEndingNewline(node, last, spacing); + } + } else if (sourceCode.isSpaceBetweenTokens(penultimate, last)) { + reportNoEndingSpace(node, last); + } + } + } + + // -------------------------------------------------------------------------- + // Public + // -------------------------------------------------------------------------- + + return { + JSXExpressionContainer: validateBraceSpacing, + JSXSpreadAttribute: validateBraceSpacing, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-equals-spacing.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-equals-spacing.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..805d6a98df8841535238cdbf7196bc30f34cf1cc --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-equals-spacing.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-equals-spacing.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-equals-spacing.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-equals-spacing.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..00ab38e2706f57c01d0230408126c71e7e410255 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-equals-spacing.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-equals-spacing.d.ts","sourceRoot":"","sources":["jsx-equals-spacing.js"],"names":[],"mappings":"wBAsBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-equals-spacing.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-equals-spacing.js new file mode 100644 index 0000000000000000000000000000000000000000..6920fb24bf6aef9ff714ac5e0821053002a44061 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-equals-spacing.js @@ -0,0 +1,112 @@ +/** + * @fileoverview Disallow or enforce spaces around equal signs in JSX attributes. + * @author ryym + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const getSourceCode = require('../util/eslint').getSourceCode; +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + noSpaceBefore: 'There should be no space before \'=\'', + noSpaceAfter: 'There should be no space after \'=\'', + needSpaceBefore: 'A space is required before \'=\'', + needSpaceAfter: 'A space is required after \'=\'', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce or disallow spaces around equal signs in JSX attributes', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-equals-spacing'), + }, + fixable: 'code', + + messages, + + schema: [{ + enum: ['always', 'never'], + }], + }, + + create(context) { + const config = context.options[0] || 'never'; + + /** + * Determines a given attribute node has an equal sign. + * @param {ASTNode} attrNode - The attribute node. + * @returns {boolean} Whether or not the attriute node has an equal sign. + */ + function hasEqual(attrNode) { + return attrNode.type !== 'JSXSpreadAttribute' && attrNode.value !== null; + } + + // -------------------------------------------------------------------------- + // Public + // -------------------------------------------------------------------------- + + return { + JSXOpeningElement(node) { + node.attributes.forEach((attrNode) => { + if (!hasEqual(attrNode)) { + return; + } + + const sourceCode = getSourceCode(context); + const equalToken = sourceCode.getTokenAfter(attrNode.name); + const spacedBefore = sourceCode.isSpaceBetweenTokens(attrNode.name, equalToken); + const spacedAfter = sourceCode.isSpaceBetweenTokens(equalToken, attrNode.value); + + if (config === 'never') { + if (spacedBefore) { + report(context, messages.noSpaceBefore, 'noSpaceBefore', { + node: attrNode, + loc: equalToken.loc.start, + fix(fixer) { + return fixer.removeRange([attrNode.name.range[1], equalToken.range[0]]); + }, + }); + } + if (spacedAfter) { + report(context, messages.noSpaceAfter, 'noSpaceAfter', { + node: attrNode, + loc: equalToken.loc.start, + fix(fixer) { + return fixer.removeRange([equalToken.range[1], attrNode.value.range[0]]); + }, + }); + } + } else if (config === 'always') { + if (!spacedBefore) { + report(context, messages.needSpaceBefore, 'needSpaceBefore', { + node: attrNode, + loc: equalToken.loc.start, + fix(fixer) { + return fixer.insertTextBefore(equalToken, ' '); + }, + }); + } + if (!spacedAfter) { + report(context, messages.needSpaceAfter, 'needSpaceAfter', { + node: attrNode, + loc: equalToken.loc.start, + fix(fixer) { + return fixer.insertTextAfter(equalToken, ' '); + }, + }); + } + } + }); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-filename-extension.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-filename-extension.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..114db99197d4b658850d7dc788253d277211f908 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-filename-extension.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-filename-extension.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-filename-extension.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-filename-extension.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..8f7165b15a4c9b414001bbe13148926e4061deae --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-filename-extension.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-filename-extension.d.ts","sourceRoot":"","sources":["jsx-filename-extension.js"],"names":[],"mappings":"wBA8BW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-filename-extension.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-filename-extension.js new file mode 100644 index 0000000000000000000000000000000000000000..4a2cfeede66b68255ca48bc38c0eb2f1537a785a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-filename-extension.js @@ -0,0 +1,120 @@ +/** + * @fileoverview Restrict file extensions that may contain JSX + * @author Joe Lencioni + */ + +'use strict'; + +const path = require('path'); +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Constants +// ------------------------------------------------------------------------------ + +const DEFAULTS = { + allow: 'always', + extensions: ['.jsx'], + ignoreFilesWithoutCode: false, +}; + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + noJSXWithExtension: 'JSX not allowed in files with extension \'{{ext}}\'', + extensionOnlyForJSX: 'Only files containing JSX may use the extension \'{{ext}}\'', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow file extensions that may contain JSX', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-filename-extension'), + }, + + messages, + + schema: [{ + type: 'object', + properties: { + allow: { + enum: ['always', 'as-needed'], + }, + extensions: { + type: 'array', + items: { + type: 'string', + }, + }, + ignoreFilesWithoutCode: { + type: 'boolean', + }, + }, + additionalProperties: false, + }], + }, + + create(context) { + const filename = context.getFilename(); + + let jsxNode; + + if (filename === '') { + // No need to traverse any nodes. + return {}; + } + + const allow = (context.options[0] && context.options[0].allow) || DEFAULTS.allow; + const allowedExtensions = (context.options[0] && context.options[0].extensions) || DEFAULTS.extensions; + const ignoreFilesWithoutCode = (context.options[0] && context.options[0].ignoreFilesWithoutCode) + || DEFAULTS.ignoreFilesWithoutCode; + const isAllowedExtension = allowedExtensions.some((extension) => filename.slice(-extension.length) === extension); + + function handleJSX(node) { + if (!jsxNode) { + jsxNode = node; + } + } + + // -------------------------------------------------------------------------- + // Public + // -------------------------------------------------------------------------- + + return { + JSXElement: handleJSX, + JSXFragment: handleJSX, + + 'Program:exit'(node) { + if (jsxNode) { + if (!isAllowedExtension) { + report(context, messages.noJSXWithExtension, 'noJSXWithExtension', { + node: jsxNode, + data: { + ext: path.extname(filename), + }, + }); + } + return; + } + + if (isAllowedExtension && allow === 'as-needed') { + if (ignoreFilesWithoutCode && node.body.length === 0) { + return; + } + report(context, messages.extensionOnlyForJSX, 'extensionOnlyForJSX', { + node, + data: { + ext: path.extname(filename), + }, + }); + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-first-prop-new-line.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-first-prop-new-line.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..29b05dcbf94e3226891de0886e71e53a51e41f65 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-first-prop-new-line.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-first-prop-new-line.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-first-prop-new-line.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-first-prop-new-line.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..4a6ce8f287819eeeb5c560738706d9c8f44d6520 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-first-prop-new-line.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-first-prop-new-line.d.ts","sourceRoot":"","sources":["jsx-first-prop-new-line.js"],"names":[],"mappings":"wBAoBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-first-prop-new-line.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-first-prop-new-line.js new file mode 100644 index 0000000000000000000000000000000000000000..3014d24f1ecca079995c3ef24482994efb798526 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-first-prop-new-line.js @@ -0,0 +1,83 @@ +/** + * @fileoverview Ensure proper position of the first property in JSX + * @author Joachim Seminck + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); +const propsUtil = require('../util/props'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + propOnNewLine: 'Property should be placed on a new line', + propOnSameLine: 'Property should be placed on the same line as the component declaration', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce proper position of the first property in JSX', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-first-prop-new-line'), + }, + fixable: 'code', + + messages, + + schema: [{ + enum: ['always', 'never', 'multiline', 'multiline-multiprop', 'multiprop'], + }], + }, + + create(context) { + const configuration = context.options[0] || 'multiline-multiprop'; + + function isMultilineJSX(jsxNode) { + return jsxNode.loc.start.line < jsxNode.loc.end.line; + } + + return { + JSXOpeningElement(node) { + if ( + (configuration === 'multiline' && isMultilineJSX(node)) + || (configuration === 'multiline-multiprop' && isMultilineJSX(node) && node.attributes.length > 1) + || (configuration === 'multiprop' && node.attributes.length > 1) + || (configuration === 'always') + ) { + node.attributes.some((decl) => { + if (decl.loc.start.line === node.loc.start.line) { + report(context, messages.propOnNewLine, 'propOnNewLine', { + node: decl, + fix(fixer) { + const nodeTypeArguments = propsUtil.getTypeArguments(node); + return fixer.replaceTextRange([(nodeTypeArguments || node.name).range[1], decl.range[0]], '\n'); + }, + }); + } + return true; + }); + } else if ( + (configuration === 'never' && node.attributes.length > 0) + || (configuration === 'multiprop' && isMultilineJSX(node) && node.attributes.length <= 1) + ) { + const firstNode = node.attributes[0]; + if (node.loc.start.line < firstNode.loc.start.line) { + report(context, messages.propOnSameLine, 'propOnSameLine', { + node: firstNode, + fix(fixer) { + return fixer.replaceTextRange([node.name.range[1], firstNode.range[0]], ' '); + }, + }); + } + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-fragments.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-fragments.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..81ccb27cfd4c94757d9e981e054e83a46b58fc95 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-fragments.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-fragments.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-fragments.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-fragments.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..e36be319e34d66b85124fec04016060201450311 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-fragments.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-fragments.d.ts","sourceRoot":"","sources":["jsx-fragments.js"],"names":[],"mappings":"wBA6BW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-fragments.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-fragments.js new file mode 100644 index 0000000000000000000000000000000000000000..b4a545846e456bdf8960d0d189cc29a2ca194d84 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-fragments.js @@ -0,0 +1,213 @@ +/** + * @fileoverview Enforce shorthand or standard form for React fragments. + * @author Alex Zherdev + */ + +'use strict'; + +const elementType = require('jsx-ast-utils/elementType'); +const pragmaUtil = require('../util/pragma'); +const variableUtil = require('../util/variable'); +const testReactVersion = require('../util/version').testReactVersion; +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); +const getText = require('../util/eslint').getText; + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +function replaceNode(source, node, text) { + return `${source.slice(0, node.range[0])}${text}${source.slice(node.range[1])}`; +} + +const messages = { + fragmentsNotSupported: 'Fragments are only supported starting from React v16.2. Please disable the `react/jsx-fragments` rule in `eslint` settings or upgrade your version of React.', + preferPragma: 'Prefer {{react}}.{{fragment}} over fragment shorthand', + preferFragment: 'Prefer fragment shorthand over {{react}}.{{fragment}}', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce shorthand or standard form for React fragments', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-fragments'), + }, + fixable: 'code', + + messages, + + schema: [{ + enum: ['syntax', 'element'], + }], + }, + + create(context) { + const configuration = context.options[0] || 'syntax'; + const reactPragma = pragmaUtil.getFromContext(context); + const fragmentPragma = pragmaUtil.getFragmentFromContext(context); + const openFragShort = '<>'; + const closeFragShort = ''; + const openFragLong = `<${reactPragma}.${fragmentPragma}>`; + const closeFragLong = ``; + + function reportOnReactVersion(node) { + if (!testReactVersion(context, '>= 16.2.0')) { + report(context, messages.fragmentsNotSupported, 'fragmentsNotSupported', { + node, + }); + return true; + } + + return false; + } + + function getFixerToLong(jsxFragment) { + if (!jsxFragment.closingFragment || !jsxFragment.openingFragment) { + // the old TS parser crashes here + // TODO: FIXME: can we fake these two descriptors? + return null; + } + return function fix(fixer) { + let source = getText(context); + source = replaceNode(source, jsxFragment.closingFragment, closeFragLong); + source = replaceNode(source, jsxFragment.openingFragment, openFragLong); + const lengthDiff = openFragLong.length - getText(context, jsxFragment.openingFragment).length + + closeFragLong.length - getText(context, jsxFragment.closingFragment).length; + const range = jsxFragment.range; + return fixer.replaceTextRange(range, source.slice(range[0], range[1] + lengthDiff)); + }; + } + + function getFixerToShort(jsxElement) { + return function fix(fixer) { + let source = getText(context); + let lengthDiff; + if (jsxElement.closingElement) { + source = replaceNode(source, jsxElement.closingElement, closeFragShort); + source = replaceNode(source, jsxElement.openingElement, openFragShort); + lengthDiff = getText(context, jsxElement.openingElement).length - openFragShort.length + + getText(context, jsxElement.closingElement).length - closeFragShort.length; + } else { + source = replaceNode(source, jsxElement.openingElement, `${openFragShort}${closeFragShort}`); + lengthDiff = getText(context, jsxElement.openingElement).length - openFragShort.length + - closeFragShort.length; + } + + const range = jsxElement.range; + return fixer.replaceTextRange(range, source.slice(range[0], range[1] - lengthDiff)); + }; + } + + function refersToReactFragment(node, name) { + const variableInit = variableUtil.findVariableByName(context, node, name); + if (!variableInit) { + return false; + } + + // const { Fragment } = React; + if (variableInit.type === 'Identifier' && variableInit.name === reactPragma) { + return true; + } + + // const Fragment = React.Fragment; + if ( + variableInit.type === 'MemberExpression' + && variableInit.object.type === 'Identifier' + && variableInit.object.name === reactPragma + && variableInit.property.type === 'Identifier' + && variableInit.property.name === fragmentPragma + ) { + return true; + } + + // const { Fragment } = require('react'); + if ( + variableInit.callee + && variableInit.callee.name === 'require' + && variableInit.arguments + && variableInit.arguments[0] + && variableInit.arguments[0].value === 'react' + ) { + return true; + } + + return false; + } + + const jsxElements = []; + const fragmentNames = new Set([`${reactPragma}.${fragmentPragma}`]); + + // -------------------------------------------------------------------------- + // Public + // -------------------------------------------------------------------------- + + return { + JSXElement(node) { + jsxElements.push(node); + }, + + JSXFragment(node) { + if (reportOnReactVersion(node)) { + return; + } + + if (configuration === 'element') { + report(context, messages.preferPragma, 'preferPragma', { + node, + data: { + react: reactPragma, + fragment: fragmentPragma, + }, + fix: getFixerToLong(node), + }); + } + }, + + ImportDeclaration(node) { + if (node.source && node.source.value === 'react') { + node.specifiers.forEach((spec) => { + if ( + 'imported' in spec + && spec.imported + && 'name' in spec.imported + && spec.imported.name === fragmentPragma + ) { + if (spec.local) { + fragmentNames.add(spec.local.name); + } + } + }); + } + }, + + 'Program:exit'() { + jsxElements.forEach((node) => { + const openingEl = node.openingElement; + const elName = elementType(openingEl); + + if (fragmentNames.has(elName) || refersToReactFragment(node, elName)) { + if (reportOnReactVersion(node)) { + return; + } + + const attrs = openingEl.attributes; + if (configuration === 'syntax' && !(attrs && attrs.length > 0)) { + report(context, messages.preferFragment, 'preferFragment', { + node, + data: { + react: reactPragma, + fragment: fragmentPragma, + }, + fix: getFixerToShort(node), + }); + } + } + }); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-handler-names.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-handler-names.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..db7f5fd8db579be0449c44f2a5f9a7ee09ae7893 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-handler-names.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-handler-names.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-handler-names.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-handler-names.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..5d81078c230b076c14bc0c588e3eb8972c28aa26 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-handler-names.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-handler-names.d.ts","sourceRoot":"","sources":["jsx-handler-names.js"],"names":[],"mappings":"wBA6BW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-handler-names.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-handler-names.js new file mode 100644 index 0000000000000000000000000000000000000000..f89f24413e8bd0ae35167c52381b907ef687a2bc --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-handler-names.js @@ -0,0 +1,209 @@ +/** + * @fileoverview Enforce event handler naming conventions in JSX + * @author Jake Marsh + */ + +'use strict'; + +const minimatch = require('minimatch'); +const docsUrl = require('../util/docsUrl'); +const getText = require('../util/eslint').getText; +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + badHandlerName: 'Handler function for {{propKey}} prop key must be a camelCase name beginning with \'{{handlerPrefix}}\' only', + badPropKey: 'Prop key for {{propValue}} must begin with \'{{handlerPropPrefix}}\'', +}; + +function isPrefixDisabled(prefix) { + return prefix === false; +} + +function isInlineHandler(node) { + return node.value.expression.type === 'ArrowFunctionExpression'; +} + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce event handler naming conventions in JSX', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-handler-names'), + }, + + messages, + + schema: [{ + anyOf: [ + { + type: 'object', + properties: { + eventHandlerPrefix: { type: 'string' }, + eventHandlerPropPrefix: { type: 'string' }, + checkLocalVariables: { type: 'boolean' }, + checkInlineFunction: { type: 'boolean' }, + ignoreComponentNames: { + type: 'array', + uniqueItems: true, + items: { type: 'string' }, + }, + }, + additionalProperties: false, + }, { + type: 'object', + properties: { + eventHandlerPrefix: { type: 'string' }, + eventHandlerPropPrefix: { + type: 'boolean', + enum: [false], + }, + checkLocalVariables: { type: 'boolean' }, + checkInlineFunction: { type: 'boolean' }, + ignoreComponentNames: { + type: 'array', + uniqueItems: true, + items: { type: 'string' }, + }, + }, + additionalProperties: false, + }, { + type: 'object', + properties: { + eventHandlerPrefix: { + type: 'boolean', + enum: [false], + }, + eventHandlerPropPrefix: { type: 'string' }, + checkLocalVariables: { type: 'boolean' }, + checkInlineFunction: { type: 'boolean' }, + ignoreComponentNames: { + type: 'array', + uniqueItems: true, + items: { type: 'string' }, + }, + }, + additionalProperties: false, + }, { + type: 'object', + properties: { + checkLocalVariables: { type: 'boolean' }, + }, + additionalProperties: false, + }, { + type: 'object', + properties: { + checkInlineFunction: { type: 'boolean' }, + }, + additionalProperties: false, + }, + { + type: 'object', + properties: { + ignoreComponentNames: { + type: 'array', + uniqueItems: true, + items: { type: 'string' }, + }, + }, + }, + ], + }], + }, + + create(context) { + const configuration = context.options[0] || {}; + + const eventHandlerPrefix = isPrefixDisabled(configuration.eventHandlerPrefix) + ? null + : configuration.eventHandlerPrefix || 'handle'; + const eventHandlerPropPrefix = isPrefixDisabled(configuration.eventHandlerPropPrefix) + ? null + : configuration.eventHandlerPropPrefix || 'on'; + + const EVENT_HANDLER_REGEX = !eventHandlerPrefix + ? null + : new RegExp(`^((props\\.${eventHandlerPropPrefix || ''})|((.*\\.)?${eventHandlerPrefix}))[0-9]*[A-Z].*$`); + const PROP_EVENT_HANDLER_REGEX = !eventHandlerPropPrefix + ? null + : new RegExp(`^(${eventHandlerPropPrefix}[A-Z].*|ref)$`); + + const checkLocal = !!configuration.checkLocalVariables; + + const checkInlineFunction = !!configuration.checkInlineFunction; + + const ignoreComponentNames = configuration.ignoreComponentNames || []; + + return { + JSXAttribute(node) { + const componentName = node.parent.name.name; + + const isComponentNameIgnored = ignoreComponentNames.some((ignoredComponentNamePattern) => minimatch( + componentName, + ignoredComponentNamePattern + )); + + if ( + !node.value + || !node.value.expression + || (!checkInlineFunction && isInlineHandler(node)) + || ( + !checkLocal + && (isInlineHandler(node) + ? !node.value.expression.body.callee || !node.value.expression.body.callee.object + : !node.value.expression.object + ) + ) + || isComponentNameIgnored + ) { + return; + } + + const propKey = typeof node.name === 'object' ? node.name.name : node.name; + const expression = node.value.expression; + const propValue = getText( + context, + checkInlineFunction && isInlineHandler(node) ? expression.body.callee : expression + ).replace(/\s*/g, '').replace(/^this\.|.*::/, ''); + + if (propKey === 'ref') { + return; + } + + const propIsEventHandler = PROP_EVENT_HANDLER_REGEX && PROP_EVENT_HANDLER_REGEX.test(propKey); + const propFnIsNamedCorrectly = EVENT_HANDLER_REGEX && EVENT_HANDLER_REGEX.test(propValue); + + if ( + propIsEventHandler + && propFnIsNamedCorrectly !== null + && !propFnIsNamedCorrectly + ) { + report(context, messages.badHandlerName, 'badHandlerName', { + node, + data: { + propKey, + handlerPrefix: eventHandlerPrefix, + }, + }); + } else if ( + propFnIsNamedCorrectly + && propIsEventHandler !== null + && !propIsEventHandler + ) { + report(context, messages.badPropKey, 'badPropKey', { + node, + data: { + propValue, + handlerPropPrefix: eventHandlerPropPrefix, + }, + }); + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-indent-props.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-indent-props.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6ab31319008cee211fd38c96b80da581807762d6 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-indent-props.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-indent-props.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-indent-props.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-indent-props.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..f5be91924366080698ea191740e132d2efdcd771 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-indent-props.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-indent-props.d.ts","sourceRoot":"","sources":["jsx-indent-props.js"],"names":[],"mappings":"wBA+CW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-indent-props.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-indent-props.js new file mode 100644 index 0000000000000000000000000000000000000000..8504878731401879794bc89320f3c9421dc2d0a0 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-indent-props.js @@ -0,0 +1,218 @@ +/** + * @fileoverview Validate props indentation in JSX + * @author Yannick Croissant + + * This rule has been ported and modified from eslint and nodeca. + * @author Vitaly Puzrin + * @author Gyandeep Singh + * @copyright 2015 Vitaly Puzrin. All rights reserved. + * @copyright 2015 Gyandeep Singh. All rights reserved. + Copyright (C) 2014 by Vitaly Puzrin + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the 'Software'), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ + +'use strict'; + +const repeat = require('string.prototype.repeat'); + +const astUtil = require('../util/ast'); +const docsUrl = require('../util/docsUrl'); +const getText = require('../util/eslint').getText; +const reportC = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + wrongIndent: 'Expected indentation of {{needed}} {{type}} {{characters}} but found {{gotten}}.', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce props indentation in JSX', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-indent-props'), + }, + fixable: 'code', + + messages, + + schema: [{ + anyOf: [{ + enum: ['tab', 'first'], + }, { + type: 'integer', + }, { + type: 'object', + properties: { + indentMode: { + anyOf: [{ + enum: ['tab', 'first'], + }, { + type: 'integer', + }], + }, + ignoreTernaryOperator: { + type: 'boolean', + }, + }, + }], + }], + }, + + create(context) { + const extraColumnStart = 0; + let indentType = 'space'; + /** @type {number|'first'} */ + let indentSize = 4; + const line = { + isUsingOperator: false, + currentOperator: false, + }; + let ignoreTernaryOperator = false; + + if (context.options.length) { + const isConfigObject = typeof context.options[0] === 'object'; + const indentMode = isConfigObject + ? context.options[0].indentMode + : context.options[0]; + + if (indentMode === 'first') { + indentSize = 'first'; + indentType = 'space'; + } else if (indentMode === 'tab') { + indentSize = 1; + indentType = 'tab'; + } else if (typeof indentMode === 'number') { + indentSize = indentMode; + indentType = 'space'; + } + + if (isConfigObject && context.options[0].ignoreTernaryOperator) { + ignoreTernaryOperator = true; + } + } + + /** + * Reports a given indent violation and properly pluralizes the message + * @param {ASTNode} node Node violating the indent rule + * @param {number} needed Expected indentation character count + * @param {number} gotten Indentation character count in the actual node/code + */ + function report(node, needed, gotten) { + const msgContext = { + needed, + type: indentType, + characters: needed === 1 ? 'character' : 'characters', + gotten, + }; + + reportC(context, messages.wrongIndent, 'wrongIndent', { + node, + data: msgContext, + fix(fixer) { + return fixer.replaceTextRange([node.range[0] - node.loc.start.column, node.range[0]], + repeat(indentType === 'space' ? ' ' : '\t', needed) + ); + }, + }); + } + + /** + * Get node indent + * @param {ASTNode} node Node to examine + * @return {number} Indent + */ + function getNodeIndent(node) { + let src = getText(context, node, node.loc.start.column + extraColumnStart); + const lines = src.split('\n'); + src = lines[0]; + + let regExp; + if (indentType === 'space') { + regExp = /^[ ]+/; + } else { + regExp = /^[\t]+/; + } + + const indent = regExp.exec(src); + const useOperator = /^([ ]|[\t])*[:]/.test(src) || /^([ ]|[\t])*[?]/.test(src); + const useBracket = /[<]/.test(src); + + line.currentOperator = false; + if (useOperator) { + line.isUsingOperator = true; + line.currentOperator = true; + } else if (useBracket) { + line.isUsingOperator = false; + } + + return indent ? indent[0].length : 0; + } + + /** + * Check indent for nodes list + * @param {ASTNode[]} nodes list of node objects + * @param {number} indent needed indent + */ + function checkNodesIndent(nodes, indent) { + let nestedIndent = indent; + nodes.forEach((node) => { + const nodeIndent = getNodeIndent(node); + if ( + line.isUsingOperator + && !line.currentOperator + && indentSize !== 'first' + && !ignoreTernaryOperator + ) { + nestedIndent += indentSize; + line.isUsingOperator = false; + } + if ( + node.type !== 'ArrayExpression' && node.type !== 'ObjectExpression' + && nodeIndent !== nestedIndent && astUtil.isNodeFirstInLine(context, node) + ) { + report(node, nestedIndent, nodeIndent); + } + }); + } + + return { + JSXOpeningElement(node) { + if (!node.attributes.length) { + return; + } + let propIndent; + if (indentSize === 'first') { + const firstPropNode = node.attributes[0]; + propIndent = firstPropNode.loc.start.column; + } else { + const elementIndent = getNodeIndent(node); + propIndent = elementIndent + indentSize; + } + checkNodesIndent(node.attributes, propIndent); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-indent.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-indent.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..519d8c88be44ac74fe2bca1045ff6274f67e048c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-indent.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-indent.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-indent.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-indent.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..604fd03567125fbb49858f01005e460b9f0d9428 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-indent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-indent.d.ts","sourceRoot":"","sources":["jsx-indent.js"],"names":[],"mappings":"wBAoDW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-indent.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-indent.js new file mode 100644 index 0000000000000000000000000000000000000000..f27eca029d031f810a0fbd38fc8c254d2c09cb5d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-indent.js @@ -0,0 +1,447 @@ +/** + * @fileoverview Validate JSX indentation + * @author Yannick Croissant + + * This rule has been ported and modified from eslint and nodeca. + * @author Vitaly Puzrin + * @author Gyandeep Singh + * @copyright 2015 Vitaly Puzrin. All rights reserved. + * @copyright 2015 Gyandeep Singh. All rights reserved. + Copyright (C) 2014 by Vitaly Puzrin + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the 'Software'), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ + +'use strict'; + +const matchAll = require('string.prototype.matchall'); +const repeat = require('string.prototype.repeat'); + +const astUtil = require('../util/ast'); +const docsUrl = require('../util/docsUrl'); +const reportC = require('../util/report'); +const jsxUtil = require('../util/jsx'); +const eslintUtil = require('../util/eslint'); + +const getSourceCode = eslintUtil.getSourceCode; +const getText = eslintUtil.getText; + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + wrongIndent: 'Expected indentation of {{needed}} {{type}} {{characters}} but found {{gotten}}.', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce JSX indentation', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-indent'), + }, + fixable: 'whitespace', + + messages, + + schema: [{ + anyOf: [{ + enum: ['tab'], + }, { + type: 'integer', + }], + }, { + type: 'object', + properties: { + checkAttributes: { + type: 'boolean', + }, + indentLogicalExpressions: { + type: 'boolean', + }, + }, + additionalProperties: false, + }], + }, + + create(context) { + const extraColumnStart = 0; + let indentType = 'space'; + let indentSize = 4; + + if (context.options.length) { + if (context.options[0] === 'tab') { + indentSize = 1; + indentType = 'tab'; + } else if (typeof context.options[0] === 'number') { + indentSize = context.options[0]; + indentType = 'space'; + } + } + + const indentChar = indentType === 'space' ? ' ' : '\t'; + const options = context.options[1] || {}; + const checkAttributes = options.checkAttributes || false; + const indentLogicalExpressions = options.indentLogicalExpressions || false; + + /** + * Responsible for fixing the indentation issue fix + * @param {ASTNode} node Node violating the indent rule + * @param {number} needed Expected indentation character count + * @returns {Function} function to be executed by the fixer + * @private + */ + function getFixerFunction(node, needed) { + const indent = repeat(indentChar, needed); + + if (node.type === 'JSXText' || node.type === 'Literal') { + return function fix(fixer) { + const regExp = /\n[\t ]*(\S)/g; + const fixedText = node.raw.replace(regExp, (match, p1) => `\n${indent}${p1}`); + return fixer.replaceText(node, fixedText); + }; + } + + if (node.type === 'ReturnStatement') { + const raw = getText(context, node); + const lines = raw.split('\n'); + if (lines.length > 1) { + return function fix(fixer) { + const lastLineStart = raw.lastIndexOf('\n'); + const lastLine = raw.slice(lastLineStart).replace(/^\n[\t ]*(\S)/, (match, p1) => `\n${indent}${p1}`); + return fixer.replaceTextRange( + [node.range[0] + lastLineStart, node.range[1]], + lastLine + ); + }; + } + } + + return function fix(fixer) { + return fixer.replaceTextRange( + [node.range[0] - node.loc.start.column, node.range[0]], + indent + ); + }; + } + + /** + * Reports a given indent violation and properly pluralizes the message + * @param {ASTNode} node Node violating the indent rule + * @param {number} needed Expected indentation character count + * @param {number} gotten Indentation character count in the actual node/code + * @param {Object} [loc] Error line and column location + */ + function report(node, needed, gotten, loc) { + const msgContext = { + needed, + type: indentType, + characters: needed === 1 ? 'character' : 'characters', + gotten, + }; + + reportC(context, messages.wrongIndent, 'wrongIndent', Object.assign({ + node, + data: msgContext, + fix: getFixerFunction(node, needed), + }, loc && { loc })); + } + + /** + * Get node indent + * @param {ASTNode} node Node to examine + * @param {boolean} [byLastLine] get indent of node's last line + * @param {boolean} [excludeCommas] skip comma on start of line + * @return {number} Indent + */ + function getNodeIndent(node, byLastLine, excludeCommas) { + let src = getText(context, node, node.loc.start.column + extraColumnStart); + const lines = src.split('\n'); + if (byLastLine) { + src = lines[lines.length - 1]; + } else { + src = lines[0]; + } + + const skip = excludeCommas ? ',' : ''; + + let regExp; + if (indentType === 'space') { + regExp = new RegExp(`^[ ${skip}]+`); + } else { + regExp = new RegExp(`^[\t${skip}]+`); + } + + const indent = regExp.exec(src); + return indent ? indent[0].length : 0; + } + + /** + * Check if the node is the right member of a logical expression + * @param {ASTNode} node The node to check + * @return {boolean} true if its the case, false if not + */ + function isRightInLogicalExp(node) { + return ( + node.parent + && node.parent.parent + && node.parent.parent.type === 'LogicalExpression' + && node.parent.parent.right === node.parent + && !indentLogicalExpressions + ); + } + + /** + * Check if the node is the alternate member of a conditional expression + * @param {ASTNode} node The node to check + * @return {boolean} true if its the case, false if not + */ + function isAlternateInConditionalExp(node) { + return ( + node.parent + && node.parent.parent + && node.parent.parent.type === 'ConditionalExpression' + && node.parent.parent.alternate === node.parent + && getSourceCode(context).getTokenBefore(node).value !== '(' + ); + } + + /** + * Check if the node is within a DoExpression block but not the first expression (which need to be indented) + * @param {ASTNode} node The node to check + * @return {boolean} true if its the case, false if not + */ + function isSecondOrSubsequentExpWithinDoExp(node) { + /* + It returns true when node.parent.parent.parent.parent matches: + + DoExpression({ + ..., + body: BlockStatement({ + ..., + body: [ + ..., // 1-n times + ExpressionStatement({ + ..., + expression: JSXElement({ + ..., + openingElement: JSXOpeningElement() // the node + }) + }), + ... // 0-n times + ] + }) + }) + + except: + + DoExpression({ + ..., + body: BlockStatement({ + ..., + body: [ + ExpressionStatement({ + ..., + expression: JSXElement({ + ..., + openingElement: JSXOpeningElement() // the node + }) + }), + ... // 0-n times + ] + }) + }) + */ + const isInExpStmt = ( + node.parent + && node.parent.parent + && node.parent.parent.type === 'ExpressionStatement' + ); + if (!isInExpStmt) { + return false; + } + + const expStmt = node.parent.parent; + const isInBlockStmtWithinDoExp = ( + expStmt.parent + && expStmt.parent.type === 'BlockStatement' + && expStmt.parent.parent + && expStmt.parent.parent.type === 'DoExpression' + ); + if (!isInBlockStmtWithinDoExp) { + return false; + } + + const blockStmt = expStmt.parent; + const blockStmtFirstExp = blockStmt.body[0]; + return !(blockStmtFirstExp === expStmt); + } + + /** + * Check indent for nodes list + * @param {ASTNode} node The node to check + * @param {number} indent needed indent + * @param {boolean} [excludeCommas] skip comma on start of line + */ + function checkNodesIndent(node, indent, excludeCommas) { + const nodeIndent = getNodeIndent(node, false, excludeCommas); + const isCorrectRightInLogicalExp = isRightInLogicalExp(node) && (nodeIndent - indent) === indentSize; + const isCorrectAlternateInCondExp = isAlternateInConditionalExp(node) && (nodeIndent - indent) === 0; + if ( + nodeIndent !== indent + && astUtil.isNodeFirstInLine(context, node) + && !isCorrectRightInLogicalExp + && !isCorrectAlternateInCondExp + ) { + report(node, indent, nodeIndent); + } + } + + /** + * Check indent for Literal Node or JSXText Node + * @param {ASTNode} node The node to check + * @param {number} indent needed indent + */ + function checkLiteralNodeIndent(node, indent) { + const value = node.value; + const regExp = indentType === 'space' ? /\n( *)[\t ]*\S/g : /\n(\t*)[\t ]*\S/g; + const nodeIndentsPerLine = Array.from( + matchAll(String(value), regExp), + (match) => (match[1] ? match[1].length : 0) + ); + const hasFirstInLineNode = nodeIndentsPerLine.length > 0; + if ( + hasFirstInLineNode + && !nodeIndentsPerLine.every((actualIndent) => actualIndent === indent) + ) { + nodeIndentsPerLine.forEach((nodeIndent) => { + report(node, indent, nodeIndent); + }); + } + } + + function handleOpeningElement(node) { + const sourceCode = getSourceCode(context); + let prevToken = sourceCode.getTokenBefore(node); + if (!prevToken) { + return; + } + // Use the parent in a list or an array + if (prevToken.type === 'JSXText' || ((prevToken.type === 'Punctuator') && prevToken.value === ',')) { + prevToken = sourceCode.getNodeByRangeIndex(prevToken.range[0]); + prevToken = prevToken.type === 'Literal' || prevToken.type === 'JSXText' ? prevToken.parent : prevToken; + // Use the first non-punctuator token in a conditional expression + } else if (prevToken.type === 'Punctuator' && prevToken.value === ':') { + do { + prevToken = sourceCode.getTokenBefore(prevToken); + } while (prevToken.type === 'Punctuator' && prevToken.value !== '/'); + prevToken = sourceCode.getNodeByRangeIndex(prevToken.range[0]); + while (prevToken.parent && prevToken.parent.type !== 'ConditionalExpression') { + prevToken = prevToken.parent; + } + } + prevToken = prevToken.type === 'JSXExpressionContainer' ? prevToken.expression : prevToken; + const parentElementIndent = getNodeIndent(prevToken); + const indent = ( + prevToken.loc.start.line === node.loc.start.line + || isRightInLogicalExp(node) + || isAlternateInConditionalExp(node) + || isSecondOrSubsequentExpWithinDoExp(node) + ) ? 0 : indentSize; + checkNodesIndent(node, parentElementIndent + indent); + } + + function handleClosingElement(node) { + if (!node.parent) { + return; + } + const peerElementIndent = getNodeIndent(node.parent.openingElement || node.parent.openingFragment); + checkNodesIndent(node, peerElementIndent); + } + + function handleAttribute(node) { + if (!checkAttributes || (!node.value || node.value.type !== 'JSXExpressionContainer')) { + return; + } + const nameIndent = getNodeIndent(node.name); + const lastToken = getSourceCode(context).getLastToken(node.value); + const firstInLine = astUtil.getFirstNodeInLine(context, lastToken); + const indent = node.name.loc.start.line === firstInLine.loc.start.line ? 0 : nameIndent; + checkNodesIndent(firstInLine, indent); + } + + function handleLiteral(node) { + if (!node.parent) { + return; + } + if (node.parent.type !== 'JSXElement' && node.parent.type !== 'JSXFragment') { + return; + } + const parentNodeIndent = getNodeIndent(node.parent); + checkLiteralNodeIndent(node, parentNodeIndent + indentSize); + } + + return { + JSXOpeningElement: handleOpeningElement, + JSXOpeningFragment: handleOpeningElement, + JSXClosingElement: handleClosingElement, + JSXClosingFragment: handleClosingElement, + JSXAttribute: handleAttribute, + JSXExpressionContainer(node) { + if (!node.parent) { + return; + } + const parentNodeIndent = getNodeIndent(node.parent); + checkNodesIndent(node, parentNodeIndent + indentSize); + }, + Literal: handleLiteral, + JSXText: handleLiteral, + + ReturnStatement(node) { + if ( + !node.parent + || !jsxUtil.isJSX(node.argument) + ) { + return; + } + + let fn = node.parent; + while (fn && fn.type !== 'FunctionDeclaration' && fn.type !== 'FunctionExpression') { + fn = fn.parent; + } + if ( + !fn + || !jsxUtil.isReturningJSX(context, node, true) + ) { + return; + } + + const openingIndent = getNodeIndent(node); + const closingIndent = getNodeIndent(node, true); + + if (openingIndent !== closingIndent) { + report(node, openingIndent, closingIndent); + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-key.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-key.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2f3f9ef5d3d7db01b97d841c1cd26e8bfe32836b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-key.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-key.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-key.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-key.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..dc7cab4e6ebc730a950863a96feed588031b7f8a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-key.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-key.d.ts","sourceRoot":"","sources":["jsx-key.js"],"names":[],"mappings":"wBAmCW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-key.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-key.js new file mode 100644 index 0000000000000000000000000000000000000000..825d21f4bb22a70d87b32bfcdc531fd6cb88975c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-key.js @@ -0,0 +1,303 @@ +/** + * @fileoverview Report missing `key` props in iterators/collection literals. + * @author Ben Mosher + */ + +'use strict'; + +const hasProp = require('jsx-ast-utils/hasProp'); +const propName = require('jsx-ast-utils/propName'); +const values = require('object.values'); +const docsUrl = require('../util/docsUrl'); +const pragmaUtil = require('../util/pragma'); +const report = require('../util/report'); +const astUtil = require('../util/ast'); +const getText = require('../util/eslint').getText; + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const defaultOptions = { + checkFragmentShorthand: false, + checkKeyMustBeforeSpread: false, + warnOnDuplicates: false, +}; + +const messages = { + missingIterKey: 'Missing "key" prop for element in iterator', + missingIterKeyUsePrag: 'Missing "key" prop for element in iterator. Shorthand fragment syntax does not support providing keys. Use {{reactPrag}}.{{fragPrag}} instead', + missingArrayKey: 'Missing "key" prop for element in array', + missingArrayKeyUsePrag: 'Missing "key" prop for element in array. Shorthand fragment syntax does not support providing keys. Use {{reactPrag}}.{{fragPrag}} instead', + keyBeforeSpread: '`key` prop must be placed before any `{...spread}, to avoid conflicting with React’s new JSX transform: https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html`', + nonUniqueKeys: '`key` prop must be unique', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow missing `key` props in iterators/collection literals', + category: 'Possible Errors', + recommended: true, + url: docsUrl('jsx-key'), + }, + + messages, + + schema: [{ + type: 'object', + properties: { + checkFragmentShorthand: { + type: 'boolean', + default: defaultOptions.checkFragmentShorthand, + }, + checkKeyMustBeforeSpread: { + type: 'boolean', + default: defaultOptions.checkKeyMustBeforeSpread, + }, + warnOnDuplicates: { + type: 'boolean', + default: defaultOptions.warnOnDuplicates, + }, + }, + additionalProperties: false, + }], + }, + + create(context) { + const options = Object.assign({}, defaultOptions, context.options[0]); + const checkFragmentShorthand = options.checkFragmentShorthand; + const checkKeyMustBeforeSpread = options.checkKeyMustBeforeSpread; + const warnOnDuplicates = options.warnOnDuplicates; + const reactPragma = pragmaUtil.getFromContext(context); + const fragmentPragma = pragmaUtil.getFragmentFromContext(context); + + function isKeyAfterSpread(attributes) { + let hasFoundSpread = false; + return attributes.some((attribute) => { + if (attribute.type === 'JSXSpreadAttribute') { + hasFoundSpread = true; + return false; + } + if (attribute.type !== 'JSXAttribute') { + return false; + } + return hasFoundSpread && propName(attribute) === 'key'; + }); + } + + function checkIteratorElement(node) { + if (node.type === 'JSXElement') { + if (!hasProp(node.openingElement.attributes, 'key')) { + report(context, messages.missingIterKey, 'missingIterKey', { node }); + } else { + const attrs = node.openingElement.attributes; + + if (checkKeyMustBeforeSpread && isKeyAfterSpread(attrs)) { + report(context, messages.keyBeforeSpread, 'keyBeforeSpread', { node }); + } + } + } else if (checkFragmentShorthand && node.type === 'JSXFragment') { + report(context, messages.missingIterKeyUsePrag, 'missingIterKeyUsePrag', { + node, + data: { + reactPrag: reactPragma, + fragPrag: fragmentPragma, + }, + }); + } + } + + function getReturnStatements(node) { + const returnStatements = arguments[1] || []; + if (node.type === 'IfStatement') { + if (node.consequent) { + getReturnStatements(node.consequent, returnStatements); + } + if (node.alternate) { + getReturnStatements(node.alternate, returnStatements); + } + } else if (node.type === 'ReturnStatement') { + returnStatements.push(node); + } else if (Array.isArray(node.body)) { + node.body.forEach((item) => { + if (item.type === 'IfStatement') { + getReturnStatements(item, returnStatements); + } + + if (item.type === 'ReturnStatement') { + returnStatements.push(item); + } + }); + } + + return returnStatements; + } + + /** + * Checks if the given node is a function expression or arrow function, + * and checks if there is a missing key prop in return statement's arguments + * @param {ASTNode} node + */ + function checkFunctionsBlockStatement(node) { + if (astUtil.isFunctionLikeExpression(node)) { + if (node.body.type === 'BlockStatement') { + getReturnStatements(node.body) + .filter((returnStatement) => returnStatement && returnStatement.argument) + .forEach((returnStatement) => { + checkIteratorElement(returnStatement.argument); + }); + } + } + } + + /** + * Checks if the given node is an arrow function that has an JSX Element or JSX Fragment in its body, + * and the JSX is missing a key prop + * @param {ASTNode} node + */ + function checkArrowFunctionWithJSX(node) { + const isArrFn = node && node.type === 'ArrowFunctionExpression'; + const shouldCheckNode = (n) => n && (n.type === 'JSXElement' || n.type === 'JSXFragment'); + if (isArrFn && shouldCheckNode(node.body)) { + checkIteratorElement(node.body); + } + if (node.body.type === 'ConditionalExpression') { + if (shouldCheckNode(node.body.consequent)) { + checkIteratorElement(node.body.consequent); + } + if (shouldCheckNode(node.body.alternate)) { + checkIteratorElement(node.body.alternate); + } + } else if (node.body.type === 'LogicalExpression' && shouldCheckNode(node.body.right)) { + checkIteratorElement(node.body.right); + } + } + + const childrenToArraySelector = `:matches( + CallExpression + [callee.object.object.name=${reactPragma}] + [callee.object.property.name=Children] + [callee.property.name=toArray], + CallExpression + [callee.object.name=Children] + [callee.property.name=toArray] + )`.replace(/\s/g, ''); + let isWithinChildrenToArray = false; + + const seen = new WeakSet(); + + return { + [childrenToArraySelector]() { + isWithinChildrenToArray = true; + }, + + [`${childrenToArraySelector}:exit`]() { + isWithinChildrenToArray = false; + }, + + 'ArrayExpression, JSXElement > JSXElement'(node) { + if (isWithinChildrenToArray) { + return; + } + + const jsx = (node.type === 'ArrayExpression' ? node.elements : node.parent.children).filter((x) => x && x.type === 'JSXElement'); + if (jsx.length === 0) { + return; + } + + const map = {}; + jsx.forEach((element) => { + const attrs = element.openingElement.attributes; + const keys = attrs.filter((x) => x.name && x.name.name === 'key'); + + if (keys.length === 0) { + if (node.type === 'ArrayExpression') { + report(context, messages.missingArrayKey, 'missingArrayKey', { + node: element, + }); + } + } else { + keys.forEach((attr) => { + const value = getText(context, attr.value); + if (!map[value]) { map[value] = []; } + map[value].push(attr); + + if (checkKeyMustBeforeSpread && isKeyAfterSpread(attrs)) { + report(context, messages.keyBeforeSpread, 'keyBeforeSpread', { + node: node.type === 'ArrayExpression' ? node : node.parent, + }); + } + }); + } + }); + + if (warnOnDuplicates) { + values(map).filter((v) => v.length > 1).forEach((v) => { + v.forEach((n) => { + if (!seen.has(n)) { + seen.add(n); + report(context, messages.nonUniqueKeys, 'nonUniqueKeys', { + node: n, + }); + } + }); + }); + } + }, + + JSXFragment(node) { + if (!checkFragmentShorthand || isWithinChildrenToArray) { + return; + } + + if (node.parent.type === 'ArrayExpression') { + report(context, messages.missingArrayKeyUsePrag, 'missingArrayKeyUsePrag', { + node, + data: { + reactPrag: reactPragma, + fragPrag: fragmentPragma, + }, + }); + } + }, + + // Array.prototype.map + // eslint-disable-next-line no-multi-str + 'CallExpression[callee.type="MemberExpression"][callee.property.name="map"],\ + CallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"],\ + OptionalCallExpression[callee.type="MemberExpression"][callee.property.name="map"],\ + OptionalCallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"]'(node) { + if (isWithinChildrenToArray) { + return; + } + + const fn = node.arguments.length > 0 && node.arguments[0]; + if (!fn || !astUtil.isFunctionLikeExpression(fn)) { + return; + } + + checkArrowFunctionWithJSX(fn); + + checkFunctionsBlockStatement(fn); + }, + + // Array.from + 'CallExpression[callee.type="MemberExpression"][callee.property.name="from"]'(node) { + if (isWithinChildrenToArray) { + return; + } + + const fn = node.arguments.length > 1 && node.arguments[1]; + if (!astUtil.isFunctionLikeExpression(fn)) { + return; + } + + checkArrowFunctionWithJSX(fn); + + checkFunctionsBlockStatement(fn); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0823c275b6780614f67be4783a3dbb0bbf0cc06a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-max-depth.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..bfec794cdf21fdf8ce1f399d11a46aa674a3bd3c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-max-depth.d.ts","sourceRoot":"","sources":["jsx-max-depth.js"],"names":[],"mappings":"wBAsBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js new file mode 100644 index 0000000000000000000000000000000000000000..12625fa704626dacfc590b9ce51fc037d1798688 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js @@ -0,0 +1,162 @@ +/** + * @fileoverview Validate JSX maximum depth + * @author Chris + */ + +'use strict'; + +const has = require('hasown'); +const includes = require('array-includes'); +const variableUtil = require('../util/variable'); +const jsxUtil = require('../util/jsx'); +const docsUrl = require('../util/docsUrl'); +const reportC = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + wrongDepth: 'Expected the depth of nested jsx elements to be <= {{needed}}, but found {{found}}.', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce JSX maximum depth', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-max-depth'), + }, + + messages, + + schema: [ + { + type: 'object', + properties: { + max: { + type: 'integer', + minimum: 0, + }, + }, + additionalProperties: false, + }, + ], + }, + create(context) { + const DEFAULT_DEPTH = 2; + + const option = context.options[0] || {}; + const maxDepth = has(option, 'max') ? option.max : DEFAULT_DEPTH; + + function isExpression(node) { + return node.type === 'JSXExpressionContainer'; + } + + function hasJSX(node) { + return jsxUtil.isJSX(node) || (isExpression(node) && jsxUtil.isJSX(node.expression)); + } + + function isLeaf(node) { + const children = node.children; + + return !children || children.length === 0 || !children.some(hasJSX); + } + + function getDepth(node) { + let count = 0; + + while (jsxUtil.isJSX(node.parent) || isExpression(node.parent)) { + node = node.parent; + if (jsxUtil.isJSX(node)) { + count += 1; + } + } + + return count; + } + + function report(node, depth) { + reportC(context, messages.wrongDepth, 'wrongDepth', { + node, + data: { + found: depth, + needed: maxDepth, + }, + }); + } + + function findJSXElementOrFragment(startNode, name, previousReferences) { + function find(refs, prevRefs) { + for (let i = refs.length - 1; i >= 0; i--) { + if (typeof refs[i].writeExpr !== 'undefined') { + const writeExpr = refs[i].writeExpr; + + return (jsxUtil.isJSX(writeExpr) + && writeExpr) + || ((writeExpr && writeExpr.type === 'Identifier') + && findJSXElementOrFragment(startNode, writeExpr.name, prevRefs)); + } + } + + return null; + } + + const variable = variableUtil.getVariableFromContext(context, startNode, name); + if (variable && variable.references) { + const containDuplicates = previousReferences.some((ref) => includes(variable.references, ref)); + + // Prevent getting stuck in circular references + if (containDuplicates) { + return false; + } + + return find(variable.references, previousReferences.concat(variable.references)); + } + + return false; + } + + function checkDescendant(baseDepth, children) { + baseDepth += 1; + (children || []).filter((node) => hasJSX(node)).forEach((node) => { + if (baseDepth > maxDepth) { + report(node, baseDepth); + } else if (!isLeaf(node)) { + checkDescendant(baseDepth, node.children); + } + }); + } + + function handleJSX(node) { + if (!isLeaf(node)) { + return; + } + + const depth = getDepth(node); + if (depth > maxDepth) { + report(node, depth); + } + } + + return { + JSXElement: handleJSX, + JSXFragment: handleJSX, + + JSXExpressionContainer(node) { + if (node.expression.type !== 'Identifier') { + return; + } + + const element = findJSXElementOrFragment(node, node.expression.name, []); + + if (element) { + const baseDepth = getDepth(node); + checkDescendant(baseDepth, element.children); + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-max-props-per-line.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-max-props-per-line.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..95f6832208493114286b888a9c81f98ff0c2a5bc --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-max-props-per-line.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-max-props-per-line.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-max-props-per-line.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-max-props-per-line.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..33e539a6842aefd7608790144cc4cf053c515abd --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-max-props-per-line.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-max-props-per-line.d.ts","sourceRoot":"","sources":["jsx-max-props-per-line.js"],"names":[],"mappings":"wBA0BW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-max-props-per-line.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-max-props-per-line.js new file mode 100644 index 0000000000000000000000000000000000000000..eebf7f0f33df7449183eaf1d73a1cb14174cc717 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-max-props-per-line.js @@ -0,0 +1,155 @@ +/** + * @fileoverview Limit maximum of props on a single line in JSX + * @author Yannick Croissant + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const getText = require('../util/eslint').getText; +const report = require('../util/report'); + +function getPropName(context, propNode) { + if (propNode.type === 'JSXSpreadAttribute') { + return getText(context, propNode.argument); + } + return propNode.name.name; +} + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + newLine: 'Prop `{{prop}}` must be placed on a new line', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce maximum of props on a single line in JSX', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-max-props-per-line'), + }, + fixable: 'code', + + messages, + + schema: [{ + anyOf: [{ + type: 'object', + properties: { + maximum: { + type: 'object', + properties: { + single: { + type: 'integer', + minimum: 1, + }, + multi: { + type: 'integer', + minimum: 1, + }, + }, + }, + }, + additionalProperties: false, + }, { + type: 'object', + properties: { + maximum: { + type: 'number', + minimum: 1, + }, + when: { + type: 'string', + enum: ['always', 'multiline'], + }, + }, + additionalProperties: false, + }], + }], + }, + + create(context) { + const configuration = context.options[0] || {}; + const maximum = configuration.maximum || 1; + + const maxConfig = typeof maximum === 'number' + ? { + single: configuration.when === 'multiline' ? Infinity : maximum, + multi: maximum, + } + : { + single: maximum.single || Infinity, + multi: maximum.multi || Infinity, + }; + + function generateFixFunction(line, max) { + const output = []; + const front = line[0].range[0]; + const back = line[line.length - 1].range[1]; + + for (let i = 0; i < line.length; i += max) { + const nodes = line.slice(i, i + max); + output.push(nodes.reduce((prev, curr) => { + if (prev === '') { + return getText(context, curr); + } + return `${prev} ${getText(context, curr)}`; + }, '')); + } + + const code = output.join('\n'); + + return function fix(fixer) { + return fixer.replaceTextRange([front, back], code); + }; + } + + return { + JSXOpeningElement(node) { + if (!node.attributes.length) { + return; + } + + const isSingleLineTag = node.loc.start.line === node.loc.end.line; + + if ((isSingleLineTag ? maxConfig.single : maxConfig.multi) === Infinity) { + return; + } + + const firstProp = node.attributes[0]; + const linePartitionedProps = [[firstProp]]; + + node.attributes.reduce((last, decl) => { + if (last.loc.end.line === decl.loc.start.line) { + linePartitionedProps[linePartitionedProps.length - 1].push(decl); + } else { + linePartitionedProps.push([decl]); + } + return decl; + }); + + linePartitionedProps.forEach((propsInLine) => { + const maxPropsCountPerLine = isSingleLineTag && propsInLine[0].loc.start.line === node.loc.start.line + ? maxConfig.single + : maxConfig.multi; + + if (propsInLine.length > maxPropsCountPerLine) { + const name = getPropName(context, propsInLine[maxPropsCountPerLine]); + report(context, messages.newLine, 'newLine', { + node: propsInLine[maxPropsCountPerLine], + data: { + prop: name, + }, + fix: generateFixFunction(propsInLine, maxPropsCountPerLine), + }); + } + }); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-newline.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-newline.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..7a22a097ad2ae3e2ab5d4ff7fe1c5b928e1f698c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-newline.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-newline.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-newline.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-newline.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..cc0251dd9bb0ca76aa9172de1653ad1b7a4456ae --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-newline.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-newline.d.ts","sourceRoot":"","sources":["jsx-newline.js"],"names":[],"mappings":"wBA0BW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-newline.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-newline.js new file mode 100644 index 0000000000000000000000000000000000000000..7fd395c72fe81f9566731b1f4465972f961ca5e4 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-newline.js @@ -0,0 +1,166 @@ +/** + * @fileoverview Require or prevent a new line after jsx elements and expressions. + * @author Johnny Zabala + * @author Joseph Stiles + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const getText = require('../util/eslint').getText; +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + require: 'JSX element should start in a new line', + prevent: 'JSX element should not start in a new line', + allowMultilines: 'Multiline JSX elements should start in a new line', +}; + +function isMultilined(node) { + return node && node.loc.start.line !== node.loc.end.line; +} + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Require or prevent a new line after jsx elements and expressions.', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-newline'), + }, + fixable: 'code', + + messages, + schema: [ + { + type: 'object', + properties: { + prevent: { + default: false, + type: 'boolean', + }, + allowMultilines: { + default: false, + type: 'boolean', + }, + }, + additionalProperties: false, + if: { + properties: { + allowMultilines: { + const: true, + }, + }, + }, + then: { + properties: { + prevent: { + const: true, + }, + }, + required: [ + 'prevent', + ], + }, + }, + ], + }, + create(context) { + const jsxElementParents = new Set(); + + function isBlockCommentInCurlyBraces(element) { + const elementRawValue = getText(context, element); + return /^\s*{\/\*/.test(elementRawValue); + } + + function isNonBlockComment(element) { + return !isBlockCommentInCurlyBraces(element) && (element.type === 'JSXElement' || element.type === 'JSXExpressionContainer'); + } + + return { + 'Program:exit'() { + jsxElementParents.forEach((parent) => { + parent.children.forEach((element, index, elements) => { + if (element.type === 'JSXElement' || element.type === 'JSXExpressionContainer') { + const configuration = context.options[0] || {}; + const prevent = configuration.prevent || false; + const allowMultilines = configuration.allowMultilines || false; + + const firstAdjacentSibling = elements[index + 1]; + const secondAdjacentSibling = elements[index + 2]; + + const hasSibling = firstAdjacentSibling + && secondAdjacentSibling + && (firstAdjacentSibling.type === 'Literal' || firstAdjacentSibling.type === 'JSXText'); + + if (!hasSibling) return; + + // Check adjacent sibling has the proper amount of newlines + const isWithoutNewLine = !/\n\s*\n/.test(firstAdjacentSibling.value); + + if (isBlockCommentInCurlyBraces(element)) return; + if ( + allowMultilines + && ( + isMultilined(element) + || isMultilined(elements.slice(index + 2).find(isNonBlockComment)) + ) + ) { + if (!isWithoutNewLine) return; + + const regex = /(\n)(?!.*\1)/g; + const replacement = '\n\n'; + const messageId = 'allowMultilines'; + + report(context, messages[messageId], messageId, { + node: secondAdjacentSibling, + fix(fixer) { + return fixer.replaceText( + firstAdjacentSibling, + getText(context, firstAdjacentSibling).replace(regex, replacement) + ); + }, + }); + + return; + } + + if (isWithoutNewLine === prevent) return; + + const messageId = prevent + ? 'prevent' + : 'require'; + + const regex = prevent + ? /(\n\n)(?!.*\1)/g + : /(\n)(?!.*\1)/g; + + const replacement = prevent + ? '\n' + : '\n\n'; + + report(context, messages[messageId], messageId, { + node: secondAdjacentSibling, + fix(fixer) { + return fixer.replaceText( + firstAdjacentSibling, + // double or remove the last newline + getText(context, firstAdjacentSibling).replace(regex, replacement) + ); + }, + }); + } + }); + }); + }, + ':matches(JSXElement, JSXFragment) > :matches(JSXElement, JSXExpressionContainer)': (node) => { + jsxElementParents.add(node.parent); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-bind.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-bind.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..29f9fa349c78ade1aa710c6b49fab943079b85ab --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-bind.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-no-bind.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-bind.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-bind.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..d0ebfb11a43ff6b0c891ad2654b68befa547c44c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-bind.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-no-bind.d.ts","sourceRoot":"","sources":["jsx-no-bind.js"],"names":[],"mappings":"wBA2BW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-bind.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-bind.js new file mode 100644 index 0000000000000000000000000000000000000000..2e8aa687dc1def4061e973ae751e2d6ec49d44ac --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-bind.js @@ -0,0 +1,209 @@ +/** + * @fileoverview Prevents usage of Function.prototype.bind and arrow functions + * in React component props. + * @author Daniel Lo Nigro + * @author Jacky Ho + */ + +'use strict'; + +const propName = require('jsx-ast-utils/propName'); +const docsUrl = require('../util/docsUrl'); +const astUtil = require('../util/ast'); +const jsxUtil = require('../util/jsx'); +const report = require('../util/report'); +const getAncestors = require('../util/eslint').getAncestors; + +// ----------------------------------------------------------------------------- +// Rule Definition +// ----------------------------------------------------------------------------- + +const messages = { + bindCall: 'JSX props should not use .bind()', + arrowFunc: 'JSX props should not use arrow functions', + bindExpression: 'JSX props should not use ::', + func: 'JSX props should not use functions', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow `.bind()` or arrow functions in JSX props', + category: 'Best Practices', + recommended: false, + url: docsUrl('jsx-no-bind'), + }, + + messages, + + schema: [{ + type: 'object', + properties: { + allowArrowFunctions: { + default: false, + type: 'boolean', + }, + allowBind: { + default: false, + type: 'boolean', + }, + allowFunctions: { + default: false, + type: 'boolean', + }, + ignoreRefs: { + default: false, + type: 'boolean', + }, + ignoreDOMComponents: { + default: false, + type: 'boolean', + }, + }, + additionalProperties: false, + }], + }, + + create(context) { + const configuration = context.options[0] || {}; + + // Keep track of all the variable names pointing to a bind call, + // bind expression or an arrow function in different block statements + const blockVariableNameSets = {}; + + /** + * @param {string | number} blockStart + */ + function setBlockVariableNameSet(blockStart) { + blockVariableNameSets[blockStart] = { + arrowFunc: new Set(), + bindCall: new Set(), + bindExpression: new Set(), + func: new Set(), + }; + } + + function getNodeViolationType(node) { + if ( + !configuration.allowBind + && astUtil.isCallExpression(node) + && node.callee.type === 'MemberExpression' + && node.callee.property.type === 'Identifier' + && node.callee.property.name === 'bind' + ) { + return 'bindCall'; + } + if (node.type === 'ConditionalExpression') { + return getNodeViolationType(node.test) + || getNodeViolationType(node.consequent) + || getNodeViolationType(node.alternate); + } + if (!configuration.allowArrowFunctions && node.type === 'ArrowFunctionExpression') { + return 'arrowFunc'; + } + if ( + !configuration.allowFunctions + && (node.type === 'FunctionExpression' || node.type === 'FunctionDeclaration') + ) { + return 'func'; + } + if (!configuration.allowBind && node.type === 'BindExpression') { + return 'bindExpression'; + } + + return null; + } + + /** + * @param {string | number} violationType + * @param {unknown} variableName + * @param {string | number} blockStart + */ + function addVariableNameToSet(violationType, variableName, blockStart) { + blockVariableNameSets[blockStart][violationType].add(variableName); + } + + function getBlockStatementAncestors(node) { + return getAncestors(context, node).filter( + (ancestor) => ancestor.type === 'BlockStatement' + ).reverse(); + } + + function reportVariableViolation(node, name, blockStart) { + const blockSets = blockVariableNameSets[blockStart]; + const violationTypes = Object.keys(blockSets); + + return violationTypes.find((type) => { + if (blockSets[type].has(name)) { + report(context, messages[type], type, { + node, + }); + return true; + } + + return false; + }); + } + + function findVariableViolation(node, name) { + getBlockStatementAncestors(node).find( + (block) => reportVariableViolation(node, name, block.range[0]) + ); + } + + return { + BlockStatement(node) { + setBlockVariableNameSet(node.range[0]); + }, + + FunctionDeclaration(node) { + const blockAncestors = getBlockStatementAncestors(node); + const variableViolationType = getNodeViolationType(node); + + if (blockAncestors.length > 0 && variableViolationType) { + addVariableNameToSet(variableViolationType, node.id.name, blockAncestors[0].range[0]); + } + }, + + VariableDeclarator(node) { + if (!node.init) { + return; + } + const blockAncestors = getBlockStatementAncestors(node); + const variableViolationType = getNodeViolationType(node.init); + + if ( + blockAncestors.length > 0 + && variableViolationType + && 'kind' in node.parent + && node.parent.kind === 'const' // only support const right now + ) { + addVariableNameToSet(variableViolationType, 'name' in node.id ? node.id.name : undefined, blockAncestors[0].range[0]); + } + }, + + JSXAttribute(node) { + const isRef = configuration.ignoreRefs && propName(node) === 'ref'; + if (isRef || !node.value || !node.value.expression) { + return; + } + const isDOMComponent = jsxUtil.isDOMComponent(node.parent); + if (configuration.ignoreDOMComponents && isDOMComponent) { + return; + } + const valueNode = node.value.expression; + const valueNodeType = valueNode.type; + const nodeViolationType = getNodeViolationType(valueNode); + + if (valueNodeType === 'Identifier') { + findVariableViolation(node, valueNode.name); + } else if (nodeViolationType) { + report(context, messages[nodeViolationType], nodeViolationType, { + node, + }); + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-comment-textnodes.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-comment-textnodes.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f98c89fd03a168cd04c858d941d478f772dbc540 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-comment-textnodes.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-no-comment-textnodes.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-comment-textnodes.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-comment-textnodes.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..decc84e458b06b52951d7ccb8571644f9ee3ec76 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-comment-textnodes.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-no-comment-textnodes.d.ts","sourceRoot":"","sources":["jsx-no-comment-textnodes.js"],"names":[],"mappings":"wBAyCW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-comment-textnodes.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-comment-textnodes.js new file mode 100644 index 0000000000000000000000000000000000000000..de4d288c37ced64c3399bcd4b95e1178734b4fa2 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-comment-textnodes.js @@ -0,0 +1,71 @@ +/** + * @fileoverview Comments inside children section of tag should be placed inside braces. + * @author Ben Vinegar + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const getText = require('../util/eslint').getText; +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + putCommentInBraces: 'Comments inside children section of tag should be placed inside braces', +}; + +/** + * @param {Context} context + * @param {ASTNode} node + * @returns {void} + */ +function checkText(context, node) { + // since babel-eslint has the wrong node.raw, we'll get the source text + const rawValue = getText(context, node); + if (/^\s*\/(\/|\*)/m.test(rawValue)) { + // inside component, e.g.
literal
+ if ( + node.parent.type !== 'JSXAttribute' + && node.parent.type !== 'JSXExpressionContainer' + && node.parent.type.indexOf('JSX') !== -1 + ) { + report(context, messages.putCommentInBraces, 'putCommentInBraces', { + node, + }); + } + } +} + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow comments from being inserted as text nodes', + category: 'Possible Errors', + recommended: true, + url: docsUrl('jsx-no-comment-textnodes'), + }, + + messages, + + schema: [], + }, + + create(context) { + // -------------------------------------------------------------------------- + // Public + // -------------------------------------------------------------------------- + + return { + Literal(node) { + checkText(context, node); + }, + JSXText(node) { + checkText(context, node); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..02b0aca6347765aae94e1761c0edc69cbf67157a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-no-constructed-context-values.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..aecb457de37df5822fdb4ff3bbe171973787d54d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-no-constructed-context-values.d.ts","sourceRoot":"","sources":["jsx-no-constructed-context-values.js"],"names":[],"mappings":"wBA2KW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js new file mode 100644 index 0000000000000000000000000000000000000000..19af33125321849d25702827e718ead4924037d9 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js @@ -0,0 +1,272 @@ +/** + * @fileoverview Prevents jsx context provider values from taking values that + * will cause needless rerenders. + * @author Dylan Oshima + */ + +'use strict'; + +const Components = require('../util/Components'); +const docsUrl = require('../util/docsUrl'); +const getScope = require('../util/eslint').getScope; +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Helpers +// ------------------------------------------------------------------------------ + +// Recursively checks if an element is a construction. +// A construction is a variable that changes identity every render. +function isConstruction(node, callScope) { + switch (node.type) { + case 'Literal': + if (node.regex != null) { + return { type: 'regular expression', node }; + } + return null; + case 'Identifier': { + const variableScoping = callScope.set.get(node.name); + + if (variableScoping == null || variableScoping.defs == null) { + // If it's not in scope, we don't care. + return null; // Handled + } + + // Gets the last variable identity + const variableDefs = variableScoping.defs; + const def = variableDefs[variableDefs.length - 1]; + if (def != null + && def.type !== 'Variable' + && def.type !== 'FunctionName' + ) { + // Parameter or an unusual pattern. Bail out. + return null; // Unhandled + } + + if (def.node.type === 'FunctionDeclaration') { + return { type: 'function declaration', node: def.node, usage: node }; + } + + const init = def.node.init; + if (init == null) { + return null; + } + + const initConstruction = isConstruction(init, callScope); + if (initConstruction == null) { + return null; + } + + return { + type: initConstruction.type, + node: initConstruction.node, + usage: node, + }; + } + case 'ObjectExpression': + // Any object initialized inline will create a new identity + return { type: 'object', node }; + case 'ArrayExpression': + return { type: 'array', node }; + case 'ArrowFunctionExpression': + case 'FunctionExpression': + // Functions that are initialized inline will have a new identity + return { type: 'function expression', node }; + case 'ClassExpression': + return { type: 'class expression', node }; + case 'NewExpression': + // `const a = new SomeClass();` is a construction + return { type: 'new expression', node }; + case 'ConditionalExpression': + return (isConstruction(node.consequent, callScope) + || isConstruction(node.alternate, callScope) + ); + case 'LogicalExpression': + return (isConstruction(node.left, callScope) + || isConstruction(node.right, callScope) + ); + case 'MemberExpression': { + const objConstruction = isConstruction(node.object, callScope); + if (objConstruction == null) { + return null; + } + return { + type: objConstruction.type, + node: objConstruction.node, + usage: node.object, + }; + } + case 'JSXFragment': + return { type: 'JSX fragment', node }; + case 'JSXElement': + return { type: 'JSX element', node }; + case 'AssignmentExpression': { + const construct = isConstruction(node.right, callScope); + if (construct != null) { + return { + type: 'assignment expression', + node: construct.node, + usage: node, + }; + } + return null; + } + case 'TypeCastExpression': + case 'TSAsExpression': + return isConstruction(node.expression, callScope); + default: + return null; + } +} + +function isReactContext(context, node) { + let scope = getScope(context, node); + let variableScoping = null; + const contextName = node.name; + + while (scope && !variableScoping) { // Walk up the scope chain to find the variable + variableScoping = scope.set.get(contextName); + scope = scope.upper; + } + + if (!variableScoping) { // Context was not found in scope + return false; + } + + // Get the variable's definition + const def = variableScoping.defs[0]; + + if (!def || def.node.type !== 'VariableDeclarator') { + return false; + } + + const init = def.node.init; // Variable initializer + + const isCreateContext = init + && init.type === 'CallExpression' + && ( + ( + init.callee.type === 'Identifier' + && init.callee.name === 'createContext' + ) || ( + init.callee.type === 'MemberExpression' + && init.callee.object.name === 'React' + && init.callee.property.name === 'createContext' + ) + ); + + return isCreateContext; +} + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + withIdentifierMsg: "The '{{variableName}}' {{type}} (at line {{nodeLine}}) passed as the value prop to the Context provider (at line {{usageLine}}) changes every render. To fix this consider wrapping it in a useMemo hook.", + withIdentifierMsgFunc: "The '{{variableName}}' {{type}} (at line {{nodeLine}}) passed as the value prop to the Context provider (at line {{usageLine}}) changes every render. To fix this consider wrapping it in a useCallback hook.", + defaultMsg: 'The {{type}} passed as the value prop to the Context provider (at line {{nodeLine}}) changes every render. To fix this consider wrapping it in a useMemo hook.', + defaultMsgFunc: 'The {{type}} passed as the value prop to the Context provider (at line {{nodeLine}}) changes every render. To fix this consider wrapping it in a useCallback hook.', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallows JSX context provider values from taking values that will cause needless rerenders', + category: 'Best Practices', + recommended: false, + url: docsUrl('jsx-no-constructed-context-values'), + }, + messages, + schema: false, + }, + + // eslint-disable-next-line arrow-body-style + create: Components.detect((context, components, utils) => { + return { + JSXOpeningElement(node) { + const openingElementName = node.name; + + if (openingElementName.type === 'JSXMemberExpression') { + const isJSXContext = openingElementName.property.name === 'Provider'; + if (!isJSXContext) { + // Member is not Provider + return; + } + } else if (openingElementName.type === 'JSXIdentifier') { + const isJSXContext = isReactContext(context, openingElementName); + if (!isJSXContext) { + // Member is not context + return; + } + } else { + return; + } + + // Contexts can take in more than just a value prop + // so we need to iterate through all of them + const jsxValueAttribute = node.attributes.find( + (attribute) => attribute.type === 'JSXAttribute' && attribute.name.name === 'value' + ); + + if (jsxValueAttribute == null) { + // No value prop was passed + return; + } + + const valueNode = jsxValueAttribute.value; + if (!valueNode) { + // attribute is a boolean shorthand + return; + } + if (valueNode.type !== 'JSXExpressionContainer') { + // value could be a literal + return; + } + + const valueExpression = valueNode.expression; + const invocationScope = getScope(context, node); + + // Check if the value prop is a construction + const constructInfo = isConstruction(valueExpression, invocationScope); + if (constructInfo == null) { + return; + } + + if (!utils.getParentComponent(node)) { + return; + } + + // Report found error + const constructType = constructInfo.type; + const constructNode = constructInfo.node; + const constructUsage = constructInfo.usage; + const data = { + type: constructType, nodeLine: constructNode.loc.start.line, + }; + let messageId = 'defaultMsg'; + + // Variable passed to value prop + if (constructUsage != null) { + messageId = 'withIdentifierMsg'; + data.usageLine = constructUsage.loc.start.line; + data.variableName = constructUsage.name; + } + + // Type of expression + if ( + constructType === 'function expression' + || constructType === 'function declaration' + ) { + messageId += 'Func'; + } + + report(context, messages[messageId], messageId, { + node: constructNode, + data, + }); + }, + }; + }), +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-duplicate-props.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-duplicate-props.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..3aed37a19e888bb8fe7e55726d15e92d212a6912 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-duplicate-props.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-no-duplicate-props.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-duplicate-props.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-duplicate-props.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..c5f4015f94be48f07095d0b914cd4c586bf91b0c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-duplicate-props.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-no-duplicate-props.d.ts","sourceRoot":"","sources":["jsx-no-duplicate-props.js"],"names":[],"mappings":"wBAmBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-duplicate-props.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-duplicate-props.js new file mode 100644 index 0000000000000000000000000000000000000000..77de5bde51f68fe953e50a1b9809f51e50bf4fa0 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-duplicate-props.js @@ -0,0 +1,77 @@ +/** + * @fileoverview Enforce no duplicate props + * @author Markus Ånöstam + */ + +'use strict'; + +const has = require('hasown'); +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + noDuplicateProps: 'No duplicate props allowed', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow duplicate properties in JSX', + category: 'Possible Errors', + recommended: true, + url: docsUrl('jsx-no-duplicate-props'), + }, + + messages, + + schema: [{ + type: 'object', + properties: { + ignoreCase: { + type: 'boolean', + }, + }, + additionalProperties: false, + }], + }, + + create(context) { + const configuration = context.options[0] || {}; + const ignoreCase = configuration.ignoreCase || false; + + return { + JSXOpeningElement(node) { + const props = {}; + + node.attributes.forEach((decl) => { + if (decl.type === 'JSXSpreadAttribute') { + return; + } + + let name = decl.name.name; + + if (typeof name !== 'string') { + return; + } + + if (ignoreCase) { + name = name.toLowerCase(); + } + + if (has(props, name)) { + report(context, messages.noDuplicateProps, 'noDuplicateProps', { + node: decl, + }); + } else { + props[name] = 1; + } + }); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-leaked-render.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-leaked-render.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c4a81887b3a8c7cf6a48cc0720c287006bf9f2b3 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-leaked-render.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-no-leaked-render.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-leaked-render.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-leaked-render.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..8f1ca780adb5d94f084edb5289c57d10d3d17925 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-leaked-render.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-no-leaked-render.d.ts","sourceRoot":"","sources":["jsx-no-leaked-render.js"],"names":[],"mappings":"wBA+GW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-leaked-render.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-leaked-render.js new file mode 100644 index 0000000000000000000000000000000000000000..1e271b2a686a6e74917980cdb5e6da8eb5070250 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-leaked-render.js @@ -0,0 +1,204 @@ +/** + * @fileoverview Prevent problematic leaked values from being rendered + * @author Mario Beltrán + */ + +'use strict'; + +const find = require('es-iterator-helpers/Iterator.prototype.find'); +const from = require('es-iterator-helpers/Iterator.from'); + +const getText = require('../util/eslint').getText; +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); +const variableUtil = require('../util/variable'); +const testReactVersion = require('../util/version').testReactVersion; +const isParenthesized = require('../util/ast').isParenthesized; + +//------------------------------------------------------------------------------ +// Rule Definition +//------------------------------------------------------------------------------ + +const messages = { + noPotentialLeakedRender: 'Potential leaked value that might cause unintentionally rendered values or rendering crashes', +}; + +const COERCE_STRATEGY = 'coerce'; +const TERNARY_STRATEGY = 'ternary'; +const DEFAULT_VALID_STRATEGIES = [TERNARY_STRATEGY, COERCE_STRATEGY]; +const COERCE_VALID_LEFT_SIDE_EXPRESSIONS = ['UnaryExpression', 'BinaryExpression', 'CallExpression']; +const TERNARY_INVALID_ALTERNATE_VALUES = [undefined, null, false]; + +function trimLeftNode(node) { + // Remove double unary expression (boolean coercion), so we avoid trimming valid negations + if (node.type === 'UnaryExpression' && node.argument.type === 'UnaryExpression') { + return trimLeftNode(node.argument.argument); + } + + return node; +} + +function getIsCoerceValidNestedLogicalExpression(node) { + if (node.type === 'LogicalExpression') { + return getIsCoerceValidNestedLogicalExpression(node.left) && getIsCoerceValidNestedLogicalExpression(node.right); + } + + return COERCE_VALID_LEFT_SIDE_EXPRESSIONS.some((validExpression) => validExpression === node.type); +} + +function extractExpressionBetweenLogicalAnds(node) { + if (node.type !== 'LogicalExpression') return [node]; + if (node.operator !== '&&') return [node]; + return [].concat( + extractExpressionBetweenLogicalAnds(node.left), + extractExpressionBetweenLogicalAnds(node.right) + ); +} + +function ruleFixer(context, fixStrategy, fixer, reportedNode, leftNode, rightNode) { + const rightSideText = getText(context, rightNode); + + if (fixStrategy === COERCE_STRATEGY) { + const expressions = extractExpressionBetweenLogicalAnds(leftNode); + const newText = expressions.map((node) => { + let nodeText = getText(context, node); + if (isParenthesized(context, node)) { + nodeText = `(${nodeText})`; + } + if (node.parent && node.parent.type === 'ConditionalExpression' && node.parent.consequent.value === false) { + return `${getIsCoerceValidNestedLogicalExpression(node) ? '' : '!'}${nodeText}`; + } + return `${getIsCoerceValidNestedLogicalExpression(node) ? '' : '!!'}${nodeText}`; + }).join(' && '); + + if (rightNode.parent && rightNode.parent.type === 'ConditionalExpression' && rightNode.parent.consequent.value === false) { + const consequentVal = rightNode.parent.consequent.raw || rightNode.parent.consequent.name; + const alternateVal = rightNode.parent.alternate.raw || rightNode.parent.alternate.name; + if (rightNode.parent.test && rightNode.parent.test.type === 'LogicalExpression') { + return fixer.replaceText(reportedNode, `${newText} ? ${consequentVal} : ${alternateVal}`); + } + return fixer.replaceText(reportedNode, `${newText} && ${alternateVal}`); + } + + if (rightNode.type === 'ConditionalExpression' || rightNode.type === 'LogicalExpression') { + return fixer.replaceText(reportedNode, `${newText} && (${rightSideText})`); + } + if (rightNode.type === 'JSXElement') { + const rightSideTextLines = rightSideText.split('\n'); + if (rightSideTextLines.length > 1) { + const rightSideTextLastLine = rightSideTextLines[rightSideTextLines.length - 1]; + const indentSpacesStart = ' '.repeat(rightSideTextLastLine.search(/\S/)); + const indentSpacesClose = ' '.repeat(rightSideTextLastLine.search(/\S/) - 2); + return fixer.replaceText(reportedNode, `${newText} && (\n${indentSpacesStart}${rightSideText}\n${indentSpacesClose})`); + } + } + if (rightNode.type === 'Literal') { + return null; + } + return fixer.replaceText(reportedNode, `${newText} && ${rightSideText}`); + } + + if (fixStrategy === TERNARY_STRATEGY) { + let leftSideText = getText(context, trimLeftNode(leftNode)); + if (isParenthesized(context, leftNode)) { + leftSideText = `(${leftSideText})`; + } + return fixer.replaceText(reportedNode, `${leftSideText} ? ${rightSideText} : null`); + } + + throw new TypeError('Invalid value for "validStrategies" option'); +} + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow problematic leaked values from being rendered', + category: 'Possible Errors', + recommended: false, + url: docsUrl('jsx-no-leaked-render'), + }, + + messages, + + fixable: 'code', + schema: [ + { + type: 'object', + properties: { + validStrategies: { + type: 'array', + items: { + enum: [ + TERNARY_STRATEGY, + COERCE_STRATEGY, + ], + }, + uniqueItems: true, + default: DEFAULT_VALID_STRATEGIES, + }, + }, + additionalProperties: false, + }, + ], + }, + + create(context) { + const config = context.options[0] || {}; + const validStrategies = new Set(config.validStrategies || DEFAULT_VALID_STRATEGIES); + const fixStrategy = find(from(validStrategies), () => true); + + return { + 'JSXExpressionContainer > LogicalExpression[operator="&&"]'(node) { + const leftSide = node.left; + + const isCoerceValidLeftSide = COERCE_VALID_LEFT_SIDE_EXPRESSIONS + .some((validExpression) => validExpression === leftSide.type); + if (validStrategies.has(COERCE_STRATEGY)) { + if (isCoerceValidLeftSide || getIsCoerceValidNestedLogicalExpression(leftSide)) { + return; + } + const leftSideVar = variableUtil.getVariableFromContext(context, node, leftSide.name); + if (leftSideVar) { + const leftSideValue = leftSideVar.defs + && leftSideVar.defs.length + && leftSideVar.defs[0].node.init + && leftSideVar.defs[0].node.init.value; + if (typeof leftSideValue === 'boolean') { + return; + } + } + } + + if (testReactVersion(context, '>= 18') && leftSide.type === 'Literal' && leftSide.value === '') { + return; + } + report(context, messages.noPotentialLeakedRender, 'noPotentialLeakedRender', { + node, + fix(fixer) { + return ruleFixer(context, fixStrategy, fixer, node, leftSide, node.right); + }, + }); + }, + + 'JSXExpressionContainer > ConditionalExpression'(node) { + if (validStrategies.has(TERNARY_STRATEGY)) { + return; + } + + const isValidTernaryAlternate = TERNARY_INVALID_ALTERNATE_VALUES.indexOf(node.alternate.value) === -1; + const isJSXElementAlternate = node.alternate.type === 'JSXElement'; + if (isValidTernaryAlternate || isJSXElementAlternate) { + return; + } + + report(context, messages.noPotentialLeakedRender, 'noPotentialLeakedRender', { + node, + fix(fixer) { + return ruleFixer(context, fixStrategy, fixer, node, node.test, node.consequent); + }, + }); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-literals.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-literals.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..218459a8c468af6988bbce0023242552ddaaaf6e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-literals.d.ts @@ -0,0 +1,13 @@ +declare const _exports: RuleModule; +export = _exports; +export type RuleModule = import("eslint").Rule.RuleModule; +export type Config = { + type: "element"; +} & import("../../types/rules/jsx-no-literals").ElementConfigProperties & import("../../types/rules/jsx-no-literals").ElementOverrides; +export type RawConfig = import("../../types/rules/jsx-no-literals").RawElementConfig & import("../../types/rules/jsx-no-literals").RawElementOverrides; +export type ResolvedConfig = import("../../types/rules/jsx-no-literals").OverrideConfig | import("../../types/rules/jsx-no-literals").Config; +export type OverrideConfig = import("../../types/rules/jsx-no-literals").OverrideConfigProperties & import("../../types/rules/jsx-no-literals").ElementConfigProperties; +export type ElementConfig = { + type: "element"; +} & import("../../types/rules/jsx-no-literals").ElementConfigProperties; +//# sourceMappingURL=jsx-no-literals.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-literals.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-literals.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..50339a02ca66adfa2731a61f1e5b9882b3d7eb2c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-literals.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-no-literals.d.ts","sourceRoot":"","sources":["jsx-no-literals.js"],"names":[],"mappings":"wBAoJW,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-literals.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-literals.js new file mode 100644 index 0000000000000000000000000000000000000000..45c9a54c48214c1fc25b0155b5215f3d611abe65 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-literals.js @@ -0,0 +1,524 @@ +/** + * @fileoverview Prevent using string literals in React component definition + * @author Caleb Morris + * @author David Buchan-Swanson + */ + +'use strict'; + +const iterFrom = require('es-iterator-helpers/Iterator.from'); +const map = require('es-iterator-helpers/Iterator.prototype.map'); +const some = require('es-iterator-helpers/Iterator.prototype.some'); +const flatMap = require('es-iterator-helpers/Iterator.prototype.flatMap'); +const fromEntries = require('object.fromentries'); +const entries = require('object.entries'); + +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); +const getText = require('../util/eslint').getText; + +/** @typedef {import('eslint').Rule.RuleModule} RuleModule */ + +/** @typedef {import('../../types/rules/jsx-no-literals').Config} Config */ +/** @typedef {import('../../types/rules/jsx-no-literals').RawConfig} RawConfig */ +/** @typedef {import('../../types/rules/jsx-no-literals').ResolvedConfig} ResolvedConfig */ +/** @typedef {import('../../types/rules/jsx-no-literals').OverrideConfig} OverrideConfig */ +/** @typedef {import('../../types/rules/jsx-no-literals').ElementConfig} ElementConfig */ + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +/** + * @param {unknown} value + * @returns {string | unknown} + */ +function trimIfString(value) { + return typeof value === 'string' ? value.trim() : value; +} + +const reOverridableElement = /^[A-Z][\w.]*$/; +const reIsWhiteSpace = /^[\s]+$/; +const jsxElementTypes = new Set(['JSXElement', 'JSXFragment']); +const standardJSXNodeParentTypes = new Set(['JSXAttribute', 'JSXElement', 'JSXExpressionContainer', 'JSXFragment']); + +const messages = { + invalidPropValue: 'Invalid prop value: "{{text}}"', + invalidPropValueInElement: 'Invalid prop value: "{{text}}" in {{element}}', + noStringsInAttributes: 'Strings not allowed in attributes: "{{text}}"', + noStringsInAttributesInElement: 'Strings not allowed in attributes: "{{text}}" in {{element}}', + noStringsInJSX: 'Strings not allowed in JSX files: "{{text}}"', + noStringsInJSXInElement: 'Strings not allowed in JSX files: "{{text}}" in {{element}}', + literalNotInJSXExpression: 'Missing JSX expression container around literal string: "{{text}}"', + literalNotInJSXExpressionInElement: 'Missing JSX expression container around literal string: "{{text}}" in {{element}}', +}; + +/** @type {Exclude['properties']} */ +const commonPropertiesSchema = { + noStrings: { + type: 'boolean', + }, + allowedStrings: { + type: 'array', + uniqueItems: true, + items: { + type: 'string', + }, + }, + ignoreProps: { + type: 'boolean', + }, + noAttributeStrings: { + type: 'boolean', + }, +}; + +// eslint-disable-next-line valid-jsdoc +/** + * Normalizes the element portion of the config + * @param {RawConfig} config + * @returns {ElementConfig} + */ +function normalizeElementConfig(config) { + return { + type: 'element', + noStrings: !!config.noStrings, + allowedStrings: config.allowedStrings + ? new Set(map(iterFrom(config.allowedStrings), trimIfString)) + : new Set(), + ignoreProps: !!config.ignoreProps, + noAttributeStrings: !!config.noAttributeStrings, + }; +} + +// eslint-disable-next-line valid-jsdoc +/** + * Normalizes the config and applies default values to all config options + * @param {RawConfig} config + * @returns {Config} + */ +function normalizeConfig(config) { + /** @type {Config} */ + const normalizedConfig = Object.assign(normalizeElementConfig(config), { + elementOverrides: {}, + }); + + if (config.elementOverrides) { + normalizedConfig.elementOverrides = fromEntries( + flatMap( + iterFrom(entries(config.elementOverrides)), + (entry) => { + const elementName = entry[0]; + const rawElementConfig = entry[1]; + + if (!reOverridableElement.test(elementName)) { + return []; + } + + return [[ + elementName, + Object.assign(normalizeElementConfig(rawElementConfig), { + type: 'override', + name: elementName, + allowElement: !!rawElementConfig.allowElement, + applyToNestedElements: typeof rawElementConfig.applyToNestedElements === 'undefined' || !!rawElementConfig.applyToNestedElements, + }), + ]]; + } + ) + ); + } + + return normalizedConfig; +} + +const elementOverrides = { + type: 'object', + patternProperties: { + [reOverridableElement.source]: { + type: 'object', + properties: Object.assign( + { applyToNestedElements: { type: 'boolean' } }, + commonPropertiesSchema + ), + + }, + }, +}; + +/** @type {RuleModule} */ +module.exports = { + meta: /** @type {RuleModule['meta']} */ ({ + docs: { + description: 'Disallow usage of string literals in JSX', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-no-literals'), + }, + + messages, + + schema: [{ + type: 'object', + properties: Object.assign( + { elementOverrides }, + commonPropertiesSchema + ), + additionalProperties: false, + }], + }), + + create(context) { + /** @type {RawConfig} */ + const rawConfig = (context.options.length && context.options[0]) || {}; + const config = normalizeConfig(rawConfig); + + const hasElementOverrides = Object.keys(config.elementOverrides).length > 0; + + /** @type {Map} */ + const renamedImportMap = new Map(); + + /** + * Determines if the given expression is a require statement. Supports + * nested MemberExpresions. ie `require('foo').nested.property` + * @param {ASTNode} node + * @returns {boolean} + */ + function isRequireStatement(node) { + if (node.type === 'CallExpression') { + if (node.callee.type === 'Identifier') { + return node.callee.name === 'require'; + } + } + if (node.type === 'MemberExpression') { + return isRequireStatement(node.object); + } + + return false; + } + + /** @typedef {{ name: string, compoundName?: string }} ElementNameFragment */ + + /** + * Gets the name of the given JSX element. Supports nested + * JSXMemeberExpressions. ie `` + * @param {ASTNode} node + * @returns {ElementNameFragment | undefined} + */ + function getJSXElementName(node) { + if (node.openingElement.name.type === 'JSXIdentifier') { + const name = node.openingElement.name.name; + return { + name: renamedImportMap.get(name) || name, + compoundName: undefined, + }; + } + + /** @type {string[]} */ + const nameFragments = []; + + if (node.openingElement.name.type === 'JSXMemberExpression') { + /** @type {ASTNode} */ + let current = node.openingElement.name; + while (current.type === 'JSXMemberExpression') { + if (current.property.type === 'JSXIdentifier') { + nameFragments.unshift(current.property.name); + } + + current = current.object; + } + + if (current.type === 'JSXIdentifier') { + nameFragments.unshift(current.name); + + const rootFragment = nameFragments[0]; + if (rootFragment) { + const rootFragmentRenamed = renamedImportMap.get(rootFragment); + if (rootFragmentRenamed) { + nameFragments[0] = rootFragmentRenamed; + } + } + + const nameFragment = nameFragments[nameFragments.length - 1]; + if (nameFragment) { + return { + name: nameFragment, + compoundName: nameFragments.join('.'), + }; + } + } + } + } + + /** + * Gets all JSXElement ancestor nodes for the given node + * @param {ASTNode} node + * @returns {ASTNode[]} + */ + function getJSXElementAncestors(node) { + /** @type {ASTNode[]} */ + const ancestors = []; + + let current = node; + while (current) { + if (current.type === 'JSXElement') { + ancestors.push(current); + } + + current = current.parent; + } + + return ancestors; + } + + /** + * @param {ASTNode} node + * @returns {ASTNode} + */ + function getParentIgnoringBinaryExpressions(node) { + let current = node; + while (current.parent.type === 'BinaryExpression') { + current = current.parent; + } + return current.parent; + } + + /** + * @param {ASTNode} node + * @returns {{ parent: ASTNode, grandParent: ASTNode }} + */ + function getParentAndGrandParent(node) { + const parent = getParentIgnoringBinaryExpressions(node); + return { + parent, + grandParent: parent.parent, + }; + } + + /** + * @param {ASTNode} node + * @returns {boolean} + */ + function hasJSXElementParentOrGrandParent(node) { + const ancestors = getParentAndGrandParent(node); + return some(iterFrom([ancestors.parent, ancestors.grandParent]), (parent) => jsxElementTypes.has(parent.type)); + } + + // eslint-disable-next-line valid-jsdoc + /** + * Determines whether a given node's value and its immediate parent are + * viable text nodes that can/should be reported on + * @param {ASTNode} node + * @param {ResolvedConfig} resolvedConfig + * @returns {boolean} + */ + function isViableTextNode(node, resolvedConfig) { + const textValues = iterFrom([trimIfString(node.raw), trimIfString(node.value)]); + if (some(textValues, (value) => resolvedConfig.allowedStrings.has(value))) { + return false; + } + + const parent = getParentIgnoringBinaryExpressions(node); + + let isStandardJSXNode = false; + if (typeof node.value === 'string' && !reIsWhiteSpace.test(node.value) && standardJSXNodeParentTypes.has(parent.type)) { + if (resolvedConfig.noAttributeStrings) { + isStandardJSXNode = parent.type === 'JSXAttribute' || parent.type === 'JSXElement'; + } else { + isStandardJSXNode = parent.type !== 'JSXAttribute'; + } + } + + if (resolvedConfig.noStrings) { + return isStandardJSXNode; + } + + return isStandardJSXNode && parent.type !== 'JSXExpressionContainer'; + } + + // eslint-disable-next-line valid-jsdoc + /** + * Gets an override config for a given node. For any given node, we also + * need to traverse the ancestor tree to determine if an ancestor's config + * will also apply to the current node. + * @param {ASTNode} node + * @returns {OverrideConfig | undefined} + */ + function getOverrideConfig(node) { + if (!hasElementOverrides) { + return; + } + + const allAncestorElements = getJSXElementAncestors(node); + if (!allAncestorElements.length) { + return; + } + + for (const ancestorElement of allAncestorElements) { + const isClosestJSXAncestor = ancestorElement === allAncestorElements[0]; + + const ancestor = getJSXElementName(ancestorElement); + if (ancestor) { + if (ancestor.name) { + const ancestorElements = config.elementOverrides[ancestor.name]; + const ancestorConfig = ancestor.compoundName + ? config.elementOverrides[ancestor.compoundName] || ancestorElements + : ancestorElements; + + if (ancestorConfig) { + if (isClosestJSXAncestor || ancestorConfig.applyToNestedElements) { + return ancestorConfig; + } + } + } + } + } + } + + // eslint-disable-next-line valid-jsdoc + /** + * @param {ResolvedConfig} resolvedConfig + * @returns {boolean} + */ + function shouldAllowElement(resolvedConfig) { + return resolvedConfig.type === 'override' && 'allowElement' in resolvedConfig && !!resolvedConfig.allowElement; + } + + // eslint-disable-next-line valid-jsdoc + /** + * @param {boolean} ancestorIsJSXElement + * @param {ResolvedConfig} resolvedConfig + * @returns {string} + */ + function defaultMessageId(ancestorIsJSXElement, resolvedConfig) { + if (resolvedConfig.noAttributeStrings && !ancestorIsJSXElement) { + return resolvedConfig.type === 'override' ? 'noStringsInAttributesInElement' : 'noStringsInAttributes'; + } + + if (resolvedConfig.noStrings) { + return resolvedConfig.type === 'override' ? 'noStringsInJSXInElement' : 'noStringsInJSX'; + } + + return resolvedConfig.type === 'override' ? 'literalNotInJSXExpressionInElement' : 'literalNotInJSXExpression'; + } + + // eslint-disable-next-line valid-jsdoc + /** + * @param {ASTNode} node + * @param {string} messageId + * @param {ResolvedConfig} resolvedConfig + */ + function reportLiteralNode(node, messageId, resolvedConfig) { + report(context, messages[messageId], messageId, { + node, + data: { + text: getText(context, node).trim(), + element: resolvedConfig.type === 'override' && 'name' in resolvedConfig ? resolvedConfig.name : undefined, + }, + }); + } + + // -------------------------------------------------------------------------- + // Public + // -------------------------------------------------------------------------- + + return Object.assign(hasElementOverrides ? { + // Get renamed import local names mapped to their imported name + ImportDeclaration(node) { + node.specifiers + .filter((s) => s.type === 'ImportSpecifier') + .forEach((specifier) => { + renamedImportMap.set( + (specifier.local || specifier.imported).name, + specifier.imported.name + ); + }); + }, + + // Get renamed destructured local names mapped to their imported name + VariableDeclaration(node) { + node.declarations + .filter((d) => ( + d.type === 'VariableDeclarator' + && isRequireStatement(d.init) + && d.id.type === 'ObjectPattern' + )) + .forEach((declaration) => { + declaration.id.properties + .filter((property) => ( + property.type === 'Property' + && property.key.type === 'Identifier' + && property.value.type === 'Identifier' + )) + .forEach((property) => { + renamedImportMap.set(property.value.name, property.key.name); + }); + }); + }, + } : false, { + Literal(node) { + const resolvedConfig = getOverrideConfig(node) || config; + + const hasJSXParentOrGrandParent = hasJSXElementParentOrGrandParent(node); + if (hasJSXParentOrGrandParent && shouldAllowElement(resolvedConfig)) { + return; + } + + if (isViableTextNode(node, resolvedConfig)) { + if (hasJSXParentOrGrandParent || !config.ignoreProps) { + reportLiteralNode(node, defaultMessageId(hasJSXParentOrGrandParent, resolvedConfig), resolvedConfig); + } + } + }, + + JSXAttribute(node) { + const isLiteralString = node.value && node.value.type === 'Literal' + && typeof node.value.value === 'string'; + const isStringLiteral = node.value && node.value.type === 'StringLiteral'; + + if (isLiteralString || isStringLiteral) { + const resolvedConfig = getOverrideConfig(node) || config; + + if ( + resolvedConfig.noStrings + && !resolvedConfig.ignoreProps + && !resolvedConfig.allowedStrings.has(node.value.value) + ) { + const messageId = resolvedConfig.type === 'override' ? 'invalidPropValueInElement' : 'invalidPropValue'; + reportLiteralNode(node, messageId, resolvedConfig); + } + } + }, + + JSXText(node) { + const resolvedConfig = getOverrideConfig(node) || config; + + if (shouldAllowElement(resolvedConfig)) { + return; + } + + if (isViableTextNode(node, resolvedConfig)) { + const hasJSXParendOrGrantParent = hasJSXElementParentOrGrandParent(node); + reportLiteralNode(node, defaultMessageId(hasJSXParendOrGrantParent, resolvedConfig), resolvedConfig); + } + }, + + TemplateLiteral(node) { + const ancestors = getParentAndGrandParent(node); + const isParentJSXExpressionCont = ancestors.parent.type === 'JSXExpressionContainer'; + const isParentJSXElement = ancestors.grandParent.type === 'JSXElement'; + + if (isParentJSXExpressionCont) { + const resolvedConfig = getOverrideConfig(node) || config; + + if ( + resolvedConfig.noStrings + && (isParentJSXElement || !resolvedConfig.ignoreProps) + ) { + reportLiteralNode(node, defaultMessageId(isParentJSXElement, resolvedConfig), resolvedConfig); + } + } + }, + }); + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-script-url.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-script-url.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f0c3207072fdcb354315e80f9521cb4aab5c3d25 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-script-url.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-no-script-url.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-script-url.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-script-url.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..aefb54941528b9572596f6bcc6c3cbdc9a20764d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-script-url.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-no-script-url.d.ts","sourceRoot":"","sources":["jsx-no-script-url.js"],"names":[],"mappings":"wBA6CW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-script-url.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-script-url.js new file mode 100644 index 0000000000000000000000000000000000000000..b18ce2ccb320864d956d60aaf79f7119e8dad215 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-script-url.js @@ -0,0 +1,143 @@ +/** + * @fileoverview Prevent usage of `javascript:` URLs + * @author Sergei Startsev + */ + +'use strict'; + +const includes = require('array-includes'); +const docsUrl = require('../util/docsUrl'); +const linkComponentsUtil = require('../util/linkComponents'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +// https://github.com/facebook/react/blob/d0ebde77f6d1232cefc0da184d731943d78e86f2/packages/react-dom/src/shared/sanitizeURL.js#L30 +/* eslint-disable-next-line max-len, no-control-regex */ +const isJavaScriptProtocol = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i; + +function hasJavaScriptProtocol(attr) { + return attr.value && attr.value.type === 'Literal' + && isJavaScriptProtocol.test(attr.value.value); +} + +function shouldVerifyProp(node, config) { + const name = node.name && node.name.name; + const parentName = node.parent.name && node.parent.name.name; + + if (!name || !parentName || !config.has(parentName)) return false; + + const attributes = config.get(parentName); + return includes(attributes, name); +} + +function parseLegacyOption(config, option) { + option.forEach((opt) => { + config.set(opt.name, opt.props); + }); +} + +const messages = { + noScriptURL: 'A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML, try using dangerouslySetInnerHTML instead.', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow usage of `javascript:` URLs', + category: 'Best Practices', + recommended: false, + url: docsUrl('jsx-no-script-url'), + }, + + messages, + + schema: { + anyOf: [ + { + type: 'array', + items: [ + { + type: 'array', + uniqueItems: true, + items: { + type: 'object', + properties: { + name: { + type: 'string', + }, + props: { + type: 'array', + items: { + type: 'string', + uniqueItems: true, + }, + }, + }, + required: ['name', 'props'], + additionalProperties: false, + }, + }, + { + type: 'object', + properties: { + includeFromSettings: { + type: 'boolean', + }, + }, + additionalItems: false, + }, + ], + additionalItems: false, + }, + { + type: 'array', + items: [ + { + type: 'object', + properties: { + includeFromSettings: { + type: 'boolean', + }, + }, + additionalItems: false, + }, + ], + additionalItems: false, + }, + ], + }, + }, + + create(context) { + const options = context.options; + const hasLegacyOption = Array.isArray(options[0]); + const legacyOptions = hasLegacyOption ? options[0] : []; + // eslint-disable-next-line no-nested-ternary + const objectOption = (hasLegacyOption && options.length > 1) + ? options[1] + : (options.length > 0 + ? options[0] + : { + includeFromSettings: false, + } + ); + const includeFromSettings = objectOption.includeFromSettings; + + const linkComponents = linkComponentsUtil.getLinkComponents(includeFromSettings ? context : {}); + parseLegacyOption(linkComponents, legacyOptions); + + return { + JSXAttribute(node) { + if (shouldVerifyProp(node, linkComponents) && hasJavaScriptProtocol(node)) { + report(context, messages.noScriptURL, 'noScriptURL', { + node, + }); + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-target-blank.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-target-blank.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c36948e3a350fc496ae37a5fd329639792aa4486 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-target-blank.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-no-target-blank.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-target-blank.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-target-blank.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..6ca559cd92a6efba03012b239a6fd789725b21c0 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-target-blank.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-no-target-blank.d.ts","sourceRoot":"","sources":["jsx-no-target-blank.js"],"names":[],"mappings":"wBAgIW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-target-blank.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-target-blank.js new file mode 100644 index 0000000000000000000000000000000000000000..9f5d239d6cadcd237ae9d0f2099457a23a7cab40 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-target-blank.js @@ -0,0 +1,285 @@ +/** + * @fileoverview Forbid target='_blank' attribute + * @author Kevin Miller + */ + +'use strict'; + +const includes = require('array-includes'); +const docsUrl = require('../util/docsUrl'); +const linkComponentsUtil = require('../util/linkComponents'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +function findLastIndex(arr, condition) { + for (let i = arr.length - 1; i >= 0; i -= 1) { + if (condition(arr[i])) { + return i; + } + } + + return -1; +} + +function attributeValuePossiblyBlank(attribute) { + if (!attribute || !attribute.value) { + return false; + } + const value = attribute.value; + if (value.type === 'Literal') { + return typeof value.value === 'string' && value.value.toLowerCase() === '_blank'; + } + if (value.type === 'JSXExpressionContainer') { + const expr = value.expression; + if (expr.type === 'Literal') { + return typeof expr.value === 'string' && expr.value.toLowerCase() === '_blank'; + } + if (expr.type === 'ConditionalExpression') { + if (expr.alternate.type === 'Literal' && expr.alternate.value && expr.alternate.value.toLowerCase() === '_blank') { + return true; + } + if (expr.consequent.type === 'Literal' && expr.consequent.value && expr.consequent.value.toLowerCase() === '_blank') { + return true; + } + } + } + return false; +} + +function hasExternalLink(node, linkAttributes, warnOnSpreadAttributes, spreadAttributeIndex) { + const linkIndex = findLastIndex(node.attributes, (attr) => attr.name && includes(linkAttributes, attr.name.name)); + const foundExternalLink = linkIndex !== -1 && ((attr) => attr.value && attr.value.type === 'Literal' && /^(?:\w+:|\/\/)/.test(attr.value.value))( + node.attributes[linkIndex]); + return foundExternalLink || (warnOnSpreadAttributes && linkIndex < spreadAttributeIndex); +} + +function hasDynamicLink(node, linkAttributes) { + const dynamicLinkIndex = findLastIndex(node.attributes, (attr) => attr.name + && includes(linkAttributes, attr.name.name) + && attr.value + && attr.value.type === 'JSXExpressionContainer'); + if (dynamicLinkIndex !== -1) { + return true; + } +} + +/** + * Get the string(s) from a value + * @param {ASTNode} value The AST node being checked. + * @param {ASTNode} targetValue The AST node being checked. + * @returns {string | string[] | null} The string value, or null if not a string. + */ +function getStringFromValue(value, targetValue) { + if (value) { + if (value.type === 'Literal') { + return value.value; + } + if (value.type === 'JSXExpressionContainer') { + if (value.expression.type === 'TemplateLiteral') { + return value.expression.quasis[0].value.cooked; + } + const expr = value.expression; + if (expr && expr.type === 'ConditionalExpression') { + const relValues = [expr.consequent.value, expr.alternate.value]; + if (targetValue.type === 'JSXExpressionContainer' && targetValue.expression && targetValue.expression.type === 'ConditionalExpression') { + const targetTestCond = targetValue.expression.test.name; + const relTestCond = value.expression.test.name; + if (targetTestCond === relTestCond) { + const targetBlankIndex = [targetValue.expression.consequent.value, targetValue.expression.alternate.value].indexOf('_blank'); + return relValues[targetBlankIndex]; + } + } + return relValues; + } + return expr.value; + } + } + return null; +} + +function hasSecureRel(node, allowReferrer, warnOnSpreadAttributes, spreadAttributeIndex) { + const relIndex = findLastIndex(node.attributes, (attr) => (attr.type === 'JSXAttribute' && attr.name.name === 'rel')); + const targetIndex = findLastIndex(node.attributes, (attr) => (attr.type === 'JSXAttribute' && attr.name.name === 'target')); + if (relIndex === -1 || (warnOnSpreadAttributes && relIndex < spreadAttributeIndex)) { + return false; + } + + const relAttribute = node.attributes[relIndex]; + const targetAttributeValue = node.attributes[targetIndex] && node.attributes[targetIndex].value; + const value = getStringFromValue(relAttribute.value, targetAttributeValue); + return [].concat(value).every((item) => { + const tags = typeof item === 'string' ? item.toLowerCase().split(' ') : false; + const noreferrer = tags && tags.indexOf('noreferrer') >= 0; + if (noreferrer) { + return true; + } + const noopener = tags && tags.indexOf('noopener') >= 0; + return allowReferrer && noopener; + }); +} + +const messages = { + noTargetBlankWithoutNoreferrer: 'Using target="_blank" without rel="noreferrer" (which implies rel="noopener") is a security risk in older browsers: see https://mathiasbynens.github.io/rel-noopener/#recommendations', + noTargetBlankWithoutNoopener: 'Using target="_blank" without rel="noreferrer" or rel="noopener" (the former implies the latter and is preferred due to wider support) is a security risk: see https://mathiasbynens.github.io/rel-noopener/#recommendations', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + fixable: 'code', + docs: { + description: 'Disallow `target="_blank"` attribute without `rel="noreferrer"`', + category: 'Best Practices', + recommended: true, + url: docsUrl('jsx-no-target-blank'), + }, + + messages, + + schema: [{ + type: 'object', + properties: { + allowReferrer: { + type: 'boolean', + }, + enforceDynamicLinks: { + enum: ['always', 'never'], + }, + warnOnSpreadAttributes: { + type: 'boolean', + }, + links: { + type: 'boolean', + default: true, + }, + forms: { + type: 'boolean', + default: false, + }, + }, + additionalProperties: false, + }], + }, + + create(context) { + const configuration = Object.assign( + { + allowReferrer: false, + warnOnSpreadAttributes: false, + links: true, + forms: false, + }, + context.options[0] + ); + const allowReferrer = configuration.allowReferrer; + const warnOnSpreadAttributes = configuration.warnOnSpreadAttributes; + const enforceDynamicLinks = configuration.enforceDynamicLinks || 'always'; + const linkComponents = linkComponentsUtil.getLinkComponents(context); + const formComponents = linkComponentsUtil.getFormComponents(context); + + return { + JSXOpeningElement(node) { + const targetIndex = findLastIndex(node.attributes, (attr) => attr.name && attr.name.name === 'target'); + const spreadAttributeIndex = findLastIndex(node.attributes, (attr) => (attr.type === 'JSXSpreadAttribute')); + + if (linkComponents.has(node.name.name)) { + if (!attributeValuePossiblyBlank(node.attributes[targetIndex])) { + const hasSpread = spreadAttributeIndex >= 0; + + if (warnOnSpreadAttributes && hasSpread) { + // continue to check below + } else if ((hasSpread && targetIndex < spreadAttributeIndex) || !hasSpread || !warnOnSpreadAttributes) { + return; + } + } + + const linkAttributes = linkComponents.get(node.name.name); + const hasDangerousLink = hasExternalLink(node, linkAttributes, warnOnSpreadAttributes, spreadAttributeIndex) + || (enforceDynamicLinks === 'always' && hasDynamicLink(node, linkAttributes)); + if (hasDangerousLink && !hasSecureRel(node, allowReferrer, warnOnSpreadAttributes, spreadAttributeIndex)) { + const messageId = allowReferrer ? 'noTargetBlankWithoutNoopener' : 'noTargetBlankWithoutNoreferrer'; + const relValue = allowReferrer ? 'noopener' : 'noreferrer'; + report(context, messages[messageId], messageId, { + node, + fix(fixer) { + // eslint 5 uses `node.attributes`; eslint 6+ uses `node.parent.attributes` + const nodeWithAttrs = node.parent.attributes ? node.parent : node; + // eslint 5 does not provide a `name` property on JSXSpreadElements + const relAttribute = nodeWithAttrs.attributes.find((attr) => attr.name && attr.name.name === 'rel'); + + if (targetIndex < spreadAttributeIndex || (spreadAttributeIndex >= 0 && !relAttribute)) { + return null; + } + + if (!relAttribute) { + return fixer.insertTextAfter(nodeWithAttrs.attributes.slice(-1)[0], ` rel="${relValue}"`); + } + + if (!relAttribute.value) { + return fixer.insertTextAfter(relAttribute, `="${relValue}"`); + } + + if (relAttribute.value.type === 'Literal') { + const parts = relAttribute.value.value + .split('noreferrer') + .filter(Boolean); + return fixer.replaceText(relAttribute.value, `"${parts.concat('noreferrer').join(' ')}"`); + } + + if (relAttribute.value.type === 'JSXExpressionContainer') { + if (relAttribute.value.expression.type === 'Literal') { + if (typeof relAttribute.value.expression.value === 'string') { + const parts = relAttribute.value.expression.value + .split('noreferrer') + .filter(Boolean); + return fixer.replaceText(relAttribute.value.expression, `"${parts.concat('noreferrer').join(' ')}"`); + } + + // for undefined, boolean, number, symbol, bigint, and null + return fixer.replaceText(relAttribute.value, '"noreferrer"'); + } + } + + return null; + }, + }); + } + } + if (formComponents.has(node.name.name)) { + if (!attributeValuePossiblyBlank(node.attributes[targetIndex])) { + const hasSpread = spreadAttributeIndex >= 0; + + if (warnOnSpreadAttributes && hasSpread) { + // continue to check below + } else if ( + (hasSpread && targetIndex < spreadAttributeIndex) + || !hasSpread + || !warnOnSpreadAttributes + ) { + return; + } + } + + if (!configuration.forms || hasSecureRel(node)) { + return; + } + + const formAttributes = formComponents.get(node.name.name); + + if ( + hasExternalLink(node, formAttributes) + || (enforceDynamicLinks === 'always' && hasDynamicLink(node, formAttributes)) + ) { + const messageId = allowReferrer ? 'noTargetBlankWithoutNoopener' : 'noTargetBlankWithoutNoreferrer'; + report(context, messages[messageId], messageId, { + node, + }); + } + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-undef.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-undef.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0acd79628d116cef4967cf4bd62221b5c14887a1 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-undef.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-no-undef.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-undef.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-undef.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..bdea38d195b0ff0ddc8ff23f16ef6eb0c4b8c41b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-undef.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-no-undef.d.ts","sourceRoot":"","sources":["jsx-no-undef.js"],"names":[],"mappings":"wBAoBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-undef.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-undef.js new file mode 100644 index 0000000000000000000000000000000000000000..a15de8e8540a5090a6edcb4208e62675db527f4d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-undef.js @@ -0,0 +1,117 @@ +/** + * @fileoverview Disallow undeclared variables in JSX + * @author Yannick Croissant + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const eslintUtil = require('../util/eslint'); +const jsxUtil = require('../util/jsx'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + undefined: '\'{{identifier}}\' is not defined.', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow undeclared variables in JSX', + category: 'Possible Errors', + recommended: true, + url: docsUrl('jsx-no-undef'), + }, + + messages, + + schema: [{ + type: 'object', + properties: { + allowGlobals: { + type: 'boolean', + }, + }, + additionalProperties: false, + }], + }, + + create(context) { + const config = context.options[0] || {}; + const allowGlobals = config.allowGlobals || false; + + /** + * Compare an identifier with the variables declared in the scope + * @param {ASTNode} node - Identifier or JSXIdentifier node + * @returns {void} + */ + function checkIdentifierInJSX(node) { + let scope = eslintUtil.getScope(context, node); + const sourceCode = eslintUtil.getSourceCode(context); + const sourceType = sourceCode.ast.sourceType; + const scopeUpperBound = !allowGlobals && sourceType === 'module' ? 'module' : 'global'; + let variables = scope.variables; + let i; + let len; + + // Ignore 'this' keyword (also maked as JSXIdentifier when used in JSX) + if (node.name === 'this') { + return; + } + + while (scope.type !== scopeUpperBound && scope.type !== 'global') { + scope = scope.upper; + variables = scope.variables.concat(variables); + } + if (scope.childScopes.length) { + variables = scope.childScopes[0].variables.concat(variables); + // Temporary fix for babel-eslint + if (scope.childScopes[0].childScopes.length) { + variables = scope.childScopes[0].childScopes[0].variables.concat(variables); + } + } + + for (i = 0, len = variables.length; i < len; i++) { + if (variables[i].name === node.name) { + return; + } + } + + report(context, messages.undefined, 'undefined', { + node, + data: { + identifier: node.name, + }, + }); + } + + return { + JSXOpeningElement(node) { + switch (node.name.type) { + case 'JSXIdentifier': + if (jsxUtil.isDOMComponent(node)) { + return; + } + node = node.name; + break; + case 'JSXMemberExpression': + node = node.name; + do { + node = node.object; + } while (node && node.type !== 'JSXIdentifier'); + break; + case 'JSXNamespacedName': + return; + default: + break; + } + checkIdentifierInJSX(node); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-useless-fragment.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-useless-fragment.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..124f1d37d7d920faed82dc0d9f60a5bcbc9628c7 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-useless-fragment.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-no-useless-fragment.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-useless-fragment.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-useless-fragment.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..0d11e13ceeb37cde3baa3bb76473f463622b8e3f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-useless-fragment.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-no-useless-fragment.d.ts","sourceRoot":"","sources":["jsx-no-useless-fragment.js"],"names":[],"mappings":"wBAsFW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-useless-fragment.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-useless-fragment.js new file mode 100644 index 0000000000000000000000000000000000000000..9827560f0e1a9861d4e581618c2b761e9a414d37 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-no-useless-fragment.js @@ -0,0 +1,259 @@ +/** + * @fileoverview Disallow useless fragments + */ + +'use strict'; + +const arrayIncludes = require('array-includes'); + +const pragmaUtil = require('../util/pragma'); +const astUtil = require('../util/ast'); +const jsxUtil = require('../util/jsx'); +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); +const getText = require('../util/eslint').getText; + +function isJSXText(node) { + return !!node && (node.type === 'JSXText' || node.type === 'Literal'); +} + +/** + * @param {string} text + * @returns {boolean} + */ +function isOnlyWhitespace(text) { + return text.trim().length === 0; +} + +/** + * @param {ASTNode} node + * @returns {boolean} + */ +function isNonspaceJSXTextOrJSXCurly(node) { + return (isJSXText(node) && !isOnlyWhitespace(node.raw)) || node.type === 'JSXExpressionContainer'; +} + +/** + * Somehow fragment like this is useful: ee eeee eeee ...} /> + * @param {ASTNode} node + * @returns {boolean} + */ +function isFragmentWithOnlyTextAndIsNotChild(node) { + return node.children.length === 1 + && isJSXText(node.children[0]) + && !(node.parent.type === 'JSXElement' || node.parent.type === 'JSXFragment'); +} + +/** + * @param {string} text + * @returns {string} + */ +function trimLikeReact(text) { + const leadingSpaces = /^\s*/.exec(text)[0]; + const trailingSpaces = /\s*$/.exec(text)[0]; + + const start = arrayIncludes(leadingSpaces, '\n') ? leadingSpaces.length : 0; + const end = arrayIncludes(trailingSpaces, '\n') ? text.length - trailingSpaces.length : text.length; + + return text.slice(start, end); +} + +/** + * Test if node is like `_` + * @param {JSXElement} node + * @returns {boolean} + */ +function isKeyedElement(node) { + return node.type === 'JSXElement' + && node.openingElement.attributes + && node.openingElement.attributes.some(jsxUtil.isJSXAttributeKey); +} + +/** + * @param {ASTNode} node + * @returns {boolean} + */ +function containsCallExpression(node) { + return node + && node.type === 'JSXExpressionContainer' + && astUtil.isCallExpression(node.expression); +} + +const messages = { + NeedsMoreChildren: 'Fragments should contain more than one child - otherwise, there’s no need for a Fragment at all.', + ChildOfHtmlElement: 'Passing a fragment to an HTML element is useless.', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + type: 'suggestion', + fixable: 'code', + docs: { + description: 'Disallow unnecessary fragments', + category: 'Possible Errors', + recommended: false, + url: docsUrl('jsx-no-useless-fragment'), + }, + messages, + schema: [{ + type: 'object', + properties: { + allowExpressions: { + type: 'boolean', + }, + }, + }], + }, + + create(context) { + const config = context.options[0] || {}; + const allowExpressions = config.allowExpressions || false; + + const reactPragma = pragmaUtil.getFromContext(context); + const fragmentPragma = pragmaUtil.getFragmentFromContext(context); + + /** + * Test whether a node is an padding spaces trimmed by react runtime. + * @param {ASTNode} node + * @returns {boolean} + */ + function isPaddingSpaces(node) { + return isJSXText(node) + && isOnlyWhitespace(node.raw) + && arrayIncludes(node.raw, '\n'); + } + + function isFragmentWithSingleExpression(node) { + const children = node && node.children.filter((child) => !isPaddingSpaces(child)); + return ( + children + && children.length === 1 + && children[0].type === 'JSXExpressionContainer' + ); + } + + /** + * Test whether a JSXElement has less than two children, excluding paddings spaces. + * @param {JSXElement|JSXFragment} node + * @returns {boolean} + */ + function hasLessThanTwoChildren(node) { + if (!node || !node.children) { + return true; + } + + /** @type {ASTNode[]} */ + const nonPaddingChildren = node.children.filter( + (child) => !isPaddingSpaces(child) + ); + + if (nonPaddingChildren.length < 2) { + return !containsCallExpression(nonPaddingChildren[0]); + } + } + + /** + * @param {JSXElement|JSXFragment} node + * @returns {boolean} + */ + function isChildOfHtmlElement(node) { + return node.parent.type === 'JSXElement' + && node.parent.openingElement.name.type === 'JSXIdentifier' + && /^[a-z]+$/.test(node.parent.openingElement.name.name); + } + + /** + * @param {JSXElement|JSXFragment} node + * @return {boolean} + */ + function isChildOfComponentElement(node) { + return node.parent.type === 'JSXElement' + && !isChildOfHtmlElement(node) + && !jsxUtil.isFragment(node.parent, reactPragma, fragmentPragma); + } + + /** + * @param {ASTNode} node + * @returns {boolean} + */ + function canFix(node) { + // Not safe to fix fragments without a jsx parent. + if (!(node.parent.type === 'JSXElement' || node.parent.type === 'JSXFragment')) { + // const a = <> + if (node.children.length === 0) { + return false; + } + + // const a = <>cat {meow} + if (node.children.some(isNonspaceJSXTextOrJSXCurly)) { + return false; + } + } + + // Not safe to fix `<>foo` because `Eeee` might require its children be a ReactElement. + if (isChildOfComponentElement(node)) { + return false; + } + + // old TS parser can't handle this one + if (node.type === 'JSXFragment' && (!node.openingFragment || !node.closingFragment)) { + return false; + } + + return true; + } + + /** + * @param {ASTNode} node + * @returns {Function | undefined} + */ + function getFix(node) { + if (!canFix(node)) { + return undefined; + } + + return function fix(fixer) { + const opener = node.type === 'JSXFragment' ? node.openingFragment : node.openingElement; + const closer = node.type === 'JSXFragment' ? node.closingFragment : node.closingElement; + + const childrenText = opener.selfClosing ? '' : getText(context).slice(opener.range[1], closer.range[0]); + + return fixer.replaceText(node, trimLikeReact(childrenText)); + }; + } + + function checkNode(node) { + if (isKeyedElement(node)) { + return; + } + + if ( + hasLessThanTwoChildren(node) + && !isFragmentWithOnlyTextAndIsNotChild(node) + && !(allowExpressions && isFragmentWithSingleExpression(node)) + ) { + report(context, messages.NeedsMoreChildren, 'NeedsMoreChildren', { + node, + fix: getFix(node), + }); + } + + if (isChildOfHtmlElement(node)) { + report(context, messages.ChildOfHtmlElement, 'ChildOfHtmlElement', { + node, + fix: getFix(node), + }); + } + } + + return { + JSXElement(node) { + if (jsxUtil.isFragment(node, reactPragma, fragmentPragma)) { + checkNode(node); + } + }, + JSXFragment: checkNode, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-one-expression-per-line.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-one-expression-per-line.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..3da73341c9aa089c52a04167bbf4714409354d9b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-one-expression-per-line.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-one-expression-per-line.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-one-expression-per-line.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-one-expression-per-line.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..a1f895dbfd09ed56a7e6d5cb219b5342b4b9a741 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-one-expression-per-line.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-one-expression-per-line.d.ts","sourceRoot":"","sources":["jsx-one-expression-per-line.js"],"names":[],"mappings":"wBA2BW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-one-expression-per-line.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-one-expression-per-line.js new file mode 100644 index 0000000000000000000000000000000000000000..3ae61e3d9671ff6c0601cdee35a1f4754d69b5d2 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-one-expression-per-line.js @@ -0,0 +1,249 @@ +/** + * @fileoverview Limit to one expression per line in JSX + * @author Mark Ivan Allen + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const eslintUtil = require('../util/eslint'); +const jsxUtil = require('../util/jsx'); +const report = require('../util/report'); + +const getSourceCode = eslintUtil.getSourceCode; +const getText = eslintUtil.getText; + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const optionDefaults = { + allow: 'none', +}; + +const messages = { + moveToNewLine: '`{{descriptor}}` must be placed on a new line', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Require one JSX element per line', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-one-expression-per-line'), + }, + fixable: 'whitespace', + + messages, + + schema: [ + { + type: 'object', + properties: { + allow: { + enum: ['none', 'literal', 'single-child', 'non-jsx'], + }, + }, + default: optionDefaults, + additionalProperties: false, + }, + ], + }, + + create(context) { + const options = Object.assign({}, optionDefaults, context.options[0]); + + function nodeKey(node) { + return `${node.loc.start.line},${node.loc.start.column}`; + } + + /** + * @param {ASTNode} n + * @returns {string} + */ + function nodeDescriptor(n) { + return n.openingElement ? n.openingElement.name.name : getText(context, n).replace(/\n/g, ''); + } + + function handleJSX(node) { + const children = node.children; + + if (!children || !children.length) { + return; + } + + if ( + options.allow === 'non-jsx' + && !children.find((child) => (child.type === 'JSXFragment' || child.type === 'JSXElement')) + ) { + return; + } + + const openingElement = node.openingElement || node.openingFragment; + const closingElement = node.closingElement || node.closingFragment; + const openingElementStartLine = openingElement.loc.start.line; + const openingElementEndLine = openingElement.loc.end.line; + const closingElementStartLine = closingElement.loc.start.line; + const closingElementEndLine = closingElement.loc.end.line; + + if (children.length === 1) { + const child = children[0]; + if ( + openingElementStartLine === openingElementEndLine + && openingElementEndLine === closingElementStartLine + && closingElementStartLine === closingElementEndLine + && closingElementEndLine === child.loc.start.line + && child.loc.start.line === child.loc.end.line + ) { + if ( + options.allow === 'single-child' + || (options.allow === 'literal' && (child.type === 'Literal' || child.type === 'JSXText')) + ) { + return; + } + } + } + + const childrenGroupedByLine = {}; + const fixDetailsByNode = {}; + + children.forEach((child) => { + let countNewLinesBeforeContent = 0; + let countNewLinesAfterContent = 0; + + if (child.type === 'Literal' || child.type === 'JSXText') { + if (jsxUtil.isWhiteSpaces(child.raw)) { + return; + } + + countNewLinesBeforeContent = (child.raw.match(/^\s*\n/g) || []).length; + countNewLinesAfterContent = (child.raw.match(/\n\s*$/g) || []).length; + } + + const startLine = child.loc.start.line + countNewLinesBeforeContent; + const endLine = child.loc.end.line - countNewLinesAfterContent; + + if (startLine === endLine) { + if (!childrenGroupedByLine[startLine]) { + childrenGroupedByLine[startLine] = []; + } + childrenGroupedByLine[startLine].push(child); + } else { + if (!childrenGroupedByLine[startLine]) { + childrenGroupedByLine[startLine] = []; + } + childrenGroupedByLine[startLine].push(child); + if (!childrenGroupedByLine[endLine]) { + childrenGroupedByLine[endLine] = []; + } + childrenGroupedByLine[endLine].push(child); + } + }); + + Object.keys(childrenGroupedByLine).forEach((_line) => { + const line = parseInt(_line, 10); + const firstIndex = 0; + const lastIndex = childrenGroupedByLine[line].length - 1; + + childrenGroupedByLine[line].forEach((child, i) => { + let prevChild; + let nextChild; + + if (i === firstIndex) { + if (line === openingElementEndLine) { + prevChild = openingElement; + } + } else { + prevChild = childrenGroupedByLine[line][i - 1]; + } + + if (i === lastIndex) { + if (line === closingElementStartLine) { + nextChild = closingElement; + } + } else { + // We don't need to append a trailing because the next child will prepend a leading. + // nextChild = childrenGroupedByLine[line][i + 1]; + } + + function spaceBetweenPrev() { + return ((prevChild.type === 'Literal' || prevChild.type === 'JSXText') && / $/.test(prevChild.raw)) + || ((child.type === 'Literal' || child.type === 'JSXText') && /^ /.test(child.raw)) + || getSourceCode(context).isSpaceBetweenTokens(prevChild, child); + } + + function spaceBetweenNext() { + return ((nextChild.type === 'Literal' || nextChild.type === 'JSXText') && /^ /.test(nextChild.raw)) + || ((child.type === 'Literal' || child.type === 'JSXText') && / $/.test(child.raw)) + || getSourceCode(context).isSpaceBetweenTokens(child, nextChild); + } + + if (!prevChild && !nextChild) { + return; + } + + const source = getText(context, child); + const leadingSpace = !!(prevChild && spaceBetweenPrev()); + const trailingSpace = !!(nextChild && spaceBetweenNext()); + const leadingNewLine = !!prevChild; + const trailingNewLine = !!nextChild; + + const key = nodeKey(child); + + if (!fixDetailsByNode[key]) { + fixDetailsByNode[key] = { + node: child, + source, + descriptor: nodeDescriptor(child), + }; + } + + if (leadingSpace) { + fixDetailsByNode[key].leadingSpace = true; + } + if (leadingNewLine) { + fixDetailsByNode[key].leadingNewLine = true; + } + if (trailingNewLine) { + fixDetailsByNode[key].trailingNewLine = true; + } + if (trailingSpace) { + fixDetailsByNode[key].trailingSpace = true; + } + }); + }); + + Object.keys(fixDetailsByNode).forEach((key) => { + const details = fixDetailsByNode[key]; + + const nodeToReport = details.node; + const descriptor = details.descriptor; + const source = details.source.replace(/(^ +| +(?=\n)*$)/g, ''); + + const leadingSpaceString = details.leadingSpace ? '\n{\' \'}' : ''; + const trailingSpaceString = details.trailingSpace ? '{\' \'}\n' : ''; + const leadingNewLineString = details.leadingNewLine ? '\n' : ''; + const trailingNewLineString = details.trailingNewLine ? '\n' : ''; + + const replaceText = `${leadingSpaceString}${leadingNewLineString}${source}${trailingNewLineString}${trailingSpaceString}`; + + report(context, messages.moveToNewLine, 'moveToNewLine', { + node: nodeToReport, + data: { + descriptor, + }, + fix(fixer) { + return fixer.replaceText(nodeToReport, replaceText); + }, + }); + }); + } + + return { + JSXElement: handleJSX, + JSXFragment: handleJSX, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-pascal-case.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-pascal-case.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..3ba2690ea930ccae8b48b847a20251c94dca9448 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-pascal-case.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-pascal-case.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-pascal-case.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-pascal-case.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..7c4713ef3c64088fcab533e16d582b29a33d9d88 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-pascal-case.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-pascal-case.d.ts","sourceRoot":"","sources":["jsx-pascal-case.js"],"names":[],"mappings":"wBA8EW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-pascal-case.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-pascal-case.js new file mode 100644 index 0000000000000000000000000000000000000000..efeef4032a97a6918e275d68600d644a242c2b83 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-pascal-case.js @@ -0,0 +1,164 @@ +/** + * @fileoverview Enforce PascalCase for user-defined JSX components + * @author Jake Marsh + */ + +'use strict'; + +const elementType = require('jsx-ast-utils/elementType'); +const minimatch = require('minimatch'); +const docsUrl = require('../util/docsUrl'); +const jsxUtil = require('../util/jsx'); +const report = require('../util/report'); + +function testDigit(char) { + const charCode = char.charCodeAt(0); + return charCode >= 48 && charCode <= 57; +} + +function testUpperCase(char) { + const upperCase = char.toUpperCase(); + return char === upperCase && upperCase !== char.toLowerCase(); +} + +function testLowerCase(char) { + const lowerCase = char.toLowerCase(); + return char === lowerCase && lowerCase !== char.toUpperCase(); +} + +function testPascalCase(name) { + if (!testUpperCase(name.charAt(0))) { + return false; + } + const anyNonAlphaNumeric = Array.prototype.some.call( + name.slice(1), + (char) => char.toLowerCase() === char.toUpperCase() && !testDigit(char) + ); + if (anyNonAlphaNumeric) { + return false; + } + return Array.prototype.some.call( + name.slice(1), + (char) => testLowerCase(char) || testDigit(char) + ); +} + +function testAllCaps(name) { + const firstChar = name.charAt(0); + if (!(testUpperCase(firstChar) || testDigit(firstChar))) { + return false; + } + for (let i = 1; i < name.length - 1; i += 1) { + const char = name.charAt(i); + if (!(testUpperCase(char) || testDigit(char) || char === '_')) { + return false; + } + } + const lastChar = name.charAt(name.length - 1); + if (!(testUpperCase(lastChar) || testDigit(lastChar))) { + return false; + } + return true; +} + +function ignoreCheck(ignore, name) { + return ignore.some( + (entry) => name === entry || minimatch(name, entry, { noglobstar: true }) + ); +} + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + usePascalCase: 'Imported JSX component {{name}} must be in PascalCase', + usePascalOrSnakeCase: 'Imported JSX component {{name}} must be in PascalCase or SCREAMING_SNAKE_CASE', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce PascalCase for user-defined JSX components', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-pascal-case'), + }, + + messages, + + schema: [{ + type: 'object', + properties: { + allowAllCaps: { + type: 'boolean', + }, + allowLeadingUnderscore: { + type: 'boolean', + }, + allowNamespace: { + type: 'boolean', + }, + ignore: { + items: [ + { + type: 'string', + }, + ], + minItems: 0, + type: 'array', + uniqueItems: true, + }, + }, + additionalProperties: false, + }], + }, + + create(context) { + const configuration = context.options[0] || {}; + const allowAllCaps = configuration.allowAllCaps || false; + const allowLeadingUnderscore = configuration.allowLeadingUnderscore || false; + const allowNamespace = configuration.allowNamespace || false; + const ignore = configuration.ignore || []; + + return { + JSXOpeningElement(node) { + const isCompatTag = jsxUtil.isDOMComponent(node); + if (isCompatTag) return undefined; + + const name = elementType(node); + let checkNames = [name]; + let index = 0; + + if (name.lastIndexOf(':') > -1) { + checkNames = name.split(':'); + } else if (name.lastIndexOf('.') > -1) { + checkNames = name.split('.'); + } + + do { + const splitName = checkNames[index]; + if (splitName.length === 1) return undefined; + const isIgnored = ignoreCheck(ignore, splitName); + + const checkName = allowLeadingUnderscore && splitName.startsWith('_') ? splitName.slice(1) : splitName; + const isPascalCase = testPascalCase(checkName); + const isAllowedAllCaps = allowAllCaps && testAllCaps(checkName); + + if (!isPascalCase && !isAllowedAllCaps && !isIgnored) { + const messageId = allowAllCaps ? 'usePascalOrSnakeCase' : 'usePascalCase'; + report(context, messages[messageId], messageId, { + node, + data: { + name: splitName, + }, + }); + break; + } + index += 1; + } while (index < checkNames.length && !allowNamespace); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1f58e5d0d390147b2ab37dcb3d1858cb068c8b29 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-props-no-multi-spaces.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..60f4d2b5169be238078f455b3b4d339ec1e99163 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-props-no-multi-spaces.d.ts","sourceRoot":"","sources":["jsx-props-no-multi-spaces.js"],"names":[],"mappings":"wBAwBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces.js new file mode 100644 index 0000000000000000000000000000000000000000..8402c6d4ff561ac1e4b73321a7e202dea48c9e1e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces.js @@ -0,0 +1,144 @@ +/** + * @fileoverview Disallow multiple spaces between inline JSX props + * @author Adrian Moennich + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const eslintUtil = require('../util/eslint'); +const report = require('../util/report'); +const propsUtil = require('../util/props'); + +const getSourceCode = eslintUtil.getSourceCode; +const getText = eslintUtil.getText; + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + noLineGap: 'Expected no line gap between “{{prop1}}” and “{{prop2}}”', + onlyOneSpace: 'Expected only one space between “{{prop1}}” and “{{prop2}}”', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow multiple spaces between inline JSX props', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-props-no-multi-spaces'), + }, + fixable: 'code', + + messages, + + schema: [], + }, + + create(context) { + const sourceCode = getSourceCode(context); + + function getPropName(propNode) { + switch (propNode.type) { + case 'JSXSpreadAttribute': + return getText(context, propNode.argument); + case 'JSXIdentifier': + return propNode.name; + case 'JSXMemberExpression': + return `${getPropName(propNode.object)}.${propNode.property.name}`; + default: + return propNode.name + ? propNode.name.name + : `${getText(context, propNode.object)}.${propNode.property.name}`; // needed for typescript-eslint parser + } + } + + // First and second must be adjacent nodes + function hasEmptyLines(first, second) { + const comments = sourceCode.getCommentsBefore ? sourceCode.getCommentsBefore(second) : []; + const nodes = [].concat(first, comments, second); + + for (let i = 1; i < nodes.length; i += 1) { + const prev = nodes[i - 1]; + const curr = nodes[i]; + if (curr.loc.start.line - prev.loc.end.line >= 2) { + return true; + } + } + + return false; + } + + function checkSpacing(prev, node) { + if (hasEmptyLines(prev, node)) { + report(context, messages.noLineGap, 'noLineGap', { + node, + data: { + prop1: getPropName(prev), + prop2: getPropName(node), + }, + }); + } + + if (prev.loc.end.line !== node.loc.end.line) { + return; + } + + const between = getSourceCode(context).text.slice(prev.range[1], node.range[0]); + + if (between !== ' ') { + report(context, messages.onlyOneSpace, 'onlyOneSpace', { + node, + data: { + prop1: getPropName(prev), + prop2: getPropName(node), + }, + fix(fixer) { + return fixer.replaceTextRange([prev.range[1], node.range[0]], ' '); + }, + }); + } + } + + function containsGenericType(node) { + const nodeTypeArguments = propsUtil.getTypeArguments(node); + if (typeof nodeTypeArguments === 'undefined') { + return false; + } + + return nodeTypeArguments.type === 'TSTypeParameterInstantiation'; + } + + function getGenericNode(node) { + const name = node.name; + if (containsGenericType(node)) { + const nodeTypeArguments = propsUtil.getTypeArguments(node); + + return Object.assign( + {}, + node, + { + range: [ + name.range[0], + nodeTypeArguments.range[1], + ], + } + ); + } + + return name; + } + + return { + JSXOpeningElement(node) { + node.attributes.reduce((prev, prop) => { + checkSpacing(prev, prop); + return prop; + }, getGenericNode(node)); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spread-multi.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spread-multi.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6e9ecb76e9975f2cb10f8e1a55fde704dcec7602 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spread-multi.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-props-no-spread-multi.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spread-multi.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spread-multi.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..ae4206e6602889e0bbcbbdccedcdbab57a1850cd --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spread-multi.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-props-no-spread-multi.d.ts","sourceRoot":"","sources":["jsx-props-no-spread-multi.js"],"names":[],"mappings":"wBAkBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spread-multi.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spread-multi.js new file mode 100644 index 0000000000000000000000000000000000000000..3103be86da1bf447c358b491c6bfe9c917561c5a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spread-multi.js @@ -0,0 +1,54 @@ +/** + * @fileoverview Prevent JSX prop spreading the same expression multiple times + * @author Simon Schick + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + noMultiSpreading: 'Spreading the same expression multiple times is forbidden', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow JSX prop spreading the same identifier multiple times', + category: 'Best Practices', + recommended: false, + url: docsUrl('jsx-props-no-spread-multi'), + }, + messages, + }, + + create(context) { + return { + JSXOpeningElement(node) { + const spreads = node.attributes.filter( + (attr) => attr.type === 'JSXSpreadAttribute' + && attr.argument.type === 'Identifier' + ); + if (spreads.length < 2) { + return; + } + // We detect duplicate expressions by their identifier + const identifierNames = new Set(); + spreads.forEach((spread) => { + if (identifierNames.has(spread.argument.name)) { + report(context, messages.noMultiSpreading, 'noMultiSpreading', { + node: spread, + }); + } + identifierNames.add(spread.argument.name); + }); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spreading.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spreading.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..9ed3469d2f315865a272ea46cde73cf919fba48c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spreading.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-props-no-spreading.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spreading.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spreading.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..3db995403aedd8396fd13ce18311e6cda0d68f78 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spreading.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-props-no-spreading.d.ts","sourceRoot":"","sources":["jsx-props-no-spreading.js"],"names":[],"mappings":"wBAwCW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spreading.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spreading.js new file mode 100644 index 0000000000000000000000000000000000000000..1aa8ab4ace578cf6eb7a075b134cda198ef044bd --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spreading.js @@ -0,0 +1,145 @@ +/** + * @fileoverview Prevent JSX prop spreading + * @author Ashish Gambhir + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Constants +// ------------------------------------------------------------------------------ + +const OPTIONS = { ignore: 'ignore', enforce: 'enforce' }; +const DEFAULTS = { + html: OPTIONS.enforce, + custom: OPTIONS.enforce, + explicitSpread: OPTIONS.enforce, + exceptions: [], +}; + +const isException = (tag, allExceptions) => allExceptions.indexOf(tag) !== -1; +const isProperty = (property) => property.type === 'Property'; +const getTagNameFromMemberExpression = (node) => { + if (node.property.parent) { + return `${node.property.parent.object.name}.${node.property.name}`; + } + // for eslint 3 + return `${node.object.name}.${node.property.name}`; +}; + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + noSpreading: 'Prop spreading is forbidden', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow JSX prop spreading', + category: 'Best Practices', + recommended: false, + url: docsUrl('jsx-props-no-spreading'), + }, + + messages, + + schema: [{ + allOf: [{ + type: 'object', + properties: { + html: { + enum: [OPTIONS.enforce, OPTIONS.ignore], + }, + custom: { + enum: [OPTIONS.enforce, OPTIONS.ignore], + }, + explicitSpread: { + enum: [OPTIONS.enforce, OPTIONS.ignore], + }, + exceptions: { + type: 'array', + items: { + type: 'string', + uniqueItems: true, + }, + }, + }, + }, { + not: { + type: 'object', + required: ['html', 'custom'], + properties: { + html: { + enum: [OPTIONS.ignore], + }, + custom: { + enum: [OPTIONS.ignore], + }, + exceptions: { + type: 'array', + minItems: 0, + maxItems: 0, + }, + }, + }, + }], + }], + }, + + create(context) { + const configuration = context.options[0] || {}; + const ignoreHtmlTags = (configuration.html || DEFAULTS.html) === OPTIONS.ignore; + const ignoreCustomTags = (configuration.custom || DEFAULTS.custom) === OPTIONS.ignore; + const ignoreExplicitSpread = (configuration.explicitSpread || DEFAULTS.explicitSpread) === OPTIONS.ignore; + const exceptions = configuration.exceptions || DEFAULTS.exceptions; + return { + JSXSpreadAttribute(node) { + const jsxOpeningElement = node.parent.name; + const type = jsxOpeningElement.type; + + let tagName; + if (type === 'JSXIdentifier') { + tagName = jsxOpeningElement.name; + } else if (type === 'JSXMemberExpression') { + tagName = getTagNameFromMemberExpression(jsxOpeningElement); + } else { + tagName = undefined; + } + + const isHTMLTag = tagName && tagName[0] !== tagName[0].toUpperCase(); + const isCustomTag = tagName && (tagName[0] === tagName[0].toUpperCase() || tagName.includes('.')); + if ( + isHTMLTag + && ((ignoreHtmlTags && !isException(tagName, exceptions)) + || (!ignoreHtmlTags && isException(tagName, exceptions))) + ) { + return; + } + if ( + isCustomTag + && ((ignoreCustomTags && !isException(tagName, exceptions)) + || (!ignoreCustomTags && isException(tagName, exceptions))) + ) { + return; + } + if ( + ignoreExplicitSpread + && node.argument.type === 'ObjectExpression' + && node.argument.properties.every(isProperty) + ) { + return; + } + report(context, messages.noSpreading, 'noSpreading', { + node, + }); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-sort-default-props.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-sort-default-props.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..8db526cc097e3758478390c07a98f1d93e90707f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-sort-default-props.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-sort-default-props.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-sort-default-props.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-sort-default-props.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..af11f3370cef1e279ef9c818993d53829a20964d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-sort-default-props.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-sort-default-props.d.ts","sourceRoot":"","sources":["jsx-sort-default-props.js"],"names":[],"mappings":"wBA2BW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-sort-default-props.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-sort-default-props.js new file mode 100644 index 0000000000000000000000000000000000000000..f990f7718928fad69f1230abf3e9cfb0aba5c1f6 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-sort-default-props.js @@ -0,0 +1,195 @@ +/** + * @fileoverview Enforce default props alphabetical sorting + * @author Vladimir Kattsov + * @deprecated + */ + +'use strict'; + +const variableUtil = require('../util/variable'); +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); +const log = require('../util/log'); +const eslintUtil = require('../util/eslint'); + +const getFirstTokens = eslintUtil.getFirstTokens; +const getText = eslintUtil.getText; + +let isWarnedForDeprecation = false; + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + propsNotSorted: 'Default prop types declarations should be sorted alphabetically', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + deprecated: true, + replacedBy: ['sort-default-props'], + docs: { + description: 'Enforce defaultProps declarations alphabetical sorting', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-sort-default-props'), + }, + // fixable: 'code', + + messages, + + schema: [{ + type: 'object', + properties: { + ignoreCase: { + type: 'boolean', + }, + }, + additionalProperties: false, + }], + }, + + create(context) { + const configuration = context.options[0] || {}; + const ignoreCase = configuration.ignoreCase || false; + + /** + * Get properties name + * @param {Object} node - Property. + * @returns {string} Property name. + */ + function getPropertyName(node) { + if (node.key || ['MethodDefinition', 'Property'].indexOf(node.type) !== -1) { + return node.key.name; + } + if (node.type === 'MemberExpression') { + return node.property.name; + // Special case for class properties + // (babel-eslint@5 does not expose property name so we have to rely on tokens) + } + if (node.type === 'ClassProperty') { + const tokens = getFirstTokens(context, node, 2); + return tokens[1] && tokens[1].type === 'Identifier' ? tokens[1].value : tokens[0].value; + } + return ''; + } + + /** + * Checks if the Identifier node passed in looks like a defaultProps declaration. + * @param {ASTNode} node The node to check. Must be an Identifier node. + * @returns {boolean} `true` if the node is a defaultProps declaration, `false` if not + */ + function isDefaultPropsDeclaration(node) { + const propName = getPropertyName(node); + return (propName === 'defaultProps' || propName === 'getDefaultProps'); + } + + function getKey(node) { + return getText(context, node.key || node.argument); + } + + /** + * Find a variable by name in the current scope. + * @param {ASTNode} node The node to look for. + * @param {string} name Name of the variable to look for. + * @returns {ASTNode|null} Return null if the variable could not be found, ASTNode otherwise. + */ + function findVariableByName(node, name) { + const variable = variableUtil + .getVariableFromContext(context, node, name); + + if (!variable || !variable.defs[0] || !variable.defs[0].node) { + return null; + } + + if (variable.defs[0].node.type === 'TypeAlias') { + return variable.defs[0].node.right; + } + + return variable.defs[0].node.init; + } + + /** + * Checks if defaultProps declarations are sorted + * @param {Array} declarations The array of AST nodes being checked. + * @returns {void} + */ + function checkSorted(declarations) { + // function fix(fixer) { + // return propTypesSortUtil.fixPropTypesSort(context, fixer, declarations, ignoreCase); + // } + + declarations.reduce((prev, curr, idx, decls) => { + if (/Spread(?:Property|Element)$/.test(curr.type)) { + return decls[idx + 1]; + } + + let prevPropName = getKey(prev); + let currentPropName = getKey(curr); + + if (ignoreCase) { + prevPropName = prevPropName.toLowerCase(); + currentPropName = currentPropName.toLowerCase(); + } + + if (currentPropName < prevPropName) { + report(context, messages.propsNotSorted, 'propsNotSorted', { + node: curr, + // fix + }); + + return prev; + } + + return curr; + }, declarations[0]); + } + + function checkNode(node) { + if (!node) { + return; + } + if (node.type === 'ObjectExpression') { + checkSorted(node.properties); + } else if (node.type === 'Identifier') { + const propTypesObject = findVariableByName(node, node.name); + if (propTypesObject && propTypesObject.properties) { + checkSorted(propTypesObject.properties); + } + } + } + + // -------------------------------------------------------------------------- + // Public API + // -------------------------------------------------------------------------- + + return { + 'ClassProperty, PropertyDefinition'(node) { + if (!isDefaultPropsDeclaration(node)) { + return; + } + + checkNode(node.value); + }, + + MemberExpression(node) { + if (!isDefaultPropsDeclaration(node)) { + return; + } + + checkNode('right' in node.parent && node.parent.right); + }, + + Program() { + if (isWarnedForDeprecation) { + return; + } + + log('The react/jsx-sort-default-props rule is deprecated. It has been renamed to `react/sort-default-props`.'); + isWarnedForDeprecation = true; + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d7dda5aae5fb74f9f7ebc59afcf14414dc2e39d0 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-sort-props.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..ec19545c4ef95c9a75592b7f518b3a8e57af548f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-sort-props.d.ts","sourceRoot":"","sources":["jsx-sort-props.js"],"names":[],"mappings":"wBAoVW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.js new file mode 100644 index 0000000000000000000000000000000000000000..ec9d869b747f8845b4f8ed4593a76eba43e6b5f1 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.js @@ -0,0 +1,531 @@ +/** + * @fileoverview Enforce props alphabetical sorting + * @author Ilya Volodin, Yannick Croissant + */ + +'use strict'; + +const propName = require('jsx-ast-utils/propName'); +const includes = require('array-includes'); +const toSorted = require('array.prototype.tosorted'); + +const docsUrl = require('../util/docsUrl'); +const jsxUtil = require('../util/jsx'); +const report = require('../util/report'); +const propTypesSortUtil = require('../util/propTypesSort'); +const eslintUtil = require('../util/eslint'); + +const getText = eslintUtil.getText; +const getSourceCode = eslintUtil.getSourceCode; + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +function isMultilineProp(node) { + return node.loc.start.line !== node.loc.end.line; +} + +const messages = { + noUnreservedProps: 'A customized reserved first list must only contain a subset of React reserved props. Remove: {{unreservedWords}}', + listIsEmpty: 'A customized reserved first list must not be empty', + listReservedPropsFirst: 'Reserved props must be listed before all other props', + listCallbacksLast: 'Callbacks must be listed after all other props', + listShorthandFirst: 'Shorthand props must be listed before all other props', + listShorthandLast: 'Shorthand props must be listed after all other props', + listMultilineFirst: 'Multiline props must be listed before all other props', + listMultilineLast: 'Multiline props must be listed after all other props', + sortPropsByAlpha: 'Props should be sorted alphabetically', +}; + +const RESERVED_PROPS_LIST = [ + 'children', + 'dangerouslySetInnerHTML', + 'key', + 'ref', +]; + +function isReservedPropName(name, list) { + return list.indexOf(name) >= 0; +} + +let attributeMap; +// attributeMap = { end: endrange, hasComment: true||false if comment in between nodes exists, it needs to be sorted to end } + +function shouldSortToEnd(node) { + const attr = attributeMap.get(node); + return !!attr && !!attr.hasComment; +} + +function contextCompare(a, b, options) { + let aProp = propName(a); + let bProp = propName(b); + + const aSortToEnd = shouldSortToEnd(a); + const bSortToEnd = shouldSortToEnd(b); + if (aSortToEnd && !bSortToEnd) { + return 1; + } + if (!aSortToEnd && bSortToEnd) { + return -1; + } + + if (options.reservedFirst) { + const aIsReserved = isReservedPropName(aProp, options.reservedList); + const bIsReserved = isReservedPropName(bProp, options.reservedList); + if (aIsReserved && !bIsReserved) { + return -1; + } + if (!aIsReserved && bIsReserved) { + return 1; + } + } + + if (options.callbacksLast) { + const aIsCallback = propTypesSortUtil.isCallbackPropName(aProp); + const bIsCallback = propTypesSortUtil.isCallbackPropName(bProp); + if (aIsCallback && !bIsCallback) { + return 1; + } + if (!aIsCallback && bIsCallback) { + return -1; + } + } + + if (options.shorthandFirst || options.shorthandLast) { + const shorthandSign = options.shorthandFirst ? -1 : 1; + if (!a.value && b.value) { + return shorthandSign; + } + if (a.value && !b.value) { + return -shorthandSign; + } + } + + if (options.multiline !== 'ignore') { + const multilineSign = options.multiline === 'first' ? -1 : 1; + const aIsMultiline = isMultilineProp(a); + const bIsMultiline = isMultilineProp(b); + if (aIsMultiline && !bIsMultiline) { + return multilineSign; + } + if (!aIsMultiline && bIsMultiline) { + return -multilineSign; + } + } + + if (options.noSortAlphabetically) { + return 0; + } + + const actualLocale = options.locale === 'auto' ? undefined : options.locale; + + if (options.ignoreCase) { + aProp = aProp.toLowerCase(); + bProp = bProp.toLowerCase(); + return aProp.localeCompare(bProp, actualLocale); + } + if (aProp === bProp) { + return 0; + } + if (options.locale === 'auto') { + return aProp < bProp ? -1 : 1; + } + return aProp.localeCompare(bProp, actualLocale); +} + +/** + * Create an array of arrays where each subarray is composed of attributes + * that are considered sortable. + * @param {Array} attributes + * @param {Object} context The context of the rule + * @return {Array>} + */ +function getGroupsOfSortableAttributes(attributes, context) { + const sourceCode = getSourceCode(context); + + const sortableAttributeGroups = []; + let groupCount = 0; + function addtoSortableAttributeGroups(attribute) { + sortableAttributeGroups[groupCount - 1].push(attribute); + } + + for (let i = 0; i < attributes.length; i++) { + const attribute = attributes[i]; + const nextAttribute = attributes[i + 1]; + const attributeline = attribute.loc.start.line; + let comment = []; + try { + comment = sourceCode.getCommentsAfter(attribute); + } catch (e) { /**/ } + const lastAttr = attributes[i - 1]; + const attrIsSpread = attribute.type === 'JSXSpreadAttribute'; + + // If we have no groups or if the last attribute was JSXSpreadAttribute + // then we start a new group. Append attributes to the group until we + // come across another JSXSpreadAttribute or exhaust the array. + if ( + !lastAttr + || (lastAttr.type === 'JSXSpreadAttribute' && !attrIsSpread) + ) { + groupCount += 1; + sortableAttributeGroups[groupCount - 1] = []; + } + if (!attrIsSpread) { + if (comment.length === 0) { + attributeMap.set(attribute, { end: attribute.range[1], hasComment: false }); + addtoSortableAttributeGroups(attribute); + } else { + const firstComment = comment[0]; + const commentline = firstComment.loc.start.line; + if (comment.length === 1) { + if (attributeline + 1 === commentline && nextAttribute) { + attributeMap.set(attribute, { end: nextAttribute.range[1], hasComment: true }); + addtoSortableAttributeGroups(attribute); + i += 1; + } else if (attributeline === commentline) { + if (firstComment.type === 'Block' && nextAttribute) { + attributeMap.set(attribute, { end: nextAttribute.range[1], hasComment: true }); + i += 1; + } else if (firstComment.type === 'Block') { + attributeMap.set(attribute, { end: firstComment.range[1], hasComment: true }); + } else { + attributeMap.set(attribute, { end: firstComment.range[1], hasComment: false }); + } + addtoSortableAttributeGroups(attribute); + } + } else if (comment.length > 1 && attributeline + 1 === comment[1].loc.start.line && nextAttribute) { + const commentNextAttribute = sourceCode.getCommentsAfter(nextAttribute); + attributeMap.set(attribute, { end: nextAttribute.range[1], hasComment: true }); + if ( + commentNextAttribute.length === 1 + && nextAttribute.loc.start.line === commentNextAttribute[0].loc.start.line + ) { + attributeMap.set(attribute, { end: commentNextAttribute[0].range[1], hasComment: true }); + } + addtoSortableAttributeGroups(attribute); + i += 1; + } + } + } + } + return sortableAttributeGroups; +} + +function generateFixerFunction(node, context, reservedList) { + const attributes = node.attributes.slice(0); + const configuration = context.options[0] || {}; + const ignoreCase = configuration.ignoreCase || false; + const callbacksLast = configuration.callbacksLast || false; + const shorthandFirst = configuration.shorthandFirst || false; + const shorthandLast = configuration.shorthandLast || false; + const multiline = configuration.multiline || 'ignore'; + const noSortAlphabetically = configuration.noSortAlphabetically || false; + const reservedFirst = configuration.reservedFirst || false; + const locale = configuration.locale || 'auto'; + + // Sort props according to the context. Only supports ignoreCase. + // Since we cannot safely move JSXSpreadAttribute (due to potential variable overrides), + // we only consider groups of sortable attributes. + const options = { + ignoreCase, + callbacksLast, + shorthandFirst, + shorthandLast, + multiline, + noSortAlphabetically, + reservedFirst, + reservedList, + locale, + }; + const sortableAttributeGroups = getGroupsOfSortableAttributes(attributes, context); + const sortedAttributeGroups = sortableAttributeGroups + .slice(0) + .map((group) => toSorted(group, (a, b) => contextCompare(a, b, options))); + + return function fixFunction(fixer) { + const fixers = []; + let source = getText(context); + + sortableAttributeGroups.forEach((sortableGroup, ii) => { + sortableGroup.forEach((attr, jj) => { + const sortedAttr = sortedAttributeGroups[ii][jj]; + const sortedAttrText = source.slice(sortedAttr.range[0], attributeMap.get(sortedAttr).end); + fixers.push({ + range: [attr.range[0], attributeMap.get(attr).end], + text: sortedAttrText, + }); + }); + }); + + fixers.sort((a, b) => b.range[0] - a.range[0]); + + const firstFixer = fixers[0]; + const lastFixer = fixers[fixers.length - 1]; + const rangeStart = lastFixer ? lastFixer.range[0] : 0; + const rangeEnd = firstFixer ? firstFixer.range[1] : -0; + + fixers.forEach((fix) => { + source = `${source.slice(0, fix.range[0])}${fix.text}${source.slice(fix.range[1])}`; + }); + + return fixer.replaceTextRange([rangeStart, rangeEnd], source.slice(rangeStart, rangeEnd)); + }; +} + +/** + * Checks if the `reservedFirst` option is valid + * @param {Object} context The context of the rule + * @param {boolean | string[]} reservedFirst The `reservedFirst` option + * @return {Function | undefined} If an error is detected, a function to generate the error message, otherwise, `undefined` + */ +// eslint-disable-next-line consistent-return +function validateReservedFirstConfig(context, reservedFirst) { + if (reservedFirst) { + if (Array.isArray(reservedFirst)) { + // Only allow a subset of reserved words in customized lists + const nonReservedWords = reservedFirst.filter((word) => !isReservedPropName( + word, + RESERVED_PROPS_LIST + )); + + if (reservedFirst.length === 0) { + return function Report(decl) { + report(context, messages.listIsEmpty, 'listIsEmpty', { + node: decl, + }); + }; + } + if (nonReservedWords.length > 0) { + return function Report(decl) { + report(context, messages.noUnreservedProps, 'noUnreservedProps', { + node: decl, + data: { + unreservedWords: nonReservedWords.toString(), + }, + }); + }; + } + } + } +} + +const reportedNodeAttributes = new WeakMap(); +/** + * Check if the current node attribute has already been reported with the same error type + * if that's the case then we don't report a new error + * otherwise we report the error + * @param {Object} nodeAttribute The node attribute to be reported + * @param {string} errorType The error type to be reported + * @param {Object} node The parent node for the node attribute + * @param {Object} context The context of the rule + * @param {Array} reservedList The list of reserved props + */ +function reportNodeAttribute(nodeAttribute, errorType, node, context, reservedList) { + const errors = reportedNodeAttributes.get(nodeAttribute) || []; + + if (includes(errors, errorType)) { + return; + } + + errors.push(errorType); + + reportedNodeAttributes.set(nodeAttribute, errors); + + report(context, messages[errorType], errorType, { + node: nodeAttribute.name, + fix: generateFixerFunction(node, context, reservedList), + }); +} + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce props alphabetical sorting', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-sort-props'), + }, + fixable: 'code', + + messages, + + schema: [{ + type: 'object', + properties: { + // Whether callbacks (prefixed with "on") should be listed at the very end, + // after all other props. Supersedes shorthandLast. + callbacksLast: { + type: 'boolean', + }, + // Whether shorthand properties (without a value) should be listed first + shorthandFirst: { + type: 'boolean', + }, + // Whether shorthand properties (without a value) should be listed last + shorthandLast: { + type: 'boolean', + }, + // Whether multiline properties should be listed first or last + multiline: { + enum: ['ignore', 'first', 'last'], + default: 'ignore', + }, + ignoreCase: { + type: 'boolean', + }, + // Whether alphabetical sorting should be enforced + noSortAlphabetically: { + type: 'boolean', + }, + reservedFirst: { + type: ['array', 'boolean'], + }, + locale: { + type: 'string', + default: 'auto', + }, + }, + additionalProperties: false, + }], + }, + + create(context) { + const configuration = context.options[0] || {}; + const ignoreCase = configuration.ignoreCase || false; + const callbacksLast = configuration.callbacksLast || false; + const shorthandFirst = configuration.shorthandFirst || false; + const shorthandLast = configuration.shorthandLast || false; + const multiline = configuration.multiline || 'ignore'; + const noSortAlphabetically = configuration.noSortAlphabetically || false; + const reservedFirst = configuration.reservedFirst || false; + const reservedFirstError = validateReservedFirstConfig(context, reservedFirst); + const reservedList = Array.isArray(reservedFirst) ? reservedFirst : RESERVED_PROPS_LIST; + const locale = configuration.locale || 'auto'; + + return { + Program() { + attributeMap = new WeakMap(); + }, + + JSXOpeningElement(node) { + // `dangerouslySetInnerHTML` is only "reserved" on DOM components + const nodeReservedList = reservedFirst && !jsxUtil.isDOMComponent(node) ? reservedList.filter((prop) => prop !== 'dangerouslySetInnerHTML') : reservedList; + + node.attributes.reduce((memo, decl, idx, attrs) => { + if (decl.type === 'JSXSpreadAttribute') { + return attrs[idx + 1]; + } + + let previousPropName = propName(memo); + let currentPropName = propName(decl); + const previousValue = memo.value; + const currentValue = decl.value; + const previousIsCallback = propTypesSortUtil.isCallbackPropName(previousPropName); + const currentIsCallback = propTypesSortUtil.isCallbackPropName(currentPropName); + + if (ignoreCase) { + previousPropName = previousPropName.toLowerCase(); + currentPropName = currentPropName.toLowerCase(); + } + + if (reservedFirst) { + if (reservedFirstError) { + reservedFirstError(decl); + return memo; + } + + const previousIsReserved = isReservedPropName(previousPropName, nodeReservedList); + const currentIsReserved = isReservedPropName(currentPropName, nodeReservedList); + + if (previousIsReserved && !currentIsReserved) { + return decl; + } + if (!previousIsReserved && currentIsReserved) { + reportNodeAttribute(decl, 'listReservedPropsFirst', node, context, nodeReservedList); + + return memo; + } + } + + if (callbacksLast) { + if (!previousIsCallback && currentIsCallback) { + // Entering the callback prop section + return decl; + } + if (previousIsCallback && !currentIsCallback) { + // Encountered a non-callback prop after a callback prop + reportNodeAttribute(memo, 'listCallbacksLast', node, context, nodeReservedList); + + return memo; + } + } + + if (shorthandFirst) { + if (currentValue && !previousValue) { + return decl; + } + if (!currentValue && previousValue) { + reportNodeAttribute(decl, 'listShorthandFirst', node, context, nodeReservedList); + + return memo; + } + } + + if (shorthandLast) { + if (!currentValue && previousValue) { + return decl; + } + if (currentValue && !previousValue) { + reportNodeAttribute(memo, 'listShorthandLast', node, context, nodeReservedList); + + return memo; + } + } + + const previousIsMultiline = isMultilineProp(memo); + const currentIsMultiline = isMultilineProp(decl); + if (multiline === 'first') { + if (previousIsMultiline && !currentIsMultiline) { + // Exiting the multiline prop section + return decl; + } + if (!previousIsMultiline && currentIsMultiline) { + // Encountered a non-multiline prop before a multiline prop + reportNodeAttribute(decl, 'listMultilineFirst', node, context, nodeReservedList); + + return memo; + } + } else if (multiline === 'last') { + if (!previousIsMultiline && currentIsMultiline) { + // Entering the multiline prop section + return decl; + } + if (previousIsMultiline && !currentIsMultiline) { + // Encountered a non-multiline prop after a multiline prop + reportNodeAttribute(memo, 'listMultilineLast', node, context, nodeReservedList); + + return memo; + } + } + + if ( + !noSortAlphabetically + && ( + (ignoreCase || locale !== 'auto') + ? previousPropName.localeCompare(currentPropName, locale === 'auto' ? undefined : locale) > 0 + : previousPropName > currentPropName + ) + ) { + reportNodeAttribute(decl, 'sortPropsByAlpha', node, context, nodeReservedList); + + return memo; + } + + return decl; + }, node.attributes[0]); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-space-before-closing.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-space-before-closing.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..393dcb0f08b1b0d7f40310069de26ff48cf0435b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-space-before-closing.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-space-before-closing.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-space-before-closing.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-space-before-closing.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..243cb044d992f3e75134201f5a91a87c8a25e993 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-space-before-closing.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-space-before-closing.d.ts","sourceRoot":"","sources":["jsx-space-before-closing.js"],"names":[],"mappings":"wBAyBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-space-before-closing.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-space-before-closing.js new file mode 100644 index 0000000000000000000000000000000000000000..2cef238841efc021bbb136d62b9d4fe29997a25e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-space-before-closing.js @@ -0,0 +1,98 @@ +/** + * @fileoverview Validate spacing before closing bracket in JSX. + * @author ryym + * @deprecated + */ + +'use strict'; + +const getTokenBeforeClosingBracket = require('../util/getTokenBeforeClosingBracket'); +const docsUrl = require('../util/docsUrl'); +const log = require('../util/log'); +const report = require('../util/report'); +const getSourceCode = require('../util/eslint').getSourceCode; + +let isWarnedForDeprecation = false; + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + noSpaceBeforeClose: 'A space is forbidden before closing bracket', + needSpaceBeforeClose: 'A space is required before closing bracket', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + deprecated: true, + replacedBy: ['jsx-tag-spacing'], + docs: { + description: 'Enforce spacing before closing bracket in JSX', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-space-before-closing'), + }, + fixable: 'code', + + messages, + + schema: [{ + enum: ['always', 'never'], + }], + }, + + create(context) { + const configuration = context.options[0] || 'always'; + + // -------------------------------------------------------------------------- + // Public + // -------------------------------------------------------------------------- + + return { + JSXOpeningElement(node) { + if (!node.selfClosing) { + return; + } + + const sourceCode = getSourceCode(context); + + const leftToken = getTokenBeforeClosingBracket(node); + const closingSlash = /** @type {import('eslint').AST.Token} */ (sourceCode.getTokenAfter(leftToken)); + + if (leftToken.loc.end.line !== closingSlash.loc.start.line) { + return; + } + + if (configuration === 'always' && !sourceCode.isSpaceBetweenTokens(leftToken, closingSlash)) { + report(context, messages.needSpaceBeforeClose, 'needSpaceBeforeClose', { + loc: closingSlash.loc.start, + fix(fixer) { + return fixer.insertTextBefore(closingSlash, ' '); + }, + }); + } else if (configuration === 'never' && sourceCode.isSpaceBetweenTokens(leftToken, closingSlash)) { + report(context, messages.noSpaceBeforeClose, 'noSpaceBeforeClose', { + loc: closingSlash.loc.start, + fix(fixer) { + const previousToken = sourceCode.getTokenBefore(closingSlash); + return fixer.removeRange([previousToken.range[1], closingSlash.range[0]]); + }, + }); + } + }, + + Program() { + if (isWarnedForDeprecation) { + return; + } + + log('The react/jsx-space-before-closing rule is deprecated. ' + + 'Please use the react/jsx-tag-spacing rule with the ' + + '"beforeSelfClosing" option instead.'); + isWarnedForDeprecation = true; + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-tag-spacing.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-tag-spacing.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6bfcf83cab701cf5eb692a864e88cd3ea621e4d9 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-tag-spacing.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-tag-spacing.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-tag-spacing.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-tag-spacing.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..a6f1d0c83fde700412728eec0a16439469199b2f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-tag-spacing.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-tag-spacing.d.ts","sourceRoot":"","sources":["jsx-tag-spacing.js"],"names":[],"mappings":"wBAqQW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-tag-spacing.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-tag-spacing.js new file mode 100644 index 0000000000000000000000000000000000000000..ac7c6932789f0198f4cc2a276b351b4e4aed5ded --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-tag-spacing.js @@ -0,0 +1,328 @@ +/** + * @fileoverview Validates whitespace in and around the JSX opening and closing brackets + * @author Diogo Franco (Kovensky) + */ + +'use strict'; + +const getTokenBeforeClosingBracket = require('../util/getTokenBeforeClosingBracket'); +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); +const eslintUtil = require('../util/eslint'); + +const getFirstTokens = eslintUtil.getFirstTokens; +const getSourceCode = eslintUtil.getSourceCode; + +const messages = { + selfCloseSlashNoSpace: 'Whitespace is forbidden between `/` and `>`; write `/>`', + selfCloseSlashNeedSpace: 'Whitespace is required between `/` and `>`; write `/ >`', + closeSlashNoSpace: 'Whitespace is forbidden between `<` and `/`; write ` isTagNameRe.test(name); + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + // eslint-disable-next-line eslint-plugin/prefer-message-ids -- https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/issues/292 + meta: { + docs: { + description: 'Disallow variables used in JSX to be incorrectly marked as unused', + category: 'Best Practices', + recommended: true, + url: docsUrl('jsx-uses-vars'), + }, + schema: [], + }, + + create(context) { + return { + JSXOpeningElement(node) { + let name; + if (node.name.namespace) { + // + return; + } + if (node.name.name) { + // + name = node.name.name; + // Exclude lowercase tag names like
+ if (isTagName(name)) { + return; + } + } else if (node.name.object) { + // + let parent = node.name.object; + while (parent.object) { + parent = parent.object; + } + name = parent.name; + } else { + return; + } + + markVariableAsUsed(name, node, context); + }, + + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-wrap-multilines.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-wrap-multilines.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4b7b8013fa02f0843aa15398bb8da30734e421e8 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-wrap-multilines.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=jsx-wrap-multilines.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-wrap-multilines.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-wrap-multilines.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..abab2ad088f38cc890a9839743e1b34edd967055 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-wrap-multilines.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx-wrap-multilines.d.ts","sourceRoot":"","sources":["jsx-wrap-multilines.js"],"names":[],"mappings":"wBAyCW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-wrap-multilines.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-wrap-multilines.js new file mode 100644 index 0000000000000000000000000000000000000000..6f5ad50bbf5c162122a079fbd6f353ad58b776ae --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/jsx-wrap-multilines.js @@ -0,0 +1,275 @@ +/** + * @fileoverview Prevent missing parentheses around multilines JSX + * @author Yannick Croissant + */ + +'use strict'; + +const has = require('hasown'); +const docsUrl = require('../util/docsUrl'); +const eslintUtil = require('../util/eslint'); +const jsxUtil = require('../util/jsx'); +const reportC = require('../util/report'); +const isParenthesized = require('../util/ast').isParenthesized; + +const getSourceCode = eslintUtil.getSourceCode; +const getText = eslintUtil.getText; + +// ------------------------------------------------------------------------------ +// Constants +// ------------------------------------------------------------------------------ + +const DEFAULTS = { + declaration: 'parens', + assignment: 'parens', + return: 'parens', + arrow: 'parens', + condition: 'ignore', + logical: 'ignore', + prop: 'ignore', +}; + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + missingParens: 'Missing parentheses around multilines JSX', + extraParens: 'Expected no parentheses around multilines JSX', + parensOnNewLines: 'Parentheses around JSX should be on separate lines', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow missing parentheses around multiline JSX', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('jsx-wrap-multilines'), + }, + fixable: 'code', + + messages, + + schema: [{ + type: 'object', + // true/false are for backwards compatibility + properties: { + declaration: { + enum: [true, false, 'ignore', 'parens', 'parens-new-line', 'never'], + }, + assignment: { + enum: [true, false, 'ignore', 'parens', 'parens-new-line', 'never'], + }, + return: { + enum: [true, false, 'ignore', 'parens', 'parens-new-line', 'never'], + }, + arrow: { + enum: [true, false, 'ignore', 'parens', 'parens-new-line', 'never'], + }, + condition: { + enum: [true, false, 'ignore', 'parens', 'parens-new-line', 'never'], + }, + logical: { + enum: [true, false, 'ignore', 'parens', 'parens-new-line', 'never'], + }, + prop: { + enum: [true, false, 'ignore', 'parens', 'parens-new-line', 'never'], + }, + }, + additionalProperties: false, + }], + }, + + create(context) { + function getOption(type) { + const userOptions = context.options[0] || {}; + if (has(userOptions, type)) { + return userOptions[type]; + } + return DEFAULTS[type]; + } + + function isEnabled(type) { + const option = getOption(type); + return option && option !== 'ignore'; + } + + function needsOpeningNewLine(node) { + const previousToken = getSourceCode(context).getTokenBefore(node); + + if (!isParenthesized(context, node)) { + return false; + } + + if (previousToken.loc.end.line === node.loc.start.line) { + return true; + } + + return false; + } + + function needsClosingNewLine(node) { + const nextToken = getSourceCode(context).getTokenAfter(node); + + if (!isParenthesized(context, node)) { + return false; + } + + if (node.loc.end.line === nextToken.loc.end.line) { + return true; + } + + return false; + } + + function isMultilines(node) { + return node.loc.start.line !== node.loc.end.line; + } + + function report(node, messageId, fix) { + reportC(context, messages[messageId], messageId, { + node, + fix, + }); + } + + function trimTokenBeforeNewline(node, tokenBefore) { + // if the token before the jsx is a bracket or curly brace + // we don't want a space between the opening parentheses and the multiline jsx + const isBracket = tokenBefore.value === '{' || tokenBefore.value === '['; + return `${tokenBefore.value.trim()}${isBracket ? '' : ' '}`; + } + + function check(node, type) { + if (!node || !jsxUtil.isJSX(node)) { + return; + } + + const sourceCode = getSourceCode(context); + const option = getOption(type); + + if ((option === true || option === 'parens') && !isParenthesized(context, node) && isMultilines(node)) { + report(node, 'missingParens', (fixer) => fixer.replaceText(node, `(${getText(context, node)})`)); + } + + if (option === 'parens-new-line' && isMultilines(node)) { + if (!isParenthesized(context, node)) { + const tokenBefore = sourceCode.getTokenBefore(node, { includeComments: true }); + const tokenAfter = sourceCode.getTokenAfter(node, { includeComments: true }); + const start = node.loc.start; + if (tokenBefore.loc.end.line < start.line) { + // Strip newline after operator if parens newline is specified + report( + node, + 'missingParens', + (fixer) => fixer.replaceTextRange( + [tokenBefore.range[0], tokenAfter && (tokenAfter.value === ';' || tokenAfter.value === '}') ? tokenAfter.range[0] : node.range[1]], + `${trimTokenBeforeNewline(node, tokenBefore)}(\n${start.column > 0 ? ' '.repeat(start.column) : ''}${getText(context, node)}\n${start.column > 0 ? ' '.repeat(start.column - 2) : ''})` + ) + ); + } else { + report(node, 'missingParens', (fixer) => fixer.replaceText(node, `(\n${getText(context, node)}\n)`)); + } + } else { + const needsOpening = needsOpeningNewLine(node); + const needsClosing = needsClosingNewLine(node); + if (needsOpening || needsClosing) { + report(node, 'parensOnNewLines', (fixer) => { + const text = getText(context, node); + let fixed = text; + if (needsOpening) { + fixed = `\n${fixed}`; + } + if (needsClosing) { + fixed = `${fixed}\n`; + } + return fixer.replaceText(node, fixed); + }); + } + } + } + + if (option === 'never' && isParenthesized(context, node)) { + const tokenBefore = sourceCode.getTokenBefore(node); + const tokenAfter = sourceCode.getTokenAfter(node); + report(node, 'extraParens', (fixer) => fixer.replaceTextRange( + [tokenBefore.range[0], tokenAfter.range[1]], + getText(context, node) + )); + } + } + + // -------------------------------------------------------------------------- + // Public + // -------------------------------------------------------------------------- + + return { + + VariableDeclarator(node) { + const type = 'declaration'; + if (!isEnabled(type)) { + return; + } + if (!isEnabled('condition') && node.init && node.init.type === 'ConditionalExpression') { + check(node.init.consequent, type); + check(node.init.alternate, type); + return; + } + check(node.init, type); + }, + + AssignmentExpression(node) { + const type = 'assignment'; + if (!isEnabled(type)) { + return; + } + if (!isEnabled('condition') && node.right.type === 'ConditionalExpression') { + check(node.right.consequent, type); + check(node.right.alternate, type); + return; + } + check(node.right, type); + }, + + ReturnStatement(node) { + const type = 'return'; + if (isEnabled(type)) { + check(node.argument, type); + } + }, + + 'ArrowFunctionExpression:exit': (node) => { + const arrowBody = node.body; + const type = 'arrow'; + + if (isEnabled(type) && arrowBody.type !== 'BlockStatement') { + check(arrowBody, type); + } + }, + + ConditionalExpression(node) { + const type = 'condition'; + if (isEnabled(type)) { + check(node.consequent, type); + check(node.alternate, type); + } + }, + + LogicalExpression(node) { + const type = 'logical'; + if (isEnabled(type)) { + check(node.right, type); + } + }, + + JSXAttribute(node) { + const type = 'prop'; + if (isEnabled(type) && node.value && node.value.type === 'JSXExpressionContainer') { + check(node.value.expression, type); + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-access-state-in-setstate.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-access-state-in-setstate.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..68bb9eb6c0bdbc469601aa3e5ee98b161f36f6df --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-access-state-in-setstate.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-access-state-in-setstate.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-access-state-in-setstate.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-access-state-in-setstate.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..af8e61bbb7f24725856dbc0cdbf2fa5dfb9d39c9 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-access-state-in-setstate.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-access-state-in-setstate.d.ts","sourceRoot":"","sources":["no-access-state-in-setstate.js"],"names":[],"mappings":"wBAqBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-access-state-in-setstate.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-access-state-in-setstate.js new file mode 100644 index 0000000000000000000000000000000000000000..1b23dd88eee8d853ef171776e0c13e28d71e09a7 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-access-state-in-setstate.js @@ -0,0 +1,211 @@ +/** + * @fileoverview Prevent usage of this.state within setState + * @author Rolf Erik Lekang, Jørgen Aaberg + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const astUtil = require('../util/ast'); +const componentUtil = require('../util/componentUtil'); +const report = require('../util/report'); +const getScope = require('../util/eslint').getScope; + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + useCallback: 'Use callback in setState when referencing the previous state.', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow when this.state is accessed within setState', + category: 'Possible Errors', + recommended: false, + url: docsUrl('no-access-state-in-setstate'), + }, + + messages, + }, + + create(context) { + function isSetStateCall(node) { + return astUtil.isCallExpression(node) + && node.callee.property + && node.callee.property.name === 'setState' + && node.callee.object.type === 'ThisExpression'; + } + + function isFirstArgumentInSetStateCall(current, node) { + if (!isSetStateCall(current)) { + return false; + } + while (node && node.parent !== current) { + node = node.parent; + } + return current.arguments[0] === node; + } + + /** + * @param {ASTNode} node + * @returns {boolean} + */ + function isClassComponent(node) { + return !!( + componentUtil.getParentES6Component(context, node) + || componentUtil.getParentES5Component(context, node) + ); + } + + // The methods array contains all methods or functions that are using this.state + // or that are calling another method or function using this.state + const methods = []; + // The vars array contains all variables that contains this.state + const vars = []; + return { + CallExpression(node) { + if (!isClassComponent(node)) { + return; + } + // Appends all the methods that are calling another + // method containing this.state to the methods array + methods.forEach((method) => { + if ('name' in node.callee && node.callee.name === method.methodName) { + let current = node.parent; + while (current.type !== 'Program') { + if (current.type === 'MethodDefinition') { + methods.push({ + methodName: 'name' in current.key ? current.key.name : undefined, + node: method.node, + }); + break; + } + current = current.parent; + } + } + }); + + // Finding all CallExpressions that is inside a setState + // to further check if they contains this.state + let current = node.parent; + while (current.type !== 'Program') { + if (isFirstArgumentInSetStateCall(current, node)) { + const methodName = 'name' in node.callee ? node.callee.name : undefined; + methods.forEach((method) => { + if (method.methodName === methodName) { + report(context, messages.useCallback, 'useCallback', { + node: method.node, + }); + } + }); + + break; + } + current = current.parent; + } + }, + + MemberExpression(node) { + if ( + 'name' in node.property + && node.property.name === 'state' + && node.object.type === 'ThisExpression' + && isClassComponent(node) + ) { + /** @type {import('eslint').Rule.Node} */ + let current = node; + while (current.type !== 'Program') { + // Reporting if this.state is directly within this.setState + if (isFirstArgumentInSetStateCall(current, node)) { + report(context, messages.useCallback, 'useCallback', { + node, + }); + break; + } + + // Storing all functions and methods that contains this.state + if (current.type === 'MethodDefinition') { + methods.push({ + methodName: 'name' in current.key ? current.key.name : undefined, + node, + }); + break; + } else if ( + current.type === 'FunctionExpression' + && 'key' in current.parent + && current.parent.key + ) { + methods.push({ + methodName: 'name' in current.parent.key ? current.parent.key.name : undefined, + node, + }); + break; + } + + // Storing all variables containing this.state + if (current.type === 'VariableDeclarator') { + vars.push({ + node, + scope: getScope(context, node), + variableName: 'name' in current.id ? current.id.name : undefined, + }); + break; + } + + current = current.parent; + } + } + }, + + Identifier(node) { + // Checks if the identifier is a variable within an object + /** @type {import('eslint').Rule.Node} */ + let current = node; + while (current.parent.type === 'BinaryExpression') { + current = current.parent; + } + if ( + ('value' in current.parent && current.parent.value === current) + || ('object' in current.parent && current.parent.object === current) + ) { + while (current.type !== 'Program') { + if (isFirstArgumentInSetStateCall(current, node)) { + vars + .filter((v) => v.scope === getScope(context, node) && v.variableName === node.name) + .forEach((v) => { + report(context, messages.useCallback, 'useCallback', { + node: v.node, + }); + }); + } + current = current.parent; + } + } + }, + + ObjectPattern(node) { + const isDerivedFromThis = 'init' in node.parent && node.parent.init && node.parent.init.type === 'ThisExpression'; + node.properties.forEach((property) => { + if ( + property + && 'key' in property + && property.key + && 'name' in property.key + && property.key.name === 'state' + && isDerivedFromThis + ) { + vars.push({ + node: property.key, + scope: getScope(context, node), + variableName: property.key.name, + }); + } + }); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-adjacent-inline-elements.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-adjacent-inline-elements.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..50e434940a6010c3193ec0b286ccbfa6dee41e04 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-adjacent-inline-elements.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-adjacent-inline-elements.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-adjacent-inline-elements.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-adjacent-inline-elements.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..745cc94765d87334c08bfc34f6dd15740b67a29a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-adjacent-inline-elements.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-adjacent-inline-elements.d.ts","sourceRoot":"","sources":["no-adjacent-inline-elements.js"],"names":[],"mappings":"wBA+EW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-adjacent-inline-elements.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-adjacent-inline-elements.js new file mode 100644 index 0000000000000000000000000000000000000000..8110d8563b72bbeacb38ab25446b3c0fbc9644ce --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-adjacent-inline-elements.js @@ -0,0 +1,127 @@ +/** + * @fileoverview Prevent adjacent inline elements not separated by whitespace. + * @author Sean Hayes + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const isCreateElement = require('../util/isCreateElement'); +const report = require('../util/report'); +const astUtil = require('../util/ast'); + +// ------------------------------------------------------------------------------ +// Helpers +// ------------------------------------------------------------------------------ + +// https://developer.mozilla.org/en-US/docs/Web/HTML/Inline_elements +const inlineNames = [ + 'a', + 'b', + 'big', + 'i', + 'small', + 'tt', + 'abbr', + 'acronym', + 'cite', + 'code', + 'dfn', + 'em', + 'kbd', + 'strong', + 'samp', + 'time', + 'var', + 'bdo', + 'br', + 'img', + 'map', + 'object', + 'q', + 'script', + 'span', + 'sub', + 'sup', + 'button', + 'input', + 'label', + 'select', + 'textarea', +]; +// Note: raw   will be transformed into \u00a0. +const whitespaceRegex = /(?:^\s|\s$)/; + +function isInline(node) { + if (node.type === 'Literal') { + // Regular whitespace will be removed. + const value = node.value; + // To properly separate inline elements, each end of the literal will need + // whitespace. + return !whitespaceRegex.test(value); + } + if (node.type === 'JSXElement' && inlineNames.indexOf(node.openingElement.name.name) > -1) { + return true; + } + if (astUtil.isCallExpression(node) && inlineNames.indexOf(node.arguments[0].value) > -1) { + return true; + } + return false; +} + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + inlineElement: 'Child elements which render as inline HTML elements should be separated by a space or wrapped in block level elements.', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow adjacent inline elements not separated by whitespace.', + category: 'Best Practices', + recommended: false, + url: docsUrl('no-adjacent-inline-elements'), + }, + schema: [], + + messages, + }, + create(context) { + function validate(node, children) { + let currentIsInline = false; + let previousIsInline = false; + if (!children) { + return; + } + for (let i = 0; i < children.length; i++) { + currentIsInline = isInline(children[i]); + if (previousIsInline && currentIsInline) { + report(context, messages.inlineElement, 'inlineElement', { + node, + }); + return; + } + previousIsInline = currentIsInline; + } + } + return { + JSXElement(node) { + validate(node, node.children); + }, + CallExpression(node) { + if (!isCreateElement(context, node)) { + return; + } + if (node.arguments.length < 2 || !node.arguments[2]) { + return; + } + const children = 'elements' in node.arguments[2] ? node.arguments[2].elements : undefined; + validate(node, children); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-array-index-key.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-array-index-key.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..7487572540920aa6bf7f486ca76d902192bc265b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-array-index-key.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-array-index-key.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-array-index-key.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-array-index-key.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..b64273ac0146eb197e934096f16329a54d774938 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-array-index-key.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-array-index-key.d.ts","sourceRoot":"","sources":["no-array-index-key.js"],"names":[],"mappings":"wBA2CW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-array-index-key.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-array-index-key.js new file mode 100644 index 0000000000000000000000000000000000000000..90381b3a08549532602dcc31af33325edd67c54c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-array-index-key.js @@ -0,0 +1,293 @@ +/** + * @fileoverview Prevent usage of Array index in keys + * @author Joe Lencioni + */ + +'use strict'; + +const has = require('hasown'); +const astUtil = require('../util/ast'); +const docsUrl = require('../util/docsUrl'); +const pragma = require('../util/pragma'); +const report = require('../util/report'); +const variableUtil = require('../util/variable'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +function isCreateCloneElement(node, context) { + if (!node) { + return false; + } + + if (node.type === 'MemberExpression' || node.type === 'OptionalMemberExpression') { + return node.object + && node.object.name === pragma.getFromContext(context) + && ['createElement', 'cloneElement'].indexOf(node.property.name) !== -1; + } + + if (node.type === 'Identifier') { + const variable = variableUtil.findVariableByName(context, node, node.name); + if (variable && variable.type === 'ImportSpecifier') { + return variable.parent.source.value === 'react'; + } + } + + return false; +} + +const messages = { + noArrayIndex: 'Do not use Array index in keys', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow usage of Array index in keys', + category: 'Best Practices', + recommended: false, + url: docsUrl('no-array-index-key'), + }, + + messages, + + schema: [], + }, + + create(context) { + // -------------------------------------------------------------------------- + // Public + // -------------------------------------------------------------------------- + const indexParamNames = []; + const iteratorFunctionsToIndexParamPosition = { + every: 1, + filter: 1, + find: 1, + findIndex: 1, + flatMap: 1, + forEach: 1, + map: 1, + reduce: 2, + reduceRight: 2, + some: 1, + }; + + function isArrayIndex(node) { + return node.type === 'Identifier' + && indexParamNames.indexOf(node.name) !== -1; + } + + function isUsingReactChildren(node) { + const callee = node.callee; + if ( + !callee + || !callee.property + || !callee.object + ) { + return null; + } + + const isReactChildMethod = ['map', 'forEach'].indexOf(callee.property.name) > -1; + if (!isReactChildMethod) { + return null; + } + + const obj = callee.object; + if (obj && obj.name === 'Children') { + return true; + } + if (obj && obj.object && obj.object.name === pragma.getFromContext(context)) { + return true; + } + + return false; + } + + function getMapIndexParamName(node) { + const callee = node.callee; + if (callee.type !== 'MemberExpression' && callee.type !== 'OptionalMemberExpression') { + return null; + } + if (callee.property.type !== 'Identifier') { + return null; + } + if (!has(iteratorFunctionsToIndexParamPosition, callee.property.name)) { + return null; + } + + const name = /** @type {keyof iteratorFunctionsToIndexParamPosition} */ (callee.property.name); + + const callbackArg = isUsingReactChildren(node) + ? node.arguments[1] + : node.arguments[0]; + + if (!callbackArg) { + return null; + } + + if (!astUtil.isFunctionLikeExpression(callbackArg)) { + return null; + } + + const params = callbackArg.params; + + const indexParamPosition = iteratorFunctionsToIndexParamPosition[name]; + if (params.length < indexParamPosition + 1) { + return null; + } + + return params[indexParamPosition].name; + } + + function getIdentifiersFromBinaryExpression(side) { + if (side.type === 'Identifier') { + return side; + } + + if (side.type === 'BinaryExpression') { + // recurse + const left = getIdentifiersFromBinaryExpression(side.left); + const right = getIdentifiersFromBinaryExpression(side.right); + return [].concat(left, right).filter(Boolean); + } + + return null; + } + + function checkPropValue(node) { + if (isArrayIndex(node)) { + // key={bar} + report(context, messages.noArrayIndex, 'noArrayIndex', { + node, + }); + return; + } + + if (node.type === 'TemplateLiteral') { + // key={`foo-${bar}`} + node.expressions.filter(isArrayIndex).forEach(() => { + report(context, messages.noArrayIndex, 'noArrayIndex', { + node, + }); + }); + + return; + } + + if (node.type === 'BinaryExpression') { + // key={'foo' + bar} + const identifiers = getIdentifiersFromBinaryExpression(node); + + identifiers.filter(isArrayIndex).forEach(() => { + report(context, messages.noArrayIndex, 'noArrayIndex', { + node, + }); + }); + + return; + } + + if ( + astUtil.isCallExpression(node) + && node.callee + && node.callee.type === 'MemberExpression' + && node.callee.object + && isArrayIndex(node.callee.object) + && node.callee.property + && node.callee.property.type === 'Identifier' + && node.callee.property.name === 'toString' + ) { + // key={bar.toString()} + report(context, messages.noArrayIndex, 'noArrayIndex', { + node, + }); + return; + } + + if ( + astUtil.isCallExpression(node) + && node.callee + && node.callee.type === 'Identifier' + && node.callee.name === 'String' + && Array.isArray(node.arguments) + && node.arguments.length > 0 + && isArrayIndex(node.arguments[0]) + ) { + // key={String(bar)} + report(context, messages.noArrayIndex, 'noArrayIndex', { + node: node.arguments[0], + }); + } + } + + function popIndex(node) { + const mapIndexParamName = getMapIndexParamName(node); + if (!mapIndexParamName) { + return; + } + + indexParamNames.pop(); + } + + return { + 'CallExpression, OptionalCallExpression'(node) { + if (isCreateCloneElement(node.callee, context) && node.arguments.length > 1) { + // React.createElement + if (!indexParamNames.length) { + return; + } + + const props = node.arguments[1]; + + if (props.type !== 'ObjectExpression') { + return; + } + + props.properties.forEach((prop) => { + if (!prop.key || prop.key.name !== 'key') { + // { ...foo } + // { foo: bar } + return; + } + + checkPropValue(prop.value); + }); + + return; + } + + const mapIndexParamName = getMapIndexParamName(node); + if (!mapIndexParamName) { + return; + } + + indexParamNames.push(mapIndexParamName); + }, + + JSXAttribute(node) { + if (node.name.name !== 'key') { + // foo={bar} + return; + } + + if (!indexParamNames.length) { + // Not inside a call expression that we think has an index param. + return; + } + + const value = node.value; + if (!value || value.type !== 'JSXExpressionContainer') { + // key='foo' or just simply 'key' + return; + } + + checkPropValue(value.expression); + }, + + 'CallExpression:exit': popIndex, + 'OptionalCallExpression:exit': popIndex, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-arrow-function-lifecycle.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-arrow-function-lifecycle.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f3065993062254468189f7ca3d184d173fc15588 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-arrow-function-lifecycle.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-arrow-function-lifecycle.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-arrow-function-lifecycle.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-arrow-function-lifecycle.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..707d2b3e0add90163f21995bc46933ad5bede2e5 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-arrow-function-lifecycle.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-arrow-function-lifecycle.d.ts","sourceRoot":"","sources":["no-arrow-function-lifecycle.js"],"names":[],"mappings":"wBAsCW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-arrow-function-lifecycle.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-arrow-function-lifecycle.js new file mode 100644 index 0000000000000000000000000000000000000000..e56cb78601dd1e2528f1dc11764774bdf26e3ed4 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-arrow-function-lifecycle.js @@ -0,0 +1,149 @@ +/** + * @fileoverview Lifecycle methods should be methods on the prototype, not class fields + * @author Tan Nguyen + */ + +'use strict'; + +const values = require('object.values'); + +const Components = require('../util/Components'); +const astUtil = require('../util/ast'); +const componentUtil = require('../util/componentUtil'); +const docsUrl = require('../util/docsUrl'); +const lifecycleMethods = require('../util/lifecycleMethods'); +const report = require('../util/report'); +const eslintUtil = require('../util/eslint'); + +const getSourceCode = eslintUtil.getSourceCode; +const getText = eslintUtil.getText; + +function getRuleText(node) { + const params = node.value.params.map((p) => p.name); + + if (node.type === 'Property') { + return `: function(${params.join(', ')}) `; + } + + if (node.type === 'ClassProperty' || node.type === 'PropertyDefinition') { + return `(${params.join(', ')}) `; + } + + return null; +} + +const messages = { + lifecycle: '{{propertyName}} is a React lifecycle method, and should not be an arrow function or in a class field. Use an instance method instead.', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Lifecycle methods should be methods on the prototype, not class fields', + category: 'Best Practices', + recommended: false, + url: docsUrl('no-arrow-function-lifecycle'), + }, + messages, + schema: [], + fixable: 'code', + }, + + create: Components.detect((context, components) => { + /** + * @param {Array} properties list of component properties + */ + function reportNoArrowFunctionLifecycle(properties) { + properties.forEach((node) => { + if (!node || !node.value) { + return; + } + + const propertyName = astUtil.getPropertyName(node); + const nodeType = node.value.type; + const isLifecycleMethod = ( + node.static && !componentUtil.isES5Component(node, context) + ? lifecycleMethods.static + : lifecycleMethods.instance + ).indexOf(propertyName) > -1; + + if (nodeType === 'ArrowFunctionExpression' && isLifecycleMethod) { + const body = node.value.body; + const isBlockBody = body.type === 'BlockStatement'; + const sourceCode = getSourceCode(context); + + let nextComment = []; + let previousComment = []; + let bodyRange; + if (!isBlockBody) { + const previousToken = sourceCode.getTokenBefore(body); + + if (sourceCode.getCommentsBefore) { + // eslint >=4.x + previousComment = sourceCode.getCommentsBefore(body); + } else { + // eslint 3.x + const potentialComment = sourceCode.getTokenBefore(body, { includeComments: true }); + previousComment = previousToken === potentialComment ? [] : [potentialComment]; + } + + if (sourceCode.getCommentsAfter) { + // eslint >=4.x + nextComment = sourceCode.getCommentsAfter(body); + } else { + // eslint 3.x + const potentialComment = sourceCode.getTokenAfter(body, { includeComments: true }); + const nextToken = sourceCode.getTokenAfter(body); + nextComment = nextToken === potentialComment ? [] : [potentialComment]; + } + bodyRange = [ + (previousComment.length > 0 ? previousComment[0] : body).range[0], + (nextComment.length > 0 ? nextComment[nextComment.length - 1] : body).range[1] + + (node.value.body.type === 'ObjectExpression' ? 1 : 0), // to account for a wrapped end paren + ]; + } + const headRange = [ + node.key.range[1], + (previousComment.length > 0 ? previousComment[0] : body).range[0], + ]; + const hasSemi = node.value.expression && getText(context, node).slice(node.value.range[1] - node.range[0]) === ';'; + + report( + context, + messages.lifecycle, + 'lifecycle', + { + node, + data: { + propertyName, + }, + fix(fixer) { + if (!sourceCode.getCommentsAfter) { + // eslint 3.x + return isBlockBody && fixer.replaceTextRange(headRange, getRuleText(node)); + } + return [].concat( + fixer.replaceTextRange(headRange, getRuleText(node)), + isBlockBody ? [] : fixer.replaceTextRange( + [bodyRange[0], bodyRange[1] + (hasSemi ? 1 : 0)], + `{ return ${previousComment.map((x) => getText(context, x)).join('')}${getText(context, body)}${nextComment.map((x) => getText(context, x)).join('')}; }` + ) + ); + }, + } + ); + } + }); + } + + return { + 'Program:exit'() { + values(components.list()).forEach((component) => { + const properties = astUtil.getComponentProperties(component.node); + reportNoArrowFunctionLifecycle(properties); + }); + }, + }; + }), +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-children-prop.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-children-prop.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..3e1dee067dbb5acef10036fe40e73c2de227f09d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-children-prop.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-children-prop.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-children-prop.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-children-prop.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..d656c9331bd035d393d1f8e1df6978a83aba8ac6 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-children-prop.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-children-prop.d.ts","sourceRoot":"","sources":["no-children-prop.js"],"names":[],"mappings":"wBAuCW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-children-prop.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-children-prop.js new file mode 100644 index 0000000000000000000000000000000000000000..84ccbbf3a6696b94a5791e5dc4839e4b54d274b5 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-children-prop.js @@ -0,0 +1,125 @@ +/** + * @fileoverview Prevent passing of children as props + * @author Benjamin Stepp + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const isCreateElement = require('../util/isCreateElement'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Helpers +// ------------------------------------------------------------------------------ + +/** + * Checks if the node is a createElement call with a props literal. + * @param {ASTNode} node - The AST node being checked. + * @param {Context} context - The AST node being checked. + * @returns {boolean} - True if node is a createElement call with a props + * object literal, False if not. +*/ +function isCreateElementWithProps(node, context) { + return isCreateElement(context, node) + && node.arguments.length > 1 + && node.arguments[1].type === 'ObjectExpression'; +} + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + nestChildren: 'Do not pass children as props. Instead, nest children between the opening and closing tags.', + passChildrenAsArgs: 'Do not pass children as props. Instead, pass them as additional arguments to React.createElement.', + nestFunction: 'Do not nest a function between the opening and closing tags. Instead, pass it as a prop.', + passFunctionAsArgs: 'Do not pass a function as an additional argument to React.createElement. Instead, pass it as a prop.', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow passing of children as props', + category: 'Best Practices', + recommended: true, + url: docsUrl('no-children-prop'), + }, + + messages, + + schema: [{ + type: 'object', + properties: { + allowFunctions: { + type: 'boolean', + default: false, + }, + }, + additionalProperties: false, + }], + }, + create(context) { + const configuration = context.options[0] || {}; + + function isFunction(node) { + return configuration.allowFunctions && (node.type === 'ArrowFunctionExpression' || node.type === 'FunctionExpression'); + } + + return { + JSXAttribute(node) { + if (node.name.name !== 'children') { + return; + } + + const value = node.value; + if (value && value.type === 'JSXExpressionContainer' && isFunction(value.expression)) { + return; + } + + report(context, messages.nestChildren, 'nestChildren', { + node, + }); + }, + CallExpression(node) { + if (!isCreateElementWithProps(node, context)) { + return; + } + + const props = 'properties' in node.arguments[1] ? node.arguments[1].properties : undefined; + const childrenProp = props.find((prop) => ( + 'key' in prop + && prop.key + && 'name' in prop.key + && prop.key.name === 'children' + )); + + if (childrenProp) { + if ('value' in childrenProp && childrenProp.value && !isFunction(childrenProp.value)) { + report(context, messages.passChildrenAsArgs, 'passChildrenAsArgs', { + node, + }); + } + } else if (node.arguments.length === 3) { + const children = node.arguments[2]; + if (isFunction(children)) { + report(context, messages.passFunctionAsArgs, 'passFunctionAsArgs', { + node, + }); + } + } + }, + JSXElement(node) { + const children = node.children; + if (children && children.length === 1 && children[0].type === 'JSXExpressionContainer') { + if (isFunction(children[0].expression)) { + report(context, messages.nestFunction, 'nestFunction', { + node, + }); + } + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-danger-with-children.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-danger-with-children.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..975773dd81de6d94cd05604cb625e9815ca03d43 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-danger-with-children.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-danger-with-children.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-danger-with-children.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-danger-with-children.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..718406f27e21cc68f5c1b07c1a14b1cf2e768077 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-danger-with-children.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-danger-with-children.d.ts","sourceRoot":"","sources":["no-danger-with-children.js"],"names":[],"mappings":"wBAmBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-danger-with-children.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-danger-with-children.js new file mode 100644 index 0000000000000000000000000000000000000000..3b01998502e7a6d5b4697b563cb6be571551a15c --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-danger-with-children.js @@ -0,0 +1,157 @@ +/** + * @fileoverview Report when a DOM element is using both children and dangerouslySetInnerHTML + * @author David Petersen + */ + +'use strict'; + +const variableUtil = require('../util/variable'); +const jsxUtil = require('../util/jsx'); +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ +const messages = { + dangerWithChildren: 'Only set one of `children` or `props.dangerouslySetInnerHTML`', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow when a DOM element is using both children and dangerouslySetInnerHTML', + category: 'Possible Errors', + recommended: true, + url: docsUrl('no-danger-with-children'), + }, + + messages, + + schema: [], // no options + }, + create(context) { + function findSpreadVariable(node, name) { + return variableUtil.getVariableFromContext(context, node, name); + } + /** + * Takes a ObjectExpression and returns the value of the prop if it has it + * @param {object} node - ObjectExpression node + * @param {string} propName - name of the prop to look for + * @param {string[]} seenProps + * @returns {object | boolean} + */ + function findObjectProp(node, propName, seenProps) { + if (!node.properties) { + return false; + } + return node.properties.find((prop) => { + if (prop.type === 'Property') { + return prop.key.name === propName; + } + if (prop.type === 'ExperimentalSpreadProperty' || prop.type === 'SpreadElement') { + const variable = findSpreadVariable(node, prop.argument.name); + if (variable && variable.defs.length && variable.defs[0].node.init) { + if (seenProps.indexOf(prop.argument.name) > -1) { + return false; + } + const newSeenProps = seenProps.concat(prop.argument.name || []); + return findObjectProp(variable.defs[0].node.init, propName, newSeenProps); + } + } + return false; + }); + } + + /** + * Takes a JSXElement and returns the value of the prop if it has it + * @param {object} node - JSXElement node + * @param {string} propName - name of the prop to look for + * @returns {object | boolean} + */ + function findJsxProp(node, propName) { + const attributes = node.openingElement.attributes; + return attributes.find((attribute) => { + if (attribute.type === 'JSXSpreadAttribute') { + const variable = findSpreadVariable(node, attribute.argument.name); + if (variable && variable.defs.length && variable.defs[0].node.init) { + return findObjectProp(variable.defs[0].node.init, propName, []); + } + } + return attribute.name && attribute.name.name === propName; + }); + } + + /** + * Checks to see if a node is a line break + * @param {ASTNode} node The AST node being checked + * @returns {boolean} True if node is a line break, false if not + */ + function isLineBreak(node) { + const isLiteral = node.type === 'Literal' || node.type === 'JSXText'; + const isMultiline = node.loc.start.line !== node.loc.end.line; + const isWhiteSpaces = jsxUtil.isWhiteSpaces(node.value); + + return isLiteral && isMultiline && isWhiteSpaces; + } + + return { + JSXElement(node) { + let hasChildren = false; + + if (node.children.length && !isLineBreak(node.children[0])) { + hasChildren = true; + } else if (findJsxProp(node, 'children')) { + hasChildren = true; + } + + if ( + node.openingElement.attributes + && hasChildren + && findJsxProp(node, 'dangerouslySetInnerHTML') + ) { + report(context, messages.dangerWithChildren, 'dangerWithChildren', { + node, + }); + } + }, + CallExpression(node) { + if ( + node.callee + && node.callee.type === 'MemberExpression' + && 'name' in node.callee.property + && node.callee.property.name === 'createElement' + && node.arguments.length > 1 + ) { + let hasChildren = false; + + let props = node.arguments[1]; + + if (props.type === 'Identifier') { + const variable = variableUtil.getVariableFromContext(context, node, props.name); + if (variable && variable.defs.length && variable.defs[0].node.init) { + props = variable.defs[0].node.init; + } + } + + const dangerously = findObjectProp(props, 'dangerouslySetInnerHTML', []); + + if (node.arguments.length === 2) { + if (findObjectProp(props, 'children', [])) { + hasChildren = true; + } + } else { + hasChildren = true; + } + + if (dangerously && hasChildren) { + report(context, messages.dangerWithChildren, 'dangerWithChildren', { + node, + }); + } + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-danger.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-danger.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c3953511f0e00f88ffb97df3290b03bd3e1cdb4b --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-danger.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-danger.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-danger.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-danger.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..30086713a079224efbf3dbae1a99424ac03f75ef --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-danger.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-danger.d.ts","sourceRoot":"","sources":["no-danger.js"],"names":[],"mappings":"wBA8CW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-danger.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-danger.js new file mode 100644 index 0000000000000000000000000000000000000000..54dbed49cffd1912e2f99a141ff37515b8f1f7c2 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-danger.js @@ -0,0 +1,96 @@ +/** + * @fileoverview Prevent usage of dangerous JSX props + * @author Scott Andrews + */ + +'use strict'; + +const has = require('hasown'); +const fromEntries = require('object.fromentries/polyfill')(); +const minimatch = require('minimatch'); + +const docsUrl = require('../util/docsUrl'); +const jsxUtil = require('../util/jsx'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Constants +// ------------------------------------------------------------------------------ + +const DANGEROUS_PROPERTY_NAMES = [ + 'dangerouslySetInnerHTML', +]; + +const DANGEROUS_PROPERTIES = fromEntries(DANGEROUS_PROPERTY_NAMES.map((prop) => [prop, prop])); + +// ------------------------------------------------------------------------------ +// Helpers +// ------------------------------------------------------------------------------ + +/** + * Checks if a JSX attribute is dangerous. + * @param {string} name - Name of the attribute to check. + * @returns {boolean} Whether or not the attribute is dangerous. + */ +function isDangerous(name) { + return has(DANGEROUS_PROPERTIES, name); +} + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + dangerousProp: 'Dangerous property \'{{name}}\' found', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow usage of dangerous JSX properties', + category: 'Best Practices', + recommended: false, + url: docsUrl('no-danger'), + }, + + messages, + + schema: [{ + type: 'object', + properties: { + customComponentNames: { + items: { + type: 'string', + }, + minItems: 0, + type: 'array', + uniqueItems: true, + }, + }, + }], + }, + + create(context) { + const configuration = context.options[0] || {}; + const customComponentNames = configuration.customComponentNames || []; + + return { + JSXAttribute(node) { + const nodeName = node.parent.name; + const functionName = nodeName.name || `${nodeName.object.name}.${nodeName.property.name}`; + + const enableCheckingCustomComponent = customComponentNames.some((name) => minimatch(functionName, name)); + + if ((enableCheckingCustomComponent || jsxUtil.isDOMComponent(node.parent)) && isDangerous(node.name.name)) { + report(context, messages.dangerousProp, 'dangerousProp', { + node, + data: { + name: node.name.name, + }, + }); + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-deprecated.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-deprecated.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6820ee94b1dd8889242ac40a6c78d0f0f1a8f223 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-deprecated.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-deprecated.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-deprecated.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-deprecated.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..20b5970860774966349c181454b7b17bd44258a4 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-deprecated.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-deprecated.d.ts","sourceRoot":"","sources":["no-deprecated.js"],"names":[],"mappings":"wBAqHW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-deprecated.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-deprecated.js new file mode 100644 index 0000000000000000000000000000000000000000..0c5931345f87841e43f0d28bf6f11e67e4842cef --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-deprecated.js @@ -0,0 +1,271 @@ +/** + * @fileoverview Prevent usage of deprecated methods + * @author Yannick Croissant + * @author Scott Feeney + * @author Sergei Startsev + */ + +'use strict'; + +const entries = require('object.entries'); +const astUtil = require('../util/ast'); +const componentUtil = require('../util/componentUtil'); +const docsUrl = require('../util/docsUrl'); +const pragmaUtil = require('../util/pragma'); +const testReactVersion = require('../util/version').testReactVersion; +const report = require('../util/report'); +const getText = require('../util/eslint').getText; + +// ------------------------------------------------------------------------------ +// Constants +// ------------------------------------------------------------------------------ + +const MODULES = { + react: ['React'], + 'react-addons-perf': ['ReactPerf', 'Perf'], + 'react-dom': ['ReactDOM'], + 'react-dom/server': ['ReactDOMServer'], +}; + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +function getDeprecated(pragma) { + const deprecated = {}; + // 0.12.0 + deprecated[`${pragma}.renderComponent`] = ['0.12.0', `${pragma}.render`]; + deprecated[`${pragma}.renderComponentToString`] = ['0.12.0', `${pragma}.renderToString`]; + deprecated[`${pragma}.renderComponentToStaticMarkup`] = ['0.12.0', `${pragma}.renderToStaticMarkup`]; + deprecated[`${pragma}.isValidComponent`] = ['0.12.0', `${pragma}.isValidElement`]; + deprecated[`${pragma}.PropTypes.component`] = ['0.12.0', `${pragma}.PropTypes.element`]; + deprecated[`${pragma}.PropTypes.renderable`] = ['0.12.0', `${pragma}.PropTypes.node`]; + deprecated[`${pragma}.isValidClass`] = ['0.12.0']; + deprecated['this.transferPropsTo'] = ['0.12.0', 'spread operator ({...})']; + // 0.13.0 + deprecated[`${pragma}.addons.classSet`] = ['0.13.0', 'the npm module classnames']; + deprecated[`${pragma}.addons.cloneWithProps`] = ['0.13.0', `${pragma}.cloneElement`]; + // 0.14.0 + deprecated[`${pragma}.render`] = ['0.14.0', 'ReactDOM.render']; + deprecated[`${pragma}.unmountComponentAtNode`] = ['0.14.0', 'ReactDOM.unmountComponentAtNode']; + deprecated[`${pragma}.findDOMNode`] = ['0.14.0', 'ReactDOM.findDOMNode']; + deprecated[`${pragma}.renderToString`] = ['0.14.0', 'ReactDOMServer.renderToString']; + deprecated[`${pragma}.renderToStaticMarkup`] = ['0.14.0', 'ReactDOMServer.renderToStaticMarkup']; + // 15.0.0 + deprecated[`${pragma}.addons.LinkedStateMixin`] = ['15.0.0']; + deprecated['ReactPerf.printDOM'] = ['15.0.0', 'ReactPerf.printOperations']; + deprecated['Perf.printDOM'] = ['15.0.0', 'Perf.printOperations']; + deprecated['ReactPerf.getMeasurementsSummaryMap'] = ['15.0.0', 'ReactPerf.getWasted']; + deprecated['Perf.getMeasurementsSummaryMap'] = ['15.0.0', 'Perf.getWasted']; + // 15.5.0 + deprecated[`${pragma}.createClass`] = ['15.5.0', 'the npm module create-react-class']; + deprecated[`${pragma}.addons.TestUtils`] = ['15.5.0', 'ReactDOM.TestUtils']; + deprecated[`${pragma}.PropTypes`] = ['15.5.0', 'the npm module prop-types']; + // 15.6.0 + deprecated[`${pragma}.DOM`] = ['15.6.0', 'the npm module react-dom-factories']; + // 16.9.0 + // For now the following life-cycle methods are just legacy, not deprecated: + // `componentWillMount`, `componentWillReceiveProps`, `componentWillUpdate` + // https://github.com/yannickcr/eslint-plugin-react/pull/1750#issuecomment-425975934 + deprecated.componentWillMount = [ + '16.9.0', + 'UNSAFE_componentWillMount', + 'https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. ' + + 'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.', + ]; + deprecated.componentWillReceiveProps = [ + '16.9.0', + 'UNSAFE_componentWillReceiveProps', + 'https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. ' + + 'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.', + ]; + deprecated.componentWillUpdate = [ + '16.9.0', + 'UNSAFE_componentWillUpdate', + 'https://reactjs.org/docs/react-component.html#unsafe_componentwillupdate. ' + + 'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.', + ]; + // 18.0.0 + // https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#deprecations + deprecated['ReactDOM.render'] = [ + '18.0.0', + 'createRoot', + 'https://reactjs.org/link/switch-to-createroot', + ]; + deprecated['ReactDOM.hydrate'] = [ + '18.0.0', + 'hydrateRoot', + 'https://reactjs.org/link/switch-to-createroot', + ]; + deprecated['ReactDOM.unmountComponentAtNode'] = [ + '18.0.0', + 'root.unmount', + 'https://reactjs.org/link/switch-to-createroot', + ]; + deprecated['ReactDOMServer.renderToNodeStream'] = [ + '18.0.0', + 'renderToPipeableStream', + 'https://reactjs.org/docs/react-dom-server.html#rendertonodestream', + ]; + + return deprecated; +} + +const messages = { + deprecated: '{{oldMethod}} is deprecated since React {{version}}{{newMethod}}{{refs}}', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow usage of deprecated methods', + category: 'Best Practices', + recommended: true, + url: docsUrl('no-deprecated'), + }, + + messages, + + schema: [], + }, + + create(context) { + const pragma = pragmaUtil.getFromContext(context); + const deprecated = getDeprecated(pragma); + + function isDeprecated(method) { + return ( + deprecated + && deprecated[method] + && deprecated[method][0] + && testReactVersion(context, `>= ${deprecated[method][0]}`) + ); + } + + function checkDeprecation(node, methodName, methodNode) { + if (!isDeprecated(methodName)) { + return; + } + const version = deprecated[methodName][0]; + const newMethod = deprecated[methodName][1]; + const refs = deprecated[methodName][2]; + report(context, messages.deprecated, 'deprecated', { + node: methodNode || node, + data: { + oldMethod: methodName, + version, + newMethod: newMethod ? `, use ${newMethod} instead` : '', + refs: refs ? `, see ${refs}` : '', + }, + }); + } + + function getReactModuleName(node) { + let moduleName = false; + if (!node.init) { + return false; + } + + entries(MODULES).some((entry) => { + const key = entry[0]; + const moduleNames = entry[1]; + if ( + node.init.arguments + && node.init.arguments.length > 0 + && node.init.arguments[0] + && key === node.init.arguments[0].value + ) { + moduleName = MODULES[key][0]; + } else { + moduleName = moduleNames.find((name) => name === node.init.name); + } + return moduleName; + }); + + return moduleName; + } + + /** + * Returns life cycle methods if available + * @param {ASTNode} node The AST node being checked. + * @returns {Array} The array of methods. + */ + function getLifeCycleMethods(node) { + const properties = astUtil.getComponentProperties(node); + return properties.map((property) => ({ + name: astUtil.getPropertyName(property), + node: astUtil.getPropertyNameNode(property), + })); + } + + /** + * Checks life cycle methods + * @param {ASTNode} node The AST node being checked. + */ + function checkLifeCycleMethods(node) { + if ( + componentUtil.isES5Component(node, context) + || componentUtil.isES6Component(node, context) + ) { + const methods = getLifeCycleMethods(node); + methods.forEach((method) => checkDeprecation(node, method.name, method.node)); + } + } + + // -------------------------------------------------------------------------- + // Public + // -------------------------------------------------------------------------- + + return { + MemberExpression(node) { + checkDeprecation(node, getText(context, node)); + }, + + ImportDeclaration(node) { + const isReactImport = typeof MODULES[node.source.value] !== 'undefined'; + if (!isReactImport) { + return; + } + node.specifiers.filter(((s) => 'imported' in s && s.imported)).forEach((specifier) => { + // TODO, semver-major: remove `in` check as part of jsdoc->tsdoc migration + checkDeprecation(node, 'imported' in specifier && 'name' in specifier.imported && `${MODULES[node.source.value][0]}.${specifier.imported.name}`, specifier); + }); + }, + + VariableDeclarator(node) { + const reactModuleName = getReactModuleName(node); + const isRequire = node.init + && 'callee' in node.init + && node.init.callee + && 'name' in node.init.callee + && node.init.callee.name === 'require'; + const isReactRequire = node.init + && 'arguments' in node.init + && node.init.arguments + && node.init.arguments.length + && typeof MODULES['value' in node.init.arguments[0] ? node.init.arguments[0].value : undefined] !== 'undefined'; + const isDestructuring = node.id && node.id.type === 'ObjectPattern'; + + if ( + !(isDestructuring && reactModuleName) + && !(isDestructuring && isRequire && isReactRequire) + ) { + return; + } + + ('properties' in node.id ? node.id.properties : undefined).filter((p) => p.type !== 'RestElement' && p.key).forEach((property) => { + checkDeprecation( + node, + 'key' in property && 'name' in property.key && `${reactModuleName || pragma}.${property.key.name}`, + property + ); + }); + }, + + ClassDeclaration: checkLifeCycleMethods, + ClassExpression: checkLifeCycleMethods, + ObjectExpression: checkLifeCycleMethods, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-did-mount-set-state.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-did-mount-set-state.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a20eb747a1c20564465c2a0b4c349a7c32a79483 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-did-mount-set-state.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-did-mount-set-state.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-did-mount-set-state.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-did-mount-set-state.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..e257767c2eeb2755a96d01ed0d253e72a8434e19 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-did-mount-set-state.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-did-mount-set-state.d.ts","sourceRoot":"","sources":["no-did-mount-set-state.js"],"names":[],"mappings":"wBASW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-did-mount-set-state.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-did-mount-set-state.js new file mode 100644 index 0000000000000000000000000000000000000000..ad70c3eb7be8c89ceabe7a0110b9b59f28c3e167 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-did-mount-set-state.js @@ -0,0 +1,11 @@ +/** + * @fileoverview Prevent usage of setState in componentDidMount + * @author Yannick Croissant + */ + +'use strict'; + +const makeNoMethodSetStateRule = require('../util/makeNoMethodSetStateRule'); + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = makeNoMethodSetStateRule('componentDidMount'); diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-did-update-set-state.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-did-update-set-state.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0d0884d5a7ff7b9f2a5eb620921f0bed272125e2 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-did-update-set-state.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-did-update-set-state.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-did-update-set-state.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-did-update-set-state.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..97a150b763621c5f3d439ad1b0d7c773de101bab --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-did-update-set-state.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-did-update-set-state.d.ts","sourceRoot":"","sources":["no-did-update-set-state.js"],"names":[],"mappings":"wBASW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-did-update-set-state.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-did-update-set-state.js new file mode 100644 index 0000000000000000000000000000000000000000..d297fb2648acd53ab49651ef566185d1aeee4e85 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-did-update-set-state.js @@ -0,0 +1,11 @@ +/** + * @fileoverview Prevent usage of setState in componentDidUpdate + * @author Yannick Croissant + */ + +'use strict'; + +const makeNoMethodSetStateRule = require('../util/makeNoMethodSetStateRule'); + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = makeNoMethodSetStateRule('componentDidUpdate'); diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-direct-mutation-state.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-direct-mutation-state.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..076e8a5d10a491c6ef798a610da28d6a69eaf781 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-direct-mutation-state.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-direct-mutation-state.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-direct-mutation-state.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-direct-mutation-state.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..4f5ed6425439161b28f1283d82758b08cb681fdb --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-direct-mutation-state.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-direct-mutation-state.d.ts","sourceRoot":"","sources":["no-direct-mutation-state.js"],"names":[],"mappings":"wBAuBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-direct-mutation-state.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-direct-mutation-state.js new file mode 100644 index 0000000000000000000000000000000000000000..761151fbb8743af15cf21f9d43be064488f4a12d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-direct-mutation-state.js @@ -0,0 +1,155 @@ +/** + * @fileoverview Prevent direct mutation of this.state + * @author David Petersen + * @author Nicolas Fernandez <@burabure> + */ + +'use strict'; + +const values = require('object.values'); + +const Components = require('../util/Components'); +const componentUtil = require('../util/componentUtil'); +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + noDirectMutation: 'Do not mutate state directly. Use setState().', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow direct mutation of this.state', + category: 'Possible Errors', + recommended: true, + url: docsUrl('no-direct-mutation-state'), + }, + + messages, + }, + + create: Components.detect((context, components, utils) => { + /** + * Checks if the component is valid + * @param {Object} component The component to process + * @returns {boolean} True if the component is valid, false if not. + */ + function isValid(component) { + return !!component && !component.mutateSetState; + } + + /** + * Reports undeclared proptypes for a given component + * @param {Object} component The component to process + */ + function reportMutations(component) { + let mutation; + for (let i = 0, j = component.mutations.length; i < j; i++) { + mutation = component.mutations[i]; + report(context, messages.noDirectMutation, 'noDirectMutation', { + node: mutation, + }); + } + } + + /** + * Walks through the MemberExpression to the top-most property. + * @param {Object} node The node to process + * @returns {Object} The outer-most MemberExpression + */ + function getOuterMemberExpression(node) { + while (node.object && node.object.property) { + node = node.object; + } + return node; + } + + /** + * Determine if we should currently ignore assignments in this component. + * @param {?Object} component The component to process + * @returns {boolean} True if we should skip assignment checks. + */ + function shouldIgnoreComponent(component) { + return !component || (component.inConstructor && !component.inCallExpression); + } + + // -------------------------------------------------------------------------- + // Public + // -------------------------------------------------------------------------- + return { + MethodDefinition(node) { + if (node.kind === 'constructor') { + components.set(node, { + inConstructor: true, + }); + } + }, + + CallExpression(node) { + components.set(node, { + inCallExpression: true, + }); + }, + + AssignmentExpression(node) { + const component = components.get(utils.getParentComponent(node)); + if (shouldIgnoreComponent(component) || !node.left || !node.left.object) { + return; + } + const item = getOuterMemberExpression(node.left); + if (componentUtil.isStateMemberExpression(item)) { + const mutations = (component && component.mutations) || []; + mutations.push(node.left.object); + components.set(node, { + mutateSetState: true, + mutations, + }); + } + }, + + UpdateExpression(node) { + const component = components.get(utils.getParentComponent(node)); + if (shouldIgnoreComponent(component) || node.argument.type !== 'MemberExpression') { + return; + } + const item = getOuterMemberExpression(node.argument); + if (componentUtil.isStateMemberExpression(item)) { + const mutations = (component && component.mutations) || []; + mutations.push(item); + components.set(node, { + mutateSetState: true, + mutations, + }); + } + }, + + 'CallExpression:exit'(node) { + components.set(node, { + inCallExpression: false, + }); + }, + + 'MethodDefinition:exit'(node) { + if (node.kind === 'constructor') { + components.set(node, { + inConstructor: false, + }); + } + }, + + 'Program:exit'() { + values(components.list()) + .filter((component) => !isValid(component)) + .forEach((component) => { + reportMutations(component); + }); + }, + }; + }), +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-find-dom-node.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-find-dom-node.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6ddc0a78ef1b89313f79119cfff55e908bb78bdc --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-find-dom-node.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-find-dom-node.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-find-dom-node.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-find-dom-node.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..7294175f5abfe596554007a0ce65e4c7548acc52 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-find-dom-node.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-find-dom-node.d.ts","sourceRoot":"","sources":["no-find-dom-node.js"],"names":[],"mappings":"wBAkBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-find-dom-node.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-find-dom-node.js new file mode 100644 index 0000000000000000000000000000000000000000..eaf9e53a464a1c73382b72c1892e42a3e05cf29e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-find-dom-node.js @@ -0,0 +1,56 @@ +/** + * @fileoverview Prevent usage of findDOMNode + * @author Yannick Croissant + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + noFindDOMNode: 'Do not use findDOMNode. It doesn’t work with function components and is deprecated in StrictMode. See https://reactjs.org/docs/react-dom.html#finddomnode', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow usage of findDOMNode', + category: 'Best Practices', + recommended: true, + url: docsUrl('no-find-dom-node'), + }, + + messages, + + schema: [], + }, + + create(context) { + return { + CallExpression(node) { + const callee = node.callee; + + const isFindDOMNode = ('name' in callee && callee.name === 'findDOMNode') || ( + 'property' in callee + && callee.property + && 'name' in callee.property + && callee.property.name === 'findDOMNode' + ); + + if (!isFindDOMNode) { + return; + } + + report(context, messages.noFindDOMNode, 'noFindDOMNode', { + node: callee, + }); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-invalid-html-attribute.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-invalid-html-attribute.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..9baffdcef17e8622089d81b9cb63f9fea5846344 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-invalid-html-attribute.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-invalid-html-attribute.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-invalid-html-attribute.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-invalid-html-attribute.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..cfee0473db588572b22f475236bf1217927e7fd1 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-invalid-html-attribute.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-invalid-html-attribute.d.ts","sourceRoot":"","sources":["no-invalid-html-attribute.js"],"names":[],"mappings":"wBA+kBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-invalid-html-attribute.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-invalid-html-attribute.js new file mode 100644 index 0000000000000000000000000000000000000000..b8a14d1ab15b762d9bcea68b97310a4e3b46aab7 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-invalid-html-attribute.js @@ -0,0 +1,654 @@ +/** + * @fileoverview Check if tag attributes to have non-valid value + * @author Sebastian Malton + */ + +'use strict'; + +const matchAll = require('string.prototype.matchall'); +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const rel = new Map([ + ['alternate', new Set(['link', 'area', 'a'])], + ['apple-touch-icon', new Set(['link'])], + ['apple-touch-startup-image', new Set(['link'])], + ['author', new Set(['link', 'area', 'a'])], + ['bookmark', new Set(['area', 'a'])], + ['canonical', new Set(['link'])], + ['dns-prefetch', new Set(['link'])], + ['external', new Set(['area', 'a', 'form'])], + ['help', new Set(['link', 'area', 'a', 'form'])], + ['icon', new Set(['link'])], + ['license', new Set(['link', 'area', 'a', 'form'])], + ['manifest', new Set(['link'])], + ['mask-icon', new Set(['link'])], + ['modulepreload', new Set(['link'])], + ['next', new Set(['link', 'area', 'a', 'form'])], + ['nofollow', new Set(['area', 'a', 'form'])], + ['noopener', new Set(['area', 'a', 'form'])], + ['noreferrer', new Set(['area', 'a', 'form'])], + ['opener', new Set(['area', 'a', 'form'])], + ['pingback', new Set(['link'])], + ['preconnect', new Set(['link'])], + ['prefetch', new Set(['link'])], + ['preload', new Set(['link'])], + ['prerender', new Set(['link'])], + ['prev', new Set(['link', 'area', 'a', 'form'])], + ['search', new Set(['link', 'area', 'a', 'form'])], + ['shortcut', new Set(['link'])], // generally allowed but needs pair with "icon" + ['shortcut\u0020icon', new Set(['link'])], + ['stylesheet', new Set(['link'])], + ['tag', new Set(['area', 'a'])], +]); + +const pairs = new Map([ + ['shortcut', new Set(['icon'])], +]); + +/** + * Map between attributes and a mapping between valid values and a set of tags they are valid on + * @type {Map>>} + */ +const VALID_VALUES = new Map([ + ['rel', rel], +]); + +/** + * Map between attributes and a mapping between pair-values and a set of values they are valid with + * @type {Map>>} + */ +const VALID_PAIR_VALUES = new Map([ + ['rel', pairs], +]); + +/** + * The set of all possible HTML elements. Used for skipping custom types + * @type {Set} + */ +const HTML_ELEMENTS = new Set([ + 'a', + 'abbr', + 'acronym', + 'address', + 'applet', + 'area', + 'article', + 'aside', + 'audio', + 'b', + 'base', + 'basefont', + 'bdi', + 'bdo', + 'bgsound', + 'big', + 'blink', + 'blockquote', + 'body', + 'br', + 'button', + 'canvas', + 'caption', + 'center', + 'cite', + 'code', + 'col', + 'colgroup', + 'content', + 'data', + 'datalist', + 'dd', + 'del', + 'details', + 'dfn', + 'dialog', + 'dir', + 'div', + 'dl', + 'dt', + 'em', + 'embed', + 'fieldset', + 'figcaption', + 'figure', + 'font', + 'footer', + 'form', + 'frame', + 'frameset', + 'h1', + 'h2', + 'h3', + 'h4', + 'h5', + 'h6', + 'head', + 'header', + 'hgroup', + 'hr', + 'html', + 'i', + 'iframe', + 'image', + 'img', + 'input', + 'ins', + 'kbd', + 'keygen', + 'label', + 'legend', + 'li', + 'link', + 'main', + 'map', + 'mark', + 'marquee', + 'math', + 'menu', + 'menuitem', + 'meta', + 'meter', + 'nav', + 'nobr', + 'noembed', + 'noframes', + 'noscript', + 'object', + 'ol', + 'optgroup', + 'option', + 'output', + 'p', + 'param', + 'picture', + 'plaintext', + 'portal', + 'pre', + 'progress', + 'q', + 'rb', + 'rp', + 'rt', + 'rtc', + 'ruby', + 's', + 'samp', + 'script', + 'section', + 'select', + 'shadow', + 'slot', + 'small', + 'source', + 'spacer', + 'span', + 'strike', + 'strong', + 'style', + 'sub', + 'summary', + 'sup', + 'svg', + 'table', + 'tbody', + 'td', + 'template', + 'textarea', + 'tfoot', + 'th', + 'thead', + 'time', + 'title', + 'tr', + 'track', + 'tt', + 'u', + 'ul', + 'var', + 'video', + 'wbr', + 'xmp', +]); + +/** +* Map between attributes and set of tags that the attribute is valid on +* @type {Map>} +*/ +const COMPONENT_ATTRIBUTE_MAP = new Map([ + ['rel', new Set(['link', 'a', 'area', 'form'])], +]); + +/* eslint-disable eslint-plugin/no-unused-message-ids -- false positives, these messageIds are used */ +const messages = { + emptyIsMeaningless: 'An empty “{{attributeName}}” attribute is meaningless.', + neverValid: '“{{reportingValue}}” is never a valid “{{attributeName}}” attribute value.', + noEmpty: 'An empty “{{attributeName}}” attribute is meaningless.', + noMethod: 'The ”{{attributeName}}“ attribute cannot be a method.', + notAlone: '“{{reportingValue}}” must be directly followed by “{{missingValue}}”.', + notPaired: '“{{reportingValue}}” can not be directly followed by “{{secondValue}}” without “{{missingValue}}”.', + notValidFor: '“{{reportingValue}}” is not a valid “{{attributeName}}” attribute value for <{{elementName}}>.', + onlyMeaningfulFor: 'The ”{{attributeName}}“ attribute only has meaning on the tags: {{tagNames}}', + onlyStrings: '“{{attributeName}}” attribute only supports strings.', + spaceDelimited: '”{{attributeName}}“ attribute values should be space delimited.', + suggestRemoveDefault: '"remove {{attributeName}}"', + suggestRemoveEmpty: '"remove empty attribute {{attributeName}}"', + suggestRemoveInvalid: '“remove invalid attribute {{reportingValue}}”', + suggestRemoveWhitespaces: 'remove whitespaces in “{{attributeName}}”', + suggestRemoveNonString: 'remove non-string value in “{{attributeName}}”', +}; + +function splitIntoRangedParts(node, regex) { + const valueRangeStart = node.range[0] + 1; // the plus one is for the initial quote + + return Array.from(matchAll(node.value, regex), (match) => { + const start = match.index + valueRangeStart; + const end = start + match[0].length; + + return { + reportingValue: `${match[1]}`, + value: match[1], + range: [start, end], + }; + }); +} + +function checkLiteralValueNode(context, attributeName, node, parentNode, parentNodeName) { + if (typeof node.value !== 'string') { + const data = { attributeName, reportingValue: node.value }; + + report(context, messages.onlyStrings, 'onlyStrings', { + node, + data, + suggest: [{ + messageId: 'suggestRemoveNonString', + data, + fix(fixer) { return fixer.remove(parentNode); }, + }], + }); + return; + } + + if (!node.value.trim()) { + const data = { attributeName, reportingValue: node.value }; + + report(context, messages.noEmpty, 'noEmpty', { + node, + data, + suggest: [{ + messageId: 'suggestRemoveEmpty', + data, + fix(fixer) { return fixer.remove(node.parent); }, + }], + }); + return; + } + + const singleAttributeParts = splitIntoRangedParts(node, /(\S+)/g); + singleAttributeParts.forEach((singlePart) => { + const allowedTags = VALID_VALUES.get(attributeName).get(singlePart.value); + const reportingValue = singlePart.reportingValue; + + if (!allowedTags) { + const data = { + attributeName, + reportingValue, + }; + + const suggest = [{ + messageId: 'suggestRemoveInvalid', + data, + fix(fixer) { return fixer.removeRange(singlePart.range); }, + }]; + + report(context, messages.neverValid, 'neverValid', { + node, + data, + suggest, + }); + } else if (!allowedTags.has(parentNodeName)) { + const data = { + attributeName, + reportingValue, + elementName: parentNodeName, + }; + + const suggest = [{ + messageId: 'suggestRemoveInvalid', + data, + fix(fixer) { return fixer.removeRange(singlePart.range); }, + }]; + + report(context, messages.notValidFor, 'notValidFor', { + node, + data, + suggest, + }); + } + }); + + const allowedPairsForAttribute = VALID_PAIR_VALUES.get(attributeName); + if (allowedPairsForAttribute) { + const pairAttributeParts = splitIntoRangedParts(node, /(?=(\b\S+\s*\S+))/g); + pairAttributeParts.forEach((pairPart) => { + allowedPairsForAttribute.forEach((siblings, pairing) => { + const attributes = pairPart.reportingValue.split('\u0020'); + const firstValue = attributes[0]; + const secondValue = attributes[1]; + if (firstValue === pairing) { + const lastValue = attributes[attributes.length - 1]; // in case of multiple white spaces + if (!siblings.has(lastValue)) { + const message = secondValue ? messages.notPaired : messages.notAlone; + const messageId = secondValue ? 'notPaired' : 'notAlone'; + report(context, message, messageId, { + node, + data: { + reportingValue: firstValue, + secondValue, + missingValue: Array.from(siblings).join(', '), + }, + suggest: false, + }); + } + } + }); + }); + } + + const whitespaceParts = splitIntoRangedParts(node, /(\s+)/g); + whitespaceParts.forEach((whitespacePart) => { + const data = { attributeName }; + + if (whitespacePart.range[0] === (node.range[0] + 1) || whitespacePart.range[1] === (node.range[1] - 1)) { + report(context, messages.spaceDelimited, 'spaceDelimited', { + node, + data, + suggest: [{ + messageId: 'suggestRemoveWhitespaces', + data, + fix(fixer) { return fixer.removeRange(whitespacePart.range); }, + }], + }); + } else if (whitespacePart.value !== '\u0020') { + report(context, messages.spaceDelimited, 'spaceDelimited', { + node, + data, + suggest: [{ + messageId: 'suggestRemoveWhitespaces', + data, + fix(fixer) { return fixer.replaceTextRange(whitespacePart.range, '\u0020'); }, + }], + }); + } + }); +} + +const DEFAULT_ATTRIBUTES = ['rel']; + +function checkAttribute(context, node) { + const attribute = node.name.name; + + const parentNodeName = node.parent.name.name; + if (!COMPONENT_ATTRIBUTE_MAP.has(attribute) || !COMPONENT_ATTRIBUTE_MAP.get(attribute).has(parentNodeName)) { + const tagNames = Array.from( + COMPONENT_ATTRIBUTE_MAP.get(attribute).values(), + (tagName) => `"<${tagName}>"` + ).join(', '); + const data = { + attributeName: attribute, + tagNames, + }; + + report(context, messages.onlyMeaningfulFor, 'onlyMeaningfulFor', { + node: node.name, + data, + suggest: [{ + messageId: 'suggestRemoveDefault', + data, + fix(fixer) { return fixer.remove(node); }, + }], + }); + return; + } + + function fix(fixer) { return fixer.remove(node); } + + if (!node.value) { + const data = { attributeName: attribute }; + + report(context, messages.emptyIsMeaningless, 'emptyIsMeaningless', { + node: node.name, + data, + suggest: [{ + messageId: 'suggestRemoveEmpty', + data, + fix, + }], + }); + return; + } + + if (node.value.type === 'Literal') { + return checkLiteralValueNode(context, attribute, node.value, node, parentNodeName); + } + + if (node.value.expression.type === 'Literal') { + return checkLiteralValueNode(context, attribute, node.value.expression, node, parentNodeName); + } + + if (node.value.type !== 'JSXExpressionContainer') { + return; + } + + if (node.value.expression.type === 'ObjectExpression') { + const data = { attributeName: attribute }; + + report(context, messages.onlyStrings, 'onlyStrings', { + node: node.value, + data, + suggest: [{ + messageId: 'suggestRemoveDefault', + data, + fix, + }], + }); + } else if (node.value.expression.type === 'Identifier' && node.value.expression.name === 'undefined') { + const data = { attributeName: attribute }; + + report(context, messages.onlyStrings, 'onlyStrings', { + node: node.value, + data, + suggest: [{ + messageId: 'suggestRemoveDefault', + data, + fix, + }], + }); + } +} + +function isValidCreateElement(node) { + return node.callee + && node.callee.type === 'MemberExpression' + && node.callee.object.name === 'React' + && node.callee.property.name === 'createElement' + && node.arguments.length > 0; +} + +function checkPropValidValue(context, node, value, attribute) { + const validTags = VALID_VALUES.get(attribute); + + if (value.type !== 'Literal') { + return; // cannot check non-literals + } + + const validTagSet = validTags.get(value.value); + if (!validTagSet) { + const data = { + attributeName: attribute, + reportingValue: value.value, + }; + + report(context, messages.neverValid, 'neverValid', { + node: value, + data, + suggest: [{ + messageId: 'suggestRemoveInvalid', + data, + fix(fixer) { return fixer.replaceText(value, value.raw.replace(value.value, '')); }, + }], + }); + } else if (!validTagSet.has(node.arguments[0].value)) { + report(context, messages.notValidFor, 'notValidFor', { + node: value, + data: { + attributeName: attribute, + reportingValue: value.raw, + elementName: node.arguments[0].value, + }, + suggest: false, + }); + } +} + +/** + * + * @param {*} context + * @param {*} node + * @param {string} attribute + */ +function checkCreateProps(context, node, attribute) { + const propsArg = node.arguments[1]; + + if (!propsArg || propsArg.type !== 'ObjectExpression') { + return; // can't check variables, computed, or shorthands + } + + for (const prop of propsArg.properties) { + if (!prop.key || prop.key.type !== 'Identifier') { + // eslint-disable-next-line no-continue + continue; // cannot check computed keys + } + + if (prop.key.name !== attribute) { + // eslint-disable-next-line no-continue + continue; // ignore not this attribute + } + + if (!COMPONENT_ATTRIBUTE_MAP.get(attribute).has(node.arguments[0].value)) { + const tagNames = Array.from( + COMPONENT_ATTRIBUTE_MAP.get(attribute).values(), + (tagName) => `"<${tagName}>"` + ).join(', '); + + report(context, messages.onlyMeaningfulFor, 'onlyMeaningfulFor', { + node: prop.key, + data: { + attributeName: attribute, + tagNames, + }, + suggest: false, + }); + + // eslint-disable-next-line no-continue + continue; + } + + if (prop.method) { + report(context, messages.noMethod, 'noMethod', { + node: prop, + data: { + attributeName: attribute, + }, + suggest: false, + }); + + // eslint-disable-next-line no-continue + continue; + } + + if (prop.shorthand || prop.computed) { + // eslint-disable-next-line no-continue + continue; // cannot check these + } + + if (prop.value.type === 'ArrayExpression') { + prop.value.elements.forEach((value) => { + checkPropValidValue(context, node, value, attribute); + }); + + // eslint-disable-next-line no-continue + continue; + } + + checkPropValidValue(context, node, prop.value, attribute); + } +} + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow usage of invalid attributes', + category: 'Possible Errors', + url: docsUrl('no-invalid-html-attribute'), + }, + messages, + schema: [{ + type: 'array', + uniqueItems: true, + items: { + enum: ['rel'], + }, + }], + type: 'suggestion', + hasSuggestions: true, // eslint-disable-line eslint-plugin/require-meta-has-suggestions + }, + + create(context) { + return { + JSXAttribute(node) { + const attributes = new Set(context.options[0] || DEFAULT_ATTRIBUTES); + + // ignore attributes that aren't configured to be checked + if (!attributes.has(node.name.name)) { + return; + } + + // ignore non-HTML elements + if (!HTML_ELEMENTS.has(node.parent.name.name)) { + return; + } + + checkAttribute(context, node); + }, + + CallExpression(node) { + if (!isValidCreateElement(node)) { + return; + } + + const elemNameArg = node.arguments[0]; + + if (!elemNameArg || elemNameArg.type !== 'Literal') { + return; // can only check literals + } + + // ignore non-HTML elements + if (typeof elemNameArg.value === 'string' && !HTML_ELEMENTS.has(elemNameArg.value)) { + return; + } + + const attributes = new Set(context.options[0] || DEFAULT_ATTRIBUTES); + + attributes.forEach((attribute) => { + checkCreateProps(context, node, attribute); + }); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-is-mounted.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-is-mounted.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f4892198b82b67dbdb6a24539d6e6d94e184e286 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-is-mounted.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-is-mounted.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-is-mounted.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-is-mounted.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..df27f4a8419324c77297924a82a0f237bbdffb91 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-is-mounted.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-is-mounted.d.ts","sourceRoot":"","sources":["no-is-mounted.js"],"names":[],"mappings":"wBAmBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-is-mounted.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-is-mounted.js new file mode 100644 index 0000000000000000000000000000000000000000..24d9a37d02b00eee06fda59a79b58b6dda990d1f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-is-mounted.js @@ -0,0 +1,61 @@ +/** + * @fileoverview Prevent usage of isMounted + * @author Joe Lencioni + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const getAncestors = require('../util/eslint').getAncestors; +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + noIsMounted: 'Do not use isMounted', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow usage of isMounted', + category: 'Best Practices', + recommended: true, + url: docsUrl('no-is-mounted'), + }, + + messages, + + schema: [], + }, + + create(context) { + return { + CallExpression(node) { + const callee = node.callee; + if (callee.type !== 'MemberExpression') { + return; + } + if ( + callee.object.type !== 'ThisExpression' + || !('name' in callee.property) + || callee.property.name !== 'isMounted' + ) { + return; + } + const ancestors = getAncestors(context, node); + for (let i = 0, j = ancestors.length; i < j; i++) { + if (ancestors[i].type === 'Property' || ancestors[i].type === 'MethodDefinition') { + report(context, messages.noIsMounted, 'noIsMounted', { + node: callee, + }); + break; + } + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-multi-comp.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-multi-comp.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..73770afd1816d7fe066fee88d15e055692271ffc --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-multi-comp.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-multi-comp.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-multi-comp.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-multi-comp.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..b62343ee261033db8a794857cb483df180137888 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-multi-comp.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-multi-comp.d.ts","sourceRoot":"","sources":["no-multi-comp.js"],"names":[],"mappings":"wBAqBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-multi-comp.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-multi-comp.js new file mode 100644 index 0000000000000000000000000000000000000000..8cf73c90bce43a80b39fb30c3255c9d7b1983be4 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-multi-comp.js @@ -0,0 +1,81 @@ +/** + * @fileoverview Prevent multiple component definition per file + * @author Yannick Croissant + */ + +'use strict'; + +const values = require('object.values'); + +const Components = require('../util/Components'); +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + onlyOneComponent: 'Declare only one React component per file', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow multiple component definition per file', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('no-multi-comp'), + }, + + messages, + + schema: [{ + type: 'object', + properties: { + ignoreStateless: { + default: false, + type: 'boolean', + }, + }, + additionalProperties: false, + }], + }, + + create: Components.detect((context, components, utils) => { + const configuration = context.options[0] || {}; + const ignoreStateless = configuration.ignoreStateless || false; + + /** + * Checks if the component is ignored + * @param {Object} component The component being checked. + * @returns {boolean} True if the component is ignored, false if not. + */ + function isIgnored(component) { + return ( + ignoreStateless && ( + /Function/.test(component.node.type) + || utils.isPragmaComponentWrapper(component.node) + ) + ); + } + + return { + 'Program:exit'() { + if (components.length() <= 1) { + return; + } + + values(components.list()) + .filter((component) => !isIgnored(component)) + .slice(1) + .forEach((component) => { + report(context, messages.onlyOneComponent, 'onlyOneComponent', { + node: component.node, + }); + }); + }, + }; + }), +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-namespace.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-namespace.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1c55685dbda6858f3486f2827d748b4344def12e --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-namespace.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-namespace.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-namespace.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-namespace.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..b56a75f79009c4358c2365cf68526174fe312972 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-namespace.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-namespace.d.ts","sourceRoot":"","sources":["no-namespace.js"],"names":[],"mappings":"wBAoBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-namespace.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-namespace.js new file mode 100644 index 0000000000000000000000000000000000000000..20ca5d93241c1956cbbb079287ee64ae1aec2ed6 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-namespace.js @@ -0,0 +1,62 @@ +/** + * @fileoverview Enforce that namespaces are not used in React elements + * @author Yacine Hmito + */ + +'use strict'; + +const elementType = require('jsx-ast-utils/elementType'); +const docsUrl = require('../util/docsUrl'); +const isCreateElement = require('../util/isCreateElement'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + noNamespace: 'React component {{name}} must not be in a namespace, as React does not support them', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Enforce that namespaces are not used in React elements', + category: 'Possible Errors', + recommended: false, + url: docsUrl('no-namespace'), + }, + + messages, + + schema: [], + }, + + create(context) { + return { + CallExpression(node) { + if (isCreateElement(context, node) && node.arguments.length > 0 && node.arguments[0].type === 'Literal') { + const name = node.arguments[0].value; + if (typeof name !== 'string' || name.indexOf(':') === -1) return undefined; + report(context, messages.noNamespace, 'noNamespace', { + node, + data: { + name, + }, + }); + } + }, + JSXOpeningElement(node) { + const name = elementType(node); + if (typeof name !== 'string' || name.indexOf(':') === -1) return undefined; + report(context, messages.noNamespace, 'noNamespace', { + node, + data: { + name, + }, + }); + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-object-type-as-default-prop.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-object-type-as-default-prop.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..03a21901c4c5ff731fcee12ad899079e7cc8c173 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-object-type-as-default-prop.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-object-type-as-default-prop.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-object-type-as-default-prop.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-object-type-as-default-prop.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..218aa6e29e36d5c73dd39ad7a1e37272e237e56a --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-object-type-as-default-prop.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-object-type-as-default-prop.d.ts","sourceRoot":"","sources":["no-object-type-as-default-prop.js"],"names":[],"mappings":"wBAiFW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-object-type-as-default-prop.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-object-type-as-default-prop.js new file mode 100644 index 0000000000000000000000000000000000000000..2683bfea4cba4c9cb4e286954d164731fc949127 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-object-type-as-default-prop.js @@ -0,0 +1,105 @@ +/** + * @fileoverview Prevent usage of referential-type variables as default param in functional component + * @author Chang Yan + */ + +'use strict'; + +const values = require('object.values'); + +const Components = require('../util/Components'); +const docsUrl = require('../util/docsUrl'); +const astUtil = require('../util/ast'); +const report = require('../util/report'); + +const FORBIDDEN_TYPES_MAP = { + ArrowFunctionExpression: 'arrow function', + FunctionExpression: 'function expression', + ObjectExpression: 'object literal', + ArrayExpression: 'array literal', + ClassExpression: 'class expression', + NewExpression: 'construction expression', + JSXElement: 'JSX element', +}; + +const FORBIDDEN_TYPES = new Set(Object.keys(FORBIDDEN_TYPES_MAP)); +const MESSAGE_ID = 'forbiddenTypeDefaultParam'; + +const messages = { + [MESSAGE_ID]: '{{propName}} has a/an {{forbiddenType}} as default prop. This could lead to potential infinite render loop in React. Use a variable reference instead of {{forbiddenType}}.', +}; +function hasUsedObjectDestructuringSyntax(params) { + return ( + params != null + && params.length >= 1 + && params[0].type === 'ObjectPattern' + ); +} + +function verifyDefaultPropsDestructuring(context, properties) { + // Loop through each of the default params + properties.filter((prop) => prop.type === 'Property' && prop.value.type === 'AssignmentPattern').forEach((prop) => { + const propName = prop.key.name; + const propDefaultValue = prop.value; + + const propDefaultValueType = propDefaultValue.right.type; + + if ( + propDefaultValueType === 'Literal' + && propDefaultValue.right.regex != null + ) { + report(context, messages[MESSAGE_ID], MESSAGE_ID, { + node: propDefaultValue, + data: { + propName, + forbiddenType: 'regex literal', + }, + }); + } else if ( + astUtil.isCallExpression(propDefaultValue.right) + && propDefaultValue.right.callee.type === 'Identifier' + && propDefaultValue.right.callee.name === 'Symbol' + ) { + report(context, messages[MESSAGE_ID], MESSAGE_ID, { + node: propDefaultValue, + data: { + propName, + forbiddenType: 'Symbol literal', + }, + }); + } else if (FORBIDDEN_TYPES.has(propDefaultValueType)) { + report(context, messages[MESSAGE_ID], MESSAGE_ID, { + node: propDefaultValue, + data: { + propName, + forbiddenType: FORBIDDEN_TYPES_MAP[propDefaultValueType], + }, + }); + } + }); +} + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow usage of referential-type variables as default param in functional component', + category: 'Best Practices', + recommended: false, + url: docsUrl('no-object-type-as-default-prop'), + }, + messages, + }, + create: Components.detect((context, components) => ({ + 'Program:exit'() { + const list = components.list(); + values(list) + .filter((component) => hasUsedObjectDestructuringSyntax(component.node.params)) + .forEach((component) => { + const node = component.node; + const properties = node.params[0].properties; + verifyDefaultPropsDestructuring(context, properties); + }); + }, + })), +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-redundant-should-component-update.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-redundant-should-component-update.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..721c683ffabb04c71cfa18f14c91fdb79a1a2e8f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-redundant-should-component-update.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-redundant-should-component-update.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-redundant-should-component-update.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-redundant-should-component-update.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..8e2e6b17fe0cdc874bd4cf7819dc33e92e493e1d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-redundant-should-component-update.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-redundant-should-component-update.d.ts","sourceRoot":"","sources":["no-redundant-should-component-update.js"],"names":[],"mappings":"wBAmBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-redundant-should-component-update.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-redundant-should-component-update.js new file mode 100644 index 0000000000000000000000000000000000000000..e7a439d8e836a098621c92407a585a9ed9568c13 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-redundant-should-component-update.js @@ -0,0 +1,88 @@ +/** + * @fileoverview Flag shouldComponentUpdate when extending PureComponent + */ + +'use strict'; + +const astUtil = require('../util/ast'); +const componentUtil = require('../util/componentUtil'); +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + noShouldCompUpdate: '{{component}} does not need shouldComponentUpdate when extending React.PureComponent.', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow usage of shouldComponentUpdate when extending React.PureComponent', + category: 'Possible Errors', + recommended: false, + url: docsUrl('no-redundant-should-component-update'), + }, + + messages, + + schema: [], + }, + + create(context) { + /** + * Checks for shouldComponentUpdate property + * @param {ASTNode} node The AST node being checked. + * @returns {boolean} Whether or not the property exists. + */ + function hasShouldComponentUpdate(node) { + const properties = astUtil.getComponentProperties(node); + return properties.some((property) => { + const name = astUtil.getPropertyName(property); + return name === 'shouldComponentUpdate'; + }); + } + + /** + * Get name of node if available + * @param {ASTNode} node The AST node being checked. + * @return {string} The name of the node + */ + function getNodeName(node) { + if (node.id) { + return node.id.name; + } + if (node.parent && node.parent.id) { + return node.parent.id.name; + } + return ''; + } + + /** + * Checks for violation of rule + * @param {ASTNode} node The AST node being checked. + */ + function checkForViolation(node) { + if (componentUtil.isPureComponent(node, context)) { + const hasScu = hasShouldComponentUpdate(node); + if (hasScu) { + const className = getNodeName(node); + report(context, messages.noShouldCompUpdate, 'noShouldCompUpdate', { + node, + data: { + component: className, + }, + }); + } + } + } + + return { + ClassDeclaration: checkForViolation, + ClassExpression: checkForViolation, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-render-return-value.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-render-return-value.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e3fc9f179648e9fe029fab0af7d87c7aa9462f81 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-render-return-value.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-render-return-value.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-render-return-value.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-render-return-value.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..e8929411742cf8da09215b9731a1c6cc78ace921 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-render-return-value.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-render-return-value.d.ts","sourceRoot":"","sources":["no-render-return-value.js"],"names":[],"mappings":"wBAmBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-render-return-value.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-render-return-value.js new file mode 100644 index 0000000000000000000000000000000000000000..9e0f9d4046768885bc6a9103d66aa35408f03b96 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-render-return-value.js @@ -0,0 +1,82 @@ +/** + * @fileoverview Prevent usage of the return value of React.render + * @author Dustan Kasten + */ + +'use strict'; + +const testReactVersion = require('../util/version').testReactVersion; +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + noReturnValue: 'Do not depend on the return value from {{node}}.render', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow usage of the return value of ReactDOM.render', + category: 'Best Practices', + recommended: true, + url: docsUrl('no-render-return-value'), + }, + + messages, + + schema: [], + }, + + create(context) { + // -------------------------------------------------------------------------- + // Public + // -------------------------------------------------------------------------- + + let calleeObjectName = /^ReactDOM$/; + if (testReactVersion(context, '>= 15.0.0')) { + calleeObjectName = /^ReactDOM$/; + } else if (testReactVersion(context, '^0.14.0')) { + calleeObjectName = /^React(DOM)?$/; + } else if (testReactVersion(context, '^0.13.0')) { + calleeObjectName = /^React$/; + } + + return { + CallExpression(node) { + const callee = node.callee; + const parent = node.parent; + if (callee.type !== 'MemberExpression') { + return; + } + + if ( + callee.object.type !== 'Identifier' + || !calleeObjectName.test(callee.object.name) + || (!('name' in callee.property) || callee.property.name !== 'render') + ) { + return; + } + + if ( + parent.type === 'VariableDeclarator' + || parent.type === 'Property' + || parent.type === 'ReturnStatement' + || parent.type === 'ArrowFunctionExpression' + || parent.type === 'AssignmentExpression' + ) { + report(context, messages.noReturnValue, 'noReturnValue', { + node: callee, + data: { + node: callee.object.name, + }, + }); + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-set-state.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-set-state.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d9825f5b1433c7f9494b78f58f77a040e815cc44 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-set-state.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-set-state.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-set-state.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-set-state.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..f47d09a5d37d0a0a04f517c01c371188c719083f --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-set-state.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-set-state.d.ts","sourceRoot":"","sources":["no-set-state.js"],"names":[],"mappings":"wBAqBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-set-state.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-set-state.js new file mode 100644 index 0000000000000000000000000000000000000000..44967bf03cba12524a79e871f2256c3b94579f42 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-set-state.js @@ -0,0 +1,88 @@ +/** + * @fileoverview Prevent usage of setState + * @author Mark Dalgleish + */ + +'use strict'; + +const values = require('object.values'); + +const Components = require('../util/Components'); +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + noSetState: 'Do not use setState', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow usage of setState', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('no-set-state'), + }, + + messages, + + schema: [], + }, + + create: Components.detect((context, components, utils) => { + /** + * Checks if the component is valid + * @param {Object} component The component to process + * @returns {boolean} True if the component is valid, false if not. + */ + function isValid(component) { + return !!component && !component.useSetState; + } + + /** + * Reports usages of setState for a given component + * @param {Object} component The component to process + */ + function reportSetStateUsages(component) { + for (let i = 0, j = component.setStateUsages.length; i < j; i++) { + const setStateUsage = component.setStateUsages[i]; + report(context, messages.noSetState, 'noSetState', { + node: setStateUsage, + }); + } + } + + return { + CallExpression(node) { + const callee = node.callee; + if ( + callee.type !== 'MemberExpression' + || callee.object.type !== 'ThisExpression' + || callee.property.name !== 'setState' + ) { + return; + } + const component = components.get(utils.getParentComponent(node)); + const setStateUsages = (component && component.setStateUsages) || []; + setStateUsages.push(callee); + components.set(node, { + useSetState: true, + setStateUsages, + }); + }, + + 'Program:exit'() { + values(components.list()) + .filter((component) => !isValid(component)) + .forEach((component) => { + reportSetStateUsages(component); + }); + }, + }; + }), +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-string-refs.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-string-refs.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..8e44ed1d84beacc9d9a5c80e9130a3b3476ecdea --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-string-refs.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-string-refs.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-string-refs.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-string-refs.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..6af2d5b2ee5d52ddcee81576c0144a9f735888aa --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-string-refs.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-string-refs.d.ts","sourceRoot":"","sources":["no-string-refs.js"],"names":[],"mappings":"wBAqBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-string-refs.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-string-refs.js new file mode 100644 index 0000000000000000000000000000000000000000..145ad25780cf2ca507649de1779e2e6a3b617dab --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-string-refs.js @@ -0,0 +1,117 @@ +/** + * @fileoverview Prevent string definitions for references and prevent referencing this.refs + * @author Tom Hastjarjanto + */ + +'use strict'; + +const componentUtil = require('../util/componentUtil'); +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); +const testReactVersion = require('../util/version').testReactVersion; + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + thisRefsDeprecated: 'Using this.refs is deprecated.', + stringInRefDeprecated: 'Using string literals in ref attributes is deprecated.', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow using string references', + category: 'Best Practices', + recommended: true, + url: docsUrl('no-string-refs'), + }, + + messages, + + schema: [{ + type: 'object', + properties: { + noTemplateLiterals: { + type: 'boolean', + }, + }, + additionalProperties: false, + }], + }, + + create(context) { + const checkRefsUsage = testReactVersion(context, '< 18.3.0'); // `this.refs` is writable in React 18.3.0 and later, see https://github.com/facebook/react/pull/28867 + const detectTemplateLiterals = context.options[0] ? context.options[0].noTemplateLiterals : false; + /** + * Checks if we are using refs + * @param {ASTNode} node The AST node being checked. + * @returns {boolean} True if we are using refs, false if not. + */ + function isRefsUsage(node) { + return !!( + (componentUtil.getParentES6Component(context, node) || componentUtil.getParentES5Component(context, node)) + && node.object.type === 'ThisExpression' + && node.property.name === 'refs' + ); + } + + /** + * Checks if we are using a ref attribute + * @param {ASTNode} node The AST node being checked. + * @returns {boolean} True if we are using a ref attribute, false if not. + */ + function isRefAttribute(node) { + return node.type === 'JSXAttribute' + && !!node.name + && node.name.name === 'ref'; + } + + /** + * Checks if a node contains a string value + * @param {ASTNode} node The AST node being checked. + * @returns {boolean} True if the node contains a string value, false if not. + */ + function containsStringLiteral(node) { + return !!node.value + && node.value.type === 'Literal' + && typeof node.value.value === 'string'; + } + + /** + * Checks if a node contains a string value within a jsx expression + * @param {ASTNode} node The AST node being checked. + * @returns {boolean} True if the node contains a string value within a jsx expression, false if not. + */ + function containsStringExpressionContainer(node) { + return !!node.value + && node.value.type === 'JSXExpressionContainer' + && node.value.expression + && ((node.value.expression.type === 'Literal' && typeof node.value.expression.value === 'string') + || (node.value.expression.type === 'TemplateLiteral' && detectTemplateLiterals)); + } + + return { + MemberExpression(node) { + if (checkRefsUsage && isRefsUsage(node)) { + report(context, messages.thisRefsDeprecated, 'thisRefsDeprecated', { + node, + }); + } + }, + + JSXAttribute(node) { + if ( + isRefAttribute(node) + && (containsStringLiteral(node) || containsStringExpressionContainer(node)) + ) { + report(context, messages.stringInRefDeprecated, 'stringInRefDeprecated', { + node, + }); + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-this-in-sfc.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-this-in-sfc.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..37e259395ee82fa3f82aaa17f0dd7752f9aa39b5 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-this-in-sfc.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-this-in-sfc.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-this-in-sfc.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-this-in-sfc.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..0dbc892aee85ac5426b3fb949ed0fa6c6769a16d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-this-in-sfc.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-this-in-sfc.d.ts","sourceRoot":"","sources":["no-this-in-sfc.js"],"names":[],"mappings":"wBAkBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-this-in-sfc.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-this-in-sfc.js new file mode 100644 index 0000000000000000000000000000000000000000..c520abd31cf9255fc5c0285cbaa9d3cf5224dee8 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-this-in-sfc.js @@ -0,0 +1,47 @@ +/** + * @fileoverview Report "this" being used in stateless functional components. + */ + +'use strict'; + +const Components = require('../util/Components'); +const docsUrl = require('../util/docsUrl'); +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + noThisInSFC: 'Stateless functional components should not use `this`', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow `this` from being used in stateless functional components', + category: 'Possible Errors', + recommended: false, + url: docsUrl('no-this-in-sfc'), + }, + + messages, + + schema: [], + }, + + create: Components.detect((context, components, utils) => ({ + MemberExpression(node) { + if (node.object.type === 'ThisExpression') { + const component = components.get(utils.getParentStatelessComponent(node)); + if (!component || (component.node && component.node.parent && component.node.parent.type === 'Property')) { + return; + } + report(context, messages.noThisInSFC, 'noThisInSFC', { + node, + }); + } + }, + })), +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-typos.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-typos.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e7f262b03b914cba224cf9cdad86bbd8b660edcb --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-typos.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-typos.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-typos.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-typos.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..0bebb0383a12c784cf7306bb6df7874475821cfc --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-typos.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-typos.d.ts","sourceRoot":"","sources":["no-typos.js"],"names":[],"mappings":"wBA+BW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-typos.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-typos.js new file mode 100644 index 0000000000000000000000000000000000000000..a598a8e1142c8f96ccb966ab7ddabe8dda09b6f4 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-typos.js @@ -0,0 +1,260 @@ +/** + * @fileoverview Prevent common casing typos + */ + +'use strict'; + +const PROP_TYPES = Object.keys(require('prop-types')); +const Components = require('../util/Components'); +const docsUrl = require('../util/docsUrl'); +const astUtil = require('../util/ast'); +const componentUtil = require('../util/componentUtil'); +const report = require('../util/report'); +const lifecycleMethods = require('../util/lifecycleMethods'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const STATIC_CLASS_PROPERTIES = ['propTypes', 'contextTypes', 'childContextTypes', 'defaultProps']; + +const messages = { + typoPropTypeChain: 'Typo in prop type chain qualifier: {{name}}', + typoPropType: 'Typo in declared prop type: {{name}}', + typoStaticClassProp: 'Typo in static class property declaration', + typoPropDeclaration: 'Typo in property declaration', + typoLifecycleMethod: 'Typo in component lifecycle method declaration: {{actual}} should be {{expected}}', + staticLifecycleMethod: 'Lifecycle method should be static: {{method}}', + noPropTypesBinding: '`\'prop-types\'` imported without a local `PropTypes` binding.', + noReactBinding: '`\'react\'` imported without a local `React` binding.', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow common typos', + category: 'Stylistic Issues', + recommended: false, + url: docsUrl('no-typos'), + }, + + messages, + + schema: [], + }, + + create: Components.detect((context, components, utils) => { + let propTypesPackageName = null; + let reactPackageName = null; + + function checkValidPropTypeQualifier(node) { + if (node.name !== 'isRequired') { + report(context, messages.typoPropTypeChain, 'typoPropTypeChain', { + node, + data: { name: node.name }, + }); + } + } + + function checkValidPropType(node) { + if (node.name && !PROP_TYPES.some((propTypeName) => propTypeName === node.name)) { + report(context, messages.typoPropType, 'typoPropType', { + node, + data: { name: node.name }, + }); + } + } + + function isPropTypesPackage(node) { + return ( + node.type === 'Identifier' + && node.name === propTypesPackageName + ) || ( + node.type === 'MemberExpression' + && node.property.name === 'PropTypes' + && node.object.name === reactPackageName + ); + } + + /* eslint-disable no-use-before-define */ + + function checkValidCallExpression(node) { + const callee = node.callee; + if (callee.type === 'MemberExpression' && callee.property.name === 'shape') { + checkValidPropObject(node.arguments[0]); + } else if (callee.type === 'MemberExpression' && callee.property.name === 'oneOfType') { + const args = node.arguments[0]; + if (args && args.type === 'ArrayExpression') { + args.elements.forEach((el) => { + checkValidProp(el); + }); + } + } + } + + function checkValidProp(node) { + if ((!propTypesPackageName && !reactPackageName) || !node) { + return; + } + + if (node.type === 'MemberExpression') { + if ( + node.object.type === 'MemberExpression' + && isPropTypesPackage(node.object.object) + ) { // PropTypes.myProp.isRequired + checkValidPropType(node.object.property); + checkValidPropTypeQualifier(node.property); + } else if ( + isPropTypesPackage(node.object) + && node.property.name !== 'isRequired' + ) { // PropTypes.myProp + checkValidPropType(node.property); + } else if (astUtil.isCallExpression(node.object)) { + checkValidPropTypeQualifier(node.property); + checkValidCallExpression(node.object); + } + } else if (astUtil.isCallExpression(node)) { + checkValidCallExpression(node); + } + } + + /* eslint-enable no-use-before-define */ + + function checkValidPropObject(node) { + if (node && node.type === 'ObjectExpression') { + node.properties.forEach((prop) => checkValidProp(prop.value)); + } + } + + function reportErrorIfPropertyCasingTypo(propertyValue, propertyKey, isClassProperty) { + const propertyName = propertyKey.name; + if (propertyName === 'propTypes' || propertyName === 'contextTypes' || propertyName === 'childContextTypes') { + checkValidPropObject(propertyValue); + } + STATIC_CLASS_PROPERTIES.forEach((CLASS_PROP) => { + if (propertyName && CLASS_PROP.toLowerCase() === propertyName.toLowerCase() && CLASS_PROP !== propertyName) { + const messageId = isClassProperty + ? 'typoStaticClassProp' + : 'typoPropDeclaration'; + report(context, messages[messageId], messageId, { + node: propertyKey, + }); + } + }); + } + + function reportErrorIfLifecycleMethodCasingTypo(node) { + const key = node.key; + let nodeKeyName = key.name; + if (key.type === 'Literal') { + nodeKeyName = key.value; + } + if (key.type === 'PrivateName' || (node.computed && typeof nodeKeyName !== 'string')) { + return; + } + + lifecycleMethods.static.forEach((method) => { + if (!node.static && nodeKeyName && nodeKeyName.toLowerCase() === method.toLowerCase()) { + report(context, messages.staticLifecycleMethod, 'staticLifecycleMethod', { + node, + data: { + method: nodeKeyName, + }, + }); + } + }); + + lifecycleMethods.instance.concat(lifecycleMethods.static).forEach((method) => { + if (nodeKeyName && method.toLowerCase() === nodeKeyName.toLowerCase() && method !== nodeKeyName) { + report(context, messages.typoLifecycleMethod, 'typoLifecycleMethod', { + node, + data: { actual: nodeKeyName, expected: method }, + }); + } + }); + } + + return { + ImportDeclaration(node) { + if (node.source && node.source.value === 'prop-types') { // import PropType from "prop-types" + if (node.specifiers.length > 0) { + propTypesPackageName = node.specifiers[0].local.name; + } else { + report(context, messages.noPropTypesBinding, 'noPropTypesBinding', { + node, + }); + } + } else if (node.source && node.source.value === 'react') { // import { PropTypes } from "react" + if (node.specifiers.length > 0) { + reactPackageName = node.specifiers[0].local.name; // guard against accidental anonymous `import "react"` + } else { + report(context, messages.noReactBinding, 'noReactBinding', { + node, + }); + } + if (node.specifiers.length >= 1) { + const propTypesSpecifier = node.specifiers.find((specifier) => ( + specifier.imported + && specifier.imported.name === 'PropTypes' + )); + if (propTypesSpecifier) { + propTypesPackageName = propTypesSpecifier.local.name; + } + } + } + }, + + 'ClassProperty, PropertyDefinition'(node) { + if (!node.static || !componentUtil.isES6Component(node.parent.parent, context)) { + return; + } + + reportErrorIfPropertyCasingTypo(node.value, node.key, true); + }, + + MemberExpression(node) { + const propertyName = node.property.name; + + if ( + !propertyName + || STATIC_CLASS_PROPERTIES.map((prop) => prop.toLocaleLowerCase()).indexOf(propertyName.toLowerCase()) === -1 + ) { + return; + } + + const relatedComponent = utils.getRelatedComponent(node); + + if ( + relatedComponent + && (componentUtil.isES6Component(relatedComponent.node, context) || ( + relatedComponent.node.type !== 'ClassDeclaration' && utils.isReturningJSX(relatedComponent.node))) + && (node.parent && node.parent.type === 'AssignmentExpression' && node.parent.right) + ) { + reportErrorIfPropertyCasingTypo(node.parent.right, node.property, true); + } + }, + + MethodDefinition(node) { + if (!componentUtil.isES6Component(node.parent.parent, context)) { + return; + } + + reportErrorIfLifecycleMethodCasingTypo(node); + }, + + ObjectExpression(node) { + const component = componentUtil.isES5Component(node, context) && components.get(node); + + if (!component) { + return; + } + + node.properties.filter((property) => property.type !== 'SpreadElement').forEach((property) => { + reportErrorIfPropertyCasingTypo(property.value, property.key, false); + reportErrorIfLifecycleMethodCasingTypo(property); + }); + }, + }; + }), +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-unescaped-entities.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-unescaped-entities.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..baaf17d86608bb9a00d51fe4ca8d5887d0d106a1 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-unescaped-entities.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-unescaped-entities.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-unescaped-entities.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-unescaped-entities.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..130436b918c7bbf80210be09f4fe88023514ab1d --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-unescaped-entities.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-unescaped-entities.d.ts","sourceRoot":"","sources":["no-unescaped-entities.js"],"names":[],"mappings":"wBAwCW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-unescaped-entities.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-unescaped-entities.js new file mode 100644 index 0000000000000000000000000000000000000000..3ec2cb23b6b2984ac9a236bd32db3e4b91eec6ec --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-unescaped-entities.js @@ -0,0 +1,157 @@ +/** + * @fileoverview HTML special characters should be escaped. + * @author Patrick Hayes + */ + +'use strict'; + +const docsUrl = require('../util/docsUrl'); +const getSourceCode = require('../util/eslint').getSourceCode; +const jsxUtil = require('../util/jsx'); +const report = require('../util/report'); +const getMessageData = require('../util/message'); + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +// NOTE: '<' and '{' are also problematic characters, but they do not need +// to be included here because it is a syntax error when these characters are +// included accidentally. +const DEFAULTS = [{ + char: '>', + alternatives: ['>'], +}, { + char: '"', + alternatives: ['"', '“', '"', '”'], +}, { + char: '\'', + alternatives: [''', '‘', ''', '’'], +}, { + char: '}', + alternatives: ['}'], +}]; + +const messages = { + unescapedEntity: 'HTML entity, `{{entity}}` , must be escaped.', + unescapedEntityAlts: '`{{entity}}` can be escaped with {{alts}}.', + replaceWithAlt: 'Replace with `{{alt}}`.', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + hasSuggestions: true, + docs: { + description: 'Disallow unescaped HTML entities from appearing in markup', + category: 'Possible Errors', + recommended: true, + url: docsUrl('no-unescaped-entities'), + }, + + messages, + + schema: [{ + type: 'object', + properties: { + forbid: { + type: 'array', + items: { + anyOf: [{ + type: 'string', + }, { + type: 'object', + properties: { + char: { + type: 'string', + }, + alternatives: { + type: 'array', + uniqueItems: true, + items: { + type: 'string', + }, + }, + }, + }], + }, + }, + }, + additionalProperties: false, + }], + }, + + create(context) { + function reportInvalidEntity(node) { + const configuration = context.options[0] || {}; + const entities = configuration.forbid || DEFAULTS; + + // HTML entities are already escaped in node.value (as well as node.raw), + // so pull the raw text from getSourceCode(context) + for (let i = node.loc.start.line; i <= node.loc.end.line; i++) { + let rawLine = getSourceCode(context).lines[i - 1]; + let start = 0; + let end = rawLine.length; + if (i === node.loc.start.line) { + start = node.loc.start.column; + } + if (i === node.loc.end.line) { + end = node.loc.end.column; + } + rawLine = rawLine.slice(start, end); + for (let j = 0; j < entities.length; j++) { + for (let index = 0; index < rawLine.length; index++) { + const c = rawLine[index]; + if (typeof entities[j] === 'string') { + if (c === entities[j]) { + report(context, messages.unescapedEntity, 'unescapedEntity', { + node, + loc: { line: i, column: start + index }, + data: { + entity: entities[j], + }, + }); + } + } else if (c === entities[j].char) { + report(context, messages.unescapedEntityAlts, 'unescapedEntityAlts', { + node, + loc: { line: i, column: start + index }, + data: { + entity: entities[j].char, + alts: entities[j].alternatives.map((alt) => `\`${alt}\``).join(', '), + }, + suggest: entities[j].alternatives.map((alt) => Object.assign( + getMessageData('replaceWithAlt', messages.replaceWithAlt), + { + data: { alt }, + fix(fixer) { + const lineToChange = i - node.loc.start.line; + + const newText = node.raw.split('\n').map((line, idx) => { + if (idx === lineToChange) { + return line.slice(0, index) + alt + line.slice(index + 1); + } + + return line; + }).join('\n'); + + return fixer.replaceText(node, newText); + }, + } + )), + }); + } + } + } + } + } + + return { + 'Literal, JSXText'(node) { + if (jsxUtil.isJSX(node.parent)) { + reportInvalidEntity(node); + } + }, + }; + }, +}; diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-unknown-property.d.ts b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-unknown-property.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..49a219c3ddd4da24fe1c2918e94d572cc3cfc0cb --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-unknown-property.d.ts @@ -0,0 +1,3 @@ +declare const _exports: import('eslint').Rule.RuleModule; +export = _exports; +//# sourceMappingURL=no-unknown-property.d.ts.map \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-unknown-property.d.ts.map b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-unknown-property.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..e1e1e49a9fa3ca81b63977bc1c49f449d0fe83cf --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-unknown-property.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"no-unknown-property.d.ts","sourceRoot":"","sources":["no-unknown-property.js"],"names":[],"mappings":"wBAshBW,OAAO,QAAQ,EAAE,IAAI,CAAC,UAAU"} \ No newline at end of file diff --git a/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-unknown-property.js b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-unknown-property.js new file mode 100644 index 0000000000000000000000000000000000000000..d702cc43039f0fdce6dae36d690079d67fcf8be2 --- /dev/null +++ b/novas/novacore-zephyr/groq-code-cli/node_modules/eslint-plugin-react/lib/rules/no-unknown-property.js @@ -0,0 +1,671 @@ +/** + * @fileoverview Prevent usage of unknown DOM property + * @author Yannick Croissant + */ + +'use strict'; + +const has = require('hasown'); +const docsUrl = require('../util/docsUrl'); +const getText = require('../util/eslint').getText; +const testReactVersion = require('../util/version').testReactVersion; +const report = require('../util/report'); + +// ------------------------------------------------------------------------------ +// Constants +// ------------------------------------------------------------------------------ + +const DEFAULTS = { + ignore: [], + requireDataLowercase: false, +}; + +const DOM_ATTRIBUTE_NAMES = { + 'accept-charset': 'acceptCharset', + class: 'className', + 'http-equiv': 'httpEquiv', + crossorigin: 'crossOrigin', + for: 'htmlFor', + nomodule: 'noModule', +}; + +const ATTRIBUTE_TAGS_MAP = { + abbr: ['th', 'td'], + charset: ['meta'], + checked: ['input'], + // image is required for SVG support, all other tags are HTML. + crossOrigin: ['script', 'img', 'video', 'audio', 'link', 'image'], + displaystyle: ['math'], + // https://html.spec.whatwg.org/multipage/links.html#downloading-resources + download: ['a', 'area'], + fill: [ // https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill + // Fill color + 'altGlyph', + 'circle', + 'ellipse', + 'g', + 'line', + 'marker', + 'mask', + 'path', + 'polygon', + 'polyline', + 'rect', + 'svg', + 'symbol', + 'text', + 'textPath', + 'tref', + 'tspan', + 'use', + // Animation final state + 'animate', + 'animateColor', + 'animateMotion', + 'animateTransform', + 'set', + ], + focusable: ['svg'], + imageSizes: ['link'], + imageSrcSet: ['link'], + property: ['meta'], + viewBox: ['marker', 'pattern', 'svg', 'symbol', 'view'], + as: ['link'], + align: ['applet', 'caption', 'col', 'colgroup', 'hr', 'iframe', 'img', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr'], // deprecated, but known + valign: ['tr', 'td', 'th', 'thead', 'tbody', 'tfoot', 'colgroup', 'col'], // deprecated, but known + noModule: ['script'], + // Media events allowed only on audio and video tags, see https://github.com/facebook/react/blob/256aefbea1449869620fb26f6ec695536ab453f5/CHANGELOG.md#notable-enhancements + onAbort: ['audio', 'video'], + onCancel: ['dialog'], + onCanPlay: ['audio', 'video'], + onCanPlayThrough: ['audio', 'video'], + onClose: ['dialog'], + onDurationChange: ['audio', 'video'], + onEmptied: ['audio', 'video'], + onEncrypted: ['audio', 'video'], + onEnded: ['audio', 'video'], + onError: ['audio', 'video', 'img', 'link', 'source', 'script', 'picture', 'iframe'], + onLoad: ['script', 'img', 'link', 'picture', 'iframe', 'object', 'source'], + onLoadedData: ['audio', 'video'], + onLoadedMetadata: ['audio', 'video'], + onLoadStart: ['audio', 'video'], + onPause: ['audio', 'video'], + onPlay: ['audio', 'video'], + onPlaying: ['audio', 'video'], + onProgress: ['audio', 'video'], + onRateChange: ['audio', 'video'], + onResize: ['audio', 'video'], + onSeeked: ['audio', 'video'], + onSeeking: ['audio', 'video'], + onStalled: ['audio', 'video'], + onSuspend: ['audio', 'video'], + onTimeUpdate: ['audio', 'video'], + onVolumeChange: ['audio', 'video'], + onWaiting: ['audio', 'video'], + autoPictureInPicture: ['video'], + controls: ['audio', 'video'], + controlsList: ['audio', 'video'], + disablePictureInPicture: ['video'], + disableRemotePlayback: ['audio', 'video'], + loop: ['audio', 'video'], + muted: ['audio', 'video'], + playsInline: ['video'], + allowFullScreen: ['iframe', 'video'], + webkitAllowFullScreen: ['iframe', 'video'], + mozAllowFullScreen: ['iframe', 'video'], + poster: ['video'], + preload: ['audio', 'video'], + scrolling: ['iframe'], + returnValue: ['dialog'], + webkitDirectory: ['input'], + shadowrootmode: ['template'], + shadowrootclonable: ['template'], + shadowrootdelegatesfocus: ['template'], + shadowrootserializable: ['template'], + 'transform-origin': ['rect'], +}; + +const SVGDOM_ATTRIBUTE_NAMES = { + 'accent-height': 'accentHeight', + 'alignment-baseline': 'alignmentBaseline', + 'arabic-form': 'arabicForm', + 'baseline-shift': 'baselineShift', + 'cap-height': 'capHeight', + 'clip-path': 'clipPath', + 'clip-rule': 'clipRule', + 'color-interpolation': 'colorInterpolation', + 'color-interpolation-filters': 'colorInterpolationFilters', + 'color-profile': 'colorProfile', + 'color-rendering': 'colorRendering', + 'dominant-baseline': 'dominantBaseline', + 'enable-background': 'enableBackground', + 'fill-opacity': 'fillOpacity', + 'fill-rule': 'fillRule', + 'flood-color': 'floodColor', + 'flood-opacity': 'floodOpacity', + 'font-family': 'fontFamily', + 'font-size': 'fontSize', + 'font-size-adjust': 'fontSizeAdjust', + 'font-stretch': 'fontStretch', + 'font-style': 'fontStyle', + 'font-variant': 'fontVariant', + 'font-weight': 'fontWeight', + 'glyph-name': 'glyphName', + 'glyph-orientation-horizontal': 'glyphOrientationHorizontal', + 'glyph-orientation-vertical': 'glyphOrientationVertical', + 'horiz-adv-x': 'horizAdvX', + 'horiz-origin-x': 'horizOriginX', + 'image-rendering': 'imageRendering', + 'letter-spacing': 'letterSpacing', + 'lighting-color': 'lightingColor', + 'marker-end': 'markerEnd', + 'marker-mid': 'markerMid', + 'marker-start': 'markerStart', + 'overline-position': 'overlinePosition', + 'overline-thickness': 'overlineThickness', + 'paint-order': 'paintOrder', + 'panose-1': 'panose1', + 'pointer-events': 'pointerEvents', + 'rendering-intent': 'renderingIntent', + 'shape-rendering': 'shapeRendering', + 'stop-color': 'stopColor', + 'stop-opacity': 'stopOpacity', + 'strikethrough-position': 'strikethroughPosition', + 'strikethrough-thickness': 'strikethroughThickness', + 'stroke-dasharray': 'strokeDasharray', + 'stroke-dashoffset': 'strokeDashoffset', + 'stroke-linecap': 'strokeLinecap', + 'stroke-linejoin': 'strokeLinejoin', + 'stroke-miterlimit': 'strokeMiterlimit', + 'stroke-opacity': 'strokeOpacity', + 'stroke-width': 'strokeWidth', + 'text-anchor': 'textAnchor', + 'text-decoration': 'textDecoration', + 'text-rendering': 'textRendering', + 'underline-position': 'underlinePosition', + 'underline-thickness': 'underlineThickness', + 'unicode-bidi': 'unicodeBidi', + 'unicode-range': 'unicodeRange', + 'units-per-em': 'unitsPerEm', + 'v-alphabetic': 'vAlphabetic', + 'v-hanging': 'vHanging', + 'v-ideographic': 'vIdeographic', + 'v-mathematical': 'vMathematical', + 'vector-effect': 'vectorEffect', + 'vert-adv-y': 'vertAdvY', + 'vert-origin-x': 'vertOriginX', + 'vert-origin-y': 'vertOriginY', + 'word-spacing': 'wordSpacing', + 'writing-mode': 'writingMode', + 'x-height': 'xHeight', + 'xlink:actuate': 'xlinkActuate', + 'xlink:arcrole': 'xlinkArcrole', + 'xlink:href': 'xlinkHref', + 'xlink:role': 'xlinkRole', + 'xlink:show': 'xlinkShow', + 'xlink:title': 'xlinkTitle', + 'xlink:type': 'xlinkType', + 'xml:base': 'xmlBase', + 'xml:lang': 'xmlLang', + 'xml:space': 'xmlSpace', +}; + +const DOM_PROPERTY_NAMES_ONE_WORD = [ + // Global attributes - can be used on any HTML/DOM element + // See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes + 'dir', 'draggable', 'hidden', 'id', 'lang', 'nonce', 'part', 'slot', 'style', 'title', 'translate', 'inert', + // Element specific attributes + // See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes (includes global attributes too) + // To be considered if these should be added also to ATTRIBUTE_TAGS_MAP + 'accept', 'action', 'allow', 'alt', 'as', 'async', 'buffered', 'capture', 'challenge', 'cite', 'code', 'cols', + 'content', 'coords', 'csp', 'data', 'decoding', 'default', 'defer', 'disabled', 'form', + 'headers', 'height', 'high', 'href', 'icon', 'importance', 'integrity', 'kind', 'label', + 'language', 'loading', 'list', 'loop', 'low', 'manifest', 'max', 'media', 'method', 'min', 'multiple', 'muted', + 'name', 'open', 'optimum', 'pattern', 'ping', 'placeholder', 'poster', 'preload', 'profile', + 'rel', 'required', 'reversed', 'role', 'rows', 'sandbox', 'scope', 'seamless', 'selected', 'shape', 'size', 'sizes', + 'span', 'src', 'start', 'step', 'summary', 'target', 'type', 'value', 'width', 'wmode', 'wrap', + // SVG attributes + // See https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute + 'accumulate', 'additive', 'alphabetic', 'amplitude', 'ascent', 'azimuth', 'bbox', 'begin', + 'bias', 'by', 'clip', 'color', 'cursor', 'cx', 'cy', 'd', 'decelerate', 'descent', 'direction', + 'display', 'divisor', 'dur', 'dx', 'dy', 'elevation', 'end', 'exponent', 'fill', 'filter', + 'format', 'from', 'fr', 'fx', 'fy', 'g1', 'g2', 'hanging', 'height', 'hreflang', 'ideographic', + 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'local', 'mask', 'mode', + 'offset', 'opacity', 'operator', 'order', 'orient', 'orientation', 'origin', 'overflow', 'path', + 'ping', 'points', 'r', 'radius', 'rel', 'restart', 'result', 'rotate', 'rx', 'ry', 'scale', + 'seed', 'slope', 'spacing', 'speed', 'stemh', 'stemv', 'string', 'stroke', 'to', 'transform', + 'u1', 'u2', 'unicode', 'values', 'version', 'visibility', 'widths', 'x', 'x1', 'x2', 'xmlns', + 'y', 'y1', 'y2', 'z', + // OpenGraph meta tag attributes + 'property', + // React specific attributes + 'ref', 'key', 'children', + // Non-standard + 'results', 'security', + // Video specific + 'controls', + // popovers + 'popover', 'popovertarget', 'popovertargetaction', +]; + +const DOM_PROPERTY_NAMES_TWO_WORDS = [ + // Global attributes - can be used on any HTML/DOM element + // See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes + 'accessKey', 'autoCapitalize', 'autoFocus', 'contentEditable', 'enterKeyHint', 'exportParts', + 'inputMode', 'itemID', 'itemRef', 'itemProp', 'itemScope', 'itemType', 'spellCheck', 'tabIndex', + // Element specific attributes + // See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes (includes global attributes too) + // To be considered if these should be added also to ATTRIBUTE_TAGS_MAP + 'acceptCharset', 'autoComplete', 'autoPlay', 'border', 'cellPadding', 'cellSpacing', 'classID', 'codeBase', + 'colSpan', 'contextMenu', 'dateTime', 'encType', 'formAction', 'formEncType', 'formMethod', 'formNoValidate', 'formTarget', + 'frameBorder', 'hrefLang', 'httpEquiv', 'imageSizes', 'imageSrcSet', 'isMap', 'keyParams', 'keyType', 'marginHeight', 'marginWidth', + 'maxLength', 'mediaGroup', 'minLength', 'noValidate', 'onAnimationEnd', 'onAnimationIteration', 'onAnimationStart', + 'onBlur', 'onChange', 'onClick', 'onContextMenu', 'onCopy', 'onCompositionEnd', 'onCompositionStart', + 'onCompositionUpdate', 'onCut', 'onDoubleClick', 'onDrag', 'onDragEnd', 'onDragEnter', 'onDragExit', 'onDragLeave', + 'onError', 'onFocus', 'onInput', 'onKeyDown', 'onKeyPress', 'onKeyUp', 'onLoad', 'onWheel', 'onDragOver', + 'onDragStart', 'onDrop', 'onMouseDown', 'onMouseEnter', 'onMouseLeave', 'onMouseMove', 'onMouseOut', 'onMouseOver', + 'onMouseUp', 'onPaste', 'onScroll', 'onSelect', 'onSubmit', 'onBeforeToggle', 'onToggle', 'onTransitionEnd', 'radioGroup', + 'readOnly', 'referrerPolicy', 'rowSpan', 'srcDoc', 'srcLang', 'srcSet', 'useMap', 'fetchPriority', + // SVG attributes + // See https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute + 'crossOrigin', 'accentHeight', 'alignmentBaseline', 'arabicForm', 'attributeName', + 'attributeType', 'baseFrequency', 'baselineShift', 'baseProfile', 'calcMode', 'capHeight', + 'clipPathUnits', 'clipPath', 'clipRule', 'colorInterpolation', 'colorInterpolationFilters', + 'colorProfile', 'colorRendering', 'contentScriptType', 'contentStyleType', 'diffuseConstant', + 'dominantBaseline', 'edgeMode', 'enableBackground', 'fillOpacity', 'fillRule', 'filterRes', + 'filterUnits', 'floodColor', 'floodOpacity', 'fontFamily', 'fontSize', 'fontSizeAdjust', + 'fontStretch', 'fontStyle', 'fontVariant', 'fontWeight', 'glyphName', + 'glyphOrientationHorizontal', 'glyphOrientationVertical', 'glyphRef', 'gradientTransform', + 'gradientUnits', 'horizAdvX', 'horizOriginX', 'imageRendering', 'kernelMatrix', + 'kernelUnitLength', 'keyPoints', 'keySplines', 'keyTimes', 'lengthAdjust', 'letterSpacing', + 'lightingColor', 'limitingConeAngle', 'markerEnd', 'markerMid', 'markerStart', 'markerHeight', + 'markerUnits', 'markerWidth', 'maskContentUnits', 'maskUnits', 'mathematical', 'numOctaves', + 'overlinePosition', 'overlineThickness', 'panose1', 'paintOrder', 'pathLength', + 'patternContentUnits', 'patternTransform', 'patternUnits', 'pointerEvents', 'pointsAtX', + 'pointsAtY', 'pointsAtZ', 'preserveAlpha', 'preserveAspectRatio', 'primitiveUnits', + 'referrerPolicy', 'refX', 'refY', 'rendering-intent', 'repeatCount', 'repeatDur', + 'requiredExtensions', 'requiredFeatures', 'shapeRendering', 'specularConstant', + 'specularExponent', 'spreadMethod', 'startOffset', 'stdDeviation', 'stitchTiles', 'stopColor', + 'stopOpacity', 'strikethroughPosition', 'strikethroughThickness', 'strokeDasharray', + 'strokeDashoffset', 'strokeLinecap', 'strokeLinejoin', 'strokeMiterlimit', 'strokeOpacity', + 'strokeWidth', 'surfaceScale', 'systemLanguage', 'tableValues', 'targetX', 'targetY', + 'textAnchor', 'textDecoration', 'textRendering', 'textLength', 'transformOrigin', + 'underlinePosition', 'underlineThickness', 'unicodeBidi', 'unicodeRange', 'unitsPerEm', + 'vAlphabetic', 'vHanging', 'vIdeographic', 'vMathematical', 'vectorEffect', 'vertAdvY', + 'vertOriginX', 'vertOriginY', 'viewBox', 'viewTarget', 'wordSpacing', 'writingMode', 'xHeight', + 'xChannelSelector', 'xlinkActuate', 'xlinkArcrole', 'xlinkHref', 'xlinkRole', 'xlinkShow', + 'xlinkTitle', 'xlinkType', 'xmlBase', 'xmlLang', 'xmlnsXlink', 'xmlSpace', 'yChannelSelector', + 'zoomAndPan', + // Safari/Apple specific, no listing available + 'autoCorrect', // https://stackoverflow.com/questions/47985384/html-autocorrect-for-text-input-is-not-working + 'autoSave', // https://stackoverflow.com/questions/25456396/what-is-autosave-attribute-supposed-to-do-how-do-i-use-it + // React specific attributes https://reactjs.org/docs/dom-elements.html#differences-in-attributes + 'className', 'dangerouslySetInnerHTML', 'defaultValue', 'defaultChecked', 'htmlFor', + // Events' capture events + 'onBeforeInput', 'onChange', + 'onInvalid', 'onReset', 'onTouchCancel', 'onTouchEnd', 'onTouchMove', 'onTouchStart', 'suppressContentEditableWarning', 'suppressHydrationWarning', + 'onAbort', 'onCanPlay', 'onCanPlayThrough', 'onDurationChange', 'onEmptied', 'onEncrypted', 'onEnded', + 'onLoadedData', 'onLoadedMetadata', 'onLoadStart', 'onPause', 'onPlay', 'onPlaying', 'onProgress', 'onRateChange', 'onResize', + 'onSeeked', 'onSeeking', 'onStalled', 'onSuspend', 'onTimeUpdate', 'onVolumeChange', 'onWaiting', + 'onCopyCapture', 'onCutCapture', 'onPasteCapture', 'onCompositionEndCapture', 'onCompositionStartCapture', 'onCompositionUpdateCapture', + 'onFocusCapture', 'onBlurCapture', 'onChangeCapture', 'onBeforeInputCapture', 'onInputCapture', 'onResetCapture', 'onSubmitCapture', + 'onInvalidCapture', 'onLoadCapture', 'onErrorCapture', 'onKeyDownCapture', 'onKeyPressCapture', 'onKeyUpCapture', + 'onAbortCapture', 'onCanPlayCapture', 'onCanPlayThroughCapture', 'onDurationChangeCapture', 'onEmptiedCapture', 'onEncryptedCapture', + 'onEndedCapture', 'onLoadedDataCapture', 'onLoadedMetadataCapture', 'onLoadStartCapture', 'onPauseCapture', 'onPlayCapture', + 'onPlayingCapture', 'onProgressCapture', 'onRateChangeCapture', 'onSeekedCapture', 'onSeekingCapture', 'onStalledCapture', 'onSuspendCapture', + 'onTimeUpdateCapture', 'onVolumeChangeCapture', 'onWaitingCapture', 'onSelectCapture', 'onTouchCancelCapture', 'onTouchEndCapture', + 'onTouchMoveCapture', 'onTouchStartCapture', 'onScrollCapture', 'onWheelCapture', 'onAnimationEndCapture', 'onAnimationIteration', + 'onAnimationStartCapture', 'onTransitionEndCapture', + 'onAuxClick', 'onAuxClickCapture', 'onClickCapture', 'onContextMenuCapture', 'onDoubleClickCapture', + 'onDragCapture', 'onDragEndCapture', 'onDragEnterCapture', 'onDragExitCapture', 'onDragLeaveCapture', + 'onDragOverCapture', 'onDragStartCapture', 'onDropCapture', 'onMouseDown', 'onMouseDownCapture', + 'onMouseMoveCapture', 'onMouseOutCapture', 'onMouseOverCapture', 'onMouseUpCapture', + // Video specific + 'autoPictureInPicture', 'controlsList', 'disablePictureInPicture', 'disableRemotePlayback', + // popovers + 'popoverTarget', 'popoverTargetAction', +]; + +const DOM_PROPERTIES_IGNORE_CASE = ['charset', 'allowFullScreen', 'webkitAllowFullScreen', 'mozAllowFullScreen', 'webkitDirectory', 'popoverTarget', 'popoverTargetAction']; + +const ARIA_PROPERTIES = [ + // See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes + // Global attributes + 'aria-atomic', 'aria-braillelabel', 'aria-brailleroledescription', 'aria-busy', 'aria-controls', 'aria-current', + 'aria-describedby', 'aria-description', 'aria-details', + 'aria-disabled', 'aria-dropeffect', 'aria-errormessage', 'aria-flowto', 'aria-grabbed', 'aria-haspopup', + 'aria-hidden', 'aria-invalid', 'aria-keyshortcuts', 'aria-label', 'aria-labelledby', 'aria-live', + 'aria-owns', 'aria-relevant', 'aria-roledescription', + // Widget attributes + 'aria-autocomplete', 'aria-checked', 'aria-expanded', 'aria-level', 'aria-modal', 'aria-multiline', 'aria-multiselectable', + 'aria-orientation', 'aria-placeholder', 'aria-pressed', 'aria-readonly', 'aria-required', 'aria-selected', + 'aria-sort', 'aria-valuemax', 'aria-valuemin', 'aria-valuenow', 'aria-valuetext', + // Relationship attributes + 'aria-activedescendant', 'aria-colcount', 'aria-colindex', 'aria-colindextext', 'aria-colspan', + 'aria-posinset', 'aria-rowcount', 'aria-rowindex', 'aria-rowindextext', 'aria-rowspan', 'aria-setsize', +]; + +const REACT_ON_PROPS = [ + 'onGotPointerCapture', + 'onGotPointerCaptureCapture', + 'onLostPointerCapture', + 'onLostPointerCapture', + 'onLostPointerCaptureCapture', + 'onPointerCancel', + 'onPointerCancelCapture', + 'onPointerDown', + 'onPointerDownCapture', + 'onPointerEnter', + 'onPointerEnterCapture', + 'onPointerLeave', + 'onPointerLeaveCapture', + 'onPointerMove', + 'onPointerMoveCapture', + 'onPointerOut', + 'onPointerOutCapture', + 'onPointerOver', + 'onPointerOverCapture', + 'onPointerUp', + 'onPointerUpCapture', +]; + +function getDOMPropertyNames(context) { + return [].concat( + DOM_PROPERTY_NAMES_TWO_WORDS, + DOM_PROPERTY_NAMES_ONE_WORD, + + testReactVersion(context, '>= 16.1.0') ? [].concat( + testReactVersion(context, '>= 16.4.0') ? [].concat( + // these were added in React v16.4.0, see https://reactjs.org/blog/2018/05/23/react-v-16-4.html and https://github.com/facebook/react/pull/12507 + REACT_ON_PROPS, + testReactVersion(context, '>= 19') ? [ + // precedence was added in React v19, see https://react.dev/blog/2024/04/25/react-19#support-for-stylesheets + 'precedence', + ] : [] + ) : [] + ) : [ + // this was removed in React v16.1+, see https://github.com/facebook/react/pull/10823 + 'allowTransparency', + ] + ); +} + +// ------------------------------------------------------------------------------ +// Helpers +// ------------------------------------------------------------------------------ + +/** + * Checks if a node's parent is a JSX tag that is written with lowercase letters, + * and is not a custom web component. Custom web components have a hyphen in tag name, + * or have an `is="some-elem"` attribute. + * + * Note: does not check if a tag's parent against a list of standard HTML/DOM tags. For example, + * a ``'s child would return `true` because "fake" is written only with lowercase letters + * without a hyphen and does not have a `is="some-elem"` attribute. + * + * @param {Object} childNode - JSX element being tested. + * @returns {boolean} Whether or not the node name match the JSX tag convention. + */ +function isValidHTMLTagInJSX(childNode) { + const tagConvention = /^[a-z][^-]*$/; + if (tagConvention.test(childNode.parent.name.name)) { + return !childNode.parent.attributes.some((attrNode) => ( + attrNode.type === 'JSXAttribute' + && attrNode.name.type === 'JSXIdentifier' + && attrNode.name.name === 'is' + // To learn more about custom web components and `is` attribute, + // see https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-customized-builtin-example + + )); + } + return false; +} + +/** + * Checks if the attribute name is included in the attributes that are excluded + * from the camel casing. + * + * // returns 'charSet' + * @example normalizeAttributeCase('charset') + * + * Note - these exclusions are not made by React core team, but `eslint-plugin-react` community. + * + * @param {string} name - Attribute name to be normalized + * @returns {string} Result + */ +function normalizeAttributeCase(name) { + return DOM_PROPERTIES_IGNORE_CASE.find((element) => element.toLowerCase() === name.toLowerCase()) || name; +} + +/** + * Checks if an attribute name is a valid `data-*` attribute: + * if the name starts with "data-" and has alphanumeric words (browsers require lowercase, but React and TS lowercase them), + * not start with any casing of "xml", and separated by hyphens (-) (which is also called "kebab case" or "dash case"), + * then the attribute is a valid data attribute. + * + * @param {string} name - Attribute name to be tested + * @returns {boolean} Result + */ +function isValidDataAttribute(name) { + return !/^data-xml/i.test(name) && /^data-[^:]*$/.test(name); +} + +/** + * Checks if an attribute name has at least one uppercase characters + * + * @param {string} name + * @returns {boolean} Result + */ +function hasUpperCaseCharacter(name) { + return name.toLowerCase() !== name; +} + +/** + * Checks if an attribute name is a standard aria attribute by compering it to a list + * of standard aria property names + * + * @param {string} name - Attribute name to be tested + * @returns {boolean} Result + */ + +function isValidAriaAttribute(name) { + return ARIA_PROPERTIES.some((element) => element === name); +} + +/** + * Extracts the tag name for the JSXAttribute + * @param {JSXAttribute} node - JSXAttribute being tested. + * @returns {string | null} tag name + */ +function getTagName(node) { + if ( + node + && node.parent + && node.parent.name + ) { + return node.parent.name.name; + } + return null; +} + +/** + * Test wether the tag name for the JSXAttribute is + * something like + * @param {JSXAttribute} node - JSXAttribute being tested. + * @returns {boolean} result + */ +function tagNameHasDot(node) { + return !!( + node.parent + && node.parent.name + && node.parent.name.type === 'JSXMemberExpression' + ); +} + +/** + * Get the standard name of the attribute. + * @param {string} name - Name of the attribute. + * @param {object} context - eslint context + * @returns {string | undefined} The standard name of the attribute, or undefined if no standard name was found. + */ +function getStandardName(name, context) { + if (has(DOM_ATTRIBUTE_NAMES, name)) { + return DOM_ATTRIBUTE_NAMES[/** @type {keyof DOM_ATTRIBUTE_NAMES} */ (name)]; + } + if (has(SVGDOM_ATTRIBUTE_NAMES, name)) { + return SVGDOM_ATTRIBUTE_NAMES[/** @type {keyof SVGDOM_ATTRIBUTE_NAMES} */ (name)]; + } + const names = getDOMPropertyNames(context); + + // Let's find a possible attribute match with a case-insensitive search. + return names.find((element) => element.toLowerCase() === name.toLowerCase()); +} + +// ------------------------------------------------------------------------------ +// Rule Definition +// ------------------------------------------------------------------------------ + +const messages = { + invalidPropOnTag: 'Invalid property \'{{name}}\' found on tag \'{{tagName}}\', but it is only allowed on: {{allowedTags}}', + unknownPropWithStandardName: 'Unknown property \'{{name}}\' found, use \'{{standardName}}\' instead', + unknownProp: 'Unknown property \'{{name}}\' found', + dataLowercaseRequired: 'React does not recognize data-* props with uppercase characters on a DOM element. Found \'{{name}}\', use \'{{lowerCaseName}}\' instead', +}; + +/** @type {import('eslint').Rule.RuleModule} */ +module.exports = { + meta: { + docs: { + description: 'Disallow usage of unknown DOM property', + category: 'Possible Errors', + recommended: true, + url: docsUrl('no-unknown-property'), + }, + fixable: 'code', + + messages, + + schema: [{ + type: 'object', + properties: { + ignore: { + type: 'array', + items: { + type: 'string', + }, + }, + requireDataLowercase: { + type: 'boolean', + default: false, + }, + }, + additionalProperties: false, + }], + }, + + create(context) { + function getIgnoreConfig() { + return (context.options[0] && context.options[0].ignore) || DEFAULTS.ignore; + } + + function getRequireDataLowercase() { + return (context.options[0] && typeof context.options[0].requireDataLowercase !== 'undefined') + ? !!context.options[0].requireDataLowercase + : DEFAULTS.requireDataLowercase; + } + + return { + JSXAttribute(node) { + const ignoreNames = getIgnoreConfig(); + const actualName = getText(context, node.name); + if (ignoreNames.indexOf(actualName) >= 0) { + return; + } + const name = normalizeAttributeCase(actualName); + + // Ignore tags like + if (tagNameHasDot(node)) { + return; + } + + if (isValidDataAttribute(name)) { + if (getRequireDataLowercase() && hasUpperCaseCharacter(name)) { + report(context, messages.dataLowercaseRequired, 'dataLowercaseRequired', { + node, + data: { + name: actualName, + lowerCaseName: actualName.toLowerCase(), + }, + }); + } + + return; + } + + if (isValidAriaAttribute(name)) { return; } + + const tagName = getTagName(node); + + if (tagName === 'fbt' || tagName === 'fbs') { return; } // fbt/fbs nodes are bonkers, let's not go there + + if (!isValidHTMLTagInJSX(node)) { return; } + + // Let's dive deeper into tags that are HTML/DOM elements (`